Files
setup-docker-action/dist/index.cjs
2026-06-23 19:23:27 +00:00

467 lines
1.4 MiB
Plaintext
Generated

var cZ=Object.create;var vB=Object.defineProperty;var lZ=Object.getOwnPropertyDescriptor;var uZ=Object.getOwnPropertyNames;var AZ=Object.getPrototypeOf,dZ=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pZ=(t,e)=>{for(var r in e)vB(t,r,{get:e[r],enumerable:!0})},mZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of uZ(e))!dZ.call(t,n)&&n!==r&&vB(t,n,{get:()=>e[n],enumerable:!(s=lZ(e,n))||s.enumerable});return t};var B=(t,e,r)=>(r=t!=null?cZ(AZ(t)):{},mZ(e||!t||!t.__esModule?vB(r,"default",{value:t,enumerable:!0}):r,t));var L_=h($c=>{"use strict";var bLe=require("net"),CZ=require("tls"),LB=require("http"),k_=require("https"),IZ=require("events"),QLe=require("assert"),BZ=require("util");$c.httpOverHttp=wZ;$c.httpsOverHttp=bZ;$c.httpOverHttps=QZ;$c.httpsOverHttps=xZ;function wZ(t){var e=new ki(t);return e.request=LB.request,e}function bZ(t){var e=new ki(t);return e.request=LB.request,e.createSocket=D_,e.defaultPort=443,e}function QZ(t){var e=new ki(t);return e.request=k_.request,e}function xZ(t){var e=new ki(t);return e.request=k_.request,e.createSocket=D_,e.defaultPort=443,e}function ki(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||LB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(s,n,i,o){for(var a=__(n,i,o),c=0,l=e.requests.length;c<l;++c){var u=e.requests[c];if(u.host===a.host&&u.port===a.port){e.requests.splice(c,1),u.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)})}BZ.inherits(ki,IZ.EventEmitter);ki.prototype.addRequest=function(e,r,s,n){var i=this,o=MB({request:e},i.options,__(r,s,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return}i.createSocket(o,function(a){a.on("free",c),a.on("close",l),a.on("agentRemove",l),e.onSocket(a);function c(){i.emit("free",a,o)}function l(u){i.removeSocket(a),a.removeListener("free",c),a.removeListener("close",l),a.removeListener("agentRemove",l)}})};ki.prototype.createSocket=function(e,r){var s=this,n={};s.sockets.push(n);var i=MB({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),wo("making CONNECT request");var o=s.request(i);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",l),o.once("error",u),o.end();function a(A){A.upgrade=!0}function c(A,d,p){process.nextTick(function(){l(A,d,p)})}function l(A,d,p){if(o.removeAllListeners(),d.removeAllListeners(),A.statusCode!==200){wo("tunneling socket could not be established, statusCode=%d",A.statusCode),d.destroy();var m=new Error("tunneling socket could not be established, statusCode="+A.statusCode);m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}if(p.length>0){wo("got illegal response body from proxy"),d.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}return wo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=d,r(d)}function u(A){o.removeAllListeners(),wo(`tunneling socket could not be established, cause=%s
`,A.message,A.stack);var d=new Error("tunneling socket could not be established, cause="+A.message);d.code="ECONNRESET",e.request.emit("error",d),s.removeSocket(n)}};ki.prototype.removeSocket=function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}};function D_(t,e){var r=this;ki.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=MB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),o=CZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=o,e(o)})}function __(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function MB(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var n=Object.keys(s),i=0,o=n.length;i<o;++i){var a=n[i];s[a]!==void 0&&(t[a]=s[a])}}return t}var wo;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?wo=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)}:wo=function(){};$c.debug=wo});var yA=h((NLe,M_)=>{M_.exports=L_()});var ze=h((SLe,O_)=>{O_.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var be=h((RLe,lL)=>{"use strict";var F_=Symbol.for("undici.error.UND_ERR"),Ve=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[F_]===!0}[F_]=!0},U_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),OB=class extends Ve{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[U_]===!0}[U_]=!0},q_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),FB=class extends Ve{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[q_]===!0}[q_]=!0},G_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),UB=class extends Ve{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[G_]===!0}[G_]=!0},H_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),qB=class extends Ve{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),GB=class extends Ve{constructor(e,r,s,n){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=r,this.statusCode=r,this.headers=s}static[Symbol.hasInstance](e){return e&&e[z_]===!0}[z_]=!0},V_=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),HB=class extends Ve{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[V_]===!0}[V_]=!0},$_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),zB=class extends Ve{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[$_]===!0}[$_]=!0},Y_=Symbol.for("undici.error.UND_ERR_ABORT"),sh=class extends Ve{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[Y_]===!0}[Y_]=!0},J_=Symbol.for("undici.error.UND_ERR_ABORTED"),VB=class extends sh{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[J_]===!0}[J_]=!0},W_=Symbol.for("undici.error.UND_ERR_INFO"),$B=class extends Ve{constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[W_]===!0}[W_]=!0},j_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),YB=class extends Ve{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[j_]===!0}[j_]=!0},K_=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),JB=class extends Ve{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[K_]===!0}[K_]=!0},X_=Symbol.for("undici.error.UND_ERR_DESTROYED"),WB=class extends Ve{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[X_]===!0}[X_]=!0},Z_=Symbol.for("undici.error.UND_ERR_CLOSED"),jB=class extends Ve{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[Z_]===!0}[Z_]=!0},eL=Symbol.for("undici.error.UND_ERR_SOCKET"),KB=class extends Ve{constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[eL]===!0}[eL]=!0},tL=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),XB=class extends Ve{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[tL]===!0}[tL]=!0},rL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),ZB=class extends Ve{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[rL]===!0}[rL]=!0},sL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),ew=class extends Error{constructor(e,r,s){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=s?s.toString():void 0}static[Symbol.hasInstance](e){return e&&e[sL]===!0}[sL]=!0},nL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),tw=class extends Ve{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),rw=class extends Ve{constructor(e,r,{headers:s,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[iL]===!0}[iL]=!0},oL=Symbol.for("undici.error.UND_ERR_RESPONSE"),sw=class extends Ve{constructor(e,r,{headers:s,data:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[oL]===!0}[oL]=!0},aL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),nw=class extends Ve{constructor(e,r,s){super(r,{cause:e,...s??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[aL]===!0}[aL]=!0},cL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),iw=class extends Ve{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[cL]===!0}get[cL](){return!0}};lL.exports={AbortError:sh,HTTPParserError:ew,UndiciError:Ve,HeadersTimeoutError:FB,HeadersOverflowError:UB,BodyTimeoutError:qB,RequestContentLengthMismatchError:YB,ConnectTimeoutError:OB,ResponseStatusCodeError:GB,InvalidArgumentError:HB,InvalidReturnValueError:zB,RequestAbortedError:VB,ClientDestroyedError:WB,ClientClosedError:jB,InformationalError:$B,SocketError:KB,NotSupportedError:XB,ResponseContentLengthMismatchError:JB,BalancedPoolMissingUpstreamError:ZB,ResponseExceededMaxSizeError:tw,RequestRetryError:rw,ResponseError:sw,SecureProxyConnectionError:nw,MessageSizeExceededError:iw}});var ih=h((TLe,uL)=>{"use strict";var nh={},ow=["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<ow.length;++t){let e=ow[t],r=e.toLowerCase();nh[e]=nh[r]=r}Object.setPrototypeOf(nh,null);uL.exports={wellknownHeaderNames:ow,headerNameLowerCasedRecord:nh}});var mL=h((vLe,pL)=>{"use strict";var{wellknownHeaderNames:AL,headerNameLowerCasedRecord:NZ}=ih(),aw=class t{value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let o=e.charCodeAt(n);if(o>127)throw new TypeError("key must be ascii string");if(i.code===o)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code<o)if(i.left!==null)i=i.left;else{i.left=new t(e,r,n);break}else if(i.right!==null)i=i.right;else{i.right=new t(e,r,n);break}}}search(e){let r=e.length,s=0,n=this;for(;n!==null&&s<r;){let i=e[s];for(i<=90&&i>=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code<i?n.left:n.right}}return null}},oh=class{node=null;insert(e,r){this.node===null?this.node=new aw(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},dL=new oh;for(let t=0;t<AL.length;++t){let e=NZ[AL[t]];dL.insert(e,e)}pL.exports={TernarySearchTree:oh,tree:dL}});var pe=h((PLe,TL)=>{"use strict";var CA=require("node:assert"),{kDestroyed:fL,kBodyUsed:Yc,kListeners:cw,kBody:hL}=ze(),{IncomingMessage:SZ}=require("node:http"),lh=require("node:stream"),RZ=require("node:net"),{Blob:TZ}=require("node:buffer"),vZ=require("node:util"),{stringify:PZ}=require("node:querystring"),{EventEmitter:kZ}=require("node:events"),{InvalidArgumentError:Ft}=be(),{headerNameLowerCasedRecord:DZ}=ih(),{tree:gL}=mL(),[_Z,LZ]=process.versions.node.split(".").map(t=>Number(t)),ch=class{constructor(e){this[hL]=e,this[Yc]=!1}async*[Symbol.asyncIterator](){CA(!this[Yc],"disturbed"),this[Yc]=!0,yield*this[hL]}};function MZ(t){return uh(t)?(BL(t)===0&&t.on("data",function(){CA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Yc]=!1,kZ.prototype.on.call(t,"data",function(){this[Yc]=!0})),t):t&&typeof t.pipeTo=="function"?new ch(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&IL(t)?new ch(t):t}function OZ(){}function uh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function EL(t){if(t===null)return!1;if(t instanceof TZ)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}function FZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=PZ(e);return r&&(t+="?"+r),t}function yL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}function ah(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}function CL(t){if(typeof t=="string"){if(t=new URL(t),!ah(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ft("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&yL(t.port)===!1)throw new Ft("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 Ft("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ft("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ft("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ft("Invalid URL origin: the origin must be a string or null/undefined.");if(!ah(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!ah(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}function UZ(t){if(t=CL(t),t.pathname!=="/"||t.search||t.hash)throw new Ft("invalid url");return t}function qZ(t){if(t[0]==="["){let r=t.indexOf("]");return CA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function GZ(t){if(!t)return null;CA(typeof t=="string");let e=qZ(t);return RZ.isIP(e)?"":e}function HZ(t){return JSON.parse(JSON.stringify(t))}function zZ(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function IL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function BL(t){if(t==null)return 0;if(uh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(EL(t))return t.size!=null?t.size:null;if(QL(t))return t.byteLength}return null}function wL(t){return t&&!!(t.destroyed||t[fL]||lh.isDestroyed?.(t))}function VZ(t,e){t==null||!uh(t)||wL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===SZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[fL]=!0))}var $Z=/timeout=(\d+)/;function YZ(t){let e=t.toString().match($Z);return e?parseInt(e[1],10)*1e3:null}function bL(t){return typeof t=="string"?DZ[t]??t.toLowerCase():gL.lookup(t)??t.toString("latin1").toLowerCase()}function JZ(t){return gL.lookup(t)??t.toString("latin1").toLowerCase()}function WZ(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let s=bL(t[r]),n=e[s];if(n)typeof n=="string"&&(n=[n],e[s]=n),n.push(t[r+1].toString("utf8"));else{let i=t[r+1];typeof i=="string"?e[s]=i:e[s]=Array.isArray(i)?i.map(o=>o.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}function jZ(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,o,a=0;for(let c=0;c<t.length;c+=2)i=t[c],o=t[c+1],typeof i!="string"&&(i=i.toString()),typeof o!="string"&&(o=o.toString("utf8")),a=i.length,a===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?s=!0:a===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(n=c+1),r[c]=i,r[c+1]=o;return s&&n!==-1&&(r[n]=Buffer.from(r[n]).toString("latin1")),r}function QL(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function KZ(t,e,r){if(!t||typeof t!="object")throw new Ft("handler must be an object");if(typeof t.onConnect!="function")throw new Ft("invalid onConnect method");if(typeof t.onError!="function")throw new Ft("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new Ft("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new Ft("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new Ft("invalid onHeaders method");if(typeof t.onData!="function")throw new Ft("invalid onData method");if(typeof t.onComplete!="function")throw new Ft("invalid onComplete method")}}function XZ(t){return!!(t&&(lh.isDisturbed(t)||t[Yc]))}function ZZ(t){return!!(t&&lh.isErrored(t))}function e7(t){return!!(t&&lh.isReadable(t))}function t7(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}}function r7(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:s,value:n}=await e.next();if(s)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(n)?n:Buffer.from(n);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}function s7(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 n7(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 i7=typeof String.prototype.toWellFormed=="function",o7=typeof String.prototype.isWellFormed=="function";function xL(t){return i7?`${t}`.toWellFormed():vZ.toUSVString(t)}function a7(t){return o7?`${t}`.isWellFormed():xL(t)===`${t}`}function NL(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 c7(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!NL(t.charCodeAt(e)))return!1;return!0}var l7=/[^\t\x20-\x7e\x80-\xff]/;function u7(t){return!l7.test(t)}function A7(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}function d7(t,e,r){return(t[cw]??=[]).push([e,r]),t.on(e,r),t}function p7(t){for(let[e,r]of t[cw]??[])t.removeListener(e,r);t[cw]=null}function m7(t,e,r){try{e.onError(r),CA(e.aborted)}catch(s){t.emit("error",s)}}var SL=Object.create(null);SL.enumerable=!0;var lw={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},RL={...lw,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(lw,null);Object.setPrototypeOf(RL,null);TL.exports={kEnumerableProperty:SL,nop:OZ,isDisturbed:XZ,isErrored:ZZ,isReadable:e7,toUSVString:xL,isUSVString:a7,isBlobLike:EL,parseOrigin:UZ,parseURL:CL,getServerName:GZ,isStream:uh,isIterable:IL,isAsyncIterable:zZ,isDestroyed:wL,headerNameToString:bL,bufferToLowerCasedHeaderName:JZ,addListener:d7,removeAllListeners:p7,errorRequest:m7,parseRawHeaders:jZ,parseHeaders:WZ,parseKeepAliveTimeout:YZ,destroy:VZ,bodyLength:BL,deepClone:HZ,ReadableStreamFrom:r7,isBuffer:QL,validateHandler:KZ,getSocketInfo:t7,isFormDataLike:s7,buildURL:FZ,addAbortListener:n7,isValidHTTPToken:c7,isValidHeaderValue:u7,isTokenCharCode:NL,parseRangeHeader:A7,normalizedMethodRecordsBase:lw,normalizedMethodRecords:RL,isValidPort:yL,isHttpOrHttpsPrefixed:ah,nodeMajor:_Z,nodeMinor:LZ,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:MZ}});var Jc=h((kLe,PL)=>{"use strict";var Re=require("node:diagnostics_channel"),Aw=require("node:util"),Ah=Aw.debuglog("undici"),uw=Aw.debuglog("fetch"),ya=Aw.debuglog("websocket"),vL=!1,h7={beforeConnect:Re.channel("undici:client:beforeConnect"),connected:Re.channel("undici:client:connected"),connectError:Re.channel("undici:client:connectError"),sendHeaders:Re.channel("undici:client:sendHeaders"),create:Re.channel("undici:request:create"),bodySent:Re.channel("undici:request:bodySent"),headers:Re.channel("undici:request:headers"),trailers:Re.channel("undici:request:trailers"),error:Re.channel("undici:request:error"),open:Re.channel("undici:websocket:open"),close:Re.channel("undici:websocket:close"),socketError:Re.channel("undici:websocket:socket_error"),ping:Re.channel("undici:websocket:ping"),pong:Re.channel("undici:websocket:pong")};if(Ah.enabled||uw.enabled){let t=uw.enabled?uw:Ah;Re.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Re.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Re.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:o}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,o.message)}),Re.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)}),Re.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:s,origin:n},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,n,s,i)}),Re.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("trailers received from %s %s/%s",r,n,s)}),Re.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:s,origin:n},error:i}=e;t("request to %s %s/%s errored - %s",r,n,s,i.message)}),vL=!0}if(ya.enabled){if(!vL){let t=Ah.enabled?Ah:ya;Re.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Re.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Re.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:o}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,o.message)}),Re.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)})}Re.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ya("connection opened %s%s",e,r?`:${r}`:"")}),Re.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;ya("closed connection to %s - %s %s",e.url,r,s)}),Re.channel("undici:websocket:socket_error").subscribe(t=>{ya("connection errored - %s",t.message)}),Re.channel("undici:websocket:ping").subscribe(t=>{ya("ping received")}),Re.channel("undici:websocket:pong").subscribe(t=>{ya("pong received")})}PL.exports={channels:h7}});var LL=h((DLe,_L)=>{"use strict";var{InvalidArgumentError:De,NotSupportedError:f7}=be(),Di=require("node:assert"),{isValidHTTPToken:DL,isValidHeaderValue:dw,isStream:g7,destroy:E7,isBuffer:y7,isFormDataLike:C7,isIterable:I7,isBlobLike:B7,buildURL:w7,validateHandler:b7,getServerName:Q7,normalizedMethodRecords:x7}=pe(),{channels:kn}=Jc(),{headerNameLowerCasedRecord:kL}=ih(),N7=/[^\u0021-\u00ff]/,ws=Symbol("handler"),pw=class{constructor(e,{path:r,method:s,body:n,headers:i,query:o,idempotent:a,blocking:c,upgrade:l,headersTimeout:u,bodyTimeout:A,reset:d,throwOnError:p,expectContinue:m,servername:f},y){if(typeof r!="string")throw new De("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new De("path must be an absolute URL or start with a slash");if(N7.test(r))throw new De("invalid request path");if(typeof s!="string")throw new De("method must be a string");if(x7[s]===void 0&&!DL(s))throw new De("invalid request method");if(l&&typeof l!="string")throw new De("upgrade must be a string");if(l&&!dw(l))throw new De("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new De("invalid headersTimeout");if(A!=null&&(!Number.isFinite(A)||A<0))throw new De("invalid bodyTimeout");if(d!=null&&typeof d!="boolean")throw new De("invalid reset");if(m!=null&&typeof m!="boolean")throw new De("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=A,this.throwOnError=p===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(g7(n)){this.body=n;let g=this.body._readableState;(!g||!g.autoDestroy)&&(this.endHandler=function(){E7(this)},this.body.on("end",this.endHandler)),this.errorHandler=E=>{this.abort?this.abort(E):this.error=E},this.body.on("error",this.errorHandler)}else if(y7(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n=="string")this.body=n.length?Buffer.from(n):null;else if(C7(n)||I7(n)||B7(n))this.body=n;else throw new De("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=l||null,this.path=o?w7(r,o):r,this.origin=e,this.idempotent=a??(s==="HEAD"||s==="GET"),this.blocking=c??!1,this.reset=d??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=m??!1,Array.isArray(i)){if(i.length%2!==0)throw new De("headers array must be even");for(let g=0;g<i.length;g+=2)dh(this,i[g],i[g+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let g of i){if(!Array.isArray(g)||g.length!==2)throw new De("headers must be in key-value pair format");dh(this,g[0],g[1])}else{let g=Object.keys(i);for(let E=0;E<g.length;++E)dh(this,g[E],i[g[E]])}else if(i!=null)throw new De("headers must be an object or an array");b7(y,s,l),this.servername=f||Q7(this.host),this[ws]=y,kn.create.hasSubscribers&&kn.create.publish({request:this})}onBodySent(e){if(this[ws].onBodySent)try{return this[ws].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(kn.bodySent.hasSubscribers&&kn.bodySent.publish({request:this}),this[ws].onRequestSent)try{return this[ws].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Di(!this.aborted),Di(!this.completed),this.error)e(this.error);else return this.abort=e,this[ws].onConnect(e)}onResponseStarted(){return this[ws].onResponseStarted?.()}onHeaders(e,r,s,n){Di(!this.aborted),Di(!this.completed),kn.headers.hasSubscribers&&kn.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:n}});try{return this[ws].onHeaders(e,r,s,n)}catch(i){this.abort(i)}}onData(e){Di(!this.aborted),Di(!this.completed);try{return this[ws].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,s){return Di(!this.aborted),Di(!this.completed),this[ws].onUpgrade(e,r,s)}onComplete(e){this.onFinally(),Di(!this.aborted),this.completed=!0,kn.trailers.hasSubscribers&&kn.trailers.publish({request:this,trailers:e});try{return this[ws].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),kn.error.hasSubscribers&&kn.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[ws].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 dh(this,e,r),this}};function dh(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new De(`invalid ${e} header`);if(r===void 0)return;let s=kL[e];if(s===void 0&&(s=e.toLowerCase(),kL[s]===void 0&&!DL(s)))throw new De("invalid header key");if(Array.isArray(r)){let n=[];for(let i=0;i<r.length;i++)if(typeof r[i]=="string"){if(!dw(r[i]))throw new De(`invalid ${e} header`);n.push(r[i])}else if(r[i]===null)n.push("");else{if(typeof r[i]=="object")throw new De(`invalid ${e} header`);n.push(`${r[i]}`)}r=n}else if(typeof r=="string"){if(!dw(r))throw new De(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(s==="host"){if(t.host!==null)throw new De("duplicate host header");if(typeof r!="string")throw new De("invalid host header");t.host=r}else if(s==="content-length"){if(t.contentLength!==null)throw new De("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new De("invalid content-length header")}else if(t.contentType===null&&s==="content-type")t.contentType=r,t.headers.push(e,r);else{if(s==="transfer-encoding"||s==="keep-alive"||s==="upgrade")throw new De(`invalid ${s} header`);if(s==="connection"){let n=typeof r=="string"?r.toLowerCase():null;if(n!=="close"&&n!=="keep-alive")throw new De("invalid connection header");n==="close"&&(t.reset=!0)}else{if(s==="expect")throw new f7("expect header not supported");t.headers.push(e,r)}}}_L.exports=pw});var IA=h((_Le,ML)=>{"use strict";var S7=require("node:events"),ph=class extends S7{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,s=this.dispatch.bind(this);for(let n of r)if(n!=null){if(typeof n!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof n}`);if(s=n(s),s==null||typeof s!="function"||s.length!==2)throw new TypeError("invalid interceptor")}return new mw(this,s)}},mw=class extends ph{#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};ML.exports=ph});var Xc=h((LLe,OL)=>{"use strict";var R7=IA(),{ClientDestroyedError:hw,ClientClosedError:T7,InvalidArgumentError:Wc}=be(),{kDestroy:v7,kClose:P7,kClosed:BA,kDestroyed:jc,kDispatch:fw,kInterceptors:Ca}=ze(),_i=Symbol("onDestroyed"),Kc=Symbol("onClosed"),mh=Symbol("Intercepted Dispatch"),gw=Symbol("webSocketOptions"),Ew=class extends R7{constructor(e){super(),this[jc]=!1,this[_i]=null,this[BA]=!1,this[Kc]=[],this[gw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[gw].maxFragments??131072,maxPayloadSize:this[gw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[jc]}get closed(){return this[BA]}get interceptors(){return this[Ca]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ca][r]!="function")throw new Wc("interceptor must be an function")}this[Ca]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,o)=>i?n(i):s(o))});if(typeof e!="function")throw new Wc("invalid callback");if(this[jc]){queueMicrotask(()=>e(new hw,null));return}if(this[BA]){this[Kc]?this[Kc].push(e):queueMicrotask(()=>e(null,null));return}this[BA]=!0,this[Kc].push(e);let r=()=>{let s=this[Kc];this[Kc]=null;for(let n=0;n<s.length;n++)s[n](null,null)};this[P7]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((n,i)=>{this.destroy(e,(o,a)=>o?i(o):n(a))});if(typeof r!="function")throw new Wc("invalid callback");if(this[jc]){this[_i]?this[_i].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new hw),this[jc]=!0,this[_i]=this[_i]||[],this[_i].push(r);let s=()=>{let n=this[_i];this[_i]=null;for(let i=0;i<n.length;i++)n[i](null,null)};this[v7](e).then(()=>{queueMicrotask(s)})}[mh](e,r){if(!this[Ca]||this[Ca].length===0)return this[mh]=this[fw],this[fw](e,r);let s=this[fw].bind(this);for(let n=this[Ca].length-1;n>=0;n--)s=this[Ca][n](s);return this[mh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Wc("handler must be an object");try{if(!e||typeof e!="object")throw new Wc("opts must be an object.");if(this[jc]||this[_i])throw new hw;if(this[BA])throw new T7;return this[mh](e,r)}catch(s){if(typeof r.onError!="function")throw new Wc("invalid onError method");return r.onError(s),!1}}};OL.exports=Ew});var Qw=h((MLe,GL)=>{"use strict";var Zc=0,yw=1e3,Cw=(yw>>1)-1,Li,Iw=Symbol("kFastTimer"),Mi=[],Bw=-2,ww=-1,UL=0,FL=1;function bw(){Zc+=Cw;let t=0,e=Mi.length;for(;t<e;){let r=Mi[t];r._state===UL?(r._idleStart=Zc-Cw,r._state=FL):r._state===FL&&Zc>=r._idleStart+r._idleTimeout&&(r._state=ww,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===ww?(r._state=Bw,--e!==0&&(Mi[t]=Mi[e])):++t}Mi.length=e,Mi.length!==0&&qL()}function qL(){Li?Li.refresh():(clearTimeout(Li),Li=setTimeout(bw,Cw),Li.unref&&Li.unref())}var hh=class{[Iw]=!0;_state=Bw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===Bw&&Mi.push(this),(!Li||Mi.length===1)&&qL(),this._state=UL}clear(){this._state=ww,this._idleStart=-1}};GL.exports={setTimeout(t,e,r){return e<=yw?setTimeout(t,e,r):new hh(t,e,r)},clearTimeout(t){t[Iw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new hh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Zc},tick(t=0){Zc+=t-yw+1,bw(),bw()},reset(){Zc=0,Mi.length=0,clearTimeout(Li),Li=null},kFastTimer:Iw}});var wA=h((ULe,YL)=>{"use strict";var k7=require("node:net"),HL=require("node:assert"),$L=pe(),{InvalidArgumentError:D7,ConnectTimeoutError:_7}=be(),fh=Qw();function zL(){}var xw,Nw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Nw=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size<this._maxCachedSessions)return;let s=this._sessionCache.get(r);s!==void 0&&s.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))}}:Nw=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:s}=this._sessionCache.keys().next();this._sessionCache.delete(s)}this._sessionCache.set(e,r)}}};function L7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new D7("maxCachedSessions must be a positive integer or zero");let o={path:r,...i},a=new Nw(e??100);return s=s??1e4,t=t??!1,function({hostname:l,host:u,protocol:A,port:d,servername:p,localAddress:m,httpSocket:f},y){let g;if(A==="https:"){xw||(xw=require("node:tls")),p=p||o.servername||$L.getServerName(u)||null;let C=p||l;HL(C);let I=n||a.get(C)||null;d=d||443,g=xw.connect({highWaterMark:16384,...o,servername:p,session:I,localAddress:m,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:d,host:l}),g.on("session",function(x){a.set(C,x)})}else HL(!f,"httpSocket can only be sent on TLS update"),d=d||80,g=k7.connect({highWaterMark:64*1024,...o,localAddress:m,port:d,host:l});if(o.keepAlive==null||o.keepAlive){let C=o.keepAliveInitialDelay===void 0?6e4:o.keepAliveInitialDelay;g.setKeepAlive(!0,C)}let E=M7(new WeakRef(g),{timeout:s,hostname:l,port:d});return g.setNoDelay(!0).once(A==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(E),y){let C=y;y=null,C(null,this)}}).on("error",function(C){if(queueMicrotask(E),y){let I=y;y=null,I(C)}}),g}}var M7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return zL;let r=null,s=null,n=fh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>VL(t.deref(),e))})},e.timeout);return()=>{fh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return zL;let r=null,s=fh.setFastTimeout(()=>{r=setImmediate(()=>{VL(t.deref(),e)})},e.timeout);return()=>{fh.clearFastTimeout(s),clearImmediate(r)}};function VL(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,$L.destroy(t,new _7(r))}YL.exports=L7});var JL=h(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.enumToMap=void 0;function O7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}gh.enumToMap=O7});var WL=h(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.SPECIAL_HEADERS=Q.HEADER_STATE=Q.MINOR=Q.MAJOR=Q.CONNECTION_TOKEN_CHARS=Q.HEADER_CHARS=Q.TOKEN=Q.STRICT_TOKEN=Q.HEX=Q.URL_CHAR=Q.STRICT_URL_CHAR=Q.USERINFO_CHARS=Q.MARK=Q.ALPHANUM=Q.NUM=Q.HEX_MAP=Q.NUM_MAP=Q.ALPHA=Q.FINISH=Q.H_METHOD_MAP=Q.METHOD_MAP=Q.METHODS_RTSP=Q.METHODS_ICE=Q.METHODS_HTTP=Q.METHODS=Q.LENIENT_FLAGS=Q.FLAGS=Q.TYPE=Q.ERROR=void 0;var F7=JL(),U7;(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"})(U7=Q.ERROR||(Q.ERROR={}));var q7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(q7=Q.TYPE||(Q.TYPE={}));var G7;(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"})(G7=Q.FLAGS||(Q.FLAGS={}));var H7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(H7=Q.LENIENT_FLAGS||(Q.LENIENT_FLAGS={}));var K;(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"})(K=Q.METHODS||(Q.METHODS={}));Q.METHODS_HTTP=[K.DELETE,K.GET,K.HEAD,K.POST,K.PUT,K.CONNECT,K.OPTIONS,K.TRACE,K.COPY,K.LOCK,K.MKCOL,K.MOVE,K.PROPFIND,K.PROPPATCH,K.SEARCH,K.UNLOCK,K.BIND,K.REBIND,K.UNBIND,K.ACL,K.REPORT,K.MKACTIVITY,K.CHECKOUT,K.MERGE,K["M-SEARCH"],K.NOTIFY,K.SUBSCRIBE,K.UNSUBSCRIBE,K.PATCH,K.PURGE,K.MKCALENDAR,K.LINK,K.UNLINK,K.PRI,K.SOURCE];Q.METHODS_ICE=[K.SOURCE];Q.METHODS_RTSP=[K.OPTIONS,K.DESCRIBE,K.ANNOUNCE,K.SETUP,K.PLAY,K.PAUSE,K.TEARDOWN,K.GET_PARAMETER,K.SET_PARAMETER,K.REDIRECT,K.RECORD,K.FLUSH,K.GET,K.POST];Q.METHOD_MAP=F7.enumToMap(K);Q.H_METHOD_MAP={};Object.keys(Q.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(Q.H_METHOD_MAP[t]=Q.METHOD_MAP[t])});var z7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(z7=Q.FINISH||(Q.FINISH={}));Q.ALPHA=[];for(let t=65;t<=90;t++)Q.ALPHA.push(String.fromCharCode(t)),Q.ALPHA.push(String.fromCharCode(t+32));Q.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Q.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};Q.NUM=["0","1","2","3","4","5","6","7","8","9"];Q.ALPHANUM=Q.ALPHA.concat(Q.NUM);Q.MARK=["-","_",".","!","~","*","'","(",")"];Q.USERINFO_CHARS=Q.ALPHANUM.concat(Q.MARK).concat(["%",";",":","&","=","+","$",","]);Q.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Q.ALPHANUM);Q.URL_CHAR=Q.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)Q.URL_CHAR.push(t);Q.HEX=Q.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Q.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Q.ALPHANUM);Q.TOKEN=Q.STRICT_TOKEN.concat([" "]);Q.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&Q.HEADER_CHARS.push(t);Q.CONNECTION_TOKEN_CHARS=Q.HEADER_CHARS.filter(t=>t!==44);Q.MAJOR=Q.NUM_MAP;Q.MINOR=Q.MAJOR;var el;(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"})(el=Q.HEADER_STATE||(Q.HEADER_STATE={}));Q.SPECIAL_HEADERS={connection:el.CONNECTION,"content-length":el.CONTENT_LENGTH,"proxy-connection":el.CONNECTION,"transfer-encoding":el.TRANSFER_ENCODING,upgrade:el.UPGRADE}});var Sw=h((HLe,jL)=>{"use strict";var{Buffer:V7}=require("node:buffer");jL.exports=V7.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQY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AIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHF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YCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZm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S0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAig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AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATY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nGAAsEAQAAAQBBkccAC98BAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var bA=h((VLe,oM)=>{"use strict";var ZL=["GET","HEAD","POST"],Y7=new Set(ZL),J7=[101,204,205,304],eM=[301,302,303,307,308],W7=new Set(eM),tM=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],j7=new Set(tM),rM=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],K7=new Set(rM),X7=["follow","manual","error"],sM=["GET","HEAD","OPTIONS","TRACE"],Z7=new Set(sM),eee=["navigate","same-origin","no-cors","cors"],tee=["omit","same-origin","include"],ree=["default","no-store","reload","no-cache","force-cache","only-if-cached"],see=["content-encoding","content-language","content-location","content-type","content-length"],nee=["half"],nM=["CONNECT","TRACE","TRACK"],iee=new Set(nM),iM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],oee=new Set(iM);oM.exports={subresource:iM,forbiddenMethods:nM,requestBodyHeader:see,referrerPolicy:rM,requestRedirect:X7,requestMode:eee,requestCredentials:tee,requestCache:ree,redirectStatus:eM,corsSafeListedMethods:ZL,nullBodyStatus:J7,safeMethods:sM,badPorts:tM,requestDuplex:nee,subresourceSet:oee,badPortsSet:j7,redirectStatusSet:W7,corsSafeListedMethodsSet:Y7,safeMethodsSet:Z7,forbiddenMethodsSet:iee,referrerPolicySet:K7}});var Tw=h(($Le,aM)=>{"use strict";var Rw=Symbol.for("undici.globalOrigin.1");function aee(){return globalThis[Rw]}function cee(t){if(t===void 0){Object.defineProperty(globalThis,Rw,{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,Rw,{value:e,writable:!0,enumerable:!1,configurable:!1})}aM.exports={getGlobalOrigin:aee,setGlobalOrigin:cee}});var Rr=h((YLe,mM)=>{"use strict";var yh=require("node:assert"),lee=new TextEncoder,QA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,uee=/[\u000A\u000D\u0009\u0020]/,Aee=/[\u0009\u000A\u000C\u000D\u0020]/g,dee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function pee(t){yh(t.protocol==="data:");let e=uM(t,!0);e=e.slice(5);let r={position:0},s=tl(",",e,r),n=s.length;if(s=yee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),o=AM(i);if(/;(\u0020){0,}base64$/i.test(s)){let c=pM(o);if(o=hee(c),o==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let a=vw(s);return a==="failure"&&(a=vw("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function uM(t,e=!1){if(!e)return t.href;let r=t.href,s=t.hash.length,n=s===0?r:r.substring(0,r.length-s);return!s&&r.endsWith("#")?n.slice(0,-1):n}function Ch(t,e,r){let s="";for(;r.position<e.length&&t(e[r.position]);)s+=e[r.position],r.position++;return s}function tl(t,e,r){let s=e.indexOf(t,r.position),n=r.position;return s===-1?(r.position=e.length,e.slice(n)):(r.position=s,e.slice(n,r.position))}function AM(t){let e=lee.encode(t);return mee(e)}function cM(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function lM(t){return t>=48&&t<=57?t-48:(t&223)-55}function mee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;n<e;++n){let i=t[n];i!==37?r[s++]=i:i===37&&!(cM(t[n+1])&&cM(t[n+2]))?r[s++]=37:(r[s++]=lM(t[n+1])<<4|lM(t[n+2]),n+=2)}return e===s?r:r.subarray(0,s)}function vw(t){t=Eh(t,!0,!0);let e={position:0},r=tl("/",t,e);if(r.length===0||!QA.test(r)||e.position>t.length)return"failure";e.position++;let s=tl(";",t,e);if(s=Eh(s,!1,!0),s.length===0||!QA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),o={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.position<t.length;){e.position++,Ch(l=>uee.test(l),t,e);let a=Ch(l=>l!==";"&&l!=="=",t,e);if(a=a.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let c=null;if(t[e.position]==='"')c=dM(t,e,!0),tl(";",t,e);else if(c=tl(";",t,e),c=Eh(c,!1,!0),c.length===0)continue;a.length!==0&&QA.test(a)&&(c.length===0||dee.test(c))&&!o.parameters.has(a)&&o.parameters.set(a,c)}return o}function hee(t){t=t.replace(Aee,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function dM(t,e,r){let s=e.position,n="";for(yh(t[e.position]==='"'),e.position++;n+=Ch(o=>o!=='"'&&o!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){n+="\\";break}n+=t[e.position],e.position++}else{yh(i==='"');break}}return r?n:t.slice(s,e.position)}function fee(t){yh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",QA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}function gee(t){return t===13||t===10||t===9||t===32}function Eh(t,e=!0,r=!0){return Pw(t,e,r,gee)}function Eee(t){return t===13||t===10||t===9||t===12||t===32}function yee(t,e=!0,r=!0){return Pw(t,e,r,Eee)}function Pw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t.charCodeAt(n));)n++;if(r)for(;i>0&&s(t.charCodeAt(i));)i--;return n===0&&i===t.length-1?t:t.slice(n,i+1)}function pM(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",s=0,n=65535;for(;s<e;)s+n>e&&(n=e-s),r+=String.fromCharCode.apply(null,t.subarray(s,s+=n));return r}function Cee(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}mM.exports={dataURLProcessor:pee,URLSerializer:uM,collectASequenceOfCodePoints:Ch,collectASequenceOfCodePointsFast:tl,stringPercentDecode:AM,parseMIMEType:vw,collectAnHTTPQuotedString:dM,serializeAMimeType:fee,removeChars:Pw,removeHTTPWhitespace:Eh,minimizeSupportedMimeType:Cee,HTTP_TOKEN_CODEPOINTS:QA,isomorphicDecode:pM}});var Yt=h((JLe,hM)=>{"use strict";var{types:Dn,inspect:Iee}=require("node:util"),{markAsUncloneable:Bee}=require("node:worker_threads"),{toUSVString:wee}=pe(),b={};b.converters={};b.util={};b.errors={};b.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};b.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 b.errors.exception({header:t.prefix,message:r})};b.errors.invalidArgument=function(t){return b.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};b.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};b.argumentLengthCheck=function({length:t},e,r){if(t<e)throw b.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};b.illegalConstructor=function(){throw b.errors.exception({header:"TypeError",message:"Illegal constructor"})};b.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"}};b.util.markAsUncloneable=Bee||(()=>{});b.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let o=Number(t);if(o===0&&(o=0),s?.enforceRange===!0){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw b.errors.exception({header:"Integer conversion",message:`Could not convert ${b.util.Stringify(t)} to an integer.`});if(o=b.util.IntegerPart(o),o<i||o>n)throw b.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${o}.`});return o}return!Number.isNaN(o)&&s?.clamp===!0?(o=Math.min(Math.max(o,i),n),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=b.util.IntegerPart(o),o=o%Math.pow(2,e),r==="signed"&&o>=Math.pow(2,e)-1?o-Math.pow(2,e):o)};b.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};b.util.Stringify=function(t){switch(b.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return Iee(t);case"String":return`"${t}"`;default:return`${t}`}};b.sequenceConverter=function(t){return(e,r,s,n)=>{if(b.util.Type(e)!=="Object")throw b.errors.exception({header:r,message:`${s} (${b.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),o=[],a=0;if(i===void 0||typeof i.next!="function")throw b.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:c,value:l}=i.next();if(c)break;o.push(t(l,r,`${s}[${a++}]`))}return o}};b.recordConverter=function(t,e){return(r,s,n)=>{if(b.util.Type(r)!=="Object")throw b.errors.exception({header:s,message:`${n} ("${b.util.Type(r)}") is not an Object.`});let i={};if(!Dn.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let c of a){let l=t(c,s,n),u=e(r[c],s,n);i[l]=u}return i}let o=Reflect.ownKeys(r);for(let a of o)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let l=t(a,s,n),u=e(r[a],s,n);i[l]=u}return i}};b.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw b.errors.exception({header:r,message:`Expected ${s} ("${b.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};b.dictionaryConverter=function(t){return(e,r,s)=>{let n=b.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw b.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let o of t){let{key:a,defaultValue:c,required:l,converter:u}=o;if(l===!0&&!Object.hasOwn(e,a))throw b.errors.exception({header:r,message:`Missing required key "${a}".`});let A=e[a],d=Object.hasOwn(o,"defaultValue");if(d&&A!==null&&(A??=c()),l||d||A!==void 0){if(A=u(A,r,`${s}.${a}`),o.allowedValues&&!o.allowedValues.includes(A))throw b.errors.exception({header:r,message:`${A} is not an accepted type. Expected one of ${o.allowedValues.join(", ")}.`});i[a]=A}}return i}};b.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};b.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw b.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};b.converters.ByteString=function(t,e,r){let s=b.converters.DOMString(t,e,r);for(let n=0;n<s.length;n++)if(s.charCodeAt(n)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};b.converters.USVString=wee;b.converters.boolean=function(t){return!!t};b.converters.any=function(t){return t};b.converters["long long"]=function(t,e,r){return b.util.ConvertToInt(t,64,"signed",void 0,e,r)};b.converters["unsigned long long"]=function(t,e,r){return b.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};b.converters["unsigned long"]=function(t,e,r){return b.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};b.converters["unsigned short"]=function(t,e,r,s){return b.util.ConvertToInt(t,16,"unsigned",s,e,r)};b.converters.ArrayBuffer=function(t,e,r,s){if(b.util.Type(t)!=="Object"||!Dn.isAnyArrayBuffer(t))throw b.errors.conversionFailed({prefix:e,argument:`${r} ("${b.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&Dn.isSharedArrayBuffer(t))throw b.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw b.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};b.converters.TypedArray=function(t,e,r,s,n){if(b.util.Type(t)!=="Object"||!Dn.isTypedArray(t)||t.constructor.name!==e.name)throw b.errors.conversionFailed({prefix:r,argument:`${s} ("${b.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&Dn.isSharedArrayBuffer(t.buffer))throw b.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw b.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};b.converters.DataView=function(t,e,r,s){if(b.util.Type(t)!=="Object"||!Dn.isDataView(t))throw b.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&Dn.isSharedArrayBuffer(t.buffer))throw b.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw b.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};b.converters.BufferSource=function(t,e,r,s){if(Dn.isAnyArrayBuffer(t))return b.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(Dn.isTypedArray(t))return b.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(Dn.isDataView(t))return b.converters.DataView(t,e,r,{...s,allowShared:!1});throw b.errors.conversionFailed({prefix:e,argument:`${r} ("${b.util.Stringify(t)}")`,types:["BufferSource"]})};b.converters["sequence<ByteString>"]=b.sequenceConverter(b.converters.ByteString);b.converters["sequence<sequence<ByteString>>"]=b.sequenceConverter(b.converters["sequence<ByteString>"]);b.converters["record<ByteString, ByteString>"]=b.recordConverter(b.converters.ByteString,b.converters.ByteString);hM.exports={webidl:b}});var Wr=h((WLe,RM)=>{"use strict";var{Transform:bee}=require("node:stream"),fM=require("node:zlib"),{redirectStatusSet:Qee,referrerPolicySet:xee,badPortsSet:Nee}=bA(),{getGlobalOrigin:gM}=Tw(),{collectASequenceOfCodePoints:Ia,collectAnHTTPQuotedString:See,removeChars:Ree,parseMIMEType:Tee}=Rr(),{performance:vee}=require("node:perf_hooks"),{isBlobLike:Pee,ReadableStreamFrom:kee,isValidHTTPToken:EM,normalizedMethodRecordsBase:Dee}=pe(),Ba=require("node:assert"),{isUint8Array:_ee}=require("node:util/types"),{webidl:xA}=Yt(),yM=[],Bh;try{Bh=require("node:crypto");let t=["sha256","sha384","sha512"];yM=Bh.getHashes().filter(e=>t.includes(e))}catch{}function CM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}function Lee(t,e){if(!Qee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&BM(r)&&(IM(r)||(r=Mee(r)),r=new URL(r,CM(t))),r&&!r.hash&&(r.hash=e),r}function IM(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}function Mee(t){return Buffer.from(t,"binary").toString("utf8")}function SA(t){return t.urlList[t.urlList.length-1]}function Oee(t){let e=SA(t);return NM(e)&&Nee.has(e.port)?"blocked":"allowed"}function Fee(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function Uee(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}var qee=EM;function BM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
`)||t.includes("\r")||t.includes("\0"))===!1}function Gee(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let o=s[i-1].trim();if(xee.has(o)){n=o;break}}n!==""&&(t.referrerPolicy=n)}function Hee(){return"allowed"}function zee(){return"success"}function Vee(){return"success"}function $ee(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function Yee(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&Dw(t.origin)&&!Dw(SA(t))&&(e=null);break;case"same-origin":wh(t,SA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function rl(t,e){return t}function Jee(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:rl(t.domainLookupStartTime,r),domainLookupEndTime:rl(t.domainLookupEndTime,r),connectionStartTime:rl(t.connectionStartTime,r),connectionEndTime:rl(t.connectionEndTime,r),secureConnectionStartTime:rl(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function Wee(t){return rl(vee.now(),t)}function jee(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 wM(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Kee(t){return{referrerPolicy:t.referrerPolicy}}function Xee(t){let e=t.referrerPolicy;Ba(e);let r=null;if(t.referrer==="client"){let a=gM();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let s=kw(r),n=kw(r,!0);s.toString().length>4096&&(s=n);let i=wh(t,s),o=NA(s)&&!NA(t.url);switch(e){case"origin":return n??kw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let a=SA(t);return wh(s,a)?s:NA(s)&&!NA(a)?"no-referrer":n}default:return o?"no-referrer":n}}function kw(t,e){return Ba(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function NA(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 s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}function Zee(t,e){if(Bh===void 0)return!0;let r=bM(e);if(r==="no metadata"||r.length===0)return!0;let s=tte(r),n=rte(r,s);for(let i of n){let o=i.algo,a=i.hash,c=Bh.createHash(o).update(t).digest("base64");if(c[c.length-1]==="="&&(c[c.length-2]==="="?c=c.slice(0,-2):c=c.slice(0,-1)),ste(c,a))return!0}return!1}var ete=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function bM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=ete.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();yM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}function tte(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}function rte(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length;++s)t[s].algo===e&&(t[r++]=t[s]);return t.length=r,t}function ste(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 nte(t){}function wh(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function ite(){let t,e;return{promise:new Promise((s,n)=>{t=s,e=n}),resolve:t,reject:e}}function ote(t){return t.controller.state==="aborted"}function ate(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function cte(t){return Dee[t.toLowerCase()]??t}function lte(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Ba(typeof e=="string"),e}var ute=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function QM(t,e,r=0,s=1){class n{#e;#t;#r;constructor(o,a){this.#e=o,this.#t=a,this.#r=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let o=this.#r,a=this.#e[e],c=a.length;if(o>=c)return{value:void 0,done:!0};let{[r]:l,[s]:u}=a[o];this.#r=o+1;let A;switch(this.#t){case"key":A=l;break;case"value":A=u;break;case"key+value":A=[l,u];break}return{value:A,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,ute),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,o){return new n(i,o)}}function Ate(t,e,r,s=0,n=1){let i=QM(t,r,s,n),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return xA.brandCheck(this,e),i(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return xA.brandCheck(this,e),i(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return xA.brandCheck(this,e),i(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(c,l=globalThis){if(xA.brandCheck(this,e),xA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof c!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:A}of i(this,"key+value"))c.call(l,A,u,this)}}};return Object.defineProperties(e.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}async function dte(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(o){n(o);return}try{s(await xM(i))}catch(o){n(o)}}function pte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}function mte(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}var hte=/[^\x00-\xFF]/;function Ih(t){return Ba(!hte.test(t)),t}async function xM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!_ee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}function fte(t){Ba("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function Dw(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}function NM(t){Ba("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}function gte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&Ia(c=>c===" "||c===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&Ia(c=>c===" "||c===" ",r,s);let n=Ia(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,s),i=n.length?Number(n):null;if(e&&Ia(c=>c===" "||c===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&Ia(c=>c===" "||c===" ",r,s);let o=Ia(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,s),a=o.length?Number(o):null;return s.position<r.length||a===null&&i===null||i>a?"failure":{rangeStartValue:i,rangeEndValue:a}}function Ete(t,e,r){let s="bytes ";return s+=Ih(`${t}`),s+="-",s+=Ih(`${e}`),s+="/",s+=Ih(`${r}`),s}var _w=class extends bee{#e;constructor(e){super(),this.#e=e}_transform(e,r,s){if(!this._inflateStream){if(e.length===0){s();return}this._inflateStream=(e[0]&15)===8?fM.createInflate(this.#e):fM.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",n=>this.destroy(n))}this._inflateStream.write(e,r,s)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function yte(t){return new _w(t)}function Cte(t){let e=null,r=null,s=null,n=SM("content-type",t);if(n===null)return"failure";for(let i of n){let o=Tee(i);o==="failure"||o.essence==="*/*"||(s=o,s.essence!==r?(e=null,s.parameters.has("charset")&&(e=s.parameters.get("charset")),r=s.essence):!s.parameters.has("charset")&&e!==null&&s.parameters.set("charset",e))}return s??"failure"}function Ite(t){let e=t,r={position:0},s=[],n="";for(;r.position<e.length;){if(n+=Ia(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(n+=See(e,r),r.position<e.length)continue}else Ba(e.charCodeAt(r.position)===44),r.position++;n=Ree(n,!0,!0,i=>i===9||i===32),s.push(n),n=""}return s}function SM(t,e){let r=e.get(t,!0);return r===null?null:Ite(r)}var Bte=new TextDecoder;function wte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Bte.decode(t))}var Lw=class{get baseUrl(){return gM()}get origin(){return this.baseUrl?.origin}policyContainer=wM()},Mw=class{settingsObject=new Lw},bte=new Mw;RM.exports={isAborted:ote,isCancelled:ate,isValidEncodedURL:IM,createDeferredPromise:ite,ReadableStreamFrom:kee,tryUpgradeRequestToAPotentiallyTrustworthyURL:nte,clampAndCoarsenConnectionTimingInfo:Jee,coarsenedSharedCurrentTime:Wee,determineRequestsReferrer:Xee,makePolicyContainer:wM,clonePolicyContainer:Kee,appendFetchMetadata:$ee,appendRequestOriginHeader:Yee,TAOCheck:Vee,corsCheck:zee,crossOriginResourcePolicyCheck:Hee,createOpaqueTimingInfo:jee,setRequestReferrerPolicyOnRedirect:Gee,isValidHTTPToken:EM,requestBadPort:Oee,requestCurrentURL:SA,responseURL:CM,responseLocationURL:Lee,isBlobLike:Pee,isURLPotentiallyTrustworthy:NA,isValidReasonPhrase:Uee,sameOrigin:wh,normalizeMethod:cte,serializeJavascriptValueToJSONString:lte,iteratorMixin:Ate,createIterator:QM,isValidHeaderName:qee,isValidHeaderValue:BM,isErrorLike:Fee,fullyReadBody:dte,bytesMatch:Zee,isReadableStreamLike:pte,readableStreamClose:mte,isomorphicEncode:Ih,urlIsLocal:fte,urlHasHttpsScheme:Dw,urlIsHttpHttpsScheme:NM,readAllBytes:xM,simpleRangeHeaderValue:gte,buildContentRange:Ete,parseMetadata:bM,createInflate:yte,extractMimeType:Cte,getDecodeSplit:SM,utf8DecodeBytes:wte,environmentSettingsObject:bte}});var bo=h((jLe,TM)=>{"use strict";TM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var Fw=h((KLe,vM)=>{"use strict";var{Blob:Qte,File:xte}=require("node:buffer"),{kState:Oi}=bo(),{webidl:_n}=Yt(),Ow=class t{constructor(e,r,s={}){let n=r,i=s.type,o=s.lastModified??Date.now();this[Oi]={blobLike:e,name:n,type:i,lastModified:o}}stream(...e){return _n.brandCheck(this,t),this[Oi].blobLike.stream(...e)}arrayBuffer(...e){return _n.brandCheck(this,t),this[Oi].blobLike.arrayBuffer(...e)}slice(...e){return _n.brandCheck(this,t),this[Oi].blobLike.slice(...e)}text(...e){return _n.brandCheck(this,t),this[Oi].blobLike.text(...e)}get size(){return _n.brandCheck(this,t),this[Oi].blobLike.size}get type(){return _n.brandCheck(this,t),this[Oi].blobLike.type}get name(){return _n.brandCheck(this,t),this[Oi].name}get lastModified(){return _n.brandCheck(this,t),this[Oi].lastModified}get[Symbol.toStringTag](){return"File"}};_n.converters.Blob=_n.interfaceConverter(Qte);function Nte(t){return t instanceof xte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}vM.exports={FileLike:Ow,isFileLike:Nte}});var TA=h((XLe,LM)=>{"use strict";var{isBlobLike:bh,iteratorMixin:Ste}=Wr(),{kState:lr}=bo(),{kEnumerableProperty:sl}=pe(),{FileLike:PM,isFileLike:Rte}=Fw(),{webidl:_e}=Yt(),{File:_M}=require("node:buffer"),kM=require("node:util"),DM=globalThis.File??_M,RA=class t{constructor(e){if(_e.util.markAsUncloneable(this),e!==void 0)throw _e.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[lr]=[]}append(e,r,s=void 0){_e.brandCheck(this,t);let n="FormData.append";if(_e.argumentLengthCheck(arguments,2,n),arguments.length===3&&!bh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=_e.converters.USVString(e,n,"name"),r=bh(r)?_e.converters.Blob(r,n,"value",{strict:!1}):_e.converters.USVString(r,n,"value"),s=arguments.length===3?_e.converters.USVString(s,n,"filename"):void 0;let i=Uw(e,r,s);this[lr].push(i)}delete(e){_e.brandCheck(this,t);let r="FormData.delete";_e.argumentLengthCheck(arguments,1,r),e=_e.converters.USVString(e,r,"name"),this[lr]=this[lr].filter(s=>s.name!==e)}get(e){_e.brandCheck(this,t);let r="FormData.get";_e.argumentLengthCheck(arguments,1,r),e=_e.converters.USVString(e,r,"name");let s=this[lr].findIndex(n=>n.name===e);return s===-1?null:this[lr][s].value}getAll(e){_e.brandCheck(this,t);let r="FormData.getAll";return _e.argumentLengthCheck(arguments,1,r),e=_e.converters.USVString(e,r,"name"),this[lr].filter(s=>s.name===e).map(s=>s.value)}has(e){_e.brandCheck(this,t);let r="FormData.has";return _e.argumentLengthCheck(arguments,1,r),e=_e.converters.USVString(e,r,"name"),this[lr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){_e.brandCheck(this,t);let n="FormData.set";if(_e.argumentLengthCheck(arguments,2,n),arguments.length===3&&!bh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=_e.converters.USVString(e,n,"name"),r=bh(r)?_e.converters.Blob(r,n,"name",{strict:!1}):_e.converters.USVString(r,n,"name"),s=arguments.length===3?_e.converters.USVString(s,n,"name"):void 0;let i=Uw(e,r,s),o=this[lr].findIndex(a=>a.name===e);o!==-1?this[lr]=[...this[lr].slice(0,o),i,...this[lr].slice(o+1).filter(a=>a.name!==e)]:this[lr].push(i)}[kM.inspect.custom](e,r){let s=this[lr].reduce((i,o)=>(i[o.name]?Array.isArray(i[o.name])?i[o.name].push(o.value):i[o.name]=[i[o.name],o.value]:i[o.name]=o.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=kM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};Ste("FormData",RA,lr,"name","value");Object.defineProperties(RA.prototype,{append:sl,delete:sl,get:sl,getAll:sl,has:sl,set:sl,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Uw(t,e,r){if(typeof e!="string"){if(Rte(e)||(e=e instanceof Blob?new DM([e],"blob",{type:e.type}):new PM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof _M?new DM([e],r,s):new PM(e,r,s)}}return{name:t,value:e}}LM.exports={FormData:RA,makeEntry:Uw}});var GM=h((ZLe,qM)=>{"use strict";var{isUSVString:MM,bufferToLowerCasedHeaderName:Tte}=pe(),{utf8DecodeBytes:vte}=Wr(),{HTTP_TOKEN_CODEPOINTS:Pte,isomorphicDecode:OM}=Rr(),{isFileLike:kte}=Fw(),{makeEntry:Dte}=TA(),Qh=require("node:assert"),{File:_te}=require("node:buffer"),Lte=globalThis.File??_te,Mte=Buffer.from('form-data; name="'),FM=Buffer.from("; filename"),Ote=Buffer.from("--"),Fte=Buffer.from(`--\r
`);function Ute(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}function qte(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}function Gte(t,e){Qh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let o=t.length;for(;t[o-1]===10&&t[o-2]===13;)o-=2;for(o!==t.length&&(t=t.subarray(0,o));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&xh(t,Ote,i)||i.position===t.length-4&&xh(t,Fte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let a=Hte(t,i);if(a==="failure")return"failure";let{name:c,filename:l,contentType:u,encoding:A}=a;i.position+=2;let d;{let m=t.indexOf(s.subarray(2),i.position);if(m===-1)return"failure";d=t.subarray(i.position,m-4),i.position+=d.length,A==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;l!==null?(u??="text/plain",Ute(u)||(u=""),p=new Lte([d],l,{type:u})):p=vte(Buffer.from(d)),Qh(MM(c)),Qh(typeof p=="string"&&MM(p)||kte(p)),n.push(Dte(c,p,l))}}function Hte(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let o=nl(a=>a!==10&&a!==13&&a!==58,t,e);if(o=qw(o,!0,!0,a=>a===9||a===32),!Pte.test(o.toString())||t[e.position]!==58)return"failure";switch(e.position++,nl(a=>a===32||a===9,t,e),Tte(o)){case"content-disposition":{if(r=s=null,!xh(t,Mte,e)||(e.position+=17,r=UM(t,e),r===null))return"failure";if(xh(t,FM,e)){let a=e.position+FM.length;if(t[a]===42&&(e.position+=1,a+=1),t[a]!==61||t[a+1]!==34||(e.position+=12,s=UM(t,e),s===null))return"failure"}break}case"content-type":{let a=nl(c=>c!==10&&c!==13,t,e);a=qw(a,!1,!0,c=>c===9||c===32),n=OM(a);break}case"content-transfer-encoding":{let a=nl(c=>c!==10&&c!==13,t,e);a=qw(a,!1,!0,c=>c===9||c===32),i=OM(a);break}default:nl(a=>a!==10&&a!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function UM(t,e){Qh(t[e.position-1]===34);let r=nl(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}function nl(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}function qw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t[n]);)n++;if(r)for(;i>0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}function xh(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}qM.exports={multipartFormDataParser:Gte,validateBoundary:qte}});var al=h((eMe,XM)=>{"use strict";var vA=pe(),{ReadableStreamFrom:zte,isBlobLike:HM,isReadableStreamLike:Vte,readableStreamClose:$te,createDeferredPromise:Yte,fullyReadBody:Jte,extractMimeType:Wte,utf8DecodeBytes:$M}=Wr(),{FormData:zM}=TA(),{kState:ol}=bo(),{webidl:jte}=Yt(),{Blob:Kte}=require("node:buffer"),Gw=require("node:assert"),{isErrored:YM,isDisturbed:Xte}=require("node:stream"),{isArrayBuffer:Zte}=require("node:util/types"),{serializeAMimeType:ere}=Rr(),{multipartFormDataParser:tre}=GM(),Hw;try{let t=require("node:crypto");Hw=e=>t.randomInt(0,e)}catch{Hw=t=>Math.floor(Math.random(t))}var Nh=new TextEncoder;function rre(){}var JM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,WM;JM&&(WM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Xte(e)&&!YM(e)&&e.cancel("Response object has been garbage collected").catch(rre)}));function jM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:HM(t)?r=t.stream():r=new ReadableStream({async pull(c){let l=typeof n=="string"?Nh.encode(n):n;l.byteLength&&c.enqueue(l),queueMicrotask(()=>$te(c))},start(){},type:"bytes"}),Gw(Vte(r));let s=null,n=null,i=null,o=null;if(typeof t=="string")n=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(Zte(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(vA.isFormDataLike(t)){let c=`----formdata-undici-0${`${Hw(1e11)}`.padStart(11,"0")}`,l=`--${c}\r
Content-Disposition: form-data`;let u=y=>y.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),A=y=>y.replace(/\r?\n|\r/g,`\r
`),d=[],p=new Uint8Array([13,10]);i=0;let m=!1;for(let[y,g]of t)if(typeof g=="string"){let E=Nh.encode(l+`; name="${u(A(y))}"\r
\r
${A(g)}\r
`);d.push(E),i+=E.byteLength}else{let E=Nh.encode(`${l}; name="${u(A(y))}"`+(g.name?`; filename="${u(g.name)}"`:"")+`\r
Content-Type: ${g.type||"application/octet-stream"}\r
\r
`);d.push(E,g,p),typeof g.size=="number"?i+=E.byteLength+g.size+p.byteLength:m=!0}let f=Nh.encode(`--${c}--\r
`);d.push(f),i+=f.byteLength,m&&(i=null),n=t,s=async function*(){for(let y of d)y.stream?yield*y.stream():yield y},o=`multipart/form-data; boundary=${c}`}else if(HM(t))n=t,i=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(vA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:zte(t)}if((typeof n=="string"||vA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let c;r=new ReadableStream({async start(){c=s(t)[Symbol.asyncIterator]()},async pull(l){let{value:u,done:A}=await c.next();if(A)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!YM(r)){let d=new Uint8Array(u);d.byteLength&&l.enqueue(d)}return l.desiredSize>0},async cancel(l){await c.return()},type:"bytes"})}return[{stream:r,source:n,length:i},o]}function sre(t,e=!1){return t instanceof ReadableStream&&(Gw(!vA.isDisturbed(t),"The body has already been consumed."),Gw(!t.locked,"The stream is locked.")),jM(t,e)}function nre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}function ire(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function ore(t){return{blob(){return il(this,r=>{let s=VM(this);return s===null?s="":s&&(s=ere(s)),new Kte([r],{type:s})},t)},arrayBuffer(){return il(this,r=>new Uint8Array(r).buffer,t)},text(){return il(this,$M,t)},json(){return il(this,cre,t)},formData(){return il(this,r=>{let s=VM(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=tre(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new zM;return i[ol]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new zM;for(let[o,a]of n)i.append(o,a);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return il(this,r=>new Uint8Array(r),t)}}}function are(t){Object.assign(t.prototype,ore(t))}async function il(t,e,r){if(jte.brandCheck(t,r),KM(t))throw new TypeError("Body is unusable: Body has already been read");ire(t[ol]);let s=Yte(),n=o=>s.reject(o),i=o=>{try{s.resolve(e(o))}catch(a){n(a)}};return t[ol].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await Jte(t[ol].body,i,n),s.promise)}function KM(t){let e=t[ol].body;return e!=null&&(e.stream.locked||vA.isDisturbed(e.stream))}function cre(t){return JSON.parse($M(t))}function VM(t){let e=t[ol].headersList,r=Wte(e);return r==="failure"?null:r}XM.exports={extractBody:jM,safelyExtractBody:sre,cloneBody:nre,mixinBody:are,streamRegistry:WM,hasFinalizationRegistry:JM,bodyUnusable:KM}});var mO=h((tMe,pO)=>{"use strict";var W=require("node:assert"),X=pe(),{channels:ZM}=Jc(),zw=Qw(),{RequestContentLengthMismatchError:wa,ResponseContentLengthMismatchError:eO,RequestAbortedError:cO,HeadersTimeoutError:lre,HeadersOverflowError:ure,SocketError:cl,InformationalError:ll,BodyTimeoutError:Are,HTTPParserError:dre,ResponseExceededMaxSizeError:pre}=be(),{kUrl:lO,kReset:Tr,kClient:vh,kParser:Oe,kBlocking:DA,kRunning:Qt,kPending:uO,kSize:tO,kWriting:Qo,kQueue:sn,kNoRef:PA,kKeepAliveDefaultTimeout:mre,kHostHeader:hre,kPendingIdx:fre,kRunningIdx:bs,kError:ur,kPipelining:Ph,kSocket:Qa,kKeepAliveTimeoutValue:Dh,kMaxHeadersSize:Vw,kKeepAliveMaxTimeout:gre,kKeepAliveTimeoutThreshold:Ere,kHeadersTimeout:yre,kBodyTimeout:Cre,kStrictContentLength:Jw,kMaxRequests:rO,kCounter:Ire,kMaxResponseSize:Bre,kOnError:sO,kResume:Fi,kHTTPContext:AO}=ze(),jr=WL(),nO=Buffer.alloc(0),Sh=Buffer[Symbol.species],Rh=X.addListener,wre=X.removeAllListeners,xa=Symbol("kIdleSocketValidation"),ba=Symbol("kIdleSocketValidationTimeout"),Xw=Symbol("kSocketUsed"),$w;async function bre(){let t=process.env.JEST_WORKER_ID?Sw():void 0,e;try{e=await WebAssembly.compile(XL())}catch{e=await WebAssembly.compile(t||Sw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,s,n)=>0,wasm_on_status:(r,s,n)=>{W(Ze.ptr===r);let i=s-Mn+Ln.byteOffset;return Ze.onStatus(new Sh(Ln.buffer,i,n))||0},wasm_on_message_begin:r=>(W(Ze.ptr===r),Ze.onMessageBegin()||0),wasm_on_header_field:(r,s,n)=>{W(Ze.ptr===r);let i=s-Mn+Ln.byteOffset;return Ze.onHeaderField(new Sh(Ln.buffer,i,n))||0},wasm_on_header_value:(r,s,n)=>{W(Ze.ptr===r);let i=s-Mn+Ln.byteOffset;return Ze.onHeaderValue(new Sh(Ln.buffer,i,n))||0},wasm_on_headers_complete:(r,s,n,i)=>(W(Ze.ptr===r),Ze.onHeadersComplete(s,!!n,!!i)||0),wasm_on_body:(r,s,n)=>{W(Ze.ptr===r);let i=s-Mn+Ln.byteOffset;return Ze.onBody(new Sh(Ln.buffer,i,n))||0},wasm_on_message_complete:r=>(W(Ze.ptr===r),Ze.onMessageComplete()||0)}})}var Yw=null,Ww=bre();Ww.catch();var Ze=null,Ln=null,Th=0,Mn=null,Qre=0,kA=1,ul=2|kA,kh=4|kA,jw=8|Qre,Kw=class{constructor(e,r,{exports:s}){W(Number.isFinite(e[Vw])&&e[Vw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(jr.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[Vw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Bre]}setTimeout(e,r){e!==this.timeoutValue||r&kA^this.timeoutType&kA?(this.timeout&&(zw.clearTimeout(this.timeout),this.timeout=null),e&&(r&kA?this.timeout=zw.setFastTimeout(iO,e,new WeakRef(this)):(this.timeout=setTimeout(iO,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(W(this.ptr!=null),W(Ze==null),this.llhttp.llhttp_resume(this.ptr),W(this.timeoutType===kh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||nO),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){W(this.ptr!=null),W(Ze==null),W(!this.paused);let{socket:r,llhttp:s}=this;e.length>Th&&(Mn&&s.free(Mn),Th=Math.ceil(e.length/4096)*4096,Mn=s.malloc(Th)),new Uint8Array(s.memory.buffer,Mn,Th).set(e);try{let n;try{Ln=e,Ze=this,n=s.llhttp_execute(this.ptr,Mn,e.length)}catch(o){throw o}finally{Ze=null,Ln=null}let i=s.llhttp_get_error_pos(this.ptr)-Mn;if(n!==jr.ERROR.OK){let o=e.subarray(i);if(n===jr.ERROR.PAUSED_UPGRADE)this.onUpgrade(o);else if(n===jr.ERROR.PAUSED)this.paused=!0,r.unshift(o);else throw this.createError(n,o)}}catch(n){X.destroy(r,n)}}finish(){W(Ze===null),W(this.ptr!=null),W(!this.paused);let{llhttp:e}=this,r;try{Ze=this,r=e.llhttp_finish(this.ptr)}finally{Ze=null}return r===jr.ERROR.OK?null:r===jr.ERROR.PAUSED||r===jr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,nO)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new eO;let o=s.llhttp_get_error_reason(this.ptr),a="";if(o){let c=new Uint8Array(s.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,o,c).toString()+")"}return new dre(a,jr.ERROR[e],r)}destroy(){W(this.ptr!=null),W(Ze==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&zw.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[Qt]===0)return X.destroy(e,new cl("bad response",X.getSocketInfo(e))),-1;let s=r[sn][r[bs]];if(!s)return-1;s.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let s=this.headers[r-2];if(s.length===10){let n=X.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&X.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&X.destroy(this.socket,new ure)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:o}=this;W(r),W(s[Qa]===n),W(!n.destroyed),W(!this.paused),W((i.length&1)===0);let a=s[sn][s[bs]];W(a),W(a.upgrade||a.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Oe].destroy(),n[Oe]=null,n[vh]=null,n[ur]=null,wre(n),s[Qa]=null,s[AO]=null,s[sn][s[bs]++]=null,s.emit("disconnect",s[lO],[s],new ll("upgrade"));try{a.onUpgrade(o,i,n)}catch(c){X.destroy(n,c)}s[Fi]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:o,statusText:a}=this;if(i.destroyed)return-1;if(n[Qt]===0)return X.destroy(i,new cl("bad response",X.getSocketInfo(i))),-1;let c=n[sn][n[bs]];if(!c)return-1;if(W(!this.upgrade),W(this.statusCode<200),e===100)return X.destroy(i,new cl("bad response",X.getSocketInfo(i))),-1;if(r&&!c.upgrade)return X.destroy(i,new cl("bad upgrade",X.getSocketInfo(i))),-1;if(W(this.timeoutType===ul),this.statusCode=e,this.shouldKeepAlive=s||c.method==="HEAD"&&!i[Tr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=c.bodyTimeout!=null?c.bodyTimeout:n[Cre];this.setTimeout(u,kh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(c.method==="CONNECT")return W(n[Qt]===1),this.upgrade=!0,2;if(r)return W(n[Qt]===1),this.upgrade=!0,2;if(W((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[Ph]){let u=this.keepAlive?X.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let A=Math.min(u-n[Ere],n[gre]);A<=0?i[Tr]=!0:n[Dh]=A}else n[Dh]=n[mre]}else i[Tr]=!0;let l=c.onHeaders(e,o,this.resume,a)===!1;return c.aborted?-1:c.method==="HEAD"||e<200?1:(i[DA]&&(i[DA]=!1,n[Fi]()),l?jr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let o=r[sn][r[bs]];if(W(o),W(this.timeoutType===kh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),W(n>=200),i>-1&&this.bytesRead+e.length>i)return X.destroy(s,new pre),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return jr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:o,bytesRead:a,shouldKeepAlive:c}=this;if(r.destroyed&&(!s||c))return-1;if(n)return;W(s>=100),W((this.headers.length&1)===0);let l=e[sn][e[bs]];if(W(l),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(l.method!=="HEAD"&&o&&a!==parseInt(o,10))return X.destroy(r,new eO),-1;if(l.onComplete(i),e[sn][e[bs]++]=null,r[Xw]=!0,r[Qo])return W(e[Qt]===0),X.destroy(r,new ll("reset")),jr.ERROR.PAUSED;if(c){if(r[Tr]&&e[Qt]===0)return X.destroy(r,new ll("reset")),jr.ERROR.PAUSED;e[Ph]==null||e[Ph]===1?setImmediate(()=>e[Fi]()):e[Fi]()}else return X.destroy(r,new ll("reset")),jr.ERROR.PAUSED}}};function iO(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===ul?(!e[Qo]||e.writableNeedDrain||s[Qt]>1)&&(W(!n,"cannot be paused while waiting for headers"),X.destroy(e,new lre)):r===kh?n||X.destroy(e,new Are):r===jw&&(W(s[Qt]===0&&s[Dh]),X.destroy(e,new ll("socket idle timeout")))}async function xre(t,e){t[Qa]=e,Yw||(Yw=await Ww,Ww=null),e[PA]=!1,e[Qo]=!1,e[Tr]=!1,e[DA]=!1,e[xa]=0,e[ba]=null,e[Xw]=!1,e[Oe]=new Kw(t,e,Yw),Rh(e,"error",function(s){W(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Oe];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[ur]=i,this[vh][sO](i));return}this[ur]=s,this[vh][sO](s)}),Rh(e,"readable",function(){let s=this[Oe];s&&s.readMore()}),Rh(e,"end",function(){let s=this[Oe];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&X.destroy(this,n);return}X.destroy(this,new cl("other side closed",X.getSocketInfo(this)))}),Rh(e,"close",function(){let s=this[vh],n=this[Oe];dO(this),n&&(!this[ur]&&n.statusCode&&!n.shouldKeepAlive&&(this[ur]=n.finish()||this[ur]),this[Oe].destroy(),this[Oe]=null);let i=this[ur]||new cl("closed",X.getSocketInfo(this));if(s[Qa]=null,s[AO]=null,s.destroyed){W(s[uO]===0);let o=s[sn].splice(s[bs]);for(let a=0;a<o.length;a++){let c=o[a];X.errorRequest(s,c,i)}}else if(s[Qt]>0&&i.code!=="UND_ERR_INFO"){let o=s[sn][s[bs]];s[sn][s[bs]++]=null,X.errorRequest(s,o,i)}s[fre]=s[bs],W(s[Qt]===0),s.emit("disconnect",s[lO],[s],i),s[Fi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return Tre(t,...s)},resume(){Sre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[Qo]||e[Tr]||e[DA]||e[xa]===1||s&&(t[Qt]>0&&!s.idempotent||t[Qt]>0&&(s.upgrade||s.method==="CONNECT")||t[Qt]>0&&X.bodyLength(s.body)!==0&&(X.isStream(s.body)||X.isAsyncIterable(s.body)||X.isFormDataLike(s.body))))}}}function dO(t){t[ba]&&(clearTimeout(t[ba]),t[ba]=null),t[xa]=0}function Nre(t,e){e[xa]=1,e[ba]=setTimeout(()=>{e[ba]=null,e[xa]=2,t[Qa]===e&&!e.destroyed&&t[Fi]()},0),e[ba].unref?.()}function Sre(t){let e=t[Qa];if(e&&!e.destroyed){if(t[tO]===0?!e[PA]&&e.unref&&(e.unref(),e[PA]=!0):e[PA]&&e.ref&&(e.ref(),e[PA]=!1),t[Qt]===0&&t[uO]>0&&e[Xw]){if(e[xa]===0)return Nre(t,e),e[Oe].readMore(),e.destroyed,void 0;if(e[xa]===1)return e[Oe].readMore(),e.destroyed,void 0}if(t[Qt]===0&&(e[Oe].readMore(),e.destroyed))return;if(t[tO]===0)e[Oe].timeoutType!==jw&&e[Oe].setTimeout(t[Dh],jw);else if(t[Qt]>0&&e[Oe].statusCode<200&&e[Oe].timeoutType!==ul){let r=t[sn][t[bs]],s=r.headersTimeout!=null?r.headersTimeout:t[yre];e[Oe].setTimeout(s,ul)}}}function Rre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function Tre(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:o,reset:a}=e,{body:c,headers:l,contentLength:u}=e,A=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(X.isFormDataLike(c)){$w||($w=al().extractBody);let[y,g]=$w(c);e.contentType==null&&l.push("content-type",g),c=y.stream,u=y.length}else X.isBlobLike(c)&&e.contentType==null&&c.type&&l.push("content-type",c.type);c&&typeof c.read=="function"&&c.read(0);let d=X.bodyLength(c);if(u=d??u,u===null&&(u=e.contentLength),u===0&&!A&&(u=null),Rre(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[Jw])return X.errorRequest(t,e,new wa),!1;process.emitWarning(new wa)}let p=t[Qa];dO(p);let m=y=>{e.aborted||e.completed||(X.errorRequest(t,e,y||new cO),X.destroy(c),X.destroy(p,new ll("aborted")))};try{e.onConnect(m)}catch(y){X.errorRequest(t,e,y)}if(e.aborted)return!1;r==="HEAD"&&(p[Tr]=!0),(i||r==="CONNECT")&&(p[Tr]=!0),a!=null&&(p[Tr]=a),t[rO]&&p[Ire]++>=t[rO]&&(p[Tr]=!0),o&&(p[DA]=!0);let f=`${r} ${s} HTTP/1.1\r
`;if(typeof n=="string"?f+=`host: ${n}\r
`:f+=t[hre],i?f+=`connection: upgrade\r
upgrade: ${i}\r
`:t[Ph]&&!p[Tr]?f+=`connection: keep-alive\r
`:f+=`connection: close\r
`,Array.isArray(l))for(let y=0;y<l.length;y+=2){let g=l[y+0],E=l[y+1];if(Array.isArray(E))for(let C=0;C<E.length;C++)f+=`${g}: ${E[C]}\r
`;else f+=`${g}: ${E}\r
`}return ZM.sendHeaders.hasSubscribers&&ZM.sendHeaders.publish({request:e,headers:f,socket:p}),!c||d===0?oO(m,null,t,e,p,u,f,A):X.isBuffer(c)?oO(m,c,t,e,p,u,f,A):X.isBlobLike(c)?typeof c.stream=="function"?aO(m,c.stream(),t,e,p,u,f,A):Pre(m,c,t,e,p,u,f,A):X.isStream(c)?vre(m,c,t,e,p,u,f,A):X.isIterable(c)?aO(m,c,t,e,p,u,f,A):W(!1),!0}function vre(t,e,r,s,n,i,o,a){W(i!==0||r[Qt]===0,"stream body cannot be pipelined");let c=!1,l=new _h({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:a,header:o}),u=function(m){if(!c)try{!l.write(m)&&this.pause&&this.pause()}catch(f){X.destroy(this,f)}},A=function(){c||e.resume&&e.resume()},d=function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!c){let m=new cO;queueMicrotask(()=>p(m))}},p=function(m){if(!c){if(c=!0,W(n.destroyed||n[Qo]&&r[Qt]<=1),n.off("drain",A).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",d),!m)try{l.end()}catch(f){m=f}l.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?X.destroy(e,m):X.destroy(e)}};e.on("data",u).on("end",p).on("error",p).on("close",d),e.resume&&e.resume(),n.on("drain",A).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}function oO(t,e,r,s,n,i,o,a){try{e?X.isBuffer(e)&&(W(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${o}content-length: ${i}\r
\r
`,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!a&&s.reset!==!1&&(n[Tr]=!0)):i===0?n.write(`${o}content-length: 0\r
\r
`,"latin1"):(W(i===null,"no body must not have content length"),n.write(`${o}\r
`,"latin1")),s.onRequestSent(),r[Fi]()}catch(c){t(c)}}async function Pre(t,e,r,s,n,i,o,a){W(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new wa;let c=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${o}content-length: ${i}\r
\r
`,"latin1"),n.write(c),n.uncork(),s.onBodySent(c),s.onRequestSent(),!a&&s.reset!==!1&&(n[Tr]=!0),r[Fi]()}catch(c){t(c)}}async function aO(t,e,r,s,n,i,o,a){W(i!==0||r[Qt]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let d=c;c=null,d()}}let u=()=>new Promise((d,p)=>{W(c===null),n[ur]?p(n[ur]):c=d});n.on("close",l).on("drain",l);let A=new _h({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(n[ur])throw n[ur];A.write(d)||await u()}A.end()}catch(d){A.destroy(d)}finally{n.off("close",l).off("drain",l)}}var _h=class{constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:o,header:a}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=e,r[Qo]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:o,expectsPayload:a,header:c}=this;if(r[ur])throw r[ur];if(r.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(n!==null&&o+l>n){if(i[Jw])throw new wa;process.emitWarning(new wa)}r.cork(),o===0&&(!a&&s.reset!==!1&&(r[Tr]=!0),n===null?r.write(`${c}transfer-encoding: chunked\r
`,"latin1"):r.write(`${c}content-length: ${n}\r
\r
`,"latin1")),n===null&&r.write(`\r
${l.toString(16)}\r
`,"latin1"),this.bytesWritten+=l;let u=r.write(e);return r.uncork(),s.onBodySent(e),u||r[Oe].timeout&&r[Oe].timeoutType===ul&&r[Oe].timeout.refresh&&r[Oe].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:o,request:a}=this;if(a.onRequestSent(),e[Qo]=!1,e[ur])throw e[ur];if(!e.destroyed){if(n===0?i?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&&n!==r){if(s[Jw])throw new wa;process.emitWarning(new wa)}e[Oe].timeout&&e[Oe].timeoutType===ul&&e[Oe].timeout.refresh&&e[Oe].timeout.refresh(),s[Fi]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[Qo]=!1,e&&(W(s[Qt]<=1,"pipeline should only contain this request"),n(e))}};pO.exports=xre});var BO=h((rMe,IO)=>{"use strict";var Qs=require("node:assert"),{pipeline:kre}=require("node:stream"),fe=pe(),{RequestContentLengthMismatchError:Zw,RequestAbortedError:hO,SocketError:_A,InformationalError:eb}=be(),{kUrl:Lh,kReset:Oh,kClient:Al,kRunning:Fh,kPending:Dre,kQueue:xo,kPendingIdx:tb,kRunningIdx:nn,kError:an,kSocket:Ut,kStrictContentLength:_re,kOnError:rb,kMaxConcurrentStreams:CO,kHTTP2Session:on,kResume:No,kSize:Lre,kHTTPContext:Mre}=ze(),Ui=Symbol("open streams"),fO,gO=!1,Mh;try{Mh=require("node:http2")}catch{Mh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Ore,HTTP2_HEADER_METHOD:Fre,HTTP2_HEADER_PATH:Ure,HTTP2_HEADER_SCHEME:qre,HTTP2_HEADER_CONTENT_LENGTH:Gre,HTTP2_HEADER_EXPECT:Hre,HTTP2_HEADER_STATUS:zre}}=Mh;function Vre(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}async function $re(t,e){t[Ut]=e,gO||(gO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Mh.connect(t[Lh],{createConnection:()=>e,peerMaxConcurrentStreams:t[CO]});r[Ui]=0,r[Al]=t,r[Ut]=e,fe.addListener(r,"error",Jre),fe.addListener(r,"frameError",Wre),fe.addListener(r,"end",jre),fe.addListener(r,"goaway",Kre),fe.addListener(r,"close",function(){let{[Al]:n}=this,{[Ut]:i}=n,o=this[Ut][an]||this[an]||new _A("closed",fe.getSocketInfo(i));if(n[on]=null,n.destroyed){Qs(n[Dre]===0);let a=n[xo].splice(n[nn]);for(let c=0;c<a.length;c++){let l=a[c];fe.errorRequest(n,l,o)}}}),r.unref(),t[on]=r,e[on]=r,fe.addListener(e,"error",function(n){Qs(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[an]=n,this[Al][rb](n)}),fe.addListener(e,"end",function(){fe.destroy(this,new _A("other side closed",fe.getSocketInfo(this)))}),fe.addListener(e,"close",function(){let n=this[an]||new _A("closed",fe.getSocketInfo(this));t[Ut]=null,this[on]!=null&&this[on].destroy(n),t[tb]=t[nn],Qs(t[Fh]===0),t.emit("disconnect",t[Lh],[t],n),t[No]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return Zre(t,...n)},resume(){Yre(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}function Yre(t){let e=t[Ut];e?.destroyed===!1&&(t[Lre]===0&&t[CO]===0?(e.unref(),t[on].unref()):(e.ref(),t[on].ref()))}function Jre(t){Qs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ut][an]=t,this[Al][rb](t)}function Wre(t,e,r){if(r===0){let s=new eb(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Ut][an]=s,this[Al][rb](s)}}function jre(){let t=new _A("other side closed",fe.getSocketInfo(this[Ut]));this.destroy(t),fe.destroy(this[Ut],t)}function Kre(t){let e=this[an]||new _A(`HTTP/2: "GOAWAY" frame received with code ${t}`,fe.getSocketInfo(this)),r=this[Al];if(r[Ut]=null,r[Mre]=null,this[on]!=null&&(this[on].destroy(e),this[on]=null),fe.destroy(this[Ut],e),r[nn]<r[xo].length){let s=r[xo][r[nn]];r[xo][r[nn]++]=null,fe.errorRequest(r,s,e),r[tb]=r[nn]}Qs(r[Fh]===0),r.emit("disconnect",r[Lh],[r],e),r[No]()}function Xre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function Zre(t,e){let r=t[on],{method:s,path:n,host:i,upgrade:o,expectContinue:a,signal:c,headers:l}=e,{body:u}=e;if(o)return fe.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let A={};for(let I=0;I<l.length;I+=2){let x=l[I+0],k=l[I+1];if(Array.isArray(k))for(let U=0;U<k.length;U++)A[x]?A[x]+=`,${k[U]}`:A[x]=k[U];else A[x]=k}let d,{hostname:p,port:m}=t[Lh];A[Ore]=i||`${p}${m?`:${m}`:""}`,A[Fre]=s;let f=I=>{e.aborted||e.completed||(I=I||new hO,fe.errorRequest(t,e,I),d!=null&&fe.destroy(d,I),fe.destroy(u,I),t[xo][t[nn]++]=null,t[No]())};try{e.onConnect(f)}catch(I){fe.errorRequest(t,e,I)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),d=r.request(A,{endStream:!1,signal:c}),d.id&&!d.pending?(e.onUpgrade(null,null,d),++r[Ui],t[xo][t[nn]++]=null):d.once("ready",()=>{e.onUpgrade(null,null,d),++r[Ui],t[xo][t[nn]++]=null}),d.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),!0;A[Ure]=n,A[qre]="https";let y=s==="PUT"||s==="POST"||s==="PATCH";u&&typeof u.read=="function"&&u.read(0);let g=fe.bodyLength(u);if(fe.isFormDataLike(u)){fO??=al().extractBody;let[I,x]=fO(u);A["content-type"]=x,u=I.stream,g=I.length}if(g==null&&(g=e.contentLength),(g===0||!y)&&(g=null),Xre(s)&&g>0&&e.contentLength!=null&&e.contentLength!==g){if(t[_re])return fe.errorRequest(t,e,new Zw),!1;process.emitWarning(new Zw)}g!=null&&(Qs(u,"no body must not have content length"),A[Gre]=`${g}`),r.ref();let E=s==="GET"||s==="HEAD"||u===null;return a?(A[Hre]="100-continue",d=r.request(A,{endStream:E,signal:c}),d.once("continue",C)):(d=r.request(A,{endStream:E,signal:c}),C()),++r[Ui],d.once("response",I=>{let{[zre]:x,...k}=I;if(e.onResponseStarted(),e.aborted){let U=new hO;fe.errorRequest(t,e,U),fe.destroy(d,U);return}e.onHeaders(Number(x),Vre(k),d.resume.bind(d),"")===!1&&d.pause(),d.on("data",U=>{e.onData(U)===!1&&d.pause()})}),d.once("end",()=>{(d.state?.state==null||d.state.state<6)&&e.onComplete([]),r[Ui]===0&&r.unref(),f(new eb("HTTP/2: stream half-closed (remote)")),t[xo][t[nn]++]=null,t[tb]=t[nn],t[No]()}),d.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),d.once("error",function(I){f(I)}),d.once("frameError",(I,x)=>{f(new eb(`HTTP/2: "frameError" received - type ${I}, code ${x}`))}),!0;function C(){!u||g===0?EO(f,d,null,t,e,t[Ut],g,y):fe.isBuffer(u)?EO(f,d,u,t,e,t[Ut],g,y):fe.isBlobLike(u)?typeof u.stream=="function"?yO(f,d,u.stream(),t,e,t[Ut],g,y):tse(f,d,u,t,e,t[Ut],g,y):fe.isStream(u)?ese(f,t[Ut],y,d,u,t,e,g):fe.isIterable(u)?yO(f,d,u,t,e,t[Ut],g,y):Qs(!1)}}function EO(t,e,r,s,n,i,o,a){try{r!=null&&fe.isBuffer(r)&&(Qs(o===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),a||(i[Oh]=!0),n.onRequestSent(),s[No]()}catch(c){t(c)}}function ese(t,e,r,s,n,i,o,a){Qs(a!==0||i[Fh]===0,"stream body cannot be pipelined");let c=kre(n,s,u=>{u?(fe.destroy(c,u),t(u)):(fe.removeAllListeners(c),o.onRequestSent(),r||(e[Oh]=!0),i[No]())});fe.addListener(c,"data",l);function l(u){o.onBodySent(u)}}async function tse(t,e,r,s,n,i,o,a){Qs(o===r.size,"blob body must have content length");try{if(o!=null&&o!==r.size)throw new Zw;let c=Buffer.from(await r.arrayBuffer());e.cork(),e.write(c),e.uncork(),e.end(),n.onBodySent(c),n.onRequestSent(),a||(i[Oh]=!0),s[No]()}catch(c){t(c)}}async function yO(t,e,r,s,n,i,o,a){Qs(o!==0||s[Fh]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let A=c;c=null,A()}}let u=()=>new Promise((A,d)=>{Qs(c===null),i[an]?d(i[an]):c=A});e.on("close",l).on("drain",l);try{for await(let A of r){if(i[an])throw i[an];let d=e.write(A);n.onBodySent(A),d||await u()}e.end(),n.onRequestSent(),a||(i[Oh]=!0),s[No]()}catch(A){t(A)}finally{e.off("close",l).off("drain",l)}}IO.exports=$re});var qh=h((sMe,QO)=>{"use strict";var On=pe(),{kBodyUsed:LA}=ze(),nb=require("node:assert"),{InvalidArgumentError:rse}=be(),sse=require("node:events"),nse=[300,301,302,303,307,308],wO=Symbol("body"),Uh=class{constructor(e){this[wO]=e,this[LA]=!1}async*[Symbol.asyncIterator](){nb(!this[LA],"disturbed"),this[LA]=!0,yield*this[wO]}},sb=class{constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new rse("maxRedirections must be a positive number");On.validateHandler(n,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=r,this.handler=n,this.history=[],this.redirectionLimitReached=!1,On.isStream(this.opts.body)?(On.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){nb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[LA]=!1,sse.prototype.on.call(this.opts.body,"data",function(){this[LA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Uh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&On.isIterable(this.opts.body)&&(this.opts.body=new Uh(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||On.isDisturbed(this.opts.body)?null:ise(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,s,n);let{origin:i,pathname:o,search:a}=On.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),c=a?`${o}${a}`:o;this.opts.headers=ose(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=c,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function ise(t,e){if(nse.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&On.headerNameToString(e[r])==="location")return e[r+1]}function bO(t,e,r){if(t.length===4)return On.headerNameToString(t)==="host";if(e&&On.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let s=On.headerNameToString(t);return s==="authorization"||s==="cookie"||s==="proxy-authorization"}return!1}function ose(t,e,r){let s=[];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)bO(t[n],e,r)||s.push(t[n],t[n+1]);else if(t&&typeof t=="object")for(let n of Object.keys(t))bO(n,e,r)||s.push(n,t[n]);else nb(t==null,"headers must be an object or an array");return s}QO.exports=sb});var Gh=h((nMe,xO)=>{"use strict";var ase=qh();function cse({maxRedirections:t}){return e=>function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let o=new ase(e,i,s,n);return s={...s,maxRedirections:0},e(s,o)}}xO.exports=cse});var ml=h((iMe,LO)=>{"use strict";var qi=require("node:assert"),PO=require("node:net"),lse=require("node:http"),Na=pe(),{channels:dl}=Jc(),use=LL(),Ase=Xc(),{InvalidArgumentError:At,InformationalError:dse,ClientDestroyedError:pse}=be(),mse=wA(),{kUrl:Fn,kServerName:So,kClient:hse,kBusy:ib,kConnect:fse,kResuming:Sa,kRunning:qA,kPending:GA,kSize:UA,kQueue:cn,kConnected:gse,kConnecting:pl,kNeedDrain:To,kKeepAliveDefaultTimeout:NO,kHostHeader:Ese,kPendingIdx:ln,kRunningIdx:Gi,kError:yse,kPipelining:Hh,kKeepAliveTimeoutValue:Cse,kMaxHeadersSize:Ise,kKeepAliveMaxTimeout:Bse,kKeepAliveTimeoutThreshold:wse,kHeadersTimeout:bse,kBodyTimeout:Qse,kStrictContentLength:xse,kConnector:MA,kMaxRedirections:Nse,kMaxRequests:ob,kCounter:Sse,kClose:Rse,kDestroy:Tse,kDispatch:vse,kInterceptors:SO,kLocalAddress:OA,kMaxResponseSize:Pse,kOnError:kse,kHTTPContext:dt,kMaxConcurrentStreams:Dse,kResume:FA}=ze(),_se=mO(),Lse=BO(),RO=!1,Ro=Symbol("kClosedResolve"),TO=()=>{};function kO(t){return t[Hh]??t[dt]?.defaultPipelining??1}var ab=class extends Ase{constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:o,connectTimeout:a,bodyTimeout:c,idleTimeout:l,keepAlive:u,keepAliveTimeout:A,maxKeepAliveTimeout:d,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:m,socketPath:f,pipelining:y,tls:g,strictContentLength:E,maxCachedSessions:C,maxRedirections:I,connect:x,maxRequestsPerClient:k,localAddress:U,maxResponseSize:de,autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Se,maxConcurrentStreams:V,allowH2:se,webSocket:q}={}){if(super({webSocket:q}),u!==void 0)throw new At("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new At("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new At("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(l!==void 0)throw new At("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new At("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new At("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new At("invalid socketPath");if(a!=null&&(!Number.isFinite(a)||a<0))throw new At("invalid connectTimeout");if(A!=null&&(!Number.isFinite(A)||A<=0))throw new At("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new At("invalid keepAliveMaxTimeout");if(m!=null&&!Number.isFinite(m))throw new At("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new At("headersTimeout must be a positive integer or zero");if(c!=null&&(!Number.isInteger(c)||c<0))throw new At("bodyTimeout must be a positive integer or zero");if(x!=null&&typeof x!="function"&&typeof x!="object")throw new At("connect must be a function or an object");if(I!=null&&(!Number.isInteger(I)||I<0))throw new At("maxRedirections must be a positive number");if(k!=null&&(!Number.isInteger(k)||k<0))throw new At("maxRequestsPerClient must be a positive number");if(U!=null&&(typeof U!="string"||PO.isIP(U)===0))throw new At("localAddress must be valid string IP address");if(de!=null&&(!Number.isInteger(de)||de<-1))throw new At("maxResponseSize must be a positive number");if(Se!=null&&(!Number.isInteger(Se)||Se<-1))throw new At("autoSelectFamilyAttemptTimeout must be a positive number");if(se!=null&&typeof se!="boolean")throw new At("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new At("maxConcurrentStreams must be a positive integer, greater than 0");typeof x!="function"&&(x=mse({...g,maxCachedSessions:C,allowH2:se,socketPath:f,timeout:a,...we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Se}:void 0,...x})),r?.Client&&Array.isArray(r.Client)?(this[SO]=r.Client,RO||(RO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[SO]=[Mse({maxRedirections:I})],this[Fn]=Na.parseOrigin(e),this[MA]=x,this[Hh]=y??1,this[Ise]=s||lse.maxHeaderSize,this[NO]=A??4e3,this[Bse]=p??6e5,this[wse]=m??2e3,this[Cse]=this[NO],this[So]=null,this[OA]=U??null,this[Sa]=0,this[To]=0,this[Ese]=`host: ${this[Fn].hostname}${this[Fn].port?`:${this[Fn].port}`:""}\r
`,this[Qse]=c??3e5,this[bse]=n??3e5,this[xse]=E??!0,this[Nse]=I,this[ob]=k,this[Ro]=null,this[Pse]=de>-1?de:-1,this[Dse]=V??100,this[dt]=null,this[cn]=[],this[Gi]=0,this[ln]=0,this[FA]=Ee=>cb(this,Ee),this[kse]=Ee=>DO(this,Ee)}get pipelining(){return this[Hh]}set pipelining(e){this[Hh]=e,this[FA](!0)}get[GA](){return this[cn].length-this[ln]}get[qA](){return this[ln]-this[Gi]}get[UA](){return this[cn].length-this[Gi]}get[gse](){return!!this[dt]&&!this[pl]&&!this[dt].destroyed}get[ib](){return!!(this[dt]?.busy(null)||this[UA]>=(kO(this)||1)||this[GA]>0)}[fse](e){_O(this),this.once("connect",e)}[vse](e,r){let s=e.origin||this[Fn].origin,n=new use(s,e,r);return this[cn].push(n),this[Sa]||(Na.bodyLength(n.body)==null&&Na.isIterable(n.body)?(this[Sa]=1,queueMicrotask(()=>cb(this))):this[FA](!0)),this[Sa]&&this[To]!==2&&this[ib]&&(this[To]=2),this[To]<2}async[Rse](){return new Promise(e=>{this[UA]?this[Ro]=e:e(null)})}async[Tse](e){return new Promise(r=>{let s=this[cn].splice(this[ln]);for(let i=0;i<s.length;i++){let o=s[i];Na.errorRequest(this,o,e)}let n=()=>{this[Ro]&&(this[Ro](),this[Ro]=null),r(null)};this[dt]?(this[dt].destroy(e,n),this[dt]=null):queueMicrotask(n),this[FA]()})}},Mse=Gh();function DO(t,e){if(t[qA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){qi(t[ln]===t[Gi]);let r=t[cn].splice(t[Gi]);for(let s=0;s<r.length;s++){let n=r[s];Na.errorRequest(t,n,e)}qi(t[UA]===0)}}async function _O(t){qi(!t[pl]),qi(!t[dt]);let{host:e,hostname:r,protocol:s,port:n}=t[Fn];if(r[0]==="["){let i=r.indexOf("]");qi(i!==-1);let o=r.substring(1,i);qi(PO.isIP(o)),r=o}t[pl]=!0,dl.beforeConnect.hasSubscribers&&dl.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[dt]?.version,servername:t[So],localAddress:t[OA]},connector:t[MA]});try{let i=await new Promise((o,a)=>{t[MA]({host:e,hostname:r,protocol:s,port:n,servername:t[So],localAddress:t[OA]},(c,l)=>{c?a(c):o(l)})});if(t.destroyed){Na.destroy(i.on("error",TO),new pse);return}qi(i);try{t[dt]=i.alpnProtocol==="h2"?await Lse(t,i):await _se(t,i)}catch(o){throw i.destroy().on("error",TO),o}t[pl]=!1,i[Sse]=0,i[ob]=t[ob],i[hse]=t,i[yse]=null,dl.connected.hasSubscribers&&dl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[dt]?.version,servername:t[So],localAddress:t[OA]},connector:t[MA],socket:i}),t.emit("connect",t[Fn],[t])}catch(i){if(t.destroyed)return;if(t[pl]=!1,dl.connectError.hasSubscribers&&dl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[dt]?.version,servername:t[So],localAddress:t[OA]},connector:t[MA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(qi(t[qA]===0);t[GA]>0&&t[cn][t[ln]].servername===t[So];){let o=t[cn][t[ln]++];Na.errorRequest(t,o,i)}else DO(t,i);t.emit("connectionError",t[Fn],[t],i)}t[FA]()}function vO(t){t[To]=0,t.emit("drain",t[Fn],[t])}function cb(t,e){t[Sa]!==2&&(t[Sa]=2,Ose(t,e),t[Sa]=0,t[Gi]>256&&(t[cn].splice(0,t[Gi]),t[ln]-=t[Gi],t[Gi]=0))}function Ose(t,e){for(;;){if(t.destroyed){qi(t[GA]===0);return}if(t[Ro]&&!t[UA]){t[Ro](),t[Ro]=null;return}if(t[dt]&&t[dt].resume(),t[ib])t[To]=2;else if(t[To]===2){e?(t[To]=1,queueMicrotask(()=>vO(t))):vO(t);continue}if(t[GA]===0||t[qA]>=(kO(t)||1))return;let r=t[cn][t[ln]];if(t[Fn].protocol==="https:"&&t[So]!==r.servername){if(t[qA]>0)return;t[So]=r.servername,t[dt]?.destroy(new dse("servername changed"),()=>{t[dt]=null,cb(t)})}if(t[pl])return;if(!t[dt]){_O(t);return}if(t[dt].destroyed||t[dt].busy(r))return;!r.aborted&&t[dt].write(r)?t[ln]++:t[cn].splice(t[ln],1)}}LO.exports=ab});var lb=h((aMe,MO)=>{"use strict";var zh=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)}};MO.exports=class{constructor(){this.head=this.tail=new zh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new zh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var FO=h((cMe,OO)=>{var{kFree:Fse,kConnected:Use,kPending:qse,kQueued:Gse,kRunning:Hse,kSize:zse}=ze(),Ra=Symbol("pool"),ub=class{constructor(e){this[Ra]=e}get connected(){return this[Ra][Use]}get free(){return this[Ra][Fse]}get pending(){return this[Ra][qse]}get queued(){return this[Ra][Gse]}get running(){return this[Ra][Hse]}get size(){return this[Ra][zse]}};OO.exports=ub});var fb=h((lMe,WO)=>{"use strict";var Vse=Xc(),$se=lb(),{kConnected:Ab,kSize:UO,kRunning:qO,kPending:GO,kQueued:HA,kBusy:Yse,kFree:Jse,kUrl:Wse,kClose:jse,kDestroy:Kse,kDispatch:Xse}=ze(),Zse=FO(),vr=Symbol("clients"),Ar=Symbol("needDrain"),zA=Symbol("queue"),db=Symbol("closed resolve"),pb=Symbol("onDrain"),HO=Symbol("onConnect"),zO=Symbol("onDisconnect"),VO=Symbol("onConnectionError"),mb=Symbol("get dispatcher"),YO=Symbol("add client"),JO=Symbol("remove client"),$O=Symbol("stats"),hb=class extends Vse{constructor(e){super(e),this[zA]=new $se,this[vr]=[],this[HA]=0;let r=this;this[pb]=function(n,i){let o=r[zA],a=!1;for(;!a;){let c=o.shift();if(!c)break;r[HA]--,a=!this.dispatch(c.opts,c.handler)}this[Ar]=a,!this[Ar]&&r[Ar]&&(r[Ar]=!1,r.emit("drain",n,[r,...i])),r[db]&&o.isEmpty()&&Promise.all(r[vr].map(c=>c.close())).then(r[db])},this[HO]=(s,n)=>{r.emit("connect",s,[r,...n])},this[zO]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[VO]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[$O]=new Zse(this)}get[Yse](){return this[Ar]}get[Ab](){return this[vr].filter(e=>e[Ab]).length}get[Jse](){return this[vr].filter(e=>e[Ab]&&!e[Ar]).length}get[GO](){let e=this[HA];for(let{[GO]:r}of this[vr])e+=r;return e}get[qO](){let e=0;for(let{[qO]:r}of this[vr])e+=r;return e}get[UO](){let e=this[HA];for(let{[UO]:r}of this[vr])e+=r;return e}get stats(){return this[$O]}async[jse](){this[zA].isEmpty()?await Promise.all(this[vr].map(e=>e.close())):await new Promise(e=>{this[db]=e})}async[Kse](e){for(;;){let r=this[zA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[vr].map(r=>r.destroy(e)))}[Xse](e,r){let s=this[mb]();return s?s.dispatch(e,r)||(s[Ar]=!0,this[Ar]=!this[mb]()):(this[Ar]=!0,this[zA].push({opts:e,handler:r}),this[HA]++),!this[Ar]}[YO](e){return e.on("drain",this[pb]).on("connect",this[HO]).on("disconnect",this[zO]).on("connectionError",this[VO]),this[vr].push(e),this[Ar]&&queueMicrotask(()=>{this[Ar]&&this[pb](e[Wse],[this,e])}),this}[JO](e){e.close(()=>{let r=this[vr].indexOf(e);r!==-1&&this[vr].splice(r,1)}),this[Ar]=this[vr].some(r=>!r[Ar]&&r.closed!==!0&&r.destroyed!==!0)}};WO.exports={PoolBase:hb,kClients:vr,kNeedDrain:Ar,kAddClient:YO,kRemoveClient:JO,kGetDispatcher:mb}});var hl=h((uMe,ZO)=>{"use strict";var{PoolBase:ene,kClients:Vh,kNeedDrain:tne,kAddClient:rne,kGetDispatcher:sne}=fb(),nne=ml(),{InvalidArgumentError:gb}=be(),jO=pe(),{kUrl:KO,kInterceptors:ine}=ze(),one=wA(),Eb=Symbol("options"),yb=Symbol("connections"),XO=Symbol("factory");function ane(t,e){return new nne(t,e)}var Cb=class extends ene{constructor(e,{connections:r,factory:s=ane,connect:n,connectTimeout:i,tls:o,maxCachedSessions:a,socketPath:c,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:u,allowH2:A,...d}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new gb("invalid connections");if(typeof s!="function")throw new gb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new gb("connect must be a function or an object");typeof n!="function"&&(n=one({...o,maxCachedSessions:a,allowH2:A,socketPath:c,timeout:i,...l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:u}:void 0,...n})),super(d),this[ine]=d.interceptors?.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[yb]=r||null,this[KO]=jO.parseOrigin(e),this[Eb]={...jO.deepClone(d),connect:n,allowH2:A},this[Eb].interceptors=d.interceptors?{...d.interceptors}:void 0,this[XO]=s,this.on("connectionError",(p,m,f)=>{for(let y of m){let g=this[Vh].indexOf(y);g!==-1&&this[Vh].splice(g,1)}})}[sne](){for(let e of this[Vh])if(!e[tne])return e;if(!this[yb]||this[Vh].length<this[yb]){let e=this[XO](this[KO],this[Eb]);return this[rne](e),e}}};ZO.exports=Cb});var nF=h((AMe,sF)=>{"use strict";var{BalancedPoolMissingUpstreamError:cne,InvalidArgumentError:lne}=be(),{PoolBase:une,kClients:Zt,kNeedDrain:VA,kAddClient:Ane,kRemoveClient:dne,kGetDispatcher:pne}=fb(),mne=hl(),{kUrl:Ib,kInterceptors:hne}=ze(),{parseOrigin:eF}=pe(),tF=Symbol("factory"),$h=Symbol("options"),rF=Symbol("kGreatestCommonDivisor"),Ta=Symbol("kCurrentWeight"),va=Symbol("kIndex"),xs=Symbol("kWeight"),Yh=Symbol("kMaxWeightPerServer"),Jh=Symbol("kErrorPenalty");function fne(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}function gne(t,e){return new mne(t,e)}var Bb=class extends une{constructor(e=[],{factory:r=gne,...s}={}){if(super(),this[$h]=s,this[va]=-1,this[Ta]=0,this[Yh]=this[$h].maxWeightPerServer||100,this[Jh]=this[$h].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new lne("factory must be a function.");this[hne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[tF]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=eF(e).origin;if(this[Zt].find(n=>n[Ib].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[tF](r,Object.assign({},this[$h]));this[Ane](s),s.on("connect",()=>{s[xs]=Math.min(this[Yh],s[xs]+this[Jh])}),s.on("connectionError",()=>{s[xs]=Math.max(1,s[xs]-this[Jh]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[xs]=Math.max(1,s[xs]-this[Jh]),this._updateBalancedPoolStats())});for(let n of this[Zt])n[xs]=this[Yh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Zt].length;r++)e=fne(this[Zt][r][xs],e);this[rF]=e}removeUpstream(e){let r=eF(e).origin,s=this[Zt].find(n=>n[Ib].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[dne](s),this}get upstreams(){return this[Zt].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Ib].origin)}[pne](){if(this[Zt].length===0)throw new cne;if(!this[Zt].find(i=>!i[VA]&&i.closed!==!0&&i.destroyed!==!0)||this[Zt].map(i=>i[VA]).reduce((i,o)=>i&&o,!0))return;let s=0,n=this[Zt].findIndex(i=>!i[VA]);for(;s++<this[Zt].length;){this[va]=(this[va]+1)%this[Zt].length;let i=this[Zt][this[va]];if(i[xs]>this[Zt][n][xs]&&!i[VA]&&(n=this[va]),this[va]===0&&(this[Ta]=this[Ta]-this[rF],this[Ta]<=0&&(this[Ta]=this[Yh])),i[xs]>=this[Ta]&&!i[VA])return i}return this[Ta]=this[Zt][n][xs],this[va]=n,this[Zt][n]}};sF.exports=Bb});var fl=h((dMe,AF)=>{"use strict";var{InvalidArgumentError:Wh}=be(),{kClients:vo,kRunning:iF,kClose:Ene,kDestroy:yne,kDispatch:Cne,kInterceptors:Ine}=ze(),Bne=Xc(),wne=hl(),bne=ml(),Qne=pe(),xne=Gh(),oF=Symbol("onConnect"),aF=Symbol("onDisconnect"),cF=Symbol("onConnectionError"),Nne=Symbol("maxRedirections"),lF=Symbol("onDrain"),uF=Symbol("factory"),wb=Symbol("options");function Sne(t,e){return e&&e.connections===1?new bne(t,e):new wne(t,e)}var bb=class extends Bne{constructor({factory:e=Sne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new Wh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Wh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Wh("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[Ine]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[xne({maxRedirections:r})],this[wb]={...Qne.deepClone(n),connect:s},this[wb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Nne]=r,this[uF]=e,this[vo]=new Map,this[lF]=(i,o)=>{this.emit("drain",i,[this,...o])},this[oF]=(i,o)=>{this.emit("connect",i,[this,...o])},this[aF]=(i,o,a)=>{this.emit("disconnect",i,[this,...o],a)},this[cF]=(i,o,a)=>{this.emit("connectionError",i,[this,...o],a)}}get[iF](){let e=0;for(let r of this[vo].values())e+=r[iF];return e}[Cne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new Wh("opts.origin must be a non-empty string or URL.");let n=this[vo].get(s);return n||(n=this[uF](e.origin,this[wb]).on("drain",this[lF]).on("connect",this[oF]).on("disconnect",this[aF]).on("connectionError",this[cF]),this[vo].set(s,n)),n.dispatch(e,r)}async[Ene](){let e=[];for(let r of this[vo].values())e.push(r.close());this[vo].clear(),await Promise.all(e)}async[yne](e){let r=[];for(let s of this[vo].values())r.push(s.destroy(e));this[vo].clear(),await Promise.all(r)}};AF.exports=bb});var Rb=h((pMe,BF)=>{"use strict";var{kProxy:Qb,kClose:gF,kDestroy:EF,kDispatch:dF,kInterceptors:Rne}=ze(),{URL:Pa}=require("node:url"),Tne=fl(),yF=hl(),CF=Xc(),{InvalidArgumentError:gl,RequestAbortedError:vne,SecureProxyConnectionError:Pne}=be(),pF=wA(),IF=ml(),jh=Symbol("proxy agent"),Kh=Symbol("proxy client"),Po=Symbol("proxy headers"),xb=Symbol("request tls settings"),mF=Symbol("proxy tls settings"),hF=Symbol("connect endpoint function"),fF=Symbol("tunnel proxy");function kne(t){return t==="https:"?443:80}function Dne(t,e){return new yF(t,e)}var _ne=()=>{};function Lne(t,e){return e.connections===1?new IF(t,e):new yF(t,e)}var Nb=class extends CF{#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new gl("Proxy URL is mandatory");this[Po]=r,n?this.#e=n(e,{connect:s}):this.#e=new IF(e,{connect:s})}[dF](e,r){let s=r.onHeaders;r.onHeaders=function(a,c,l){if(a===407){typeof r.onError=="function"&&r.onError(new gl("Proxy Authentication Required (407)"));return}s&&s.call(this,a,c,l)};let{origin:n,path:i="/",headers:o={}}=e;if(e.path=n+i,!("host"in o)&&!("Host"in o)){let{host:a}=new Pa(n);o.host=a}return e.headers={...this[Po],...o},this.#e[dF](e,r)}async[gF](){return this.#e.close()}async[EF](e){return this.#e.destroy(e)}},Sb=class extends CF{constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Pa)&&!e.uri)throw new gl("Proxy uri is mandatory");let{clientFactory:r=Dne}=e;if(typeof r!="function")throw new gl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:o,port:a,protocol:c,username:l,password:u,hostname:A}=n;if(this[Qb]={uri:i,protocol:c},this[Rne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[xb]=e.requestTls,this[mF]=e.proxyTls,this[Po]=e.headers||{},this[fF]=s,e.auth&&e.token)throw new gl("opts.auth cannot be used in combination with opts.token");e.auth?this[Po]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Po]["proxy-authorization"]=e.token:l&&u&&(this[Po]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(u)}`).toString("base64")}`);let d=pF({...e.proxyTls});this[hF]=pF({...e.requestTls});let p=e.factory||Lne,m=(f,y)=>{let{protocol:g}=new Pa(f);return!this[fF]&&g==="http:"&&this[Qb].protocol==="http:"?new Nb(this[Qb].uri,{headers:this[Po],connect:d,factory:p}):p(f,y)};this[Kh]=r(n,{connect:d}),this[jh]=new Tne({...e,factory:m,connect:async(f,y)=>{let g=f.host;f.port||(g+=`:${kne(f.protocol)}`);try{let{socket:E,statusCode:C}=await this[Kh].connect({origin:o,port:a,path:g,signal:f.signal,headers:{...this[Po],host:f.host},servername:this[mF]?.servername||A});if(C!==200&&(E.on("error",_ne).destroy(),y(new vne(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){y(null,E);return}let I;this[xb]?I=this[xb].servername:I=f.servername,this[hF]({...f,servername:I,httpSocket:E},y)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?y(new Pne(E)):y(E)}}})}dispatch(e,r){let s=Mne(e.headers);if(One(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new Pa(e.origin);s.host=n}return this[jh].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new Pa(e):e instanceof Pa?e:new Pa(e.uri)}async[gF](){await this[jh].close(),await this[Kh].close()}async[EF](){await this[jh].destroy(),await this[Kh].destroy()}};function Mne(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 One(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new gl("Proxy-Authorization should be sent in ProxyAgent constructor")}BF.exports=Sb});var SF=h((mMe,NF)=>{"use strict";var Fne=Xc(),{kClose:Une,kDestroy:qne,kClosed:wF,kDestroyed:bF,kDispatch:Gne,kNoProxyAgent:$A,kHttpProxyAgent:ko,kHttpsProxyAgent:ka}=ze(),QF=Rb(),Hne=fl(),zne={"http:":80,"https:":443},xF=!1,Tb=class extends Fne{#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,xF||(xF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[$A]=new Hne(i);let o=r??process.env.http_proxy??process.env.HTTP_PROXY;o?this[ko]=new QF({...i,uri:o}):this[ko]=this[$A];let a=s??process.env.https_proxy??process.env.HTTPS_PROXY;a?this[ka]=new QF({...i,uri:a}):this[ka]=this[ko],this.#s()}[Gne](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[Une](){await this[$A].close(),this[ko][wF]||await this[ko].close(),this[ka][wF]||await this[ka].close()}async[qne](e){await this[$A].destroy(e),this[ko][bF]||await this[ko].destroy(e),this[ka][bF]||await this[ka].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||zne[r]||0,this.#n(s,n)?r==="https:"?this[ka]:this[ko]:this[$A]}#n(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s<this.#t.length;s++){let n=this.#t[s];if(!(n.port&&n.port!==r)){if(/^[.*]/.test(n.hostname)){if(e.endsWith(n.hostname.replace(/^\*/,"")))return!1}else if(e===n.hostname)return!1}}return!0}#s(){let e=this.#r.noProxy??this.#a,r=e.split(/[,\s]/),s=[];for(let n=0;n<r.length;n++){let i=r[n];if(!i)continue;let o=i.match(/^(.+):(\d+)$/);s.push({hostname:(o?o[1]:i).toLowerCase(),port:o?Number.parseInt(o[2],10):0})}this.#e=e,this.#t=s}get#o(){return this.#r.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};NF.exports=Tb});var Xh=h((hMe,PF)=>{"use strict";var El=require("node:assert"),{kRetryHandlerDefaultRetry:RF}=ze(),{RequestRetryError:YA}=be(),{isDisturbed:TF,parseHeaders:Vne,parseRangeHeader:vF,wrapRequestBody:$ne}=pe();function Yne(t){let e=Date.now();return new Date(t).getTime()-e}var vb=class t{constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:o,maxTimeout:a,minTimeout:c,timeoutFactor:l,methods:u,errorCodes:A,retryAfter:d,statusCodes:p}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:$ne(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[RF],retryAfter:d??!0,maxTimeout:a??30*1e3,minTimeout:c??500,timeoutFactor:l??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:A??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(m=>{this.aborted=!0,this.abort?this.abort(m):this.reason=m})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[RF](e,{state:r,opts:s},n){let{statusCode:i,code:o,headers:a}=e,{method:c,retryOptions:l}=s,{maxRetries:u,minTimeout:A,maxTimeout:d,timeoutFactor:p,statusCodes:m,errorCodes:f,methods:y}=l,{counter:g}=r;if(o&&o!=="UND_ERR_REQ_RETRY"&&!f.includes(o)){n(e);return}if(Array.isArray(y)&&!y.includes(c)){n(e);return}if(i!=null&&Array.isArray(m)&&!m.includes(i)){n(e);return}if(g>u){n(e);return}let E=a?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?Yne(E):E*1e3);let C=E>0?Math.min(E,d):Math.min(A*p**(g-1),d);setTimeout(()=>n(null),C)}onHeaders(e,r,s,n){let i=Vne(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,s,n):(this.abort(new YA("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new YA("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let a=vF(i["content-range"]);if(!a)return this.abort(new YA("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new YA("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:c,size:l,end:u=l-1}=a;return El(this.start===c,"content-range mismatch"),El(this.end==null||this.end===u,"content-range mismatch"),this.resume=s,!0}if(this.end==null){if(e===206){let a=vF(i["content-range"]);if(a==null)return this.handler.onHeaders(e,r,s,n);let{start:c,size:l,end:u=l-1}=a;El(c!=null&&Number.isFinite(c),"content-range mismatch"),El(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=c,this.end=u}if(this.end==null){let a=i["content-length"];this.end=a!=null?Number(a)-1:null}return El(Number.isFinite(this.start)),El(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let o=new YA("Request failed",e,{headers:i,data:{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||TF(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||TF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}}};PF.exports=vb});var DF=h((fMe,kF)=>{"use strict";var Jne=IA(),Wne=Xh(),Pb=class extends Jne{#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new Wne({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,s)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};kF.exports=Pb});var Ob=h((gMe,HF)=>{"use strict";var FF=require("node:assert"),{Readable:jne}=require("node:stream"),{RequestAbortedError:UF,NotSupportedError:Kne,InvalidArgumentError:Xne,AbortError:kb}=be(),qF=pe(),{ReadableStreamFrom:Zne}=pe(),Kr=Symbol("kConsume"),JA=Symbol("kReading"),Do=Symbol("kBody"),_F=Symbol("kAbort"),GF=Symbol("kContentType"),LF=Symbol("kContentLength"),eie=()=>{},Db=class extends jne{constructor({resume:e,abort:r,contentType:s="",contentLength:n,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[_F]=r,this[Kr]=null,this[Do]=null,this[GF]=s,this[LF]=n,this[JA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new UF),e&&this[_F](),super.destroy(e)}_destroy(e,r){this[JA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[JA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[JA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Kr]&&e!==null?(Lb(this[Kr],e),this[JA]?super.push(e):!0):super.push(e)}async text(){return WA(this,"text")}async json(){return WA(this,"json")}async blob(){return WA(this,"blob")}async bytes(){return WA(this,"bytes")}async arrayBuffer(){return WA(this,"arrayBuffer")}async formData(){throw new Kne}get bodyUsed(){return qF.isDisturbed(this)}get body(){return this[Do]||(this[Do]=Zne(this),this[Kr]&&(this[Do].getReader(),FF(this[Do].locked))),this[Do]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,s=e?.signal;if(s!=null&&(typeof s!="object"||!("aborted"in s)))throw new Xne("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[LF]>r&&this.destroy(new kb);let o=()=>{this.destroy(s.reason??new kb)};s?.addEventListener("abort",o),this.on("close",function(){s?.removeEventListener("abort",o),s?.aborted?i(s.reason??new kb):n(null)}).on("error",eie).on("data",function(a){r-=a.length,r<=0&&this.destroy()}).resume()})}};function tie(t){return t[Do]&&t[Do].locked===!0||t[Kr]}function rie(t){return qF.isDisturbed(t)||tie(t)}async function WA(t,e){return FF(!t[Kr]),new Promise((r,s)=>{if(rie(t)){let n=t._readableState;n.destroyed&&n.closeEmitted===!1?t.on("error",i=>{s(i)}).on("close",()=>{s(new TypeError("unusable"))}):s(n.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Kr]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){Mb(this[Kr],n)}).on("close",function(){this[Kr].body!==null&&Mb(this[Kr],new UF)}),sie(t[Kr])})})}function sie(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,s=e.buffer.length;for(let n=r;n<s;n++)Lb(t,e.buffer[n])}else for(let r of e.buffer)Lb(t,r);for(e.endEmitted?OF(this[Kr]):t.stream.on("end",function(){OF(this[Kr])}),t.stream.resume();t.stream.read()!=null;);}function _b(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),s=r.length,n=s>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,s)}function MF(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),s=0;for(let n=0;n<t.length;++n){let i=t[n];r.set(i,s),s+=i.length}return r}function OF(t){let{type:e,body:r,resolve:s,stream:n,length:i}=t;try{e==="text"?s(_b(r,i)):e==="json"?s(JSON.parse(_b(r,i))):e==="arrayBuffer"?s(MF(r,i).buffer):e==="blob"?s(new Blob(r,{type:n[GF]})):e==="bytes"&&s(MF(r,i)),Mb(t)}catch(o){n.destroy(o)}}function Lb(t,e){t.length+=e.length,t.body.push(e)}function Mb(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)}HF.exports={Readable:Db,chunksDecode:_b}});var Fb=h((EMe,JF)=>{var nie=require("node:assert"),{ResponseStatusCodeError:zF}=be(),{chunksDecode:VF}=Ob(),iie=128*1024;async function oie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){nie(e);let o=[],a=0;try{for await(let A of e)if(o.push(A),a+=A.length,a>iie){o=[],a=0;break}}catch{o=[],a=0}let c=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!a){queueMicrotask(()=>t(new zF(c,s,i)));return}let l=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{$F(r)?u=JSON.parse(VF(o,a)):YF(r)&&(u=VF(o,a))}catch{}finally{Error.stackTraceLimit=l}queueMicrotask(()=>t(new zF(c,s,i,u)))}var $F=t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n",YF=t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t";JF.exports={getResolveErrorBodyCallback:oie,isContentTypeApplicationJson:$F,isContentTypeText:YF}});var KF=h((yMe,Ub)=>{"use strict";var aie=require("node:assert"),{Readable:cie}=Ob(),{InvalidArgumentError:yl,RequestAbortedError:WF}=be(),Xr=pe(),{getResolveErrorBodyCallback:lie}=Fb(),{AsyncResource:uie}=require("node:async_hooks"),Zh=class extends uie{constructor(e,r){if(!e||typeof e!="object")throw new yl("invalid opts");let{signal:s,method:n,opaque:i,body:o,onInfo:a,responseHeaders:c,throwOnError:l,highWaterMark:u}=e;try{if(typeof r!="function")throw new yl("invalid callback");if(u&&(typeof u!="number"||u<0))throw new yl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new yl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new yl("invalid method");if(a&&typeof a!="function")throw new yl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(A){throw Xr.isStream(o)&&Xr.destroy(o.on("error",Xr.nop),A),A}this.method=n,this.responseHeaders=c||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.throwOnError=l,this.highWaterMark=u,this.signal=s,this.reason=null,this.removeAbortListener=null,Xr.isStream(o)&&o.on("error",A=>{this.onError(A)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new WF:this.removeAbortListener=Xr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new WF,this.res?Xr.destroy(this.res.on("error",Xr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}aie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:o,abort:a,context:c,responseHeaders:l,highWaterMark:u}=this,A=l==="raw"?Xr.parseRawHeaders(r):Xr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}let d=l==="raw"?Xr.parseHeaders(r):A,p=d["content-type"],m=d["content-length"],f=new cie({resume:s,abort:a,contentType:p,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(lie,null,{callback:i,body:f,contentType:p,statusCode:e,statusMessage:n,headers:A}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:A,trailers:this.trailers,opaque:o,body:f,context:c}))}onData(e){return this.res.push(e)}onComplete(e){Xr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:s,body:n,opaque:i}=this;s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Xr.destroy(r,e)})),n&&(this.body=null,Xr.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function jF(t,e){if(e===void 0)return new Promise((r,s)=>{jF.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new Zh(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}Ub.exports=jF;Ub.exports.RequestHandler=Zh});var jA=h((CMe,eU)=>{var{addAbortListener:Aie}=pe(),{RequestAbortedError:die}=be(),Cl=Symbol("kListener"),Un=Symbol("kSignal");function XF(t){t.abort?t.abort(t[Un]?.reason):t.reason=t[Un]?.reason??new die,ZF(t)}function pie(t,e){if(t.reason=null,t[Un]=null,t[Cl]=null,!!e){if(e.aborted){XF(t);return}t[Un]=e,t[Cl]=()=>{XF(t)},Aie(t[Un],t[Cl])}}function ZF(t){t[Un]&&("removeEventListener"in t[Un]?t[Un].removeEventListener("abort",t[Cl]):t[Un].removeListener("abort",t[Cl]),t[Un]=null,t[Cl]=null)}eU.exports={addSignal:pie,removeSignal:ZF}});var nU=h((IMe,sU)=>{"use strict";var mie=require("node:assert"),{finished:hie,PassThrough:fie}=require("node:stream"),{InvalidArgumentError:Il,InvalidReturnValueError:gie}=be(),un=pe(),{getResolveErrorBodyCallback:Eie}=Fb(),{AsyncResource:yie}=require("node:async_hooks"),{addSignal:Cie,removeSignal:tU}=jA(),qb=class extends yie{constructor(e,r,s){if(!e||typeof e!="object")throw new Il("invalid opts");let{signal:n,method:i,opaque:o,body:a,onInfo:c,responseHeaders:l,throwOnError:u}=e;try{if(typeof s!="function")throw new Il("invalid callback");if(typeof r!="function")throw new Il("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Il("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Il("invalid method");if(c&&typeof c!="function")throw new Il("invalid onInfo callback");super("UNDICI_STREAM")}catch(A){throw un.isStream(a)&&un.destroy(a.on("error",un.nop),A),A}this.responseHeaders=l||null,this.opaque=o||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=a,this.onInfo=c||null,this.throwOnError=u||!1,un.isStream(a)&&a.on("error",A=>{this.onError(A)}),Cie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}mie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:o,context:a,callback:c,responseHeaders:l}=this,u=l==="raw"?un.parseRawHeaders(r):un.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let A;if(this.throwOnError&&e>=400){let m=(l==="raw"?un.parseHeaders(r):u)["content-type"];A=new fie,this.callback=null,this.runInAsyncScope(Eie,null,{callback:c,body:A,contentType:m,statusCode:e,statusMessage:n,headers:u})}else{if(i===null)return;if(A=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:o,context:a}),!A||typeof A.write!="function"||typeof A.end!="function"||typeof A.on!="function")throw new gie("expected Writable");hie(A,{readable:!1},p=>{let{callback:m,res:f,opaque:y,trailers:g,abort:E}=this;this.res=null,(p||!f.readable)&&un.destroy(f,p),this.callback=null,this.runInAsyncScope(m,null,p||null,{opaque:y,trailers:g}),p&&E()})}return A.on("drain",s),this.res=A,(A.writableNeedDrain!==void 0?A.writableNeedDrain:A._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;tU(this),r&&(this.trailers=un.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;tU(this),this.factory=null,r?(this.res=null,un.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,un.destroy(i,e))}};function rU(t,e,r){if(r===void 0)return new Promise((s,n)=>{rU.call(this,t,e,(i,o)=>i?n(i):s(o))});try{this.dispatch(t,new qb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}sU.exports=rU});var cU=h((BMe,aU)=>{"use strict";var{Readable:oU,Duplex:Iie,PassThrough:Bie}=require("node:stream"),{InvalidArgumentError:KA,InvalidReturnValueError:wie,RequestAbortedError:Gb}=be(),Ns=pe(),{AsyncResource:bie}=require("node:async_hooks"),{addSignal:Qie,removeSignal:xie}=jA(),iU=require("node:assert"),Bl=Symbol("resume"),Hb=class extends oU{constructor(){super({autoDestroy:!0}),this[Bl]=null}_read(){let{[Bl]:e}=this;e&&(this[Bl]=null,e())}_destroy(e,r){this._read(),r(e)}},zb=class extends oU{constructor(e){super({autoDestroy:!0}),this[Bl]=e}_read(){this[Bl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Gb),r(e)}},Vb=class extends bie{constructor(e,r){if(!e||typeof e!="object")throw new KA("invalid opts");if(typeof r!="function")throw new KA("invalid handler");let{signal:s,method:n,opaque:i,onInfo:o,responseHeaders:a}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new KA("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new KA("invalid method");if(o&&typeof o!="function")throw new KA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new Hb().on("error",Ns.nop),this.ret=new Iie({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:c}=this;c?.resume&&c.resume()},write:(c,l,u)=>{let{req:A}=this;A.push(c,l)||A._readableState.destroyed?u():A[Bl]=u},destroy:(c,l)=>{let{body:u,req:A,res:d,ret:p,abort:m}=this;!c&&!p._readableState.endEmitted&&(c=new Gb),m&&c&&m(),Ns.destroy(u,c),Ns.destroy(A,c),Ns.destroy(d,c),xie(this),l(c)}}).on("prefinish",()=>{let{req:c}=this;c.push(null)}),this.res=null,Qie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}iU(!n,"pipeline cannot be retried"),iU(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:o}=this;if(e<200){if(this.onInfo){let c=this.responseHeaders==="raw"?Ns.parseRawHeaders(r):Ns.parseHeaders(r);this.onInfo({statusCode:e,headers:c})}return}this.res=new zb(s);let a;try{this.handler=null;let c=this.responseHeaders==="raw"?Ns.parseRawHeaders(r):Ns.parseHeaders(r);a=this.runInAsyncScope(i,null,{statusCode:e,headers:c,opaque:n,body:this.res,context:o})}catch(c){throw this.res.on("error",Ns.nop),c}if(!a||typeof a.on!="function")throw new wie("expected Readable");a.on("data",c=>{let{ret:l,body:u}=this;!l.push(c)&&u.pause&&u.pause()}).on("error",c=>{let{ret:l}=this;Ns.destroy(l,c)}).on("end",()=>{let{ret:c}=this;c.push(null)}).on("close",()=>{let{ret:c}=this;c._readableState.ended||Ns.destroy(c,new Gb)}),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,Ns.destroy(r,e)}};function Nie(t,e){try{let r=new Vb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Bie().destroy(r)}}aU.exports=Nie});var mU=h((wMe,pU)=>{"use strict";var{InvalidArgumentError:$b,SocketError:Sie}=be(),{AsyncResource:Rie}=require("node:async_hooks"),lU=pe(),{addSignal:Tie,removeSignal:uU}=jA(),AU=require("node:assert"),Yb=class extends Rie{constructor(e,r){if(!e||typeof e!="object")throw new $b("invalid opts");if(typeof r!="function")throw new $b("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new $b("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=n||null,this.callback=r,this.abort=null,this.context=null,Tie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}AU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Sie("bad upgrade",null)}onUpgrade(e,r,s){AU(e===101);let{callback:n,opaque:i,context:o}=this;uU(this),this.callback=null;let a=this.responseHeaders==="raw"?lU.parseRawHeaders(r):lU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:a,socket:s,opaque:i,context:o})}onError(e){let{callback:r,opaque:s}=this;uU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function dU(t,e){if(e===void 0)return new Promise((r,s)=>{dU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Yb(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}pU.exports=dU});var yU=h((bMe,EU)=>{"use strict";var vie=require("node:assert"),{AsyncResource:Pie}=require("node:async_hooks"),{InvalidArgumentError:Jb,SocketError:kie}=be(),hU=pe(),{addSignal:Die,removeSignal:fU}=jA(),Wb=class extends Pie{constructor(e,r){if(!e||typeof e!="object")throw new Jb("invalid opts");if(typeof r!="function")throw new Jb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Jb("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Die(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}vie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new kie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:o}=this;fU(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?hU.parseRawHeaders(r):hU.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:a,socket:s,opaque:i,context:o})}onError(e){let{callback:r,opaque:s}=this;fU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function gU(t,e){if(e===void 0)return new Promise((r,s)=>{gU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Wb(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}EU.exports=gU});var CU=h((QMe,wl)=>{"use strict";wl.exports.request=KF();wl.exports.stream=nU();wl.exports.pipeline=cU();wl.exports.upgrade=mU();wl.exports.connect=yU()});var Kb=h((xMe,BU)=>{"use strict";var{UndiciError:_ie}=be(),IU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),jb=class t extends _ie{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[IU]===!0}[IU]=!0};BU.exports={MockNotMatchedError:jb}});var bl=h((NMe,wU)=>{"use strict";wU.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 XA=h((SMe,DU)=>{"use strict";var{MockNotMatchedError:Da}=Kb(),{kDispatches:ef,kMockAgent:Lie,kOriginalDispatch:Mie,kOrigin:Oie,kGetNetConnect:Fie}=bl(),{buildURL:Uie}=pe(),{STATUS_CODES:qie}=require("node:http"),{types:{isPromise:Gie}}=require("node:util");function Hi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function QU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}function xU(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):QU(t)[e.toLocaleLowerCase()]}function eQ(t){let e=t.slice(),r=[];for(let s=0;s<e.length;s+=2)r.push([e[s],e[s+1]]);return Object.fromEntries(r)}function NU(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=eQ(e)),t.headers(e?QU(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,s]of Object.entries(t.headers)){let n=xU(e,r);if(!Hi(s,n))return!1}return!0}function bU(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 Hie(t,{path:e,method:r,body:s,headers:n}){let i=Hi(t.path,e),o=Hi(t.method,r),a=typeof t.body<"u"?Hi(t.body,s):!0,c=NU(t,n);return i&&o&&a&&c}function SU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}function RU(t,e){let r=e.query?Uie(e.path,e.query):e.path,s=typeof r=="string"?bU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Hi(bU(i),s));if(n.length===0)throw new Da(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Hi(i,e.method)),n.length===0)throw new Da(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Hi(i,e.body):!0),n.length===0)throw new Da(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>NU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Da(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}function zie(t,e,r){let s={timesInvoked:0,times:1,persist:!1,consumed:!1},n=typeof r=="function"?{callback:r}:{...r},i={...s,...e,pending:!0,data:{error:null,...n}};return t.push(i),i}function Xb(t,e){let r=t.findIndex(s=>s.consumed?Hie(s,e):!1);r!==-1&&t.splice(r,1)}function TU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}function Zb(t){let e=Object.keys(t),r=[];for(let s=0;s<e.length;++s){let n=e[s],i=t[n],o=Buffer.from(`${n}`);if(Array.isArray(i))for(let a=0;a<i.length;++a)r.push(o,Buffer.from(`${i[a]}`));else r.push(o,Buffer.from(`${i}`))}return r}function vU(t){return qie[t]||"unknown"}async function Vie(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}function PU(t,e){let r=TU(t),s=RU(this[ef],r);s.timesInvoked++,s.data.callback&&(s.data={...s.data,...s.data.callback(t)});let{data:{statusCode:n,data:i,headers:o,trailers:a,error:c},delay:l,persist:u}=s,{timesInvoked:A,times:d}=s;if(s.consumed=!u&&A>=d,s.pending=A<d,c!==null)return Xb(this[ef],r),e.onError(c),!0;typeof l=="number"&&l>0?setTimeout(()=>{p(this[ef])},l):p(this[ef]);function p(f,y=i){let g=Array.isArray(t.headers)?eQ(t.headers):t.headers,E=typeof y=="function"?y({...t,headers:g}):y;if(Gie(E)){E.then(k=>p(f,k));return}let C=SU(E),I=Zb(o),x=Zb(a);e.onConnect?.(k=>e.onError(k),null),e.onHeaders?.(n,I,m,vU(n)),e.onData?.(Buffer.from(C)),e.onComplete?.(x),Xb(f,r)}function m(){}return!0}function $ie(){let t=this[Lie],e=this[Oie],r=this[Mie];return function(n,i){if(t.isMockActive)try{PU.call(this,n,i)}catch(o){if(o instanceof Da){let a=t[Fie]();if(a===!1)throw new Da(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(kU(a,e))r.call(this,n,i);else throw new Da(`${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,n,i)}}function kU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Hi(s,r.host)))}function Yie(t){if(t){let{agent:e,...r}=t;return r}}DU.exports={getResponseData:SU,getMockDispatch:RU,addMockDispatch:zie,deleteMockDispatch:Xb,buildKey:TU,generateKeyValues:Zb,matchValue:Hi,getResponse:Vie,getStatusText:vU,mockDispatch:PU,buildMockDispatch:$ie,checkNetConnect:kU,buildMockOptions:Yie,getHeaderByName:xU,buildHeadersFromArray:eQ}});var aQ=h((RMe,oQ)=>{"use strict";var{getResponseData:Jie,buildKey:Wie,addMockDispatch:tQ}=XA(),{kDispatches:tf,kDispatchKey:rf,kDefaultHeaders:rQ,kDefaultTrailers:sQ,kContentLength:nQ,kMockDispatch:sf}=bl(),{InvalidArgumentError:qn}=be(),{buildURL:jie}=pe(),Ql=class{constructor(e){this[sf]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new qn("waitInMs must be a valid integer > 0");return this[sf].delay=e,this}persist(){return this[sf].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new qn("repeatTimes must be a valid integer > 0");return this[sf].times=e,this}},iQ=class{constructor(e,r){if(typeof e!="object")throw new qn("opts must be an object");if(typeof e.path>"u")throw new qn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=jie(e.path,e.query);else{let s=new URL(e.path,"data://");e.path=s.pathname+s.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[rf]=Wie(e),this[tf]=r,this[rQ]={},this[sQ]={},this[nQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Jie(r),i=this[nQ]?{"content-length":n.length}:{},o={...this[rQ],...i,...s.headers},a={...this[sQ],...s.trailers};return{statusCode:e,data:r,headers:o,trailers:a}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new qn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new qn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=a=>{let c=e(a);if(typeof c!="object"||c===null)throw new qn("reply options callback must return an object");let l={data:"",responseOptions:{},...c};return this.validateReplyParameters(l),{...this.createMockScopeDispatchData(l)}},o=tQ(this[tf],this[rf],i);return new Ql(o)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let s=this.createMockScopeDispatchData(r),n=tQ(this[tf],this[rf],s);return new Ql(n)}replyWithError(e){if(typeof e>"u")throw new qn("error must be defined");let r=tQ(this[tf],this[rf],{error:e});return new Ql(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new qn("headers must be defined");return this[rQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new qn("trailers must be defined");return this[sQ]=e,this}replyContentLength(){return this[nQ]=!0,this}};oQ.exports.MockInterceptor=iQ;oQ.exports.MockScope=Ql});var uQ=h((TMe,qU)=>{"use strict";var{promisify:Kie}=require("node:util"),Xie=ml(),{buildMockDispatch:Zie}=XA(),{kDispatches:_U,kMockAgent:LU,kClose:MU,kOriginalClose:OU,kOrigin:FU,kOriginalDispatch:eoe,kConnected:cQ}=bl(),{MockInterceptor:toe}=aQ(),UU=ze(),{InvalidArgumentError:roe}=be(),lQ=class extends Xie{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new roe("Argument opts.agent must implement Agent");this[LU]=r.agent,this[FU]=e,this[_U]=[],this[cQ]=1,this[eoe]=this.dispatch,this[OU]=this.close.bind(this),this.dispatch=Zie.call(this),this.close=this[MU]}get[UU.kConnected](){return this[cQ]}intercept(e){return new toe(e,this[_U])}async[MU](){await Kie(this[OU])(),this[cQ]=0,this[LU][UU.kClients].delete(this[FU])}};qU.exports=lQ});var pQ=h((vMe,JU)=>{"use strict";var{promisify:soe}=require("node:util"),noe=hl(),{buildMockDispatch:ioe}=XA(),{kDispatches:GU,kMockAgent:HU,kClose:zU,kOriginalClose:VU,kOrigin:$U,kOriginalDispatch:ooe,kConnected:AQ}=bl(),{MockInterceptor:aoe}=aQ(),YU=ze(),{InvalidArgumentError:coe}=be(),dQ=class extends noe{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new coe("Argument opts.agent must implement Agent");this[HU]=r.agent,this[$U]=e,this[GU]=[],this[AQ]=1,this[ooe]=this.dispatch,this[VU]=this.close.bind(this),this.dispatch=ioe.call(this),this.close=this[zU]}get[YU.kConnected](){return this[AQ]}intercept(e){return new aoe(e,this[GU])}async[zU](){await soe(this[VU])(),this[AQ]=0,this[HU][YU.kClients].delete(this[$U])}};JU.exports=dQ});var jU=h((kMe,WU)=>{"use strict";var loe={pronoun:"it",is:"is",was:"was",this:"this"},uoe={pronoun:"they",is:"are",was:"were",this:"these"};WU.exports=class{constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?loe:uoe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var XU=h((_Me,KU)=>{"use strict";var{Transform:Aoe}=require("node:stream"),{Console:doe}=require("node:console"),poe=process.versions.icu?"\u2705":"Y ",moe=process.versions.icu?"\u274C":"N ";KU.exports=class{constructor({disableColors:e}={}){this.transform=new Aoe({transform(r,s,n){n(null,r)}}),this.logger=new doe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:o,times:a,timesInvoked:c,origin:l})=>({Method:s,Origin:l,Path:n,"Status code":i,Persistent:o?poe:moe,Invocations:c,Remaining:o?1/0:a-c}));return this.logger.table(r),this.transform.read().toString()}}});var r2=h((LMe,t2)=>{"use strict";var{kClients:_a}=ze(),hoe=fl(),{kAgent:mQ,kMockAgentSet:nf,kMockAgentGet:ZU,kDispatches:hQ,kIsMockActive:of,kNetConnect:La,kGetNetConnect:foe,kOptions:af,kFactory:cf}=bl(),goe=uQ(),Eoe=pQ(),{matchValue:yoe,buildMockOptions:Coe}=XA(),{InvalidArgumentError:e2,UndiciError:Ioe}=be(),Boe=IA(),woe=jU(),boe=XU(),fQ=class extends Boe{constructor(e){if(super(e),this[La]=!0,this[of]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new e2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new hoe(e);this[mQ]=r,this[_a]=r[_a],this[af]=Coe(e)}get(e){let r=this[ZU](e);return r||(r=this[cf](e),this[nf](e,r)),r}dispatch(e,r){return this.get(e.origin),this[mQ].dispatch(e,r)}async close(){await this[mQ].close(),this[_a].clear()}deactivate(){this[of]=!1}activate(){this[of]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[La])?this[La].push(e):this[La]=[e];else if(typeof e>"u")this[La]=!0;else throw new e2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[La]=!1}get isMockActive(){return this[of]}[nf](e,r){this[_a].set(e,r)}[cf](e){let r=Object.assign({agent:this},this[af]);return this[af]&&this[af].connections===1?new goe(e,r):new Eoe(e,r)}[ZU](e){let r=this[_a].get(e);if(r)return r;if(typeof e!="string"){let s=this[cf]("http://localhost:9999");return this[nf](e,s),s}for(let[s,n]of Array.from(this[_a]))if(n&&typeof s!="string"&&yoe(s,e)){let i=this[cf](e);return this[nf](e,i),i[hQ]=n[hQ],i}}[foe](){return this[La]}pendingInterceptors(){let e=this[_a];return Array.from(e.entries()).flatMap(([r,s])=>s[hQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new boe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new woe("interceptor","interceptors").pluralize(r.length);throw new Ioe(`
${s.count} ${s.noun} ${s.is} pending:
${e.format(r)}
`.trim())}};t2.exports=fQ});var lf=h((MMe,o2)=>{"use strict";var s2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Qoe}=be(),xoe=fl();i2()===void 0&&n2(new xoe);function n2(t){if(!t||typeof t.dispatch!="function")throw new Qoe("Argument agent must implement Agent");Object.defineProperty(globalThis,s2,{value:t,writable:!0,enumerable:!1,configurable:!1})}function i2(){return globalThis[s2]}o2.exports={setGlobalDispatcher:n2,getGlobalDispatcher:i2}});var uf=h((FMe,a2)=>{"use strict";a2.exports=class{#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var l2=h((UMe,c2)=>{"use strict";var Noe=qh();c2.exports=t=>{let e=t?.maxRedirections;return r=>function(n,i){let{maxRedirections:o=e,...a}=n;if(!o)return r(n,i);let c=new Noe(r,o,n,i);return r(a,c)}}});var A2=h((qMe,u2)=>{"use strict";var Soe=Xh();u2.exports=t=>e=>function(s,n){return e(s,new Soe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))}});var p2=h((GMe,d2)=>{"use strict";var Roe=pe(),{InvalidArgumentError:Toe,RequestAbortedError:voe}=be(),Poe=uf(),gQ=class extends Poe{#e=1024*1024;#t=null;#r=!1;#i=!1;#n=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Toe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#i=!0,this.#s=e}onHeaders(e,r,s,n){let o=Roe.parseHeaders(r)["content-length"];if(o!=null&&o>this.#e)throw new voe(`Response size (${o}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#r||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function koe({maxSize:t}={maxSize:1024*1024}){return e=>function(s,n){let{dumpMaxSize:i=t}=s,o=new gQ({maxSize:i},n);return e(s,o)}}d2.exports=koe});var f2=h((HMe,h2)=>{"use strict";var{isIP:Doe}=require("node:net"),{lookup:_oe}=require("node:dns"),Loe=uf(),{InvalidArgumentError:xl,InformationalError:Moe}=be(),m2=Math.pow(2,31)-1,EQ=class{#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#i,this.pick=e.pick??this.#n}get full(){return this.#r.size===this.#t}runLookup(e,r,s){let n=this.#r.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(o,a)=>{if(o||a==null||a.length===0){s(o??new Moe("No DNS entries found"));return}this.setRecords(e,a);let c=this.#r.get(e.hostname),l=this.pick(e,c,i.affinity),u;typeof l.port=="number"?u=`:${l.port}`:e.port!==""?u=`:${e.port}`:u="",s(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${u}`)});else{let o=this.pick(e,n,i.affinity);if(o==null){this.#r.delete(e.hostname),this.runLookup(e,r,s);return}let a;typeof o.port=="number"?a=`:${o.port}`:e.port!==""?a=`:${e.port}`:a="",s(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)}}#i(e,r,s){_oe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let o=new Map;for(let a of i)o.set(`${a.address}:${a.family}`,a);s(null,o.values())})}#n(e,r,s){let n=null,{records:i,offset:o}=r,a;if(this.dualStack?(s==null&&(o==null||o===m2?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?a=i[s]:a=i[s===4?6:4]):a=i[s],a==null||a.ips.length===0)return n;a.offset==null||a.offset===m2?a.offset=0:a.offset++;let c=a.offset%a.ips.length;return n=a.ips[c]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(a.ips.splice(c,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let o=n.records[i.family]??{ips:[]};o.ips.push(i),n.records[i.family]=o}this.#r.set(e.hostname,n)}getHandler(e,r){return new yQ(this,e,r)}},yQ=class extends Loe{#e=null;#t=null;#r=null;#i=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#i=s,this.#t={...i},this.#e=e,this.#r=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#n,this.#t,(r,s)=>{if(r)return this.#i.onError(r);let n={...this.#t,origin:s};this.#r(n,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#i.onError(e);break}}};h2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new xl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new xl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new xl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new xl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new xl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new xl("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let s={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},n=new EQ(s);return i=>function(a,c){let l=a.origin.constructor===URL?a.origin:new URL(a.origin);return Doe(l.hostname)!==0?i(a,c):(n.runLookup(l,a,(u,A)=>{if(u)return c.onError(u);let d=null;d={...a,servername:l.hostname,origin:A,headers:{host:l.hostname,...a.headers}},i(d,n.getHandler({origin:l,dispatch:i,handler:c},a))}),!0)}}});var Ma=h((zMe,w2)=>{"use strict";var{kConstruct:Ooe}=ze(),{kEnumerableProperty:Nl}=pe(),{iteratorMixin:Foe,isValidHeaderName:ZA,isValidHeaderValue:E2}=Wr(),{webidl:ye}=Yt(),CQ=require("node:assert"),Af=require("node:util"),xt=Symbol("headers map"),Zr=Symbol("headers map sorted");function g2(t){return t===10||t===13||t===9||t===32}function y2(t){let e=0,r=t.length;for(;r>e&&g2(t.charCodeAt(r-1));)--r;for(;r>e&&g2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}function C2(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let s=e[r];if(s.length!==2)throw ye.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${s.length}.`});IQ(t,s[0],s[1])}else if(typeof e=="object"&&e!==null){let r=Object.keys(e);for(let s=0;s<r.length;++s)IQ(t,r[s],e[r[s]])}else throw ye.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function IQ(t,e,r){if(r=y2(r),ZA(e)){if(!E2(r))throw ye.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ye.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(B2(t)==="immutable")throw new TypeError("immutable");return BQ(t).append(e,r,!1)}function I2(t,e){return t[0]<e[0]?-1:1}var df=class t{cookies=null;constructor(e){e instanceof t?(this[xt]=new Map(e[xt]),this[Zr]=e[Zr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[xt]=new Map(e),this[Zr]=null)}contains(e,r){return this[xt].has(r?e:e.toLowerCase())}clear(){this[xt].clear(),this[Zr]=null,this.cookies=null}append(e,r,s){this[Zr]=null;let n=s?e:e.toLowerCase(),i=this[xt].get(n);if(i){let o=n==="cookie"?"; ":", ";this[xt].set(n,{name:i.name,value:`${i.value}${o}${r}`})}else this[xt].set(n,{name:e,value:r});n==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,s){this[Zr]=null;let n=s?e:e.toLowerCase();n==="set-cookie"&&(this.cookies=[r]),this[xt].set(n,{name:e,value:r})}delete(e,r){this[Zr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[xt].delete(e)}get(e,r){return this[xt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[xt])yield[e,r]}get entries(){let e={};if(this[xt].size!==0)for(let{name:r,value:s}of this[xt].values())e[r]=s;return e}rawValues(){return this[xt].values()}get entriesList(){let e=[];if(this[xt].size!==0)for(let{0:r,1:{name:s,value:n}}of this[xt])if(r==="set-cookie")for(let i of this.cookies)e.push([s,i]);else e.push([s,n]);return e}toSortedArray(){let e=this[xt].size,r=new Array(e);if(e<=32){if(e===0)return r;let s=this[xt][Symbol.iterator](),n=s.next().value;r[0]=[n[0],n[1].value],CQ(n[1].value!==null);for(let i=1,o=0,a=0,c=0,l=0,u,A;i<e;++i){for(A=s.next().value,u=r[i]=[A[0],A[1].value],CQ(u[1]!==null),c=0,a=i;c<a;)l=c+(a-c>>1),r[l][0]<=u[0]?c=l+1:a=l;if(i!==l){for(o=i;o>c;)r[o]=r[--o];r[c]=u}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[xt])r[s++]=[n,i],CQ(i!==null);return r.sort(I2)}}},An=class t{#e;#t;constructor(e=void 0){ye.util.markAsUncloneable(this),e!==Ooe&&(this.#t=new df,this.#e="none",e!==void 0&&(e=ye.converters.HeadersInit(e,"Headers contructor","init"),C2(this,e)))}append(e,r){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=ye.converters.ByteString(e,s,"name"),r=ye.converters.ByteString(r,s,"value"),IQ(this,e,r)}delete(e){if(ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.delete"),e=ye.converters.ByteString(e,"Headers.delete","name"),!ZA(e))throw ye.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=ye.converters.ByteString(e,r,"name"),!ZA(e))throw ye.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=ye.converters.ByteString(e,r,"name"),!ZA(e))throw ye.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=ye.converters.ByteString(e,s,"name"),r=ye.converters.ByteString(r,s,"value"),r=y2(r),ZA(e)){if(!E2(r))throw ye.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw ye.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){ye.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Zr](){if(this.#t[Zr])return this.#t[Zr];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[Zr]=r;for(let n=0;n<r.length;++n){let{0:i,1:o}=r[n];if(i==="set-cookie")for(let a=0;a<s.length;++a)e.push([i,s[a]]);else e.push([i,o])}return this.#t[Zr]=e}[Af.inspect.custom](e,r){return r.depth??=e,`Headers ${Af.formatWithOptions(r,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,r){e.#e=r}static getHeadersList(e){return e.#t}static setHeadersList(e,r){e.#t=r}},{getHeadersGuard:B2,setHeadersGuard:Uoe,getHeadersList:BQ,setHeadersList:qoe}=An;Reflect.deleteProperty(An,"getHeadersGuard");Reflect.deleteProperty(An,"setHeadersGuard");Reflect.deleteProperty(An,"getHeadersList");Reflect.deleteProperty(An,"setHeadersList");Foe("Headers",An,Zr,0,1);Object.defineProperties(An.prototype,{append:Nl,delete:Nl,get:Nl,has:Nl,set:Nl,getSetCookie:Nl,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Af.inspect.custom]:{enumerable:!1}});ye.converters.HeadersInit=function(t,e,r){if(ye.util.Type(t)==="Object"){let s=Reflect.get(t,Symbol.iterator);if(!Af.types.isProxy(t)&&s===An.prototype.entries)try{return BQ(t).entriesList}catch{}return typeof s=="function"?ye.converters["sequence<sequence<ByteString>>"](t,e,r,s.bind(t)):ye.converters["record<ByteString, ByteString>"](t,e,r)}throw ye.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};w2.exports={fill:C2,compareHeaderName:I2,Headers:An,HeadersList:df,getHeadersGuard:B2,setHeadersGuard:Uoe,setHeadersList:qoe,getHeadersList:BQ}});var td=h((VMe,_2)=>{"use strict";var{Headers:R2,HeadersList:b2,fill:Goe,getHeadersGuard:Hoe,setHeadersGuard:T2,setHeadersList:v2}=Ma(),{extractBody:Q2,cloneBody:zoe,mixinBody:Voe,hasFinalizationRegistry:P2,streamRegistry:k2,bodyUnusable:$oe}=al(),wQ=pe(),x2=require("node:util"),{kEnumerableProperty:es}=wQ,{isValidReasonPhrase:Yoe,isCancelled:Joe,isAborted:Woe,isBlobLike:joe,serializeJavascriptValueToJSONString:Koe,isErrorLike:Xoe,isomorphicEncode:Zoe,environmentSettingsObject:eae}=Wr(),{redirectStatusSet:tae,nullBodyStatus:rae}=bA(),{kState:$e,kHeaders:zi}=bo(),{webidl:le}=Yt(),{FormData:sae}=TA(),{URLSerializer:N2}=Rr(),{kConstruct:mf}=ze(),bQ=require("node:assert"),{types:nae}=require("node:util"),iae=new TextEncoder("utf-8"),Oa=class t{static error(){return ed(hf(),"immutable")}static json(e,r={}){le.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=le.converters.ResponseInit(r));let s=iae.encode(Koe(e)),n=Q2(s),i=ed(Sl({}),"response");return S2(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){le.argumentLengthCheck(arguments,1,"Response.redirect"),e=le.converters.USVString(e),r=le.converters["unsigned short"](r);let s;try{s=new URL(e,eae.settingsObject.baseUrl)}catch(o){throw new TypeError(`Failed to parse URL from ${e}`,{cause:o})}if(!tae.has(r))throw new RangeError(`Invalid status code ${r}`);let n=ed(Sl({}),"immutable");n[$e].status=r;let i=Zoe(N2(s));return n[$e].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(le.util.markAsUncloneable(this),e===mf)return;e!==null&&(e=le.converters.BodyInit(e)),r=le.converters.ResponseInit(r),this[$e]=Sl({}),this[zi]=new R2(mf),T2(this[zi],"response"),v2(this[zi],this[$e].headersList);let s=null;if(e!=null){let[n,i]=Q2(e);s={body:n,type:i}}S2(this,r,s)}get type(){return le.brandCheck(this,t),this[$e].type}get url(){le.brandCheck(this,t);let e=this[$e].urlList,r=e[e.length-1]??null;return r===null?"":N2(r,!0)}get redirected(){return le.brandCheck(this,t),this[$e].urlList.length>1}get status(){return le.brandCheck(this,t),this[$e].status}get ok(){return le.brandCheck(this,t),this[$e].status>=200&&this[$e].status<=299}get statusText(){return le.brandCheck(this,t),this[$e].statusText}get headers(){return le.brandCheck(this,t),this[zi]}get body(){return le.brandCheck(this,t),this[$e].body?this[$e].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[$e].body&&wQ.isDisturbed(this[$e].body.stream)}clone(){if(le.brandCheck(this,t),$oe(this))throw le.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=QQ(this[$e]);return P2&&this[$e].body?.stream&&k2.register(this,new WeakRef(this[$e].body.stream)),ed(e,Hoe(this[zi]))}[x2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${x2.formatWithOptions(r,s)}`}};Voe(Oa);Object.defineProperties(Oa.prototype,{type:es,url:es,status:es,ok:es,redirected:es,statusText:es,headers:es,clone:es,body:es,bodyUsed:es,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Oa,{json:es,redirect:es,error:es});function QQ(t){if(t.internalResponse)return D2(QQ(t.internalResponse),t.type);let e=Sl({...t,body:null});return t.body!=null&&(e.body=zoe(e,t.body)),e}function Sl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new b2(t?.headersList):new b2,urlList:t?.urlList?[...t.urlList]:[]}}function hf(t){let e=Xoe(t);return Sl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function oae(t){return t.type==="error"&&t.status===0}function pf(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return bQ(!(s in e)),r[s]=n,!0}})}function D2(t,e){if(e==="basic")return pf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return pf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return pf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return pf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});bQ(!1)}function aae(t,e=null){return bQ(Joe(t)),Woe(t)?hf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):hf(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}function S2(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&&!Yoe(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[$e].status=e.status),"statusText"in e&&e.statusText!=null&&(t[$e].statusText=e.statusText),"headers"in e&&e.headers!=null&&Goe(t[zi],e.headers),r){if(rae.includes(t.status))throw le.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[$e].body=r.body,r.type!=null&&!t[$e].headersList.contains("content-type",!0)&&t[$e].headersList.append("content-type",r.type,!0)}}function ed(t,e){let r=new Oa(mf);return r[$e]=t,r[zi]=new R2(mf),v2(r[zi],t.headersList),T2(r[zi],e),P2&&t.body?.stream&&k2.register(r,new WeakRef(t.body.stream)),r}le.converters.ReadableStream=le.interfaceConverter(ReadableStream);le.converters.FormData=le.interfaceConverter(sae);le.converters.URLSearchParams=le.interfaceConverter(URLSearchParams);le.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):joe(t)?le.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||nae.isArrayBuffer(t)?le.converters.BufferSource(t,e,r):wQ.isFormDataLike(t)?le.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?le.converters.URLSearchParams(t,e,r):le.converters.DOMString(t,e,r)};le.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?le.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:le.converters.XMLHttpRequestBodyInit(t,e,r)};le.converters.ResponseInit=le.dictionaryConverter([{key:"status",converter:le.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:le.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:le.converters.HeadersInit}]);_2.exports={isNetworkError:oae,makeNetworkError:hf,makeResponse:Sl,makeAppropriateNetworkError:aae,filterResponse:D2,Response:Oa,cloneResponse:QQ,fromInnerResponse:ed}});var F2=h(($Me,O2)=>{"use strict";var{kConnected:L2,kSize:M2}=ze(),xQ=class{constructor(e){this.value=e}deref(){return this.value[L2]===0&&this.value[M2]===0?void 0:this.value}},NQ=class{constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[L2]===0&&e[M2]===0&&this.finalizer(r)})}unregister(e){}};O2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:xQ,FinalizationRegistry:NQ}):{WeakRef,FinalizationRegistry}}});var Rl=h((YMe,e1)=>{"use strict";var{extractBody:cae,mixinBody:lae,cloneBody:uae,bodyUnusable:U2}=al(),{Headers:W2,fill:Aae,HeadersList:yf,setHeadersGuard:RQ,getHeadersGuard:dae,setHeadersList:j2,getHeadersList:q2}=Ma(),{FinalizationRegistry:pae}=F2()(),gf=pe(),G2=require("node:util"),{isValidHTTPToken:mae,sameOrigin:H2,environmentSettingsObject:ff}=Wr(),{forbiddenMethodsSet:hae,corsSafeListedMethodsSet:fae,referrerPolicy:gae,requestRedirect:Eae,requestMode:yae,requestCredentials:Cae,requestCache:Iae,requestDuplex:Bae}=bA(),{kEnumerableProperty:Nt,normalizedMethodRecordsBase:wae,normalizedMethodRecords:bae}=gf,{kHeaders:ts,kSignal:Ef,kState:Fe,kDispatcher:SQ}=bo(),{webidl:Z}=Yt(),{URLSerializer:Qae}=Rr(),{kConstruct:Cf}=ze(),xae=require("node:assert"),{getMaxListeners:z2,setMaxListeners:V2,getEventListeners:Nae,defaultMaxListeners:$2}=require("node:events"),Sae=Symbol("abortController"),K2=new pae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),If=new WeakMap;function Y2(t){return e;function e(){let r=t.deref();if(r!==void 0){K2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=If.get(r.signal);if(s!==void 0){if(s.size!==0){for(let n of s){let i=n.deref();i!==void 0&&i.abort(this.reason)}s.clear()}If.delete(r.signal)}}}}var J2=!1,_o=class t{constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===Cf)return;let s="Request constructor";Z.argumentLengthCheck(arguments,1,s),e=Z.converters.RequestInfo(e,s,"input"),r=Z.converters.RequestInit(r,s,"init");let n=null,i=null,o=ff.settingsObject.baseUrl,a=null;if(typeof e=="string"){this[SQ]=r.dispatcher;let g;try{g=new URL(e,o)}catch(E){throw new TypeError("Failed to parse URL from "+e,{cause:E})}if(g.username||g.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=Bf({urlList:[g]}),i="cors"}else this[SQ]=r.dispatcher||e[SQ],xae(e instanceof t),n=e[Fe],a=e[Ef];let c=ff.settingsObject.origin,l="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&H2(n.window,c)&&(l=n.window),r.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in r&&(l="no-window"),n=Bf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:ff.settingsObject,window:l,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 u=Object.keys(r).length!==0;if(u&&(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 g=r.referrer;if(g==="")n.referrer="no-referrer";else{let E;try{E=new URL(g,o)}catch(C){throw new TypeError(`Referrer "${g}" is not a valid URL.`,{cause:C})}E.protocol==="about:"&&E.hostname==="client"||c&&!H2(E,ff.settingsObject.baseUrl)?n.referrer="client":n.referrer=E}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let A;if(r.mode!==void 0?A=r.mode:A=i,A==="navigate")throw Z.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(A!=null&&(n.mode=A),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 g=r.method,E=bae[g];if(E!==void 0)n.method=E;else{if(!mae(g))throw new TypeError(`'${g}' is not a valid HTTP method.`);let C=g.toUpperCase();if(hae.has(C))throw new TypeError(`'${g}' HTTP method is unsupported.`);g=wae[C]??g,n.method=g}!J2&&n.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),J2=!0)}r.signal!==void 0&&(a=r.signal),this[Fe]=n;let d=new AbortController;if(this[Ef]=d.signal,a!=null){if(!a||typeof a.aborted!="boolean"||typeof a.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(a.aborted)d.abort(a.reason);else{this[Sae]=d;let g=new WeakRef(d),E=Y2(g);try{(typeof z2=="function"&&z2(a)===$2||Nae(a,"abort").length>=$2)&&V2(1500,a)}catch{}gf.addAbortListener(a,E),K2.register(d,{signal:a,abort:E},E)}}if(this[ts]=new W2(Cf),j2(this[ts],n.headersList),RQ(this[ts],"request"),A==="no-cors"){if(!fae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);RQ(this[ts],"request-no-cors")}if(u){let g=q2(this[ts]),E=r.headers!==void 0?r.headers:new yf(g);if(g.clear(),E instanceof yf){for(let{name:C,value:I}of E.rawValues())g.append(C,I,!1);g.cookies=E.cookies}else Aae(this[ts],E)}let p=e instanceof t?e[Fe].body:null;if((r.body!=null||p!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let m=null;if(r.body!=null){let[g,E]=cae(r.body,n.keepalive);m=g,E&&!q2(this[ts]).contains("content-type",!0)&&this[ts].append("content-type",E)}let f=m??p;if(f!=null&&f.source==null){if(m!=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 y=f;if(m==null&&p!=null){if(U2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let g=new TransformStream;p.stream.pipeThrough(g),y={source:p.source,length:p.length,stream:g.readable}}this[Fe].body=y}get method(){return Z.brandCheck(this,t),this[Fe].method}get url(){return Z.brandCheck(this,t),Qae(this[Fe].url)}get headers(){return Z.brandCheck(this,t),this[ts]}get destination(){return Z.brandCheck(this,t),this[Fe].destination}get referrer(){return Z.brandCheck(this,t),this[Fe].referrer==="no-referrer"?"":this[Fe].referrer==="client"?"about:client":this[Fe].referrer.toString()}get referrerPolicy(){return Z.brandCheck(this,t),this[Fe].referrerPolicy}get mode(){return Z.brandCheck(this,t),this[Fe].mode}get credentials(){return this[Fe].credentials}get cache(){return Z.brandCheck(this,t),this[Fe].cache}get redirect(){return Z.brandCheck(this,t),this[Fe].redirect}get integrity(){return Z.brandCheck(this,t),this[Fe].integrity}get keepalive(){return Z.brandCheck(this,t),this[Fe].keepalive}get isReloadNavigation(){return Z.brandCheck(this,t),this[Fe].reloadNavigation}get isHistoryNavigation(){return Z.brandCheck(this,t),this[Fe].historyNavigation}get signal(){return Z.brandCheck(this,t),this[Ef]}get body(){return Z.brandCheck(this,t),this[Fe].body?this[Fe].body.stream:null}get bodyUsed(){return Z.brandCheck(this,t),!!this[Fe].body&&gf.isDisturbed(this[Fe].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),U2(this))throw new TypeError("unusable");let e=X2(this[Fe]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=If.get(this.signal);s===void 0&&(s=new Set,If.set(this.signal,s));let n=new WeakRef(r);s.add(n),gf.addAbortListener(r.signal,Y2(n))}return Z2(e,r.signal,dae(this[ts]))}[G2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${G2.formatWithOptions(r,s)}`}};lae(_o);function Bf(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new yf(t.headersList):new yf}}function X2(t){let e=Bf({...t,body:null});return t.body!=null&&(e.body=uae(e,t.body)),e}function Z2(t,e,r){let s=new _o(Cf);return s[Fe]=t,s[Ef]=e,s[ts]=new W2(Cf),j2(s[ts],t.headersList),RQ(s[ts],r),s}Object.defineProperties(_o.prototype,{method:Nt,url:Nt,headers:Nt,redirect:Nt,clone:Nt,signal:Nt,duplex:Nt,destination:Nt,body:Nt,bodyUsed:Nt,isHistoryNavigation:Nt,isReloadNavigation:Nt,keepalive:Nt,integrity:Nt,cache:Nt,credentials:Nt,attribute:Nt,referrerPolicy:Nt,referrer:Nt,mode:Nt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Z.converters.Request=Z.interfaceConverter(_o);Z.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Z.converters.USVString(t,e,r):t instanceof _o?Z.converters.Request(t,e,r):Z.converters.USVString(t,e,r)};Z.converters.AbortSignal=Z.interfaceConverter(AbortSignal);Z.converters.RequestInit=Z.dictionaryConverter([{key:"method",converter:Z.converters.ByteString},{key:"headers",converter:Z.converters.HeadersInit},{key:"body",converter:Z.nullableConverter(Z.converters.BodyInit)},{key:"referrer",converter:Z.converters.USVString},{key:"referrerPolicy",converter:Z.converters.DOMString,allowedValues:gae},{key:"mode",converter:Z.converters.DOMString,allowedValues:yae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:Cae},{key:"cache",converter:Z.converters.DOMString,allowedValues:Iae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:Eae},{key:"integrity",converter:Z.converters.DOMString},{key:"keepalive",converter:Z.converters.boolean},{key:"signal",converter:Z.nullableConverter(t=>Z.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Z.converters.any},{key:"duplex",converter:Z.converters.DOMString,allowedValues:Bae},{key:"dispatcher",converter:Z.converters.any}]);e1.exports={Request:_o,makeRequest:Bf,fromInnerRequest:Z2,cloneRequest:X2}});var sd=h((JMe,h1)=>{"use strict";var{makeNetworkError:Te,makeAppropriateNetworkError:wf,filterResponse:TQ,makeResponse:bf,fromInnerResponse:Rae}=td(),{HeadersList:t1}=Ma(),{Request:Tae,cloneRequest:vae}=Rl(),Lo=require("node:zlib"),{bytesMatch:Pae,makePolicyContainer:kae,clonePolicyContainer:Dae,requestBadPort:_ae,TAOCheck:Lae,appendRequestOriginHeader:Mae,responseLocationURL:Oae,requestCurrentURL:Gn,setRequestReferrerPolicyOnRedirect:Fae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Uae,createOpaqueTimingInfo:_Q,appendFetchMetadata:qae,corsCheck:Gae,crossOriginResourcePolicyCheck:Hae,determineRequestsReferrer:zae,coarsenedSharedCurrentTime:rd,createDeferredPromise:Vae,isBlobLike:$ae,sameOrigin:DQ,isCancelled:Fa,isAborted:r1,isErrorLike:Yae,fullyReadBody:Jae,readableStreamClose:Wae,isomorphicEncode:Qf,urlIsLocal:jae,urlIsHttpHttpsScheme:LQ,urlHasHttpsScheme:Kae,clampAndCoarsenConnectionTimingInfo:Xae,simpleRangeHeaderValue:Zae,buildContentRange:ece,createInflate:tce,extractMimeType:rce}=Wr(),{kState:o1,kDispatcher:sce}=bo(),Ua=require("node:assert"),{safelyExtractBody:MQ,extractBody:s1}=al(),{redirectStatusSet:a1,nullBodyStatus:c1,safeMethodsSet:nce,requestBodyHeader:ice,subresourceSet:oce}=bA(),ace=require("node:events"),{Readable:cce,pipeline:lce,finished:uce}=require("node:stream"),{addAbortListener:Ace,isErrored:dce,isReadable:xf,bufferToLowerCasedHeaderName:n1}=pe(),{dataURLProcessor:pce,serializeAMimeType:mce,minimizeSupportedMimeType:hce}=Rr(),{getGlobalDispatcher:fce}=lf(),{webidl:gce}=Yt(),{STATUS_CODES:Ece}=require("node:http"),yce=["GET","HEAD"],Cce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",vQ,Nf=class extends ace{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function Ice(t){l1(t,"fetch")}function Bce(t,e=void 0){gce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Vae(),s;try{s=new Tae(t,e)}catch(u){return r.reject(u),r.promise}let n=s[o1];if(s.signal.aborted)return PQ(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let o=null,a=!1,c=null;return Ace(s.signal,()=>{a=!0,Ua(c!=null),c.abort(s.signal.reason);let u=o?.deref();PQ(r,n,u,s.signal.reason)}),c=A1({request:n,processResponseEndOfBody:Ice,processResponse:u=>{if(!a){if(u.aborted){PQ(r,n,o,c.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}o=new WeakRef(Rae(u,"immutable")),r.resolve(o.deref()),r=null}},dispatcher:s[sce]}),r.promise}function l1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;LQ(r)&&s!==null&&(t.timingAllowPassed||(s=_Q({startTime:s.startTime}),n=""),s.endTime=rd(),t.timingInfo=s,u1(s,r.href,e,globalThis,n))}var u1=performance.markResourceTiming;function PQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&xf(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[o1];n.body!=null&&xf(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}function A1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:o=!1,dispatcher:a=fce()}){Ua(a);let c=null,l=!1;t.client!=null&&(c=t.client.globalObject,l=t.client.crossOriginIsolatedCapability);let u=rd(l),A=_Q({startTime:u}),d={controller:new Nf(a),request:t,timingInfo:A,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:c,crossOriginIsolatedCapability:l};return Ua(!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=Dae(t.client.policyContainer):t.policyContainer=kae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,oce.has(t.destination),d1(d).catch(p=>{d.controller.terminate(p)}),d.controller}async function d1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!jae(Gn(r))&&(s=Te("local URLs only")),Uae(r),_ae(r)==="blocked"&&(s=Te("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=zae(r)),s===null&&(s=await(async()=>{let i=Gn(r);return DQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await i1(t)):r.mode==="same-origin"?Te('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Te('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await i1(t)):LQ(Gn(r))?(r.responseTainting="cors",await p1(t)):Te("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=TQ(s,"basic"):r.responseTainting==="cors"?s=TQ(s,"cors"):r.responseTainting==="opaque"?s=TQ(s,"opaque"):Ua(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=Te()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||c1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=a=>kQ(t,Te(a));if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let o=a=>{if(!Pae(a,r.integrity)){i("integrity mismatch");return}s.body=MQ(a)[0],kQ(t,s)};await Jae(s.body,o,i)}else kQ(t,s)}function i1(t){if(Fa(t)&&t.request.redirectCount===0)return Promise.resolve(wf(t));let{request:e}=t,{protocol:r}=Gn(e);switch(r){case"about:":return Promise.resolve(Te("about scheme is not supported"));case"blob:":{vQ||(vQ=require("node:buffer").resolveObjectURL);let s=Gn(e);if(s.search.length!==0)return Promise.resolve(Te("NetworkError when attempting to fetch resource."));let n=vQ(s.toString());if(e.method!=="GET"||!$ae(n))return Promise.resolve(Te("invalid method"));let i=bf(),o=n.size,a=Qf(`${o}`),c=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let l=e.headersList.get("range",!0),u=Zae(l,!0);if(u==="failure")return Promise.resolve(Te("failed to fetch the data URL"));let{rangeStartValue:A,rangeEndValue:d}=u;if(A===null)A=o-d,d=A+d-1;else{if(A>=o)return Promise.resolve(Te("Range start is greater than the blob's size."));(d===null||d>=o)&&(d=o-1)}let p=n.slice(A,d,c),m=s1(p);i.body=m[0];let f=Qf(`${p.size}`),y=ece(A,d,o);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",c,!0),i.headersList.set("content-range",y,!0)}else{let l=s1(n);i.statusText="OK",i.body=l[0],i.headersList.set("content-length",a,!0),i.headersList.set("content-type",c,!0)}return Promise.resolve(i)}case"data:":{let s=Gn(e),n=pce(s);if(n==="failure")return Promise.resolve(Te("failed to fetch the data URL"));let i=mce(n.mimeType);return Promise.resolve(bf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:MQ(n.body)[0]}))}case"file:":return Promise.resolve(Te("not implemented... yet..."));case"http:":case"https:":return p1(t).catch(s=>Te(s));default:return Promise.resolve(Te("unknown scheme"))}}function wce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function kQ(t,e){let r=t.timingInfo,s=()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let a=e.cacheState,c=e.bodyInfo;e.timingAllowPassed||(r=_Q(r),a="");let l=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){l=e.status;let u=rce(e.headersList);u!=="failure"&&(c.contentType=hce(u))}t.request.initiatorType!=null&&u1(r,t.request.url.href,t.request.initiatorType,globalThis,a,c,l)};let o=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()};queueMicrotask(()=>o())};t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():uce(n.body.stream,()=>{s()})}async function p1(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await m1(t),e.responseTainting==="cors"&&Gae(e,r)==="failure")return Te("cors failure");Lae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Hae(e.origin,e.client,e.destination,s)==="blocked"?Te("blocked"):(a1.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Te("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await bce(t,r):Ua(!1)),r.timingInfo=n,r)}function bce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Oae(s,Gn(r).hash),n==null)return e}catch(o){return Promise.resolve(Te(o))}if(!LQ(n))return Promise.resolve(Te("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Te("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!DQ(r,n))return Promise.resolve(Te('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(Te('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Te());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!yce.includes(r.method)){r.method="GET",r.body=null;for(let o of ice)r.headersList.delete(o)}DQ(Gn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Ua(r.body.source!=null),r.body=MQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=rd(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),Fae(r,s),d1(t,!0)}async function m1(t,e=!1,r=!1){let s=t.request,n=null,i=null,o=null,a=null,c=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=vae(s),n={...t},n.request=i);let l=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",u=i.body?i.body.length:null,A=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(A="0"),u!=null&&(A=Qf(`${u}`)),A!=null&&i.headersList.append("content-length",A,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",Qf(i.referrer.href),!0),Mae(i),qae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Cce),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(Kae(Gn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),a==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,o==null){if(i.cache==="only-if-cached")return Te("only if cached");let d=await Qce(n,l,r);!nce.has(i.method)&&d.status>=200&&d.status<=399,c&&d.status,o==null&&(o=d)}if(o.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(o.rangeRequested=!0),o.requestIncludesCredentials=l,o.status===407)return s.window==="no-window"?Te():Fa(t)?wf(t):Te("proxy authentication required");if(o.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Fa(t))return wf(t);t.controller.connection.destroy(),o=await m1(t,e,!0)}return o}async function Qce(t,e=!1,r=!1){Ua(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(m,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(m??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let a=r?"yes":"no";s.mode;let c=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let m=async function*(g){Fa(t)||(yield g,t.processRequestBodyChunkLength?.(g.byteLength))},f=()=>{Fa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},y=g=>{Fa(t)||(g.name==="AbortError"?t.controller.abort():t.controller.terminate(g))};c=(async function*(){try{for await(let g of s.body.stream)yield*m(g);f()}catch(g){y(g)}})()}try{let{body:m,status:f,statusText:y,headersList:g,socket:E}=await p({body:c});if(E)n=bf({status:f,statusText:y,headersList:g,socket:E});else{let C=m[Symbol.asyncIterator]();t.controller.next=()=>C.next(),n=bf({status:f,statusText:y,headersList:g})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),wf(t,m)):Te(m)}let l=async()=>{await t.controller.resume()},u=m=>{Fa(t)||t.controller.abort(m)},A=new ReadableStream({async start(m){t.controller.controller=m},async pull(m){await l(m)},async cancel(m){await u(m)},type:"bytes"});n.body={stream:A,source:null,length:null},t.controller.onAborted=d,t.controller.on("terminated",d),t.controller.resume=async()=>{for(;;){let m,f;try{let{done:g,value:E}=await t.controller.next();if(r1(t))break;m=g?void 0:E}catch(g){t.controller.ended&&!i.encodedBodySize?m=void 0:(m=g,f=!0)}if(m===void 0){Wae(t.controller.controller),wce(t,n);return}if(i.decodedBodySize+=m?.byteLength??0,f){t.controller.terminate(m);return}let y=new Uint8Array(m);if(y.byteLength&&t.controller.controller.enqueue(y),dce(A)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function d(m){r1(t)?(n.aborted=!0,xf(A)&&t.controller.controller.error(t.controller.serializedAbortReason)):xf(A)&&t.controller.controller.error(new TypeError("terminated",{cause:Yae(m)?m:void 0})),t.controller.connection.destroy()}return n;function p({body:m}){let f=Gn(s),y=t.controller.dispatcher;return new Promise((g,E)=>y.dispatch({path:f.pathname+f.search,origin:f.origin,method:s.method,body:y.isMockActive?s.body&&(s.body.source||s.body.stream):m,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(C){let{connection:I}=t.controller;i.finalConnectionTimingInfo=Xae(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),I.destroyed?C(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",C),this.abort=I.abort=C),i.finalNetworkRequestStartTime=rd(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=rd(t.crossOriginIsolatedCapability)},onHeaders(C,I,x,k){if(C<200)return;let U="",de=new t1;for(let se=0;se<I.length;se+=2)de.append(n1(I[se]),I[se+1].toString("latin1"),!0);U=de.get("location",!0),this.body=new cce({read:x});let we=[],Se=U&&s.redirect==="follow"&&a1.has(C);if(s.method!=="HEAD"&&s.method!=="CONNECT"&&!c1.includes(C)&&!Se){let se=de.get("content-encoding",!0),q=se?se.toLowerCase().split(","):[],Ee=5;if(q.length>Ee)return E(new Error(`too many content-encodings in response: ${q.length}, maximum allowed is ${Ee}`)),!0;for(let bt=q.length-1;bt>=0;--bt){let Ke=q[bt].trim();if(Ke==="x-gzip"||Ke==="gzip")we.push(Lo.createGunzip({flush:Lo.constants.Z_SYNC_FLUSH,finishFlush:Lo.constants.Z_SYNC_FLUSH}));else if(Ke==="deflate")we.push(tce({flush:Lo.constants.Z_SYNC_FLUSH,finishFlush:Lo.constants.Z_SYNC_FLUSH}));else if(Ke==="br")we.push(Lo.createBrotliDecompress({flush:Lo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Lo.constants.BROTLI_OPERATION_FLUSH}));else{we.length=0;break}}}let V=this.onError.bind(this);return g({status:C,statusText:k,headersList:de,body:we.length?lce(this.body,...we,se=>{se&&this.onError(se)}).on("error",V):this.body.on("error",V)}),!0},onData(C){if(t.controller.dump)return;let I=C;return i.encodedBodySize+=I.byteLength,this.body.push(I)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(C){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(C),t.controller.terminate(C),E(C)},onUpgrade(C,I,x){if(C!==101)return;let k=new t1;for(let U=0;U<I.length;U+=2)k.append(n1(I[U]),I[U+1].toString("latin1"),!0);return g({status:C,statusText:Ece[C],headersList:k,socket:x}),!0}}))}}h1.exports={fetch:Bce,Fetch:Nf,fetching:A1,finalizeAndReportTiming:l1}});var OQ=h((WMe,f1)=>{"use strict";f1.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 E1=h((jMe,g1)=>{"use strict";var{webidl:rs}=Yt(),Sf=Symbol("ProgressEvent state"),FQ=class t extends Event{constructor(e,r={}){e=rs.converters.DOMString(e,"ProgressEvent constructor","type"),r=rs.converters.ProgressEventInit(r??{}),super(e,r),this[Sf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return rs.brandCheck(this,t),this[Sf].lengthComputable}get loaded(){return rs.brandCheck(this,t),this[Sf].loaded}get total(){return rs.brandCheck(this,t),this[Sf].total}};rs.converters.ProgressEventInit=rs.dictionaryConverter([{key:"lengthComputable",converter:rs.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:rs.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:rs.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:rs.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:rs.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:rs.converters.boolean,defaultValue:()=>!1}]);g1.exports={ProgressEvent:FQ}});var C1=h((KMe,y1)=>{"use strict";function xce(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"}}y1.exports={getEncoding:xce}});var S1=h((XMe,N1)=>{"use strict";var{kState:Tl,kError:UQ,kResult:I1,kAborted:nd,kLastProgressEventFired:qQ}=OQ(),{ProgressEvent:Nce}=E1(),{getEncoding:B1}=C1(),{serializeAMimeType:Sce,parseMIMEType:w1}=Rr(),{types:Rce}=require("node:util"),{StringDecoder:b1}=require("string_decoder"),{btoa:Q1}=require("node:buffer"),Tce={enumerable:!0,writable:!1,configurable:!1};function vce(t,e,r,s){if(t[Tl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Tl]="loading",t[I1]=null,t[UQ]=null;let i=e.stream().getReader(),o=[],a=i.read(),c=!0;(async()=>{for(;!t[nd];)try{let{done:l,value:u}=await a;if(c&&!t[nd]&&queueMicrotask(()=>{Mo("loadstart",t)}),c=!1,!l&&Rce.isUint8Array(u))o.push(u),(t[qQ]===void 0||Date.now()-t[qQ]>=50)&&!t[nd]&&(t[qQ]=Date.now(),queueMicrotask(()=>{Mo("progress",t)})),a=i.read();else if(l){queueMicrotask(()=>{t[Tl]="done";try{let A=Pce(o,r,e.type,s);if(t[nd])return;t[I1]=A,Mo("load",t)}catch(A){t[UQ]=A,Mo("error",t)}t[Tl]!=="loading"&&Mo("loadend",t)});break}}catch(l){if(t[nd])return;queueMicrotask(()=>{t[Tl]="done",t[UQ]=l,Mo("error",t),t[Tl]!=="loading"&&Mo("loadend",t)});break}})()}function Mo(t,e){let r=new Nce(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}function Pce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=w1(r||"application/octet-stream");i!=="failure"&&(n+=Sce(i)),n+=";base64,";let o=new b1("latin1");for(let a of t)n+=Q1(o.write(a));return n+=Q1(o.end()),n}case"Text":{let n="failure";if(s&&(n=B1(s)),n==="failure"&&r){let i=w1(r);i!=="failure"&&(n=B1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),kce(t,n)}case"ArrayBuffer":return x1(t).buffer;case"BinaryString":{let n="",i=new b1("latin1");for(let o of t)n+=i.write(o);return n+=i.end(),n}}}function kce(t,e){let r=x1(t),s=Dce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}function Dce(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}function x1(t){let e=t.reduce((s,n)=>s+n.byteLength,0),r=0;return t.reduce((s,n)=>(s.set(n,r),r+=n.byteLength,s),new Uint8Array(e))}N1.exports={staticPropertyDescriptors:Tce,readOperation:vce,fireAProgressEvent:Mo}});var P1=h((ZMe,v1)=>{"use strict";var{staticPropertyDescriptors:vl,readOperation:Rf,fireAProgressEvent:R1}=S1(),{kState:qa,kError:T1,kResult:Tf,kEvents:Qe,kAborted:_ce}=OQ(),{webidl:ve}=Yt(),{kEnumerableProperty:Pr}=pe(),dn=class t extends EventTarget{constructor(){super(),this[qa]="empty",this[Tf]=null,this[T1]=null,this[Qe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=ve.converters.Blob(e,{strict:!1}),Rf(this,e,"ArrayBuffer")}readAsBinaryString(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=ve.converters.Blob(e,{strict:!1}),Rf(this,e,"BinaryString")}readAsText(e,r=void 0){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=ve.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ve.converters.DOMString(r,"FileReader.readAsText","encoding")),Rf(this,e,"Text",r)}readAsDataURL(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=ve.converters.Blob(e,{strict:!1}),Rf(this,e,"DataURL")}abort(){if(this[qa]==="empty"||this[qa]==="done"){this[Tf]=null;return}this[qa]==="loading"&&(this[qa]="done",this[Tf]=null),this[_ce]=!0,R1("abort",this),this[qa]!=="loading"&&R1("loadend",this)}get readyState(){switch(ve.brandCheck(this,t),this[qa]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ve.brandCheck(this,t),this[Tf]}get error(){return ve.brandCheck(this,t),this[T1]}get onloadend(){return ve.brandCheck(this,t),this[Qe].loadend}set onloadend(e){ve.brandCheck(this,t),this[Qe].loadend&&this.removeEventListener("loadend",this[Qe].loadend),typeof e=="function"?(this[Qe].loadend=e,this.addEventListener("loadend",e)):this[Qe].loadend=null}get onerror(){return ve.brandCheck(this,t),this[Qe].error}set onerror(e){ve.brandCheck(this,t),this[Qe].error&&this.removeEventListener("error",this[Qe].error),typeof e=="function"?(this[Qe].error=e,this.addEventListener("error",e)):this[Qe].error=null}get onloadstart(){return ve.brandCheck(this,t),this[Qe].loadstart}set onloadstart(e){ve.brandCheck(this,t),this[Qe].loadstart&&this.removeEventListener("loadstart",this[Qe].loadstart),typeof e=="function"?(this[Qe].loadstart=e,this.addEventListener("loadstart",e)):this[Qe].loadstart=null}get onprogress(){return ve.brandCheck(this,t),this[Qe].progress}set onprogress(e){ve.brandCheck(this,t),this[Qe].progress&&this.removeEventListener("progress",this[Qe].progress),typeof e=="function"?(this[Qe].progress=e,this.addEventListener("progress",e)):this[Qe].progress=null}get onload(){return ve.brandCheck(this,t),this[Qe].load}set onload(e){ve.brandCheck(this,t),this[Qe].load&&this.removeEventListener("load",this[Qe].load),typeof e=="function"?(this[Qe].load=e,this.addEventListener("load",e)):this[Qe].load=null}get onabort(){return ve.brandCheck(this,t),this[Qe].abort}set onabort(e){ve.brandCheck(this,t),this[Qe].abort&&this.removeEventListener("abort",this[Qe].abort),typeof e=="function"?(this[Qe].abort=e,this.addEventListener("abort",e)):this[Qe].abort=null}};dn.EMPTY=dn.prototype.EMPTY=0;dn.LOADING=dn.prototype.LOADING=1;dn.DONE=dn.prototype.DONE=2;Object.defineProperties(dn.prototype,{EMPTY:vl,LOADING:vl,DONE:vl,readAsArrayBuffer:Pr,readAsBinaryString:Pr,readAsText:Pr,readAsDataURL:Pr,abort:Pr,readyState:Pr,result:Pr,error:Pr,onloadstart:Pr,onprogress:Pr,onload:Pr,onabort:Pr,onerror:Pr,onloadend:Pr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(dn,{EMPTY:vl,LOADING:vl,DONE:vl});v1.exports={FileReader:dn}});var vf=h((eOe,k1)=>{"use strict";k1.exports={kConstruct:ze().kConstruct}});var L1=h((tOe,_1)=>{"use strict";var Lce=require("node:assert"),{URLSerializer:D1}=Rr(),{isValidHeaderName:Mce}=Wr();function Oce(t,e,r=!1){let s=D1(t,r),n=D1(e,r);return s===n}function Fce(t){Lce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Mce(r)&&e.push(r);return e}_1.exports={urlEquals:Oce,getFieldValues:Fce}});var F1=h((rOe,O1)=>{"use strict";var{kConstruct:Uce}=vf(),{urlEquals:qce,getFieldValues:GQ}=L1(),{kEnumerableProperty:Ga,isDisturbed:Gce}=pe(),{webidl:Y}=Yt(),{Response:Hce,cloneResponse:zce,fromInnerResponse:Vce}=td(),{Request:Vi,fromInnerRequest:$ce}=Rl(),{kState:pn}=bo(),{fetching:Yce}=sd(),{urlIsHttpHttpsScheme:Pf,createDeferredPromise:Pl,readAllBytes:Jce}=Wr(),HQ=require("node:assert"),kf=class t{#e;constructor(){arguments[0]!==Uce&&Y.illegalConstructor(),Y.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){Y.brandCheck(this,t);let s="Cache.match";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=this.#n(e,r,1);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){Y.brandCheck(this,t);let r="Cache.add";Y.argumentLengthCheck(arguments,1,r),e=Y.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){Y.brandCheck(this,t);let r="Cache.addAll";Y.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let d of e){if(d===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(d=Y.converters.RequestInfo(d),typeof d=="string")continue;let p=d[pn];if(!Pf(p.url)||p.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let d of e){let p=new Vi(d)[pn];if(!Pf(p.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",n.push(p);let m=Pl();i.push(Yce({request:p,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)m.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let y=GQ(f.headersList.get("vary"));for(let g of y)if(g==="*"){m.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){m.reject(new DOMException("aborted","AbortError"));return}m.resolve(f)}})),s.push(m.promise)}let a=await Promise.all(s),c=[],l=0;for(let d of a){let p={type:"put",request:n[l],response:d};c.push(p),l++}let u=Pl(),A=null;try{this.#t(c)}catch(d){A=d}return queueMicrotask(()=>{A===null?u.resolve(void 0):u.reject(A)}),u.promise}async put(e,r){Y.brandCheck(this,t);let s="Cache.put";Y.argumentLengthCheck(arguments,2,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.Response(r,s,"response");let n=null;if(e instanceof Vi?n=e[pn]:n=new Vi(e)[pn],!Pf(n.url)||n.method!=="GET")throw Y.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[pn];if(i.status===206)throw Y.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=GQ(i.headersList.get("vary"));for(let m of p)if(m==="*")throw Y.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Gce(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let o=zce(i),a=Pl();if(i.body!=null){let m=i.body.stream.getReader();Jce(m).then(a.resolve,a.reject)}else a.resolve(void 0);let c=[],l={type:"put",request:n,response:o};c.push(l);let u=await a.promise;o.body!=null&&(o.body.source=u);let A=Pl(),d=null;try{this.#t(c)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve():A.reject(d)}),A.promise}async delete(e,r={}){Y.brandCheck(this,t);let s="Cache.delete";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof Vi){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return!1}else HQ(typeof e=="string"),n=new Vi(e)[pn];let i=[],o={type:"delete",request:n,options:r};i.push(o);let a=Pl(),c=null,l;try{l=this.#t(i)}catch(u){c=u}return queueMicrotask(()=>{c===null?a.resolve(!!l?.length):a.reject(c)}),a.promise}async keys(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof Vi){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Vi(e)[pn]);let i=Pl(),o=[];if(e===void 0)for(let a of this.#e)o.push(a[0]);else{let a=this.#r(n,r);for(let c of a)o.push(c[0])}return queueMicrotask(()=>{let a=[];for(let c of o){let l=$ce(c,new AbortController().signal,"immutable");a.push(l)}i.resolve(Object.freeze(a))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(o.request,o.options,n).length)throw new DOMException("???","InvalidStateError");let a;if(o.type==="delete"){if(a=this.#r(o.request,o.options),a.length===0)return[];for(let c of a){let l=r.indexOf(c);HQ(l!==-1),r.splice(l,1)}}else if(o.type==="put"){if(o.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let c=o.request;if(!Pf(c.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(c.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});a=this.#r(o.request);for(let l of a){let u=r.indexOf(l);HQ(u!==-1),r.splice(u,1)}r.push([o.request,o.response]),n.push([o.request,o.response])}i.push([o.request,o.response])}return i}catch(o){throw this.#e.length=0,this.#e=s,o}}#r(e,r,s){let n=[],i=s??this.#e;for(let o of i){let[a,c]=o;this.#i(e,a,c,r)&&n.push(o)}return n}#i(e,r,s=null,n){let i=new URL(e.url),o=new URL(r.url);if(n?.ignoreSearch&&(o.search="",i.search=""),!qce(i,o,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let a=GQ(s.headersList.get("vary"));for(let c of a){if(c==="*")return!1;let l=r.headersList.get(c),u=e.headersList.get(c);if(l!==u)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Vi){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Vi(e)[pn]);let i=[];if(e===void 0)for(let a of this.#e)i.push(a[1]);else{let a=this.#r(n,r);for(let c of a)i.push(c[1])}let o=[];for(let a of i){let c=Vce(a,"immutable");if(o.push(c.clone()),o.length>=s)break}return Object.freeze(o)}};Object.defineProperties(kf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ga,matchAll:Ga,add:Ga,addAll:Ga,put:Ga,delete:Ga,keys:Ga});var M1=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:()=>!1}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(M1);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...M1,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(Hce);Y.converters["sequence<RequestInfo>"]=Y.sequenceConverter(Y.converters.RequestInfo);O1.exports={Cache:kf}});var q1=h((sOe,U1)=>{"use strict";var{kConstruct:id}=vf(),{Cache:Df}=F1(),{webidl:er}=Yt(),{kEnumerableProperty:od}=pe(),_f=class t{#e=new Map;constructor(){arguments[0]!==id&&er.illegalConstructor(),er.util.markAsUncloneable(this)}async match(e,r={}){if(er.brandCheck(this,t),er.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=er.converters.RequestInfo(e),r=er.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new Df(id,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Df(id,s).match(e,r);if(i!==void 0)return i}}async has(e){er.brandCheck(this,t);let r="CacheStorage.has";return er.argumentLengthCheck(arguments,1,r),e=er.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){er.brandCheck(this,t);let r="CacheStorage.open";if(er.argumentLengthCheck(arguments,1,r),e=er.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new Df(id,n)}let s=[];return this.#e.set(e,s),new Df(id,s)}async delete(e){er.brandCheck(this,t);let r="CacheStorage.delete";return er.argumentLengthCheck(arguments,1,r),e=er.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return er.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(_f.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:od,has:od,open:od,delete:od,keys:od});U1.exports={CacheStorage:_f}});var H1=h((nOe,G1)=>{"use strict";G1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var zQ=h((iOe,J1)=>{"use strict";function Wce(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}function z1(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}function V1(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r<e;){let s=t.charCodeAt(r++);if(s<33||s>126||s===34||s===44||s===59||s===92)throw new Error("Invalid cookie value")}}function $1(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r===127||r===59)throw new Error("Invalid cookie path")}}function jce(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}var Kce=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Xce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Lf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function Y1(t){return typeof t=="number"&&(t=new Date(t)),`${Kce[t.getUTCDay()]}, ${Lf[t.getUTCDate()]} ${Xce[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Lf[t.getUTCHours()]}:${Lf[t.getUTCMinutes()]}:${Lf[t.getUTCSeconds()]} GMT`}function Zce(t){if(t<0)throw new Error("Invalid cookie max-age")}function ele(t){if(t.name.length===0)return null;z1(t.name),V1(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"&&(Zce(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(jce(t.domain),e.push(`Domain=${t.domain}`)),t.path&&($1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${Y1(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[s,...n]=r.split("=");e.push(`${s.trim()}=${n.join("=")}`)}return e.join("; ")}J1.exports={isCTLExcludingHtab:Wce,validateCookieName:z1,validateCookiePath:$1,validateCookieValue:V1,toIMFDate:Y1,stringify:ele}});var j1=h((oOe,W1)=>{"use strict";var{maxNameValuePairSize:tle,maxAttributeValueSize:rle}=H1(),{isCTLExcludingHtab:sle}=zQ(),{collectASequenceOfCodePointsFast:Mf}=Rr(),nle=require("node:assert");function ile(t){if(sle(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Mf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Mf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>tle?null:{name:s,value:n,...kl(r)}}function kl(t,e={}){if(t.length===0)return e;nle(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Mf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let o={position:0};s=Mf("=",r,o),n=r.slice(o.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>rle)return kl(t,e);let i=s.toLowerCase();if(i==="expires"){let o=new Date(n);e.expires=o}else if(i==="max-age"){let o=n.charCodeAt(0);if((o<48||o>57)&&n[0]!=="-"||!/^\d+$/.test(n))return kl(t,e);let a=Number(n);e.maxAge=a}else if(i==="domain"){let o=n;o[0]==="."&&(o=o.slice(1)),o=o.toLowerCase(),e.domain=o}else if(i==="path"){let o="";n.length===0||n[0]!=="/"?o="/":o=n,e.path=o}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let o=n.toLowerCase();o==="none"?e.sameSite="None":o==="strict"?e.sameSite="Strict":o==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return kl(t,e)}W1.exports={parseSetCookie:ile,parseUnparsedAttributes:kl}});var Z1=h((aOe,X1)=>{"use strict";var{parseSetCookie:ole}=j1(),{stringify:ale}=zQ(),{webidl:ge}=Yt(),{Headers:Of}=Ma();function cle(t){ge.argumentLengthCheck(arguments,1,"getCookies"),ge.brandCheck(t,Of,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let s of e.split(";")){let[n,...i]=s.split("=");r[n.trim()]=i.join("=")}return r}function lle(t,e,r){ge.brandCheck(t,Of,{strict:!1});let s="deleteCookie";ge.argumentLengthCheck(arguments,2,s),e=ge.converters.DOMString(e,s,"name"),r=ge.converters.DeleteCookieAttributes(r),K1(t,{name:e,value:"",expires:new Date(0),...r})}function ule(t){ge.argumentLengthCheck(arguments,1,"getSetCookies"),ge.brandCheck(t,Of,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>ole(r)):[]}function K1(t,e){ge.argumentLengthCheck(arguments,2,"setCookie"),ge.brandCheck(t,Of,{strict:!1}),e=ge.converters.Cookie(e);let r=ale(e);r&&t.append("Set-Cookie",r)}ge.converters.DeleteCookieAttributes=ge.dictionaryConverter([{converter:ge.nullableConverter(ge.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters.DOMString),key:"domain",defaultValue:()=>null}]);ge.converters.Cookie=ge.dictionaryConverter([{converter:ge.converters.DOMString,key:"name"},{converter:ge.converters.DOMString,key:"value"},{converter:ge.nullableConverter(t=>typeof t=="number"?ge.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters.boolean),key:"secure",defaultValue:()=>null},{converter:ge.nullableConverter(ge.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:ge.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ge.sequenceConverter(ge.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);X1.exports={getCookies:cle,deleteCookie:lle,getSetCookies:ule,setCookie:K1}});var _l=h((cOe,tq)=>{"use strict";var{webidl:$}=Yt(),{kEnumerableProperty:kr}=pe(),{kConstruct:eq}=ze(),{MessagePort:Ale}=require("node:worker_threads"),Dl=class t extends Event{#e;constructor(e,r={}){if(e===eq){super(arguments[1],arguments[2]),$.util.markAsUncloneable(this);return}let s="MessageEvent constructor";$.argumentLengthCheck(arguments,1,s),e=$.converters.DOMString(e,s,"type"),r=$.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,$.util.markAsUncloneable(this)}get data(){return $.brandCheck(this,t),this.#e.data}get origin(){return $.brandCheck(this,t),this.#e.origin}get lastEventId(){return $.brandCheck(this,t),this.#e.lastEventId}get source(){return $.brandCheck(this,t),this.#e.source}get ports(){return $.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,s=!1,n=null,i="",o="",a=null,c=[]){return $.brandCheck(this,t),$.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:o,source:a,ports:c})}static createFastMessageEvent(e,r){let s=new t(eq,e,r);return s.#e=r,s.#e.data??=null,s.#e.origin??="",s.#e.lastEventId??="",s.#e.source??=null,s.#e.ports??=[],s}},{createFastMessageEvent:dle}=Dl;delete Dl.createFastMessageEvent;var Ff=class t extends Event{#e;constructor(e,r={}){let s="CloseEvent constructor";$.argumentLengthCheck(arguments,1,s),e=$.converters.DOMString(e,s,"type"),r=$.converters.CloseEventInit(r),super(e,r),this.#e=r,$.util.markAsUncloneable(this)}get wasClean(){return $.brandCheck(this,t),this.#e.wasClean}get code(){return $.brandCheck(this,t),this.#e.code}get reason(){return $.brandCheck(this,t),this.#e.reason}},Uf=class t extends Event{#e;constructor(e,r){let s="ErrorEvent constructor";$.argumentLengthCheck(arguments,1,s),super(e,r),$.util.markAsUncloneable(this),e=$.converters.DOMString(e,s,"type"),r=$.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return $.brandCheck(this,t),this.#e.message}get filename(){return $.brandCheck(this,t),this.#e.filename}get lineno(){return $.brandCheck(this,t),this.#e.lineno}get colno(){return $.brandCheck(this,t),this.#e.colno}get error(){return $.brandCheck(this,t),this.#e.error}};Object.defineProperties(Dl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:kr,origin:kr,lastEventId:kr,source:kr,ports:kr,initMessageEvent:kr});Object.defineProperties(Ff.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:kr,code:kr,wasClean:kr});Object.defineProperties(Uf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:kr,filename:kr,lineno:kr,colno:kr,error:kr});$.converters.MessagePort=$.interfaceConverter(Ale);$.converters["sequence<MessagePort>"]=$.sequenceConverter($.converters.MessagePort);var VQ=[{key:"bubbles",converter:$.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:$.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:$.converters.boolean,defaultValue:()=>!1}];$.converters.MessageEventInit=$.dictionaryConverter([...VQ,{key:"data",converter:$.converters.any,defaultValue:()=>null},{key:"origin",converter:$.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:$.converters.DOMString,defaultValue:()=>""},{key:"source",converter:$.nullableConverter($.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:$.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);$.converters.CloseEventInit=$.dictionaryConverter([...VQ,{key:"wasClean",converter:$.converters.boolean,defaultValue:()=>!1},{key:"code",converter:$.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:$.converters.USVString,defaultValue:()=>""}]);$.converters.ErrorEventInit=$.dictionaryConverter([...VQ,{key:"message",converter:$.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:$.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:$.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:$.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:$.converters.any}]);tq.exports={MessageEvent:Dl,CloseEvent:Ff,ErrorEvent:Uf,createFastMessageEvent:dle}});var Ha=h((lOe,rq)=>{"use strict";var ple="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",mle={enumerable:!0,writable:!1,configurable:!1},hle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},fle={NOT_SENT:0,PROCESSING:1,SENT:2},gle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Ele=2**16-1,yle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Cle=Buffer.allocUnsafe(0),Ile={string:1,typedArray:2,arrayBuffer:3,blob:4};rq.exports={uid:ple,sentCloseFrameState:fle,staticPropertyDescriptors:mle,states:hle,opcodes:gle,maxUnsigned16Bit:Ele,parserStates:yle,emptyBuffer:Cle,sendHints:Ile}});var ad=h((uOe,sq)=>{"use strict";sq.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 ud=h((AOe,dq)=>{"use strict";var{kReadyState:cd,kController:Ble,kResponse:wle,kBinaryType:ble,kWebSocketURL:Qle}=ad(),{states:ld,opcodes:Oo}=Ha(),{ErrorEvent:xle,createFastMessageEvent:Nle}=_l(),{isUtf8:Sle}=require("node:buffer"),{collectASequenceOfCodePointsFast:Rle,removeHTTPWhitespace:nq}=Rr();function Tle(t){return t[cd]===ld.CONNECTING}function vle(t){return t[cd]===ld.OPEN}function Ple(t){return t[cd]===ld.CLOSING}function kle(t){return t[cd]===ld.CLOSED}function $Q(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}function Dle(t,e,r){if(t[cd]!==ld.OPEN)return;let s;if(e===Oo.TEXT)try{s=Aq(r)}catch{oq(t,"Received invalid UTF-8 in text frame.");return}else e===Oo.BINARY&&(t[ble]==="blob"?s=new Blob([r]):s=_le(r));$Q("message",t,Nle,{origin:t[Qle].origin,data:s})}function _le(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function Lle(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}function Mle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function oq(t,e){let{[Ble]:r,[wle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&$Q("error",t,(n,i)=>new xle(n,i),{error:new Error(e),message:e})}function aq(t){return t===Oo.CLOSE||t===Oo.PING||t===Oo.PONG}function cq(t){return t===Oo.CONTINUATION}function lq(t){return t===Oo.TEXT||t===Oo.BINARY}function Ole(t){return lq(t)||cq(t)||aq(t)}function Fle(t){let e={position:0},r=new Map;for(;e.position<t.length;){let s=Rle(";",t,e),[n,i=""]=s.split("=");r.set(nq(n,!0,!1),nq(i,!1,!0)),e.position++}return r}function Ule(t){if(t.length===0)return!1;for(let r=0;r<t.length;r++){let s=t.charCodeAt(r);if(s<48||s>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}var uq=typeof process.versions.icu=="string",iq=uq?new TextDecoder("utf-8",{fatal:!0}):void 0,Aq=uq?iq.decode.bind(iq):function(t){if(Sle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};dq.exports={isConnecting:Tle,isEstablished:vle,isClosing:Ple,isClosed:kle,fireEvent:$Q,isValidSubprotocol:Lle,isValidStatusCode:Mle,failWebsocketConnection:oq,websocketMessageReceived:Dle,utf8Decode:Aq,isControlFrame:aq,isContinuationFrame:cq,isTextBinaryFrame:lq,isValidOpcode:Ole,parseExtensions:Fle,isValidClientWindowBits:Ule}});var Gf=h((dOe,pq)=>{"use strict";var{maxUnsigned16Bit:qle}=Ha(),qf=16386,YQ,Ad=null,Ll=qf;try{YQ=require("node:crypto")}catch{YQ={randomFillSync:function(e,r,s){for(let n=0;n<e.length;++n)e[n]=Math.random()*255|0;return e}}}function Gle(){return Ll===qf&&(Ll=0,YQ.randomFillSync(Ad??=Buffer.allocUnsafe(qf),0,qf)),[Ad[Ll++],Ad[Ll++],Ad[Ll++],Ad[Ll++]]}var JQ=class{constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,s=Gle(),n=r?.byteLength??0,i=n,o=6;n>qle?(o+=8,i=127):n>125&&(o+=2,i=126);let a=Buffer.allocUnsafe(n+o);a[0]=a[1]=0,a[0]|=128,a[0]=(a[0]&240)+e;a[o-4]=s[0],a[o-3]=s[1],a[o-2]=s[2],a[o-1]=s[3],a[1]=i,i===126?a.writeUInt16BE(n,2):i===127&&(a[2]=a[3]=0,a.writeUIntBE(n,4,6)),a[1]|=128;for(let c=0;c<n;++c)a[o+c]=r[c]^s[c&3];return a}};pq.exports={WebsocketFrameSend:JQ}});var jQ=h((pOe,Cq)=>{"use strict";var{uid:Hle,states:dd,sentCloseFrameState:Hf,emptyBuffer:zle,opcodes:Vle}=Ha(),{kReadyState:pd,kSentClose:zf,kByteParser:hq,kReceivedClose:mq,kResponse:fq}=ad(),{fireEvent:$le,failWebsocketConnection:Fo,isClosing:Yle,isClosed:Jle,isEstablished:Wle,parseExtensions:jle}=ud(),{channels:Ml}=Jc(),{CloseEvent:Kle}=_l(),{makeRequest:Xle}=Rl(),{fetching:Zle}=sd(),{Headers:eue,getHeadersList:tue}=Ma(),{getDecodeSplit:rue}=Wr(),{WebsocketFrameSend:sue}=Gf(),WQ;try{WQ=require("node:crypto")}catch{}function nue(t,e,r,s,n,i){let o=t;o.protocol=t.protocol==="ws:"?"http:":"https:";let a=Xle({urlList:[o],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let A=tue(new eue(i.headers));a.headersList=A}let c=WQ.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let A of e)a.headersList.append("sec-websocket-protocol",A);return a.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Zle({request:a,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(A){if(A.type==="error"||A.status!==101){Fo(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!A.headersList.get("Sec-WebSocket-Protocol")){Fo(s,"Server did not respond with sent protocols.");return}if(A.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Fo(s,'Server did not set Upgrade header to "websocket".');return}if(A.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Fo(s,'Server did not set Connection header to "upgrade".');return}let d=A.headersList.get("Sec-WebSocket-Accept"),p=WQ.createHash("sha1").update(c+Hle).digest("base64");if(d!==p){Fo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let m=A.headersList.get("Sec-WebSocket-Extensions"),f;if(m!==null&&(f=jle(m),!f.has("permessage-deflate"))){Fo(s,"Sec-WebSocket-Extensions header does not match.");return}let y=A.headersList.get("Sec-WebSocket-Protocol");if(y!==null&&!rue("sec-websocket-protocol",a.headersList).includes(y)){Fo(s,"Protocol was not set in the opening handshake.");return}A.socket.on("data",gq),A.socket.on("close",Eq),A.socket.on("error",yq),Ml.open.hasSubscribers&&Ml.open.publish({address:A.socket.address(),protocol:y,extensions:m}),n(A,f)}})}function iue(t,e,r,s){if(!(Yle(t)||Jle(t)))if(!Wle(t))Fo(t,"Connection was closed before it was established."),t[pd]=dd.CLOSING;else if(t[zf]===Hf.NOT_SENT){t[zf]=Hf.PROCESSING;let n=new sue;e!==void 0&&r===void 0?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(n.frameData=Buffer.allocUnsafe(2+s),n.frameData.writeUInt16BE(e,0),n.frameData.write(r,2,"utf-8")):n.frameData=zle,t[fq].socket.write(n.createFrame(Vle.CLOSE)),t[zf]=Hf.SENT,t[pd]=dd.CLOSING}else t[pd]=dd.CLOSING}function gq(t){this.ws[hq].write(t)||this.pause()}function Eq(){let{ws:t}=this,{[fq]:e}=t;e.socket.off("data",gq),e.socket.off("close",Eq),e.socket.off("error",yq);let r=t[zf]===Hf.SENT&&t[mq],s=1005,n="",i=t[hq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[mq]||(s=1006),t[pd]=dd.CLOSED,$le("close",t,(o,a)=>new Kle(o,a),{wasClean:r,code:s,reason:n}),Ml.close.hasSubscribers&&Ml.close.publish({websocket:t,code:s,reason:n})}function yq(t){let{ws:e}=this;e[pd]=dd.CLOSING,Ml.socketError.hasSubscribers&&Ml.socketError.publish(t),this.destroy()}Cq.exports={establishWebSocketConnection:nue,closeWebSocketConnection:iue}});var Bq=h((mOe,Iq)=>{"use strict";var{createInflateRaw:oue,Z_DEFAULT_WINDOWBITS:aue}=require("node:zlib"),{isValidClientWindowBits:cue}=ud(),{MessageSizeExceededError:lue}=be(),uue=Buffer.from([0,0,255,255]),Vf=Symbol("kBuffer"),md=Symbol("kLength"),KQ=class{#e;#t={};#r=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#r=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=aue;if(this.#t.serverMaxWindowBits){if(!cue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=oue({windowBits:n})}catch(i){s(i);return}this.#e[Vf]=[],this.#e[md]=0,this.#e.on("data",i=>{if(this.#e[md]+=i.length,this.#r>0&&this.#e[md]>this.#r){s(new lue),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Vf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(uue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Vf],this.#e[md]);this.#e[Vf].length=0,this.#e[md]=0,s(null,n)})}};Iq.exports={PerMessageDeflate:KQ}});var Pq=h((hOe,vq)=>{"use strict";var{Writable:Aue}=require("node:stream"),due=require("node:assert"),{parserStates:Dr,opcodes:Ol,states:pue,emptyBuffer:wq,sentCloseFrameState:bq}=Ha(),{kReadyState:mue,kSentClose:Qq,kResponse:xq,kReceivedClose:Nq}=ad(),{channels:$f}=Jc(),{isValidStatusCode:hue,isValidOpcode:fue,failWebsocketConnection:ss,websocketMessageReceived:Sq,utf8Decode:gue,isControlFrame:XQ,isTextBinaryFrame:ZQ,isContinuationFrame:Eue}=ud(),{WebsocketFrameSend:Rq}=Gf(),{closeWebSocketConnection:Tq}=jQ(),{PerMessageDeflate:yue}=Bq(),{MessageSizeExceededError:ex}=be();function hd(t,e,r){Tq(t,e,r,Buffer.byteLength(r)),ss(t,r)}var tx=class extends Aue{#e=[];#t=0;#r=0;#i=!1;#n=Dr.INFO;#s={};#o=[];#a;#l;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#l=s.maxFragments??0,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new yue(r,s))}_write(e,r,s){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(s)}#u(){return this.#c>0&&!XQ(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#c?(hd(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#n===Dr.INFO){if(this.#r<2)return e();let r=this.consume(2),s=(r[0]&128)!==0,n=r[0]&15,i=(r[1]&128)===128,o=!s&&n!==Ol.CONTINUATION,a=r[1]&127,c=r[0]&64,l=r[0]&32,u=r[0]&16;if(!fue(n))return ss(this.ws,"Invalid opcode received"),e();if(i)return ss(this.ws,"Frame cannot be masked"),e();if(c!==0&&!this.#a.has("permessage-deflate")){ss(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||u!==0){ss(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(o&&!ZQ(n)){ss(this.ws,"Invalid frame type was fragmented.");return}if(ZQ(n)&&this.#o.length>0){ss(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&o){ss(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((a>125||o)&&XQ(n)){ss(this.ws,"Control frame either too large or fragmented");return}if(Eue(n)&&this.#o.length===0&&!this.#s.compressed){ss(this.ws,"Unexpected continuation frame");return}if(a<=125){if(this.#s.payloadLength=a,this.#n=Dr.READ_DATA,!this.#u())return}else a===126?this.#n=Dr.PAYLOADLENGTH_16:a===127&&(this.#n=Dr.PAYLOADLENGTH_64);ZQ(n)&&(this.#s.binaryType=n,this.#s.compressed=c!==0),this.#s.opcode=n,this.#s.masked=i,this.#s.fin=s,this.#s.fragmented=o}else if(this.#n===Dr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#n=Dr.READ_DATA,!this.#u())return}else if(this.#n===Dr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){ss(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=n,this.#n=Dr.READ_DATA,!this.#u())return}else if(this.#n===Dr.READ_DATA){if(this.#r<this.#s.payloadLength)return e();let r=this.consume(this.#s.payloadLength);if(XQ(this.#s.opcode))this.#i=this.parseControlFrame(r),this.#n=Dr.INFO;else if(this.#s.compressed){this.#a.get("permessage-deflate").decompress(r,this.#s.fin,(s,n)=>{if(s){let i=s instanceof ex?1009:1007;hd(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){hd(this.ws,1009,new ex().message);return}if(!this.#s.fin){this.#n=Dr.INFO,this.#i=!0,this.run(e);return}Sq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=!0,this.#n=Dr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){hd(this.ws,1009,new ex().message);return}!this.#s.fragmented&&this.#s.fin&&Sq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#n=Dr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return wq;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),s=0;for(;s!==e;){let n=this.#e[0],{length:i}=n;if(i+s===e){r.set(this.#e.shift(),s);break}else if(i+s>e){r.set(n.subarray(0,e-s),s),this.#e[0]=n.subarray(e-s);break}else r.set(this.#e.shift(),s),s+=n.length}return this.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(hd(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){due(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!hue(r))return{code:1002,reason:"Invalid status code",error:!0};let s=e.subarray(2);s[0]===239&&s[1]===187&&s[2]===191&&(s=s.subarray(3));try{s=gue(s)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:s,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:s}=this.#s;if(r===Ol.CLOSE){if(s===1)return ss(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:n,reason:i}=this.#s.closeInfo;return Tq(this.ws,n,i,i.length),ss(this.ws,i),!1}if(this.ws[Qq]!==bq.SENT){let n=wq;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new Rq(n);this.ws[xq].socket.write(i.createFrame(Ol.CLOSE),o=>{o||(this.ws[Qq]=bq.SENT)})}return this.ws[mue]=pue.CLOSING,this.ws[Nq]=!0,!1}else if(r===Ol.PING){if(!this.ws[Nq]){let n=new Rq(e);this.ws[xq].socket.write(n.createFrame(Ol.PONG)),$f.ping.hasSubscribers&&$f.ping.publish({payload:e})}}else r===Ol.PONG&&$f.pong.hasSubscribers&&$f.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};vq.exports={ByteParser:tx}});var Mq=h((fOe,Lq)=>{"use strict";var{WebsocketFrameSend:Cue}=Gf(),{opcodes:kq,sendHints:Fl}=Ha(),Iue=lb(),Dq=Buffer[Symbol.species],rx=class{#e=new Iue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==Fl.blob){let i=_q(e,s);if(!this.#t)this.#r.write(i,r);else{let o={promise:null,callback:r,frame:i};this.#e.push(o)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=_q(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#i()}async#i(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#r.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function _q(t,e){return new Cue(Bue(t,e)).createFrame(e===Fl.string?kq.TEXT:kq.BINARY)}function Bue(t,e){switch(e){case Fl.string:return Buffer.from(t);case Fl.arrayBuffer:case Fl.blob:return new Dq(t);case Fl.typedArray:return new Dq(t.buffer,t.byteOffset,t.byteLength)}}Lq.exports={SendQueue:rx}});var Yq=h((gOe,$q)=>{"use strict";var{webidl:te}=Yt(),{URLSerializer:wue}=Rr(),{environmentSettingsObject:Oq}=Wr(),{staticPropertyDescriptors:Uo,states:fd,sentCloseFrameState:bue,sendHints:Yf}=Ha(),{kWebSocketURL:Fq,kReadyState:sx,kController:Uq,kBinaryType:Jf,kResponse:qq,kSentClose:Que,kByteParser:xue}=ad(),{isConnecting:Nue,isEstablished:Sue,isClosing:Rue,isValidSubprotocol:Tue,fireEvent:Gq}=ud(),{establishWebSocketConnection:vue,closeWebSocketConnection:Hq}=jQ(),{ByteParser:Pue}=Pq(),{kEnumerableProperty:Ss,isBlobLike:zq}=pe(),{getGlobalDispatcher:kue}=lf(),{types:Vq}=require("node:util"),{ErrorEvent:Due,CloseEvent:_ue}=_l(),{SendQueue:Lue}=Mq(),ns=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#n;constructor(e,r=[]){super(),te.util.markAsUncloneable(this);let s="WebSocket constructor";te.argumentLengthCheck(arguments,1,s);let n=te.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,s,"options");e=te.converters.USVString(e,s,"url"),r=n.protocols;let i=Oq.settingsObject.baseUrl,o;try{o=new URL(e,i)}catch(c){throw new DOMException(c,"SyntaxError")}if(o.protocol==="http:"?o.protocol="ws:":o.protocol==="https:"&&(o.protocol="wss:"),o.protocol!=="ws:"&&o.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${o.protocol}`,"SyntaxError");if(o.hash||o.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(c=>c.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(c=>Tue(c)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Fq]=new URL(o.href);let a=Oq.settingsObject;this[Uq]=vue(o,r,a,this,(c,l)=>this.#s(c,l),n),this[sx]=t.CONNECTING,this[Que]=bue.NOT_SENT,this[Jf]="blob"}close(e=void 0,r=void 0){te.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=te.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=te.converters.USVString(r,s,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");Hq(this,e,r,n)}send(e){te.brandCheck(this,t);let r="WebSocket.send";if(te.argumentLengthCheck(arguments,1,r),e=te.converters.WebSocketSendData(e,r,"data"),Nue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Sue(this)||Rue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},Yf.string)}else Vq.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Yf.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Yf.typedArray)):zq(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},Yf.blob))}get readyState(){return te.brandCheck(this,t),this[sx]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),wue(this[Fq])}get extensions(){return te.brandCheck(this,t),this.#i}get protocol(){return te.brandCheck(this,t),this.#r}get onopen(){return te.brandCheck(this,t),this.#e.open}set onopen(e){te.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 te.brandCheck(this,t),this.#e.error}set onerror(e){te.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 te.brandCheck(this,t),this.#e.close}set onclose(e){te.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 te.brandCheck(this,t),this.#e.message}set onmessage(e){te.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 te.brandCheck(this,t),this[Jf]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Jf]="blob":this[Jf]=e}#s(e,r){this[qq]=e;let s=this[Uq]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,o=new Pue(this,r,{maxFragments:n,maxPayloadSize:i});o.on("drain",Mue),o.on("error",Oue.bind(this)),e.socket.ws=this,this[xue]=o,this.#n=new Lue(e.socket),this[sx]=fd.OPEN;let a=e.headersList.get("sec-websocket-extensions");a!==null&&(this.#i=a);let c=e.headersList.get("sec-websocket-protocol");c!==null&&(this.#r=c),Gq("open",this)}};ns.CONNECTING=ns.prototype.CONNECTING=fd.CONNECTING;ns.OPEN=ns.prototype.OPEN=fd.OPEN;ns.CLOSING=ns.prototype.CLOSING=fd.CLOSING;ns.CLOSED=ns.prototype.CLOSED=fd.CLOSED;Object.defineProperties(ns.prototype,{CONNECTING:Uo,OPEN:Uo,CLOSING:Uo,CLOSED:Uo,url:Ss,readyState:Ss,bufferedAmount:Ss,onopen:Ss,onerror:Ss,onclose:Ss,close:Ss,onmessage:Ss,binaryType:Ss,send:Ss,extensions:Ss,protocol:Ss,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(ns,{CONNECTING:Uo,OPEN:Uo,CLOSING:Uo,CLOSED:Uo});te.converters["sequence<DOMString>"]=te.sequenceConverter(te.converters.DOMString);te.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return te.util.Type(t)==="Object"&&Symbol.iterator in t?te.converters["sequence<DOMString>"](t):te.converters.DOMString(t,e,r)};te.converters.WebSocketInit=te.dictionaryConverter([{key:"protocols",converter:te.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:te.converters.any,defaultValue:()=>kue()},{key:"headers",converter:te.nullableConverter(te.converters.HeadersInit)}]);te.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return te.util.Type(t)==="Object"&&!(Symbol.iterator in t)?te.converters.WebSocketInit(t):{protocols:te.converters["DOMString or sequence<DOMString>"](t)}};te.converters.WebSocketSendData=function(t){if(te.util.Type(t)==="Object"){if(zq(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Vq.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function Mue(){this.ws[qq].socket.resume()}function Oue(t){let e,r;t instanceof _ue?(e=t.reason,r=t.code):e=t.message,Gq("error",this,()=>new Due("error",{error:t,message:e})),Hq(this,r)}$q.exports={WebSocket:ns}});var nx=h((EOe,Jq)=>{"use strict";function Fue(t){return t.indexOf("\0")===-1}function Uue(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}function que(t){return new Promise(e=>{setTimeout(e,t).unref()})}Jq.exports={isValidLastEventId:Fue,isASCIINumber:Uue,delay:que}});var Xq=h((yOe,Kq)=>{"use strict";var{Transform:Gue}=require("node:stream"),{isASCIINumber:Wq,isValidLastEventId:jq}=nx(),$i=[239,187,191],ix=10,Wf=13,Hue=58,zue=32,ox=class extends Gue{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,s){if(e.length===0){s();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===$i[0]){s();return}this.checkBOM=!1,s();return;case 2:if(this.buffer[0]===$i[0]&&this.buffer[1]===$i[1]){s();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===$i[0]&&this.buffer[1]===$i[1]&&this.buffer[2]===$i[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,s();return}this.checkBOM=!1;break;default:this.buffer[0]===$i[0]&&this.buffer[1]===$i[1]&&this.buffer[2]===$i[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos<this.buffer.length;){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===ix){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===ix||this.buffer[this.pos]===Wf){this.buffer[this.pos]===Wf&&(this.crlfCheck=!0),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,(this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===ix||this.buffer[this.pos]===Wf){this.buffer[this.pos]===Wf&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}s()}parseLine(e,r){if(e.length===0)return;let s=e.indexOf(Hue);if(s===0)return;let n="",i="";if(s!==-1){n=e.subarray(0,s).toString("utf8");let o=s+1;e[o]===zue&&++o,i=e.subarray(o).toString("utf8")}else n=e.toString("utf8"),i="";switch(n){case"data":r[n]===void 0?r[n]=i:r[n]+=`
${i}`;break;case"retry":Wq(i)&&(r[n]=i);break;case"id":jq(i)&&(r[n]=i);break;case"event":i.length>0&&(r[n]=i);break}}processEvent(e){e.retry&&Wq(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&jq(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};Kq.exports={EventSourceStream:ox}});var oG=h((COe,iG)=>{"use strict";var{pipeline:Vue}=require("node:stream"),{fetching:$ue}=sd(),{makeRequest:Yue}=Rl(),{webidl:Yi}=Yt(),{EventSourceStream:Jue}=Xq(),{parseMIMEType:Wue}=Rr(),{createFastMessageEvent:jue}=_l(),{isNetworkError:Zq}=td(),{delay:Kue}=nx(),{kEnumerableProperty:za}=pe(),{environmentSettingsObject:eG}=Wr(),tG=!1,rG=3e3,gd=0,sG=1,Ed=2,Xue="anonymous",Zue="use-credentials",Ul=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#r=!1;#i=gd;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Yi.util.markAsUncloneable(this);let s="EventSource constructor";Yi.argumentLengthCheck(arguments,1,s),tG||(tG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Yi.converters.USVString(e,s,"url"),r=Yi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:rG};let n=eG,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(c){throw new DOMException(c,"SyntaxError")}this.#t=i.href;let o=Xue;r.withCredentials&&(o=Zue,this.#r=!0);let a={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=eG.settingsObject,a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],a.cache="no-store",a.initiator="other",a.urlList=[new URL(this.#t)],this.#n=Yue(a),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Ed)return;this.#i=gd;let e={request:this.#n,dispatcher:this.#o},r=s=>{Zq(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()};e.processResponseEndOfBody=r,e.processResponse=s=>{if(Zq(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?Wue(n):"failure",o=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=sG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let a=new Jue({eventSourceSettings:this.#a,push:c=>{this.dispatchEvent(jue(c.type,c.options))}});Vue(s.body.stream,a,c=>{c?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=$ue(e)}async#c(){this.#i!==Ed&&(this.#i=gd,this.dispatchEvent(new Event("error")),await Kue(this.#a.reconnectionTime),this.#i===gd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Yi.brandCheck(this,t),this.#i!==Ed&&(this.#i=Ed,this.#s.abort(),this.#n=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},nG={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:gd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:sG,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Ed,writable:!1}};Object.defineProperties(Ul,nG);Object.defineProperties(Ul.prototype,nG);Object.defineProperties(Ul.prototype,{close:za,onerror:za,onmessage:za,onopen:za,readyState:za,url:za,withCredentials:za});Yi.converters.EventSourceInitDict=Yi.dictionaryConverter([{key:"withCredentials",converter:Yi.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Yi.converters.any}]);iG.exports={EventSource:Ul,defaultReconnectionTime:rG}});var Gl=h((IOe,ee)=>{"use strict";var eAe=ml(),aG=IA(),tAe=hl(),rAe=nF(),sAe=fl(),nAe=Rb(),iAe=SF(),oAe=DF(),cG=be(),Kf=pe(),{InvalidArgumentError:jf}=cG,ql=CU(),aAe=wA(),cAe=uQ(),lAe=r2(),uAe=pQ(),AAe=Kb(),dAe=Xh(),{getGlobalDispatcher:lG,setGlobalDispatcher:pAe}=lf(),mAe=uf(),hAe=qh(),fAe=Gh();Object.assign(aG.prototype,ql);ee.exports.Dispatcher=aG;ee.exports.Client=eAe;ee.exports.Pool=tAe;ee.exports.BalancedPool=rAe;ee.exports.Agent=sAe;ee.exports.ProxyAgent=nAe;ee.exports.EnvHttpProxyAgent=iAe;ee.exports.RetryAgent=oAe;ee.exports.RetryHandler=dAe;ee.exports.DecoratorHandler=mAe;ee.exports.RedirectHandler=hAe;ee.exports.createRedirectInterceptor=fAe;ee.exports.interceptors={redirect:l2(),retry:A2(),dump:p2(),dns:f2()};ee.exports.buildConnector=aAe;ee.exports.errors=cG;ee.exports.util={parseHeaders:Kf.parseHeaders,headerNameToString:Kf.headerNameToString};function yd(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new jf("invalid url");if(r!=null&&typeof r!="object")throw new jf("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new jf("invalid opts.path");let o=r.path;r.path.startsWith("/")||(o=`/${o}`),e=new URL(Kf.parseOrigin(e).origin+o)}else r||(r=typeof e=="object"?e:{}),e=Kf.parseURL(e);let{agent:n,dispatcher:i=lG()}=r;if(n)throw new jf("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}ee.exports.setGlobalDispatcher=pAe;ee.exports.getGlobalDispatcher=lG;var gAe=sd().fetch;ee.exports.fetch=async function(e,r=void 0){try{return await gAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}};ee.exports.Headers=Ma().Headers;ee.exports.Response=td().Response;ee.exports.Request=Rl().Request;ee.exports.FormData=TA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=P1().FileReader;var{setGlobalOrigin:EAe,getGlobalOrigin:yAe}=Tw();ee.exports.setGlobalOrigin=EAe;ee.exports.getGlobalOrigin=yAe;var{CacheStorage:CAe}=q1(),{kConstruct:IAe}=vf();ee.exports.caches=new CAe(IAe);var{deleteCookie:BAe,getCookies:wAe,getSetCookies:bAe,setCookie:QAe}=Z1();ee.exports.deleteCookie=BAe;ee.exports.getCookies=wAe;ee.exports.getSetCookies=bAe;ee.exports.setCookie=QAe;var{parseMIMEType:xAe,serializeAMimeType:NAe}=Rr();ee.exports.parseMIMEType=xAe;ee.exports.serializeAMimeType=NAe;var{CloseEvent:SAe,ErrorEvent:RAe,MessageEvent:TAe}=_l();ee.exports.WebSocket=Yq().WebSocket;ee.exports.CloseEvent=SAe;ee.exports.ErrorEvent=RAe;ee.exports.MessageEvent=TAe;ee.exports.request=yd(ql.request);ee.exports.stream=yd(ql.stream);ee.exports.pipeline=yd(ql.pipeline);ee.exports.connect=yd(ql.connect);ee.exports.upgrade=yd(ql.upgrade);ee.exports.MockClient=cAe;ee.exports.MockPool=uAe;ee.exports.MockAgent=lAe;ee.exports.mockErrors=AAe;var{EventSource:vAe}=oG();ee.exports.EventSource=vAe});var Rd=h((NFe,HG)=>{"use strict";var rde="2.0.0",sde=Number.MAX_SAFE_INTEGER||9007199254740991,nde=16,ide=250,ode=["major","premajor","minor","preminor","patch","prepatch","prerelease"];HG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:nde,MAX_SAFE_BUILD_LENGTH:ide,MAX_SAFE_INTEGER:sde,RELEASE_TYPES:ode,SEMVER_SPEC_VERSION:rde,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Td=h((SFe,zG)=>{"use strict";var ade=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};zG.exports=ade});var Jl=h((zn,VG)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:vx,MAX_SAFE_BUILD_LENGTH:cde,MAX_LENGTH:lde}=Rd(),ude=Td();zn=VG.exports={};var Ade=zn.re=[],dde=zn.safeRe=[],D=zn.src=[],pde=zn.safeSrc=[],_=zn.t={},mde=0,Px="[a-zA-Z0-9-]",hde=[["\\s",1],["\\d",lde],[Px,cde]],fde=t=>{for(let[e,r]of hde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},ne=(t,e,r)=>{let s=fde(e),n=mde++;ude(t,n,e),_[t]=n,D[n]=e,pde[n]=s,Ade[n]=new RegExp(e,r?"g":void 0),dde[n]=new RegExp(s,r?"g":void 0)};ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Px}*`);ne("MAINVERSION",`(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${D[_.PRERELEASEIDENTIFIER]}(?:\\.${D[_.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${D[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[_.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${Px}+`);ne("BUILD",`(?:\\+(${D[_.BUILDIDENTIFIER]}(?:\\.${D[_.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${D[_.MAINVERSION]}${D[_.PRERELEASE]}?${D[_.BUILD]}?`);ne("FULL",`^${D[_.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${D[_.MAINVERSIONLOOSE]}${D[_.PRERELEASELOOSE]}?${D[_.BUILD]}?`);ne("LOOSE",`^${D[_.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${D[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${D[_.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:${D[_.PRERELEASE]})?${D[_.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:${D[_.PRERELEASELOOSE]})?${D[_.BUILD]}?)?)?`);ne("XRANGE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${vx}})(?:\\.(\\d{1,${vx}}))?(?:\\.(\\d{1,${vx}}))?`);ne("COERCE",`${D[_.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",D[_.COERCEPLAIN]+`(?:${D[_.PRERELEASE]})?(?:${D[_.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",D[_.COERCE],!0);ne("COERCERTLFULL",D[_.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${D[_.LONETILDE]}\\s+`,!0);zn.tildeTrimReplace="$1~";ne("TILDE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${D[_.LONECARET]}\\s+`,!0);zn.caretTrimReplace="$1^";ne("CARET",`^${D[_.LONECARET]}${D[_.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${D[_.LONECARET]}${D[_.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${D[_.GTLT]}\\s*(${D[_.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]}|${D[_.XRANGEPLAIN]})`,!0);zn.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${D[_.XRANGEPLAIN]})\\s+-\\s+(${D[_.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${D[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[_.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var sg=h((RFe,$G)=>{"use strict";var gde=Object.freeze({loose:!0}),Ede=Object.freeze({}),yde=t=>t?typeof t!="object"?gde:t:Ede;$G.exports=yde});var kx=h((TFe,WG)=>{"use strict";var YG=/^[0-9]+$/,JG=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=YG.test(t),s=YG.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},Cde=(t,e)=>JG(e,t);WG.exports={compareIdentifiers:JG,rcompareIdentifiers:Cde}});var tr=h((vFe,KG)=>{"use strict";var ng=Td(),{MAX_LENGTH:jG,MAX_SAFE_INTEGER:ig}=Rd(),{safeRe:og,t:ag}=Jl(),Ide=sg(),{compareIdentifiers:Dx}=kx(),_x=class t{constructor(e,r){if(r=Ide(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>jG)throw new TypeError(`version is longer than ${jG} characters`);ng("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?og[ag.LOOSE]:og[ag.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>ig||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ig||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ig||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<ig)return i}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(ng("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(ng("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Dx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(ng("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Dx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?og[ag.PRERELEASELOOSE]:og[ag.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),Dx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};KG.exports=_x});var ja=h((PFe,ZG)=>{"use strict";var XG=tr(),Bde=(t,e,r=!1)=>{if(t instanceof XG)return t;try{return new XG(t,e)}catch(s){if(!r)return null;throw s}};ZG.exports=Bde});var tH=h((kFe,eH)=>{"use strict";var wde=ja(),bde=(t,e)=>{let r=wde(t,e);return r?r.version:null};eH.exports=bde});var sH=h((DFe,rH)=>{"use strict";var Qde=ja(),xde=(t,e)=>{let r=Qde(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};rH.exports=xde});var oH=h((_Fe,iH)=>{"use strict";var nH=tr(),Nde=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new nH(t instanceof nH?t.version:t,r).inc(e,s,n).version}catch{return null}};iH.exports=Nde});var lH=h((LFe,cH)=>{"use strict";var aH=ja(),Sde=(t,e)=>{let r=aH(t,null,!0),s=aH(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};cH.exports=Sde});var AH=h((MFe,uH)=>{"use strict";var Rde=tr(),Tde=(t,e)=>new Rde(t,e).major;uH.exports=Tde});var pH=h((OFe,dH)=>{"use strict";var vde=tr(),Pde=(t,e)=>new vde(t,e).minor;dH.exports=Pde});var hH=h((FFe,mH)=>{"use strict";var kde=tr(),Dde=(t,e)=>new kde(t,e).patch;mH.exports=Dde});var gH=h((UFe,fH)=>{"use strict";var _de=ja(),Lde=(t,e)=>{let r=_de(t,e);return r&&r.prerelease.length?r.prerelease:null};fH.exports=Lde});var vs=h((qFe,yH)=>{"use strict";var EH=tr(),Mde=(t,e,r)=>new EH(t,r).compare(new EH(e,r));yH.exports=Mde});var IH=h((GFe,CH)=>{"use strict";var Ode=vs(),Fde=(t,e,r)=>Ode(e,t,r);CH.exports=Fde});var wH=h((HFe,BH)=>{"use strict";var Ude=vs(),qde=(t,e)=>Ude(t,e,!0);BH.exports=qde});var cg=h((zFe,QH)=>{"use strict";var bH=tr(),Gde=(t,e,r)=>{let s=new bH(t,r),n=new bH(e,r);return s.compare(n)||s.compareBuild(n)};QH.exports=Gde});var NH=h((VFe,xH)=>{"use strict";var Hde=cg(),zde=(t,e)=>t.sort((r,s)=>Hde(r,s,e));xH.exports=zde});var RH=h(($Fe,SH)=>{"use strict";var Vde=cg(),$de=(t,e)=>t.sort((r,s)=>Vde(s,r,e));SH.exports=$de});var vd=h((YFe,TH)=>{"use strict";var Yde=vs(),Jde=(t,e,r)=>Yde(t,e,r)>0;TH.exports=Jde});var lg=h((JFe,vH)=>{"use strict";var Wde=vs(),jde=(t,e,r)=>Wde(t,e,r)<0;vH.exports=jde});var Lx=h((WFe,PH)=>{"use strict";var Kde=vs(),Xde=(t,e,r)=>Kde(t,e,r)===0;PH.exports=Xde});var Mx=h((jFe,kH)=>{"use strict";var Zde=vs(),epe=(t,e,r)=>Zde(t,e,r)!==0;kH.exports=epe});var ug=h((KFe,DH)=>{"use strict";var tpe=vs(),rpe=(t,e,r)=>tpe(t,e,r)>=0;DH.exports=rpe});var Ag=h((XFe,_H)=>{"use strict";var spe=vs(),npe=(t,e,r)=>spe(t,e,r)<=0;_H.exports=npe});var Ox=h((ZFe,LH)=>{"use strict";var ipe=Lx(),ope=Mx(),ape=vd(),cpe=ug(),lpe=lg(),upe=Ag(),Ape=(t,e,r,s)=>{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 ipe(t,r,s);case"!=":return ope(t,r,s);case">":return ape(t,r,s);case">=":return cpe(t,r,s);case"<":return lpe(t,r,s);case"<=":return upe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};LH.exports=Ape});var OH=h((eUe,MH)=>{"use strict";var dpe=tr(),ppe=ja(),{safeRe:dg,t:pg}=Jl(),mpe=(t,e)=>{if(t instanceof dpe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?dg[pg.COERCEFULL]:dg[pg.COERCE]);else{let c=e.includePrerelease?dg[pg.COERCERTLFULL]:dg[pg.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return ppe(`${s}.${n}.${i}${o}${a}`,e)};MH.exports=mpe});var UH=h((tUe,FH)=>{"use strict";var Fx=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};FH.exports=Fx});var Ps=h((rUe,zH)=>{"use strict";var hpe=/\s+/g,Ux=class t{constructor(e,r){if(r=gpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof qx)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(hpe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!GH(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&bpe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&Bpe)|(this.options.loose&&wpe))+":"+e,n=qH.get(s);if(n)return n;let i=this.options.loose,o=i?pr[rr.HYPHENRANGELOOSE]:pr[rr.HYPHENRANGE];e=e.replace(o,Dpe(this.options.includePrerelease)),Ue("hyphen replace",e),e=e.replace(pr[rr.COMPARATORTRIM],ype),Ue("comparator trim",e),e=e.replace(pr[rr.TILDETRIM],Cpe),Ue("tilde trim",e),e=e.replace(pr[rr.CARETTRIM],Ipe),Ue("caret trim",e);let a=e.split(" ").map(A=>Qpe(A,this.options)).join(" ").split(/\s+/).map(A=>kpe(A,this.options));i&&(a=a.filter(A=>(Ue("loose invalid filter",A,this.options),!!A.match(pr[rr.COMPARATORLOOSE])))),Ue("range list",a);let c=new Map,l=a.map(A=>new qx(A,this.options));for(let A of l){if(GH(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return qH.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>HH(s,r)&&e.set.some(n=>HH(n,r)&&s.every(i=>n.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Epe(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(_pe(this.set[r],e,this.options))return!0;return!1}};zH.exports=Ux;var fpe=UH(),qH=new fpe,gpe=sg(),qx=Pd(),Ue=Td(),Epe=tr(),{safeRe:pr,t:rr,comparatorTrimReplace:ype,tildeTrimReplace:Cpe,caretTrimReplace:Ipe}=Jl(),{FLAG_INCLUDE_PRERELEASE:Bpe,FLAG_LOOSE:wpe}=Rd(),GH=t=>t.value==="<0.0.0-0",bpe=t=>t.value==="",HH=(t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},Qpe=(t,e)=>(t=t.replace(pr[rr.BUILD],""),Ue("comp",t,e),t=Spe(t,e),Ue("caret",t),t=xpe(t,e),Ue("tildes",t),t=Tpe(t,e),Ue("xrange",t),t=Ppe(t,e),Ue("stars",t),t),mr=t=>!t||t.toLowerCase()==="x"||t==="*",xpe=(t,e)=>t.trim().split(/\s+/).map(r=>Npe(r,e)).join(" "),Npe=(t,e)=>{let r=e.loose?pr[rr.TILDELOOSE]:pr[rr.TILDE];return t.replace(r,(s,n,i,o,a)=>{Ue("tilde",t,s,n,i,o,a);let c;return mr(n)?c="":mr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:mr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(Ue("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,Ue("tilde return",c),c})},Spe=(t,e)=>t.trim().split(/\s+/).map(r=>Rpe(r,e)).join(" "),Rpe=(t,e)=>{Ue("caret",t,e);let r=e.loose?pr[rr.CARETLOOSE]:pr[rr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{Ue("caret",t,n,i,o,a,c);let l;return mr(i)?l="":mr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:mr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(Ue("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(Ue("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),Ue("caret return",l),l})},Tpe=(t,e)=>(Ue("replaceXRanges",t,e),t.split(/\s+/).map(r=>vpe(r,e)).join(" ")),vpe=(t,e)=>{t=t.trim();let r=e.loose?pr[rr.XRANGELOOSE]:pr[rr.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{Ue("xRange",t,s,n,i,o,a,c);let l=mr(i),u=l||mr(o),A=u||mr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),Ue("xRange return",s),s})},Ppe=(t,e)=>(Ue("replaceStars",t,e),t.trim().replace(pr[rr.STAR],"")),kpe=(t,e)=>(Ue("replaceGTE0",t,e),t.trim().replace(pr[e.includePrerelease?rr.GTE0PRE:rr.GTE0],"")),Dpe=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(mr(s)?r="":mr(n)?r=`>=${s}.0.0${t?"-0":""}`:mr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,mr(l)?c="":mr(u)?c=`<${+l+1}.0.0-0`:mr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),_pe=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(Ue(t[s].semver),t[s].semver!==qx.ANY&&t[s].semver.prerelease.length>0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Pd=h((sUe,jH)=>{"use strict";var kd=Symbol("SemVer ANY"),zx=class t{static get ANY(){return kd}constructor(e,r){if(r=VH(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Hx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===kd?this.value="":this.value=this.operator+this.semver.version,Hx("comp",this)}parse(e){let r=this.options.loose?$H[YH.COMPARATORLOOSE]:$H[YH.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new JH(s[2],this.options.loose):this.semver=kd}toString(){return this.value}test(e){if(Hx("Comparator.test",e,this.options.loose),this.semver===kd||e===kd)return!0;if(typeof e=="string")try{e=new JH(e,this.options)}catch{return!1}return Gx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new WH(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new WH(this.value,r).test(e.semver):(r=VH(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Gx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Gx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};jH.exports=zx;var VH=sg(),{safeRe:$H,t:YH}=Jl(),Gx=Ox(),Hx=Td(),JH=tr(),WH=Ps()});var Dd=h((nUe,KH)=>{"use strict";var Lpe=Ps(),Mpe=(t,e,r)=>{try{e=new Lpe(e,r)}catch{return!1}return e.test(t)};KH.exports=Mpe});var ZH=h((iUe,XH)=>{"use strict";var Ope=Ps(),Fpe=(t,e)=>new Ope(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));XH.exports=Fpe});var tz=h((oUe,ez)=>{"use strict";var Upe=tr(),qpe=Ps(),Gpe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new qpe(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new Upe(s,r))}),s};ez.exports=Gpe});var sz=h((aUe,rz)=>{"use strict";var Hpe=tr(),zpe=Ps(),Vpe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new zpe(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new Hpe(s,r))}),s};rz.exports=Vpe});var oz=h((cUe,iz)=>{"use strict";var Vx=tr(),$pe=Ps(),nz=vd(),Ype=(t,e)=>{t=new $pe(t,e);let r=new Vx("0.0.0");if(t.test(r)||(r=new Vx("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let n=t.set[s],i=null;n.forEach(o=>{let a=new Vx(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||nz(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||nz(r,i))&&(r=i)}return r&&t.test(r)?r:null};iz.exports=Ype});var cz=h((lUe,az)=>{"use strict";var Jpe=Ps(),Wpe=(t,e)=>{try{return new Jpe(t,e).range||"*"}catch{return null}};az.exports=Wpe});var mg=h((uUe,dz)=>{"use strict";var jpe=tr(),Az=Pd(),{ANY:Kpe}=Az,Xpe=Ps(),Zpe=Dd(),lz=vd(),uz=lg(),eme=Ag(),tme=ug(),rme=(t,e,r,s)=>{t=new jpe(t,s),e=new Xpe(e,s);let n,i,o,a,c;switch(r){case">":n=lz,i=eme,o=uz,a=">",c=">=";break;case"<":n=uz,i=tme,o=lz,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Zpe(t,e,s))return!1;for(let l=0;l<e.set.length;++l){let u=e.set[l],A=null,d=null;if(u.forEach(p=>{p.semver===Kpe&&(p=new Az(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};dz.exports=rme});var mz=h((AUe,pz)=>{"use strict";var sme=mg(),nme=(t,e,r)=>sme(t,e,">",r);pz.exports=nme});var fz=h((dUe,hz)=>{"use strict";var ime=mg(),ome=(t,e,r)=>ime(t,e,"<",r);hz.exports=ome});var yz=h((pUe,Ez)=>{"use strict";var gz=Ps(),ame=(t,e,r)=>(t=new gz(t,r),e=new gz(e,r),t.intersects(e,r));Ez.exports=ame});var Iz=h((mUe,Cz)=>{"use strict";var cme=Dd(),lme=vs();Cz.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>lme(u,A,r));for(let u of o)cme(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e}});var Nz=h((hUe,xz)=>{"use strict";var Bz=Ps(),Yx=Pd(),{ANY:$x}=Yx,_d=Dd(),Jx=vs(),ume=(t,e,r={})=>{if(t===e)return!0;t=new Bz(t,r),e=new Bz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=dme(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},Ame=[new Yx(">=0.0.0-0")],wz=[new Yx(">=0.0.0")],dme=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===$x){if(e.length===1&&e[0].semver===$x)return!0;r.includePrerelease?t=Ame:t=wz}if(e.length===1&&e[0].semver===$x){if(r.includePrerelease)return!0;e=wz}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=bz(n,p,r):p.operator==="<"||p.operator==="<="?i=Qz(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=Jx(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!_d(p,String(n),r)||i&&!_d(p,String(i),r))return null;for(let m of e)if(!_d(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=bz(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!_d(n.semver,String(p),r))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=Qz(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!_d(i.semver,String(p),r))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},bz=(t,e,r)=>{if(!t)return e;let s=Jx(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},Qz=(t,e,r)=>{if(!t)return e;let s=Jx(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};xz.exports=ume});var jx=h((fUe,Tz)=>{"use strict";var Wx=Jl(),Sz=Rd(),pme=tr(),Rz=kx(),mme=ja(),hme=tH(),fme=sH(),gme=oH(),Eme=lH(),yme=AH(),Cme=pH(),Ime=hH(),Bme=gH(),wme=vs(),bme=IH(),Qme=wH(),xme=cg(),Nme=NH(),Sme=RH(),Rme=vd(),Tme=lg(),vme=Lx(),Pme=Mx(),kme=ug(),Dme=Ag(),_me=Ox(),Lme=OH(),Mme=Pd(),Ome=Ps(),Fme=Dd(),Ume=ZH(),qme=tz(),Gme=sz(),Hme=oz(),zme=cz(),Vme=mg(),$me=mz(),Yme=fz(),Jme=yz(),Wme=Iz(),jme=Nz();Tz.exports={parse:mme,valid:hme,clean:fme,inc:gme,diff:Eme,major:yme,minor:Cme,patch:Ime,prerelease:Bme,compare:wme,rcompare:bme,compareLoose:Qme,compareBuild:xme,sort:Nme,rsort:Sme,gt:Rme,lt:Tme,eq:vme,neq:Pme,gte:kme,lte:Dme,cmp:_me,coerce:Lme,Comparator:Mme,Range:Ome,satisfies:Fme,toComparators:Ume,maxSatisfying:qme,minSatisfying:Gme,minVersion:Hme,validRange:zme,outside:Vme,gtr:$me,ltr:Yme,intersects:Jme,simplifyRange:Wme,subset:jme,SemVer:pme,re:Wx.re,src:Wx.src,tokens:Wx.t,SEMVER_SPEC_VERSION:Sz.SEMVER_SPEC_VERSION,RELEASE_TYPES:Sz.RELEASE_TYPES,compareIdentifiers:Rz.compareIdentifiers,rcompareIdentifiers:Rz.rcompareIdentifiers}});var Wz=h((s2e,Jz)=>{Jz.exports=function(t,e){for(var r=[],s=0;s<t.length;s++){var n=e(t[s],s);hhe(n)?r.push.apply(r,n):r.push(n)}return r};var hhe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var eV=h((n2e,Zz)=>{"use strict";Zz.exports=Kz;function Kz(t,e,r){t instanceof RegExp&&(t=jz(t,r)),e instanceof RegExp&&(e=jz(e,r));var s=Xz(t,e,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+t.length,s[1]),post:r.slice(s[1]+e.length)}}function jz(t,e){var r=e.match(t);return r?r[0]:null}Kz.range=Xz;function Xz(t,e,r){var s,n,i,o,a,c=r.indexOf(t),l=r.indexOf(e,c+1),u=c;if(c>=0&&l>0){if(t===e)return[c,l];for(s=[],i=r.length;u>=0&&!a;)u==c?(s.push(u),c=r.indexOf(t,u+1)):s.length==1?a=[s.pop(),l]:(n=s.pop(),n<i&&(i=n,o=l),l=r.indexOf(e,u+1)),u=c<l&&c>=0?c:l;s.length&&(a=[i,o])}return a}});var cV=h((i2e,aV)=>{var fhe=Wz(),tV=eV();aV.exports=yhe;var rV="\0SLASH"+Math.random()+"\0",sV="\0OPEN"+Math.random()+"\0",l0="\0CLOSE"+Math.random()+"\0",nV="\0COMMA"+Math.random()+"\0",iV="\0PERIOD"+Math.random()+"\0";function c0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function ghe(t){return t.split("\\\\").join(rV).split("\\{").join(sV).split("\\}").join(l0).split("\\,").join(nV).split("\\.").join(iV)}function Ehe(t){return t.split(rV).join("\\").split(sV).join("{").split(l0).join("}").split(nV).join(",").split(iV).join(".")}function oV(t){if(!t)return[""];var e=[],r=tV("{","}",t);if(!r)return t.split(",");var s=r.pre,n=r.body,i=r.post,o=s.split(",");o[o.length-1]+="{"+n+"}";var a=oV(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function yhe(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),jl(ghe(t),r,!0).map(Ehe)}function Che(t){return"{"+t+"}"}function Ihe(t){return/^-?0\d/.test(t)}function Bhe(t,e){return t<=e}function whe(t,e){return t>=e}function jl(t,e,r){var s=[],n=tV("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||o,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+l0+n.post,jl(t,e,!0)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=oV(n.body),l.length===1&&(l=jl(l[0],e,!1).map(Che),l.length===1)){var A=n.post.length?jl(n.post,e,!1):[""];return A.map(function(se){return n.pre+l[0]+se})}var u=n.pre,A=n.post.length?jl(n.post,e,!1):[""],d;if(a){var p=c0(l[0]),m=c0(l[1]),f=Math.max(l[0].length,l[1].length),y=l.length==3?Math.max(Math.abs(c0(l[2])),1):1,g=Bhe,E=m<p;E&&(y*=-1,g=whe);var C=l.some(Ihe);d=[];for(var I=p;g(I,m);I+=y){var x;if(o)x=String.fromCharCode(I),x==="\\"&&(x="");else if(x=String(I),C){var k=f-x.length;if(k>0){var U=new Array(k+1).join("0");I<0?x="-"+U+x.slice(1):x=U+x}}d.push(x)}}else d=fhe(l,function(V){return jl(V,e,!1)});for(var de=0;de<d.length;de++)for(var we=0;we<A.length&&s.length<e;we++){var Se=u+d[de]+A[we];(!r||a||Se)&&s.push(Se)}return s}});var mV=h((o2e,pV)=>{pV.exports=as;as.Minimatch=Jt;var qd=(function(){try{return require("path")}catch{}})()||{sep:"/"};as.sep=qd.sep;var d0=as.GLOBSTAR=Jt.GLOBSTAR={},bhe=cV(),lV={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},u0="[^/]",A0=u0+"*?",Qhe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",xhe="(?:(?!(?:\\/|^)\\.).)*?",uV=Nhe("().*{}+?[]^$\\!");function Nhe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var AV=/\/+/;as.filter=She;function She(t,e){return e=e||{},function(r,s,n){return as(r,t,e)}}function Vo(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(s){r[s]=t[s]}),Object.keys(e).forEach(function(s){r[s]=e[s]}),r}as.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return as;var e=as,r=function(n,i,o){return e(n,i,Vo(t,o))};return r.Minimatch=function(n,i){return new e.Minimatch(n,Vo(t,i))},r.Minimatch.defaults=function(n){return e.defaults(Vo(t,n)).Minimatch},r.filter=function(n,i){return e.filter(n,Vo(t,i))},r.defaults=function(n){return e.defaults(Vo(t,n))},r.makeRe=function(n,i){return e.makeRe(n,Vo(t,i))},r.braceExpand=function(n,i){return e.braceExpand(n,Vo(t,i))},r.match=function(s,n,i){return e.match(s,n,Vo(t,i))},r};Jt.defaults=function(t){return as.defaults(t).Minimatch};function as(t,e,r){return bg(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Jt(e,r).match(t)}function Jt(t,e){if(!(this instanceof Jt))return new Jt(t,e);bg(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&qd.sep!=="/"&&(t=t.split(qd.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()}Jt.prototype.debug=function(){};Jt.prototype.make=Rhe;function Rhe(){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(s){return s.split(AV)}),this.debug(this.pattern,r),r=r.map(function(s,n,i){return s.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}Jt.prototype.parseNegate=The;function The(){var t=this.pattern,e=!1,r=this.options,s=0;if(!r.nonegate){for(var n=0,i=t.length;n<i&&t.charAt(n)==="!";n++)e=!e,s++;s&&(this.pattern=t.substr(s)),this.negate=e}}as.braceExpand=function(t,e){return dV(t,e)};Jt.prototype.braceExpand=dV;function dV(t,e){return e||(this instanceof Jt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,bg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:bhe(t)}var vhe=1024*64,bg=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>vhe)throw new TypeError("pattern is too long")};Jt.prototype.parse=Phe;var wg={};function Phe(t,e){bg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return d0;if(t==="")return"";var s="",n=!!r.nocase,i=!1,o=[],a=[],c,l=!1,u=-1,A=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function m(){if(c){switch(c){case"*":s+=A0,n=!0;break;case"?":s+=u0,n=!0;break;default:s+="\\"+c;break}p.debug("clearStateChar %j %j",c,s),c=!1}}for(var f=0,y=t.length,g;f<y&&(g=t.charAt(f));f++){if(this.debug("%s %s %s %j",t,f,s,g),i&&uV[g]){s+="\\"+g,i=!1;continue}switch(g){case"/":return!1;case"\\":m(),i=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,f,s,g),l){this.debug(" in class"),g==="!"&&f===A+1&&(g="^"),s+=g;continue}p.debug("call clearStateChar %j",c),m(),c=g,r.noext&&m();continue;case"(":if(l){s+="(";continue}if(!c){s+="\\(";continue}o.push({type:c,start:f-1,reStart:s.length,open:lV[c].open,close:lV[c].close}),s+=c==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",c,s),c=!1;continue;case")":if(l||!o.length){s+="\\)";continue}m(),n=!0;var E=o.pop();s+=E.close,E.type==="!"&&a.push(E),E.reEnd=s.length;continue;case"|":if(l||!o.length||i){s+="\\|",i=!1;continue}m(),s+="|";continue;case"[":if(m(),l){s+="\\"+g;continue}l=!0,A=f,u=s.length,s+=g;continue;case"]":if(f===A+1||!l){s+="\\"+g,i=!1;continue}var C=t.substring(A+1,f);try{RegExp("["+C+"]")}catch{var I=this.parse(C,wg);s=s.substr(0,u)+"\\["+I[0]+"\\]",n=n||I[1],l=!1;continue}n=!0,l=!1,s+=g;continue;default:m(),i?i=!1:uV[g]&&!(g==="^"&&l)&&(s+="\\"),s+=g}}for(l&&(C=t.substr(A+1),I=this.parse(C,wg),s=s.substr(0,u)+"\\["+I[0],n=n||I[1]),E=o.pop();E;E=o.pop()){var x=s.slice(E.reStart+E.open.length);this.debug("setting tail",s,E),x=x.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Tn,Ea,Vc){return Vc||(Vc="\\"),Ea+Ea+Vc+"|"}),this.debug(`tail=%j
%s`,x,x,E,s);var k=E.type==="*"?A0:E.type==="?"?u0:"\\"+E.type;n=!0,s=s.slice(0,E.reStart)+k+"\\("+x}m(),i&&(s+="\\\\");var U=!1;switch(s.charAt(0)){case"[":case".":case"(":U=!0}for(var de=a.length-1;de>-1;de--){var we=a[de],Se=s.slice(0,we.reStart),V=s.slice(we.reStart,we.reEnd-8),se=s.slice(we.reEnd-8,we.reEnd),q=s.slice(we.reEnd);se+=q;var Ee=Se.split("(").length-1,bt=q;for(f=0;f<Ee;f++)bt=bt.replace(/\)[+*?]?/,"");q=bt;var Ke="";q===""&&e!==wg&&(Ke="$");var ut=Se+V+q+Ke+se;s=ut}if(s!==""&&n&&(s="(?=.)"+s),U&&(s=d+s),e===wg)return[s,n];if(!n)return Dhe(t);var Pi=r.nocase?"i":"";try{var Jr=new RegExp("^"+s+"$",Pi)}catch{return new RegExp("$.")}return Jr._glob=t,Jr._src=s,Jr}as.makeRe=function(t,e){return new Jt(t,e||{}).makeRe()};Jt.prototype.makeRe=khe;function khe(){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?A0:e.dot?Qhe:xhe,s=e.nocase?"i":"",n=t.map(function(i){return i.map(function(o){return o===d0?r:typeof o=="string"?_he(o):o._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,s)}catch{this.regexp=!1}return this.regexp}as.match=function(t,e,r){r=r||{};var s=new Jt(e,r);return t=t.filter(function(n){return s.match(n)}),s.options.nonull&&!t.length&&t.push(e),t};Jt.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 s=this.options;qd.sep!=="/"&&(e=e.split(qd.sep).join("/")),e=e.split(AV),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,o;for(o=e.length-1;o>=0&&(i=e[o],!i);o--);for(o=0;o<n.length;o++){var a=n[o],c=e;s.matchBase&&a.length===1&&(c=[i]);var l=this.matchOne(c,a,r);if(l)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate};Jt.prototype.matchOne=function(t,e,r){var s=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var n=0,i=0,o=t.length,a=e.length;n<o&&i<a;n++,i++){this.debug("matchOne loop");var c=e[i],l=t[n];if(this.debug(e,c,l),c===!1)return!1;if(c===d0){this.debug("GLOBSTAR",[e,c,l]);var u=n,A=i+1;if(A===a){for(this.debug("** at the end");n<o;n++)if(t[n]==="."||t[n]===".."||!s.dot&&t[n].charAt(0)===".")return!1;return!0}for(;u<o;){var d=t[u];if(this.debug(`
globstar while`,t,u,e,A,d),this.matchOne(t.slice(u),e.slice(A),r))return this.debug("globstar found match!",u,o,d),!0;if(d==="."||d===".."||!s.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,u,e,A);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,u,e,A),u===o))}var p;if(typeof c=="string"?(p=l===c,this.debug("string match",c,l,p)):(p=l.match(c),this.debug("pattern match",c,l,p)),!p)return!1}if(n===o&&i===a)return!0;if(n===o)return r;if(i===a)return n===o-1&&t[n]==="";throw new Error("wtf?")};function Dhe(t){return t.replace(/\\(.)/g,"$1")}function _he(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var zd=h((I2e,EV)=>{"use strict";var Hhe="2.0.0",zhe=Number.MAX_SAFE_INTEGER||9007199254740991,Vhe=16,$he=250,Yhe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];EV.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Vhe,MAX_SAFE_BUILD_LENGTH:$he,MAX_SAFE_INTEGER:zhe,RELEASE_TYPES:Yhe,SEMVER_SPEC_VERSION:Hhe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Vd=h((B2e,yV)=>{"use strict";var Jhe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};yV.exports=Jhe});var eu=h(($n,CV)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:m0,MAX_SAFE_BUILD_LENGTH:Whe,MAX_LENGTH:jhe}=zd(),Khe=Vd();$n=CV.exports={};var Xhe=$n.re=[],Zhe=$n.safeRe=[],L=$n.src=[],efe=$n.safeSrc=[],M=$n.t={},tfe=0,h0="[a-zA-Z0-9-]",rfe=[["\\s",1],["\\d",jhe],[h0,Whe]],sfe=t=>{for(let[e,r]of rfe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},ie=(t,e,r)=>{let s=sfe(e),n=tfe++;Khe(t,n,e),M[t]=n,L[n]=e,efe[n]=s,Xhe[n]=new RegExp(e,r?"g":void 0),Zhe[n]=new RegExp(s,r?"g":void 0)};ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h0}*`);ie("MAINVERSION",`(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${L[M.PRERELEASEIDENTIFIER]}(?:\\.${L[M.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${L[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[M.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${h0}+`);ie("BUILD",`(?:\\+(${L[M.BUILDIDENTIFIER]}(?:\\.${L[M.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${L[M.MAINVERSION]}${L[M.PRERELEASE]}?${L[M.BUILD]}?`);ie("FULL",`^${L[M.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${L[M.MAINVERSIONLOOSE]}${L[M.PRERELEASELOOSE]}?${L[M.BUILD]}?`);ie("LOOSE",`^${L[M.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${L[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${L[M.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:${L[M.PRERELEASE]})?${L[M.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:${L[M.PRERELEASELOOSE]})?${L[M.BUILD]}?)?)?`);ie("XRANGE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${m0}})(?:\\.(\\d{1,${m0}}))?(?:\\.(\\d{1,${m0}}))?`);ie("COERCE",`${L[M.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",L[M.COERCEPLAIN]+`(?:${L[M.PRERELEASE]})?(?:${L[M.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",L[M.COERCE],!0);ie("COERCERTLFULL",L[M.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${L[M.LONETILDE]}\\s+`,!0);$n.tildeTrimReplace="$1~";ie("TILDE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${L[M.LONECARET]}\\s+`,!0);$n.caretTrimReplace="$1^";ie("CARET",`^${L[M.LONECARET]}${L[M.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${L[M.LONECARET]}${L[M.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${L[M.GTLT]}\\s*(${L[M.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]}|${L[M.XRANGEPLAIN]})`,!0);$n.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${L[M.XRANGEPLAIN]})\\s+-\\s+(${L[M.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${L[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[M.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ng=h((w2e,IV)=>{"use strict";var nfe=Object.freeze({loose:!0}),ife=Object.freeze({}),ofe=t=>t?typeof t!="object"?nfe:t:ife;IV.exports=ofe});var f0=h((b2e,bV)=>{"use strict";var BV=/^[0-9]+$/,wV=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=BV.test(t),s=BV.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},afe=(t,e)=>wV(e,t);bV.exports={compareIdentifiers:wV,rcompareIdentifiers:afe}});var nr=h((Q2e,xV)=>{"use strict";var Sg=Vd(),{MAX_LENGTH:QV,MAX_SAFE_INTEGER:Rg}=zd(),{safeRe:Tg,t:vg}=eu(),cfe=Ng(),{compareIdentifiers:g0}=f0(),E0=class t{constructor(e,r){if(r=cfe(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>QV)throw new TypeError(`version is longer than ${QV} characters`);Sg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Tg[vg.LOOSE]:Tg[vg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Rg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Rg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Rg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<Rg)return i}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Sg("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Sg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return g0(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(Sg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return g0(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?Tg[vg.PRERELEASELOOSE]:Tg[vg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),g0(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};xV.exports=E0});var ec=h((x2e,SV)=>{"use strict";var NV=nr(),lfe=(t,e,r=!1)=>{if(t instanceof NV)return t;try{return new NV(t,e)}catch(s){if(!r)return null;throw s}};SV.exports=lfe});var TV=h((N2e,RV)=>{"use strict";var ufe=ec(),Afe=(t,e)=>{let r=ufe(t,e);return r?r.version:null};RV.exports=Afe});var PV=h((S2e,vV)=>{"use strict";var dfe=ec(),pfe=(t,e)=>{let r=dfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};vV.exports=pfe});var _V=h((R2e,DV)=>{"use strict";var kV=nr(),mfe=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new kV(t instanceof kV?t.version:t,r).inc(e,s,n).version}catch{return null}};DV.exports=mfe});var OV=h((T2e,MV)=>{"use strict";var LV=ec(),hfe=(t,e)=>{let r=LV(t,null,!0),s=LV(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};MV.exports=hfe});var UV=h((v2e,FV)=>{"use strict";var ffe=nr(),gfe=(t,e)=>new ffe(t,e).major;FV.exports=gfe});var GV=h((P2e,qV)=>{"use strict";var Efe=nr(),yfe=(t,e)=>new Efe(t,e).minor;qV.exports=yfe});var zV=h((k2e,HV)=>{"use strict";var Cfe=nr(),Ife=(t,e)=>new Cfe(t,e).patch;HV.exports=Ife});var $V=h((D2e,VV)=>{"use strict";var Bfe=ec(),wfe=(t,e)=>{let r=Bfe(t,e);return r&&r.prerelease.length?r.prerelease:null};VV.exports=wfe});var _s=h((_2e,JV)=>{"use strict";var YV=nr(),bfe=(t,e,r)=>new YV(t,r).compare(new YV(e,r));JV.exports=bfe});var jV=h((L2e,WV)=>{"use strict";var Qfe=_s(),xfe=(t,e,r)=>Qfe(e,t,r);WV.exports=xfe});var XV=h((M2e,KV)=>{"use strict";var Nfe=_s(),Sfe=(t,e)=>Nfe(t,e,!0);KV.exports=Sfe});var Pg=h((O2e,e$)=>{"use strict";var ZV=nr(),Rfe=(t,e,r)=>{let s=new ZV(t,r),n=new ZV(e,r);return s.compare(n)||s.compareBuild(n)};e$.exports=Rfe});var r$=h((F2e,t$)=>{"use strict";var Tfe=Pg(),vfe=(t,e)=>t.sort((r,s)=>Tfe(r,s,e));t$.exports=vfe});var n$=h((U2e,s$)=>{"use strict";var Pfe=Pg(),kfe=(t,e)=>t.sort((r,s)=>Pfe(s,r,e));s$.exports=kfe});var $d=h((q2e,i$)=>{"use strict";var Dfe=_s(),_fe=(t,e,r)=>Dfe(t,e,r)>0;i$.exports=_fe});var kg=h((G2e,o$)=>{"use strict";var Lfe=_s(),Mfe=(t,e,r)=>Lfe(t,e,r)<0;o$.exports=Mfe});var y0=h((H2e,a$)=>{"use strict";var Ofe=_s(),Ffe=(t,e,r)=>Ofe(t,e,r)===0;a$.exports=Ffe});var C0=h((z2e,c$)=>{"use strict";var Ufe=_s(),qfe=(t,e,r)=>Ufe(t,e,r)!==0;c$.exports=qfe});var Dg=h((V2e,l$)=>{"use strict";var Gfe=_s(),Hfe=(t,e,r)=>Gfe(t,e,r)>=0;l$.exports=Hfe});var _g=h(($2e,u$)=>{"use strict";var zfe=_s(),Vfe=(t,e,r)=>zfe(t,e,r)<=0;u$.exports=Vfe});var I0=h((Y2e,A$)=>{"use strict";var $fe=y0(),Yfe=C0(),Jfe=$d(),Wfe=Dg(),jfe=kg(),Kfe=_g(),Xfe=(t,e,r,s)=>{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 $fe(t,r,s);case"!=":return Yfe(t,r,s);case">":return Jfe(t,r,s);case">=":return Wfe(t,r,s);case"<":return jfe(t,r,s);case"<=":return Kfe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};A$.exports=Xfe});var p$=h((J2e,d$)=>{"use strict";var Zfe=nr(),ege=ec(),{safeRe:Lg,t:Mg}=eu(),tge=(t,e)=>{if(t instanceof Zfe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?Lg[Mg.COERCEFULL]:Lg[Mg.COERCE]);else{let c=e.includePrerelease?Lg[Mg.COERCERTLFULL]:Lg[Mg.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return ege(`${s}.${n}.${i}${o}${a}`,e)};d$.exports=tge});var h$=h((W2e,m$)=>{"use strict";var B0=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};m$.exports=B0});var Ls=h((j2e,y$)=>{"use strict";var rge=/\s+/g,w0=class t{constructor(e,r){if(r=nge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof b0)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(rge," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!g$(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Age(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&lge)|(this.options.loose&&uge))+":"+e,n=f$.get(s);if(n)return n;let i=this.options.loose,o=i?hr[ir.HYPHENRANGELOOSE]:hr[ir.HYPHENRANGE];e=e.replace(o,Ige(this.options.includePrerelease)),qe("hyphen replace",e),e=e.replace(hr[ir.COMPARATORTRIM],oge),qe("comparator trim",e),e=e.replace(hr[ir.TILDETRIM],age),qe("tilde trim",e),e=e.replace(hr[ir.CARETTRIM],cge),qe("caret trim",e);let a=e.split(" ").map(A=>dge(A,this.options)).join(" ").split(/\s+/).map(A=>Cge(A,this.options));i&&(a=a.filter(A=>(qe("loose invalid filter",A,this.options),!!A.match(hr[ir.COMPARATORLOOSE])))),qe("range list",a);let c=new Map,l=a.map(A=>new b0(A,this.options));for(let A of l){if(g$(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return f$.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>E$(s,r)&&e.set.some(n=>E$(n,r)&&s.every(i=>n.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ige(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Bge(this.set[r],e,this.options))return!0;return!1}};y$.exports=w0;var sge=h$(),f$=new sge,nge=Ng(),b0=Yd(),qe=Vd(),ige=nr(),{safeRe:hr,t:ir,comparatorTrimReplace:oge,tildeTrimReplace:age,caretTrimReplace:cge}=eu(),{FLAG_INCLUDE_PRERELEASE:lge,FLAG_LOOSE:uge}=zd(),g$=t=>t.value==="<0.0.0-0",Age=t=>t.value==="",E$=(t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},dge=(t,e)=>(t=t.replace(hr[ir.BUILD],""),qe("comp",t,e),t=hge(t,e),qe("caret",t),t=pge(t,e),qe("tildes",t),t=gge(t,e),qe("xrange",t),t=yge(t,e),qe("stars",t),t),fr=t=>!t||t.toLowerCase()==="x"||t==="*",pge=(t,e)=>t.trim().split(/\s+/).map(r=>mge(r,e)).join(" "),mge=(t,e)=>{let r=e.loose?hr[ir.TILDELOOSE]:hr[ir.TILDE];return t.replace(r,(s,n,i,o,a)=>{qe("tilde",t,s,n,i,o,a);let c;return fr(n)?c="":fr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:fr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(qe("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,qe("tilde return",c),c})},hge=(t,e)=>t.trim().split(/\s+/).map(r=>fge(r,e)).join(" "),fge=(t,e)=>{qe("caret",t,e);let r=e.loose?hr[ir.CARETLOOSE]:hr[ir.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{qe("caret",t,n,i,o,a,c);let l;return fr(i)?l="":fr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:fr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(qe("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(qe("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),qe("caret return",l),l})},gge=(t,e)=>(qe("replaceXRanges",t,e),t.split(/\s+/).map(r=>Ege(r,e)).join(" ")),Ege=(t,e)=>{t=t.trim();let r=e.loose?hr[ir.XRANGELOOSE]:hr[ir.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{qe("xRange",t,s,n,i,o,a,c);let l=fr(i),u=l||fr(o),A=u||fr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),qe("xRange return",s),s})},yge=(t,e)=>(qe("replaceStars",t,e),t.trim().replace(hr[ir.STAR],"")),Cge=(t,e)=>(qe("replaceGTE0",t,e),t.trim().replace(hr[e.includePrerelease?ir.GTE0PRE:ir.GTE0],"")),Ige=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(fr(s)?r="":fr(n)?r=`>=${s}.0.0${t?"-0":""}`:fr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,fr(l)?c="":fr(u)?c=`<${+l+1}.0.0-0`:fr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),Bge=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(qe(t[s].semver),t[s].semver!==b0.ANY&&t[s].semver.prerelease.length>0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Yd=h((K2e,Q$)=>{"use strict";var Jd=Symbol("SemVer ANY"),N0=class t{static get ANY(){return Jd}constructor(e,r){if(r=C$(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),x0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Jd?this.value="":this.value=this.operator+this.semver.version,x0("comp",this)}parse(e){let r=this.options.loose?I$[B$.COMPARATORLOOSE]:I$[B$.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new w$(s[2],this.options.loose):this.semver=Jd}toString(){return this.value}test(e){if(x0("Comparator.test",e,this.options.loose),this.semver===Jd||e===Jd)return!0;if(typeof e=="string")try{e=new w$(e,this.options)}catch{return!1}return Q0(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new b$(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new b$(this.value,r).test(e.semver):(r=C$(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Q0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Q0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Q$.exports=N0;var C$=Ng(),{safeRe:I$,t:B$}=eu(),Q0=I0(),x0=Vd(),w$=nr(),b$=Ls()});var Wd=h((X2e,x$)=>{"use strict";var wge=Ls(),bge=(t,e,r)=>{try{e=new wge(e,r)}catch{return!1}return e.test(t)};x$.exports=bge});var S$=h((Z2e,N$)=>{"use strict";var Qge=Ls(),xge=(t,e)=>new Qge(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));N$.exports=xge});var T$=h((e1e,R$)=>{"use strict";var Nge=nr(),Sge=Ls(),Rge=(t,e,r)=>{let s=null,n=null,i=null;try{i=new Sge(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new Nge(s,r))}),s};R$.exports=Rge});var P$=h((t1e,v$)=>{"use strict";var Tge=nr(),vge=Ls(),Pge=(t,e,r)=>{let s=null,n=null,i=null;try{i=new vge(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new Tge(s,r))}),s};v$.exports=Pge});var _$=h((r1e,D$)=>{"use strict";var S0=nr(),kge=Ls(),k$=$d(),Dge=(t,e)=>{t=new kge(t,e);let r=new S0("0.0.0");if(t.test(r)||(r=new S0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let n=t.set[s],i=null;n.forEach(o=>{let a=new S0(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||k$(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||k$(r,i))&&(r=i)}return r&&t.test(r)?r:null};D$.exports=Dge});var M$=h((s1e,L$)=>{"use strict";var _ge=Ls(),Lge=(t,e)=>{try{return new _ge(t,e).range||"*"}catch{return null}};L$.exports=Lge});var Og=h((n1e,q$)=>{"use strict";var Mge=nr(),U$=Yd(),{ANY:Oge}=U$,Fge=Ls(),Uge=Wd(),O$=$d(),F$=kg(),qge=_g(),Gge=Dg(),Hge=(t,e,r,s)=>{t=new Mge(t,s),e=new Fge(e,s);let n,i,o,a,c;switch(r){case">":n=O$,i=qge,o=F$,a=">",c=">=";break;case"<":n=F$,i=Gge,o=O$,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Uge(t,e,s))return!1;for(let l=0;l<e.set.length;++l){let u=e.set[l],A=null,d=null;if(u.forEach(p=>{p.semver===Oge&&(p=new U$(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};q$.exports=Hge});var H$=h((i1e,G$)=>{"use strict";var zge=Og(),Vge=(t,e,r)=>zge(t,e,">",r);G$.exports=Vge});var V$=h((o1e,z$)=>{"use strict";var $ge=Og(),Yge=(t,e,r)=>$ge(t,e,"<",r);z$.exports=Yge});var J$=h((a1e,Y$)=>{"use strict";var $$=Ls(),Jge=(t,e,r)=>(t=new $$(t,r),e=new $$(e,r),t.intersects(e,r));Y$.exports=Jge});var j$=h((c1e,W$)=>{"use strict";var Wge=Wd(),jge=_s();W$.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>jge(u,A,r));for(let u of o)Wge(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e}});var rY=h((l1e,tY)=>{"use strict";var K$=Ls(),T0=Yd(),{ANY:R0}=T0,jd=Wd(),v0=_s(),Kge=(t,e,r={})=>{if(t===e)return!0;t=new K$(t,r),e=new K$(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=Zge(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},Xge=[new T0(">=0.0.0-0")],X$=[new T0(">=0.0.0")],Zge=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===R0){if(e.length===1&&e[0].semver===R0)return!0;r.includePrerelease?t=Xge:t=X$}if(e.length===1&&e[0].semver===R0){if(r.includePrerelease)return!0;e=X$}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=Z$(n,p,r):p.operator==="<"||p.operator==="<="?i=eY(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=v0(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!jd(p,String(n),r)||i&&!jd(p,String(i),r))return null;for(let m of e)if(!jd(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=Z$(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!jd(n.semver,String(p),r))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=eY(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!jd(i.semver,String(p),r))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},Z$=(t,e,r)=>{if(!t)return e;let s=v0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},eY=(t,e,r)=>{if(!t)return e;let s=v0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};tY.exports=Kge});var oY=h((u1e,iY)=>{"use strict";var P0=eu(),sY=zd(),eEe=nr(),nY=f0(),tEe=ec(),rEe=TV(),sEe=PV(),nEe=_V(),iEe=OV(),oEe=UV(),aEe=GV(),cEe=zV(),lEe=$V(),uEe=_s(),AEe=jV(),dEe=XV(),pEe=Pg(),mEe=r$(),hEe=n$(),fEe=$d(),gEe=kg(),EEe=y0(),yEe=C0(),CEe=Dg(),IEe=_g(),BEe=I0(),wEe=p$(),bEe=Yd(),QEe=Ls(),xEe=Wd(),NEe=S$(),SEe=T$(),REe=P$(),TEe=_$(),vEe=M$(),PEe=Og(),kEe=H$(),DEe=V$(),_Ee=J$(),LEe=j$(),MEe=rY();iY.exports={parse:tEe,valid:rEe,clean:sEe,inc:nEe,diff:iEe,major:oEe,minor:aEe,patch:cEe,prerelease:lEe,compare:uEe,rcompare:AEe,compareLoose:dEe,compareBuild:pEe,sort:mEe,rsort:hEe,gt:fEe,lt:gEe,eq:EEe,neq:yEe,gte:CEe,lte:IEe,cmp:BEe,coerce:wEe,Comparator:bEe,Range:QEe,satisfies:xEe,toComparators:NEe,maxSatisfying:SEe,minSatisfying:REe,minVersion:TEe,validRange:vEe,outside:PEe,gtr:kEe,ltr:DEe,intersects:_Ee,simplifyRange:LEe,subset:MEe,SemVer:eEe,re:P0.re,src:P0.src,tokens:P0.t,SEMVER_SPEC_VERSION:sY.SEMVER_SPEC_VERSION,RELEASE_TYPES:sY.RELEASE_TYPES,compareIdentifiers:nY.compareIdentifiers,rcompareIdentifiers:nY.rcompareIdentifiers}});var JY=h((Lqe,YY)=>{var au=1e3,cu=au*60,lu=cu*60,ac=lu*24,yye=ac*7,Cye=ac*365.25;YY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Iye(t);if(r==="number"&&isFinite(t))return e.long?wye(t):Bye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Iye(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]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*Cye;case"weeks":case"week":case"w":return r*yye;case"days":case"day":case"d":return r*ac;case"hours":case"hour":case"hrs":case"hr":case"h":return r*lu;case"minutes":case"minute":case"mins":case"min":case"m":return r*cu;case"seconds":case"second":case"secs":case"sec":case"s":return r*au;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Bye(t){var e=Math.abs(t);return e>=ac?Math.round(t/ac)+"d":e>=lu?Math.round(t/lu)+"h":e>=cu?Math.round(t/cu)+"m":e>=au?Math.round(t/au)+"s":t+"ms"}function wye(t){var e=Math.abs(t);return e>=ac?lE(t,e,ac,"day"):e>=lu?lE(t,e,lu,"hour"):e>=cu?lE(t,e,cu,"minute"):e>=au?lE(t,e,au,"second"):t+" ms"}function lE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}});var sN=h((Mqe,WY)=>{function bye(t){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=n,r.enabled=o,r.humanize=JY(),r.destroy=l,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let A=0;for(let d=0;d<u.length;d++)A=(A<<5)-A+u.charCodeAt(d),A|=0;return r.colors[Math.abs(A)%r.colors.length]}r.selectColor=e;function r(u){let A,d=null,p,m;function f(...y){if(!f.enabled)return;let g=f,E=Number(new Date),C=E-(A||E);g.diff=C,g.prev=A,g.curr=E,A=E,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let I=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(k,U)=>{if(k==="%%")return"%";I++;let de=r.formatters[U];if(typeof de=="function"){let we=y[I];k=de.call(g,we),y.splice(I,1),I--}return k}),r.formatArgs.call(g,y),(g.log||r.log).apply(g,y)}return f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=s,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==r.namespaces&&(p=r.namespaces,m=r.enabled(u)),m),set:y=>{d=y}}),typeof r.init=="function"&&r.init(f),f}function s(u,A){let d=r(this.namespace+(typeof A>"u"?":":A)+u);return d.log=this.log,d}function n(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let A,d=(typeof u=="string"?u:"").split(/[\s,]+/),p=d.length;for(A=0;A<p;A++)d[A]&&(u=d[A].replace(/\*/g,".*?"),u[0]==="-"?r.skips.push(new RegExp("^"+u.slice(1)+"$")):r.names.push(new RegExp("^"+u+"$")))}function i(){let u=[...r.names.map(a),...r.skips.map(a).map(A=>"-"+A)].join(",");return r.enable(""),u}function o(u){if(u[u.length-1]==="*")return!0;let A,d;for(A=0,d=r.skips.length;A<d;A++)if(r.skips[A].test(u))return!1;for(A=0,d=r.names.length;A<d;A++)if(r.names[A].test(u))return!0;return!1}function a(u){return u.toString().substring(2,u.toString().length-2).replace(/\.\*\?$/,"*")}function c(u){return u instanceof Error?u.stack||u.message:u}function l(){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}WY.exports=bye});var jY=h((us,uE)=>{us.formatArgs=xye;us.save=Nye;us.load=Sye;us.useColors=Qye;us.storage=Rye();us.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`."))}})();us.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 Qye(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function xye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+uE.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(s=r))}),t.splice(s,0,e)}us.log=console.debug||console.log||(()=>{});function Nye(t){try{t?us.storage.setItem("debug",t):us.storage.removeItem("debug")}catch{}}function Sye(){let t;try{t=us.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function Rye(){try{return localStorage}catch{}}uE.exports=sN()(us);var{formatters:Tye}=uE.exports;Tye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var XY=h((Oqe,KY)=>{"use strict";KY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",s=e.indexOf(r+t),n=e.indexOf("--");return s!==-1&&(n===-1||s<n)}});var tJ=h((Fqe,eJ)=>{"use strict";var vye=require("os"),ZY=require("tty"),Os=XY(),{env:qt}=process,jo;Os("no-color")||Os("no-colors")||Os("color=false")||Os("color=never")?jo=0:(Os("color")||Os("colors")||Os("color=true")||Os("color=always"))&&(jo=1);"FORCE_COLOR"in qt&&(qt.FORCE_COLOR==="true"?jo=1:qt.FORCE_COLOR==="false"?jo=0:jo=qt.FORCE_COLOR.length===0?1:Math.min(parseInt(qt.FORCE_COLOR,10),3));function nN(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function iN(t,e){if(jo===0)return 0;if(Os("color=16m")||Os("color=full")||Os("color=truecolor"))return 3;if(Os("color=256"))return 2;if(t&&!e&&jo===void 0)return 0;let r=jo||0;if(qt.TERM==="dumb")return r;if(process.platform==="win32"){let s=vye.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in qt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in qt)||qt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in qt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(qt.TEAMCITY_VERSION)?1:0;if(qt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in qt){let s=parseInt((qt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(qt.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(qt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(qt.TERM)||"COLORTERM"in qt?1:r}function Pye(t){let e=iN(t,t&&t.isTTY);return nN(e)}eJ.exports={supportsColor:Pye,stdout:nN(iN(!0,ZY.isatty(1))),stderr:nN(iN(!0,ZY.isatty(2)))}});var sJ=h((Wt,dE)=>{var kye=require("tty"),AE=require("util");Wt.init=Uye;Wt.log=Mye;Wt.formatArgs=_ye;Wt.save=Oye;Wt.load=Fye;Wt.useColors=Dye;Wt.destroy=AE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Wt.colors=[6,2,3,4,5,1];try{let t=tJ();t&&(t.stderr||t).level>=2&&(Wt.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{}Wt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,i)=>i.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function Dye(){return"colors"in Wt.inspectOpts?!!Wt.inspectOpts.colors:kye.isatty(process.stderr.fd)}function _ye(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,n="\x1B[3"+(s<8?s:"8;5;"+s),i=` ${n};1m${e} \x1B[0m`;t[0]=i+t[0].split(`
`).join(`
`+i),t.push(n+"m+"+dE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Lye()+e+" "+t[0]}function Lye(){return Wt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Mye(...t){return process.stderr.write(AE.format(...t)+`
`)}function Oye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function Fye(){return process.env.DEBUG}function Uye(t){t.inspectOpts={};let e=Object.keys(Wt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Wt.inspectOpts[e[r]]}dE.exports=sN()(Wt);var{formatters:rJ}=dE.exports;rJ.o=function(t){return this.inspectOpts.colors=this.useColors,AE.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};rJ.O=function(t){return this.inspectOpts.colors=this.useColors,AE.inspect(t,this.inspectOpts)}});var pE=h((Uqe,oN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?oN.exports=jY():oN.exports=sJ()});var oJ=h(Lr=>{"use strict";var qye=Lr&&Lr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Gye=Lr&&Lr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),nJ=Lr&&Lr.__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)&&qye(e,t,r);return Gye(e,t),e};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.req=Lr.json=Lr.toBuffer=void 0;var Hye=nJ(require("http")),zye=nJ(require("https"));async function iJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}Lr.toBuffer=iJ;async function Vye(t){let r=(await iJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}Lr.json=Vye;function $ye(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?zye:Hye).request(t,e),n=new Promise((i,o)=>{s.once("response",i).once("error",o).end()});return s.then=n.then.bind(n),s}Lr.req=$ye});var cN=h(As=>{"use strict";var cJ=As&&As.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Yye=As&&As.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),lJ=As&&As.__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)&&cJ(e,t,r);return Yye(e,t),e},Jye=As&&As.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&cJ(e,t,r)};Object.defineProperty(As,"__esModule",{value:!0});As.Agent=void 0;var Wye=lJ(require("net")),aJ=lJ(require("http")),jye=require("https");Jye(oJ(),As);var jn=Symbol("AgentBaseInternalState"),aN=class extends aJ.Agent{constructor(e){super(e),this[jn]={}}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(s=>s.indexOf("(https.js:")!==-1||s.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 Wye.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?jye.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),o=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(a=>{if(this.decrementSockets(i,o),a instanceof aJ.Agent)return a.addRequest(e,n);this[jn].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(i,o),s(a)})}createConnection(){let e=this[jn].currentSocket;if(this[jn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[jn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[jn]&&(this[jn].defaultPort=e)}get protocol(){return this[jn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[jn]&&(this[jn].protocol=e)}};As.Agent=aN});var uJ=h(uu=>{"use strict";var Kye=uu&&uu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uu,"__esModule",{value:!0});uu.parseProxyResponse=void 0;var Xye=Kye(pE()),mE=(0,Xye.default)("https-proxy-agent:parse-proxy-response");function Zye(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let u=t.read();u?l(u):t.once("readable",i)}function o(){t.removeListener("end",a),t.removeListener("error",c),t.removeListener("readable",i)}function a(){o(),mE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function c(u){o(),mE("onerror %o",u),r(u)}function l(u){n.push(u),s+=u.length;let A=Buffer.concat(n,s),d=A.indexOf(`\r
\r
`);if(d===-1){mE("have not received end of HTTP headers yet..."),i();return}let p=A.slice(0,d).toString("ascii").split(`\r
`),m=p.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=m.split(" "),y=+f[1],g=f.slice(2).join(" "),E={};for(let C of p){if(!C)continue;let I=C.indexOf(":");if(I===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${C}"`));let x=C.slice(0,I).toLowerCase(),k=C.slice(I+1).trimStart(),U=E[x];typeof U=="string"?E[x]=[U,k]:Array.isArray(U)?U.push(k):E[x]=k}mE("got proxy server response: %o %o",m,E),o(),e({connect:{statusCode:y,statusText:g,headers:E},buffered:A})}t.on("error",c),t.on("end",a),i()})}uu.parseProxyResponse=Zye});var hJ=h(Fs=>{"use strict";var eCe=Fs&&Fs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),tCe=Fs&&Fs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),pJ=Fs&&Fs.__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)&&eCe(e,t,r);return tCe(e,t),e},mJ=Fs&&Fs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.HttpsProxyAgent=void 0;var ap=pJ(require("net")),AJ=pJ(require("tls")),rCe=mJ(require("assert")),sCe=mJ(pE()),nCe=cN(),iCe=require("url"),oCe=uJ(),cp=(0,sCe.default)("https-proxy-agent"),hE=class extends nCe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new iCe.URL(e):e,this.proxyHeaders=r?.headers??{},cp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?dJ(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){cp("Creating `tls.Socket`: %o",this.connectOpts);let d=this.connectOpts.servername||this.connectOpts.host;n=AJ.connect({...this.connectOpts,servername:d&&ap.isIP(d)?void 0:d})}else cp("Creating `net.Socket`: %o",this.connectOpts),n=ap.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=ap.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}i.Host=`${o}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(i))a+=`${d}: ${i[d]}\r
`;let c=(0,oCe.parseProxyResponse)(n);n.write(`${a}\r
`);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200){if(e.once("socket",aCe),r.secureEndpoint){cp("Upgrading socket connection to TLS");let d=r.servername||r.host;return AJ.connect({...dJ(r,"host","path","port"),socket:n,servername:ap.isIP(d)?void 0:d})}return n}n.destroy();let A=new ap.Socket({writable:!1});return A.readable=!0,e.once("socket",d=>{cp("Replaying proxy buffer for failed request"),(0,rCe.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),A}};hE.protocols=["http","https"];Fs.HttpsProxyAgent=hE;function aCe(t){t.resume()}function dJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var EJ=h(Us=>{"use strict";var cCe=Us&&Us.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),lCe=Us&&Us.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),gJ=Us&&Us.__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)&&cCe(e,t,r);return lCe(e,t),e},uCe=Us&&Us.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Us,"__esModule",{value:!0});Us.HttpProxyAgent=void 0;var ACe=gJ(require("net")),dCe=gJ(require("tls")),pCe=uCe(pE()),mCe=require("events"),hCe=cN(),fJ=require("url"),Au=(0,pCe.default)("http-proxy-agent"),fE=class extends hCe.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new fJ.URL(e):e,this.proxyHeaders=r?.headers??{},Au("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?fCe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",o=`${n}//${i}`,a=new fJ.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let c=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let l=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;c["Proxy-Authorization"]=`Basic ${Buffer.from(l).toString("base64")}`}c["Proxy-Connection"]||(c["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let l of Object.keys(c)){let u=c[l];u&&e.setHeader(l,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;Au("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Au("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+s.substring(n),Au("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Au("Creating `tls.Socket`: %o",this.connectOpts),i=dCe.connect(this.connectOpts)):(Au("Creating `net.Socket`: %o",this.connectOpts),i=ACe.connect(this.connectOpts)),await(0,mCe.once)(i,"connect"),i}};fE.protocols=["http","https"];Us.HttpProxyAgent=fE;function fCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var UJ=h(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.state=void 0;TE.state={instrumenterImplementation:void 0}});var s3=h(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.state=void 0;_E.state={operationRequestMap:new WeakMap}});var _W=h(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});var _Qe=require("os"),LQe=require("util");function MQe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var OQe=MQe(LQe);function FQe(t,...e){process.stderr.write(`${OQe.default.format(t,...e)}${_Qe.EOL}`)}var QW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,NW,Ov=[],Fv=[],tC=[];QW&&Uv(QW);var SW=Object.assign(t=>RW(t),{enable:Uv,enabled:qv,disable:UQe,log:FQe});function Uv(t){NW=t,Ov=[],Fv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?Fv.push(new RegExp(`^${s.substr(1)}$`)):Ov.push(new RegExp(`^${s}$`));for(let s of tC)s.enabled=qv(s.namespace)}function qv(t){if(t.endsWith("*"))return!0;for(let e of Fv)if(e.test(t))return!1;for(let e of Ov)if(e.test(t))return!0;return!1}function UQe(){let t=NW||"";return Uv(""),t}function RW(t){let e=Object.assign(r,{enabled:qv(t),destroy:qQe,log:SW.log,namespace:t,extend:GQe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return tC.push(e),e}function qQe(){let t=tC.indexOf(this);return t>=0?(tC.splice(t,1),!0):!1}function GQe(t){let e=RW(`${this.namespace}:${t}`);return e.log=this.log,e}var Wp=SW,TW=new Set,Zy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,rC,sC=Wp("azure");sC.log=(...t)=>{Wp.log(...t)};var Gv=["verbose","info","warning","error"];Zy&&(DW(Zy)?vW(Zy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Zy}'; logging is not enabled. Acceptable values: ${Gv.join(", ")}.`));function vW(t){if(t&&!DW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Gv.join(",")}`);rC=t;let e=[];for(let r of TW)kW(r)&&e.push(r.namespace);Wp.enable(e.join(","))}function HQe(){return rC}var xW={verbose:400,info:300,warning:200,error:100};function zQe(t){let e=sC.extend(t);return PW(sC,e),{error:eC(e,"error"),warning:eC(e,"warning"),info:eC(e,"info"),verbose:eC(e,"verbose")}}function PW(t,e){e.log=(...r)=>{t.log(...r)}}function eC(t,e){let r=Object.assign(t.extend(e),{level:e});if(PW(t,r),kW(r)){let s=Wp.disable();Wp.enable(s+","+r.namespace)}return TW.add(r),r}function kW(t){return!!(rC&&xW[t.level]<=xW[rC])}function DW(t){return Gv.includes(t)}Tu.AzureLogger=sC;Tu.createClientLogger=zQe;Tu.getLogLevel=HQe;Tu.setLogLevel=vW});var Vv=h(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});var vu=new WeakMap,nC=new WeakMap,jp=class t{constructor(){this.onabort=null,vu.set(this,[]),nC.set(this,!1)}get aborted(){if(!nC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return nC.get(this)}static get none(){return new t}addEventListener(e,r){if(!vu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");vu.get(this).push(r)}removeEventListener(e,r){if(!vu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=vu.get(this),n=s.indexOf(r);n>-1&&s.splice(n,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 LW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=vu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),nC.set(t,!0)}var Hv=class extends Error{constructor(e){super(e),this.name="AbortError"}},zv=class{constructor(e){if(this._signal=new jp,!!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(){LW(this._signal)}static timeout(e){let r=new jp,s=setTimeout(LW,e,r);return typeof s.unref=="function"&&s.unref(),r}};Kp.AbortController=zv;Kp.AbortError=Hv;Kp.AbortSignal=jp});var qW=h(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});var VQe=Vv(),Xv=require("crypto");function MW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,o)=>{function a(){o(new VQe.AbortError(n??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),i(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var $Qe="The delay was aborted.";function YQe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return MW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:n??$Qe})}function JQe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function OW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function FW(t){if(OW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}function WQe(t){if(FW(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}`}}async function jQe(t,e,r){let s=Buffer.from(t,"base64");return Xv.createHmac("sha256",s).update(e).digest(r)}async function KQe(t,e){return Xv.createHash("sha256").update(t).digest(e)}function Zv(t){return typeof t<"u"&&t!==null}function XQe(t,e){if(!Zv(t)||typeof t!="object")return!1;for(let r of e)if(!UW(t,r))return!1;return!0}function UW(t,e){return Zv(t)&&typeof t=="object"&&e in t}function ZQe(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}var $v,Kv=typeof(($v=globalThis?.crypto)===null||$v===void 0?void 0:$v.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Xv.randomUUID;Kv||(Kv=ZQe);function exe(){return Kv()}var Yv,Jv,Wv,jv,txe=typeof window<"u"&&typeof window.document<"u",rxe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((Yv=self.constructor)===null||Yv===void 0?void 0:Yv.name)==="DedicatedWorkerGlobalScope"||((Jv=self.constructor)===null||Jv===void 0?void 0:Jv.name)==="ServiceWorkerGlobalScope"||((Wv=self.constructor)===null||Wv===void 0?void 0:Wv.name)==="SharedWorkerGlobalScope"),sxe=typeof process<"u"&&!!process.version&&!!(!((jv=process.versions)===null||jv===void 0)&&jv.node),nxe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ixe=typeof Bun<"u"&&typeof Bun.version<"u",oxe=typeof navigator<"u"&&navigator?.product==="ReactNative";function axe(t,e){switch(e){case"utf-8":return Axe(t);case"base64":return lxe(t);case"base64url":return uxe(t)}}function cxe(t,e){switch(e){case"utf-8":return dxe(t);case"base64":return pxe(t);case"base64url":return mxe(t)}}function lxe(t){return Buffer.from(t).toString("base64")}function uxe(t){return Buffer.from(t).toString("base64url")}function Axe(t){return Buffer.from(t).toString("utf-8")}function dxe(t){return Buffer.from(t)}function pxe(t){return Buffer.from(t,"base64")}function mxe(t){return Buffer.from(t,"base64url")}ot.computeSha256Hash=KQe;ot.computeSha256Hmac=jQe;ot.createAbortablePromise=MW;ot.delay=YQe;ot.getErrorMessage=WQe;ot.getRandomIntegerInclusive=JQe;ot.isBrowser=txe;ot.isBun=ixe;ot.isDefined=Zv;ot.isDeno=nxe;ot.isError=FW;ot.isNode=sxe;ot.isObject=OW;ot.isObjectWithProperties=XQe;ot.isReactNative=oxe;ot.isWebWorker=rxe;ot.objectHasProperty=UW;ot.randomUUID=exe;ot.stringToUint8Array=cxe;ot.uint8ArrayToString=axe});var c8=h(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});var hxe=_W(),GW=Vv(),fxe=qW(),bc=hxe.createClientLogger("core-lro"),zW=2e3,VW=["succeeded","canceled","failed"];function $W(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}function HW(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}function gxe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}function Exe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=gxe(e,s.message);return{code:r,message:e}}function YW(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:o,response:a,setErrorAsResult:c}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let l=o?.(a),u="";if(l){let{code:d,message:p}=Exe(l);u=`. ${d}. ${p}`}let A=`The long-running operation has failed${u}`;r.setError(e,new Error(A)),r.setFailed(e),bc.warning(A);break}case"canceled":{r.setCanceled(e);break}}(n?.(a,e)||n===void 0&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(s))&&r.setResult(e,yxe({response:a,state:e,processResult:i}))}function yxe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}async function JW(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:o}=t,{operationLocation:a,resourceLocation:c,metadata:l,response:u}=await e();a&&i?.(a,!1);let A={metadata:l,operationLocation:a,resourceLocation:c};bc.verbose("LRO: Operation description:",A);let d=r.initState(A),p=n({response:u,state:d,operationLocation:a});return YW({state:d,status:p,stateProxy:r,response:u,setErrorAsResult:o,processResult:s}),d}async function Cxe(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:o,isOperationError:a,options:c}=t,l=await e(n,c).catch(HW({state:r,stateProxy:s,isOperationError:a})),u=i(l,r);if(bc.verbose(`LRO: Status:
Polling from: ${r.config.operationLocation}
Operation status: ${u}
Polling status: ${VW.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let A=o(l,r);if(A!==void 0)return{response:await e(A).catch(HW({state:r,stateProxy:s,isOperationError:a})),status:u}}return{response:l,status:u}}async function WW(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:A,getError:d,updateState:p,setDelay:m,isDone:f,setErrorAsResult:y}=t,{operationLocation:g}=r.config;if(g!==void 0){let{response:E,status:C}=await Cxe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:g,getResourceLocation:o,isOperationError:c,options:n});if(YW({status:C,response:E,state:r,stateProxy:s,isDone:f,processResult:A,getError:d,setErrorAsResult:y}),!VW.includes(C)){let I=u?.(E);I&&m(I);let x=a?.(E,r);if(x!==void 0){let k=g!==x;r.config.operationLocation=x,l?.(x,k)}else l?.(g,!1)}p?.(r,E)}}function jW(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function KW(t){return t.headers.location}function XW(t){return t.headers["operation-location"]}function ZW(t){return t.headers["azure-asyncoperation"]}function Ixe(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=o())!==null&&e!==void 0?e:n;default:return o()}function o(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}}function e8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=XW(e),o=ZW(e),a=jW({operationLocation:i,azureAsyncOperation:o}),c=KW(e),l=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:Ixe({requestMethod:l,location:c,requestPath:s,resourceLocationConfig:n})}:c!==void 0?{mode:"ResourceLocation",operationLocation:c}:l==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}function t8(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 rP(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 bc.verbose(`LRO: unrecognized operation status: ${e}`),e}}function Bxe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return t8({status:r,statusCode:t.statusCode})}function wxe(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return t8({status:i,statusCode:t.statusCode})}function rP(t){return t===202?"running":t<300?"succeeded":"failed"}function r8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?bxe(new Date(e)):r*1e3}}function s8(t){let e=t.flatResponse.error;if(!e){bc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){bc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}function bxe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function n8(t){let{response:e,state:r,operationLocation:s}=t;function n(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return rP(e.rawResponse.statusCode);case"Body":return sP(e,r);default:return"running"}}let i=n();return i==="running"&&s===void 0?"succeeded":i}async function Qxe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:n,setErrorAsResult:i}=t;return JW({init:async()=>{let o=await n.sendInitialRequest(),a=e8({rawResponse:o.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operationLocation:a?.operationLocation,resourceLocation:a?.resourceLocation},a?.mode?{metadata:{mode:a.mode}}:{})},stateProxy:e,processResult:s?({flatResponse:o},a)=>s(o,a):({flatResponse:o})=>o,getOperationStatus:n8,setErrorAsResult:i})}function i8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return jW({operationLocation:XW(t),azureAsyncOperation:ZW(t)});case"ResourceLocation":return KW(t);default:return}}function sP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return Bxe(t);case"ResourceLocation":return rP(t.statusCode);case"Body":return wxe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}function o8({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}function a8(t){return t.name==="RestError"}async function xxe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:o,state:a,setErrorAsResult:c}=t;return WW({state:a,stateProxy:r,setDelay:o,processResult:n?({flatResponse:l},u)=>n(l,u):({flatResponse:l})=>l,getError:s8,updateState:i,getPollingInterval:r8,getOperationLocation:i8,getOperationStatus:sP,isOperationError:a8,getResourceLocation:o8,options:s,poll:async(l,u)=>e.sendPollRequest(l,u),setErrorAsResult:c})}var Nxe=()=>({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 Sxe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:o,getError:a,resolveOnUnsuccessful:c}=t;return async({init:l,poll:u},A)=>{let{processResult:d,updateState:p,withOperationLocation:m,intervalInMs:f=zW,restoreFrom:y}=A||{},g=Nxe(),E=m?(()=>{let V=!1;return(se,q)=>{q?m(se):V||m(se),V=!0}})():void 0,C=y?$W(y):await JW({init:l,stateProxy:g,processResult:d,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!c}),I,x=new GW.AbortController,k=new Map,U=async()=>k.forEach(V=>V(C)),de="Operation was canceled",we=f,Se={getOperationState:()=>C,getResult:()=>C.result,isDone:()=>["succeeded","failed","canceled"].includes(C.status),isStopped:()=>I===void 0,stopPolling:()=>{x.abort()},toString:()=>JSON.stringify({state:C}),onProgress:V=>{let se=Symbol();return k.set(se,V),()=>k.delete(se)},pollUntilDone:V=>I??(I=(async()=>{let{abortSignal:se}=V||{},{signal:q}=se?new GW.AbortController([se,x.signal]):x;if(!Se.isDone())for(await Se.poll({abortSignal:q});!Se.isDone();)await fxe.delay(we,{abortSignal:q}),await Se.poll({abortSignal:q});if(c)return Se.getResult();switch(C.status){case"succeeded":return Se.getResult();case"canceled":throw new Error(de);case"failed":throw C.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{I=void 0})),async poll(V){if(c){if(Se.isDone())return}else switch(C.status){case"succeeded":return;case"canceled":throw new Error(de);case"failed":throw C.error}if(await WW({poll:u,state:C,stateProxy:g,getOperationLocation:e,isOperationError:n,withOperationLocation:E,getPollingInterval:o,getOperationStatus:s,getResourceLocation:i,processResult:d,getError:a,updateState:p,options:V,setDelay:se=>{we=se},setErrorAsResult:!c}),await U(),!c)switch(C.status){case"canceled":throw new Error(de);case"failed":throw C.error}}};return Se}}async function Rxe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:c=!1}=e||{};return Sxe({getStatusFromInitialResponse:n8,getStatusFromPollResponse:sP,isOperationError:a8,getOperationLocation:i8,getResourceLocation:o8,getPollingInterval:r8,getError:s8,resolveOnUnsuccessful:c})({init:async()=>{let l=await t.sendInitialRequest(),u=e8({rawResponse:l.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:l,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:a,restoreFrom:i,updateState:o,processResult:n?({flatResponse:l},u)=>n(l,u):({flatResponse:l})=>l})}var Txe=()=>({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)}),eP=class{constructor(e,r,s,n,i,o,a){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=o,this.isDone=a}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=Txe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Qxe({lro:this.lro,stateProxy:s,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let n=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await xxe({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(o,{rawResponse:a})=>n(o,a):void 0,isDone:i?({flatResponse:o},a)=>i(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 bc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},iC=class t extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},oC=class t extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},aC=class{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),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 oC("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 iC("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()}},tP=class extends aC{constructor(e,r){let{intervalInMs:s=zW,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:o,lroResourceLocationConfig:a,processResult:c,updateState:l}=r||{},u=n?$W(n):{},A=new eP(u,e,!i,a,c,l,o);super(A),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},A.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Qc.LroEngine=tP;Qc.Poller=aC;Qc.PollerCancelledError=oC;Qc.PollerStoppedError=iC;Qc.createHttpPoller=Rxe});var N8=h((hKe,Kxe)=>{Kxe.exports={name:"@actions/cache",version:"6.0.1",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var R8=h((fKe,S8)=>{var Xxe=N8();S8.exports={version:Xxe.version}});var CC=h(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.isJsonObject=Lu.typeofJsonValue=void 0;function o0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}Lu.typeofJsonValue=o0e;function a0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}Lu.isJsonObject=a0e});var BC=h(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.base64encode=Mu.base64decode=void 0;var mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),IC=[];for(let t=0;t<mo.length;t++)IC[mo[t].charCodeAt(0)]=t;IC[45]=mo.indexOf("+");IC[95]=mo.indexOf("/");function c0e(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),s=0,n=0,i,o=0;for(let a=0;a<t.length;a++){if(i=IC[t.charCodeAt(a)],i===void 0)switch(t[a]){case"=":n=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(n){case 0:o=i,n=1;break;case 1:r[s++]=o<<2|(i&48)>>4,o=i,n=2;break;case 2:r[s++]=(o&15)<<4|(i&60)>>2,o=i,n=3;break;case 3:r[s++]=(o&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}Mu.base64decode=c0e;function l0e(t){let e="",r=0,s,n=0;for(let i=0;i<t.length;i++)switch(s=t[i],r){case 0:e+=mo[s>>2],n=(s&3)<<4,r=1;break;case 1:e+=mo[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=mo[n|s>>6],e+=mo[s&63],r=0;break}return r&&(e+=mo[n],e+="=",r==1&&(e+="=")),e}Mu.base64encode=l0e});var _8=h(wC=>{"use strict";Object.defineProperty(wC,"__esModule",{value:!0});wC.utf8read=void 0;var pP=t=>String.fromCharCode.apply(String,t);function u0e(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,o=t.length;for(;e<o;)i=t[e++],i<128?s[n++]=i:i>191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(pP(s)),n=0);return r.length?(n&&r.push(pP(s.slice(0,n))),r.join("")):pP(s.slice(0,n))}wC.utf8read=u0e});var im=h(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.WireType=Bi.mergeBinaryOptions=Bi.UnknownFieldHandler=void 0;var A0e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,o)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:o})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:o,data:a}of t.list(s))n.tag(i,o).raw(a)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=r=>r&&Array.isArray(r[t.symbol])})(A0e=Bi.UnknownFieldHandler||(Bi.UnknownFieldHandler={}));function d0e(t,e){return Object.assign(Object.assign({},t),e)}Bi.mergeBinaryOptions=d0e;var p0e;(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"})(p0e=Bi.WireType||(Bi.WireType={}))});var QC=h(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.varint32read=Hr.varint32write=Hr.int64toString=Hr.int64fromString=Hr.varint64write=Hr.varint64read=void 0;function m0e(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<<s,(n&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 s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}Hr.varint64read=m0e;function h0e(t,e,r){for(let i=0;i<28;i=i+7){let o=t>>>i,a=!(!(o>>>7)&&e==0),c=(a?o|128:o)&255;if(r.push(c),!a)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let o=e>>>i,a=!!(o>>>7),c=(a?o|128:o)&255;if(r.push(c),!a)return}r.push(e>>>31&1)}}Hr.varint64write=h0e;var bC=65536*65536;function f0e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(o,a){let c=Number(t.slice(o,a));n*=r,s=s*r+c,s>=bC&&(n=n+(s/bC|0),s=s%bC)}return i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}Hr.int64fromString=f0e;function g0e(t,e){if(e>>>0<=2097151)return""+(bC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,o=s+n*8147497,a=n*2,c=1e7;i>=c&&(o+=Math.floor(i/c),i%=c),o>=c&&(a+=Math.floor(o/c),o%=c);function l(u,A){let d=u?String(u):"";return A?"0000000".slice(d.length)+d:d}return l(a,0)+l(o,a)+l(i,1)}Hr.int64toString=g0e;function E0e(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)}}Hr.varint32write=E0e;function y0e(){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}Hr.varint32read=y0e});var la=h(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.PbLong=ca.PbULong=ca.detectBi=void 0;var om=QC(),ke;function L8(){let t=new DataView(new ArrayBuffer(8));ke=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=L8;L8();function M8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var O8=/^-?[0-9]+$/,NC=4294967296,xC=2147483648,SC=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*NC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},am=class t extends SC{static from(e){if(ke)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ke.C(e);case"number":if(e===0)return this.ZERO;e=ke.C(e);case"bigint":if(!e)return this.ZERO;if(e<ke.UMIN)throw new Error("signed value for ulong");if(e>ke.UMAX)throw new Error("ulong too large");return ke.V.setBigUint64(0,e,!0),new t(ke.V.getInt32(0,!0),ke.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!O8.test(e))throw new Error("string is no integer");let[r,s,n]=om.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(s,n);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/NC)}throw new Error("unknown value "+typeof e)}toString(){return ke?this.toBigInt().toString():om.int64toString(this.lo,this.hi)}toBigInt(){return M8(ke),ke.V.setInt32(0,this.lo,!0),ke.V.setInt32(4,this.hi,!0),ke.V.getBigUint64(0,!0)}};ca.PbULong=am;am.ZERO=new am(0,0);var cm=class t extends SC{static from(e){if(ke)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ke.C(e);case"number":if(e===0)return this.ZERO;e=ke.C(e);case"bigint":if(!e)return this.ZERO;if(e<ke.MIN)throw new Error("signed long too small");if(e>ke.MAX)throw new Error("signed long too large");return ke.V.setBigInt64(0,e,!0),new t(ke.V.getInt32(0,!0),ke.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!O8.test(e))throw new Error("string is no integer");let[r,s,n]=om.int64fromString(e);if(r){if(n>xC||n==xC&&s!=0)throw new Error("signed long too small")}else if(n>=xC)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/NC):new t(-e,-e/NC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&xC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ke)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+om.int64toString(e.lo,e.hi)}return om.int64toString(this.lo,this.hi)}toBigInt(){return M8(ke),ke.V.setInt32(0,this.lo,!0),ke.V.setInt32(4,this.hi,!0),ke.V.getBigInt64(0,!0)}};ca.PbLong=cm;cm.ZERO=new cm(0,0)});var mP=h(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.BinaryReader=Fu.binaryReadOptions=void 0;var Ou=im(),lm=la(),F8=QC(),U8={readUnknownField:!0,readerFactory:t=>new RC(t)};function C0e(t){return t?Object.assign(Object.assign({},U8),t):U8}Fu.binaryReadOptions=C0e;var RC=class{constructor(e,r){this.varint64=F8.varint64read,this.uint32=F8.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,s=e&7;if(r<=0||s<0||s>5)throw new Error("illegal tag: field no "+r+" wire type "+s);return[r,s]}skip(e){let r=this.pos;switch(e){case Ou.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Ou.WireType.Bit64:this.pos+=4;case Ou.WireType.Bit32:this.pos+=4;break;case Ou.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Ou.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Ou.WireType.EndGroup;)this.skip(n);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 lm.PbLong(...this.varint64())}uint64(){return new lm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),s=-(e&1);return e=(e>>>1|(r&1)<<31)^s,r=r>>>1^s,new lm.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 lm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new lm.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())}};Fu.BinaryReader=RC});var Uu=h(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.assertFloat32=Ys.assertUInt32=Ys.assertInt32=Ys.assertNever=Ys.assert=void 0;function I0e(t,e){if(!t)throw new Error(e)}Ys.assert=I0e;function B0e(t,e){throw new Error(e??"Unexpected object: "+t)}Ys.assertNever=B0e;var w0e=34028234663852886e22,b0e=-34028234663852886e22,Q0e=4294967295,x0e=2147483647,N0e=-2147483648;function S0e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>x0e||t<N0e)throw new Error("invalid int 32: "+t)}Ys.assertInt32=S0e;function R0e(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>Q0e||t<0)throw new Error("invalid uint 32: "+t)}Ys.assertUInt32=R0e;function T0e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>w0e||t<b0e))throw new Error("invalid float 32: "+t)}Ys.assertFloat32=T0e});var hP=h(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.BinaryWriter=Gu.binaryWriteOptions=void 0;var um=la(),Am=QC(),qu=Uu(),q8={writeUnknownFields:!0,writerFactory:()=>new TC};function v0e(t){return t?Object.assign(Object.assign({},q8),t):q8}Gu.binaryWriteOptions=v0e;var TC=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 n=0;n<this.chunks.length;n++)e+=this.chunks[n].length;let r=new Uint8Array(e),s=0;for(let n=0;n<this.chunks.length;n++)r.set(this.chunks[n],s),s+=this.chunks[n].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(qu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return qu.assertInt32(e),Am.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){qu.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){qu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){qu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return qu.assertInt32(e),e=(e<<1^e>>31)>>>0,Am.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=um.PbLong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=um.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=um.PbLong.from(e);return Am.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=um.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return Am.varint64write(n,i,this.buf),this}uint64(e){let r=um.PbULong.from(e);return Am.varint64write(r.lo,r.hi,this.buf),this}};Gu.BinaryWriter=TC});var fP=h(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.mergeJsonOptions=ua.jsonWriteOptions=ua.jsonReadOptions=void 0;var G8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},H8={ignoreUnknownFields:!1};function P0e(t){return t?Object.assign(Object.assign({},H8),t):H8}ua.jsonReadOptions=P0e;function k0e(t){return t?Object.assign(Object.assign({},G8),t):G8}ua.jsonWriteOptions=k0e;function D0e(t,e){var r,s;let n=Object.assign(Object.assign({},t),e);return n.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(s=e?.typeRegistry)!==null&&s!==void 0?s:[]],n}ua.mergeJsonOptions=D0e});var dm=h(vC=>{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.MESSAGE_TYPE=void 0;vC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var gP=h(PC=>{"use strict";Object.defineProperty(PC,"__esModule",{value:!0});PC.lowerCamelCase=void 0;function _0e(t){let e=!1,r=[];for(let s=0;s<t.length;s++){let n=t.charAt(s);n=="_"?e=!0:/\d/.test(n)?(r.push(n),e=!0):e?(r.push(n.toUpperCase()),e=!1):s==0?r.push(n.toLowerCase()):r.push(n)}return r.join("")}PC.lowerCamelCase=_0e});var Qn=h(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.readMessageOption=_t.readFieldOption=_t.readFieldOptions=_t.normalizeFieldInfo=_t.RepeatType=_t.LongType=_t.ScalarType=void 0;var z8=gP(),L0e;(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"})(L0e=_t.ScalarType||(_t.ScalarType={}));var M0e;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(M0e=_t.LongType||(_t.LongType={}));var V8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(V8=_t.RepeatType||(_t.RepeatType={}));function O0e(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:z8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:z8.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:V8.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}_t.normalizeFieldInfo=O0e;function F0e(t,e,r,s){var n;let i=(n=t.fields.find((o,a)=>o.localName==e||a==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}_t.readFieldOptions=F0e;function U0e(t,e,r,s){var n;let i=(n=t.fields.find((a,c)=>a.localName==e||c==e))===null||n===void 0?void 0:n.options;if(!i)return;let o=i[r];return o===void 0?o:s?s.fromJson(o):o}_t.readFieldOption=U0e;function q0e(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}_t.readMessageOption=q0e});var EP=h(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.getSelectedOneofValue=zr.clearOneofValue=zr.setUnknownOneofValue=zr.setOneofValue=zr.getOneofValue=zr.isOneofGroup=void 0;function G0e(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}}zr.isOneofGroup=G0e;function H0e(t,e){return t[e]}zr.getOneofValue=H0e;function z0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}zr.setOneofValue=z0e;function V0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}zr.setUnknownOneofValue=V0e;function $0e(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}zr.clearOneofValue=$0e;function Y0e(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}zr.getSelectedOneofValue=Y0e});var CP=h(kC=>{"use strict";Object.defineProperty(kC,"__esModule",{value:!0});kC.ReflectionTypeCheck=void 0;var at=Qn(),J0e=EP(),yP=class{constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],s=[];for(let n of this.fields)if(n.oneof)s.includes(n.oneof)||(s.push(n.oneof),e.push(n.oneof),r.push(n.oneof));else switch(r.push(n.localName),n.kind){case"scalar":case"enum":(!n.opt||n.repeat)&&e.push(n.localName);break;case"message":n.repeat&&e.push(n.localName);break;case"map":e.push(n.localName);break}this.data={req:e,known:r,oneofs:Object.values(s)}}is(e,r,s=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let n=Object.keys(e),i=this.data;if(n.length<i.req.length||i.req.some(o=>!n.includes(o))||!s&&n.some(o=>!i.known.includes(o)))return!1;if(r<1)return!0;for(let o of i.oneofs){let a=e[o];if(!J0e.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let c=this.fields.find(l=>l.localName===a.oneofKind);if(!c||!this.field(a[a.oneofKind],c,s,r))return!1}for(let o of this.fields)if(o.oneof===void 0&&!this.field(e[o.localName],o,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,at.ScalarType.INT32,n):this.scalar(e,at.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),at.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;i<e.length&&i<n;i++)if(!r.isAssignable(e[i],n-1))return!1}else for(let i=0;i<e.length&&i<n;i++)if(!r.is(e[i],n-1))return!1;return!0}scalar(e,r,s){let n=typeof e;switch(r){case at.ScalarType.UINT64:case at.ScalarType.FIXED64:case at.ScalarType.INT64:case at.ScalarType.SFIXED64:case at.ScalarType.SINT64:switch(s){case at.LongType.BIGINT:return n=="bigint";case at.LongType.NUMBER:return n=="number"&&!isNaN(e);default:return n=="string"}case at.ScalarType.BOOL:return n=="boolean";case at.ScalarType.STRING:return n=="string";case at.ScalarType.BYTES:return e instanceof Uint8Array;case at.ScalarType.DOUBLE:case at.ScalarType.FLOAT:return n=="number"&&!isNaN(e);default:return n=="number"&&Number.isInteger(e)}}scalars(e,r,s,n){if(!Array.isArray(e))return!1;if(s<2)return!0;if(Array.isArray(e)){for(let i=0;i<e.length&&i<s;i++)if(!this.scalar(e[i],r,n))return!1}return!0}mapKeys(e,r,s){let n=Object.keys(e);switch(r){case at.ScalarType.INT32:case at.ScalarType.FIXED32:case at.ScalarType.SFIXED32:case at.ScalarType.SINT32:case at.ScalarType.UINT32:return this.scalars(n.slice(0,s).map(i=>parseInt(i)),r,s);case at.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,at.LongType.STRING)}}};kC.ReflectionTypeCheck=yP});var _C=h(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.reflectionLongConvert=void 0;var $8=Qn();function W0e(t,e){switch(e){case $8.LongType.BIGINT:return t.toBigInt();case $8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}DC.reflectionLongConvert=W0e});var BP=h(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.ReflectionJsonReader=void 0;var Y8=CC(),j0e=BC(),Lt=Qn(),LC=la(),Nc=Uu(),MC=_C(),IP=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 s of r)this.fMap[s.name]=s,this.fMap[s.jsonName]=s,this.fMap[s.localName]=s}}assert(e,r,s){if(!e){let n=Y8.typeofJsonValue(s);throw(n=="number"||n=="boolean")&&(n=s.toString()),new Error(`Cannot parse JSON ${n} for ${this.info.typeName}#${r}`)}}read(e,r,s){this.prepare();let n=[];for(let[i,o]of Object.entries(e)){let a=this.fMap[i];if(!a){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let c=a.localName,l;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(a.oneof),l=r[a.oneof]={oneofKind:c}}else l=r;if(a.kind=="map"){if(o===null)continue;this.assert(Y8.isJsonObject(o),a.name,o);let u=l[c];for(let[A,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let p;switch(a.V.kind){case"message":p=a.V.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(a.V.T(),d,a.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(p!==void 0,a.name+" map value",d);let m=A;a.K==Lt.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,a.K,Lt.LongType.STRING,a.name).toString(),u[m]=p}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let u=l[c];for(let A of o){this.assert(A!==null,a.name,null);let d;switch(a.kind){case"message":d=a.T().internalJsonRead(A,s);break;case"enum":if(d=this.enum(a.T(),A,a.name,s.ignoreUnknownFields),d===!1)continue;break;case"scalar":d=this.scalar(A,a.T,a.L,a.name);break}this.assert(d!==void 0,a.name,o),u.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}l[c]=a.T().internalJsonRead(o,s,l[c]);break;case"enum":if(o===null)continue;let u=this.enum(a.T(),o,a.name,s.ignoreUnknownFields);if(u===!1)continue;l[c]=u;break;case"scalar":if(o===null)continue;l[c]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&Nc.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Nc.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${s}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let o=e[1][i];return typeof o>"u"&&n?!1:(Nc.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),o)}Nc.assert(!1,`Unable to parse field ${this.info.typeName}#${s}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,s,n){let i;try{switch(r){case Lt.ScalarType.DOUBLE:case Lt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let o=Number(e);if(Number.isNaN(o)){i="not a number";break}if(!Number.isFinite(o)){i="too large or small";break}return r==Lt.ScalarType.FLOAT&&Nc.assertFloat32(o),o;case Lt.ScalarType.INT32:case Lt.ScalarType.FIXED32:case Lt.ScalarType.SFIXED32:case Lt.ScalarType.SINT32:case Lt.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":a=Number(e)),a===void 0)break;return r==Lt.ScalarType.UINT32?Nc.assertUInt32(a):Nc.assertInt32(a),a;case Lt.ScalarType.INT64:case Lt.ScalarType.SFIXED64:case Lt.ScalarType.SINT64:if(e===null)return MC.reflectionLongConvert(LC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return MC.reflectionLongConvert(LC.PbLong.from(e),s);case Lt.ScalarType.FIXED64:case Lt.ScalarType.UINT64:if(e===null)return MC.reflectionLongConvert(LC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return MC.reflectionLongConvert(LC.PbULong.from(e),s);case Lt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Lt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(c){c="invalid UTF8";break}return e;case Lt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return j0e.base64decode(e)}}catch(o){i=o.message}this.assert(!1,n+(i?" - "+i:""),e)}};OC.ReflectionJsonReader=IP});var bP=h(FC=>{"use strict";Object.defineProperty(FC,"__esModule",{value:!0});FC.ReflectionJsonWriter=void 0;var K0e=BC(),J8=la(),Br=Qn(),We=Uu(),wP=class{constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let s={},n=e;for(let i of this.fields){if(!i.oneof){let l=this.field(i,n[i.localName],r);l!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=l);continue}let o=n[i.oneof];if(o.oneofKind!==i.localName)continue;let a=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,c=this.field(i,o[i.localName],a);We.assert(c!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=c}return s}field(e,r,s){let n;if(e.kind=="map"){We.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[c,l]of Object.entries(r)){let u=this.scalar(e.V.T,l,e.name,!1,!0);We.assert(u!==void 0),i[c.toString()]=u}break;case"message":let o=e.V.T();for(let[c,l]of Object.entries(r)){let u=this.message(o,l,e.name,s);We.assert(u!==void 0),i[c.toString()]=u}break;case"enum":let a=e.V.T();for(let[c,l]of Object.entries(r)){We.assert(l===void 0||typeof l=="number");let u=this.enum(a,l,e.name,!1,!0,s.enumAsInteger);We.assert(u!==void 0),i[c.toString()]=u}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){We.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let c=0;c<r.length;c++){let l=this.scalar(e.T,r[c],e.name,e.opt,!0);We.assert(l!==void 0),i.push(l)}break;case"enum":let o=e.T();for(let c=0;c<r.length;c++){We.assert(r[c]===void 0||typeof r[c]=="number");let l=this.enum(o,r[c],e.name,e.opt,!0,s.enumAsInteger);We.assert(l!==void 0),i.push(l)}break;case"message":let a=e.T();for(let c=0;c<r.length;c++){let l=this.message(a,r[c],e.name,s);We.assert(l!==void 0),i.push(l)}break}(s.emitDefaultValues||i.length>0||s.emitDefaultValues)&&(n=i)}else switch(e.kind){case"scalar":n=this.scalar(e.T,r,e.name,e.opt,s.emitDefaultValues);break;case"enum":n=this.enum(e.T(),r,e.name,e.opt,s.emitDefaultValues,s.enumAsInteger);break;case"message":n=this.message(e.T(),r,e.name,s);break}return n}enum(e,r,s,n,i,o){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){We.assert(n);return}if(!(r===0&&!i&&!n))return We.assert(typeof r=="number"),We.assert(Number.isInteger(r)),o||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,s,n){return r===void 0?n.emitDefaultValues?null:void 0:e.internalJsonWrite(r,n)}scalar(e,r,s,n,i){if(r===void 0){We.assert(n);return}let o=i||n;switch(e){case Br.ScalarType.INT32:case Br.ScalarType.SFIXED32:case Br.ScalarType.SINT32:return r===0?o?0:void 0:(We.assertInt32(r),r);case Br.ScalarType.FIXED32:case Br.ScalarType.UINT32:return r===0?o?0:void 0:(We.assertUInt32(r),r);case Br.ScalarType.FLOAT:We.assertFloat32(r);case Br.ScalarType.DOUBLE:return r===0?o?0:void 0:(We.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Br.ScalarType.STRING:return r===""?o?"":void 0:(We.assert(typeof r=="string"),r);case Br.ScalarType.BOOL:return r===!1?o?!1:void 0:(We.assert(typeof r=="boolean"),r);case Br.ScalarType.UINT64:case Br.ScalarType.FIXED64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=J8.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case Br.ScalarType.INT64:case Br.ScalarType.SFIXED64:case Br.ScalarType.SINT64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=J8.PbLong.from(r);return c.isZero()&&!o?void 0:c.toString();case Br.ScalarType.BYTES:return We.assert(r instanceof Uint8Array),r.byteLength?K0e.base64encode(r):o?"":void 0}}};FC.ReflectionJsonWriter=wP});var qC=h(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.reflectionScalarDefault=void 0;var xn=Qn(),W8=_C(),j8=la();function X0e(t,e=xn.LongType.STRING){switch(t){case xn.ScalarType.BOOL:return!1;case xn.ScalarType.UINT64:case xn.ScalarType.FIXED64:return W8.reflectionLongConvert(j8.PbULong.ZERO,e);case xn.ScalarType.INT64:case xn.ScalarType.SFIXED64:case xn.ScalarType.SINT64:return W8.reflectionLongConvert(j8.PbLong.ZERO,e);case xn.ScalarType.DOUBLE:case xn.ScalarType.FLOAT:return 0;case xn.ScalarType.BYTES:return new Uint8Array(0);case xn.ScalarType.STRING:return"";default:return 0}}UC.reflectionScalarDefault=X0e});var xP=h(GC=>{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});GC.ReflectionBinaryReader=void 0;var K8=im(),yt=Qn(),pm=_C(),X8=qC(),QP=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(s=>[s.no,s]))}}read(e,r,s,n){this.prepare();let i=n===void 0?e.len:e.pos+n;for(;e.pos<i;){let[o,a]=e.tag(),c=this.fieldNoToField.get(o);if(!c){let d=s.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let p=e.skip(a);d!==!1&&(d===!0?K8.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,p);continue}let l=r,u=c.repeat,A=c.localName;switch(c.oneof&&(l=l[c.oneof],l.oneofKind!==A&&(l=r[c.oneof]={oneofKind:A})),c.kind){case"scalar":case"enum":let d=c.kind=="enum"?yt.ScalarType.INT32:c.T,p=c.kind=="scalar"?c.L:void 0;if(u){let y=l[A];if(a==K8.WireType.LengthDelimited&&d!=yt.ScalarType.STRING&&d!=yt.ScalarType.BYTES){let g=e.uint32()+e.pos;for(;e.pos<g;)y.push(this.scalar(e,d,p))}else y.push(this.scalar(e,d,p))}else l[A]=this.scalar(e,d,p);break;case"message":if(u){let y=l[A],g=c.T().internalBinaryRead(e,e.uint32(),s);y.push(g)}else l[A]=c.T().internalBinaryRead(e,e.uint32(),s,l[A]);break;case"map":let[m,f]=this.mapEntry(c,e,s);l[A][m]=f;break}}}mapEntry(e,r,s){let n=r.uint32(),i=r.pos+n,o,a;for(;r.pos<i;){let[c,l]=r.tag();switch(c){case 1:e.K==yt.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,yt.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(),s);break}break;default:throw new Error(`Unknown field ${c} (wire type ${l}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let c=X8.reflectionScalarDefault(e.K);o=e.K==yt.ScalarType.BOOL?c.toString():c}if(a===void 0)switch(e.V.kind){case"scalar":a=X8.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,s){switch(r){case yt.ScalarType.INT32:return e.int32();case yt.ScalarType.STRING:return e.string();case yt.ScalarType.BOOL:return e.bool();case yt.ScalarType.DOUBLE:return e.double();case yt.ScalarType.FLOAT:return e.float();case yt.ScalarType.INT64:return pm.reflectionLongConvert(e.int64(),s);case yt.ScalarType.UINT64:return pm.reflectionLongConvert(e.uint64(),s);case yt.ScalarType.FIXED64:return pm.reflectionLongConvert(e.fixed64(),s);case yt.ScalarType.FIXED32:return e.fixed32();case yt.ScalarType.BYTES:return e.bytes();case yt.ScalarType.UINT32:return e.uint32();case yt.ScalarType.SFIXED32:return e.sfixed32();case yt.ScalarType.SFIXED64:return pm.reflectionLongConvert(e.sfixed64(),s);case yt.ScalarType.SINT32:return e.sint32();case yt.ScalarType.SINT64:return pm.reflectionLongConvert(e.sint64(),s)}}};GC.ReflectionBinaryReader=QP});var SP=h(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.ReflectionBinaryWriter=void 0;var gs=im(),Me=Qn(),Hu=Uu(),mm=la(),NP=class{constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,s)=>r.no-s.no)}}write(e,r,s){this.prepare();for(let i of this.fields){let o,a,c=i.repeat,l=i.localName;if(i.oneof){let u=e[i.oneof];if(u.oneofKind!==l)continue;o=u[l],a=!0}else o=e[l],a=!1;switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?Me.ScalarType.INT32:i.T;if(c)if(Hu.assert(Array.isArray(o)),c==Me.RepeatType.PACKED)this.packed(r,u,i.no,o);else for(let A of o)this.scalar(r,u,i.no,A,!0);else o===void 0?Hu.assert(i.opt):this.scalar(r,u,i.no,o,a||i.opt);break;case"message":if(c){Hu.assert(Array.isArray(o));for(let A of o)this.message(r,s,i.T(),i.no,A)}else this.message(r,s,i.T(),i.no,o);break;case"map":Hu.assert(typeof o=="object"&&o!==null);for(let[A,d]of Object.entries(o))this.mapEntry(r,s,i,A,d);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?gs.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,gs.WireType.LengthDelimited),e.fork();let o=n;switch(s.K){case Me.ScalarType.INT32:case Me.ScalarType.FIXED32:case Me.ScalarType.UINT32:case Me.ScalarType.SFIXED32:case Me.ScalarType.SINT32:o=Number.parseInt(n);break;case Me.ScalarType.BOOL:Hu.assert(n=="true"||n=="false"),o=n=="true";break}switch(this.scalar(e,s.K,1,o,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,Me.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,gs.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[o,a,c]=this.scalarInfo(r,n);(!c||i)&&(e.tag(s,o),e[a](n))}packed(e,r,s,n){if(!n.length)return;Hu.assert(r!==Me.ScalarType.BYTES&&r!==Me.ScalarType.STRING),e.tag(s,gs.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let o=0;o<n.length;o++)e[i](n[o]);e.join()}scalarInfo(e,r){let s=gs.WireType.Varint,n,i=r===void 0,o=r===0;switch(e){case Me.ScalarType.INT32:n="int32";break;case Me.ScalarType.STRING:o=i||!r.length,s=gs.WireType.LengthDelimited,n="string";break;case Me.ScalarType.BOOL:o=r===!1,n="bool";break;case Me.ScalarType.UINT32:n="uint32";break;case Me.ScalarType.DOUBLE:s=gs.WireType.Bit64,n="double";break;case Me.ScalarType.FLOAT:s=gs.WireType.Bit32,n="float";break;case Me.ScalarType.INT64:o=i||mm.PbLong.from(r).isZero(),n="int64";break;case Me.ScalarType.UINT64:o=i||mm.PbULong.from(r).isZero(),n="uint64";break;case Me.ScalarType.FIXED64:o=i||mm.PbULong.from(r).isZero(),s=gs.WireType.Bit64,n="fixed64";break;case Me.ScalarType.BYTES:o=i||!r.byteLength,s=gs.WireType.LengthDelimited,n="bytes";break;case Me.ScalarType.FIXED32:s=gs.WireType.Bit32,n="fixed32";break;case Me.ScalarType.SFIXED32:s=gs.WireType.Bit32,n="sfixed32";break;case Me.ScalarType.SFIXED64:o=i||mm.PbLong.from(r).isZero(),s=gs.WireType.Bit64,n="sfixed64";break;case Me.ScalarType.SINT32:n="sint32";break;case Me.ScalarType.SINT64:o=i||mm.PbLong.from(r).isZero(),n="sint64";break}return[s,n,i||o]}};HC.ReflectionBinaryWriter=NP});var RP=h(zC=>{"use strict";Object.defineProperty(zC,"__esModule",{value:!0});zC.reflectionCreate=void 0;var Z0e=qC(),eNe=dm();function tNe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},eNe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let s=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[s]=[];else switch(r.kind){case"scalar":e[s]=Z0e.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}zC.reflectionCreate=tNe});var TP=h(VC=>{"use strict";Object.defineProperty(VC,"__esModule",{value:!0});VC.reflectionMergePartial=void 0;function rNe(t,e,r){let s,n=r,i;for(let o of t.fields){let a=o.localName;if(o.oneof){let c=n[o.oneof];if(c?.oneofKind==null)continue;if(s=c[a],i=e[o.oneof],i.oneofKind=c.oneofKind,s==null){delete i[a];continue}}else if(s=n[a],i=e,s==null)continue;switch(o.repeat&&(i[a].length=s.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let l=0;l<s.length;l++)i[a][l]=s[l];else i[a]=s;break;case"message":let c=o.T();if(o.repeat)for(let l=0;l<s.length;l++)i[a][l]=c.create(s[l]);else i[a]===void 0?i[a]=c.create(s):c.mergePartial(i[a],s);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(i[a],s);break;case"message":let l=o.V.T();for(let u of Object.keys(s))i[a][u]=l.create(s[u]);break}break}}}VC.reflectionMergePartial=rNe});var PP=h(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.reflectionEquals=void 0;var vP=Qn();function sNe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let s of t.fields){let n=s.localName,i=s.oneof?e[s.oneof][n]:e[n],o=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let a=s.kind=="enum"?vP.ScalarType.INT32:s.T;if(!(s.repeat?Z8(a,i,o):t5(a,i,o)))return!1;break;case"map":if(!(s.V.kind=="message"?e5(s.V.T(),$C(i),$C(o)):Z8(s.V.kind=="enum"?vP.ScalarType.INT32:s.V.T,$C(i),$C(o))))return!1;break;case"message":let c=s.T();if(!(s.repeat?e5(c,i,o):c.equals(i,o)))return!1;break}}return!0}YC.reflectionEquals=sNe;var $C=Object.values;function t5(t,e,r){if(e===r)return!0;if(t!==vP.ScalarType.BYTES)return!1;let s=e,n=r;if(s.length!==n.length)return!1;for(let i=0;i<s.length;i++)if(s[i]!=n[i])return!1;return!0}function Z8(t,e,r){if(e.length!==r.length)return!1;for(let s=0;s<e.length;s++)if(!t5(t,e[s],r[s]))return!1;return!0}function e5(t,e,r){if(e.length!==r.length)return!1;for(let s=0;s<e.length;s++)if(!t.equals(e[s],r[s]))return!1;return!0}});var n5=h(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.MessageType=void 0;var nNe=dm(),iNe=Qn(),oNe=CP(),aNe=BP(),cNe=bP(),lNe=xP(),uNe=SP(),ANe=RP(),kP=TP(),dNe=CC(),r5=fP(),pNe=PP(),mNe=hP(),hNe=mP(),s5=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),fNe=s5[nNe.MESSAGE_TYPE]={},DP=class{constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(iNe.normalizeFieldInfo),this.options=s??{},fNe.value=this,this.messagePrototype=Object.create(null,s5),this.refTypeCheck=new oNe.ReflectionTypeCheck(this),this.refJsonReader=new aNe.ReflectionJsonReader(this),this.refJsonWriter=new cNe.ReflectionJsonWriter(this),this.refBinReader=new lNe.ReflectionBinaryReader(this),this.refBinWriter=new uNe.ReflectionBinaryWriter(this)}create(e){let r=ANe.reflectionCreate(this);return e!==void 0&&kP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return kP.reflectionMergePartial(this,r,e),r}equals(e,r){return pNe.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){kP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=hNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,r5.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,r5.jsonWriteOptions(r))}toJsonString(e,r){var s;let n=this.toJson(e,r);return JSON.stringify(n,null,(s=r?.prettySpaces)!==null&&s!==void 0?s:0)}toBinary(e,r){let s=mNe.binaryWriteOptions(r);return this.internalBinaryWrite(e,s.writerFactory(),s).finish()}internalJsonRead(e,r,s){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=s??this.create();return this.refJsonReader.read(e,n,r),n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${dNe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,s){return this.refBinWriter.write(e,r,s),r}internalBinaryRead(e,r,s,n){let i=n??this.create();return this.refBinReader.read(e,i,s,r),i}};JC.MessageType=DP});var i5=h(WC=>{"use strict";Object.defineProperty(WC,"__esModule",{value:!0});WC.containsMessageType=void 0;var gNe=dm();function ENe(t){return t[gNe.MESSAGE_TYPE]!=null}WC.containsMessageType=ENe});var a5=h(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.listEnumNumbers=wi.listEnumNames=wi.listEnumValues=wi.isEnumObject=void 0;function o5(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 s=t[e];if(s===void 0||typeof s!="number"||t[s]===void 0)return!1}else{let s=t[r];if(s===void 0||t[s]!==r)return!1}}return!0}wi.isEnumObject=o5;function _P(t){if(!o5(t))throw new Error("not a typescript enum object");let e=[];for(let[r,s]of Object.entries(t))typeof s=="number"&&e.push({name:r,number:s});return e}wi.listEnumValues=_P;function yNe(t){return _P(t).map(e=>e.name)}wi.listEnumNames=yNe;function CNe(t){return _P(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}wi.listEnumNumbers=CNe});var Ct=h(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var c5=CC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:function(){return c5.typeofJsonValue}});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:function(){return c5.isJsonObject}});var l5=BC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:function(){return l5.base64decode}});Object.defineProperty(j,"base64encode",{enumerable:!0,get:function(){return l5.base64encode}});var INe=_8();Object.defineProperty(j,"utf8read",{enumerable:!0,get:function(){return INe.utf8read}});var LP=im();Object.defineProperty(j,"WireType",{enumerable:!0,get:function(){return LP.WireType}});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:function(){return LP.mergeBinaryOptions}});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:function(){return LP.UnknownFieldHandler}});var u5=mP();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:function(){return u5.BinaryReader}});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:function(){return u5.binaryReadOptions}});var A5=hP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:function(){return A5.BinaryWriter}});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:function(){return A5.binaryWriteOptions}});var d5=la();Object.defineProperty(j,"PbLong",{enumerable:!0,get:function(){return d5.PbLong}});Object.defineProperty(j,"PbULong",{enumerable:!0,get:function(){return d5.PbULong}});var MP=fP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:function(){return MP.jsonReadOptions}});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:function(){return MP.jsonWriteOptions}});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:function(){return MP.mergeJsonOptions}});var BNe=dm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:function(){return BNe.MESSAGE_TYPE}});var wNe=n5();Object.defineProperty(j,"MessageType",{enumerable:!0,get:function(){return wNe.MessageType}});var Sc=Qn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:function(){return Sc.ScalarType}});Object.defineProperty(j,"LongType",{enumerable:!0,get:function(){return Sc.LongType}});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:function(){return Sc.RepeatType}});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:function(){return Sc.normalizeFieldInfo}});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:function(){return Sc.readFieldOptions}});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:function(){return Sc.readFieldOption}});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:function(){return Sc.readMessageOption}});var bNe=CP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:function(){return bNe.ReflectionTypeCheck}});var QNe=RP();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:function(){return QNe.reflectionCreate}});var xNe=qC();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:function(){return xNe.reflectionScalarDefault}});var NNe=TP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:function(){return NNe.reflectionMergePartial}});var SNe=PP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:function(){return SNe.reflectionEquals}});var RNe=xP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:function(){return RNe.ReflectionBinaryReader}});var TNe=SP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return TNe.ReflectionBinaryWriter}});var vNe=BP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:function(){return vNe.ReflectionJsonReader}});var PNe=bP();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:function(){return PNe.ReflectionJsonWriter}});var kNe=i5();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:function(){return kNe.containsMessageType}});var hm=EP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:function(){return hm.isOneofGroup}});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:function(){return hm.setOneofValue}});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:function(){return hm.getOneofValue}});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:function(){return hm.clearOneofValue}});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:function(){return hm.getSelectedOneofValue}});var jC=a5();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:function(){return jC.listEnumValues}});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:function(){return jC.listEnumNames}});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:function(){return jC.listEnumNumbers}});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:function(){return jC.isEnumObject}});var DNe=gP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:function(){return DNe.lowerCamelCase}});var fm=Uu();Object.defineProperty(j,"assert",{enumerable:!0,get:function(){return fm.assert}});Object.defineProperty(j,"assertNever",{enumerable:!0,get:function(){return fm.assertNever}});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:function(){return fm.assertInt32}});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:function(){return fm.assertUInt32}});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:function(){return fm.assertFloat32}})});var OP=h(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.readServiceOption=bi.readMethodOption=bi.readMethodOptions=bi.normalizeMethodInfo=void 0;var _Ne=Ct();function LNe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:_Ne.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(s=i.options)!==null&&s!==void 0?s:{},i.idempotency=(n=i.idempotency)!==null&&n!==void 0?n:void 0,i}bi.normalizeMethodInfo=LNe;function MNe(t,e,r,s){var n;let i=(n=t.methods.find((o,a)=>o.localName===e||a===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}bi.readMethodOptions=MNe;function ONe(t,e,r,s){var n;let i=(n=t.methods.find((a,c)=>a.localName===e||c===e))===null||n===void 0?void 0:n.options;if(!i)return;let o=i[r];return o===void 0?o:s?s.fromJson(o):o}bi.readMethodOption=ONe;function FNe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}bi.readServiceOption=FNe});var p5=h(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.ServiceType=void 0;var UNe=OP(),FP=class{constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>UNe.normalizeMethodInfo(n,this)),this.options=s??{}}};KC.ServiceType=FP});var qP=h(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});XC.RpcError=void 0;var UP=class extends Error{constructor(e,r="UNKNOWN",s){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=s??{}}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[s,n]of r)e.push(` ${s}: ${n}`)}return e.join(`
`)}};XC.RpcError=UP});var GP=h(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});eI.mergeRpcOptions=void 0;var m5=Ct();function qNe(t,e){if(!e)return t;let r={};ZC(t,r),ZC(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=m5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=m5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},ZC(t.meta,r.meta),ZC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}eI.mergeRpcOptions=qNe;function ZC(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}});var zP=h(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.Deferred=Rc.DeferredState=void 0;var Qi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Qi=Rc.DeferredState||(Rc.DeferredState={}));var HP=class{constructor(e=!0){this._state=Qi.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Qi.PENDING)throw new Error(`cannot resolve ${Qi[this.state].toLowerCase()}`);this._resolve(e),this._state=Qi.RESOLVED}reject(e){if(this.state!==Qi.PENDING)throw new Error(`cannot reject ${Qi[this.state].toLowerCase()}`);this._reject(e),this._state=Qi.REJECTED}resolvePending(e){this._state===Qi.PENDING&&this.resolve(e)}rejectPending(e){this._state===Qi.PENDING&&this.reject(e)}};Rc.Deferred=HP});var $P=h(tI=>{"use strict";Object.defineProperty(tI,"__esModule",{value:!0});tI.RpcOutputStreamController=void 0;var h5=zP(),Tc=Ct(),VP=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 s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Tc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Tc.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){Tc.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(){Tc.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;Tc.assert(e,"bad state"),Tc.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 h5.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Tc.assert(s.state==h5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};tI.RpcOutputStreamController=VP});var JP=h(zu=>{"use strict";var GNe=zu&&zu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(zu,"__esModule",{value:!0});zu.UnaryCall=void 0;var YP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=o,this.trailers=a}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return GNe(this,void 0,void 0,function*(){let[e,r,s,n]=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:s,trailers:n}})}};zu.UnaryCall=YP});var jP=h(Vu=>{"use strict";var HNe=Vu&&Vu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.ServerStreamingCall=void 0;var WP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=o,this.trailers=a}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return HNe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:s}})}};Vu.ServerStreamingCall=WP});var XP=h($u=>{"use strict";var zNe=$u&&$u.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty($u,"__esModule",{value:!0});$u.ClientStreamingCall=void 0;var KP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=o,this.trailers=a}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return zNe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:s,trailers:n}})}};$u.ClientStreamingCall=KP});var ek=h(Yu=>{"use strict";var VNe=Yu&&Yu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.DuplexStreamingCall=void 0;var ZP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=o,this.trailers=a}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return VNe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:s}})}};Yu.DuplexStreamingCall=ZP});var g5=h(ju=>{"use strict";var $Ne=ju&&ju.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(ju,"__esModule",{value:!0});ju.TestTransport=void 0;var Js=qP(),rI=Ct(),f5=$P(),YNe=GP(),JNe=JP(),WNe=jP(),jNe=XP(),KNe=ek(),Wu=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 Ju?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Ju?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 Js.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Js.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(rI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),rI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return $Ne(this,void 0,void 0,function*(){let n=[];if(this.data.response===void 0)n.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)rI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof Js.RpcError||(rI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield $t(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Js.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield $t(this.betweenResponseDelay,s)(void 0)}catch(o){r.notifyError(o);return}}if(this.data.status instanceof Js.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Js.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 Js.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 Js.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return YNe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then($t(this.headerDelay,s.abort)),a=o.catch(u=>{}).then($t(this.responseDelay,s.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then($t(this.afterResponseDelay,s.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then($t(this.afterResponseDelay,s.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput={single:r},new JNe.UnaryCall(e,i,r,o,a,c,l)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then($t(this.headerDelay,s.abort)),a=new f5.RpcOutputStreamController,c=o.then($t(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,s.abort)).then($t(this.afterResponseDelay,s.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new WNe.ServerStreamingCall(e,i,r,o,a,l,u)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then($t(this.headerDelay,r.abort)),o=i.catch(l=>{}).then($t(this.responseDelay,r.abort)).then(l=>this.promiseSingleResponse(e)),a=o.catch(l=>{}).then($t(this.afterResponseDelay,r.abort)).then(l=>this.promiseStatus()),c=o.catch(l=>{}).then($t(this.afterResponseDelay,r.abort)).then(l=>this.promiseTrailers());return this.maybeSuppressUncaught(a,c),this.lastInput=new Ju(this.data,r.abort),new jNe.ClientStreamingCall(e,n,this.lastInput,i,o,a,c)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then($t(this.headerDelay,r.abort)),o=new f5.RpcOutputStreamController,a=i.then($t(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,r.abort)).then($t(this.afterResponseDelay,r.abort)),c=a.then(()=>this.promiseStatus()),l=a.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Ju(this.data,r.abort),new KNe.DuplexStreamingCall(e,n,this.lastInput,i,o,c,l)}};ju.TestTransport=Wu;Wu.defaultHeaders={responseHeader:"test"};Wu.defaultStatus={code:"OK",detail:"all good"};Wu.defaultTrailers={responseTrailer:"test"};function $t(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new Js.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",o=>{clearTimeout(i),n(new Js.RpcError("user cancel","CANCELLED"))})}})}var Ju=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 Js.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($t(r,this.abort))}complete(){if(this.data.inputComplete instanceof Js.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($t(e,this.abort))}}});var E5=h(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.stackDuplexStreamingInterceptors=Ws.stackClientStreamingInterceptors=Ws.stackServerStreamingInterceptors=Ws.stackUnaryInterceptors=Ws.stackIntercept=void 0;var XNe=Ct();function gm(t,e,r,s,n){var i,o,a,c;if(t=="unary"){let l=(u,A,d)=>e.unary(u,A,d);for(let u of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(A=>A.interceptUnary).reverse()){let A=l;l=(d,p,m)=>u.interceptUnary(A,d,p,m)}return l(r,n,s)}if(t=="serverStreaming"){let l=(u,A,d)=>e.serverStreaming(u,A,d);for(let u of((o=s.interceptors)!==null&&o!==void 0?o:[]).filter(A=>A.interceptServerStreaming).reverse()){let A=l;l=(d,p,m)=>u.interceptServerStreaming(A,d,p,m)}return l(r,n,s)}if(t=="clientStreaming"){let l=(u,A)=>e.clientStreaming(u,A);for(let u of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(A=>A.interceptClientStreaming).reverse()){let A=l;l=(d,p)=>u.interceptClientStreaming(A,d,p)}return l(r,s)}if(t=="duplex"){let l=(u,A)=>e.duplex(u,A);for(let u of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(A=>A.interceptDuplex).reverse()){let A=l;l=(d,p)=>u.interceptDuplex(A,d,p)}return l(r,s)}XNe.assertNever(t)}Ws.stackIntercept=gm;function ZNe(t,e,r,s){return gm("unary",t,e,s,r)}Ws.stackUnaryInterceptors=ZNe;function eSe(t,e,r,s){return gm("serverStreaming",t,e,s,r)}Ws.stackServerStreamingInterceptors=eSe;function tSe(t,e,r){return gm("clientStreaming",t,e,r)}Ws.stackClientStreamingInterceptors=tSe;function rSe(t,e,r){return gm("duplex",t,e,r)}Ws.stackDuplexStreamingInterceptors=rSe});var y5=h(sI=>{"use strict";Object.defineProperty(sI,"__esModule",{value:!0});sI.ServerCallContextController=void 0;var tk=class{constructor(e,r,s,n,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=s,this.trailers={},this._sendRH=n,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}};sI.ServerCallContextController=tk});var I5=h(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});var sSe=p5();Object.defineProperty(ct,"ServiceType",{enumerable:!0,get:function(){return sSe.ServiceType}});var rk=OP();Object.defineProperty(ct,"readMethodOptions",{enumerable:!0,get:function(){return rk.readMethodOptions}});Object.defineProperty(ct,"readMethodOption",{enumerable:!0,get:function(){return rk.readMethodOption}});Object.defineProperty(ct,"readServiceOption",{enumerable:!0,get:function(){return rk.readServiceOption}});var nSe=qP();Object.defineProperty(ct,"RpcError",{enumerable:!0,get:function(){return nSe.RpcError}});var iSe=GP();Object.defineProperty(ct,"mergeRpcOptions",{enumerable:!0,get:function(){return iSe.mergeRpcOptions}});var oSe=$P();Object.defineProperty(ct,"RpcOutputStreamController",{enumerable:!0,get:function(){return oSe.RpcOutputStreamController}});var aSe=g5();Object.defineProperty(ct,"TestTransport",{enumerable:!0,get:function(){return aSe.TestTransport}});var C5=zP();Object.defineProperty(ct,"Deferred",{enumerable:!0,get:function(){return C5.Deferred}});Object.defineProperty(ct,"DeferredState",{enumerable:!0,get:function(){return C5.DeferredState}});var cSe=ek();Object.defineProperty(ct,"DuplexStreamingCall",{enumerable:!0,get:function(){return cSe.DuplexStreamingCall}});var lSe=XP();Object.defineProperty(ct,"ClientStreamingCall",{enumerable:!0,get:function(){return lSe.ClientStreamingCall}});var uSe=jP();Object.defineProperty(ct,"ServerStreamingCall",{enumerable:!0,get:function(){return uSe.ServerStreamingCall}});var ASe=JP();Object.defineProperty(ct,"UnaryCall",{enumerable:!0,get:function(){return ASe.UnaryCall}});var Em=E5();Object.defineProperty(ct,"stackIntercept",{enumerable:!0,get:function(){return Em.stackIntercept}});Object.defineProperty(ct,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Em.stackDuplexStreamingInterceptors}});Object.defineProperty(ct,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Em.stackClientStreamingInterceptors}});Object.defineProperty(ct,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Em.stackServerStreamingInterceptors}});Object.defineProperty(ct,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Em.stackUnaryInterceptors}});var dSe=y5();Object.defineProperty(ct,"ServerCallContextController",{enumerable:!0,get:function(){return dSe.ServerCallContextController}})});var O5=h((qXe,M5)=>{function js(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}M5.exports=js;js.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};js.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};js.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var s=this;return this._timer=setTimeout(function(){s._attempts++,s._operationTimeoutCb&&(s._timeout=setTimeout(function(){s._operationTimeoutCb(s._attempts)},s._operationTimeout),s._options.unref&&s._timeout.unref()),s._fn(s._attempts)},r),this._options.unref&&this._timer.unref(),!0};js.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};js.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};js.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};js.prototype.start=js.prototype.try;js.prototype.errors=function(){return this._errors};js.prototype.attempts=function(){return this._attempts};js.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s<this._errors.length;s++){var n=this._errors[s],i=n.message,o=(t[i]||0)+1;t[i]=o,o>=r&&(e=n,r=o)}return e}});var F5=h(Dc=>{var bSe=O5();Dc.operation=function(t){var e=Dc.timeouts(t);return new bSe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Dc.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n<e.retries;n++)s.push(this.createTimeout(n,e));return t&&t.forever&&!s.length&&s.push(this.createTimeout(n,e)),s.sort(function(i,o){return i-o}),s};Dc.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,s=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return s=Math.min(s,e.maxTimeout),s};Dc.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var s in t)typeof t[s]=="function"&&r.push(s)}for(var n=0;n<r.length;n++){var i=r[n],o=t[i];t[i]=function(c){var l=Dc.operation(e),u=Array.prototype.slice.call(arguments,1),A=u.pop();u.push(function(d){l.retry(d)||(d&&(arguments[0]=l.mainError()),A.apply(this,arguments))}),l.attempt(function(){c.apply(t,u)})}.bind(t,o),t[i].options=e}}});var q5=h((HXe,U5)=>{U5.exports=F5()});var H5=h((zXe,G5)=>{var QSe=q5();function xSe(t,e){function r(s,n){var i=e||{},o;"randomize"in i||(i.randomize=!0),o=QSe.operation(i);function a(u){n(u||new Error("Aborted"))}function c(u,A){if(u.bail){a(u);return}o.retry(u)?i.onRetry&&i.onRetry(u,A):n(o.mainError())}function l(u){var A;try{A=t(a,u)}catch(d){c(d,u);return}Promise.resolve(A).then(s).catch(function(p){c(p,u)})}o.attempt(l)}return new Promise(r)}G5.exports=xSe});var wr=h(Cs=>{"use strict";Cs.__esModule=!0;Cs.extend=z5;Cs.indexOf=vSe;Cs.escapeExpression=PSe;Cs.isEmpty=kSe;Cs.createFrame=DSe;Cs.blockParams=_Se;Cs.appendContextPath=LSe;var NSe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},SSe=/[&<>"'`=]/g,RSe=/[&<>"'`=]/;function TSe(t){return NSe[t]}function z5(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}var kk=Object.prototype.toString;Cs.toString=kk;var Pk=function(e){return typeof e=="function"};Pk(/x/)&&(Cs.isFunction=Pk=function(t){return typeof t=="function"&&kk.call(t)==="[object Function]"});Cs.isFunction=Pk;var V5=Array.isArray||function(t){return t&&typeof t=="object"?kk.call(t)==="[object Array]":!1};Cs.isArray=V5;function vSe(t,e){for(var r=0,s=t.length;r<s;r++)if(t[r]===e)return r;return-1}function PSe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return RSe.test(t)?t.replace(SSe,TSe):t}function kSe(t){return!t&&t!==0?!0:!!(V5(t)&&t.length===0)}function DSe(t){var e=z5({},t);return e._parent=t,e}function _Se(t,e){return t.path=e,t}function LSe(t,e){return(t?t+".":"")+e}});var Is=h((uI,$5)=>{"use strict";uI.__esModule=!0;var Dk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function _k(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,o=void 0;r&&(s=r.start.line,n=r.end.line,i=r.start.column,o=r.end.column,t+=" - "+s+":"+i);for(var a=Error.prototype.constructor.call(this,t),c=0;c<Dk.length;c++)this[Dk[c]]=a[Dk[c]];Error.captureStackTrace&&Error.captureStackTrace(this,_k);try{r&&(this.lineNumber=s,this.endLineNumber=n,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:o,enumerable:!0})):(this.column=i,this.endColumn=o))}catch{}}_k.prototype=new Error;uI.default=_k;$5.exports=uI.default});var J5=h((AI,Y5)=>{"use strict";AI.__esModule=!0;var Lk=wr();AI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(Lk.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=Lk.createFrame(r.data);i.contextPath=Lk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};Y5.exports=AI.default});var j5=h((dI,W5)=>{"use strict";dI.__esModule=!0;function MSe(t){return t&&t.__esModule?t:{default:t}}var Im=wr(),OSe=Is(),FSe=MSe(OSe);dI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new FSe.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,o="",a=void 0,c=void 0;r.data&&r.ids&&(c=Im.appendContextPath(r.data.contextPath,r.ids[0])+"."),Im.isFunction(e)&&(e=e.call(this)),r.data&&(a=Im.createFrame(r.data));function l(m,f,y){a&&(a.key=m,a.index=f,a.first=f===0,a.last=!!y,c&&(a.contextPath=c+m)),o=o+s(e[m],{data:a,blockParams:Im.blockParams([e[m],m],[c+m,null])})}if(e&&typeof e=="object")if(Im.isArray(e))for(var u=e.length;i<u;i++)i in e&&l(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var A=[],d=e[Symbol.iterator](),p=d.next();!p.done;p=d.next())A.push(p.value);e=A;for(var u=e.length;i<u;i++)l(i,i,i===e.length-1)}else(function(){var m=void 0;Object.keys(e).forEach(function(f){m!==void 0&&l(m,i-1),m=f,i++}),m!==void 0&&l(m,i-1,!0)})();return i===0&&(o=n(this)),o})};W5.exports=dI.default});var X5=h((pI,K5)=>{"use strict";pI.__esModule=!0;function USe(t){return t&&t.__esModule?t:{default:t}}var qSe=Is(),GSe=USe(qSe);pI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new GSe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};K5.exports=pI.default});var rj=h((mI,tj)=>{"use strict";mI.__esModule=!0;function HSe(t){return t&&t.__esModule?t:{default:t}}var Z5=wr(),zSe=Is(),ej=HSe(zSe);mI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new ej.default("#if requires exactly one argument");return Z5.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Z5.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new ej.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};tj.exports=mI.default});var nj=h((hI,sj)=>{"use strict";hI.__esModule=!0;hI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s<arguments.length-1;s++)e.push(arguments[s]);var n=1;r.hash.level!=null?n=r.hash.level:r.data&&r.data.level!=null&&(n=r.data.level),e[0]=n,t.log.apply(t,e)})};sj.exports=hI.default});var oj=h((fI,ij)=>{"use strict";fI.__esModule=!0;fI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};ij.exports=fI.default});var cj=h((gI,aj)=>{"use strict";gI.__esModule=!0;function VSe(t){return t&&t.__esModule?t:{default:t}}var Bm=wr(),$Se=Is(),YSe=VSe($Se);gI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new YSe.default("#with requires exactly one argument");Bm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(Bm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=Bm.createFrame(r.data),n.contextPath=Bm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:Bm.blockParams([e],[n&&n.contextPath])})})};aj.exports=gI.default});var Mk=h(EI=>{"use strict";EI.__esModule=!0;EI.registerDefaultHelpers=cRe;EI.moveHelperToHooks=lRe;function _c(t){return t&&t.__esModule?t:{default:t}}var JSe=J5(),WSe=_c(JSe),jSe=j5(),KSe=_c(jSe),XSe=X5(),ZSe=_c(XSe),eRe=rj(),tRe=_c(eRe),rRe=nj(),sRe=_c(rRe),nRe=oj(),iRe=_c(nRe),oRe=cj(),aRe=_c(oRe);function cRe(t){WSe.default(t),KSe.default(t),ZSe.default(t),tRe.default(t),sRe.default(t),iRe.default(t),aRe.default(t)}function lRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}});var uj=h((yI,lj)=>{"use strict";yI.__esModule=!0;var uRe=wr();yI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=function(o,a){var c=s.partials;s.partials=uRe.extend({},c,r.partials);var l=e(o,a);return s.partials=c,l}),r.partials[n.args[0]]=n.fn,i})};lj.exports=yI.default});var Aj=h(Ok=>{"use strict";Ok.__esModule=!0;Ok.registerDefaultDecorators=mRe;function ARe(t){return t&&t.__esModule?t:{default:t}}var dRe=uj(),pRe=ARe(dRe);function mRe(t){pRe.default(t)}});var Fk=h((CI,dj)=>{"use strict";CI.__esModule=!0;var hRe=wr(),Zu={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=hRe.indexOf(Zu.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=Zu.lookupLevel(e),typeof console<"u"&&Zu.lookupLevel(Zu.level)<=e){var r=Zu.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i<s;i++)n[i-1]=arguments[i];console[r].apply(console,n)}}};CI.default=Zu;dj.exports=CI.default});var Uk=h(wm=>{"use strict";wm.__esModule=!0;wm.createProtoAccessControl=yRe;wm.resultIsAllowed=CRe;wm.resetLoggedProperties=BRe;function fRe(t){return t&&t.__esModule?t:{default:t}}var pj=wr(),gRe=Fk(),ERe=fRe(gRe),II=Object.create(null);function yRe(t){var e=Object.create(null);e.__proto__=!1,pj.extend(e,t.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,pj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}function CRe(t,e,r){return mj(typeof t=="function"?e.methods:e.properties,r)}function mj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(IRe(e),!1)}function IRe(t){II[t]!==!0&&(II[t]=!0,ERe.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function BRe(){Object.keys(II).forEach(function(t){delete II[t]})}});var wI=h(Si=>{"use strict";Si.__esModule=!0;Si.HandlebarsEnvironment=Hk;function hj(t){return t&&t.__esModule?t:{default:t}}var Lc=wr(),wRe=Is(),qk=hj(wRe),bRe=Mk(),QRe=Aj(),xRe=Fk(),BI=hj(xRe),NRe=Uk(),SRe="4.7.9";Si.VERSION=SRe;var RRe=8;Si.COMPILER_REVISION=RRe;var TRe=7;Si.LAST_COMPATIBLE_COMPILER_REVISION=TRe;var vRe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Si.REVISION_CHANGES=vRe;var Gk="[object Object]";function Hk(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},bRe.registerDefaultHelpers(this),QRe.registerDefaultDecorators(this)}Hk.prototype={constructor:Hk,logger:BI.default,log:BI.default.log,registerHelper:function(e,r){if(Lc.toString.call(e)===Gk){if(r)throw new qk.default("Arg not supported with multiple helpers");Lc.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Lc.toString.call(e)===Gk)Lc.extend(this.partials,e);else{if(typeof r>"u")throw new qk.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(Lc.toString.call(e)===Gk){if(r)throw new qk.default("Arg not supported with multiple decorators");Lc.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){NRe.resetLoggedProperties()}};var PRe=BI.default.log;Si.log=PRe;Si.createFrame=Lc.createFrame;Si.logger=BI.default});var gj=h((bI,fj)=>{"use strict";bI.__esModule=!0;function zk(t){this.string=t}zk.prototype.toString=zk.prototype.toHTML=function(){return""+this.string};bI.default=zk;fj.exports=bI.default});var Ej=h(Vk=>{"use strict";Vk.__esModule=!0;Vk.wrapHelper=kRe;function kRe(t,e){if(typeof t!="function")return t;var r=function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)};return r}});var bj=h(da=>{"use strict";da.__esModule=!0;da.checkRevision=FRe;da.template=URe;da.wrapProgram=QI;da.resolvePartial=qRe;da.invokePartial=GRe;da.noop=Bj;function DRe(t){return t&&t.__esModule?t:{default:t}}function _Re(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var LRe=wr(),eA=_Re(LRe),MRe=Is(),fo=DRe(MRe),go=wI(),yj=Mk(),ORe=Ej(),Cj=Uk();function FRe(t){var e=t&&t[0]||1,r=go.COMPILER_REVISION;if(!(e>=go.LAST_COMPATIBLE_COMPILER_REVISION&&e<=go.COMPILER_REVISION))if(e<go.LAST_COMPATIBLE_COMPILER_REVISION){var s=go.REVISION_CHANGES[r],n=go.REVISION_CHANGES[e];throw new fo.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+n+").")}else throw new fo.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function URe(t,e){if(!e)throw new fo.default("No environment passed to template");if(!t||!t.main)throw new fo.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function s(o,a,c){c.hash&&(a=eA.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),o=e.VM.resolvePartial.call(this,o,a,c),c.hooks=this.hooks,c.protoAccessControl=this.protoAccessControl;var l=e.VM.invokePartial.call(this,o,a,c);if(l==null&&e.compile&&(c.partials[c.name]=e.compile(o,t.compilerOptions,e),l=c.partials[c.name](a,c)),l!=null){if(c.indent){for(var u=l.split(`
`),A=0,d=u.length;A<d&&!(!u[A]&&A+1===d);A++)u[A]=c.indent+u[A];l=u.join(`
`)}return l}else throw new fo.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var n={strict:function(a,c,l){if(!a||!(c in a))throw new fo.default('"'+c+'" not defined in '+a,{loc:l});return n.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||Cj.resultIsAllowed(l,n.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,u=0;u<l;u++){var A=a[u]&&n.lookupProperty(a[u],c);if(A!=null)return A}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:eA.escapeExpression,invokePartial:s,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,u,A){var d=this.programs[a],p=this.fn(a);return c||A||u||l?d=QI(this,a,p,c,l,u,A):d||(d=this.programs[a]=QI(this,a,p)),d},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=eA.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(o){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;i._setup(a),!a.partial&&t.useData&&(c=HRe(o,c));var l=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=o!=a.depths[0]?[o].concat(a.depths):a.depths:l=[o]);function A(d){return""+t.main(n,d,n.helpers,n.partials,c,u,l)}return A=wj(t.main,A,n,a.depths||[],c,u),A(o,a)}return i.isTop=!0,i._setup=function(o){if(o.partial)n.protoAccessControl=o.protoAccessControl,n.helpers=o.helpers,n.partials=o.partials,n.decorators=o.decorators,n.hooks=o.hooks;else{var a={};Ij(a,e.helpers,n),Ij(a,o.helpers,n),n.helpers=a,t.usePartial&&(n.partials=n.mergeIfNeeded(o.partials,e.partials)),(t.usePartial||t.useDecorators)&&(n.decorators=eA.extend({},e.decorators,o.decorators)),n.hooks={},n.protoAccessControl=Cj.createProtoAccessControl(o);var c=o.allowCallsToHelperMissing||r;yj.moveHelperToHooks(n,"helperMissing",c),yj.moveHelperToHooks(n,"blockHelperMissing",c)}},i._child=function(o,a,c,l){if(t.useBlockParams&&!c)throw new fo.default("must pass block params");if(t.useDepths&&!l)throw new fo.default("must pass parent depths");return QI(n,o,t[o],a,0,c,l)},i}function QI(t,e,r,s,n,i,o){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=o;return o&&c!=o[0]&&!(c===t.nullContext&&o[0]===null)&&(u=[c].concat(o)),r(t,c,t.helpers,t.partials,l.data||s,i&&[l.blockParams].concat(i),u)}return a=wj(r,a,t,o,s,i),a.program=e,a.depth=o?o.length:0,a.blockParams=n||0,a}function qRe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=xI(r.partials,t)):r.name==="@partial-block"?t=xI(r.data,"partial-block"):t=xI(r.partials,r.name),t}function GRe(t,e,r){var s=xI(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var n=void 0;if(r.fn&&r.fn!==Bj&&(function(){r.data=go.createFrame(r.data);var i=r.fn;n=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=go.createFrame(c.data),c.data["partial-block"]=s,i(a,c)},i.partials&&(r.partials=eA.extend({},r.partials,i.partials))})(),t===void 0&&n&&(t=n),t===void 0)throw new fo.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function Bj(){return""}function xI(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}function HRe(t,e){return(!e||!("root"in e))&&(e=e?go.createFrame(e):{},e.root=t),e}function wj(t,e,r,s,n,i){if(t.decorator){var o={};e=t.decorator(e,o,r,s&&s[0],n,i,s),eA.extend(e,o)}return e}function Ij(t,e,r){e&&Object.keys(e).forEach(function(s){var n=e[s];t[s]=zRe(n,r)})}function zRe(t,e){var r=e.lookupProperty;return ORe.wrapHelper(t,function(s){return s.lookupProperty=r,s})}});var $k=h((NI,Qj)=>{"use strict";NI.__esModule=!0;NI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};Qj.exports=NI.default});var Tj=h((SI,Rj)=>{"use strict";SI.__esModule=!0;function Jk(t){return t&&t.__esModule?t:{default:t}}function Wk(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var VRe=wI(),xj=Wk(VRe),$Re=gj(),YRe=Jk($Re),JRe=Is(),WRe=Jk(JRe),jRe=wr(),Yk=Wk(jRe),KRe=bj(),Nj=Wk(KRe),XRe=$k(),ZRe=Jk(XRe);function Sj(){var t=new xj.HandlebarsEnvironment;return Yk.extend(t,xj),t.SafeString=YRe.default,t.Exception=WRe.default,t.Utils=Yk,t.escapeExpression=Yk.escapeExpression,t.VM=Nj,t.template=function(e){return Nj.template(e,t)},t}var bm=Sj();bm.create=Sj;ZRe.default(bm);bm.default=bm;SI.default=bm;Rj.exports=SI.default});var jk=h((RI,Pj)=>{"use strict";RI.__esModule=!0;var vj={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!vj.helpers.scopedId(e)&&!e.depth}}};RI.default=vj;Pj.exports=RI.default});var Dj=h((TI,kj)=>{"use strict";TI.__esModule=!0;var eTe=(function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(n,i,o,a,c,l,u){var A=l.length-1;switch(c){case 1:return l[A-1];case 2:this.$=a.prepareProgram(l[A]);break;case 3:this.$=l[A];break;case 4:this.$=l[A];break;case 5:this.$=l[A];break;case 6:this.$=l[A];break;case 7:this.$=l[A];break;case 8:this.$=l[A];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(l[A]),strip:a.stripFlags(l[A],l[A]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[A],value:l[A],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(l[A-2],l[A-1],l[A],this._$);break;case 12:this.$={path:l[A-3],params:l[A-2],hash:l[A-1]};break;case 13:this.$=a.prepareBlock(l[A-3],l[A-2],l[A-1],l[A],!1,this._$);break;case 14:this.$=a.prepareBlock(l[A-3],l[A-2],l[A-1],l[A],!0,this._$);break;case 15:this.$={open:l[A-5],path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 16:this.$={path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 17:this.$={path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 18:this.$={strip:a.stripFlags(l[A-1],l[A-1]),program:l[A]};break;case 19:var d=a.prepareBlock(l[A-2],l[A-1],l[A],l[A],!1,this._$),p=a.prepareProgram([d],l[A-1].loc);p.chained=!0,this.$={strip:l[A-2].strip,program:p,chain:!0};break;case 20:this.$=l[A];break;case 21:this.$={path:l[A-1],strip:a.stripFlags(l[A-2],l[A])};break;case 22:this.$=a.prepareMustache(l[A-3],l[A-2],l[A-1],l[A-4],a.stripFlags(l[A-4],l[A]),this._$);break;case 23:this.$=a.prepareMustache(l[A-3],l[A-2],l[A-1],l[A-4],a.stripFlags(l[A-4],l[A]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[A-3],params:l[A-2],hash:l[A-1],indent:"",strip:a.stripFlags(l[A-4],l[A]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(l[A-2],l[A-1],l[A],this._$);break;case 26:this.$={path:l[A-3],params:l[A-2],hash:l[A-1],strip:a.stripFlags(l[A-4],l[A])};break;case 27:this.$=l[A];break;case 28:this.$=l[A];break;case 29:this.$={type:"SubExpression",path:l[A-3],params:l[A-2],hash:l[A-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[A],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(l[A-2]),value:l[A],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(l[A-1]);break;case 33:this.$=l[A];break;case 34:this.$=l[A];break;case 35:this.$={type:"StringLiteral",value:l[A],original:l[A],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[A]),original:Number(l[A]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[A]==="true",original:l[A]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=l[A];break;case 41:this.$=l[A];break;case 42:this.$=a.preparePath(!0,l[A],this._$);break;case 43:this.$=a.preparePath(!1,l[A],this._$);break;case 44:l[A-2].push({part:a.id(l[A]),original:l[A],separator:l[A-1]}),this.$=l[A-2];break;case 45:this.$=[{part:a.id(l[A]),original:l[A]}];break;case 46:this.$=[];break;case 47:l[A-1].push(l[A]);break;case 48:this.$=[];break;case 49:l[A-1].push(l[A]);break;case 50:this.$=[];break;case 51:l[A-1].push(l[A]);break;case 58:this.$=[];break;case 59:l[A-1].push(l[A]);break;case 64:this.$=[];break;case 65:l[A-1].push(l[A]);break;case 70:this.$=[];break;case 71:l[A-1].push(l[A]);break;case 78:this.$=[];break;case 79:l[A-1].push(l[A]);break;case 82:this.$=[];break;case 83:l[A-1].push(l[A]);break;case 86:this.$=[];break;case 87:l[A-1].push(l[A]);break;case 90:this.$=[];break;case 91:l[A-1].push(l[A]);break;case 94:this.$=[];break;case 95:l[A-1].push(l[A]);break;case 98:this.$=[l[A]];break;case 99:l[A-1].push(l[A]);break;case 100:this.$=[l[A]];break;case 101:l[A-1].push(l[A]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(n,i){throw new Error(n)},parse:function(n){var i=this,o=[0],a=[null],c=[],l=this.table,u="",A=0,d=0,p=0,m=2,f=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;c.push(y);var g=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function E(Ke){o.length=o.length-2*Ke,a.length=a.length-Ke,c.length=c.length-Ke}function C(){var Ke;return Ke=i.lexer.lex()||1,typeof Ke!="number"&&(Ke=i.symbols_[Ke]||Ke),Ke}for(var I,x,k,U,de,we,Se={},V,se,q,Ee;;){if(k=o[o.length-1],this.defaultActions[k]?U=this.defaultActions[k]:((I===null||typeof I>"u")&&(I=C()),U=l[k]&&l[k][I]),typeof U>"u"||!U.length||!U[0]){var bt="";if(!p){Ee=[];for(V in l[k])this.terminals_[V]&&V>2&&Ee.push("'"+this.terminals_[V]+"'");this.lexer.showPosition?bt="Parse error on line "+(A+1)+`:
`+this.lexer.showPosition()+`
Expecting `+Ee.join(", ")+", got '"+(this.terminals_[I]||I)+"'":bt="Parse error on line "+(A+1)+": Unexpected "+(I==1?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(bt,{text:this.lexer.match,token:this.terminals_[I]||I,line:this.lexer.yylineno,loc:y,expected:Ee})}}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+I);switch(U[0]){case 1:o.push(I),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),o.push(U[1]),I=null,x?(I=x,x=null):(d=this.lexer.yyleng,u=this.lexer.yytext,A=this.lexer.yylineno,y=this.lexer.yylloc,p>0&&p--);break;case 2:if(se=this.productions_[U[1]][1],Se.$=a[a.length-se],Se._$={first_line:c[c.length-(se||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(se||1)].first_column,last_column:c[c.length-1].last_column},g&&(Se._$.range=[c[c.length-(se||1)].range[0],c[c.length-1].range[1]]),we=this.performAction.call(Se,u,d,A,this.yy,U[1],a,c),typeof we<"u")return we;se&&(o=o.slice(0,-1*se*2),a=a.slice(0,-1*se),c=c.slice(0,-1*se)),o.push(this.productions_[U[1]][0]),a.push(Se.$),c.push(Se._$),q=l[o[o.length-2]][o[o.length-1]],o.push(q);break;case 3:return!0}}return!0}},e=(function(){var s={EOF:1,parseError:function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},setInput:function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,o,a,c,l,u;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),d=0;d<A.length&&(a=this._input.match(this.rules[A[d]]),!(a&&(!o||a[0].length>o[0].length)&&(o=a,c=d,!this.options.flex)));d++);return o?(u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],i=this.performAction.call(this,this.yy,this,A[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return s.options={},s.performAction=function(i,o,a,c){function l(A,d){return o.yytext=o.yytext.substring(A,o.yyleng-d+A)}var u=c;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),o.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return o.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r})();TI.default=eTe;kj.exports=TI.default});var DI=h((kI,Mj)=>{"use strict";kI.__esModule=!0;function tTe(t){return t&&t.__esModule?t:{default:t}}var rTe=Is(),Kk=tTe(rTe);function vI(){this.parents=[]}vI.prototype={constructor:vI,mutating:!1,acceptKey:function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!vI.prototype[s.type])throw new Kk.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new Kk.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},accept:function(e){if(e){if(!this[e.type])throw new Kk.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:PI,Decorator:PI,BlockStatement:_j,DecoratorBlock:_j,PartialStatement:Lj,PartialBlockStatement:function(e){Lj.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:PI,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function PI(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function _j(t){PI.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function Lj(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}kI.default=vI;Mj.exports=kI.default});var Fj=h((_I,Oj)=>{"use strict";_I.__esModule=!0;function sTe(t){return t&&t.__esModule?t:{default:t}}var nTe=DI(),iTe=sTe(nTe);function Ri(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}Ri.prototype=new iTe.default;Ri.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,n=0,i=s.length;n<i;n++){var o=s[n],a=this.accept(o);if(a){var c=Xk(s,n,r),l=Zk(s,n,r),u=a.openStandalone&&c,A=a.closeStandalone&&l,d=a.inlineStandalone&&c&&l;a.close&&Mc(s,n,!0),a.open&&pa(s,n,!0),e&&d&&(Mc(s,n),pa(s,n)&&o.type==="PartialStatement"&&(o.indent=/([ \t]+$)/.exec(s[n-1].original)[1])),e&&u&&(Mc((o.program||o.inverse).body),pa(s,n)),e&&A&&(Mc(s,n),pa((o.inverse||o.program).body))}}return t};Ri.prototype.BlockStatement=Ri.prototype.DecoratorBlock=Ri.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,s=r,n=r;if(r&&r.chained)for(s=r.body[0].program;n.chained;)n=n.body[n.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:Zk(e.body),closeStandalone:Xk((s||e).body)};if(t.openStrip.close&&Mc(e.body,null,!0),r){var o=t.inverseStrip;o.open&&pa(e.body,null,!0),o.close&&Mc(s.body,null,!0),t.closeStrip.open&&pa(n.body,null,!0),!this.options.ignoreStandalone&&Xk(e.body)&&Zk(s.body)&&(pa(e.body),Mc(s.body))}else t.closeStrip.open&&pa(e.body,null,!0);return i};Ri.prototype.Decorator=Ri.prototype.MustacheStatement=function(t){return t.strip};Ri.prototype.PartialStatement=Ri.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function Xk(t,e,r){e===void 0&&(e=t.length);var s=t[e-1],n=t[e-2];if(!s)return r;if(s.type==="ContentStatement")return(n||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(s.original)}function Zk(t,e,r){e===void 0&&(e=-1);var s=t[e+1],n=t[e+2];if(!s)return r;if(s.type==="ContentStatement")return(n||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(s.original)}function Mc(t,e,r){var s=t[e==null?0:e+1];if(!(!s||s.type!=="ContentStatement"||!r&&s.rightStripped)){var n=s.value;s.value=s.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),s.rightStripped=s.value!==n}}function pa(t,e,r){var s=t[e==null?t.length-1:e-1];if(!(!s||s.type!=="ContentStatement"||!r&&s.leftStripped)){var n=s.value;return s.value=s.value.replace(r?/\s+$/:/[ \t]+$/,""),s.leftStripped=s.value!==n,s.leftStripped}}_I.default=Ri;Oj.exports=_I.default});var Uj=h(Ks=>{"use strict";Ks.__esModule=!0;Ks.SourceLocation=cTe;Ks.id=lTe;Ks.stripFlags=uTe;Ks.stripComment=ATe;Ks.preparePath=dTe;Ks.prepareMustache=pTe;Ks.prepareRawBlock=mTe;Ks.prepareBlock=hTe;Ks.prepareProgram=fTe;Ks.preparePartialBlock=gTe;function oTe(t){return t&&t.__esModule?t:{default:t}}var aTe=Is(),eD=oTe(aTe);function tD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new eD.default(t.path.original+" doesn't match "+e,r)}}function cTe(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function lTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function uTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function ATe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function dTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,o=0,a=e.length;o<a;o++){var c=e[o].part,l=e[o].original!==c;if(s+=(e[o].separator||"")+c,!l&&(c===".."||c==="."||c==="this")){if(n.length>0)throw new eD.default("Invalid path: "+s,{loc:r});c===".."&&i++}else n.push(c)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}function pTe(t,e,r,s,n,i){var o=s.charAt(3)||s.charAt(2),a=o!=="{"&&o!=="&",c=/\*/.test(s);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:n,loc:this.locInfo(i)}}function mTe(t,e,r,s){tD(t,r),s=this.locInfo(s);var n={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}function hTe(t,e,r,s,n,i){s&&s.path&&tD(t,s);var o=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,c=void 0;if(r){if(o)throw new eD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),c=r.strip,a=r.program}return n&&(n=a,a=e,e=n),{type:o?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:c,closeStrip:s&&s.strip,loc:this.locInfo(i)}}function fTe(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function gTe(t,e,r,s){return tD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}});var Gj=h(xm=>{"use strict";xm.__esModule=!0;xm.parseWithoutProcessing=qj;xm.parse=xTe;function ETe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function nD(t){return t&&t.__esModule?t:{default:t}}var yTe=Dj(),rD=nD(yTe),CTe=Fj(),ITe=nD(CTe),BTe=Uj(),wTe=ETe(BTe),bTe=Is(),Qm=nD(bTe),QTe=wr();xm.parser=rD.default;var LI={};QTe.extend(LI,wTe);function qj(t,e){if(t.type==="Program")return NTe(t),t;rD.default.yy=LI,LI.locInfo=function(s){return new LI.SourceLocation(e&&e.srcName,s)};var r=rD.default.parse(t);return r}function xTe(t,e){var r=qj(t,e),s=new ITe.default(e);return s.accept(r)}function NTe(t){sD(t)}function sD(t){if(t!=null){if(Array.isArray(t)){t.forEach(sD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!STe(t.depth))throw new Qm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Qm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e<t.parts.length;e++)if(typeof t.parts[e]!="string")throw new Qm.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new Qm.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new Qm.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&sD(t[r])})}}}function STe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}});var $j=h(Tm=>{"use strict";Tm.__esModule=!0;Tm.Compiler=iD;Tm.precompile=PTe;Tm.compile=kTe;function zj(t){return t&&t.__esModule?t:{default:t}}var RTe=Is(),Sm=zj(RTe),Rm=wr(),TTe=jk(),Nm=zj(TTe),vTe=[].slice;function iD(){}iD.prototype={compiler:iD,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s<r;s++){var n=this.opcodes[s],i=e.opcodes[s];if(n.opcode!==i.opcode||!Vj(n.args,i.args))return!1}r=this.children.length;for(var s=0;s<r;s++)if(!this.children[s].equals(e.children[s]))return!1;return!0},guid:0,compile:function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Rm.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function(e){var r=new this.compiler,s=r.compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||s.usePartial,this.children[n]=s,this.useDepths=this.useDepths||s.useDepths,n},accept:function(e){if(!this[e.type])throw new Sm.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,s=r.length,n=0;n<s;n++)this.accept(r[n]);return this.options.blockParams.shift(),this.isSimple=s===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){Hj(e);var r=e.program,s=e.inverse;r=r&&this.compileProgram(r),s=s&&this.compileProgram(s);var n=this.classifySexpr(e);n==="helper"?this.helperSexpr(e,r,s):n==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",s),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,s),this.opcode("pushProgram",r),this.opcode("pushProgram",s),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var r=e.program&&this.compileProgram(e.program),s=this.setupFullMustacheParams(e,r,void 0),n=e.path;this.useDecorators=!0,this.opcode("registerDecorator",s.length,n.original)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var s=e.params;if(s.length>1)throw new Sm.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var o=e.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",i,n,o),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){Hj(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,s){var n=e.path,i=n.parts[0],o=r!=null||s!=null;this.opcode("getContext",n.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",s),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",n.length,o);else{if(this.options.knownHelpersOnly)throw new Sm.default("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Nm.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Nm.default.helpers.scopedId(e),n=!e.depth&&!s&&this.blockParamIndex(r);n?this.opcode("lookupBlockParam",n,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,s):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,s=0,n=r.length;for(this.opcode("pushHash");s<n;s++)this.pushParam(r[s].value);for(;s--;)this.opcode("assignToHash",r[s].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:vTe.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Nm.default.helpers.simpleId(e.path),s=r&&!!this.blockParamIndex(e.path.parts[0]),n=!s&&Nm.default.helpers.helperExpression(e),i=!s&&(n||r);if(i&&!n){var o=e.path.parts[0],a=this.options;a.knownHelpers[o]?n=!0:a.knownHelpersOnly&&(i=!1)}return n?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var r=0,s=e.length;r<s;r++)this.pushParam(e[r])},pushParam:function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var s=void 0;if(e.parts&&!Nm.default.helpers.scopedId(e)&&!e.depth&&(s=this.blockParamIndex(e.parts[0])),s){var n=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",s,n)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function(e,r,s,n){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",s),e.hash?this.accept(e.hash):this.opcode("emptyHash",n),i},blockParamIndex:function(e){for(var r=0,s=this.options.blockParams.length;r<s;r++){var n=this.options.blockParams[r],i=n&&Rm.indexOf(n,e);if(n&&i>=0)return[r,i]}}};function PTe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Sm.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)}function kTe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Sm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Rm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var o=r.parse(t,e),a=new r.Compiler().compile(o,e),c=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(c)}function i(o,a){return s||(s=n()),s.call(this,o,a)}return i._setup=function(o){return s||(s=n()),s._setup(o)},i._child=function(o,a,c,l){return s||(s=n()),s._child(o,a,c,l)},i}function Vj(t,e){if(t===e)return!0;if(Rm.isArray(t)&&Rm.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Vj(t[r],e[r]))return!1;return!0}}function Hj(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}});var Jj=h(oD=>{var Yj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");oD.encode=function(t){if(0<=t&&t<Yj.length)return Yj[t];throw new TypeError("Must be between 0 and 63: "+t)};oD.decode=function(t){var e=65,r=90,s=97,n=122,i=48,o=57,a=43,c=47,l=26,u=52;return e<=t&&t<=r?t-e:s<=t&&t<=n?t-s+l:i<=t&&t<=o?t-i+u:t==a?62:t==c?63:-1}});var lD=h(cD=>{var Wj=Jj(),aD=5,jj=1<<aD,Kj=jj-1,Xj=jj;function DTe(t){return t<0?(-t<<1)+1:(t<<1)+0}function _Te(t){var e=(t&1)===1,r=t>>1;return e?-r:r}cD.encode=function(e){var r="",s,n=DTe(e);do s=n&Kj,n>>>=aD,n>0&&(s|=Xj),r+=Wj.encode(s);while(n>0);return r};cD.decode=function(e,r,s){var n=e.length,i=0,o=0,a,c;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Wj.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(c&Xj),c&=Kj,i=i+(c<<o),o+=aD}while(a);s.value=_Te(i),s.rest=r}});var sA=h(ar=>{function LTe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ar.getArg=LTe;var Zj=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,MTe=/^data:.+\,.+$/;function vm(t){var e=t.match(Zj);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ar.urlParse=vm;function tA(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}ar.urlGenerate=tA;function uD(t){var e=t,r=vm(t);if(r){if(!r.path)return t;e=r.path}for(var s=ar.isAbsolute(e),n=e.split(/\/+/),i,o=0,a=n.length-1;a>=0;a--)i=n[a],i==="."?n.splice(a,1):i===".."?o++:o>0&&(i===""?(n.splice(a+1,o),o=0):(n.splice(a,2),o--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,tA(r)):e}ar.normalize=uD;function e9(t,e){t===""&&(t="."),e===""&&(e=".");var r=vm(e),s=vm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),tA(r);if(r||e.match(MTe))return e;if(s&&!s.host&&!s.path)return s.host=e,tA(s);var n=e.charAt(0)==="/"?e:uD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,tA(s)):n}ar.join=e9;ar.isAbsolute=function(t){return t.charAt(0)==="/"||Zj.test(t)};function OTe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var s=t.lastIndexOf("/");if(s<0||(t=t.slice(0,s),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}ar.relative=OTe;var t9=(function(){var t=Object.create(null);return!("__proto__"in t)})();function r9(t){return t}function FTe(t){return s9(t)?"$"+t:t}ar.toSetString=t9?r9:FTe;function UTe(t){return s9(t)?t.slice(1):t}ar.fromSetString=t9?r9:UTe;function s9(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function qTe(t,e,r){var s=rA(t.source,e.source);return s!==0||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0||r)||(s=t.generatedColumn-e.generatedColumn,s!==0)||(s=t.generatedLine-e.generatedLine,s!==0)?s:rA(t.name,e.name)}ar.compareByOriginalPositions=qTe;function GTe(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=rA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:rA(t.name,e.name)}ar.compareByGeneratedPositionsDeflated=GTe;function rA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function HTe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=rA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:rA(t.name,e.name)}ar.compareByGeneratedPositionsInflated=HTe;function zTe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ar.parseSourceMapInput=zTe;function VTe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=vm(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var n=s.path.lastIndexOf("/");n>=0&&(s.path=s.path.substring(0,n+1))}e=e9(tA(s),e)}return uD(e)}ar.computeSourceURL=VTe});var pD=h(n9=>{var AD=sA(),dD=Object.prototype.hasOwnProperty,Oc=typeof Map<"u";function Eo(){this._array=[],this._set=Oc?new Map:Object.create(null)}Eo.fromArray=function(e,r){for(var s=new Eo,n=0,i=e.length;n<i;n++)s.add(e[n],r);return s};Eo.prototype.size=function(){return Oc?this._set.size:Object.getOwnPropertyNames(this._set).length};Eo.prototype.add=function(e,r){var s=Oc?e:AD.toSetString(e),n=Oc?this.has(e):dD.call(this._set,s),i=this._array.length;(!n||r)&&this._array.push(e),n||(Oc?this._set.set(e,i):this._set[s]=i)};Eo.prototype.has=function(e){if(Oc)return this._set.has(e);var r=AD.toSetString(e);return dD.call(this._set,r)};Eo.prototype.indexOf=function(e){if(Oc){var r=this._set.get(e);if(r>=0)return r}else{var s=AD.toSetString(e);if(dD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')};Eo.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Eo.prototype.toArray=function(){return this._array.slice()};n9.ArraySet=Eo});var a9=h(o9=>{var i9=sA();function $Te(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||i9.compareByGeneratedPositionsInflated(t,e)<=0}function MI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MI.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};MI.prototype.add=function(e){$Te(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};MI.prototype.toArray=function(){return this._sorted||(this._array.sort(i9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};o9.MappingList=MI});var mD=h(c9=>{var Pm=lD(),Rt=sA(),OI=pD().ArraySet,YTe=a9().MappingList;function Xs(t){t||(t={}),this._file=Rt.getArg(t,"file",null),this._sourceRoot=Rt.getArg(t,"sourceRoot",null),this._skipValidation=Rt.getArg(t,"skipValidation",!1),this._sources=new OI,this._names=new OI,this._mappings=new YTe,this._sourcesContents=null}Xs.prototype._version=3;Xs.fromSourceMap=function(e){var r=e.sourceRoot,s=new Xs({file:e.file,sourceRoot:r});return e.eachMapping(function(n){var i={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(i.source=n.source,r!=null&&(i.source=Rt.relative(r,i.source)),i.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(i.name=n.name)),s.addMapping(i)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=Rt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var o=e.sourceContentFor(n);o!=null&&s.setSourceContent(n,o)}),s};Xs.prototype.addMapping=function(e){var r=Rt.getArg(e,"generated"),s=Rt.getArg(e,"original",null),n=Rt.getArg(e,"source",null),i=Rt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,s,n,i),n!=null&&(n=String(n),this._sources.has(n)||this._sources.add(n)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:n,name:i})};Xs.prototype.setSourceContent=function(e,r){var s=e;this._sourceRoot!=null&&(s=Rt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Rt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[Rt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Xs.prototype.applySourceMap=function(e,r,s){var n=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);n=e.file}var i=this._sourceRoot;i!=null&&(n=Rt.relative(i,n));var o=new OI,a=new OI;this._mappings.unsortedForEach(function(c){if(c.source===n&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,s!=null&&(c.source=Rt.join(s,c.source)),i!=null&&(c.source=Rt.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var u=c.source;u!=null&&!o.has(u)&&o.add(u);var A=c.name;A!=null&&!a.has(A)&&a.add(A)},this),this._sources=o,this._names=a,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(s!=null&&(c=Rt.join(s,c)),i!=null&&(c=Rt.relative(i,c)),this.setSourceContent(c,l))},this)};Xs.prototype._validateMapping=function(e,r,s,n){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!s&&!n)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:r,name:n}))}};Xs.prototype._serializeMappings=function(){for(var e=0,r=1,s=0,n=0,i=0,o=0,a="",c,l,u,A,d=this._mappings.toArray(),p=0,m=d.length;p<m;p++){if(l=d[p],c="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)c+=";",r++;else if(p>0){if(!Rt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;c+=","}c+=Pm.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(A=this._sources.indexOf(l.source),c+=Pm.encode(A-o),o=A,c+=Pm.encode(l.originalLine-1-n),n=l.originalLine-1,c+=Pm.encode(l.originalColumn-s),s=l.originalColumn,l.name!=null&&(u=this._names.indexOf(l.name),c+=Pm.encode(u-i),i=u)),a+=c}return a};Xs.prototype._generateSourcesContent=function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=Rt.relative(r,s));var n=Rt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};Xs.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Xs.prototype.toString=function(){return JSON.stringify(this.toJSON())};c9.SourceMapGenerator=Xs});var l9=h(Fc=>{Fc.GREATEST_LOWER_BOUND=1;Fc.LEAST_UPPER_BOUND=2;function hD(t,e,r,s,n,i){var o=Math.floor((e-t)/2)+t,a=n(r,s[o],!0);return a===0?o:a>0?e-o>1?hD(o,e,r,s,n,i):i==Fc.LEAST_UPPER_BOUND?e<s.length?e:-1:o:o-t>1?hD(t,o,r,s,n,i):i==Fc.LEAST_UPPER_BOUND?o:t<0?-1:t}Fc.search=function(e,r,s,n){if(r.length===0)return-1;var i=hD(-1,r.length,e,r,s,n||Fc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i}});var A9=h(u9=>{function fD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}function JTe(t,e){return Math.round(t+Math.random()*(e-t))}function gD(t,e,r,s){if(r<s){var n=JTe(r,s),i=r-1;fD(t,n,s);for(var o=t[s],a=r;a<s;a++)e(t[a],o)<=0&&(i+=1,fD(t,i,a));fD(t,i+1,a);var c=i+1;gD(t,e,r,c-1),gD(t,e,c+1,s)}}u9.quickSort=function(t,e){gD(t,e,0,t.length-1)}});var p9=h(FI=>{var H=sA(),ED=l9(),nA=pD().ArraySet,WTe=lD(),km=A9().quickSort;function Ge(t,e){var r=t;return typeof t=="string"&&(r=H.parseSourceMapInput(t)),r.sections!=null?new Sn(r,e):new jt(r,e)}Ge.fromSourceMap=function(t,e){return jt.fromSourceMap(t,e)};Ge.prototype._version=3;Ge.prototype.__generatedMappings=null;Object.defineProperty(Ge.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Ge.prototype.__originalMappings=null;Object.defineProperty(Ge.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Ge.prototype._charIsMappingSeparator=function(e,r){var s=e.charAt(r);return s===";"||s===","};Ge.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};Ge.GENERATED_ORDER=1;Ge.ORIGINAL_ORDER=2;Ge.GREATEST_LOWER_BOUND=1;Ge.LEAST_UPPER_BOUND=2;Ge.prototype.eachMapping=function(e,r,s){var n=r||null,i=s||Ge.GENERATED_ORDER,o;switch(i){case Ge.GENERATED_ORDER:o=this._generatedMappings;break;case Ge.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=H.computeSourceURL(a,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,n)};Ge.prototype.allGeneratedPositionsFor=function(e){var r=H.getArg(e,"line"),s={source:H.getArg(e,"source"),originalLine:r,originalColumn:H.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var n=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,ED.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)n.push({line:H.getArg(o,"generatedLine",null),column:H.getArg(o,"generatedColumn",null),lastColumn:H.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var c=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==c;)n.push({line:H.getArg(o,"generatedLine",null),column:H.getArg(o,"generatedColumn",null),lastColumn:H.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return n};FI.SourceMapConsumer=Ge;function jt(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sources"),i=H.getArg(r,"names",[]),o=H.getArg(r,"sourceRoot",null),a=H.getArg(r,"sourcesContent",null),c=H.getArg(r,"mappings"),l=H.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=H.normalize(o)),n=n.map(String).map(H.normalize).map(function(u){return o&&H.isAbsolute(o)&&H.isAbsolute(u)?H.relative(o,u):u}),this._names=nA.fromArray(i.map(String),!0),this._sources=nA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(u){return H.computeSourceURL(o,u,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=e,this.file=l}jt.prototype=Object.create(Ge.prototype);jt.prototype.consumer=Ge;jt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=H.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};jt.fromSourceMap=function(e,r){var s=Object.create(jt.prototype),n=s._names=nA.fromArray(e._names.toArray(),!0),i=s._sources=nA.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=r,s._absoluteSources=s._sources.toArray().map(function(p){return H.computeSourceURL(s.sourceRoot,p,r)});for(var o=e._mappings.toArray().slice(),a=s.__generatedMappings=[],c=s.__originalMappings=[],l=0,u=o.length;l<u;l++){var A=o[l],d=new d9;d.generatedLine=A.generatedLine,d.generatedColumn=A.generatedColumn,A.source&&(d.source=i.indexOf(A.source),d.originalLine=A.originalLine,d.originalColumn=A.originalColumn,A.name&&(d.name=n.indexOf(A.name)),c.push(d)),a.push(d)}return km(s.__originalMappings,H.compareByOriginalPositions),s};jt.prototype._version=3;Object.defineProperty(jt.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function d9(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}jt.prototype._parseMappings=function(e,r){for(var s=1,n=0,i=0,o=0,a=0,c=0,l=e.length,u=0,A={},d={},p=[],m=[],f,y,g,E,C;u<l;)if(e.charAt(u)===";")s++,u++,n=0;else if(e.charAt(u)===",")u++;else{for(f=new d9,f.generatedLine=s,E=u;E<l&&!this._charIsMappingSeparator(e,E);E++);if(y=e.slice(u,E),g=A[y],g)u+=y.length;else{for(g=[];u<E;)WTe.decode(e,u,d),C=d.value,u=d.rest,g.push(C);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");A[y]=g}f.generatedColumn=n+g[0],n=f.generatedColumn,g.length>1&&(f.source=a+g[1],a+=g[1],f.originalLine=i+g[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=o+g[3],o=f.originalColumn,g.length>4&&(f.name=c+g[4],c+=g[4])),m.push(f),typeof f.originalLine=="number"&&p.push(f)}km(m,H.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,km(p,H.compareByOriginalPositions),this.__originalMappings=p};jt.prototype._findMapping=function(e,r,s,n,i,o){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return ED.search(e,r,i,o)};jt.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(r.generatedLine===s.generatedLine){r.lastGeneratedColumn=s.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};jt.prototype.originalPositionFor=function(e){var r={generatedLine:H.getArg(e,"line"),generatedColumn:H.getArg(e,"column")},s=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",H.compareByGeneratedPositionsDeflated,H.getArg(e,"bias",Ge.GREATEST_LOWER_BOUND));if(s>=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=H.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=H.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=H.getArg(n,"name",null);return o!==null&&(o=this._names.at(o)),{source:i,line:H.getArg(n,"originalLine",null),column:H.getArg(n,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};jt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};jt.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var n=e;this.sourceRoot!=null&&(n=H.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=H.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||i.path=="/")&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(r)return null;throw new Error('"'+n+'" is not in the SourceMap.')};jt.prototype.generatedPositionFor=function(e){var r=H.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:H.getArg(e,"line"),originalColumn:H.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,H.getArg(e,"bias",Ge.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:H.getArg(i,"generatedLine",null),column:H.getArg(i,"generatedColumn",null),lastColumn:H.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};FI.BasicSourceMapConsumer=jt;function Sn(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new nA,this._names=new nA;var i={line:-1,column:0};this._sections=n.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=H.getArg(o,"offset"),c=H.getArg(a,"line"),l=H.getArg(a,"column");if(c<i.line||c===i.line&&l<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:c+1,generatedColumn:l+1},consumer:new Ge(H.getArg(o,"map"),e)}})}Sn.prototype=Object.create(Ge.prototype);Sn.prototype.constructor=Ge;Sn.prototype._version=3;Object.defineProperty(Sn.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});Sn.prototype.originalPositionFor=function(e){var r={generatedLine:H.getArg(e,"line"),generatedColumn:H.getArg(e,"column")},s=ED.search(r,this._sections,function(i,o){var a=i.generatedLine-o.generatedOffset.generatedLine;return a||i.generatedColumn-o.generatedOffset.generatedColumn}),n=this._sections[s];return n?n.consumer.originalPositionFor({line:r.generatedLine-(n.generatedOffset.generatedLine-1),column:r.generatedColumn-(n.generatedOffset.generatedLine===r.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Sn.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Sn.prototype.sourceContentFor=function(e,r){for(var s=0;s<this._sections.length;s++){var n=this._sections[s],i=n.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Sn.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var s=this._sections[r];if(s.consumer._findSourceIndex(H.getArg(e,"source"))!==-1){var n=s.consumer.generatedPositionFor(e);if(n){var i={line:n.line+(s.generatedOffset.generatedLine-1),column:n.column+(s.generatedOffset.generatedLine===n.line?s.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};Sn.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var n=this._sections[s],i=n.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],c=n.consumer._sources.at(a.source);c=H.computeSourceURL(n.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;a.name&&(l=n.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var u={source:c,generatedLine:a.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(n.generatedOffset.generatedLine===a.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}km(this.__generatedMappings,H.compareByGeneratedPositionsDeflated),km(this.__originalMappings,H.compareByOriginalPositions)};FI.IndexedSourceMapConsumer=Sn});var h9=h(m9=>{var jTe=mD().SourceMapGenerator,UI=sA(),KTe=/(\r?\n)/,XTe=10,iA="$$$isSourceNode$$$";function Bs(t,e,r,s,n){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=n??null,this[iA]=!0,s!=null&&this.add(s)}Bs.fromStringWithSourceMap=function(e,r,s){var n=new Bs,i=e.split(KTe),o=0,a=function(){var d=m(),p=m()||"";return d+p;function m(){return o<i.length?i[o++]:void 0}},c=1,l=0,u=null;return r.eachMapping(function(d){if(u!==null)if(c<d.generatedLine)A(u,a()),c++,l=0;else{var p=i[o]||"",m=p.substr(0,d.generatedColumn-l);i[o]=p.substr(d.generatedColumn-l),l=d.generatedColumn,A(u,m),u=d;return}for(;c<d.generatedLine;)n.add(a()),c++;if(l<d.generatedColumn){var p=i[o]||"";n.add(p.substr(0,d.generatedColumn)),i[o]=p.substr(d.generatedColumn),l=d.generatedColumn}u=d},this),o<i.length&&(u&&A(u,a()),n.add(i.splice(o).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(s!=null&&(d=UI.join(s,d)),n.setSourceContent(d,p))}),n;function A(d,p){if(d===null||d.source===void 0)n.add(p);else{var m=s?UI.join(s,d.source):d.source;n.add(new Bs(d.originalLine,d.originalColumn,m,p,d.name))}}};Bs.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[iA]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Bs.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[iA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Bs.prototype.walk=function(e){for(var r,s=0,n=this.children.length;s<n;s++)r=this.children[s],r[iA]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Bs.prototype.join=function(e){var r,s,n=this.children.length;if(n>0){for(r=[],s=0;s<n-1;s++)r.push(this.children[s]),r.push(e);r.push(this.children[s]),this.children=r}return this};Bs.prototype.replaceRight=function(e,r){var s=this.children[this.children.length-1];return s[iA]?s.replaceRight(e,r):typeof s=="string"?this.children[this.children.length-1]=s.replace(e,r):this.children.push("".replace(e,r)),this};Bs.prototype.setSourceContent=function(e,r){this.sourceContents[UI.toSetString(e)]=r};Bs.prototype.walkSourceContents=function(e){for(var r=0,s=this.children.length;r<s;r++)this.children[r][iA]&&this.children[r].walkSourceContents(e);for(var n=Object.keys(this.sourceContents),r=0,s=n.length;r<s;r++)e(UI.fromSetString(n[r]),this.sourceContents[n[r]])};Bs.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Bs.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},s=new jTe(e),n=!1,i=null,o=null,a=null,c=null;return this.walk(function(l,u){r.code+=l,u.source!==null&&u.line!==null&&u.column!==null?((i!==u.source||o!==u.line||a!==u.column||c!==u.name)&&s.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name}),i=u.source,o=u.line,a=u.column,c=u.name,n=!0):n&&(s.addMapping({generated:{line:r.line,column:r.column}}),i=null,n=!1);for(var A=0,d=l.length;A<d;A++)l.charCodeAt(A)===XTe?(r.line++,r.column=0,A+1===d?(i=null,n=!1):n&&s.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name})):r.column++}),this.walkSourceContents(function(l,u){s.setSourceContent(l,u)}),{code:r.code,map:s}};m9.SourceNode=Bs});var f9=h(qI=>{qI.SourceMapGenerator=mD().SourceMapGenerator;qI.SourceMapConsumer=p9().SourceMapConsumer;qI.SourceNode=h9().SourceNode});var C9=h((GI,y9)=>{"use strict";GI.__esModule=!0;var CD=wr(),Uc=void 0;try{(typeof define!="function"||!define.amd)&&(g9=f9(),Uc=g9.SourceNode)}catch{}var g9;Uc||(Uc=function(t,e,r,s){this.src="",s&&this.add(s)},Uc.prototype={add:function(e){CD.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){CD.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function yD(t,e,r){if(CD.isArray(t)){for(var s=[],n=0,i=t.length;n<i;n++)s.push(e.wrap(t[n],r));return s}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function E9(t){this.srcFile=t,this.source=[]}E9.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,r){this.source.unshift(this.wrap(e,r))},push:function(e,r){this.source.push(this.wrap(e,r))},merge:function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
`])}),e},each:function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new Uc(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Uc?e:(e=yD(e,this,r),new Uc(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,s=[];Object.keys(e).forEach(function(i){var o=yD(e[i],r);o!=="undefined"&&s.push([r.quotedString(i),":",o])});var n=this.generateList(s);return n.prepend("{"),n.add("}"),n},generateList:function(e){for(var r=this.empty(),s=0,n=e.length;s<n;s++)s&&r.add(","),r.add(yD(e[s],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};GI.default=E9;y9.exports=GI.default});var Q9=h((HI,b9)=>{"use strict";HI.__esModule=!0;function w9(t){return t&&t.__esModule?t:{default:t}}var I9=wI(),ZTe=Is(),ID=w9(ZTe),eve=wr(),tve=C9(),B9=w9(tve);function oA(t){this.value=t}function aA(){}aA.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=I9.COMPILER_REVISION,r=I9.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,s){return eve.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,o=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c<l;c++)o=i[c],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new ID.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
`),this.decorators.push(`}
`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(n);if(this.isChild)return u;var A={compiler:this.compilerInfo(),main:u};this.decorators&&(A.main_d=this.decorators,A.useDecorators=!0);var d=this.context,p=d.programs,m=d.decorators;for(c=0,l=p.length;c<l;c++)A[c]=p[c],m[c]&&(A[c+"_d"]=m[c],A.useDecorators=!0);return this.environment.usePartial&&(A.usePartial=!0),this.options.data&&(A.useData=!0),this.useDepths&&(A.useDepths=!0),this.useBlockParams&&(A.useBlockParams=!0),this.options.compat&&(A.compat=!0),n?A.compilerOptions=this.options:(A.compiler=JSON.stringify(A.compiler),this.source.currentLocation={start:{line:1,column:0}},A=this.objectLiteral(A),r.srcName?(A=A.toStringWithSourceMap({file:r.destName}),A.map=A.map&&A.map.toString()):A=A.toString()),A},preamble:function(){this.lastContext=0,this.source=new B9.default(this.options.srcName),this.decorators=new B9.default(this.options.srcName)},createFunctionContext:function(e){var r=this,s="",n=this.stackVars.concat(this.registers.list);n.length>0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(s+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(s);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) {
`,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(o?c.prepend(" + "):o=c,a=c):(o&&(i?o.prepend("buffer += "):n=!0,a.add(";"),o=a=void 0),i=!0,r||(s=!1))}),s?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`;
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},resolvePath:function(e,r,s,n,i){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(rve(this.options.strict&&i,this,r,s,e));return}for(var a=r.length,c=function(u){o.replaceStack(function(A){var d=o.nameLookup(A,r[u],e);return n?[" && ",d]:[" != null ? ",d," : ",A]})},l=s;l<a;l++)c(l)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var s=this.nameLookup("decorators",r,"decorator"),n=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",n])," || fn;"])},invokeHelper:function(e,r,s){var n=this.popStack(),i=this.setupHelper(e,r),o=[];s&&o.push(i.name),o.push(n),this.options.strict||o.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(o,"||"),")"],c=this.source.functionCall(a,"call",i.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var s=[];s.push(e[0]);for(var n=1;n<e.length;n++)s.push(r,e[n]);return s},invokeKnownHelper:function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var s=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",i," || ",s,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function(e,r,s){var n=[],i=this.setupParams(r,1,n);e&&(r=this.popStack(),delete i.name),s&&(i.indent=JSON.stringify(s)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?n.unshift(r):n.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),n.push(i),this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function(e){var r=this.popStack(),s=void 0,n=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(n=this.popStack(),s=this.popStack());var o=this.hash;s&&(o.contexts[e]=s),n&&(o.types[e]=n),i&&(o.ids[e]=i),o.values[e]=r},pushId:function(e,r,s){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(s?" + "+JSON.stringify("."+s):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:aA,compileChildren:function(e,r){for(var s=e.children,n=void 0,i=void 0,o=0,a=s.length;o<a;o++){n=s[o],i=new this.compiler;var c=this.matchExistingProgram(n);if(c==null){var l=this.context.programs.push("")-1;n.index=l,n.name="program"+l,this.context.programs[l]=i.compile(n,r,this.context,!this.precompile),this.context.decorators[l]=i.decorators,this.context.environments[l]=n,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,n.useDepths=this.useDepths,n.useBlockParams=this.useBlockParams}else n.index=c.index,n.name="program"+c.index,this.useDepths=this.useDepths||c.useDepths,this.useBlockParams=this.useBlockParams||c.useBlockParams}},matchExistingProgram:function(e){for(var r=0,s=this.context.environments.length;r<s;r++){var n=this.context.environments[r];if(n&&n.equals(e))return n}},programExpression:function(e){var r=this.environment.children[e],s=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths"),"container.program("+s.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof oA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new oA(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],s=void 0,n=void 0,i=void 0;if(!this.isInline())throw new ID.default("replaceStack on non-inline");var o=this.popStack(!0);if(o instanceof oA)s=[o.value],r=["(",s],i=!0;else{n=!0;var a=this.incrStack();r=["((",this.push(a)," = ",o,")"],s=this.topStack()}var c=e.call(this,s);i||this.popStack(),n&&this.stackSlot--,this.push(r.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r<s;r++){var n=e[r];if(n instanceof oA)this.compileStack.push(n);else{var i=this.incrStack();this.pushSource([i," = ",n,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),s=(r?this.inlineStack:this.compileStack).pop();if(!e&&s instanceof oA)return s.value;if(!r){if(!this.stackSlot)throw new ID.default("Invalid stack pop");this.stackSlot--}return s},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof oA?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,s){var n=[],i=this.setupHelperArgs(r,e,n,s),o=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:n,paramsInit:i,name:o,callParams:[a].concat(n)}},setupParams:function(e,r,s){var n={},i=[],o=[],a=[],c=!s,l=void 0;c&&(s=[]),n.name=this.quotedString(e),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var u=this.popStack(),A=this.popStack();(A||u)&&(n.fn=A||"container.noop",n.inverse=u||"container.noop");for(var d=r;d--;)l=this.popStack(),s[d]=l,this.trackIds&&(a[d]=this.popStack()),this.stringParams&&(o[d]=this.popStack(),i[d]=this.popStack());return c&&(n.args=this.source.generateArray(s)),this.trackIds&&(n.ids=this.source.generateArray(a)),this.stringParams&&(n.types=this.source.generateArray(o),n.contexts=this.source.generateArray(i)),this.options.data&&(n.data="data"),this.useBlockParams&&(n.blockParams="blockParams"),n},setupHelperArgs:function(e,r,s,n){var i=this.setupParams(e,r,s);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),n?(this.useRegister("options"),s.push("options"),["options=",i]):s?(s.push(i),""):i}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=aA.RESERVED_WORDS={},r=0,s=t.length;r<s;r++)e[t[r]]=!0})();aA.isValidJavaScriptVariableName=function(t){return!aA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function rve(t,e,r,s,n){var i=e.popStack(),o=r.length;t&&o--;for(var a=s;a<o;a++)i=e.nameLookup(i,r[a],n);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[o]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}HI.default=aA;b9.exports=HI.default});var S9=h((zI,N9)=>{"use strict";zI.__esModule=!0;function Dm(t){return t&&t.__esModule?t:{default:t}}var sve=Tj(),nve=Dm(sve),ive=jk(),ove=Dm(ive),BD=Gj(),wD=$j(),ave=Q9(),cve=Dm(ave),lve=DI(),uve=Dm(lve),Ave=$k(),dve=Dm(Ave),pve=nve.default.create;function x9(){var t=pve();return t.compile=function(e,r){return wD.compile(e,r,t)},t.precompile=function(e,r){return wD.precompile(e,r,t)},t.AST=ove.default,t.Compiler=wD.Compiler,t.JavaScriptCompiler=cve.default,t.Parser=BD.parser,t.parse=BD.parse,t.parseWithoutProcessing=BD.parseWithoutProcessing,t}var cA=x9();cA.create=x9;dve.default(cA);cA.Visitor=uve.default;cA.default=cA;zI.default=cA;N9.exports=zI.default});var R9=h(VI=>{"use strict";VI.__esModule=!0;VI.print=gve;VI.PrintVisitor=lt;function mve(t){return t&&t.__esModule?t:{default:t}}var hve=DI(),fve=mve(hve);function gve(t){return new lt().accept(t)}function lt(){this.padding=0}lt.prototype=new fve.default;lt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r<s;r++)e+=" ";return e+=t+`
`,e};lt.prototype.Program=function(t){var e="",r=t.body,s=void 0,n=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(s=0,n=t.blockParams.length;s<n;s++)i+=" "+t.blockParams[s];i+=" ]",e+=this.pad(i)}for(s=0,n=r.length;s<n;s++)e+=this.accept(r[s]);return this.padding--,e};lt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};lt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};lt.prototype.BlockStatement=lt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};lt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};lt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};lt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};lt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};lt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};lt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};lt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};lt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};lt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};lt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};lt.prototype.NullLiteral=function(){return"NULL"};lt.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,n=e.length;s<n;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};lt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var bD=h((pZe,P9)=>{var $I=S9().default,v9=R9();$I.PrintVisitor=v9.PrintVisitor;$I.print=v9.print;P9.exports=$I;function T9(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=$I.compile(s)}typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=T9,require.extensions[".hbs"]=T9)});var j9=h((mZe,yo)=>{var Pe=require("fs"),JI=require("os"),Mt=require("path"),k9=require("crypto"),Ti={fs:Pe.constants,os:JI.constants},D9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",O9=/XXXXXX/,Eve=3,F9=(Ti.O_CREAT||Ti.fs.O_CREAT)|(Ti.O_EXCL||Ti.fs.O_EXCL)|(Ti.O_RDWR||Ti.fs.O_RDWR),yve=JI.platform()==="win32",Cve=Ti.EBADF||Ti.os.errno.EBADF,Ive=Ti.ENOENT||Ti.os.errno.ENOENT,U9=448,q9=384,Bve="exit",lA=[],G9=Pe.rmdirSync.bind(Pe),H9=!1;function wve(t,e){return Pe.rm(t,{recursive:!0},e)}function z9(t){return Pe.rmSync(t,{recursive:!0})}function SD(t,e){let r=uA(t,e),s=r[0],n=r[1];kve(s,function(i,o){if(i)return n(i);let a=o.tries;(function c(){try{let l=$9(o);Pe.stat(l,function(u){if(!u)return a-- >0?c():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function RD(t){let e=uA(t),r=e[0],s=Dve(r),n=s.tries;do{let i=$9(s);try{Pe.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function bve(t,e){let r=uA(t,e),s=r[0],n=r[1];SD(s,function(o,a){if(o)return n(o);Pe.open(a,F9,s.mode||q9,function(l,u){if(l)return n(l);if(s.discardDescriptor)return Pe.close(u,function(d){return n(d,a,void 0,xD(a,-1,s,!1))});{let A=s.discardDescriptor||s.detachDescriptor;n(null,a,u,xD(a,A?-1:u,s,!1))}})})}function Qve(t){let e=uA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=RD(r),i=Pe.openSync(n,F9,r.mode||q9);return r.discardDescriptor&&(Pe.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:xD(n,s?-1:i,r,!0)}}function xve(t,e){let r=uA(t,e),s=r[0],n=r[1];SD(s,function(o,a){if(o)return n(o);Pe.mkdir(a,s.mode||U9,function(l){if(l)return n(l);n(null,a,V9(a,s,!1))})})}function Nve(t){let e=uA(t),r=e[0],s=RD(r);return Pe.mkdirSync(s,r.mode||U9),{name:s,removeCallback:V9(s,r,!0)}}function Sve(t,e){let r=function(s){if(s&&!ND(s))return e(s);e()};0<=t[0]?Pe.close(t[0],function(){Pe.unlink(t[1],r)}):Pe.unlink(t[1],r)}function Rve(t){let e=null;try{0<=t[0]&&Pe.closeSync(t[0])}catch(r){if(!_ve(r)&&!ND(r))throw r}finally{try{Pe.unlinkSync(t[1])}catch(r){ND(r)||(e=r)}}if(e!==null)throw e}function xD(t,e,r,s){let n=YI(Rve,[e,t],s),i=YI(Sve,[e,t],s,n);return r.keep||lA.unshift(n),s?n:i}function V9(t,e,r){let s=e.unsafeCleanup?wve:Pe.rmdir.bind(Pe),n=e.unsafeCleanup?z9:G9,i=YI(n,t,r),o=YI(s,t,r,i);return e.keep||lA.unshift(i),r?i:o}function YI(t,e,r,s){let n=!1;return function i(o){if(!n){let a=s||i,c=lA.indexOf(a);return c>=0&&lA.splice(c,1),n=!0,r||t===G9||t===z9?t(e):t(e,o||function(){})}}}function Tve(){if(H9)for(;lA.length;)try{lA[0]()}catch{}}function _9(t){let e=[],r=null;try{r=k9.randomBytes(t)}catch{r=k9.pseudoRandomBytes(t)}for(let s=0;s<t;s++)e.push(D9[r[s]%D9.length]);return e.join("")}function Vr(t){return typeof t>"u"}function uA(t,e){if(typeof t=="function")return[{},t];if(Vr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}function vve(t,e,r){let s=Mt.isAbsolute(t)?t:Mt.join(e,t);Pe.stat(s,function(n){n?Pe.realpath(Mt.dirname(s),function(i,o){if(i)return r(i);r(null,Mt.join(o,Mt.basename(s)))}):Pe.realpath(s,r)})}function Pve(t,e){let r=Mt.isAbsolute(t)?t:Mt.join(e,t);try{return Pe.statSync(r),Pe.realpathSync(r)}catch{let n=Pe.realpathSync(Mt.dirname(r));return Mt.join(n,Mt.basename(r))}}function $9(t){let e=t.tmpdir;if(!Vr(t.name))return Mt.join(e,t.dir,t.name);if(!Vr(t.template))return Mt.join(e,t.dir,t.template).replace(O9,_9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",_9(12),t.postfix?"-"+t.postfix:""].join("");return Mt.join(e,t.dir,r)}function QD(t){if(t.includes(".."))throw new Error("Relative value not allowed");return t}function Y9(t){if(!Vr(t.name)){let e=t.name;if(Mt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Mt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Vr(t.template)&&!t.template.match(O9))throw new Error(`Invalid template, found "${t.template}".`);if(!Vr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Vr(t.name)?t.tries||Eve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Vr(t.prefix)?"":QD(t.prefix),t.postfix=Vr(t.postfix)?"":QD(t.postfix),t.template=Vr(t.template)?void 0:QD(t.template)}function L9(t,e,r,s){if(Vr(e))return s(null);vve(e,r,function(n,i){if(n)return s(n);let o=Mt.relative(r,i);if(o.startsWith("..")||Mt.isAbsolute(o))return s(new Error(`${t} option must be relative to "${r}", found "${o}".`));s(null,o)})}function M9(t,e,r){if(Vr(e))return;let s=Pve(e,r),n=Mt.relative(r,s);if(n.startsWith("..")||Mt.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}function kve(t,e){Mve(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{Y9(t,s)}catch(n){return e(n)}L9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Vr(i)?"":i,L9("template",t.template,s,function(o,a){if(o)return e(o);t.template=a,e(null,t)})})})}function Dve(t){let e=t.tmpdir=W9(t);Y9(t,e);let r=M9("dir",t.dir,e);return t.dir=Vr(r)?"":r,t.template=M9("template",t.template,e),t}function _ve(t){return J9(t,-Cve,"EBADF")}function ND(t){return J9(t,-Ive,"ENOENT")}function J9(t,e,r){return yve?t.code===r:t.code===r&&t.errno===e}function Lve(){H9=!0}function Mve(t,e){return Pe.realpath(t&&t.tmpdir||JI.tmpdir(),e)}function W9(t){return Pe.realpathSync(t&&t.tmpdir||JI.tmpdir())}process.addListener(Bve,Tve);Object.defineProperty(yo.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return W9()}});yo.exports.dir=xve;yo.exports.dirSync=Nve;yo.exports.file=bve;yo.exports.fileSync=Qve;yo.exports.tmpName=SD;yo.exports.tmpNameSync=RD;yo.exports.setGracefulCleanup=Lve});var A6=h(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.getProxyUrl=Vve;ZI.checkBypass=u6;function Vve(t){let e=t.protocol==="https:";if(u6(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 XI(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new XI(`http://${r}`)}else return}function u6(t){if(!t.hostname)return!1;let e=t.hostname;if($ve(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function $ve(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 XI=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 p6=h(je=>{"use strict";var Yve=je&&je.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Jve=je&&je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sB=je&&je.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&Yve(r,e,s[n]);return Jve(r,e),r}})(),Bt=je&&je.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(je,"__esModule",{value:!0});je.HttpClient=je.HttpClientResponse=je.HttpClientError=je.MediaTypes=je.Headers=je.HttpCodes=void 0;je.getProxyUrl=jve;je.isHttps=rPe;var LD=sB(require("http")),d6=sB(require("https")),MD=sB(A6()),eB=sB(yA()),Wve=Gl(),Zs;(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"})(Zs||(je.HttpCodes=Zs={}));var Qr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Qr||(je.Headers=Qr={}));var Co;(function(t){t.ApplicationJson="application/json"})(Co||(je.MediaTypes=Co={}));function jve(t){let e=MD.getProxyUrl(new URL(t));return e?e.href:""}var Kve=[Zs.MovedPermanently,Zs.ResourceMoved,Zs.SeeOther,Zs.TemporaryRedirect,Zs.PermanentRedirect],Xve=[Zs.BadGateway,Zs.ServiceUnavailable,Zs.GatewayTimeout],Zve=["OPTIONS","GET","DELETE","HEAD"],ePe=10,tPe=5,tB=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};je.HttpClientError=tB;var rB=class{constructor(e){this.message=e}readBody(){return Bt(this,void 0,void 0,function*(){return new Promise(e=>Bt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Bt(this,void 0,void 0,function*(){return new Promise(e=>Bt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};je.HttpClientResponse=rB;function rPe(t){return new URL(t).protocol==="https:"}var OD=class{constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return Bt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Bt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Bt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Bt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Bt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Bt(this,arguments,void 0,function*(r,s={}){s[Qr.Accept]=this._getExistingOrDefaultHeader(s,Qr.Accept,Co.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return Bt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&Zve.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===Zs.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&Kve.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!Xve.includes(l.message.statusCode))return l;c+=1,c<a&&(yield l.readBody(),yield this._performExponentialBackoff(c))}while(c<a);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return Bt(this,void 0,void 0,function*(){return new Promise((s,n)=>{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new rB(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),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),s=MD.getProxyUrl(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?d6:LD;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Mm(this.requestOptions.headers),Mm(e||{})):Mm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=Mm(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Mm(this.requestOptions.headers)[Qr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Qr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=MD.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||LD.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?eB.httpsOverHttps:eB.httpsOverHttp:c=l?eB.httpOverHttps:eB.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new d6.Agent(a):new LD.Agent(a),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new Wve.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return Bt(this,void 0,void 0,function*(){e=Math.min(ePe,e);let r=tPe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Bt(this,void 0,void 0,function*(){return new Promise((s,n)=>Bt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===Zs.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new tB(u,i);A.result=o.result,n(A)}else s(o)}))})}};je.HttpClient=OD;var Mm=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{})});var _6=h((r7e,Fm)=>{"use strict";var aB=function(){};aB.prototype=Object.create(null);var iB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,oB=/\\([\v\u0020-\u00ff])/gu,P6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,qc={type:"",parameters:new aB};Object.freeze(qc.parameters);Object.freeze(qc);function k6(t){if(typeof t!="string")throw new TypeError("argument header is required and must be a string");let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(P6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new aB};if(e===-1)return s;let n,i,o;for(iB.lastIndex=e;i=iB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),o=i[2],o[0]==='"'&&(o=o.slice(1,o.length-1),oB.test(o)&&(o=o.replace(oB,"$1"))),s.parameters[n]=o}if(e!==t.length)throw new TypeError("invalid parameter format");return s}function D6(t){if(typeof t!="string")return qc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(P6.test(r)===!1)return qc;let s={type:r.toLowerCase(),parameters:new aB};if(e===-1)return s;let n,i,o;for(iB.lastIndex=e;i=iB.exec(t);){if(i.index!==e)return qc;e+=i[0].length,n=i[1].toLowerCase(),o=i[2],o[0]==='"'&&(o=o.slice(1,o.length-1),oB.test(o)&&(o=o.replace(oB,"$1"))),s.parameters[n]=o}return e!==t.length?qc:s}Fm.exports.default={parse:k6,safeParse:D6};Fm.exports.parse=k6;Fm.exports.safeParse=D6;Fm.exports.defaultContentType=qc});var fA=h((V7e,nK)=>{"use strict";var oke="2.0.0",ake=Number.MAX_SAFE_INTEGER||9007199254740991,cke=16,lke=250,uke=["major","premajor","minor","preminor","patch","prepatch","prerelease"];nK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:cke,MAX_SAFE_BUILD_LENGTH:lke,MAX_SAFE_INTEGER:ake,RELEASE_TYPES:uke,SEMVER_SPEC_VERSION:oke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Hm=h(($7e,iK)=>{"use strict";var Ake=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};iK.exports=Ake});var gA=h((vi,oK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:i_,MAX_SAFE_BUILD_LENGTH:dke,MAX_LENGTH:pke}=fA(),mke=Hm();vi=oK.exports={};var hke=vi.re=[],fke=vi.safeRe=[],O=vi.src=[],gke=vi.safeSrc=[],F=vi.t={},Eke=0,o_="[a-zA-Z0-9-]",yke=[["\\s",1],["\\d",pke],[o_,dke]],Cke=t=>{for(let[e,r]of yke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},ce=(t,e,r)=>{let s=Cke(e),n=Eke++;mke(t,n,e),F[t]=n,O[n]=e,gke[n]=s,hke[n]=new RegExp(e,r?"g":void 0),fke[n]=new RegExp(s,r?"g":void 0)};ce("NUMERICIDENTIFIER","0|[1-9]\\d*");ce("NUMERICIDENTIFIERLOOSE","\\d+");ce("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${o_}*`);ce("MAINVERSION",`(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})`);ce("MAINVERSIONLOOSE",`(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASEIDENTIFIER",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIER]})`);ce("PRERELEASEIDENTIFIERLOOSE",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASE",`(?:-(${O[F.PRERELEASEIDENTIFIER]}(?:\\.${O[F.PRERELEASEIDENTIFIER]})*))`);ce("PRERELEASELOOSE",`(?:-?(${O[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${O[F.PRERELEASEIDENTIFIERLOOSE]})*))`);ce("BUILDIDENTIFIER",`${o_}+`);ce("BUILD",`(?:\\+(${O[F.BUILDIDENTIFIER]}(?:\\.${O[F.BUILDIDENTIFIER]})*))`);ce("FULLPLAIN",`v?${O[F.MAINVERSION]}${O[F.PRERELEASE]}?${O[F.BUILD]}?`);ce("FULL",`^${O[F.FULLPLAIN]}$`);ce("LOOSEPLAIN",`[v=\\s]*${O[F.MAINVERSIONLOOSE]}${O[F.PRERELEASELOOSE]}?${O[F.BUILD]}?`);ce("LOOSE",`^${O[F.LOOSEPLAIN]}$`);ce("GTLT","((?:<|>)?=?)");ce("XRANGEIDENTIFIERLOOSE",`${O[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ce("XRANGEIDENTIFIER",`${O[F.NUMERICIDENTIFIER]}|x|X|\\*`);ce("XRANGEPLAIN",`[v=\\s]*(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:${O[F.PRERELEASE]})?${O[F.BUILD]}?)?)?`);ce("XRANGEPLAINLOOSE",`[v=\\s]*(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:${O[F.PRERELEASELOOSE]})?${O[F.BUILD]}?)?)?`);ce("XRANGE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAIN]}$`);ce("XRANGELOOSE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAINLOOSE]}$`);ce("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i_}})(?:\\.(\\d{1,${i_}}))?(?:\\.(\\d{1,${i_}}))?`);ce("COERCE",`${O[F.COERCEPLAIN]}(?:$|[^\\d])`);ce("COERCEFULL",O[F.COERCEPLAIN]+`(?:${O[F.PRERELEASE]})?(?:${O[F.BUILD]})?(?:$|[^\\d])`);ce("COERCERTL",O[F.COERCE],!0);ce("COERCERTLFULL",O[F.COERCEFULL],!0);ce("LONETILDE","(?:~>?)");ce("TILDETRIM",`(\\s*)${O[F.LONETILDE]}\\s+`,!0);vi.tildeTrimReplace="$1~";ce("TILDE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAIN]}$`);ce("TILDELOOSE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAINLOOSE]}$`);ce("LONECARET","(?:\\^)");ce("CARETTRIM",`(\\s*)${O[F.LONECARET]}\\s+`,!0);vi.caretTrimReplace="$1^";ce("CARET",`^${O[F.LONECARET]}${O[F.XRANGEPLAIN]}$`);ce("CARETLOOSE",`^${O[F.LONECARET]}${O[F.XRANGEPLAINLOOSE]}$`);ce("COMPARATORLOOSE",`^${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]})$|^$`);ce("COMPARATOR",`^${O[F.GTLT]}\\s*(${O[F.FULLPLAIN]})$|^$`);ce("COMPARATORTRIM",`(\\s*)${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]}|${O[F.XRANGEPLAIN]})`,!0);vi.comparatorTrimReplace="$1$2$3";ce("HYPHENRANGE",`^\\s*(${O[F.XRANGEPLAIN]})\\s+-\\s+(${O[F.XRANGEPLAIN]})\\s*$`);ce("HYPHENRANGELOOSE",`^\\s*(${O[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${O[F.XRANGEPLAINLOOSE]})\\s*$`);ce("STAR","(<|>)?=?\\s*\\*");ce("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ce("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var AB=h((Y7e,aK)=>{"use strict";var Ike=Object.freeze({loose:!0}),Bke=Object.freeze({}),wke=t=>t?typeof t!="object"?Ike:t:Bke;aK.exports=wke});var a_=h((J7e,uK)=>{"use strict";var cK=/^[0-9]+$/,lK=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=cK.test(t),s=cK.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},bke=(t,e)=>lK(e,t);uK.exports={compareIdentifiers:lK,rcompareIdentifiers:bke}});var Kt=h((W7e,dK)=>{"use strict";var dB=Hm(),{MAX_LENGTH:AK,MAX_SAFE_INTEGER:pB}=fA(),{safeRe:mB,t:hB}=gA(),Qke=AB(),{compareIdentifiers:c_}=a_(),l_=class t{constructor(e,r){if(r=Qke(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>AK)throw new TypeError(`version is longer than ${AK} characters`);dB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?mB[hB.LOOSE]:mB[hB.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>pB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pB||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<pB)return i}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(dB("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(dB("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return c_(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(dB("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return c_(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?mB[hB.PRERELEASELOOSE]:mB[hB.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),c_(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};dK.exports=l_});var ga=h((j7e,mK)=>{"use strict";var pK=Kt(),xke=(t,e,r=!1)=>{if(t instanceof pK)return t;try{return new pK(t,e)}catch(s){if(!r)return null;throw s}};mK.exports=xke});var fK=h((K7e,hK)=>{"use strict";var Nke=ga(),Ske=(t,e)=>{let r=Nke(t,e);return r?r.version:null};hK.exports=Ske});var EK=h((X7e,gK)=>{"use strict";var Rke=ga(),Tke=(t,e)=>{let r=Rke(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};gK.exports=Tke});var IK=h((Z7e,CK)=>{"use strict";var yK=Kt(),vke=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new yK(t instanceof yK?t.version:t,r).inc(e,s,n).version}catch{return null}};CK.exports=vke});var bK=h((eet,wK)=>{"use strict";var BK=ga(),Pke=(t,e)=>{let r=BK(t,null,!0),s=BK(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};wK.exports=Pke});var xK=h((tet,QK)=>{"use strict";var kke=Kt(),Dke=(t,e)=>new kke(t,e).major;QK.exports=Dke});var SK=h((ret,NK)=>{"use strict";var _ke=Kt(),Lke=(t,e)=>new _ke(t,e).minor;NK.exports=Lke});var TK=h((set,RK)=>{"use strict";var Mke=Kt(),Oke=(t,e)=>new Mke(t,e).patch;RK.exports=Oke});var PK=h((net,vK)=>{"use strict";var Fke=ga(),Uke=(t,e)=>{let r=Fke(t,e);return r&&r.prerelease.length?r.prerelease:null};vK.exports=Uke});var tn=h((iet,DK)=>{"use strict";var kK=Kt(),qke=(t,e,r)=>new kK(t,r).compare(new kK(e,r));DK.exports=qke});var LK=h((oet,_K)=>{"use strict";var Gke=tn(),Hke=(t,e,r)=>Gke(e,t,r);_K.exports=Hke});var OK=h((aet,MK)=>{"use strict";var zke=tn(),Vke=(t,e)=>zke(t,e,!0);MK.exports=Vke});var fB=h((cet,UK)=>{"use strict";var FK=Kt(),$ke=(t,e,r)=>{let s=new FK(t,r),n=new FK(e,r);return s.compare(n)||s.compareBuild(n)};UK.exports=$ke});var GK=h((uet,qK)=>{"use strict";var Yke=fB(),Jke=(t,e)=>t.sort((r,s)=>Yke(r,s,e));qK.exports=Jke});var zK=h((Aet,HK)=>{"use strict";var Wke=fB(),jke=(t,e)=>t.sort((r,s)=>Wke(s,r,e));HK.exports=jke});var zm=h((det,VK)=>{"use strict";var Kke=tn(),Xke=(t,e,r)=>Kke(t,e,r)>0;VK.exports=Xke});var gB=h((pet,$K)=>{"use strict";var Zke=tn(),eDe=(t,e,r)=>Zke(t,e,r)<0;$K.exports=eDe});var u_=h((met,YK)=>{"use strict";var tDe=tn(),rDe=(t,e,r)=>tDe(t,e,r)===0;YK.exports=rDe});var A_=h((het,JK)=>{"use strict";var sDe=tn(),nDe=(t,e,r)=>sDe(t,e,r)!==0;JK.exports=nDe});var EB=h((fet,WK)=>{"use strict";var iDe=tn(),oDe=(t,e,r)=>iDe(t,e,r)>=0;WK.exports=oDe});var yB=h((get,jK)=>{"use strict";var aDe=tn(),cDe=(t,e,r)=>aDe(t,e,r)<=0;jK.exports=cDe});var d_=h((Eet,KK)=>{"use strict";var lDe=u_(),uDe=A_(),ADe=zm(),dDe=EB(),pDe=gB(),mDe=yB(),hDe=(t,e,r,s)=>{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 lDe(t,r,s);case"!=":return uDe(t,r,s);case">":return ADe(t,r,s);case">=":return dDe(t,r,s);case"<":return pDe(t,r,s);case"<=":return mDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};KK.exports=hDe});var ZK=h((yet,XK)=>{"use strict";var fDe=Kt(),gDe=ga(),{safeRe:CB,t:IB}=gA(),EDe=(t,e)=>{if(t instanceof fDe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?CB[IB.COERCEFULL]:CB[IB.COERCE]);else{let c=e.includePrerelease?CB[IB.COERCERTLFULL]:CB[IB.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return gDe(`${s}.${n}.${i}${o}${a}`,e)};XK.exports=EDe});var tX=h((Cet,eX)=>{"use strict";var yDe=ga(),CDe=fA(),IDe=Kt(),BDe=(t,e,r)=>{if(!CDe.RELEASE_TYPES.includes(e))return null;let s=wDe(t,r);return s&&bDe(s,e)},wDe=(t,e)=>{let r=t instanceof IDe?t.version:t;return yDe(r,e)},bDe=(t,e)=>{if(QDe(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},QDe=t=>t.startsWith("pre");eX.exports=BDe});var sX=h((Iet,rX)=>{"use strict";var p_=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};rX.exports=p_});var rn=h((Bet,aX)=>{"use strict";var xDe=/\s+/g,m_=class t{constructor(e,r){if(r=SDe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof h_)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(xDe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!iX(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&MDe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(LDe,"");let s=((this.options.includePrerelease&&DDe)|(this.options.loose&&_De))+":"+e,n=nX.get(s);if(n)return n;let i=this.options.loose,o=i?Nr[Xt.HYPHENRANGELOOSE]:Nr[Xt.HYPHENRANGE];e=e.replace(o,YDe(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(Nr[Xt.COMPARATORTRIM],vDe),He("comparator trim",e),e=e.replace(Nr[Xt.TILDETRIM],PDe),He("tilde trim",e),e=e.replace(Nr[Xt.CARETTRIM],kDe),He("caret trim",e);let a=e.split(" ").map(A=>ODe(A,this.options)).join(" ").split(/\s+/).map(A=>$De(A,this.options));i&&(a=a.filter(A=>(He("loose invalid filter",A,this.options),!!A.match(Nr[Xt.COMPARATORLOOSE])))),He("range list",a);let c=new Map,l=a.map(A=>new h_(A,this.options));for(let A of l){if(iX(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return nX.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>oX(s,r)&&e.set.some(n=>oX(n,r)&&s.every(i=>n.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new RDe(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(JDe(this.set[r],e,this.options))return!0;return!1}};aX.exports=m_;var NDe=sX(),nX=new NDe,SDe=AB(),h_=Vm(),He=Hm(),RDe=Kt(),{safeRe:Nr,src:TDe,t:Xt,comparatorTrimReplace:vDe,tildeTrimReplace:PDe,caretTrimReplace:kDe}=gA(),{FLAG_INCLUDE_PRERELEASE:DDe,FLAG_LOOSE:_De}=fA(),LDe=new RegExp(TDe[Xt.BUILD],"g"),iX=t=>t.value==="<0.0.0-0",MDe=t=>t.value==="",oX=(t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},ODe=(t,e)=>(t=t.replace(Nr[Xt.BUILD],""),He("comp",t,e),t=qDe(t,e),He("caret",t),t=FDe(t,e),He("tildes",t),t=HDe(t,e),He("xrange",t),t=VDe(t,e),He("stars",t),t),Sr=t=>!t||t.toLowerCase()==="x"||t==="*",FDe=(t,e)=>t.trim().split(/\s+/).map(r=>UDe(r,e)).join(" "),UDe=(t,e)=>{let r=e.loose?Nr[Xt.TILDELOOSE]:Nr[Xt.TILDE];return t.replace(r,(s,n,i,o,a)=>{He("tilde",t,s,n,i,o,a);let c;return Sr(n)?c="":Sr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:Sr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(He("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,He("tilde return",c),c})},qDe=(t,e)=>t.trim().split(/\s+/).map(r=>GDe(r,e)).join(" "),GDe=(t,e)=>{He("caret",t,e);let r=e.loose?Nr[Xt.CARETLOOSE]:Nr[Xt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{He("caret",t,n,i,o,a,c);let l;return Sr(i)?l="":Sr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Sr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(He("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(He("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),He("caret return",l),l})},HDe=(t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>zDe(r,e)).join(" ")),zDe=(t,e)=>{t=t.trim();let r=e.loose?Nr[Xt.XRANGELOOSE]:Nr[Xt.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{He("xRange",t,s,n,i,o,a,c);let l=Sr(i),u=l||Sr(o),A=u||Sr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),He("xRange return",s),s})},VDe=(t,e)=>(He("replaceStars",t,e),t.trim().replace(Nr[Xt.STAR],"")),$De=(t,e)=>(He("replaceGTE0",t,e),t.trim().replace(Nr[e.includePrerelease?Xt.GTE0PRE:Xt.GTE0],"")),YDe=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(Sr(s)?r="":Sr(n)?r=`>=${s}.0.0${t?"-0":""}`:Sr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Sr(l)?c="":Sr(u)?c=`<${+l+1}.0.0-0`:Sr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),JDe=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(He(t[s].semver),t[s].semver!==h_.ANY&&t[s].semver.prerelease.length>0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Vm=h((wet,pX)=>{"use strict";var $m=Symbol("SemVer ANY"),E_=class t{static get ANY(){return $m}constructor(e,r){if(r=cX(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),g_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===$m?this.value="":this.value=this.operator+this.semver.version,g_("comp",this)}parse(e){let r=this.options.loose?lX[uX.COMPARATORLOOSE]:lX[uX.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new AX(s[2],this.options.loose):this.semver=$m}toString(){return this.value}test(e){if(g_("Comparator.test",e,this.options.loose),this.semver===$m||e===$m)return!0;if(typeof e=="string")try{e=new AX(e,this.options)}catch{return!1}return f_(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new dX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new dX(this.value,r).test(e.semver):(r=cX(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||f_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||f_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};pX.exports=E_;var cX=AB(),{safeRe:lX,t:uX}=gA(),f_=d_(),g_=Hm(),AX=Kt(),dX=rn()});var Ym=h((bet,mX)=>{"use strict";var WDe=rn(),jDe=(t,e,r)=>{try{e=new WDe(e,r)}catch{return!1}return e.test(t)};mX.exports=jDe});var fX=h((Qet,hX)=>{"use strict";var KDe=rn(),XDe=(t,e)=>new KDe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));hX.exports=XDe});var EX=h((xet,gX)=>{"use strict";var ZDe=Kt(),e_e=rn(),t_e=(t,e,r)=>{let s=null,n=null,i=null;try{i=new e_e(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new ZDe(s,r))}),s};gX.exports=t_e});var CX=h((Net,yX)=>{"use strict";var r_e=Kt(),s_e=rn(),n_e=(t,e,r)=>{let s=null,n=null,i=null;try{i=new s_e(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new r_e(s,r))}),s};yX.exports=n_e});var wX=h((Ret,BX)=>{"use strict";var y_=Kt(),i_e=rn(),IX=zm(),o_e=(t,e)=>{t=new i_e(t,e);let r=new y_("0.0.0");if(t.test(r)||(r=new y_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let n=t.set[s],i=null;n.forEach(o=>{let a=new y_(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||IX(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||IX(r,i))&&(r=i)}return r&&t.test(r)?r:null};BX.exports=o_e});var QX=h((Tet,bX)=>{"use strict";var a_e=rn(),c_e=(t,e)=>{try{return new a_e(t,e).range||"*"}catch{return null}};bX.exports=c_e});var BB=h((vet,RX)=>{"use strict";var l_e=Kt(),SX=Vm(),{ANY:u_e}=SX,A_e=rn(),d_e=Ym(),xX=zm(),NX=gB(),p_e=yB(),m_e=EB(),h_e=(t,e,r,s)=>{t=new l_e(t,s),e=new A_e(e,s);let n,i,o,a,c;switch(r){case">":n=xX,i=p_e,o=NX,a=">",c=">=";break;case"<":n=NX,i=m_e,o=xX,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(d_e(t,e,s))return!1;for(let l=0;l<e.set.length;++l){let u=e.set[l],A=null,d=null;if(u.forEach(p=>{p.semver===u_e&&(p=new SX(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};RX.exports=h_e});var vX=h((Pet,TX)=>{"use strict";var f_e=BB(),g_e=(t,e,r)=>f_e(t,e,">",r);TX.exports=g_e});var kX=h((ket,PX)=>{"use strict";var E_e=BB(),y_e=(t,e,r)=>E_e(t,e,"<",r);PX.exports=y_e});var LX=h((Det,_X)=>{"use strict";var DX=rn(),C_e=(t,e,r)=>(t=new DX(t,r),e=new DX(e,r),t.intersects(e,r));_X.exports=C_e});var OX=h((_et,MX)=>{"use strict";var I_e=Ym(),B_e=tn();MX.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>B_e(u,A,r));for(let u of o)I_e(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e}});var zX=h((Let,HX)=>{"use strict";var FX=rn(),B_=Vm(),{ANY:C_}=B_,I_=Ym(),w_=tn(),w_e=(t,e,r={})=>{if(t===e)return!0;t=new FX(t,r),e=new FX(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=Q_e(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},b_e=[new B_(">=0.0.0-0")],UX=[new B_(">=0.0.0")],Q_e=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===C_){if(e.length===1&&e[0].semver===C_)return!0;r.includePrerelease?t=b_e:t=UX}if(e.length===1&&e[0].semver===C_){if(r.includePrerelease)return!0;e=UX}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=qX(n,p,r):p.operator==="<"||p.operator==="<="?i=GX(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=w_(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!I_(p,String(n),r)||i&&!I_(p,String(i),r))return null;for(let m of e)if(!I_(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=qX(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!p.test(n.semver))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=GX(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!p.test(i.semver))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},qX=(t,e,r)=>{if(!t)return e;let s=w_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},GX=(t,e,r)=>{if(!t)return e;let s=w_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};HX.exports=w_e});var Jm=h((Met,YX)=>{"use strict";var b_=gA(),VX=fA(),x_e=Kt(),$X=a_(),N_e=ga(),S_e=fK(),R_e=EK(),T_e=IK(),v_e=bK(),P_e=xK(),k_e=SK(),D_e=TK(),__e=PK(),L_e=tn(),M_e=LK(),O_e=OK(),F_e=fB(),U_e=GK(),q_e=zK(),G_e=zm(),H_e=gB(),z_e=u_(),V_e=A_(),$_e=EB(),Y_e=yB(),J_e=d_(),W_e=ZK(),j_e=tX(),K_e=Vm(),X_e=rn(),Z_e=Ym(),eLe=fX(),tLe=EX(),rLe=CX(),sLe=wX(),nLe=QX(),iLe=BB(),oLe=vX(),aLe=kX(),cLe=LX(),lLe=OX(),uLe=zX();YX.exports={parse:N_e,valid:S_e,clean:R_e,inc:T_e,diff:v_e,major:P_e,minor:k_e,patch:D_e,prerelease:__e,compare:L_e,rcompare:M_e,compareLoose:O_e,compareBuild:F_e,sort:U_e,rsort:q_e,gt:G_e,lt:H_e,eq:z_e,neq:V_e,gte:$_e,lte:Y_e,cmp:J_e,coerce:W_e,truncate:j_e,Comparator:K_e,Range:X_e,satisfies:Z_e,toComparators:eLe,maxSatisfying:tLe,minSatisfying:rLe,minVersion:sLe,validRange:nLe,outside:iLe,gtr:oLe,ltr:aLe,intersects:cLe,simplifyRange:lLe,subset:uLe,SemVer:x_e,re:b_.re,src:b_.src,tokens:b_.t,SEMVER_SPEC_VERSION:VX.SEMVER_SPEC_VERSION,RELEASE_TYPES:VX.RELEASE_TYPES,compareIdentifiers:$X.compareIdentifiers,rcompareIdentifiers:$X.rcompareIdentifiers}});var oZ=B(require("crypto"),1),aZ=B(require("path"),1);var v_=B(require("os"),1);function vn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function PB(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function Pn(t,e,r){let s=new kB(t,e,r);process.stdout.write(s.toString()+v_.EOL)}function DB(t,e=""){Pn(t,{},e)}var T_="::",kB=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=T_+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${fZ(n)}`)}}return e+=`${T_}${hZ(this.message)}`,e}};function hZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function fZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var P_=B(require("crypto"),1),eh=B(require("fs"),1),Zm=B(require("os"),1);function EA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!eh.existsSync(r))throw new Error(`Missing file at path: ${r}`);eh.appendFileSync(r,`${vn(e)}${Zm.EOL}`,{encoding:"utf8"})}function th(t,e){let r=`ghadelimiter_${P_.randomUUID()}`,s=vn(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Zm.EOL}${s}${Zm.EOL}${r}`}var Bx=B(require("os"),1),vG=B(require("path"),1);var Id=B(require("http"),1),lx=B(require("https"),1);function _B(t){let e=t.protocol==="https:";if(gZ(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 rh(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new rh(`http://${r}`)}else return}function gZ(t){if(!t.hostname)return!1;let e=t.hostname;if(EZ(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function EZ(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 rh=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 qo=B(yA(),1),uG=B(Gl(),1),pt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Rs;(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"})(Rs||(Rs={}));var dr;(function(t){t.Accept="accept",t.ContentType="content-type"})(dr||(dr={}));var Ji;(function(t){t.ApplicationJson="application/json"})(Ji||(Ji={}));var PAe=[Rs.MovedPermanently,Rs.ResourceMoved,Rs.SeeOther,Rs.TemporaryRedirect,Rs.PermanentRedirect],kAe=[Rs.BadGateway,Rs.ServiceUnavailable,Rs.GatewayTimeout],DAe=["OPTIONS","GET","DELETE","HEAD"],_Ae=10,LAe=5,ax=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},cx=class{constructor(e){this.message=e}readBody(){return pt(this,void 0,void 0,function*(){return new Promise(e=>pt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return pt(this,void 0,void 0,function*(){return new Promise(e=>pt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Va=class{constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return pt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return pt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return pt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return pt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return pt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return pt(this,arguments,void 0,function*(r,s={}){s[dr.Accept]=this._getExistingOrDefaultHeader(s,dr.Accept,Ji.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[dr.Accept]=this._getExistingOrDefaultHeader(i,dr.Accept,Ji.ApplicationJson),i[dr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[dr.Accept]=this._getExistingOrDefaultHeader(i,dr.Accept,Ji.ApplicationJson),i[dr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[dr.Accept]=this._getExistingOrDefaultHeader(i,dr.Accept,Ji.ApplicationJson),i[dr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return pt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&DAe.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===Rs.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&PAe.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!kAe.includes(l.message.statusCode))return l;c+=1,c<a&&(yield l.readBody(),yield this._performExponentialBackoff(c))}while(c<a);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return pt(this,void 0,void 0,function*(){return new Promise((s,n)=>{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new cx(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),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),s=_B(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?lx:Id;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Cd(this.requestOptions.headers),Cd(e||{})):Cd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=Cd(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Cd(this.requestOptions.headers)[dr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[dr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=_B(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||Id.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?qo.httpsOverHttps:qo.httpsOverHttp:c=l?qo.httpOverHttps:qo.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new lx.Agent(a):new Id.Agent(a),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new uG.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return pt(this,void 0,void 0,function*(){e=Math.min(_Ae,e);let r=LAe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return pt(this,void 0,void 0,function*(){return new Promise((s,n)=>pt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===Rs.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new ax(u,i);A.result=o.result,n(A)}else s(o)}))})}},Cd=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var pG=require("os"),Bd=require("fs"),ux=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:OAe,appendFile:FAe,writeFile:UAe}=Bd.promises,dG="GITHUB_STEP_SUMMARY";var Ax=class{constructor(){this._buffer=""}filePath(){return ux(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[dG];if(!e)throw new Error(`Unable to find environment variable for $${dG}. Check if your runtime environment supports job summaries.`);try{yield OAe(e,Bd.constants.R_OK|Bd.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,s={}){let n=Object.entries(s).map(([i,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return ux(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?UAe:FAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ux(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(pG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},NOe=new Ax;var Cx=B(require("os"),1);var yx=require("string_decoder");var bd=B(require("os"),1),Ex=B(require("events"),1),xG=B(require("child_process"),1),NG=B(require("path"),1);var IG=require("assert"),is=B(require("path"),1);var wd=B(require("fs"),1),Go=B(require("path"),1),dx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{chmod:px,copyFile:hG,lstat:Xf,mkdir:fG,open:TOe,readdir:mx,rename:qAe,rm:gG,rmdir:vOe,stat:$a,symlink:EG,unlink:hx}=wd.promises,Hn=process.platform==="win32";function yG(t){return dx(this,void 0,void 0,function*(){let e=yield wd.promises.readlink(t);return Hn&&!e.endsWith("\\")?`${e}\\`:e})}var POe=wd.constants.O_RDONLY;function zl(t){return dx(this,void 0,void 0,function*(){try{yield $a(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}function Zf(t){if(t=GAe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Hn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function fx(t,e){return dx(this,void 0,void 0,function*(){let r;try{r=yield $a(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if(Hn){let n=Go.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(mG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield $a(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Hn){try{let i=Go.dirname(t),o=Go.basename(t).toUpperCase();for(let a of yield mx(i))if(o===a.toUpperCase()){t=Go.join(i,a);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(mG(r))return t}}return""})}function GAe(t){return t=t||"",Hn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function mG(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}var Ya=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function BG(t,e){return Ya(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:o,copySourceDirectory:a}=zAe(n),c=(yield zl(s))?yield $a(s):null;if(c&&c.isFile()&&!i)return;let l=c&&c.isDirectory()&&a?is.join(s,is.basename(r)):s;if(!(yield zl(r)))throw new Error(`no such file or directory: ${r}`);if((yield $a(r)).isDirectory())if(o)yield wG(r,l,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(is.relative(r,l)==="")throw new Error(`'${l}' and '${r}' are the same file`);yield bG(r,l,i)}})}function eg(t){return Ya(this,void 0,void 0,function*(){if(Hn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield gG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function Ts(t){return Ya(this,void 0,void 0,function*(){(0,IG.ok)(t,"a path argument must be provided"),yield fG(t,{recursive:!0})})}function mt(t,e){return Ya(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield mt(t,!1);if(!s)throw Hn?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 s}let r=yield HAe(t);return r&&r.length>0?r[0]:""})}function HAe(t){return Ya(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Hn&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(is.delimiter))n&&e.push(n);if(Zf(t)){let n=yield fx(t,e);return n?[n]:[]}if(t.includes(is.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(is.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield fx(is.join(n,t),e);i&&s.push(i)}return s})}function zAe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,s=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:s}}function wG(t,e,r,s){return Ya(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ts(e);let n=yield mx(t);for(let i of n){let o=`${t}/${i}`,a=`${e}/${i}`;(yield Xf(o)).isDirectory()?yield wG(o,a,r,s):yield bG(o,a,s)}yield px(e,(yield $a(t)).mode)})}function bG(t,e,r){return Ya(this,void 0,void 0,function*(){if((yield Xf(t)).isSymbolicLink()){try{yield Xf(e),yield hx(e)}catch(n){n.code==="EPERM"&&(yield px(e,"0666"),yield hx(e))}let s=yield yG(t);yield EG(s,e,Hn?"junction":null)}else(!(yield zl(e))||r)&&(yield hG(t,e))})}var SG=require("timers"),QG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},tg=process.platform==="win32",rg=class extends Ex.EventEmitter{constructor(e,r,s){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=s||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let s=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=r?"":"[command]";if(tg)if(this._isCmdFile()){i+=s;for(let o of n)i+=` ${o}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let o of n)i+=` ${o}`}else{i+=this._windowsQuoteCmdArg(s);for(let o of n)i+=` ${this._windowsQuoteCmdArg(o)}`}else{i+=s;for(let o of n)i+=` ${o}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(bd.EOL);for(;i>-1;){let o=n.substring(0,i);s(o),n=n.substring(i+bd.EOL.length),i=n.indexOf(bd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return tg&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(tg&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let s of this.args)r+=" ",r+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s);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=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],s=!1;for(let o of e)if(r.some(a=>a===o)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let o=e.length;o>0;o--)n+=e[o-1],i&&e[o-1]==="\\"?n+="\\":e[o-1]==='"'?(i=!0,n+='"'):i=!1;return n+='"',n.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='"',s=!0;for(let n=e.length;n>0;n--)r+=e[n-1],s&&e[n-1]==="\\"?r+="\\":e[n-1]==='"'?(s=!0,r+="\\"):s=!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 s={};return s.cwd=e.cwd,s.env=e.env,s.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(s.argv0=`"${r}"`),s}exec(){return QG(this,void 0,void 0,function*(){return!Zf(this.toolPath)&&(this.toolPath.includes("/")||tg&&this.toolPath.includes("\\"))&&(this.toolPath=NG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield mt(this.toolPath,!0),new Promise((e,r)=>QG(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let l of this.args)this._debug(` ${l}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+bd.EOL);let n=new gx(s,this.toolPath);if(n.on("debug",l=>{this._debug(l)}),this.options.cwd&&!(yield zl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=xG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",l=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(l),!s.silent&&s.outStream&&s.outStream.write(l),a=this._processLineBuffer(l,a,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let c="";if(o.stderr&&o.stderr.on("data",l=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(l),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(l),c=this._processLineBuffer(l,c,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),o.on("error",l=>{n.processError=l.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),o.on("exit",l=>{n.processExitCode=l,n.processExited=!0,this._debug(`Exit code ${l} received from tool '${this.toolPath}'`),n.CheckComplete()}),o.on("close",l=>{n.processExitCode=l,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(l,u)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),l?r(l):e(u)}),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))})}};function RG(t){let e=[],r=!1,s=!1,n="";function i(o){s&&o!=='"'&&(n+="\\"),n+=o,s=!1}for(let o=0;o<t.length;o++){let a=t.charAt(o);if(a==='"'){s?i(a):r=!r;continue}if(a==="\\"&&s){i(a);continue}if(a==="\\"&&r){s=!0;continue}if(a===" "&&!r){n.length>0&&(e.push(n),n="");continue}i(a)}return n.length>0&&e.push(n.trim()),e}var gx=class t extends Ex.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=(0,SG.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 TG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function os(t,e,r){return TG(this,void 0,void 0,function*(){let s=RG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new rg(n,e,r).exec()})}function Qd(t,e,r){return TG(this,void 0,void 0,function*(){var s,n;let i="",o="",a=new yx.StringDecoder("utf8"),c=new yx.StringDecoder("utf8"),l=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,u=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,A=f=>{o+=c.write(f),u&&u(f)},d=f=>{i+=a.write(f),l&&l(f)},p=Object.assign(Object.assign({},r?.listeners),{stdout:d,stderr:A}),m=yield os(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=a.end(),o+=c.end(),{exitCode:m,stdout:i,stderr:o}})}var DOe=Cx.default.platform(),_Oe=Cx.default.arch();var YAe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Ix;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Ix||(Ix={}));function PG(t,e){let r=vn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return EA("ENV",th(t,e));Pn("set-env",{name:t},r)}function Hl(t){Pn("add-mask",{},t)}function Vl(t){process.env.GITHUB_PATH||""?EA("PATH",t):Pn("add-path",{},t),process.env.PATH=`${t}${vG.delimiter}${process.env.PATH}`}function mn(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()}function wx(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=mn(t,e);if(r.includes(n))return!0;if(s.includes(n))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\``)}function bx(t,e){if(process.env.GITHUB_OUTPUT||"")return EA("OUTPUT",th(t,e));process.stdout.write(Bx.EOL),Pn("set-output",{name:t},vn(e))}function kG(t){process.exitCode=Ix.Failure,$l(t)}function Wa(){return process.env.RUNNER_DEBUG==="1"}function w(t){Pn("debug",{},t)}function $l(t,e={}){Pn("error",PB(e),t instanceof Error?t.toString():t)}function et(t,e={}){Pn("warning",PB(e),t instanceof Error?t.toString():t)}function N(t){process.stdout.write(t+Bx.EOL)}function JAe(t){DB("group",t)}function WAe(){DB("endgroup")}function me(t,e){return YAe(this,void 0,void 0,function*(){JAe(t);let r;try{r=yield e()}finally{WAe()}return r})}function Yl(t,e){if(process.env.GITHUB_STATE||"")return EA("STATE",th(t,e));Pn("save-state",{name:t},vn(e))}function DG(t){return process.env[`STATE_${t}`]||""}var lI=B(require("fs"),1),Tk=B(require("os"),1),vk=B(require("path"),1);var LG=B(require("os"),1);function Nd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function MG(t,e,r){let s=new Qx(t,e,r);process.stdout.write(s.toString()+LG.EOL)}var _G="::",Qx=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=_G+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${KAe(n)}`)}}return e+=`${_G}${jAe(this.message)}`,e}};function jAe(t){return Nd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function KAe(t){return Nd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var qG=B(require("os"),1);var FG=require("os"),Sd=require("fs"),xx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:XAe,appendFile:ZAe,writeFile:ede}=Sd.promises,OG="GITHUB_STEP_SUMMARY";var Nx=class{constructor(){this._buffer=""}filePath(){return xx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[OG];if(!e)throw new Error(`Unable to find environment variable for $${OG}. Check if your runtime environment supports job summaries.`);try{yield XAe(e,Sd.constants.R_OK|Sd.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,s={}){let n=Object.entries(s).map(([i,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return xx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?ede:ZAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return xx(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(FG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},iFe=new Nx;var Sx=B(require("os"),1);var cFe=Sx.default.platform(),lFe=Sx.default.arch();var UG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(UG||(UG={}));function Rx(){return process.env.RUNNER_DEBUG==="1"}function Le(t){MG("debug",{},t)}function Tx(t){process.stdout.write(t+qG.EOL)}var Xx=B(require("crypto"),1),sr=B(require("fs"),1);var Kme=B(jx(),1);var gg=B(require("os"),1),hn=B(require("path"),1);var ks=B(jx(),1),Pz=B(require("stream"),1),kz=B(require("util"),1),Zx=require("assert");var vz=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},hg=class{constructor(e,r,s){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(s),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return vz(this,void 0,void 0,function*(){let s=1;for(;s<this.maxAttempts;){try{return yield e()}catch(i){if(r&&!r(i))throw i;Tx(i.message)}let n=this.getSleepAmount();Tx(`Waiting ${n} seconds before trying again`),yield this.sleep(n),s++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return vz(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e*1e3))})}};var Vn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},fg=class extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},Dz=process.platform==="win32",BUe=process.platform==="darwin",Zme="actions/tool-cache";function Ka(t,e,r,s){return Vn(this,void 0,void 0,function*(){e=e||hn.join(Oz(),Xx.randomUUID()),yield Ts(hn.dirname(e)),Le(`Downloading ${t}`),Le(`Destination ${e}`);let n=3,i=Kx("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=Kx("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new hg(n,i,o).execute(()=>Vn(this,void 0,void 0,function*(){return yield ehe(t,e||"",r,s)}),c=>!(c instanceof fg&&c.httpStatusCode&&c.httpStatusCode<500&&c.httpStatusCode!==408&&c.httpStatusCode!==429))})}function ehe(t,e,r,s){return Vn(this,void 0,void 0,function*(){if(sr.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new Va(Zme,[],{allowRetries:!1});r&&(Le("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let u=new fg(i.message.statusCode);throw Le(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),u}let o=kz.promisify(Pz.pipeline),c=Kx("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),l=!1;try{return yield o(c,sr.createWriteStream(e)),Le("download complete"),l=!0,e}finally{if(!l){Le("download failed");try{yield eg(e)}catch(u){Le(`Failed to delete '${e}'. ${u.message}`)}}}})}function Eg(t,e){return Vn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield Lz(s),Le("Checking tar --version");let i="";yield os("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>i+=u.toString(),stderr:u=>i+=u.toString()}}),Le(i.trim());let o=i.toUpperCase().includes("GNU TAR"),a;n instanceof Array?a=n:a=[n],Rx()&&!n.includes("v")&&a.push("-v");let c=s,l=r;return Dz&&o&&(a.push("--force-local"),c=s.replace(/\\/g,"/"),l=r.replace(/\\/g,"/")),o&&(a.push("--warning=no-unknown-keyword"),a.push("--overwrite")),a.push("-C",c,"-f",l),yield os("tar",a),s})}function yg(t,e){return Vn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Lz(e),Dz?yield the(t,e):yield rhe(t,e),e})}function the(t,e){return Vn(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield mt("pwsh",!1);if(n){let o=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${s}' -Force } else { throw $_ } } ;`].join(" ")];Le(`Using pwsh at path: ${n}`),yield os(`"${n}"`,o)}else{let o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${s}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`].join(" ")],a=yield mt("powershell",!0);Le(`Using powershell at path: ${a}`),yield os(`"${a}"`,o)}})}function rhe(t,e){return Vn(this,void 0,void 0,function*(){let r=yield mt("unzip",!0),s=[t];Rx()||s.unshift("-q"),s.unshift("-o"),yield os(`"${r}"`,s,{cwd:e})})}function Ld(t,e,r,s){return Vn(this,void 0,void 0,function*(){if(r=ks.clean(r)||r,s=s||gg.arch(),Le(`Caching tool ${e} ${r} ${s}`),Le(`source dir: ${t}`),!sr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield nhe(e,r,s);for(let i of sr.readdirSync(t)){let o=hn.join(t,i);yield BG(o,n,{recursive:!0})}return ihe(e,r,s),n})}function _z(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||gg.arch(),!Mz(e)){let n=she(t,r);e=ohe(n,e)}let s="";if(e){e=ks.clean(e)||"";let n=hn.join(Cg(),t,e,r);Le(`checking cache: ${n}`),sr.existsSync(n)&&sr.existsSync(`${n}.complete`)?(Le(`Found tool in cache ${t} ${e} ${r}`),s=n):Le("not found")}return s}function she(t,e){let r=[];e=e||gg.arch();let s=hn.join(Cg(),t);if(sr.existsSync(s)){let n=sr.readdirSync(s);for(let i of n)if(Mz(i)){let o=hn.join(s,i,e||"");sr.existsSync(o)&&sr.existsSync(`${o}.complete`)&&r.push(i)}}return r}function Lz(t){return Vn(this,void 0,void 0,function*(){return t||(t=hn.join(Oz(),Xx.randomUUID())),yield Ts(t),t})}function nhe(t,e,r){return Vn(this,void 0,void 0,function*(){let s=hn.join(Cg(),t,ks.clean(e)||e,r||"");Le(`destination ${s}`);let n=`${s}.complete`;return yield eg(s),yield eg(n),yield Ts(s),s})}function ihe(t,e,r){let n=`${hn.join(Cg(),t,ks.clean(e)||e,r||"")}.complete`;sr.writeFileSync(n,""),Le("finished caching tool")}function Mz(t){let e=ks.clean(t)||"";Le(`isExplicit: ${e}`);let r=ks.valid(e)!=null;return Le(`explicit? ${r}`),r}function ohe(t,e){let r="";Le(`evaluating ${t.length} versions`),t=t.sort((s,n)=>ks.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(ks.satisfies(n,e)){r=n;break}}return r?Le(`matched: ${r}`):Le("match not found"),r}function Cg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Zx.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}function Oz(){let t=process.env.RUNNER_TEMP||"";return(0,Zx.ok)(t,"Expected RUNNER_TEMP to be defined"),t}function Kx(t,e){let r=global[t];return r!==void 0?r:e}var Cm=B(require("path"),1);var Uz=B(require("os"),1);function Md(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function qz(t,e,r){let s=new e0(t,e,r);process.stdout.write(s.toString()+Uz.EOL)}var Fz="::",e0=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=Fz+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${che(n)}`)}}return e+=`${Fz}${ahe(this.message)}`,e}};function ahe(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function che(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Hz=require("os"),Od=require("fs"),t0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:lhe,appendFile:uhe,writeFile:Ahe}=Od.promises,Gz="GITHUB_STEP_SUMMARY";var r0=class{constructor(){this._buffer=""}filePath(){return t0(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Gz];if(!e)throw new Error(`Unable to find environment variable for $${Gz}. Check if your runtime environment supports job summaries.`);try{yield lhe(e,Od.constants.R_OK|Od.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,s={}){let n=Object.entries(s).map(([i,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return t0(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Ahe:uhe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return t0(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(Hz.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},kUe=new r0;var s0=B(require("os"),1);var LUe=s0.default.platform(),MUe=s0.default.arch();var zz;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(zz||(zz={}));function Ds(t){qz("debug",{},t)}var Zl=B(require("fs"),1);function i0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Ds(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Ds(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Ds(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Ds(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Ds(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}var xg=B(require("path"),1);var Wl=B(require("path"),1),Ho=B(require("assert"),1),zo=process.platform==="win32";function ji(t){if(t=Wi(t),zo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Wl.dirname(t);return zo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Wi(e)),e}function Bg(t,e){if((0,Ho.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Ho.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Fd(e))return e;if(zo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Ho.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(fn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Ho.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,Ho.default)(Fd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||zo&&t.endsWith("\\")||(t+=Wl.sep),t+e}function Fd(t){return(0,Ho.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=fn(t),zo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}function Ud(t){return(0,Ho.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=fn(t),zo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function fn(t){return t=t||"",zo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function Wi(t){return t?(t=fn(t),!t.endsWith(Wl.sep)||t===Wl.sep||zo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}var gn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(gn||(gn={}));var Vz=process.platform==="win32";function a0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=Vz?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=Vz?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,o=n,a=ji(o);for(;a!==o;){if(e[a]){i=!0;break}o=a,a=ji(o)}i||(r.push(s.searchPath),e[n]="included")}return r}function $z(t,e){let r=gn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}function Yz(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}var hV=B(require("os"),1),Xl=B(require("path"),1);var $o=B(require("assert"),1),fV=B(mV(),1);var Xa=B(require("path"),1);var Kl=B(require("assert"),1),Lhe=process.platform==="win32",Za=class{constructor(e){if(this.segments=[],typeof e=="string")if((0,Kl.default)(e,"Parameter 'itemPath' must not be empty"),e=Wi(e),!Ud(e))this.segments=e.split(Xa.sep);else{let r=e,s=ji(r);for(;s!==r;){let n=Xa.basename(r);this.segments.unshift(n),r=s,s=ji(r)}this.segments.unshift(r)}else{(0,Kl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let s=e[r];(0,Kl.default)(s,"Parameter 'itemPath' must not contain any empty segments"),s=fn(e[r]),r===0&&Ud(s)?(s=Wi(s),(0,Kl.default)(s===ji(s),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(s)):((0,Kl.default)(!s.includes(Xa.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(s))}}}toString(){let e=this.segments[0],r=e.endsWith(Xa.sep)||Lhe&&/^[A-Z]:$/i.test(e);for(let s=1;s<this.segments.length;s++)r?r=!1:e+=Xa.sep,e+=this.segments[s];return e}};var{Minimatch:Mhe}=fV.default,Ki=process.platform==="win32",Gd=class t{constructor(e,r=!1,s,n){this.negate=!1;let i;if(typeof e=="string")i=e.trim();else{s=s||[],(0,$o.default)(s.length,"Parameter 'segments' must not empty");let l=t.getLiteral(s[0]);(0,$o.default)(l&&Fd(l),"Parameter 'segments' first element must be a root path"),i=new Za(s).toString().trim(),e&&(i=`!${i}`)}for(;i.startsWith("!");)this.negate=!this.negate,i=i.substr(1).trim();i=t.fixupPattern(i,n),this.segments=new Za(i).segments,this.trailingSeparator=fn(i).endsWith(Xl.sep),i=Wi(i);let o=!1,a=this.segments.map(l=>t.getLiteral(l)).filter(l=>!o&&!(o=l===""));this.searchPath=new Za(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),Ki?"i":""),this.isImplicitPattern=r;let c={dot:!0,nobrace:!0,nocase:Ki,nocomment:!0,noext:!0,nonegate:!0};i=Ki?i.replace(/\\/g,"/"):i,this.minimatch=new Mhe(i,c)}match(e){return this.segments[this.segments.length-1]==="**"?(e=fn(e),!e.endsWith(Xl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Xl.sep}`)):e=Wi(e),this.minimatch.match(e)?this.trailingSeparator?gn.Directory:gn.All:gn.None}partialMatch(e){return e=Wi(e),ji(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ki?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ki?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,$o.default)(e,"pattern cannot be empty");let s=new Za(e).segments.map(n=>t.getLiteral(n));if((0,$o.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,$o.default)(!Ud(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=fn(e),e==="."||e.startsWith(`.${Xl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Xl.sep}`))r=r||hV.homedir(),(0,$o.default)(r,"Unable to determine HOME directory"),(0,$o.default)(Fd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ki&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Bg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Ki&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Bg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Bg(t.globEscape(process.cwd()),e);return fn(e)}static getLiteral(e){let r="";for(let s=0;s<e.length;s++){let n=e[s];if(n==="\\"&&!Ki&&s+1<e.length){r+=e[++s];continue}else{if(n==="*"||n==="?")return"";if(n==="["&&s+1<e.length){let i="",o=-1;for(let a=s+1;a<e.length;a++){let c=e[a];if(c==="\\"&&!Ki&&a+1<e.length){i+=e[++a];continue}else if(c==="]"){o=a;break}else i+=c}if(o>=0){if(i.length>1)return"";if(i){r+=i,s=o;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Hd=class{constructor(e,r){this.path=e,this.level=r}};var p0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Ohe=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={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(o){return new Promise(function(a,c){o=t[i](o),n(a,c,o.done,o.value)})}}function n(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},Yo=function(t){return this instanceof Yo?(this.v=t,this):new Yo(t)},Fhe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(p){return function(m){return Promise.resolve(m).then(p,A)}}function a(p,m){s[p]&&(n[p]=function(f){return new Promise(function(y,g){i.push([p,f,y,g])>1||c(p,f)})},m&&(n[p]=m(n[p])))}function c(p,m){try{l(s[p](m))}catch(f){d(i[0][3],f)}}function l(p){p.value instanceof Yo?Promise.resolve(p.value.v).then(u,A):d(i[0][2],p)}function u(p){c("next",p)}function A(p){c("throw",p)}function d(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}},Uhe=process.platform==="win32",Qg=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=i0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return p0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var o=!0,a=Ohe(this.globGenerator()),c;c=yield a.next(),e=c.done,!e;o=!0){n=c.value,o=!1;let l=n;i.push(l)}}catch(l){r={error:l}}finally{try{!o&&!e&&(s=a.return)&&(yield s.call(a))}finally{if(r)throw r.error}}return i})}globGenerator(){return Fhe(this,arguments,function*(){let r=i0(this.options),s=[];for(let o of this.patterns)s.push(o),r.implicitDescendants&&(o.trailingSeparator||o.segments[o.segments.length-1]!=="**")&&s.push(new Gd(o.negate,!0,o.segments.concat("**")));let n=[];for(let o of a0(s)){Ds(`Search path '${o}'`);try{yield Yo(Zl.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}n.unshift(new Hd(o,1))}let i=[];for(;n.length;){let o=n.pop(),a=$z(s,o.path),c=!!a||Yz(s,o.path);if(!a&&!c)continue;let l=yield Yo(t.stat(o,r,i));if(l&&!(r.excludeHiddenFiles&&xg.basename(o.path).match(/^\./)))if(l.isDirectory()){if(a&gn.Directory&&r.matchDirectories)yield yield Yo(o.path);else if(!c)continue;let u=o.level+1,A=(yield Yo(Zl.promises.readdir(o.path))).map(d=>new Hd(xg.join(o.path,d),u));n.push(...A.reverse())}else a&gn.File&&(yield yield Yo(o.path))}})}static create(e,r){return p0(this,void 0,void 0,function*(){let s=new t(r);Uhe&&(e=e.replace(/\r\n/g,`
`),e=e.replace(/\r/g,`
`));let n=e.split(`
`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new Gd(i));return s.searchPaths.push(...a0(s.patterns)),s})}static stat(e,r,s){return p0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Zl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ds(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield Zl.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Zl.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(o=>o===i)){Ds(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var qhe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function gV(t,e){return qhe(this,void 0,void 0,function*(){return yield Qg.create(t,e)})}var qg=B(require("crypto"),1),ru=B(require("fs"),1),tc=B(require("path"),1),cY=B(oY(),1),lY=B(require("util"),1);var Kd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Kd||(Kd={}));var gr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(gr||(gr={}));var cs;(function(t){t.GNU="gnu",t.BSD="bsd"})(cs||(cs={}));var Fg=2,Ug=5e3,k0=5e3,D0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,aY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Xd="cache.tar",_0="manifest.txt",A1e=10*Math.pow(1024,3);var tu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},OEe=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={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(o){return new Promise(function(a,c){o=t[i](o),n(a,c,o.done,o.value)})}}function n(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},FEe="1.0";function Zd(){return tu(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=tc.join(s,"actions","temp")}let r=tc.join(e,qg.randomUUID());return yield Ts(r),r})}function Yn(t){return ru.statSync(t).size}function L0(t){return tu(this,void 0,void 0,function*(){var e,r,s,n,i;let o=[],a=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),c=yield gV(t.join(`
`),{implicitDescendants:!1});try{for(var l=!0,u=OEe(c.globGenerator()),A;A=yield u.next(),e=A.done,!e;l=!0){n=A.value,l=!1;let p=tc.relative(a,n).replace(new RegExp(`\\${tc.sep}`,"g"),"/");w(`Matched: ${p}`),p===""?o.push("."):o.push(`${p}`)}}catch(d){r={error:d}}finally{try{!l&&!e&&(s=u.return)&&(yield s.call(u))}finally{if(r)throw r.error}}return o})}function ep(t){return tu(this,void 0,void 0,function*(){return lY.promisify(ru.unlink)(t)})}function uY(t){return tu(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),w(`Checking ${e} ${r.join(" ")}`);try{yield os(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:n=>s+=n.toString(),stderr:n=>s+=n.toString()}})}catch(n){w(n.message)}return s=s.trim(),w(s),s})}function tp(){return tu(this,void 0,void 0,function*(){let t=yield uY("zstd",["--quiet"]),e=cY.clean(t);return w(`zstd version: ${e}`),t===""?gr.Gzip:gr.ZstdWithoutLong})}function Jo(t){return t===gr.Gzip?Kd.Gzip:Kd.Zstd}function AY(){return tu(this,void 0,void 0,function*(){return ru.existsSync(D0)?D0:(yield uY("tar")).toLowerCase().includes("gnu tar")?mt("tar"):""})}function M0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}function su(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(FEe),qg.createHash("sha256").update(s.join("|")).digest("hex")}function dY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}var sp=B(require("http"),1),U0=B(require("https"),1);function O0(t){let e=t.protocol==="https:";if(UEe(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 Hg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Hg(`http://${r}`)}else return}function UEe(t){if(!t.hostname)return!1;let e=t.hostname;if(qEe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function qEe(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 Hg=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 Wo=B(yA(),1),pY=B(Gl(),1),ft=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},tt;(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"})(tt||(tt={}));var Er;(function(t){t.Accept="accept",t.ContentType="content-type"})(Er||(Er={}));var Xi;(function(t){t.ApplicationJson="application/json"})(Xi||(Xi={}));var HEe=[tt.MovedPermanently,tt.ResourceMoved,tt.SeeOther,tt.TemporaryRedirect,tt.PermanentRedirect],zEe=[tt.BadGateway,tt.ServiceUnavailable,tt.GatewayTimeout],VEe=["OPTIONS","GET","DELETE","HEAD"],$Ee=10,YEe=5,Jn=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},F0=class{constructor(e){this.message=e}readBody(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Zi=class{constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ft(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ft(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ft(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ft(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ft(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ft(this,arguments,void 0,function*(r,s={}){s[Er.Accept]=this._getExistingOrDefaultHeader(s,Er.Accept,Xi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Er.Accept]=this._getExistingOrDefaultHeader(i,Er.Accept,Xi.ApplicationJson),i[Er.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Er.Accept]=this._getExistingOrDefaultHeader(i,Er.Accept,Xi.ApplicationJson),i[Er.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Er.Accept]=this._getExistingOrDefaultHeader(i,Er.Accept,Xi.ApplicationJson),i[Er.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return ft(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&VEe.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===tt.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&HEe.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!zEe.includes(l.message.statusCode))return l;c+=1,c<a&&(yield l.readBody(),yield this._performExponentialBackoff(c))}while(c<a);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new F0(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),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),s=O0(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?U0:sp;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},rp(this.requestOptions.headers),rp(e||{})):rp(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=rp(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=rp(this.requestOptions.headers)[Er.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Er.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=O0(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||sp.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?Wo.httpsOverHttps:Wo.httpsOverHttp:c=l?Wo.httpOverHttps:Wo.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new U0.Agent(a):new sp.Agent(a),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new pY.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ft(this,void 0,void 0,function*(){e=Math.min($Ee,e);let r=YEe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>ft(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===tt.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new Jn(u,i);A.result=o.result,n(A)}else s(o)}))})}},rp=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var JEe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};var nu=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 JEe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var _u=B(require("fs"),1),P8=require("url");var Wn=class extends Error{constructor(e){super(e),this.name="AbortError"}};var mY=require("node:os"),hY=B(require("node:util"),1),fY=B(require("node:process"),1);function gY(t,...e){fY.default.stderr.write(`${hY.default.format(t,...e)}${mY.EOL}`)}var EY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,CY,q0=[],G0=[],zg=[];EY&&H0(EY);var IY=Object.assign(t=>BY(t),{enable:H0,enabled:z0,disable:WEe,log:gY});function H0(t){CY=t,q0=[],G0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?G0.push(r.substring(1)):q0.push(r);for(let r of zg)r.enabled=z0(r.namespace)}function z0(t){if(t.endsWith("*"))return!0;for(let e of G0)if(yY(t,e))return!1;for(let e of q0)if(yY(t,e))return!0;return!1}function yY(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let d=[],p="";for(let m of e)m==="*"&&p==="*"||(p=m,d.push(m));r=d.join("")}let s=0,n=0,i=r.length,o=t.length,a=-1,c=-1;for(;s<o&&n<i;)if(r[n]==="*"){if(a=n,n++,n===i)return!0;for(;t[s]!==r[n];)if(s++,s===o)return!1;c=s,s++,n++;continue}else if(r[n]===t[s])n++,s++;else if(a>=0){if(n=a+1,s=c+1,s===o)return!1;for(;t[s]!==r[n];)if(s++,s===o)return!1;c=s,s++,n++;continue}else return!1;let l=s===t.length,u=n===r.length,A=n===r.length-1&&r[n]==="*";return l&&(u||A)}function WEe(){let t=CY||"";return H0(""),t}function BY(t){let e=Object.assign(r,{enabled:z0(t),destroy:jEe,log:IY.log,namespace:t,extend:KEe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return zg.push(e),e}function jEe(){let t=zg.indexOf(this);return t>=0?(zg.splice(t,1),!0):!1}function KEe(t){let e=BY(`${this.namespace}:${t}`);return e.log=this.log,e}var iu=IY;var V0=["verbose","info","warning","error"],wY={verbose:400,info:300,warning:200,error:100};function bY(t,e){e.log=(...r)=>{t.log(...r)}}function QY(t){return V0.includes(t)}function Vg(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=iu(t.namespace);n.log=(...u)=>{iu.log(...u)};function i(u){if(u&&!QY(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${V0.join(",")}`);s=u;let A=[];for(let d of e)o(d)&&A.push(d.namespace);iu.enable(A.join(","))}r&&(QY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${V0.join(", ")}.`));function o(u){return!!(s&&wY[u.level]<=wY[s])}function a(u,A){let d=Object.assign(u.extend(A),{level:A});if(bY(u,d),o(d)){let p=iu.disable();iu.enable(p+","+d.namespace)}return e.add(d),d}function c(){return s}function l(u){let A=n.extend(u);return bY(n,A),{error:a(A,"error"),warning:a(A,"warning"),info:a(A,"info"),verbose:a(A,"verbose")}}return{setLogLevel:i,getLogLevel:c,createClientLogger:l,logger:n}}var xY=Vg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),XEe=xY.logger;function np(t){return xY.createClientLogger(t)}function $g(t){return t.toLowerCase()}function*ZEe(t){for(let e of t.values())yield[e.name,e.value]}var $0=class{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set($g(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get($g(e))?.value}has(e){return this._headersMap.has($g(e))}delete(e){this._headersMap.delete($g(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let s of this._headersMap.values())r[s.name]=s.value;else for(let[s,n]of this._headersMap)r[s]=n.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return ZEe(this._headersMap)}};function ls(t){return new $0(t)}function rc(){return crypto.randomUUID()}var Y0=class{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??ls(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||rc(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Yg(t){return new Y0(t)}var NY=new Set(["Deserialize","Serialize","Retry","Sign"]),J0=class t{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!NY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!NY.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(s=>e.name&&s.policy.name===e.name||e.phase&&s.options.phase===e.phase?(r.push(s.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,o)=>a=>o.sendRequest(a,i),i=>e.sendRequest(i))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function s(m){return{name:m,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let n=s("Serialize"),i=s("None"),o=s("Deserialize"),a=s("Retry"),c=s("Sign"),l=[n,i,o,a,c];function u(m){return m==="Retry"?a:m==="Serialize"?n:m==="Deserialize"?o:m==="Sign"?c:i}for(let m of this._policies){let f=m.policy,y=m.options,g=f.name;if(r.has(g))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:f,dependsOn:new Set,dependants:new Set};y.afterPhase&&(E.afterPhase=u(y.afterPhase),E.afterPhase.hasAfterPolicies=!0),r.set(g,E),u(y.phase).policies.add(E)}for(let m of this._policies){let{policy:f,options:y}=m,g=f.name,E=r.get(g);if(!E)throw new Error(`Missing node for policy ${g}`);if(y.afterPolicies)for(let C of y.afterPolicies){let I=r.get(C);I&&(E.dependsOn.add(I),I.dependants.add(E))}if(y.beforePolicies)for(let C of y.beforePolicies){let I=r.get(C);I&&(I.dependsOn.add(E),E.dependants.add(I))}}function A(m){m.hasRun=!0;for(let f of m.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let y of f.dependants)y.dependsOn.delete(f);r.delete(f.policy.name),m.policies.delete(f)}}function d(){for(let m of l){if(A(m),m.policies.size>0&&m!==i){i.hasRun||A(i);return}m.hasAfterPolicies&&A(i)}}let p=0;for(;r.size>0;){p++;let m=e.length;if(d(),e.length<=m&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Jg(){return J0.create()}function ou(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function sc(t){if(ou(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}var SY=require("node:util"),RY=SY.inspect.custom;var W0="REDACTED",eye=["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"],tye=["api-version"],En=class{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=eye.concat(e),r=tye.concat(r),this.allowedHeaderNames=new Set(e.map(s=>s.toLowerCase())),this.allowedQueryParameters=new Set(r.map(s=>s.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(s,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(s==="headers")return this.sanitizeHeaders(n);if(s==="url")return this.sanitizeUrl(n);if(s==="query")return this.sanitizeQuery(n);if(s==="body")return;if(s==="response")return;if(s==="operationSpec")return;if(Array.isArray(n)||ou(n)){if(r.has(n))return"[Circular]";r.add(n)}return n},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[s]of r.searchParams)this.allowedQueryParameters.has(s.toLowerCase())||r.searchParams.set(s,W0);return r.toString()}sanitizeHeaders(e){let r={};for(let s of Object.keys(e))this.allowedHeaderNames.has(s.toLowerCase())?r[s]=e[s]:r[s]=W0;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let s of Object.keys(e))this.allowedQueryParameters.has(s.toLowerCase())?r[s]=e[s]:r[s]=W0;return r}};var rye=new En,yr=class t extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let s=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,RY,{value:()=>`RestError: ${this.message}
${rye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Wg(t){return t instanceof yr?!0:sc(t)&&t.name==="RestError"}function _r(t,e){return Buffer.from(t,e)}var jg=B(require("node:http"),1),Kg=B(require("node:https"),1),j0=B(require("node:zlib"),1),vY=require("node:stream");var Ms=np("ts-http-runtime");var sye={};function ip(t){return t&&typeof t.pipe=="function"}function TY(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 PY(t){return t&&typeof t.byteLength=="number"}var Xg=class extends vY.Transform{loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},K0=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Wn("The operation was aborted. Request has already been canceled.");s=l=>{l.type==="abort"&&r.abort()},e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let l=new En;Ms.info(`request to '${l.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),o=i?.includes("gzip")||i?.includes("deflate"),a=typeof e.body=="function"?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let l=aye(a);l!==null&&e.headers.set("Content-Length",l)}let c;try{if(a&&e.onUploadProgress){let m=e.onUploadProgress,f=new Xg(m);f.on("error",y=>{Ms.error("Error in upload progress",y)}),ip(a)?a.pipe(f):f.end(a),a=f}let l=await this.makeRequest(e,r,a);n!==void 0&&clearTimeout(n);let u=nye(l),d={status:l.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return l.resume(),d;c=o?iye(l,u):l;let p=e.onDownloadProgress;if(p){let m=new Xg(p);m.on("error",f=>{Ms.error("Error in download progress",f)}),c.pipe(m),c=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=c:d.bodyAsText=await oye(c),d}finally{if(e.abortSignal&&s){let l=Promise.resolve();ip(a)&&(l=TY(a));let u=Promise.resolve();ip(c)&&(u=TY(c)),Promise.all([l,u]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(A=>{Ms.warning("Error when cleaning up abortListener on httpRequest",A)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((c,l)=>{let u=i?jg.default.request(a,c):Kg.default.request(a,c);u.once("error",A=>{l(new yr(A.message,{code:A.code??yr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let A=new Wn("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(A),l(A)}),s&&ip(s)?s.pipe(u):s?typeof s=="string"||Buffer.isBuffer(s)?u.end(s):PY(s)?u.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Ms.error("Unrecognized body type",s),l(new yr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?jg.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new jg.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return Kg.default.globalAgent;let n=e.tlsSettings??sye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Ms.info("No cached TLS Agent exist, creating a new Agent"),i=new Kg.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function nye(t){let e=ls();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}function iye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=j0.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=j0.default.createInflate();return t.pipe(s),s}return t}function oye(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new yr(`Error reading response as text: ${n.message}`,{code:yr.PARSE_ERROR}))})})}function aye(t){return t?Buffer.isBuffer(t)?t.length:ip(t)?null:PY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function kY(){return new K0}function Zg(){return kY()}var X0="logPolicy";function eE(t={}){let e=t.logger??Ms.info,r=new En({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:X0,async sendRequest(s,n){if(!e.enabled)return n(s);e(`Request: ${r.sanitize(s)}`);let i=await n(s);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}var tE="redirectPolicy",DY=["GET","HEAD"];function rE(t={}){let{maxRetries:e=20}=t;return{name:tE,async sendRequest(r,s){let n=await s(r);return _Y(s,n,e)}}}async function _Y(t,e,r,s=0){let{request:n,status:i,headers:o}=e,a=o.get("location");if(a&&(i===300||i===301&&DY.includes(n.method)||i===302&&DY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s<r){let c=new URL(a,n.url);n.url=c.toString(),i===303&&(n.method="GET",n.headers.delete("Content-Length"),delete n.body),n.headers.delete("Authorization");let l=await t(n);return _Y(t,l,r,s+1)}return e}function LY(){return"User-Agent"}function MY(){return LY()}var cqe=MY();var sE="decompressResponsePolicy";function nE(){return{name:sE,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}function op(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function iE(t,e){let r=e.retryDelayInMs*Math.pow(2,t),s=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:s/2+op(0,s/2)}}var cye="The operation was aborted.";function OY(t,e,r){return new Promise((s,n)=>{let i,o,a=()=>n(new Wn(r?.abortErrorMsg?r?.abortErrorMsg:cye)),c=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(i&&clearTimeout(i),c(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();i=setTimeout(()=>{c(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}function FY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}var Z0="Retry-After",lye=["retry-after-ms","x-ms-retry-after-ms",Z0];function UY(t){if(t&&[429,503].includes(t.status))try{for(let n of lye){let i=FY(t,n);if(i===0||i)return i*(n===Z0?1e3:1)}let e=t.headers.get(Z0);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}function qY(t){return Number.isFinite(UY(t))}function eN(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=UY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}var uye=1e3,Aye=1e3*64;function oE(t={}){let e=t.retryDelayInMs??uye,r=t.maxRetryDelayInMs??Aye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let o=pye(i),a=o&&t.ignoreSystemErrors,c=dye(n),l=c&&t.ignoreHttpStatusCodes;return n&&(qY(n)||!c)||l||a?{skipStrategy:!0}:i&&!o&&!c?{errorToThrow:i}:iE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}function dye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}function pye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}var mye=np("ts-http-runtime retryPolicy"),hye="retryPolicy";function ic(t,e={maxRetries:3}){let r=e.logger||mye;return{name:hye,async sendRequest(s,n){let i,o,a=-1;e:for(;;){a+=1,i=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${a}: Received a response from request`,s.requestId)}catch(c){if(r.error(`Retry ${a}: Received an error from request`,s.requestId),o=c,!c||o.name!=="RestError")throw c;i=o.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new Wn;if(a>=(e.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${a}: Processing ${t.length} retry strategies.`);t:for(let c of t){let l=c.logger||r;l.info(`Retry ${a}: Processing retry strategy ${c.name}.`);let u=c.retry({retryCount:a,response:i,responseError:o});if(u.skipStrategy){l.info(`Retry ${a}: Skipped.`);continue t}let{errorToThrow:A,retryAfterInMs:d,redirectTo:p}=u;if(A)throw l.error(`Retry ${a}: Retry strategy ${c.name} throws error:`,A),A;if(d||d===0){l.info(`Retry ${a}: Retry strategy ${c.name} retries after ${d}`),await OY(d,void 0,{abortSignal:s.abortSignal});continue e}if(p){l.info(`Retry ${a}: Retry strategy ${c.name} redirects to ${p}`),s.url=p;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}var tN="defaultRetryPolicy";function aE(t={}){return{name:tN,sendRequest:ic([eN(),oE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}var GY=typeof window<"u"&&typeof window.document<"u",HY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),zY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",VY=typeof Bun<"u"&&typeof Bun.version<"u",oc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var $Y=typeof navigator<"u"&&navigator?.product==="ReactNative";var rN="formDataPolicy";function fye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}function cE(){return{name:rN,async sendRequest(t,e){if(oc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=fye(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=gye(t.formData):await Eye(t.formData,t),t.formData=void 0}return e(t)}}}function gye(t){let e=new URLSearchParams;for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.append(r,n.toString());else e.append(r,s.toString());return e.toString()}async function Eye(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 s=[];for(let[n,i]of Object.entries(t))for(let o of Array.isArray(i)?i:[i])if(typeof o=="string")s.push({headers:ls({"Content-Disposition":`form-data; name="${n}"`}),body:_r(o,"utf-8")});else{if(o==null||typeof o!="object")throw new Error(`Unexpected value for key ${n}: ${o}. Value should be serialized to string first.`);{let a=o.name||"blob",c=ls();c.set("Content-Disposition",`form-data; name="${n}"; filename="${a}"`),c.set("Content-Type",o.type||"application/octet-stream"),s.push({headers:c,body:o})}}e.multipartBody={parts:s}}var BJ=B(hJ(),1),wJ=B(EJ(),1);var gCe="HTTPS_PROXY",ECe="HTTP_PROXY",yCe="ALL_PROXY",CCe="NO_PROXY",lN="proxyPolicy",yJ=[],bJ=!1,ICe=new Map;function gE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}function QJ(){if(!process)return;let t=gE(gCe),e=gE(yCe),r=gE(ECe);return t||e||r}function BCe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}function wCe(){let t=gE(CCe);return bJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}function uN(t){if(!t&&(t=QJ(),!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 bCe(){let t=QJ();return t?new URL(t):void 0}function CJ(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 IJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Ms.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();n?(e.httpProxyAgent||(e.httpProxyAgent=new wJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new BJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}function EE(t,e){bJ||yJ.push(...wCe());let r=t?CJ(t):bCe(),s={};return{name:lN,async sendRequest(n,i){return!n.proxySettings&&r&&!BCe(n.url,e?.customNoProxyList??yJ,e?.customNoProxyList?void 0:ICe)?IJ(n,s,r):n.proxySettings&&IJ(n,s,CJ(n.proxySettings)),i(n)}}}var AN="agentPolicy";function yE(t){return{name:AN,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}var dN="tlsPolicy";function CE(t){return{name:dN,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}function IE(t){return typeof t.stream=="function"}var BE=require("stream");async function*xJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}function QCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=xJ.bind(t)),t.values||(t.values=xJ.bind(t))}function NJ(t){return t instanceof ReadableStream?(QCe(t),BE.Readable.fromWeb(t)):t}function xCe(t){return t instanceof Uint8Array?BE.Readable.from(Buffer.from(t)):IE(t)?NJ(t.stream()):NJ(t)}async function SJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(xCe);return BE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}function NCe(){return`----AzSDKFormBoundary${rc()}`}function SCe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r
`;return e}function RCe(t){return t instanceof Uint8Array?t.byteLength:IE(t)?t.size===-1?void 0:t.size:void 0}function TCe(t){let e=0;for(let r of t){let s=RCe(r);if(s===void 0)return;e+=s}return e}async function vCe(t,e,r){let s=[_r(`--${r}`,"utf-8"),...e.flatMap(i=>[_r(`\r
`,"utf-8"),_r(SCe(i.headers),"utf-8"),_r(`\r
`,"utf-8"),i.body,_r(`\r
--${r}`,"utf-8")]),_r(`--\r
\r
`,"utf-8")],n=TCe(s);n&&t.headers.set("Content-Length",n),t.body=await SJ(s)}var lp="multipartPolicy",PCe=70,kCe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function DCe(t){if(t.length>PCe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!kCe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function wE(){return{name:lp,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,o]=n;if(o&&r&&o!==r)throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);return r??=o,r?DCe(r):r=NCe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await vCe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}function bE(){return Jg()}var RJ=Vg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),JHe=RJ.logger;function Kn(t){return RJ.createClientLogger(t)}var Xn=Kn("core-rest-pipeline");function hN(t={}){return eE({logger:Xn.info,...t})}var fN=tE;function gN(t={}){return rE(t)}var QE=B(require("node:os"),1),xE=B(require("node:process"),1);function TJ(){return"User-Agent"}async function vJ(t){if(xE.default&&xE.default.versions){let e=`${QE.default.type()} ${QE.default.release()}; ${QE.default.arch()}`,r=xE.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}var NE="1.22.2";function GCe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}function PJ(){return TJ()}async function SE(t){let e=new Map;e.set("core-rest-pipeline",NE),await vJ(e);let r=GCe(e);return t?`${t} ${r}`:r}var kJ=PJ(),DJ="userAgentPolicy";function EN(t={}){let e=SE(t.userAgentPrefix);return{name:DJ,async sendRequest(r,s){return r.headers.has(kJ)||r.headers.set(kJ,await e),s(r)}}}var ds=class extends Error{constructor(e){super(e),this.name="AbortError"}};function yN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,o)=>{function a(){o(new ds(n??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),i(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var YCe="The delay was aborted.";function up(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return yN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:n??YCe})}function Ko(t){if(sc(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}`}}function _J(t){return sc(t)}function du(){return rc()}var xe=oc;var LJ=Symbol("rawContent");function IN(t){return typeof t[LJ]=="function"}function MJ(t){return IN(t)?t[LJ]():t}var RE=lp;function BN(){let t=wE();return{name:RE,sendRequest:async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)IN(s.body)&&(s.body=MJ(s.body));return t.sendRequest(e,r)}}}var wN=sE;function bN(){return nE()}function QN(t={}){return aE(t)}function xN(){return cE()}function Xo(t){return uN(t)}function NN(t,e){return EE(t,e)}var OJ="setClientRequestIdPolicy";function SN(t="x-ms-client-request-id"){return{name:OJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}function RN(t){return yE(t)}function TN(t){return CE(t)}var pu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function FJ(t={}){let e=new vN(t.parentContext);return t.span&&(e=e.setValue(pu.span,t.span)),t.namespace&&(e=e.setValue(pu.namespace,t.namespace)),e}var vN=class t{_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var qJ=B(UJ(),1),vE=qJ.state;function JCe(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function WCe(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:JCe(),tracingContext:FJ({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function Ap(){return vE.instrumenterImplementation||(vE.instrumenterImplementation=WCe()),vE.instrumenterImplementation}function dp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(l,u,A){let d=Ap().startSpan(l,{...A,packageName:r,packageVersion:s,tracingContext:u?.tracingOptions?.tracingContext}),p=d.tracingContext,m=d.span;p.getValue(pu.namespace)||(p=p.setValue(pu.namespace,e)),m.setAttribute("az.namespace",p.getValue(pu.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:m,updatedOptions:f}}async function i(l,u,A,d){let{span:p,updatedOptions:m}=n(l,u,d);try{let f=await o(m.tracingOptions.tracingContext,()=>Promise.resolve(A(m,p)));return p.setStatus({status:"success"}),f}catch(f){throw p.setStatus({status:"error",error:f}),f}finally{p.end()}}function o(l,u,...A){return Ap().withContext(l,u,...A)}function a(l){return Ap().parseTraceparentHeader(l)}function c(l){return Ap().createRequestHeaders(l)}return{startSpan:n,withSpan:i,withContext:o,parseTraceparentHeader:a,createRequestHeaders:c}}var eo=yr;function cc(t){return Wg(t)}var GJ="tracingPolicy";function PN(t={}){let e=SE(t.userAgentPrefix),r=new En({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=jCe();return{name:GJ,async sendRequest(n,i){if(!s)return i(n);let o=await e,a={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":o,requestId:n.requestId};o&&(a["http.user_agent"]=o);let{span:c,tracingContext:l}=KCe(s,n,a)??{};if(!c||!l)return i(n);try{let u=await s.withContext(l,i,n);return ZCe(c,u),u}catch(u){throw XCe(c,u),u}}}}function jCe(){try{return dp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:NE})}catch(t){Xn.warning(`Error when creating the TracingClient: ${Ko(t)}`);return}}function KCe(t,e,r){try{let{span:s,updatedOptions:n}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return}let i=t.createRequestHeaders(n.tracingOptions.tracingContext);for(let[o,a]of Object.entries(i))e.headers.set(o,a);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){Xn.warning(`Skipping creating a tracing span due to an error: ${Ko(s)}`);return}}function XCe(t,e){try{t.setStatus({status:"error",error:_J(e)?e:void 0}),cc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Xn.warning(`Skipping tracing span processing due to an error: ${Ko(r)}`)}}function ZCe(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){Xn.warning(`Skipping tracing span processing due to an error: ${Ko(r)}`)}}function PE(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function s(){r&&(t.removeEventListener("abort",n),r=!1)}function n(){e.abort(t.reason),s()}return t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}var eIe="wrapAbortSignalLikePolicy";function HJ(){return{name:eIe,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=PE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}}}}function kN(t){let e=bE();return xe&&(t.agent&&e.addPolicy(RN(t.agent)),t.tlsOptions&&e.addPolicy(TN(t.tlsOptions)),e.addPolicy(NN(t.proxyOptions)),e.addPolicy(bN())),e.addPolicy(HJ()),e.addPolicy(xN(),{beforePolicies:[RE]}),e.addPolicy(EN(t.userAgentOptions)),e.addPolicy(SN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(BN(),{afterPhase:"Deserialize"}),e.addPolicy(QN(t.retryOptions),{phase:"Retry"}),e.addPolicy(PN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),xe&&e.addPolicy(gN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(hN(t.loggingOptions),{afterPhase:"Sign"}),e}function pp(){let t=Zg();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?PE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}function to(t){return ls(t)}function mp(t){return Yg(t)}var O$e=Kn("core-rest-pipeline retryPolicy");var tIe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function rIe(t,e,r){async function s(){if(Date.now()<r)try{return await t()}catch{return null}else{let i=await t();if(i===null)throw new Error("Failed to refresh access token.");return i}}let n=await s();for(;n===null;)await up(e),n=await s();return n}function DN(t,e){let r=null,s=null,n,i={...tIe,...e},o={get isRefreshing(){return r!==null},get shouldRefresh(){return o.isRefreshing?!1:s?.refreshAfterTimestamp&&s.refreshAfterTimestamp<Date.now()?!0:(s?.expiresOnTimestamp??0)-i.refreshWindowInMs<Date.now()},get mustRefresh(){return s===null||s.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function a(c,l){return o.isRefreshing||(r=rIe(()=>t.getToken(c,l),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(A=>(r=null,s=A,n=l.tenantId,s)).catch(A=>{throw r=null,s=null,n=void 0,A})),r}return async(c,l)=>{let u=!!l.claims,A=n!==l.tenantId;return u&&(s=null),A||u||o.mustRefresh?a(c,l):(o.shouldRefresh&&a(c,l),s)}}var YJ="bearerTokenAuthenticationPolicy";async function kE(t,e){try{return[await e(t),void 0]}catch(r){if(cc(r)&&r.response)return[r.response,r];throw r}}async function sIe(t){let{scopes:e,getAccessToken:r,request:s}=t,n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:!0},i=await r(e,n);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}function zJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}async function VJ(t,e){let{scopes:r}=t,s=await t.getAccessToken(r,{enableCae:!0,claims:e});return s?(t.request.headers.set("Authorization",`${s.tokenType??"Bearer"} ${s.token}`),!0):!1}function mu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||Xn,i={authorizeRequest:s?.authorizeRequest?.bind(s)??sIe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},o=e?DN(e):()=>Promise.resolve(null);return{name:YJ,async sendRequest(a,c){if(!a.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:a,getAccessToken:o,logger:n});let l,u,A;if([l,u]=await kE(a,c),zJ(l)){let d=$J(l.headers.get("WWW-Authenticate"));if(d){let p;try{p=atob(d)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${d}`),l}A=await VJ({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:n},p),A&&([l,u]=await kE(a,c))}else if(i.authorizeRequestOnChallenge&&(A=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:a,response:l,getAccessToken:o,logger:n}),A&&([l,u]=await kE(a,c)),zJ(l)&&(d=$J(l.headers.get("WWW-Authenticate")),d))){let p;try{p=atob(d)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${d}`),l}A=await VJ({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:n},p),A&&([l,u]=await kE(a,c))}}if(u)throw u;return l}}}function nIe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],o=n[2],a={},c;for(;(c=r.exec(o))!==null;)a[c[1]]=c[2];s.push({scheme:i,params:a})}return s}function $J(t){return t?nIe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}function ps(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}var _N="DisableKeepAlivePolicy";function JJ(){return{name:_N,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}function WJ(t){return t.getOrderedPolicies().some(e=>e.name===_N)}function LN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}function MN(t){return Buffer.from(t,"base64")}function oIe(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 aIe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function jJ(t){return aIe.test(t)}var cIe=/^[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 KJ(t){return cIe.test(t)}function lIe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}function ON(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let s=e&&e.bodyMapper,n=!!s?.nullable,i=s?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let o=i==="Composite"&&s.type.modelProperties||{},a=Object.keys(o).some(c=>o[c].serializedName==="");if(i==="Sequence"||a){let c=t.parsedBody??[];for(let l of Object.keys(o))o[l].serializedName&&(c[l]=t.parsedBody?.[l]);if(r)for(let l of Object.keys(r))c[l]=r[l];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(o).length===0?null:c}return lIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:oIe(t.parsedBody,i)})}var FN=class{modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=(i,o)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${o}.`)};if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:o,InclusiveMaximum:a,InclusiveMinimum:c,MaxItems:l,MaxLength:u,MinItems:A,MinLength:d,MultipleOf:p,Pattern:m,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),o!==void 0&&r<=o&&n("ExclusiveMinimum",o),a!==void 0&&r>a&&n("InclusiveMaximum",a),c!==void 0&&r<c&&n("InclusiveMinimum",c),l!==void 0&&r.length>l&&n("MaxItems",l),u!==void 0&&r.length>u&&n("MaxLength",u),A!==void 0&&r.length<A&&n("MinItems",A),d!==void 0&&r.length<d&&n("MinLength",d),p!==void 0&&r%p!==0&&n("MultipleOf",p),m){let y=typeof m=="string"?new RegExp(m):m;(typeof r!="string"||r.match(y)===null)&&n("Pattern",m)}f&&r.some((y,g,E)=>E.indexOf(y)!==g)&&n("UniqueItems",f)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},o={},a=e.type.name;s||(s=e.serializedName),a.match(/^Sequence$/i)!==null&&(o=[]),e.isConstant&&(r=e.defaultValue);let{required:c,nullable:l}=e;if(c&&l&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(c&&!l&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!c&&l===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||a.match(/^any$/i)!==null?o=r:a.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?o=hIe(a,s,r):a.match(/^Enum$/i)!==null?o=fIe(s,e.type.allowedValues,r):a.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?o=yIe(a,r,s):a.match(/^ByteArray$/i)!==null?o=gIe(s,r):a.match(/^Base64Url$/i)!==null?o=EIe(s,r):a.match(/^Sequence$/i)!==null?o=CIe(this,e,r,s,!!this.isXML,i):a.match(/^Dictionary$/i)!==null?o=IIe(this,e,r,s,!!this.isXML,i):a.match(/^Composite$/i)!==null&&(o=wIe(this,e,r,s,!!this.isXML,i)),o}deserialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let o,a=e.type.name;if(s||(s=e.serializedName),a.match(/^Composite$/i)!==null)o=QIe(this,e,r,s,i);else{if(this.isXML){let c=i.xml.xmlCharKey;r["$"]!==void 0&&r[c]!==void 0&&(r=r[c])}a.match(/^Number$/i)!==null?(o=parseFloat(r),isNaN(o)&&(o=r)):a.match(/^Boolean$/i)!==null?r==="true"?o=!0:r==="false"?o=!1:o=r:a.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?o=r:a.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?o=new Date(r):a.match(/^UnixTime$/i)!==null?o=mIe(r):a.match(/^ByteArray$/i)!==null?o=MN(r):a.match(/^Base64Url$/i)!==null?o=dIe(r):a.match(/^Sequence$/i)!==null?o=NIe(this,e,r,s,i):a.match(/^Dictionary$/i)!==null&&(o=xIe(this,e,r,s,i))}return e.isConstant&&(o=e.defaultValue),o}};function ms(t={},e=!1){return new FN(t,e)}function uIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}function AIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=LN(t);return uIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}function dIe(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,"/"),MN(t)}}function UN(t){let e=[],r="";if(t){let s=t.split(".");for(let n of s)n.charAt(n.length-1)==="\\"?r+=n.substr(0,n.length-1)+".":(r+=n,e.push(r),r="")}return e}function pIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}function mIe(t){if(t)return new Date(t*1e3)}function hIe(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"&&KJ(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 s=typeof r;if(s!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&s!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}function fIe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(n=>typeof n.valueOf()=="string"?n.toLowerCase()===r.toLowerCase():n===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}function gIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=LN(e)}return e}function EIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=AIe(e)}return e}function yIe(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=pIe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!jJ(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}function CIe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} must be of type Array.`);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 ${s}.`);o.type.name==="Composite"&&o.type.className&&(o=t.modelMappers[o.type.className]??o);let a=[];for(let c=0;c<r.length;c++){let l=t.serialize(o,r[c],s,i);if(n&&o.xmlNamespace){let u=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";o.type.name==="Composite"?(a[c]={...l},a[c]["$"]={[u]:o.xmlNamespace}):(a[c]={},a[c][i.xml.xmlCharKey]=l,a[c]["$"]={[u]:o.xmlNamespace})}else a[c]=l}return a}function IIe(t,e,r,s,n,i){if(typeof r!="object")throw new Error(`${s} 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 ${s}.`);let a={};for(let c of Object.keys(r)){let l=t.serialize(o,r[c],s,i);a[c]=t3(o,l,n,i)}if(n&&e.xmlNamespace){let c=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",l=a;return l["$"]={[c]:e.xmlNamespace},l}return a}function BIe(t,e,r){let s=e.type.additionalProperties;return!s&&e.type.className?ZJ(t,e,r)?.type.additionalProperties:s}function ZJ(t,e,r){let s=e.type.className;if(!s)throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(e,void 0,2)}".`);return t.modelMappers[s]}function e3(t,e,r){let s=e.type.modelProperties;if(!s){let n=ZJ(t,e,r);if(!n)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(s=n?.type.modelProperties,!s)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${e.type.className}" for object "${r}".`)}return s}function wIe(t,e,r,s,n,i){if(DE(t,e)&&(e=r3(t,e,r,"clientName")),r!=null){let o={},a=e3(t,e,s);for(let l of Object.keys(a)){let u=a[l];if(u.readOnly)continue;let A,d=o;if(t.isXML)u.xmlIsWrapped?A=u.xmlName:A=u.xmlElementName||u.xmlName;else{let p=UN(u.serializedName);A=p.pop();for(let m of p){let f=d[m];f==null&&(r[l]!==void 0&&r[l]!==null||u.defaultValue!==void 0)&&(d[m]={}),d=d[m]}}if(d!=null){if(n&&e.xmlNamespace){let g=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";d["$"]={...d["$"],[g]:e.xmlNamespace}}let p=u.serializedName!==""?s+"."+u.serializedName:s,m=r[l],f=DE(t,e);f&&f.clientName===l&&m==null&&(m=e.serializedName);let y=t.serialize(u,m,p,i);if(y!==void 0&&A!==void 0&&A!==null){let g=t3(u,y,n,i);n&&u.xmlIsAttribute?(d["$"]=d["$"]||{},d["$"][A]=y):n&&u.xmlIsWrapped?d[A]={[u.xmlElementName]:g}:d[A]=g}}}let c=BIe(t,e,s);if(c){let l=Object.keys(a);for(let u in r)l.every(d=>d!==u)&&(o[u]=t.serialize(c,r[u],s+'["'+u+'"]',i))}return o}return r}function t3(t,e,r,s){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let a={...e};return a["$"]=i,a}}let o={};return o[s.xml.xmlCharKey]=e,o["$"]=i,o}function bIe(t,e){return["$",e.xml.xmlCharKey].includes(t)}function QIe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";DE(t,e)&&(e=r3(t,e,r,"serializedName"));let o=e3(t,e,s),a={},c=[];for(let u of Object.keys(o)){let A=o[u],d=UN(o[u].serializedName);c.push(d[0]);let{serializedName:p,xmlName:m,xmlElementName:f}=A,y=s;p!==""&&p!==void 0&&(y=s+"."+p);let g=A.headerCollectionPrefix;if(g){let E={};for(let C of Object.keys(r))C.startsWith(g)&&(E[C.substring(g.length)]=t.deserialize(A.type.value,r[C],y,n)),c.push(C);a[u]=E}else if(t.isXML)if(A.xmlIsAttribute&&r["$"])a[u]=t.deserialize(A,r["$"][m],y,n);else if(A.xmlIsMsText)r[i]!==void 0?a[u]=r[i]:typeof r=="string"&&(a[u]=r);else{let E=f||m||p;if(A.xmlIsWrapped){let I=r[m]?.[f]??[];a[u]=t.deserialize(A,I,y,n),c.push(m)}else{let C=r[E];a[u]=t.deserialize(A,C,y,n),c.push(E)}}else{let E,C=r,I=0;for(let U of d){if(!C)break;I++,C=C[U]}C===null&&I<d.length&&(C=void 0),E=C;let x=e.type.polymorphicDiscriminator;x&&u===x.clientName&&E==null&&(E=e.serializedName);let k;if(Array.isArray(r[u])&&o[u].serializedName===""){E=r[u];let U=t.deserialize(A,E,y,n);for(let[de,we]of Object.entries(a))Object.prototype.hasOwnProperty.call(U,de)||(U[de]=we);a=U}else(E!==void 0||A.defaultValue!==void 0)&&(k=t.deserialize(A,E,y,n),a[u]=k)}}let l=e.type.additionalProperties;if(l){let u=A=>{for(let d in o)if(UN(o[d].serializedName)[0]===A)return!1;return!0};for(let A in r)u(A)&&(a[A]=t.deserialize(l,r[A],s+'["'+A+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let u of Object.keys(r))a[u]===void 0&&!c.includes(u)&&!bIe(u,n)&&(a[u]=r[u]);return a}function xIe(t,e,r,s,n){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${s}`);if(r){let o={};for(let a of Object.keys(r))o[a]=t.deserialize(i,r[a],s,n);return o}return r}function NIe(t,e,r,s,n){let i=e.type.element;if(!i||typeof i!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let o=[];for(let a=0;a<r.length;a++)o[a]=t.deserialize(i,r[a],`${s}[${a}]`,n);return o}return r}function SIe(t,e,r){let s=[r];for(;s.length;){let n=s.shift(),i=e===n?e:n+"."+e;if(Object.prototype.hasOwnProperty.call(t,i))return t[i];for(let[o,a]of Object.entries(t))o.startsWith(n+".")&&a.type.uberParent===n&&a.type.className&&s.push(a.type.className)}}function r3(t,e,r,s){let n=DE(t,e);if(n){let i=n[s];if(i){s==="serializedName"&&(i=i.replace(/\\/gi,""));let o=r[i],a=e.type.uberParent??e.type.className;if(typeof o=="string"&&a){let c=SIe(t.modelMappers.discriminators,o,a);c&&(e=c)}}}return e}function DE(t,e){return e.type.polymorphicDiscriminator||XJ(t,e.type.uberParent)||XJ(t,e.type.className)}function XJ(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}var Zn={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 n3=B(s3(),1),qN=n3.state;function ea(t,e,r){let s=e.parameterPath,n=e.mapper,i;if(typeof s=="string"&&(s=[s]),Array.isArray(s)){if(s.length>0)if(n.isConstant)i=n.defaultValue;else{let o=i3(t,s);!o.propertyFound&&r&&(o=i3(r,s));let a=!1;o.propertyFound||(a=n.required||s[0]==="options"&&s.length===2),i=a?n.defaultValue:o.propertyValue}}else{n.required&&(i={});for(let o in s){let a=n.type.modelProperties[o],c=s[o],l=ea(t,{parameterPath:c,mapper:a},r);l!==void 0&&(i||(i={}),i[o]=l)}}return i}function i3(t,e){let r={propertyFound:!1},s=0;for(;s<e.length;++s){let n=e[s];if(t&&n in t)t=t[n];else break}return s===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}var o3=Symbol.for("@azure/core-client original request");function RIe(t){return o3 in t}function ro(t){if(RIe(t))return ro(t[o3]);let e=qN.operationRequestMap.get(t);return e||(e={},qN.operationRequestMap.set(t,e)),e}var TIe=["application/json","text/json"],vIe=["application/xml","application/atom+xml"],a3="deserializationPolicy";function GN(t={}){let e=t.expectedContentTypes?.json??TIe,r=t.expectedContentTypes?.xml??vIe,s=t.parseXML,n=t.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:a3,async sendRequest(o,a){let c=await a(o);return DIe(e,r,c,i,s)}}}function PIe(t){let e,r=t.request,s=ro(r),n=s?.operationSpec;return n&&(s?.operationResponseGetter?e=s?.operationResponseGetter(n,t):e=n.responses[t.status]),e}function kIe(t){let e=t.request,s=ro(e)?.shouldDeserialize,n;return s===void 0?n=!0:typeof s=="boolean"?n=s:n=s(t),n}async function DIe(t,e,r,s,n){let i=await MIe(t,e,r,s,n);if(!kIe(i))return i;let a=ro(i.request)?.operationSpec;if(!a||!a.responses)return i;let c=PIe(i),{error:l,shouldReturnResponse:u}=LIe(i,a,c,s);if(l)throw l;if(u)return i;if(c){if(c.bodyMapper){let A=i.parsedBody;a.isXML&&c.bodyMapper.type.name===Zn.Sequence&&(A=typeof A=="object"?A[c.bodyMapper.xmlElementName]:[]);try{i.parsedBody=a.serializer.deserialize(c.bodyMapper,A,"operationRes.parsedBody",s)}catch(d){throw new eo(`Error ${d} occurred in deserializing the responseBody - ${i.bodyAsText}`,{statusCode:i.status,request:i.request,response:i})}}else a.httpMethod==="HEAD"&&(i.parsedBody=r.status>=200&&r.status<300);c.headersMapper&&(i.parsedHeaders=a.serializer.deserialize(c.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}function _Ie(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}function LIe(t,e,r,s){let n=200<=t.status&&t.status<300;if(_Ie(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let o=r??e.responses.default,a=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,c=new eo(a,{statusCode:t.status,request:t.request,response:t});if(!o&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw c;let l=o?.bodyMapper,u=o?.headersMapper;try{if(t.parsedBody){let A=t.parsedBody,d;if(l){let m=A;if(e.isXML&&l.type.name===Zn.Sequence){m=[];let f=l.xmlElementName;typeof A=="object"&&f&&(m=A[f])}d=e.serializer.deserialize(l,m,"error.response.parsedBody",s)}let p=A.error||d||A;c.code=p.code,p.message&&(c.message=p.message),l&&(c.response.parsedBody=d)}t.headers&&u&&(c.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(A){c.message=`Error "${A.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:!1}}async function MIe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(c=>c.toLowerCase()):[];try{if(a.length===0||a.some(c=>t.indexOf(c)!==-1))return r.parsedBody=JSON.parse(i),r;if(a.some(c=>e.indexOf(c)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let c=await n(i,s.xml);return r.parsedBody=c,r}}catch(c){let l=`Error "${c}" occurred while parsing the response body - ${r.bodyAsText}.`,u=c.code||eo.PARSE_ERROR;throw new eo(l,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}function c3(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===Zn.Stream&&e.add(Number(r))}return e}function ei(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}var l3="serializationPolicy";function LE(t={}){let e=t.stringifyXML;return{name:l3,async sendRequest(r,s){let n=ro(r),i=n?.operationSpec,o=n?.operationArguments;return i&&o&&(OIe(r,o,i),FIe(r,o,i,e)),s(r)}}}function OIe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=ea(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,ei(n));let o=n.mapper.headerCollectionPrefix;if(o)for(let a of Object.keys(i))t.headers.set(o+a,i[a]);else t.headers.set(n.mapper.serializedName||ei(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}function FIe(t,e,r,s=function(){throw new Error("XML serialization unsupported!")}){let n=e.options?.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},o=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=ea(e,r.requestBody);let a=r.requestBody.mapper,{required:c,serializedName:l,xmlName:u,xmlElementName:A,xmlNamespace:d,xmlNamespacePrefix:p,nullable:m}=a,f=a.type.name;try{if(t.body!==void 0&&t.body!==null||m&&t.body===null||c){let y=ei(r.requestBody);t.body=r.serializer.serialize(a,t.body,y,i);let g=f===Zn.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",C=UIe(d,E,f,t.body,i);f===Zn.Sequence?t.body=s(qIe(C,A||u||l,E,d),{rootName:u||l,xmlCharKey:o}):g||(t.body=s(C,{rootName:u||l,xmlCharKey:o}))}else{if(f===Zn.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;g||(t.body=JSON.stringify(t.body))}}}catch(y){throw new Error(`Error "${y.message}" occurred in serializing the payload - ${JSON.stringify(l,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let a of r.formDataParameters){let c=ea(e,a);if(c!=null){let l=a.mapper.serializedName||ei(a);t.formData[l]=r.serializer.serialize(a.mapper,c,ei(a),i)}}}}function UIe(t,e,r,s,n){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[n.xml.xmlCharKey]=s,i["$"]={[e]:t},i}return s}function qIe(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}function hp(t={}){let e=kN(t??{});return t.credentialOptions&&e.addPolicy(mu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(LE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(GN(t.deserializationOptions),{phase:"Deserialize"}),e}var HN;function u3(){return HN||(HN=pp()),HN}var GIe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function d3(t,e,r,s){let n=HIe(e,r,s),i=!1,o=A3(t,n);if(e.path){let l=A3(e.path,n);e.path==="/{nextLink}"&&l.startsWith("/")&&(l=l.substring(1)),zIe(l)?(o=l,i=!0):o=VIe(o,l)}let{queryParams:a,sequenceParams:c}=$Ie(e,r,s);return o=JIe(o,a,c,i),o}function A3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}function HIe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=ea(e,n,r),o=ei(n);i=t.serializer.serialize(n.mapper,i,o),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||o}}`,i)}return s}function zIe(t){return t.includes("://")}function VIe(t,e){if(!e)return t;let r=new URL(t),s=r.pathname;s.endsWith("/")||(s=`${s}/`),e.startsWith("/")&&(e=e.substring(1));let n=e.indexOf("?");if(n!==-1){let i=e.substring(0,n),o=e.substring(n+1);s=s+i,o&&(r.search=r.search?`${r.search}&${o}`:o)}else s=s+e;return r.pathname=s,r.toString()}function $Ie(t,e,r){let s=new Map,n=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&n.add(i.mapper.serializedName);let o=ea(e,i,r);if(o!=null||i.mapper.required){o=t.serializer.serialize(i.mapper,o,ei(i));let a=i.collectionFormat?GIe[i.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(c=>c??"")),i.collectionFormat==="Multi"&&o.length===0)continue;Array.isArray(o)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(o=o.join(a)),i.skipEncoding||(Array.isArray(o)?o=o.map(c=>encodeURIComponent(c)):o=encodeURIComponent(o)),Array.isArray(o)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(o=o.join(a)),s.set(i.mapper.serializedName||ei(i),o)}}return{queryParams:s,sequenceParams:n}}function YIe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let s of r){let[n,i]=s.split("=",2),o=e.get(n);o?Array.isArray(o)?o.push(i):e.set(n,[o,i]):e.set(n,i)}return e}function JIe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=YIe(n.search);for(let[a,c]of e){let l=i.get(a);if(Array.isArray(l))if(Array.isArray(c)){l.push(...c);let u=new Set(l);i.set(a,Array.from(u))}else l.push(c);else l?(Array.isArray(c)?c.unshift(l):r.has(a)&&i.set(a,[l,c]),s||i.set(a,c)):i.set(a,c)}let o=[];for(let[a,c]of i)if(typeof c=="string")o.push(`${a}=${c}`);else if(Array.isArray(c))for(let l of c)o.push(`${a}=${l}`);else o.push(`${a}=${c}`);return n.search=o.length?`?${o.join("&")}`:"",n.toString()}var zN=Kn("core-client");var fp=class{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&zN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||u3(),this.pipeline=e.pipeline||WIe(e),e.additionalPolicies?.length)for(let{policy:r,position:s}of e.additionalPolicies){let n=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:n})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let s=r.baseUrl||this._endpoint;if(!s)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 n=d3(s,r,e,this),i=mp({url:n});i.method=r.httpMethod;let o=ro(i);o.operationSpec=r,o.operationArguments=e;let a=r.contentType||this._requestContentType;a&&r.requestBody&&i.headers.set("Content-Type",a);let c=e.options;if(c){let l=c.requestOptions;l&&(l.timeout&&(i.timeout=l.timeout),l.onUploadProgress&&(i.onUploadProgress=l.onUploadProgress),l.onDownloadProgress&&(i.onDownloadProgress=l.onDownloadProgress),l.shouldDeserialize!==void 0&&(o.shouldDeserialize=l.shouldDeserialize),l.allowInsecureConnection&&(i.allowInsecureConnection=!0)),c.abortSignal&&(i.abortSignal=c.abortSignal),c.tracingOptions&&(i.tracingOptions=c.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=c3(r));try{let l=await this.sendRequest(i),u=ON(l,r.responses[l.status]);return c?.onResponse&&c.onResponse(l,u),u}catch(l){if(typeof l=="object"&&l?.response){let u=l.response,A=ON(u,r.responses[l.statusCode]||r.responses.default);l.details=A,c?.onResponse&&c.onResponse(u,A,l)}throw l}}};function WIe(t){let e=jIe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return hp({...t,credentialOptions:r})}function jIe(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 p3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function KIe(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 ME=async t=>{let e=rBe(t.request),r=eBe(t.response);if(r){let s=tBe(r),n=ZIe(t,s),i=XIe(s);if(!i)return!1;let o=await t.getAccessToken(n,{...e,tenantId:i});return o?(t.request.headers.set(p3.HeaderConstants.AUTHORIZATION,`${o.tokenType??"Bearer"} ${o.token}`),!0):!1}return!1};function XIe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&KIe(s))return s}function ZIe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=p3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}function eBe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}function tBe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,o])=>({[i]:o}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}function rBe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}var m3=Symbol("Original PipelineRequest"),sBe=Symbol.for("@azure/core-client original request");function Ep(t,e={}){let s=t[m3],n=to(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=mp({url:t.url,method:t.method,headers:n,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(i[sBe]=e.originalRequest),i}}function lc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:yp(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(s,{get(n,i,o){return i===m3?t:i==="clone"?()=>lc(Ep(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,o)},set(n,i,o,a){return i==="keepAlive"&&(t.disableKeepAlive=!o),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=o),Reflect.set(n,i,o,a)}}):s}function yp(t){return new VN(t.toJSON({preserveCase:!0}))}function gp(t){return t.toLowerCase()}var VN=class t{_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[gp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[gp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[gp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[gp(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 s=0;s<r.length;++s)e.push(r[s].name);return e}headerValues(){let e=[],r=this.headersArray();for(let s=0;s<r.length;++s)e.push(r[s].value);return e}toJson(e={}){let r={};if(e.preserveCase)for(let s in this._headersMap){let n=this._headersMap[s];r[n.name]=n.value}else for(let s in this._headersMap){let n=this._headersMap[s];r[gp(n.name)]=n.value}return r}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let r in this._headersMap){let s=this._headersMap[r];e[s.name]=s.value}return new t(e)}};var h3=Symbol("Original FullOperationResponse");function OE(t,e){let r=lc(t.request),s=yp(t.headers);return e?.createProxy?new Proxy(t,{get(n,i,o){return i==="headers"?s:i==="request"?r:i===h3?t:Reflect.get(n,i,o)},set(n,i,o,a){return i==="headers"?s=o:i==="request"&&(r=o),Reflect.set(n,i,o,a)}}):{...t,request:r,headers:s}}function FE(t){let r=t[h3],s=to(t.headers.toJson({preserveCase:!0}));return r?(r.headers=s,r):{...t,headers:s,request:Ep(t.request)}}var Cp=class extends fp{constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!WJ(this.pipeline)&&this.pipeline.addPolicy(JJ()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:fN})}async sendOperationRequest(e,r){let s=e?.options?.onResponse,n;function i(a,c,l){n=a,s&&s(a,c,l)}e.options={...e.options,onResponse:i};let o=await super.sendOperationRequest(e,r);return n&&Object.defineProperty(o,"_response",{value:OE(n)}),o}};var $N;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})($N||($N={}));var nBe={log(t,e){},shouldLog(t){return!1}},f3="RequestPolicyFactoryPolicy";function YN(t){let e=t.slice().reverse();return{name:f3,async sendRequest(r,s){let n={async sendRequest(a){let c=await s(Ep(a));return OE(c,{createProxy:!0})}};for(let a of e)n=a.create(n,nBe);let i=lc(r,{createProxy:!0}),o=await n.sendRequest(i);return FE(o)}}}function JN(t){return{sendRequest:async e=>{let r=await t.sendRequest(lc(e,{createProxy:!0}));return FE(r)}}}var g3=":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",oBe=g3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",aBe="["+g3+"]["+oBe+"]*",cBe=new RegExp("^"+aBe+"$");function UE(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let o=0;o<i;o++)n.push(s[o]);r.push(n),s=e.exec(t)}return r}var fu=function(t){let e=cBe.exec(t);return!(e===null||typeof e>"u")};function E3(t){return typeof t<"u"}var Ip=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],qE=["__proto__","constructor","prototype"];var lBe={allowBooleanAttributes:!1,unpairedTags:[]};function GE(t,e){e=Object.assign({},lBe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i<t.length;i++)if(t[i]==="<"&&t[i+1]==="?"){if(i+=2,i=C3(t,i),i.err)return i}else if(t[i]==="<"){let o=i;if(i++,t[i]==="!"){i=I3(t,i);continue}else{let a=!1;t[i]==="/"&&(a=!0,i++);let c="";for(;i<t.length&&t[i]!==">"&&t[i]!==" "&&t[i]!==" "&&t[i]!==`
`&&t[i]!=="\r";i++)c+=t[i];if(c=c.trim(),c[c.length-1]==="/"&&(c=c.substring(0,c.length-1),i--),!gBe(c)){let A;return c.trim().length===0?A="Invalid space after '<'.":A="Tag '"+c+"' is an invalid name.",gt("InvalidTag",A,Cr(t,i))}let l=dBe(t,i);if(l===!1)return gt("InvalidAttr","Attributes for '"+c+"' have open quote.",Cr(t,i));let u=l.value;if(i=l.index,u[u.length-1]==="/"){let A=i-u.length;u=u.substring(0,u.length-1);let d=B3(u,e);if(d===!0)s=!0;else return gt(d.err.code,d.err.msg,Cr(t,A+d.err.line))}else if(a)if(l.tagClosed){if(u.trim().length>0)return gt("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",Cr(t,o));if(r.length===0)return gt("InvalidTag","Closing tag '"+c+"' has not been opened.",Cr(t,o));{let A=r.pop();if(c!==A.tagName){let d=Cr(t,A.tagStartPos);return gt("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+c+"'.",Cr(t,o))}r.length==0&&(n=!0)}}else return gt("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",Cr(t,i));else{let A=B3(u,e);if(A!==!0)return gt(A.err.code,A.err.msg,Cr(t,i-u.length+A.err.line));if(n===!0)return gt("InvalidXml","Multiple possible root nodes found.",Cr(t,i));e.unpairedTags.indexOf(c)!==-1||r.push({tagName:c,tagStartPos:o}),s=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=I3(t,i);continue}else if(t[i+1]==="?"){if(i=C3(t,++i),i.err)return i}else break;else if(t[i]==="&"){let A=hBe(t,i);if(A==-1)return gt("InvalidChar","char '&' is not expected.",Cr(t,i));i=A}else if(n===!0&&!y3(t[i]))return gt("InvalidXml","Extra text at the end",Cr(t,i));t[i]==="<"&&i--}}else{if(y3(t[i]))continue;return gt("InvalidChar","char '"+t[i]+"' is not expected.",Cr(t,i))}if(s){if(r.length==1)return gt("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Cr(t,r[0].tagStartPos));if(r.length>0)return gt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return gt("InvalidXml","Start tag expected.",1);return!0}function y3(t){return t===" "||t===" "||t===`
`||t==="\r"}function C3(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return gt("InvalidXml","XML declaration allowed only at the start of the document.",Cr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function I3(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}var uBe='"',ABe="'";function dBe(t,e){let r="",s="",n=!1;for(;e<t.length;e++){if(t[e]===uBe||t[e]===ABe)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}var pBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function B3(t,e){let r=UE(t,pBe),s={};for(let n=0;n<r.length;n++){if(r[n][1].length===0)return gt("InvalidAttr","Attribute '"+r[n][2]+"' has no space in starting.",Bp(r[n]));if(r[n][3]!==void 0&&r[n][4]===void 0)return gt("InvalidAttr","Attribute '"+r[n][2]+"' is without value.",Bp(r[n]));if(r[n][3]===void 0&&!e.allowBooleanAttributes)return gt("InvalidAttr","boolean attribute '"+r[n][2]+"' is not allowed.",Bp(r[n]));let i=r[n][2];if(!fBe(i))return gt("InvalidAttr","Attribute '"+i+"' is an invalid name.",Bp(r[n]));if(!Object.prototype.hasOwnProperty.call(s,i))s[i]=1;else return gt("InvalidAttr","Attribute '"+i+"' is repeated.",Bp(r[n]))}return!0}function mBe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}function hBe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,mBe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}function gt(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function fBe(t){return fu(t)}function gBe(t){return fu(t)}function Cr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function Bp(t){return t.startIndex+t[1].length}var w3={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},b3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},Q3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},x3={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},N3={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},S3={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},R3={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},T3={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},v3={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},P3={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},HE={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},k3={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},D3={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},EBe={...w3,...b3,...Q3,...x3,...N3,...S3,...R3,...T3,...v3,...P3,...HE,...k3,...D3},wp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},WN={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"};var yBe=new Set("!?\\\\/[]$%{}^&*()<>|+");function _3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(yBe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}function jN(...t){let e=Object.create(null);for(let r of t)if(r)for(let s of Object.keys(r)){let n=r[s];if(typeof n=="string")e[s]=n;else if(n&&typeof n=="object"&&n.val!==void 0){let i=n.val;typeof i=="string"&&(e[s]=i)}}return e}var uc="external",zE="base",KN="all";function CBe(t){return!t||t===uc?new Set([uc]):t===KN?new Set([KN]):t===zE?new Set([zE]):Array.isArray(t)?new Set(t):new Set([uc])}var Mr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),IBe=new Set([9,10,13]);function BBe(t){if(!t)return{xmlVersion:1,onLevel:Mr.allow,nullLevel:Mr.remove};let e=t.xmlVersion===1.1?1.1:1,r=Mr[t.onNCR]??Mr.allow,s=Mr[t.nullNCR]??Mr.remove,n=Math.max(s,Mr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}var gu=class{constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:s=>s,this._limitTiers=CBe(this._limit.applyLimitsTo??uc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=jN(wp,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=BBe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))_3(r);this._externalMap=jN(e)}addExternalEntity(e,r){_3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=jN(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,s=[],n=e.length,i=0,o=0,a=this._maxTotalExpansions>0,c=this._maxExpandedLength>0,l=a||c;for(;o<n;){if(e.charCodeAt(o)!==38){o++;continue}let A=o+1;for(;A<n&&e.charCodeAt(A)!==59&&A-o<=32;)A++;if(A>=n||e.charCodeAt(A)!==59){o++;continue}let d=e.slice(o+1,A);if(d.length===0){o++;continue}let p,m;if(this._removeSet.has(d))p="",m===void 0&&(m=uc);else if(this._leaveSet.has(d)){o++;continue}else if(d.charCodeAt(0)===35){let f=this._resolveNCR(d);if(f===void 0){o++;continue}p=f,m=zE}else{let f=this._resolveName(d);p=f?.value,m=f?.tier}if(p===void 0){o++;continue}if(o>i&&s.push(e.slice(i,o)),s.push(p),i=A+1,o=i,l&&this._tierCounts(m)){if(a&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(c){let f=p.length-(d.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<n&&s.push(e.slice(i));let u=s.length===0?e:s.join("");return this._postCheck(u,r)}_tierCounts(e){return this._limitTiers.has(KN)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:uc};if(e in this._externalMap)return{value:this._externalMap[e],tier:uc};if(e in this._baseMap)return{value:this._baseMap[e],tier:zE}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!IBe.has(e)?Mr.remove:-1}_applyNCRAction(e,r,s){switch(e){case Mr.allow:return String.fromCodePoint(s);case Mr.remove:return"";case Mr.leave:return;case Mr.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(e){let r=e.charCodeAt(1),s;if(r===120||r===88?s=parseInt(e.slice(2),16):s=parseInt(e.slice(1),10),Number.isNaN(s)||s<0||s>1114111)return;let n=this._classifyNCR(s);if(!this._numericAllowed&&n<Mr.remove)return;let i=n===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,n);return this._applyNCRAction(i,e,s)}};var L3=t=>Ip.includes(t)?"__"+t:t,wBe={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(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:L3};function bBe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Ip.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(qE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function M3(t,e){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:M3(!0)}var O3=function(t){let e=Object.assign({},wBe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&bBe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=L3),e.processEntities=M3(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e};var VE;typeof Symbol!="function"?VE="@@xmlMetadata":VE=Symbol("XML Node Metadata");var Or=class{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][VE]={startIndex:r})}static getMetaDataSymbol(){return VE}};var Qp=class{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){let s=Object.create(null),n=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,o=!1,a=!1,c="";for(;r<e.length;r++)if(e[r]==="<"&&!a){if(o&&Ac(e,"!ENTITY",r)){r+=7;let l,u;if([l,u,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),u.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&n>=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[l]=u,n++}}else if(o&&Ac(e,"!ELEMENT",r)){r+=8;let{index:l}=this.readElementExp(e,r+1);r=l}else if(o&&Ac(e,"!ATTLIST",r))r+=8;else if(o&&Ac(e,"!NOTATION",r)){r+=9;let{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else if(Ac(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");i++,c=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,i--):i--,i===0)break}else e[r]==="["?o=!0:c+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:r}}readEntityExp(e,r){r=Fr(e,r);let s=r;for(;r<e.length&&!/\s/.test(e[r])&&e[r]!=='"'&&e[r]!=="'";)r++;let n=e.substring(s,r);if(bp(n),r=Fr(e,r),!this.suppressValidationErr){if(e.substring(r,r+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(e[r]==="%")throw new Error("Parameter entities are not supported")}let i="";if([r,i]=this.readIdentifierVal(e,r,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&i.length>this.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=Fr(e,r);let s=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let n=e.substring(s,r);!this.suppressValidationErr&&bp(n),r=Fr(e,r);let i=e.substring(r,r+6).toUpperCase();if(!this.suppressValidationErr&&i!=="SYSTEM"&&i!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${i}"`);r+=i.length,r=Fr(e,r);let o=null,a=null;if(i==="PUBLIC")[r,o]=this.readIdentifierVal(e,r,"publicIdentifier"),r=Fr(e,r),(e[r]==='"'||e[r]==="'")&&([r,a]=this.readIdentifierVal(e,r,"systemIdentifier"));else if(i==="SYSTEM"&&([r,a]=this.readIdentifierVal(e,r,"systemIdentifier"),!this.suppressValidationErr&&!a))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:o,systemIdentifier:a,index:--r}}readIdentifierVal(e,r,s){let n="",i=e[r];if(i!=='"'&&i!=="'")throw new Error(`Expected quoted string, found "${i}"`);r++;let o=r;for(;r<e.length&&e[r]!==i;)r++;if(n=e.substring(o,r),e[r]!==i)throw new Error(`Unterminated ${s} value`);return r++,[r,n]}readElementExp(e,r){r=Fr(e,r);let s=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let n=e.substring(s,r);if(!this.suppressValidationErr&&!fu(n))throw new Error(`Invalid element name: "${n}"`);r=Fr(e,r);let i="";if(e[r]==="E"&&Ac(e,"MPTY",r))r+=4;else if(e[r]==="A"&&Ac(e,"NY",r))r+=2;else if(e[r]==="("){r++;let o=r;for(;r<e.length&&e[r]!==")";)r++;if(i=e.substring(o,r),e[r]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${e[r]}"`);return{elementName:n,contentModel:i.trim(),index:r}}readAttlistExp(e,r){r=Fr(e,r);let s=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let n=e.substring(s,r);for(bp(n),r=Fr(e,r),s=r;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(s,r);if(!bp(i))throw new Error(`Invalid attribute name: "${i}"`);r=Fr(e,r);let o="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(o="NOTATION",r+=8,r=Fr(e,r),e[r]!=="(")throw new Error(`Expected '(', found "${e[r]}"`);r++;let c=[];for(;r<e.length&&e[r]!==")";){let l=r;for(;r<e.length&&e[r]!=="|"&&e[r]!==")";)r++;let u=e.substring(l,r);if(u=u.trim(),!bp(u))throw new Error(`Invalid notation name: "${u}"`);c.push(u),e[r]==="|"&&(r++,r=Fr(e,r))}if(e[r]!==")")throw new Error("Unterminated list of notations");r++,o+=" ("+c.join("|")+")"}else{let c=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;o+=e.substring(c,r);let l=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!l.includes(o.toUpperCase()))throw new Error(`Invalid attribute type: "${o}"`)}r=Fr(e,r);let a="";return e.substring(r,r+8).toUpperCase()==="#REQUIRED"?(a="#REQUIRED",r+=8):e.substring(r,r+7).toUpperCase()==="#IMPLIED"?(a="#IMPLIED",r+=7):[r,a]=this.readIdentifierVal(e,r,"ATTLIST"),{elementName:n,attributeName:i,attributeType:o,defaultValue:a,index:r}}},Fr=(t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e};function Ac(t,e,r){for(let s=0;s<e.length;s++)if(e[s]!==t[r+s+1])return!1;return!0}function bp(t){if(fu(t))return t;throw new Error(`Invalid entity name ${t}`)}var QBe=/^[-+]?0x[a-fA-F0-9]+$/,xBe=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,NBe={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"};function XN(t,e={}){if(e=Object.assign({},NBe,e),!t||typeof t!="string")return t;let r=t.trim();if(r.length===0)return t;if(e.skipLike!==void 0&&e.skipLike.test(r))return t;if(r==="0")return 0;if(e.hex&&QBe.test(r))return vBe(r,16);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return RBe(t,r,e);{let s=xBe.exec(r);if(s){let n=s[1]||"",i=s[2],o=TBe(s[3]),a=n?t[i.length+1]===".":t[i.length]===".";if(!e.leadingZeros&&(i.length>1||i.length===1&&!a))return t;{let c=Number(r),l=String(c);if(c===0)return c;if(l.search(/[eE]/)!==-1)return e.eNotation?c:t;if(r.indexOf(".")!==-1)return l==="0"||l===o||l===`${n}${o}`?c:t;let u=i?o:r;return i?u===l||n+u===l?c:t:u===l||u===n+l?c:t}}else return t}}else return PBe(t,Number(r),e)}var SBe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function RBe(t,e,r){if(!r.eNotation)return t;let s=e.match(SBe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",o=s[2],a=n?t[o.length+1]===i:t[o.length]===i;return o.length>1&&a?t:o.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):o.length>0?r.leadingZeros&&!a?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}function TBe(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}function vBe(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function PBe(t,e,r){let s=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}function ZN(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}var hs=class{constructor(e,r={},s){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=s,this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){let r=[],s=0,n="";for(;s<e.length;)e[s]===this.separator?s+1<e.length&&e[s+1]===this.separator?(n.trim()&&(r.push(this._parseSegment(n.trim())),n=""),r.push({type:"deep-wildcard"}),s+=2):(n.trim()&&r.push(this._parseSegment(n.trim())),n="",s++):(n+=e[s],s++);return n.trim()&&r.push(this._parseSegment(n.trim())),r}_parseSegment(e){let r={type:"tag"},s=null,n=e,i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(n=i[1]+i[3],i[2])){let u=i[2].slice(1,-1);u&&(s=u)}let o,a=n;if(n.includes("::")){let u=n.indexOf("::");if(o=n.substring(0,u).trim(),a=n.substring(u+2).trim(),!o)throw new Error(`Invalid namespace in pattern: ${e}`)}let c,l=null;if(a.includes(":")){let u=a.lastIndexOf(":"),A=a.substring(0,u).trim(),d=a.substring(u+1).trim();["first","last","odd","even"].includes(d)||/^nth\(\d+\)$/.test(d)?(c=A,l=d):c=a}else c=a;if(!c)throw new Error(`Invalid segment pattern: ${e}`);if(r.tag=c,o&&(r.namespace=o),s)if(s.includes("=")){let u=s.indexOf("=");r.attrName=s.substring(0,u).trim(),r.attrValue=s.substring(u+1).trim()}else r.attrName=s.trim();if(l){let u=l.match(/^nth\((\d+)\)$/);u?(r.position="nth",r.positionValue=parseInt(u[1],10)):r.position=l}return r}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}};var Eu=class{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard())return this._deepWildcards.push(e),this;let r=e.length,n=e.segments[e.segments.length-1]?.tag;if(!n||n==="*")this._wildcardByDepth.has(r)||this._wildcardByDepth.set(r,[]),this._wildcardByDepth.get(r).push(e);else{let i=`${r}:${n}`;this._byDepthAndTag.has(i)||this._byDepthAndTag.set(i,[]),this._byDepthAndTag.get(i).push(e)}return this}addAll(e){for(let r of e)this.add(r);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let r=e.getDepth(),s=e.getCurrentTag(),n=`${r}:${s}`,i=this._byDepthAndTag.get(n);if(i){for(let a=0;a<i.length;a++)if(e.matches(i[a]))return i[a]}let o=this._wildcardByDepth.get(r);if(o){for(let a=0;a<o.length;a++)if(e.matches(o[a]))return o[a]}for(let a=0;a<this._deepWildcards.length;a++)if(e.matches(this._deepWildcards[a]))return this._deepWildcards[a];return null}};var eS=class{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let s=r[r.length-1];return s.values!==void 0&&e in s.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,r=!0){return this._matcher.toString(e,r)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},ti=class{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new eS(this)}push(e,r=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);let i=this.siblingStacks[n],o=s?`${s}:${e}`:e,a=i.get(o)||0,c=0;for(let u of i.values())c+=u;i.set(o,a+1);let l={tag:e,position:c,counter:a};s!=null&&(l.namespace=s),r!=null&&(l.values=r),this.path.push(l)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let s=e||this.separator;if(s===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(o=>o.namespace?`${o.namespace}:${o.tag}`:o.tag).join(s);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r<e.length;r++)if(!this._matchSegment(e[r],this.path[r],r===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let r=this.path.length-1,s=e.length-1;for(;s>=0&&r>=0;){let n=e[s];if(n.type==="deep-wildcard"){if(s--,s<0)return!0;let i=e[s],o=!1;for(let a=r;a>=0;a--)if(this._matchSegment(i,this.path[a],a===this.path.length-1)){r=a-1,s--,o=!0;break}if(!o)return!1}else{if(!this._matchSegment(n,this.path[r],r===this.path.length-1))return!1;r--,s--}}return s<0}_matchSegment(e,r,s){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!s||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!s)return!1;let n=r.counter??0;if(e.position==="first"&&n!==0)return!1;if(e.position==="odd"&&n%2!==1)return!1;if(e.position==="even"&&n%2!==0)return!1;if(e.position==="nth"&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function kBe(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let s={};for(let n in r)if(n.startsWith(e.attributeNamePrefix)){let i=n.substring(e.attributeNamePrefix.length);s[i]=r[n]}else s[n]=r[n];return s}function DBe(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}var xp=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=FBe,this.parseTextData=_Be,this.resolveNameSpace=LBe,this.buildAttributesMap=OBe,this.isItStopNode=HBe,this.replaceEntitiesValue=qBe,this.readStopNodeData=$Be,this.saveTextToParentTag=GBe,this.addChild=UBe,this.ignoreAttributesFn=ZN(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...wp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...WN,...HE}),this.entityDecoder=new gu({namedEntities:r,numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new ti,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Eu;let s=this.options.stopNodes;if(s&&s.length>0){for(let n=0;n<s.length;n++){let i=s[n];typeof i=="string"?this.stopNodeExpressionsSet.add(new hs(i)):i instanceof hs&&this.stopNodeExpressionsSet.add(i)}this.stopNodeExpressionsSet.seal()}}};function _Be(t,e,r,s,n,i,o){let a=this.options;if(t!==void 0&&(a.trimValues&&!s&&(t=t.trim()),t.length>0)){o||(t=this.replaceEntitiesValue(t,e,r));let c=a.jPath?r.toString():r,l=a.tagValueProcessor(e,t,c,n,i);return l==null?t:typeof l!=typeof t||l!==t?l:a.trimValues||t.trim()===t?sS(t,a.parseTagValue,a.numberParseOptions):t}}function LBe(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}var MBe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function OBe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=UE(t,MBe),o=i.length,a={},c=new Array(o),l=!1,u={};for(let p=0;p<o;p++){let m=this.resolveNameSpace(i[p][1]),f=i[p][4];if(m.length&&f!==void 0){let y=f;n.trimValues&&(y=y.trim()),y=this.replaceEntitiesValue(y,r,this.readonlyMatcher),c[p]=y,u[m]=y,l=!0}}l&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(u);let A=n.jPath?e.toString():this.readonlyMatcher,d=!1;for(let p=0;p<o;p++){let m=this.resolveNameSpace(i[p][1]);if(this.ignoreAttributesFn(m,A))continue;let f=n.attributeNamePrefix+m;if(m.length)if(n.transformAttributeName&&(f=n.transformAttributeName(f)),f=F3(f,n),i[p][4]!==void 0){let y=c[p],g=n.attributeValueProcessor(m,y,A);g==null?a[f]=y:typeof g!=typeof y||g!==y?a[f]=g:a[f]=sS(y,n.parseAttributeValue,n.numberParseOptions),d=!0}else n.allowBooleanAttributes&&(a[f]=!0,d=!0)}if(!d)return;if(n.attributesGroupName){let p={};return p[n.attributesGroupName]=a,p}return a}}var FBe=function(t){t=t.replace(/\r\n?/g,`
`);let e=new Or("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let n=this.options,i=new Qp(n.processEntities),o=t.length;for(let a=0;a<o;a++)if(t[a]==="<"){let l=t.charCodeAt(a+1);if(l===47){let u=yu(t,">",a,"Closing Tag is not closed."),A=t.substring(a+2,u).trim();if(n.removeNSPrefix){let p=A.indexOf(":");p!==-1&&(A=A.substr(p+1))}A=tS(n.transformTagName,A,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(A&&n.unpairedTagsSet.has(A))throw new Error(`Unpaired tag can not be used as closing tag: </${A}>`);d&&n.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",a=u}else if(l===63){let u=rS(t,a,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let A=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(A){let d=A[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1)}if(!(n.ignoreDeclaration&&u.tagName==="?xml"||n.ignorePiTags)){let d=new Or(u.tagName);d.add(n.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&n.ignoreAttributes!==!0&&(d[":@"]=A),this.addChild(r,d,this.readonlyMatcher,a)}a=u.closeIndex+1}else if(l===33&&t.charCodeAt(a+2)===45&&t.charCodeAt(a+3)===45){let u=yu(t,"-->",a+4,"Comment is not closed.");if(n.commentPropName){let A=t.substring(a+4,u-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:A}])}a=u}else if(l===33&&t.charCodeAt(a+2)===68){let u=i.readDocType(t,a);this.entityDecoder.addInputEntities(u.entities),a=u.i}else if(l===33&&t.charCodeAt(a+2)===91){let u=yu(t,"]]>",a,"CDATA is not closed.")-2,A=t.substring(a+9,u);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.parseTextData(A,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:A}]):r.add(n.textNodeName,d),a=u+2}else{let u=rS(t,a,n.removeNSPrefix);if(!u){let k=t.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${k}"`)}let A=u.tagName,d=u.rawTagName,p=u.tagExp,m=u.attrExpPresent,f=u.closeIndex;if({tagName:A,tagExp:p}=tS(n.transformTagName,A,p,n),n.strictReservedNames&&(A===n.commentPropName||A===n.cdataPropName||A===n.textNodeName||A===n.attributesGroupName))throw new Error(`Invalid tag name: ${A}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let y=r;y&&n.unpairedTagsSet.has(y.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(g=!0,A[A.length-1]==="/"?(A=A.substr(0,A.length-1),p=A):p=p.substr(0,p.length-1),m=A!==p);let E=null,C={},I;I=DBe(d),A!==e.tagname&&this.matcher.push(A,{},I),A!==p&&m&&(E=this.buildAttributesMap(p,this.matcher,A),E&&(C=kBe(E,n))),A!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let x=a;if(this.isCurrentNodeStopNode){let k="";if(g)a=u.closeIndex;else if(n.unpairedTagsSet.has(A))a=u.closeIndex;else{let de=this.readStopNodeData(t,d,f+1);if(!de)throw new Error(`Unexpected end of ${d}`);a=de.i,k=de.tagContent}let U=new Or(A);E&&(U[":@"]=E),U.add(n.textNodeName,k),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,U,this.readonlyMatcher,x)}else{if(g){({tagName:A,tagExp:p}=tS(n.transformTagName,A,p,n));let k=new Or(A);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,x),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(A)){let k=new Or(A);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,x),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=u.closeIndex;continue}else{let k=new Or(A);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,x),r=k}s="",a=f}}}else s+=t[a];return e.child};function UBe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}function qBe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}function GBe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function HBe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function zBe(t,e,r=">"){let s=0,n=[],i=t.length,o=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1;for(let c=e;c<i;c++){let l=t.charCodeAt(c);if(s)l===s&&(s=0);else if(l===34||l===39)s=l;else if(l===o)if(a!==-1){if(t.charCodeAt(c+1)===a)return{data:String.fromCharCode(...n),index:c}}else return{data:String.fromCharCode(...n),index:c};else if(l===9){n.push(32);continue}n.push(l)}}function yu(t,e,r,s){let n=t.indexOf(e,r);if(n===-1)throw new Error(s);return n+e.length-1}function VBe(t,e,r,s){let n=t.indexOf(e,r);if(n===-1)throw new Error(s);return n}function rS(t,e,r,s=">"){let n=zBe(t,e+1,s);if(!n)return;let i=n.data,o=n.index,a=i.search(/\s/),c=i,l=!0;a!==-1&&(c=i.substring(0,a),i=i.substring(a+1).trimStart());let u=c;if(r){let A=c.indexOf(":");A!==-1&&(c=c.substr(A+1),l=c!==n.data.substr(A+1))}return{tagName:c,tagExp:i,closeIndex:o,attrExpPresent:l,rawTagName:u}}function $Be(t,e,r){let s=r,n=1,i=t.length;for(;r<i;r++)if(t[r]==="<"){let o=t.charCodeAt(r+1);if(o===47){let a=VBe(t,">",r,`${e} is not closed`);if(t.substring(r+2,a).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:a};r=a}else if(o===63)r=yu(t,"?>",r+1,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=yu(t,"-->",r+3,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===91)r=yu(t,"]]>",r,"StopNode is not closed.")-2;else{let a=rS(t,r,">");a&&((a&&a.tagName)===e&&a.tagExp[a.tagExp.length-1]!=="/"&&n++,r=a.closeIndex)}}}function sS(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:XN(t,r)}else return E3(t)?t:""}function tS(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=F3(e,s),{tagName:e,tagExp:r}}function F3(t,e){if(qE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Ip.includes(t)?e.onDangerousProperty(t):t}var nS=Or.getMetaDataSymbol();function YBe(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let s in t)if(s.startsWith(e)){let n=s.substring(e.length);r[n]=t[s]}else r[s]=t[s];return r}function iS(t,e,r,s){return U3(t,e,r,s)}function U3(t,e,r,s){let n,i={};for(let o=0;o<t.length;o++){let a=t[o],c=JBe(a);if(c!==void 0&&c!==e.textNodeName){let l=YBe(a[":@"]||{},e.attributeNamePrefix);r.push(c,l)}if(c===e.textNodeName)n===void 0?n=a[c]:n+=""+a[c];else{if(c===void 0)continue;if(a[c]){let l=U3(a[c],e,r,s),u=jBe(l,e);if(a[":@"]?WBe(l,a[":@"],s,e):Object.keys(l).length===1&&l[e.textNodeName]!==void 0&&!e.alwaysCreateTextNode?l=l[e.textNodeName]:Object.keys(l).length===0&&(e.alwaysCreateTextNode?l[e.textNodeName]="":l=""),a[nS]!==void 0&&typeof l=="object"&&l!==null&&(l[nS]=a[nS]),i[c]!==void 0&&Object.prototype.hasOwnProperty.call(i,c))Array.isArray(i[c])||(i[c]=[i[c]]),i[c].push(l);else{let A=e.jPath?s.toString():s;e.isArray(c,A,u)?i[c]=[l]:i[c]=l}c!==void 0&&c!==e.textNodeName&&r.pop()}}}return typeof n=="string"?n.length>0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function JBe(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(s!==":@")return s}}function WBe(t,e,r,s){if(e){let n=Object.keys(e),i=n.length;for(let o=0;o<i;o++){let a=n[o],c=a.startsWith(s.attributeNamePrefix)?a.substring(s.attributeNamePrefix.length):a,l=s.jPath?r.toString()+"."+c:r;s.isArray(a,l,!0,!0)?t[a]=[e[a]]:t[a]=e[a]}}}function jBe(t,e){let{textNodeName:r}=e,s=Object.keys(t).length;return!!(s===0||s===1&&(t[r]||typeof t[r]=="boolean"||t[r]===0))}var Cu=class{constructor(e){this.externalEntities={},this.options=O3(e)}parse(e,r){if(typeof e!="string"&&e.toString)e=e.toString();else if(typeof e!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(r){r===!0&&(r={});let i=GE(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let s=new xp(this.options);s.entityDecoder.setExternalEntities(this.externalEntities);let n=s.parseXml(e);return this.options.preserveOrder||n===void 0?n:iS(n,this.options,s.matcher,s.readonlyMatcher)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return Or.getMetaDataSymbol()}};function $E(t){return String(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function YE(t){return String(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}function ta(t){return String(t).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}var q3=":A-Za-z_\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",KBe=q3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",G3=":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",XBe=G3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",H3=(t,e,r="")=>{let s=t.replace(":",""),n=e.replace(":",""),i=`[${s}][${n}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},ZBe=H3(q3,KBe),ewe=H3(G3,XBe,"u"),twe=(t="1.0")=>t==="1.1"?ewe:ZBe;var JE=(t,{xmlVersion:e="1.0"}={})=>twe(e).qName.test(t);var rwe=`
`;function swe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(cS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}function V3(t,e,r,s,n){return!r.sanitizeName||JE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}function aS(t,e){let r="";e.format&&(r=rwe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;o<e.stopNodes.length;o++){let a=e.stopNodes[o];typeof a=="string"?s.push(new hs(a)):a instanceof hs&&s.push(a)}let n=swe(t,e),i=new ti;return $3(t,e,r,i,s,n)}function $3(t,e,r,s,n,i){let o="",a=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let c=t.toString();return c=oS(c,e),c}return""}for(let c=0;c<t.length;c++){let l=t[c],u=cS(l);if(u===void 0)continue;let d=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:V3(u,!1,e,s,i),p=nwe(l[":@"],e);s.push(d,p);let m=owe(s,n);if(d===e.textNodeName){let C=l[u];m||(C=e.tagValueProcessor(d,C),C=oS(C,e)),a&&(o+=r),o+=C,a=!1,s.pop();continue}else if(d===e.cdataPropName){a&&(o+=r);let C=l[u][0][e.textNodeName],I=YE(C);o+=`<![CDATA[${I}]]>`,a=!1,s.pop();continue}else if(d===e.commentPropName){let C=l[u][0][e.textNodeName],I=$E(C);o+=r+`<!--${I}-->`,a=!0,s.pop();continue}else if(d[0]==="?"){let C=z3(l[":@"],e,m,s,i);o+=(d==="?xml"?"":r)+`<${d}${C}?>`,a=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let y=z3(l[":@"],e,m,s,i),g=r+`<${d}${y}`,E;m?E=Y3(l[u],e):E=$3(l[u],e,f,s,n,i),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?o+=g+">":o+=g+"/>":(!E||E.length===0)&&e.suppressEmptyNode?o+=g+"/>":E&&E.endsWith(">")?o+=g+`>${E}${r}</${d}>`:(o+=g+">",E&&r!==""&&(E.includes("/>")||E.includes("</"))?o+=r+e.indentBy+E+r:o+=E,o+=`</${d}>`),a=!0,s.pop()}return o}function nwe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=ta(t[n]),s=!0}return s?r:null}function Y3(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let n=t[s],i=cS(n);if(i===e.textNodeName)r+=n[i];else if(i===e.cdataPropName)r+=n[i][0][e.textNodeName];else if(i===e.commentPropName)r+=n[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let o=iwe(n[":@"],e),a=Y3(n[i],e);!a||a.length===0?r+=`<${i}${o}/>`:r+=`<${i}${o}>${a}</${i}>`}}}return r}function iwe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${ta(n)}"`}return r}function cS(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}function z3(t,e,r,s,n){let i="";if(t&&!e.ignoreAttributes)for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;let a=o.substr(e.attributeNamePrefix.length),c=r?a:V3(a,!0,e,s,n),l;r?l=t[o]:(l=e.attributeValueProcessor(o,t[o]),l=oS(l,e)),l===!0&&e.suppressBooleanAttributes?i+=` ${c}`:i+=` ${c}="${ta(l)}"`}return i}function owe(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}function oS(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}function lS(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}var awe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Ur(t){if(this.options=Object.assign({},awe,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let r=this.options.stopNodes[e];typeof r=="string"?this.stopNodeExpressions.push(new hs(r)):r instanceof hs&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=lS(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Awe),this.processTextOrObjNode=lwe,this.options.format?(this.indentate=uwe,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function cwe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}function uS(t,e,r,s,n){return!r.sanitizeName||JE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}Ur.prototype.build=function(t){if(this.options.preserveOrder)return aS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ti,r=cwe(t,this.options);return this.j2x(t,0,e,r).val}};Ur.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let c in t){if(!Object.prototype.hasOwnProperty.call(t,c))continue;let u=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?"?c:uS(c,!1,this.options,r,s);if(typeof t[c]>"u")this.isAttribute(c)&&(i+="");else if(t[c]===null)this.isAttribute(c)||u===this.options.cdataPropName||u===this.options.commentPropName?i+="":u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[c]instanceof Date)i+=this.buildTextValNode(t[c],u,"",e,r);else if(typeof t[c]!="object"){let A=this.isAttribute(c);if(A&&!this.ignoreAttributesFn(A,o)){let d=uS(A,!0,this.options,r,s);n+=this.buildAttrPairStr(d,""+t[c],a)}else if(!A)if(c===this.options.textNodeName){let d=this.options.tagValueProcessor(c,""+t[c]);i+=this.replaceEntitiesValue(d)}else{r.push(u);let d=this.checkStopNode(r);if(r.pop(),d){let p=""+t[c];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+"</"+u+this.tagEndChar}else i+=this.buildTextValNode(t[c],u,"",e,r)}}else if(Array.isArray(t[c])){let A=t[c].length,d="",p="";for(let m=0;m<A;m++){let f=t[c][m];if(!(typeof f>"u"))if(f===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(u);let y=this.j2x(f,e+1,r,s);r.pop(),d+=y.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(p+=y.attrStr)}else d+=this.processTextOrObjNode(f,u,e,r,s);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(u,f);y=this.replaceEntitiesValue(y),d+=y}else{r.push(u);let y=this.checkStopNode(r);if(r.pop(),y){let g=""+f;g===""?d+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:d+=this.indentate(e)+"<"+u+">"+g+"</"+u+this.tagEndChar}else d+=this.buildTextValNode(f,u,"",e,r)}}this.options.oneListGroup&&(d=this.buildObjectNode(d,u,p,e)),i+=d}else if(this.options.attributesGroupName&&c===this.options.attributesGroupName){let A=Object.keys(t[c]),d=A.length;for(let p=0;p<d;p++){let m=uS(A[p],!0,this.options,r,s);n+=this.buildAttrPairStr(m,""+t[c][A[p]],a)}}else i+=this.processTextOrObjNode(t[c],u,e,r,s)}return{attrStr:n,val:i}};Ur.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+ta(e)+'"'};function lwe(t,e,r,s,n){let i=this.extractAttributes(t);if(s.push(e,i),this.checkStopNode(s)){let c=this.buildRawContent(t),l=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(c,e,l,r)}let a=this.j2x(t,r+1,s,n);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,a.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,a.attrStr,r,s):this.buildObjectNode(a.val,e,a.attrStr,r)}Ur.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let s=t[this.options.attributesGroupName];for(let n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n;e[i]=ta(s[n]),r=!0}}else for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=this.isAttribute(s);n&&(e[n]=ta(t[s]),r=!0)}return r?e:null};Ur.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let s=t[r];if(r===this.options.textNodeName)e+=s;else if(Array.isArray(s)){for(let n of s)if(typeof n=="string"||typeof n=="number")e+=`<${r}>${n}</${r}>`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),o=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${i}</${r}>`}}else if(typeof s=="object"&&s!==null){let n=this.buildRawContent(s),i=this.buildAttributesForStopNode(s);n===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${n}</${r}>`}else e+=`<${r}>${s}</${r}>`}return e};Ur.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s))continue;let n=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,i=r[s];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let s=this.isAttribute(r);if(s){let n=t[r];n===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e};Ur.prototype.buildObjectNode=function(t,e,r,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+r+"?"+this.tagEndChar:this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let n="</"+e+this.tagEndChar,i="";return e[0]==="?"&&(i="?",n=""),(r||r==="")&&t.indexOf("<")===-1?this.indentate(s)+"<"+e+r+i+">"+t+n:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(s)+`<!--${t}-->`+this.newLine:this.indentate(s)+"<"+e+r+i+this.tagEndChar+t+this.indentate(s)+n}};Ur.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};Ur.prototype.checkStopNode=function(t){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let e=0;e<this.stopNodeExpressions.length;e++)if(t.matches(this.stopNodeExpressions[e]))return!0;return!1};Ur.prototype.buildTextValNode=function(t,e,r,s,n){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let i=YE(t);return this.indentate(s)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=$E(t);return this.indentate(s)+`<!--${i}-->`+this.newLine}else{if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+r+">"+i+"</"+e+this.tagEndChar}}};Ur.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){let r=this.options.entities[e];t=t.replace(r.regex,r.val)}return t};function uwe(t){return this.options.indentBy.repeat(t)}function Awe(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}var AS=Ur;var J3={validate:GE};function K3(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function dwe(t={}){var e,r;return Object.assign(Object.assign({},K3(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 pwe(t={}){return Object.assign(Object.assign({},K3(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}function WE(t,e={}){let r=dwe(e),s=new AS(r),n={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s.build(n)}`.replace(/\n/g,"")}async function dS(t,e={}){if(!t)throw new Error("Document is empty");let r=J3.validate(t);if(r!==!0)throw r;let n=new Cu(pwe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let o=n[i];return typeof o=="object"?Object.assign({},o):o}return n}var jE=Kn("storage-blob");var e4=require("events");var X3=require("node:stream"),KE=class extends X3.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,s){super(s),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let i of this.buffers)n+=i.byteLength;if(n<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=[],s=0;for(;s<e&&this.pushedBytesLength<this.byteLength;){let n=this.byteLength-this.pushedBytesLength,i=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,o=Math.min(i,n);if(o>e-s){let a=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=a,s=e;break}else{let a=this.byteOffsetInCurrentBuffer+o;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),o===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=a,this.pushedBytesLength+=o,s+=o}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var Z3=B(require("node:buffer"),1),XE=Z3.default.constants.MAX_LENGTH,ZE=class{buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/XE);for(let i=0;i<n;i++){let o=i===n-1?e%XE:XE;o===0&&(o=XE),this.buffers.push(Buffer.allocUnsafe(o))}r&&this.fill(r,s)}fill(e,r){this._size=Math.min(this.capacity,r);let s=0,n=0,i=0,o=0,a=0;for(;a<this._size;){let c=e[s],l=this.buffers[n],u=c.copy(l,i,o);a+=u,o+=u,i+=u,o===c.length&&(s++,o=0),i===l.length&&(n++,i=0)}e.splice(0,s),e.length>0&&(e[0]=e[0].slice(o))}getReadableStream(){return new KE(this.buffers,this.size)}};var ey=class{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new e4.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,o){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(s<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${s}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=s,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=o}async do(){return new Promise((e,r)=>{this.readable.on("data",s=>{s=typeof s=="string"?Buffer.from(s,this.encoding):s,this.appendUnresolvedData(s),this.resolveData()||this.readable.pause()}),this.readable.on("error",s=>{this.emitter.emit("error",s)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",s=>{this.isError=!0,this.readable.pause(),r(s)}),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 s=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>s.getReadableStream(),s.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 ZE(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(s){this.emitter.emit("error",s);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var pS;function mS(){return pS||(pS=pp()),pS}var ri=class{_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};var so={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},re={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function ra(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=s.search===""?"?":s.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==n&&a.push(c)}return i&&a.push(`${n}=${i}`),s.search=a.length?`?${a.join("&")}`:"",s.toString()}function ty(t,e){let r=new URL(t);return r.hostname=e,r.toString()}function ry(t){try{return new URL(t).pathname}catch{return}}function sy(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(n=>{let i=n.indexOf("="),o=n.lastIndexOf("=");return i>0&&i===o&&o<n.length-1});let s={};for(let n of r){let i=n.split("="),o=i[0],a=i[1];s[o]=a}return s}async function ny(t,e,r){return new Promise((s,n)=>{let i,o=()=>{i!==void 0&&clearTimeout(i),n(r)};i=setTimeout(()=>{e!==void 0&&e.removeEventListener("abort",o),s()},t),e!==void 0&&e.addEventListener("abort",o)})}var Np=class extends ri{constructor(e,r){super(e,r)}async sendRequest(e){return xe?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=ra(e.url,so.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(re.COOKIE),e.headers.remove(re.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Sp=class{create(e,r){return new Np(e,r)}};var dc=class extends ri{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Rp=class extends dc{constructor(e,r){super(e,r)}};var pc=class{create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ye=class extends pc{create(e,r){return new Rp(e,r)}};var t4=require("node:crypto");var mwe=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]),hwe=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]),fwe=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 iy(t,e){return gwe(t,e)?-1:1}function gwe(t,e){let r=[mwe,hwe,fwe],s=0,n=0,i=0;for(;s<r.length;){if(s===r.length-1&&n!==i)return n>i;let o=n<t.length?r[s][t[n].charCodeAt(0)]:1,a=i<e.length?r[s][e[i].charCodeAt(0)]:1;if(o===1&&a===1)n=0,i=0,++s;else if(o===a)++n,++i;else if(o===0)++n;else if(a===0)++i;else return o<a}return!1}var Tp=class extends dc{factory;constructor(e,r,s){super(e,r),this.factory=s}signRequest(e){e.headers.set(re.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,re.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,re.CONTENT_ENCODING),this.getHeaderValueToSign(e,re.CONTENT_LENGTH),this.getHeaderValueToSign(e,re.CONTENT_MD5),this.getHeaderValueToSign(e,re.CONTENT_TYPE),this.getHeaderValueToSign(e,re.DATE),this.getHeaderValueToSign(e,re.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,re.IF_MATCH),this.getHeaderValueToSign(e,re.IF_NONE_MATCH),this.getHeaderValueToSign(e,re.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,re.RANGE)].join(`
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===re.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE));r.sort((n,i)=>iy(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,o)=>!(i>0&&n.name.toLowerCase()===o[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=ry(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=sy(e.url),i={};if(n){let o=[];for(let a in n)if(Object.prototype.hasOwnProperty.call(n,a)){let c=a.toLowerCase();i[c]=n[a],o.push(c)}o.sort();for(let a of o)s+=`
${a}:${decodeURIComponent(i[a])}`}return s}};var rt=class extends pc{accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Tp(e,r,this)}computeHMACSHA256(e){return(0,t4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Pt=Kn("storage-common");var qs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(qs||(qs={}));var sa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:qs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Ewe=new ds("The operation was aborted."),vp=class extends ri{retryOptions;constructor(e,r,s=sa){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:sa.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):sa.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:sa.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:sa.maxRetryDelayInMs):sa.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:sa.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:sa.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=ty(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=ra(n.url,so.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(Pt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,o))return o;r=r||!i&&o.status===404}catch(a){if(Pt.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(i,s,o,a))throw a}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Pt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let o of i)if(n.name.toUpperCase().includes(o)||n.message.toUpperCase().includes(o)||n.code&&n.code.toString().toUpperCase()===o)return Pt.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(s||n){let o=s?s.status:n?n.statusCode:0;if(!e&&o===404)return Pt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return Pt.info(`RetryPolicy: Will retry for status code ${o}.`),!0}if(s&&s?.status>=400){let o=s.headers.get(re.X_MS_CopySourceErrorCode);if(o!==void 0)switch(o){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Pt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case qs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case qs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Pt.info(`RetryPolicy: Delay for ${n}ms`),ny(n,s,Ewe)}};var Pp=class{retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new vp(e,r,this.retryOptions)}};var ywe="storageBrowserPolicy";function r4(){return{name:ywe,async sendRequest(t,e){return xe||((t.method==="GET"||t.method==="HEAD")&&(t.url=ra(t.url,so.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}var Cwe="StorageCorrectContentLengthPolicy";function s4(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:Cwe,async sendRequest(e,r){return t(e),r(e)}}}var Iwe="storageRetryPolicy",Iu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:qs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bwe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],wwe=new ds("The operation was aborted.");function n4(t={}){let e=t.retryPolicyType??Iu.retryPolicyType,r=t.maxTries??Iu.maxTries,s=t.retryDelayInMs??Iu.retryDelayInMs,n=t.maxRetryDelayInMs??Iu.maxRetryDelayInMs,i=t.secondaryHost??Iu.secondaryHost,o=t.tryTimeoutInMs??Iu.tryTimeoutInMs;function a({isPrimaryRetry:l,attempt:u,response:A,error:d}){if(u>=r)return Pt.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(d){for(let p of Bwe)if(d.name.toUpperCase().includes(p)||d.message.toUpperCase().includes(p)||d.code&&d.code.toString().toUpperCase()===p)return Pt.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(d?.code==="PARSE_ERROR"&&d?.message.startsWith('Error "Error: Unclosed root tag'))return Pt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(A||d){let p=A?.status??d?.statusCode??0;if(!l&&p===404)return Pt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Pt.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(A&&A?.status>=400){let p=A.headers.get(re.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}function c(l,u){let A=0;if(l)switch(e){case qs.EXPONENTIAL:A=Math.min((Math.pow(2,u-1)-1)*s,n);break;case qs.FIXED:A=s;break}else A=Math.random()*1e3;return Pt.info(`RetryPolicy: Delay for ${A}ms`),A}return{name:Iwe,async sendRequest(l,u){o&&(l.url=ra(l.url,so.Parameters.TIMEOUT,String(Math.floor(o/1e3))));let A=l.url,d=i?ty(l.url,i):void 0,p=!1,m=1,f=!0,y,g;for(;f;){let E=p||!d||!["GET","HEAD","OPTIONS"].includes(l.method)||m%2===1;l.url=E?A:d,y=void 0,g=void 0;try{Pt.info(`RetryPolicy: =====> Try=${m} ${E?"Primary":"Secondary"}`),y=await u(l),p=p||!E&&y.status===404}catch(C){if(cc(C))Pt.error(`RetryPolicy: Caught error, message: ${C.message}, code: ${C.code}`),g=C;else throw Pt.error(`RetryPolicy: Caught error, message: ${Ko(C)}`),C}f=a({isPrimaryRetry:E,attempt:m,response:y,error:g}),f&&await ny(c(E,m),l.abortSignal,wwe),m++}if(y)return y;throw g??new eo("RetryPolicy failed without known error.")}}}var i4=require("node:crypto");var bwe="storageSharedKeyCredentialPolicy";function hS(t){function e(i){i.headers.set(re.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(i.body));let o=[i.method.toUpperCase(),r(i,re.CONTENT_LANGUAGE),r(i,re.CONTENT_ENCODING),r(i,re.CONTENT_LENGTH),r(i,re.CONTENT_MD5),r(i,re.CONTENT_TYPE),r(i,re.DATE),r(i,re.IF_MODIFIED_SINCE),r(i,re.IF_MATCH),r(i,re.IF_NONE_MATCH),r(i,re.IF_UNMODIFIED_SINCE),r(i,re.RANGE)].join(`
`)+`
`+s(i)+n(i),a=(0,i4.createHmac)("sha256",t.accountKey).update(o,"utf8").digest("base64");i.headers.set(re.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(i,o){let a=i.headers.get(o);return!a||o===re.CONTENT_LENGTH&&a==="0"?"":a}function s(i){let o=[];for(let[c,l]of i.headers)c.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE)&&o.push({name:c,value:l});o.sort((c,l)=>iy(c.name.toLowerCase(),l.name.toLowerCase())),o=o.filter((c,l,u)=>!(l>0&&c.name.toLowerCase()===u[l-1].name.toLowerCase()));let a="";return o.forEach(c=>{a+=`${c.name.toLowerCase().trimRight()}:${c.value.trimLeft()}
`}),a}function n(i){let o=ry(i.url)||"/",a="";a+=`/${t.accountName}${o}`;let c=sy(i.url),l={};if(c){let u=[];for(let A in c)if(Object.prototype.hasOwnProperty.call(c,A)){let d=A.toLowerCase();l[d]=c[A],u.push(d)}u.sort();for(let A of u)a+=`
${A}:${decodeURIComponent(l[A])}`}return a}return{name:bwe,async sendRequest(i,o){return e(i),o(i)}}}var Qwe="storageRequestFailureDetailsParserPolicy";function o4(){return{name:Qwe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}var a4=require("node:crypto"),oy=class{accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,a4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var ay="12.31.0",cy="2026-02-06";var ly="https://storage.azure.com/.default",no={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var yn="",fS="*",xwe=1*1024*1024;var Nwe=4*xwe;var c4="AES256",l4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",u4=["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"],A4=["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"],d4="BlobUsesCustomerSpecifiedEncryption",p4="BlobDoesNotUseCustomerSpecifiedEncryption",m4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function io(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 kp=class{factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function Et(t,e={}){t||(t=new Ye);let r=new kp([],e);return r._credential=t,r}function Swe(t){let e=[Rwe,h4,Twe,vwe,Pwe,kwe,_we];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Dwe(n));return{wrappedPolicies:YN(r),afterRetry:s}}}}function gS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?JN(e):mS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${ay}`,o=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=hp({...r,loggingOptions:{additionalAllowedHeaderNames:u4,additionalAllowedQueryParameters:A4,logger:jE.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:WE,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:dS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:wN}),n.addPolicy(s4()),n.addPolicy(n4(r.retryOptions),{phase:"Retry"}),n.addPolicy(o4()),n.addPolicy(r4());let a=Swe(t);a&&n.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let c=ES(t);ps(c)?n.addPolicy(mu({credential:c,scopes:r.audience??ly,challengeCallbacks:{authorizeRequestOnChallenge:ME}}),{phase:"Sign"}):c instanceof rt&&n.addPolicy(hS({accountName:c.accountName,accountKey:c.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}function ES(t){if(t._credential)return t._credential;let e=new Ye;for(let r of t.factories)if(ps(r.credential))e=r.credential;else if(h4(r))return r;return e}function h4(t){return t instanceof rt?!0:t.constructor.name==="StorageSharedKeyCredential"}function Rwe(t){return t instanceof Ye?!0:t.constructor.name==="AnonymousCredential"}function Twe(t){return ps(t.credential)}function vwe(t){return t instanceof Sp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}function Pwe(t){return t instanceof Pp?!0:t.constructor.name==="StorageRetryPolicyFactory"}function kwe(t){return t.constructor.name==="TelemetryPolicyFactory"}function Dwe(t){return t.constructor.name==="InjectorPolicyFactory"}function _we(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async o=>({request:o,headers:o.headers.clone(),status:500})},s={log(o,a){},shouldLog(o){return!1}},i=t.create(r,s).constructor.name;return e.some(o=>i.startsWith(o))}var f4;(function(t){t.AES256="AES256"})(f4||(f4={}));var g4;(function(t){t.Backup="backup"})(g4||(g4={}));var E4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(E4||(E4={}));var y4;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(y4||(y4={}));var fs={};pZ(fs,{AccessPolicy:()=>Ywe,AppendBlobAppendBlockExceptionHeaders:()=>OT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>UT,AppendBlobAppendBlockFromUrlHeaders:()=>FT,AppendBlobAppendBlockHeaders:()=>MT,AppendBlobCreateExceptionHeaders:()=>LT,AppendBlobCreateHeaders:()=>_T,AppendBlobSealExceptionHeaders:()=>GT,AppendBlobSealHeaders:()=>qT,ArrowConfiguration:()=>abe,ArrowField:()=>cbe,BlobAbortCopyFromURLExceptionHeaders:()=>cT,BlobAbortCopyFromURLHeaders:()=>aT,BlobAcquireLeaseExceptionHeaders:()=>$R,BlobAcquireLeaseHeaders:()=>VR,BlobBreakLeaseExceptionHeaders:()=>eT,BlobBreakLeaseHeaders:()=>ZR,BlobChangeLeaseExceptionHeaders:()=>XR,BlobChangeLeaseHeaders:()=>KR,BlobCopyFromURLExceptionHeaders:()=>oT,BlobCopyFromURLHeaders:()=>iT,BlobCreateSnapshotExceptionHeaders:()=>rT,BlobCreateSnapshotHeaders:()=>tT,BlobDeleteExceptionHeaders:()=>TR,BlobDeleteHeaders:()=>RR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>UR,BlobDeleteImmutabilityPolicyHeaders:()=>FR,BlobDownloadExceptionHeaders:()=>xR,BlobDownloadHeaders:()=>Ay,BlobFlatListSegment:()=>Jwe,BlobGetAccountInfoExceptionHeaders:()=>AT,BlobGetAccountInfoHeaders:()=>uT,BlobGetPropertiesExceptionHeaders:()=>SR,BlobGetPropertiesHeaders:()=>NR,BlobGetTagsExceptionHeaders:()=>mT,BlobGetTagsHeaders:()=>pT,BlobHierarchyListSegment:()=>Xwe,BlobItemInternal:()=>Wwe,BlobName:()=>jwe,BlobPrefix:()=>Zwe,BlobPropertiesInternal:()=>Kwe,BlobQueryExceptionHeaders:()=>dT,BlobQueryHeaders:()=>py,BlobReleaseLeaseExceptionHeaders:()=>JR,BlobReleaseLeaseHeaders:()=>YR,BlobRenewLeaseExceptionHeaders:()=>jR,BlobRenewLeaseHeaders:()=>WR,BlobServiceProperties:()=>Dp,BlobServiceStatistics:()=>yS,BlobSetExpiryExceptionHeaders:()=>DR,BlobSetExpiryHeaders:()=>kR,BlobSetHttpHeadersExceptionHeaders:()=>LR,BlobSetHttpHeadersHeaders:()=>_R,BlobSetImmutabilityPolicyExceptionHeaders:()=>OR,BlobSetImmutabilityPolicyHeaders:()=>MR,BlobSetLegalHoldExceptionHeaders:()=>GR,BlobSetLegalHoldHeaders:()=>qR,BlobSetMetadataExceptionHeaders:()=>zR,BlobSetMetadataHeaders:()=>HR,BlobSetTagsExceptionHeaders:()=>fT,BlobSetTagsHeaders:()=>hT,BlobSetTierExceptionHeaders:()=>lT,BlobSetTierHeaders:()=>dy,BlobStartCopyFromURLExceptionHeaders:()=>nT,BlobStartCopyFromURLHeaders:()=>sT,BlobTag:()=>Vwe,BlobTags:()=>Lp,BlobUndeleteExceptionHeaders:()=>PR,BlobUndeleteHeaders:()=>vR,Block:()=>ebe,BlockBlobCommitBlockListExceptionHeaders:()=>XT,BlockBlobCommitBlockListHeaders:()=>KT,BlockBlobGetBlockListExceptionHeaders:()=>ev,BlockBlobGetBlockListHeaders:()=>ZT,BlockBlobPutBlobFromUrlExceptionHeaders:()=>$T,BlockBlobPutBlobFromUrlHeaders:()=>VT,BlockBlobStageBlockExceptionHeaders:()=>JT,BlockBlobStageBlockFromURLExceptionHeaders:()=>jT,BlockBlobStageBlockFromURLHeaders:()=>WT,BlockBlobStageBlockHeaders:()=>YT,BlockBlobUploadExceptionHeaders:()=>zT,BlockBlobUploadHeaders:()=>HT,BlockList:()=>xS,BlockLookupList:()=>QS,ClearRange:()=>rbe,ContainerAcquireLeaseExceptionHeaders:()=>AR,ContainerAcquireLeaseHeaders:()=>uR,ContainerBreakLeaseExceptionHeaders:()=>gR,ContainerBreakLeaseHeaders:()=>fR,ContainerChangeLeaseExceptionHeaders:()=>yR,ContainerChangeLeaseHeaders:()=>ER,ContainerCreateExceptionHeaders:()=>VS,ContainerCreateHeaders:()=>zS,ContainerDeleteExceptionHeaders:()=>WS,ContainerDeleteHeaders:()=>JS,ContainerFilterBlobsExceptionHeaders:()=>lR,ContainerFilterBlobsHeaders:()=>cR,ContainerGetAccessPolicyExceptionHeaders:()=>ZS,ContainerGetAccessPolicyHeaders:()=>XS,ContainerGetAccountInfoExceptionHeaders:()=>QR,ContainerGetAccountInfoHeaders:()=>bR,ContainerGetPropertiesExceptionHeaders:()=>YS,ContainerGetPropertiesHeaders:()=>$S,ContainerItem:()=>Gwe,ContainerListBlobFlatSegmentExceptionHeaders:()=>IR,ContainerListBlobFlatSegmentHeaders:()=>CR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>wR,ContainerListBlobHierarchySegmentHeaders:()=>BR,ContainerProperties:()=>Hwe,ContainerReleaseLeaseExceptionHeaders:()=>pR,ContainerReleaseLeaseHeaders:()=>dR,ContainerRenameExceptionHeaders:()=>iR,ContainerRenameHeaders:()=>nR,ContainerRenewLeaseExceptionHeaders:()=>hR,ContainerRenewLeaseHeaders:()=>mR,ContainerRestoreExceptionHeaders:()=>sR,ContainerRestoreHeaders:()=>rR,ContainerSetAccessPolicyExceptionHeaders:()=>tR,ContainerSetAccessPolicyHeaders:()=>eR,ContainerSetMetadataExceptionHeaders:()=>KS,ContainerSetMetadataHeaders:()=>jS,ContainerSubmitBatchExceptionHeaders:()=>aR,ContainerSubmitBatchHeaders:()=>oR,CorsRule:()=>Fwe,DelimitedTextConfiguration:()=>ibe,FilterBlobItem:()=>zwe,FilterBlobSegment:()=>_p,GeoReplication:()=>qwe,JsonTextConfiguration:()=>obe,KeyInfo:()=>IS,ListBlobsFlatSegmentResponse:()=>wS,ListBlobsHierarchySegmentResponse:()=>bS,ListContainersSegmentResponse:()=>CS,Logging:()=>Lwe,Metrics:()=>Owe,PageBlobClearPagesExceptionHeaders:()=>BT,PageBlobClearPagesHeaders:()=>IT,PageBlobCopyIncrementalExceptionHeaders:()=>DT,PageBlobCopyIncrementalHeaders:()=>kT,PageBlobCreateExceptionHeaders:()=>ET,PageBlobCreateHeaders:()=>gT,PageBlobGetPageRangesDiffExceptionHeaders:()=>ST,PageBlobGetPageRangesDiffHeaders:()=>NT,PageBlobGetPageRangesExceptionHeaders:()=>xT,PageBlobGetPageRangesHeaders:()=>QT,PageBlobResizeExceptionHeaders:()=>TT,PageBlobResizeHeaders:()=>RT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>PT,PageBlobUpdateSequenceNumberHeaders:()=>vT,PageBlobUploadPagesExceptionHeaders:()=>CT,PageBlobUploadPagesFromURLExceptionHeaders:()=>bT,PageBlobUploadPagesFromURLHeaders:()=>wT,PageBlobUploadPagesHeaders:()=>yT,PageList:()=>uy,PageRange:()=>tbe,QueryFormat:()=>nbe,QueryRequest:()=>NS,QuerySerialization:()=>sbe,RetentionPolicy:()=>Mwe,ServiceFilterBlobsExceptionHeaders:()=>HS,ServiceFilterBlobsHeaders:()=>GS,ServiceGetAccountInfoExceptionHeaders:()=>FS,ServiceGetAccountInfoHeaders:()=>OS,ServiceGetPropertiesExceptionHeaders:()=>vS,ServiceGetPropertiesHeaders:()=>TS,ServiceGetStatisticsExceptionHeaders:()=>kS,ServiceGetStatisticsHeaders:()=>PS,ServiceGetUserDelegationKeyExceptionHeaders:()=>MS,ServiceGetUserDelegationKeyHeaders:()=>LS,ServiceListContainersSegmentExceptionHeaders:()=>_S,ServiceListContainersSegmentHeaders:()=>DS,ServiceSetPropertiesExceptionHeaders:()=>RS,ServiceSetPropertiesHeaders:()=>SS,ServiceSubmitBatchExceptionHeaders:()=>qS,ServiceSubmitBatchHeaders:()=>US,SignedIdentifier:()=>$we,StaticWebsite:()=>Uwe,StorageError:()=>S,UserDelegationKey:()=>BS});var Dp={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"}}}}},Lwe={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"}}}}},Mwe={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"}}}}},Owe={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"}}}}},Fwe={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"}}}}},Uwe={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"}}}}},S={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},yS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},qwe={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"}}}}},CS={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"}}}}},Gwe={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"}}}}}}},Hwe={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"}}}}},IS={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"}}}}},BS={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"}}}}},_p={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"}}}}},zwe={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"}}}}},Lp={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"}}}}}}},Vwe={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"}}}}},$we={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"}}}}},Ywe={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"}}}}},wS={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"}}}}},Jwe={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"}}}}}}},Wwe={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"}}}}},jwe={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"}}}}},Kwe={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"}}}}},bS={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"}}}}},Xwe={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"}}}}}}},Zwe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},QS={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"}}}}}}},xS={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"}}}}}}},ebe={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},uy={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},tbe={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"}}}}},rbe={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"}}}}},NS={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"}}}}},sbe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},nbe={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"}}}}}}},ibe={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"}}}}},obe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},abe={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"}}}}}}},cbe={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"}}}}},SS={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"}}}}},RS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},vS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={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"}}}}},kS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={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"}}}}},_S={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={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"}}}}},MS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},FS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={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"}}}}},qS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={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"}}}}},HS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={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"}}}}},VS={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={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"}}}}},YS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={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"}}}}},WS={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={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"}}}}},KS={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={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"}}}}},ZS={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={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"}}}}},tR={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rR={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"}}}}},sR={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={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"}}}}},iR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={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"}}}}},aR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={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"}}}}},lR={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={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"}}}}},AR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dR={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"}}}}},pR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={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"}}}}},hR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={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"}}}}},gR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={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"}}}}},yR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CR={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"}}}}},IR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={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"}}}}},wR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={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"}}}}},QR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ay={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"}}}}},xR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={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"}}}}},SR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={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"}}}}},TR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vR={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"}}}}},PR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},DR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={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"}}}}},LR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={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"]}}}}},OR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={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"}}}}},UR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qR={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"}}}}},GR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HR={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"}}}}},zR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VR={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"}}}}},$R={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YR={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"}}}}},JR={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WR={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"}}}}},jR={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KR={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"}}}}},XR={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZR={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"}}}}},eT={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tT={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"}}}}},rT={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={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"}}}}},nT={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},iT={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"}}}}},oT={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},aT={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"}}}}},cT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dy={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"}}}}},lT={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={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"}}}}},AT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},py={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},dT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pT={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"}}}}},mT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hT={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"}}}}},fT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gT={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"}}}}},ET={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yT={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"}}}}},CT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={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"}}}}},BT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={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"}}}}},bT={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},QT={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"}}}}},xT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={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"}}}}},ST={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={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"}}}}},TT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vT={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"}}}}},PT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kT={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"}}}}},DT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_T={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"}}}}},LT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MT={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"}}}}},OT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FT={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"}}}}},UT={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},qT={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"}}}}},GT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HT={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"}}}}},zT={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VT={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"}}}}},$T={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},YT={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"}}}}},JT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WT={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"}}}}},jT={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},KT={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"}}}}},XT={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZT={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"}}}}},ev={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var si={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},C4={parameterPath:"blobServiceProperties",mapper:Dp},Gs={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},R={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Mp={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Hs={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},T={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},v={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},P={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},G={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},I4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Op={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Fp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ni={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},ii={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},B4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},w4={parameterPath:"keyInfo",mapper:IS},b4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Bu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},my={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},hy={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},fy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},gy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ey={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Ht={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},or={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},tv={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},Q4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},x4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ue={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},oe={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ae={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},yy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rv={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Cy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},R4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},T4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},v4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},P4={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},zs={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Iy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},By={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},wy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},by={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},na={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Qy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ny={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},Sy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ry={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},sv={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"},nv={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},k4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Ir={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},oi={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},mc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},D4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},_4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},st={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},nt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},it={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ce={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},Ie={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},he={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},L4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},M4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},O4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},F4={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},U4={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ai={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},ci={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},li={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ui={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},di={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},iv={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},In={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},q4={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G4={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},St={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},H4={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oo={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"]}}},ov={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},pi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},mi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},hi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Ty={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},hc={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Bn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},z4={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},gi={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},V4={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ao={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},co={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},vy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},lo={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},$4={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Y4={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},J4={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},W4={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},j4={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"]}}},K4={parameterPath:["options","queryRequest"],mapper:NS},X4={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},av={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},lv={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},uv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},Av={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},Z4={parameterPath:["options","tags"],mapper:Lp},Vs={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ei={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},eW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},dv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},pv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},fc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},gc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ec={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Py={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},ky={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Dy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},_y={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},tW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},wu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},rW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},bu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},sW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},hv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},iW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},oW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},aW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},fv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Ly={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},My={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},lW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ev={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},uW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},yv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},AW={parameterPath:"blocks",mapper:QS},Iv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Oy=class{client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},lbe)}getProperties(e){return this.client.sendOperationRequest({options:e},ube)}getStatistics(e){return this.client.sendOperationRequest({options:e},Abe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},dbe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},pbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},mbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},hbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},fbe)}},ia=ms(fs,!0),lbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:SS},default:{bodyMapper:S,headersMapper:RS}},requestBody:C4,queryParameters:[Mp,Hs,T],urlParameters:[R],headerParameters:[si,Gs,v,P],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ia},ube={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Dp,headersMapper:TS},default:{bodyMapper:S,headersMapper:vS}},queryParameters:[Mp,Hs,T],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:ia},Abe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yS,headersMapper:PS},default:{bodyMapper:S,headersMapper:kS}},queryParameters:[Mp,T,I4],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:ia},dbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:CS,headersMapper:DS},default:{bodyMapper:S,headersMapper:_S}},queryParameters:[T,Op,Fp,ni,ii,B4],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:ia},pbe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:BS,headersMapper:LS},default:{bodyMapper:S,headersMapper:MS}},requestBody:w4,queryParameters:[Mp,T,b4],urlParameters:[R],headerParameters:[si,Gs,v,P],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ia},mbe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:OS},default:{bodyMapper:S,headersMapper:FS}},queryParameters:[Hs,T,Bu],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:ia},hbe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:US},default:{bodyMapper:S,headersMapper:qS}},requestBody:my,queryParameters:[T,hy],urlParameters:[R],headerParameters:[Gs,v,P,Gt,fy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ia},fbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_p,headersMapper:GS},default:{bodyMapper:S,headersMapper:HS}},queryParameters:[T,ni,ii,gy,Ey],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:ia};var Fy=class{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},gbe)}getProperties(e){return this.client.sendOperationRequest({options:e},Ebe)}delete(e){return this.client.sendOperationRequest({options:e},ybe)}setMetadata(e){return this.client.sendOperationRequest({options:e},Cbe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Ibe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Bbe)}restore(e){return this.client.sendOperationRequest({options:e},wbe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},bbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Qbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},xbe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Nbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Sbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Rbe)}breakLease(e){return this.client.sendOperationRequest({options:e},Tbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},vbe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Pbe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},kbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Dbe)}},zt=ms(fs,!0),gbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:zS},default:{bodyMapper:S,headersMapper:VS}},queryParameters:[T,Ht],urlParameters:[R],headerParameters:[v,P,G,or,tv,Q4,x4],isXML:!0,serializer:zt},Ebe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:$S},default:{bodyMapper:S,headersMapper:YS}},queryParameters:[T,Ht],urlParameters:[R],headerParameters:[v,P,G,ue],isXML:!0,serializer:zt},ybe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:JS},default:{bodyMapper:S,headersMapper:WS}},queryParameters:[T,Ht],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae],isXML:!0,serializer:zt},Cbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jS},default:{bodyMapper:S,headersMapper:KS}},queryParameters:[T,Ht,yy],urlParameters:[R],headerParameters:[v,P,G,or,ue,oe],isXML:!0,serializer:zt},Ibe={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:XS},default:{bodyMapper:S,headersMapper:ZS}},queryParameters:[T,Ht,rv],urlParameters:[R],headerParameters:[v,P,G,ue],isXML:!0,serializer:zt},Bbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:eR},default:{bodyMapper:S,headersMapper:tR}},requestBody:N4,queryParameters:[T,Ht,rv],urlParameters:[R],headerParameters:[si,Gs,v,P,tv,ue,oe,ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zt},wbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:rR},default:{bodyMapper:S,headersMapper:sR}},queryParameters:[T,Ht,Cy],urlParameters:[R],headerParameters:[v,P,G,S4,R4],isXML:!0,serializer:zt},bbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:nR},default:{bodyMapper:S,headersMapper:iR}},queryParameters:[T,Ht,T4],urlParameters:[R],headerParameters:[v,P,G,v4,P4],isXML:!0,serializer:zt},Qbe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oR},default:{bodyMapper:S,headersMapper:aR}},requestBody:my,queryParameters:[T,hy,Ht],urlParameters:[R],headerParameters:[Gs,v,P,Gt,fy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zt},xbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:_p,headersMapper:cR},default:{bodyMapper:S,headersMapper:lR}},queryParameters:[T,ni,ii,gy,Ey,Ht],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:zt},Nbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:uR},default:{bodyMapper:S,headersMapper:AR}},queryParameters:[T,Ht,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,Iy,By,wy],isXML:!0,serializer:zt},Sbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:dR},default:{bodyMapper:S,headersMapper:pR}},queryParameters:[T,Ht,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,by,na],isXML:!0,serializer:zt},Rbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:mR},default:{bodyMapper:S,headersMapper:hR}},queryParameters:[T,Ht,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,na,Qy],isXML:!0,serializer:zt},Tbe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:fR},default:{bodyMapper:S,headersMapper:gR}},queryParameters:[T,Ht,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,xy,Ny],isXML:!0,serializer:zt},vbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ER},default:{bodyMapper:S,headersMapper:yR}},queryParameters:[T,Ht,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,na,Sy,Ry],isXML:!0,serializer:zt},Pbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:wS,headersMapper:CR},default:{bodyMapper:S,headersMapper:IR}},queryParameters:[T,Op,Fp,ni,ii,Ht,sv,nv],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:zt},kbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:bS,headersMapper:BR},default:{bodyMapper:S,headersMapper:wR}},queryParameters:[T,Op,Fp,ni,ii,Ht,sv,nv,k4],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:zt},Dbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:bR},default:{bodyMapper:S,headersMapper:QR}},queryParameters:[Hs,T,Bu],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:zt};var Uy=class{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},_be)}getProperties(e){return this.client.sendOperationRequest({options:e},Lbe)}delete(e){return this.client.sendOperationRequest({options:e},Mbe)}undelete(e){return this.client.sendOperationRequest({options:e},Obe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},Fbe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Ube)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},qbe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Gbe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Hbe)}setMetadata(e){return this.client.sendOperationRequest({options:e},zbe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Vbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},$be)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Ybe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Jbe)}breakLease(e){return this.client.sendOperationRequest({options:e},Wbe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},jbe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Kbe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Xbe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Zbe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},eQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},tQe)}query(e){return this.client.sendOperationRequest({options:e},rQe)}getTags(e){return this.client.sendOperationRequest({options:e},sQe)}setTags(e){return this.client.sendOperationRequest({options:e},nQe)}},Je=ms(fs,!0),_be={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ay},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ay},default:{bodyMapper:S,headersMapper:xR}},queryParameters:[T,Ir,oi],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,mc,D4,_4,st,nt,it,Ce,Ie,he],isXML:!0,serializer:Je},Lbe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:NR},default:{bodyMapper:S,headersMapper:SR}},queryParameters:[T,Ir,oi],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,st,nt,it,Ce,Ie,he],isXML:!0,serializer:Je},Mbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:RR},default:{bodyMapper:S,headersMapper:TR}},queryParameters:[T,Ir,oi,M4],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,Ce,Ie,he,L4],isXML:!0,serializer:Je},Obe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vR},default:{bodyMapper:S,headersMapper:PR}},queryParameters:[T,Cy],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:Je},Fbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kR},default:{bodyMapper:S,headersMapper:DR}},queryParameters:[T,O4],urlParameters:[R],headerParameters:[v,P,G,F4,U4],isXML:!0,serializer:Je},Ube={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_R},default:{bodyMapper:S,headersMapper:LR}},queryParameters:[Hs,T],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,Ce,Ie,he,ai,ci,li,ui,Ai,di],isXML:!0,serializer:Je},qbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MR},default:{bodyMapper:S,headersMapper:OR}},queryParameters:[T,Ir,oi,iv],urlParameters:[R],headerParameters:[v,P,G,ae,Cn,In],isXML:!0,serializer:Je},Gbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:FR},default:{bodyMapper:S,headersMapper:UR}},queryParameters:[T,Ir,oi,iv],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:Je},Hbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qR},default:{bodyMapper:S,headersMapper:GR}},queryParameters:[T,Ir,oi,q4],urlParameters:[R],headerParameters:[v,P,G,G4],isXML:!0,serializer:Je},zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:HR},default:{bodyMapper:S,headersMapper:zR}},queryParameters:[T,yy],urlParameters:[R],headerParameters:[v,P,G,or,ue,oe,ae,st,nt,it,Ce,Ie,he,St],isXML:!0,serializer:Je},Vbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VR},default:{bodyMapper:S,headersMapper:$R}},queryParameters:[T,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,Iy,By,wy,Ce,Ie,he],isXML:!0,serializer:Je},$be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:YR},default:{bodyMapper:S,headersMapper:JR}},queryParameters:[T,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,by,na,Ce,Ie,he],isXML:!0,serializer:Je},Ybe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:WR},default:{bodyMapper:S,headersMapper:jR}},queryParameters:[T,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,na,Qy,Ce,Ie,he],isXML:!0,serializer:Je},Jbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:KR},default:{bodyMapper:S,headersMapper:XR}},queryParameters:[T,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,na,Sy,Ry,Ce,Ie,he],isXML:!0,serializer:Je},Wbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ZR},default:{bodyMapper:S,headersMapper:eT}},queryParameters:[T,zs],urlParameters:[R],headerParameters:[v,P,G,oe,ae,xy,Ny,Ce,Ie,he],isXML:!0,serializer:Je},jbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tT},default:{bodyMapper:S,headersMapper:rT}},queryParameters:[T,H4],urlParameters:[R],headerParameters:[v,P,G,or,ue,oe,ae,st,nt,it,Ce,Ie,he,St],isXML:!0,serializer:Je},Kbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:sT},default:{bodyMapper:S,headersMapper:nT}},queryParameters:[T],urlParameters:[R],headerParameters:[v,P,G,or,ue,oe,ae,Ce,Ie,he,Cn,In,oo,ov,pi,mi,hi,fi,Ty,hc,Bn,z4,gi],isXML:!0,serializer:Je},Xbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:iT},default:{bodyMapper:S,headersMapper:oT}},queryParameters:[T],urlParameters:[R],headerParameters:[v,P,G,or,ue,oe,ae,Ce,Ie,he,Cn,In,St,oo,pi,mi,hi,fi,hc,Bn,gi,V4,ao,co,vy,lo],isXML:!0,serializer:Je},Zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:aT},default:{bodyMapper:S,headersMapper:cT}},queryParameters:[T,$4,J4],urlParameters:[R],headerParameters:[v,P,G,ue,Y4],isXML:!0,serializer:Je},eQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dy},202:{headersMapper:dy},default:{bodyMapper:S,headersMapper:lT}},queryParameters:[T,Ir,oi,W4],urlParameters:[R],headerParameters:[v,P,G,ue,he,ov,j4],isXML:!0,serializer:Je},tQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:uT},default:{bodyMapper:S,headersMapper:AT}},queryParameters:[Hs,T,Bu],urlParameters:[R],headerParameters:[v,P,G],isXML:!0,serializer:Je},rQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:py},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:py},default:{bodyMapper:S,headersMapper:dT}},requestBody:K4,queryParameters:[T,Ir,X4],urlParameters:[R],headerParameters:[si,Gs,v,P,ue,oe,ae,st,nt,it,Ce,Ie,he],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je},sQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Lp,headersMapper:pT},default:{bodyMapper:S,headersMapper:mT}},queryParameters:[T,Ir,oi,av],urlParameters:[R],headerParameters:[v,P,G,ue,he,cv,lv,uv,Av],isXML:!0,serializer:Je},nQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:hT},default:{bodyMapper:S,headersMapper:fT}},requestBody:Z4,queryParameters:[T,oi,av],urlParameters:[R],headerParameters:[si,Gs,v,P,ue,he,cv,lv,uv,Av,Vs,Ei],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je};var qy=class{client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},iQe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},oQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},aQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},cQe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},lQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},uQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},AQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},dQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},pQe)}},uo=ms(fs,!0),iQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gT},default:{bodyMapper:S,headersMapper:ET}},queryParameters:[T],urlParameters:[R],headerParameters:[v,P,G,Gt,or,ue,oe,ae,st,nt,it,Ce,Ie,he,ai,ci,li,ui,Ai,di,Cn,In,St,oo,Bn,gi,eW,dv,pv],isXML:!0,serializer:uo},oQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:yT},default:{bodyMapper:S,headersMapper:CT}},requestBody:gc,queryParameters:[T,Py],urlParameters:[R],headerParameters:[v,P,Gt,ue,oe,ae,mc,st,nt,it,Ce,Ie,he,St,Vs,Ei,fc,Ec,mv,ky,Dy,_y],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:uo},aQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IT},default:{bodyMapper:S,headersMapper:BT}},queryParameters:[T,Py],urlParameters:[R],headerParameters:[v,P,G,Gt,ue,oe,ae,mc,st,nt,it,Ce,Ie,he,St,ky,Dy,_y,tW],isXML:!0,serializer:uo},cQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wT},default:{bodyMapper:S,headersMapper:bT}},queryParameters:[T,Py],urlParameters:[R],headerParameters:[v,P,G,Gt,ue,oe,ae,st,nt,it,Ce,Ie,he,St,pi,mi,hi,fi,ao,co,lo,mv,ky,Dy,_y,wu,rW,bu,sW],isXML:!0,serializer:uo},lQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:uy,headersMapper:QT},default:{bodyMapper:S,headersMapper:xT}},queryParameters:[T,ni,ii,Ir,hv],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,mc,Ce,Ie,he],isXML:!0,serializer:uo},uQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:uy,headersMapper:NT},default:{bodyMapper:S,headersMapper:ST}},queryParameters:[T,ni,ii,Ir,hv,nW],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,mc,Ce,Ie,he,iW],isXML:!0,serializer:uo},AQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:RT},default:{bodyMapper:S,headersMapper:TT}},queryParameters:[Hs,T],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,st,nt,it,Ce,Ie,he,St,dv],isXML:!0,serializer:uo},dQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vT},default:{bodyMapper:S,headersMapper:PT}},queryParameters:[Hs,T],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,Ce,Ie,he,pv,oW],isXML:!0,serializer:uo},pQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:kT},default:{bodyMapper:S,headersMapper:DT}},queryParameters:[T,aW],urlParameters:[R],headerParameters:[v,P,G,oe,ae,Ce,Ie,he,hc],isXML:!0,serializer:uo};var Gy=class{client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},mQe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},hQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},fQe)}seal(e){return this.client.sendOperationRequest({options:e},gQe)}},Hy=ms(fs,!0),mQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_T},default:{bodyMapper:S,headersMapper:LT}},queryParameters:[T],urlParameters:[R],headerParameters:[v,P,G,Gt,or,ue,oe,ae,st,nt,it,Ce,Ie,he,ai,ci,li,ui,Ai,di,Cn,In,St,Bn,gi,cW],isXML:!0,serializer:Hy},hQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:MT},default:{bodyMapper:S,headersMapper:OT}},requestBody:gc,queryParameters:[T,fv],urlParameters:[R],headerParameters:[v,P,Gt,ue,oe,ae,st,nt,it,Ce,Ie,he,St,Vs,Ei,fc,Ec,gv,Ly],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Hy},fQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FT},default:{bodyMapper:S,headersMapper:UT}},queryParameters:[T,fv],urlParameters:[R],headerParameters:[v,P,G,Gt,ue,oe,ae,st,nt,it,Ce,Ie,he,St,pi,mi,hi,fi,ao,co,lo,Vs,wu,bu,gv,Ly,My],isXML:!0,serializer:Hy},gQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qT},default:{bodyMapper:S,headersMapper:GT}},queryParameters:[T,lW],urlParameters:[R],headerParameters:[v,P,G,ue,oe,ae,Ce,Ie,Ly],isXML:!0,serializer:Hy};var zy=class{client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},EQe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},yQe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},CQe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},IQe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},BQe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},wQe)}},xu=ms(fs,!0),EQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:HT},default:{bodyMapper:S,headersMapper:zT}},requestBody:gc,queryParameters:[T],urlParameters:[R],headerParameters:[v,P,Gt,or,ue,oe,ae,st,nt,it,Ce,Ie,he,ai,ci,li,ui,Ai,di,Cn,In,St,oo,Bn,gi,Vs,Ei,fc,Ec,Ev],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:xu},yQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VT},default:{bodyMapper:S,headersMapper:$T}},queryParameters:[T],urlParameters:[R],headerParameters:[v,P,G,Gt,or,ue,oe,ae,st,nt,it,Ce,Ie,he,ai,ci,li,ui,Ai,di,St,oo,pi,mi,hi,fi,Ty,hc,Bn,ao,co,vy,lo,Vs,Ev,uW],isXML:!0,serializer:xu},CQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:YT},default:{bodyMapper:S,headersMapper:JT}},requestBody:gc,queryParameters:[T,yv,Cv],urlParameters:[R],headerParameters:[v,P,Gt,ue,st,nt,it,St,Vs,Ei,fc,Ec],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:xu},IQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:WT},default:{bodyMapper:S,headersMapper:jT}},queryParameters:[T,yv,Cv],urlParameters:[R],headerParameters:[v,P,G,Gt,ue,st,nt,it,St,pi,mi,hi,fi,ao,co,lo,wu,bu,My],isXML:!0,serializer:xu},BQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KT},default:{bodyMapper:S,headersMapper:XT}},requestBody:AW,queryParameters:[T,Iv],urlParameters:[R],headerParameters:[si,Gs,v,P,or,ue,oe,ae,st,nt,it,Ce,Ie,he,ai,ci,li,ui,Ai,di,Cn,In,St,oo,Bn,gi,Vs,Ei],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:xu},wQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:xS,headersMapper:ZT},default:{bodyMapper:S,headersMapper:ev}},queryParameters:[T,Ir,Iv,dW],urlParameters:[R],headerParameters:[v,P,G,ue,he],isXML:!0,serializer:xu};var Up=class extends Cp{url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},n="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`,o={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(o),this.url=e,this.version=r.version||"2026-02-06",this.service=new Oy(this),this.container=new Fy(this),this.blob=new Uy(this),this.pageBlob=new qy(this),this.appendBlob=new Gy(this),this.blockBlob=new zy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var qp=class extends Up{async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function mW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=QQe(r),e.pathname=r,e.toString()}function bQe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let s of r)s.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=s.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}function yc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}function Cc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=bQe(t),t=l4);let r=yc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let s="",n="",i=Buffer.from("accountKey","base64"),o="";if(n=yc(t,"AccountName"),i=Buffer.from(yc(t,"AccountKey"),"base64"),!r){s=yc(t,"DefaultEndpointsProtocol");let a=s.toLowerCase();if(a!=="https"&&a!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(o=yc(t,"EndpointSuffix"),!o)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${o}`}if(n){if(i.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:i,proxyUri:e}}else{let s=yc(t,"SharedAccessSignature"),n=yc(t,"AccountName");if(n||(n=Qv(r)),r){if(!s)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return s.startsWith("?")&&(s=s.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:s}}}function QQe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function kt(t,e){let r=new URL(t),s=r.pathname;return s=s?s.endsWith("/")?`${s}${e}`:`${s}/${e}`:e,r.pathname=s,r.toString()}function Nu(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=s.search===""?"?":s.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==n&&a.push(c)}return i&&a.push(`${n}=${i}`),s.search=a.length?`?${a.join("&")}`:"",s.toString()}function Bv(t,e){return new URL(t).searchParams.get(e)??void 0}function hW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}function Gp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}function Ne(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function xQe(t){return xe?Buffer.from(t).toString("base64"):btoa(t)}function wv(t,e){t.length>42&&(t=t.slice(0,42));let i=t+NQe(e.toString(),48-t.length,"0");return xQe(i)}function NQe(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 bv(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}function Qv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Vy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}function Vy(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&m4.includes(t.port)}function oa(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return e.join("&")}function fW(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.blobTagSet.push({key:r,value:s})}return e}function $y(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}function xv(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 Yy(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let s=r.split("_"),n="or-";s[0].startsWith(n)&&(s[0]=s[0].substring(n.length));let i={ruleId:s[1],replicationStatus:t[r]},o=e.findIndex(a=>a.policyId===s[0]);o>-1?e[o].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}function Su(t){return t?t.scheme+" "+t.value:void 0}function*Nv(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let s=0,n=0;for(;s<e.length&&n<r.length;)e[s].start<r[n].start?(yield{start:e[s].start,end:e[s].end,isClear:!1},++s):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;s<e.length;++s)yield{start:e[s].start,end:e[s].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function J(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}var Ru=class{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=mW(e),this.accountName=Qv(e),this.pipeline=r,this.storageClientContext=new qp(this.url,gS(r)),this.isHttps=bv(hW(this.url)||"","https"),this.credential=ES(r);let s=this.storageClientContext;s.requestContentType=void 0}};var z=dp({packageName:"@azure/storage-blob",packageVersion:ay,namespace:"Microsoft.Storage"});var yi=class t{static parse(e){let r=new t;for(let s of e)switch(s){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: ${s}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};var Ci=class t{static parse(e){let r=new t;for(let s of e)switch(s){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 ${s}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};function wn(t){return t.end?`${t.start}-${t.end}`:t.start}var gW;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(gW||(gW={}));var bn=class{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,s,n,i,o,a,c,l,u,A,d,p,m,f,y,g,E,C,I,x){this.version=e,this.signature=r,s!==void 0&&typeof s!="string"?(this.permissions=s.permissions,this.services=s.services,this.resourceTypes=s.resourceTypes,this.protocol=s.protocol,this.startsOn=s.startsOn,this.expiresOn=s.expiresOn,this.ipRangeInner=s.ipRange,this.identifier=s.identifier,this.delegatedUserObjectId=s.delegatedUserObjectId,this.encryptionScope=s.encryptionScope,this.resource=s.resource,this.cacheControl=s.cacheControl,this.contentDisposition=s.contentDisposition,this.contentEncoding=s.contentEncoding,this.contentLanguage=s.contentLanguage,this.contentType=s.contentType,s.userDelegationKey&&(this.signedOid=s.userDelegationKey.signedObjectId,this.signedTenantId=s.userDelegationKey.signedTenantId,this.signedStartsOn=s.userDelegationKey.signedStartsOn,this.signedExpiresOn=s.userDelegationKey.signedExpiresOn,this.signedService=s.userDelegationKey.signedService,this.signedVersion=s.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=s.preauthorizedAgentObjectId,this.correlationId=s.correlationId)):(this.services=n,this.resourceTypes=i,this.expiresOn=c,this.permissions=s,this.protocol=o,this.startsOn=a,this.ipRangeInner=l,this.delegatedUserObjectId=x,this.encryptionScope=I,this.identifier=u,this.resource=A,this.cacheControl=d,this.contentDisposition=p,this.contentEncoding=m,this.contentLanguage=f,this.contentType=y,g&&(this.signedOid=g.signedObjectId,this.signedTenantId=g.signedTenantId,this.signedStartsOn=g.signedStartsOn,this.signedExpiresOn=g.signedExpiresOn,this.signedService=g.signedService,this.signedVersion=g.signedVersion,this.preauthorizedAgentObjectId=E,this.correlationId=C))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let s of e)switch(s){case"sv":this.tryAppendQueryParameter(r,s,this.version);break;case"ss":this.tryAppendQueryParameter(r,s,this.services);break;case"srt":this.tryAppendQueryParameter(r,s,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,s,this.protocol);break;case"st":this.tryAppendQueryParameter(r,s,this.startsOn?Ne(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,s,this.expiresOn?Ne(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,s,this.ipRange?wn(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,s,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,s,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,s,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,s,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,s,this.signedStartsOn?Ne(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,s,this.signedExpiresOn?Ne(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,s,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,s,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,s,this.resource);break;case"sp":this.tryAppendQueryParameter(r,s,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,s,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,s,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,s,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,s,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,s,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,s,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,s,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,s,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,s,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,s){s&&(r=encodeURIComponent(r),s=encodeURIComponent(s),r.length>0&&s.length>0&&e.push(`${r}=${s}`))}};function Hp(t,e,r){return zp(t,e,r).sasQueryParameters}function zp(t,e,r){let s=t.version?t.version:cy,n=e instanceof rt?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new oy(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?TQe(t,n):s>="2025-07-05"?DQe(t,i):kQe(t,i);if(s>="2018-11-09")return n!==void 0?RQe(t,n):s>="2020-02-10"?PQe(t,i):vQe(t,i);if(s>="2015-04-05"){if(n!==void 0)return SQe(t,n);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 SQe(t,e){if(t=Bc(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 s;t.permissions&&(t.blobName?s=yi.parse(t.permissions.toString()).toString():s=Ci.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new bn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}function RQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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 TQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,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(i);return{sasQueryParameters:new bn(t.version,o,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}function vQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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,e.userDelegationKey),stringToSign:i}}function PQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}function kQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}function DQe(t,e){if(t=Bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=yi.parse(t.permissions.toString()).toString():n=Ci.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Ic(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}function Ic(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}function Bc(t){let e=t.version?t.version:cy;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 Vp=class{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=du()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-acquireLease",r,async s=>J(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=J(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-releaseLease",e,async r=>J(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return J(await this._containerOrBlobOperation.breakLease(n))})}};var EW=require("node:stream"),Jy=class extends EW.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,s,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=s,this.offset=s,this.end=s+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new ds("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(r=>{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var Wy=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 xe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new Jy(this.originalResponse.readableStreamBody,r,s,n,i)}};var bW=require("node:stream");var Sv=new Uint8Array([79,98,106,1]),yW="avro.codec",CW="avro.schema";var Xe=class t{static async readFixedBytes(e,r,s={}){let n=await e.read(r,{abortSignal:s.abortSignal});if(n.length!==r)throw new Error("Hit stream end.");return n}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let s=0,n=0,i,o,a;do i=await t.readByte(e,r),o=i&128,s|=(i&127)<<n,n+=7;while(o&&n<28);if(o){s=s,a=268435456;do i=await t.readByte(e,r),s+=(i&127)*a,a*=128;while(i&128);let c=(s%2?-(s+1):s)/2;if(c<Number.MIN_SAFE_INTEGER||c>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return c}return s>>1^-(s&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 s=await t.readByte(e,r);if(s===1)return!0;if(s===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let s=await t.readFixedBytes(e,4,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let s=await t.readFixedBytes(e,8,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let s=await t.readLong(e,r);if(s<0)throw new Error("Bytes size was negative.");return e.read(s,{abortSignal:r.abortSignal})}static async readString(e,r={}){let s=await t.readBytes(e,r);return new TextDecoder().decode(s)}static async readMapPair(e,r,s={}){let n=await t.readString(e,s),i=await r(e,s);return{key:n,value:i}}static async readMap(e,r,s={}){let n=(a,c={})=>t.readMapPair(a,r,c),i=await t.readArray(e,n,s),o={};for(let a of i)o[a.key]=a.value;return o}static async readArray(e,r,s={}){let n=[];for(let i=await t.readLong(e,s);i!==0;i=await t.readLong(e,s))for(i<0&&(await t.readLong(e,s),i=-i);i--;){let o=await r(e,s);n.push(o)}return n}},wc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(wc||(wc={}));var Vt;(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"})(Vt||(Vt={}));var Ao=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 Vt.NULL:case Vt.BOOLEAN:case Vt.INT:case Vt.LONG:case Vt.FLOAT:case Vt.DOUBLE:case Vt.BYTES:case Vt.STRING:return new Rv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new vv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case wc.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 s={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let n of e.fields)s[n.name]=t.fromSchema(n.type);return new kv(s,e.name);case wc.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 Tv(e.symbols);case wc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Pv(t.fromSchema(e.values));case wc.ARRAY:case wc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},Rv=class extends Ao{_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Vt.NULL:return Xe.readNull();case Vt.BOOLEAN:return Xe.readBoolean(e,r);case Vt.INT:return Xe.readInt(e,r);case Vt.LONG:return Xe.readLong(e,r);case Vt.FLOAT:return Xe.readFloat(e,r);case Vt.DOUBLE:return Xe.readDouble(e,r);case Vt.BYTES:return Xe.readBytes(e,r);case Vt.STRING:return Xe.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Tv=class extends Ao{_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._symbols[s]}},vv=class extends Ao{_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._types[s].read(e,r)}},Pv=class extends Ao{_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=(n,i)=>this._itemType.read(n,i);return Xe.readMap(e,s,r)}},kv=class extends Ao{_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function Dv(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 $p=class{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,s,n){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=s||0,this._objectIndex=n||0,this._initialBlockOffset=s||0}async initialize(e={}){let r=await Xe.readFixedBytes(this._headerStream,Sv.length,{abortSignal:e.abortSignal});if(!Dv(r,Sv))throw new Error("Stream is not an Avro file.");this._metadata=await Xe.readMap(this._headerStream,Xe.readString,{abortSignal:e.abortSignal});let s=this._metadata[yW];if(!(s==null||s==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Xe.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let n=JSON.parse(this._metadata[CW]);if(this._itemType=Ao.fromSchema(n),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let i=0;i<this._objectIndex;i++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let s=await Xe.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Dv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Yp=class{};var wW=require("buffer"),BW=new ds("Reading from the avro stream was aborted."),Jp=class extends Yp{_position;_readable;toUint8Array(e){return typeof e=="string"?wW.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw BW;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 s=this._readable.read(e);return s?(this._position+=s.length,this.toUint8Array(s)):new Promise((n,i)=>{let o=()=>{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,o(),n(this.toUint8Array(u)))},c=()=>{o(),i()},l=()=>{o(),i(BW)};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)})}};var jy=class extends bW.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new $p(new Jp(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,s=r.$schema;if(typeof s!="string")throw Error("Missing schema in avro record.");switch(s){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let n=r.data;if(!(n instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(n))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let n=r.bytesScanned;if(typeof n!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:n})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let n=r.totalBytes;if(typeof n!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:n})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let n=r.fatal;if(typeof n!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="string")throw Error("Invalid name in avro error record.");let 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:i,isFatal:n,description:o})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Ky=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 xe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new jy(this.originalResponse.readableStreamBody,r)}};var _v;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(_v||(_v={}));var Lv;(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"})(Lv||(Lv={}));function aa(t){if(t!==void 0)return t}function Dt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=c4)}var Mv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(Mv||(Mv={}));function Xy(t){let e=(t._response.parsedBody.pageRange||[]).map(s=>({offset:s.start,count:s.end-s.start})),r=(t._response.parsedBody.clearRange||[]).map(s=>({offset:s.start,count:s.end-s.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}var l8=B(c8(),1),cC=class extends l8.Poller{intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:o,startCopyFromURLOptions:a}=e,c;o&&(c=JSON.parse(o).state);let l=Xp({...c,blobClient:r,copySource:s,startCopyFromURLOptions:a});super(l),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return up(this.intervalInMs)}},vxe=async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?Xp(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,Xp(r)):(r.isCancelled=!0,Xp(r))},Pxe=async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let o=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:a,copyProgress:c}=o,l=r.copyProgress;c&&(r.copyProgress=c),a==="pending"&&c!==l&&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 s.startCopyFromURL(n,i);r.copyId=o.copyId,o.copyStatus==="success"&&(r.result=o,r.isCompleted=!0)}return Xp(r)},kxe=function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})};function Xp(t){return{state:{...t},cancel:vxe,toString:kxe,update:Pxe}}function qr(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 u8=require("events"),Zp;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Zp||(Zp={}));var em=class{concurrency;actives=0;completed=0;offset=0;operations=[];state=Zp.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new u8.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",s=>{this.state=Zp.Error,r(s)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Zp.Error){if(this.completed>=this.operations.length){this.emitter.emit("finish");return}for(;this.actives<this.concurrency;){let e=this.nextOperation();if(e)e();else return}}}};var lC=B(require("node:fs"),1),A8=B(require("node:util"),1);async function d8(t,e,r,s,n){let i=0,o=s-r;return new Promise((a,c)=>{let l=setTimeout(()=>c(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=o){clearTimeout(l),a();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,n));let A=i+u.length>o?o-i:u.length;e.fill(u.slice(0,A),r+i,r+i+A),i+=A}),t.on("end",()=>{clearTimeout(l),i<o&&c(new Error(`Stream drains before getting enough data needed. Data read: ${i}, data need: ${o}`)),a()}),t.on("error",u=>{clearTimeout(l),c(u)})})}async function p8(t,e){return new Promise((r,s)=>{let n=lC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}var m8=A8.default.promisify(lC.default.stat),h8=lC.default.createReadStream;var po=class t extends Ru{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,o;if(io(r))o=e,i=r;else if(xe&&r instanceof rt||r instanceof Ye||ps(r))o=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")o=e,s&&typeof s!="string"&&(n=s),i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=Cc(e);if(l.kind==="AccountConnString")if(xe){let u=new rt(l.accountName,l.accountKey);o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Xo(l.proxyUri)),i=Et(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=Et(new Ye,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 and blobName parameters");super(o,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=Bv(this.url,no.Parameters.SNAPSHOT),this._versionId=Bv(this.url,no.Parameters.VERSIONID)}withSnapshot(e){return new t(Nu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Nu(this.url,no.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new AC(this.url,this.pipeline)}getBlockBlobClient(){return new Pu(this.url,this.pipeline)}getPageBlobClient(){return new dC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Dt(s.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-download",s,async n=>{let i=J(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:xe?void 0:s.onProgress},range:e===0&&!r?void 0:qr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),o={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:Yy(i.objectReplicationRules)};if(!xe)return o;if((s.maxRetryRequests===void 0||s.maxRetryRequests<0)&&(s.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new Wy(o,async a=>{let c={leaseAccessConditions:s.conditions,modifiedAccessConditions:{ifMatch:s.conditions.ifMatch||i.etag,ifModifiedSince:s.conditions.ifModifiedSince,ifNoneMatch:s.conditions.ifNoneMatch,ifUnmodifiedSince:s.conditions.ifUnmodifiedSince,ifTags:s.conditions?.tagConditions},range:qr({count:e+i.contentLength-a,offset:a}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...c})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return z.withSpan("BlobClient-exists",e,async r=>{try{return Dt(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(s){if(s.statusCode===404)return!1;if(s.statusCode===409&&(s.details.errorCode===d4||s.details.errorCode===p4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-getProperties",e,async r=>{let s=J(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:Yy(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},z.withSpan("BlobClient-delete",e,async r=>J(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return z.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=J(await this.delete(r));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobNotFound")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async undelete(e={}){return z.withSpan("BlobClient-undelete",e,async r=>J(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setHTTPHeaders",r,async s=>J(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setMetadata",r,async s=>J(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async setTags(e,r={}){return z.withSpan("BlobClient-setTags",r,async s=>J(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:fW(e)})))}async getTags(e={}){return z.withSpan("BlobClient-getTags",e,async r=>{let s=J(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,tags:$y({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Vp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-createSnapshot",e,async r=>J(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let s={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)},n=new cC({blobClient:s,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await n.poll(),n}async abortCopyFromURL(e,r={}){return z.withSpan("BlobClient-abortCopyFromURL",r,async s=>J(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:s.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},z.withSpan("BlobClient-syncCopyFromURL",r,async s=>J(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:Su(r.sourceAuthorization),tier:aa(r.tier),blobTagsString:oa(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async setAccessTier(e,r={}){return z.withSpan("BlobClient-setAccessTier",r,async s=>J(await this.blobContext.setTier(aa(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:s.tracingOptions})))}async downloadToBuffer(e,r,s,n={}){let i,o=0,a=0,c=n;e instanceof Buffer?(i=e,o=r||0,a=typeof s=="number"?s:0):(o=typeof e=="number"?e:0,a=typeof r=="number"?r:0,c=s||{});let l=c.blockSize??0;if(l<0)throw new RangeError("blockSize option must be >= 0");if(l===0&&(l=4194304),o<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={}),z.withSpan("BlobClient-downloadToBuffer",c,async u=>{if(!a){let p=await this.getProperties({...c,tracingOptions:u.tracingOptions});if(a=p.contentLength-o,a<0)throw new RangeError(`offset ${o} shouldn't be larger than blob size ${p.contentLength}`)}if(!i)try{i=Buffer.alloc(a)}catch(p){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". ${p.message}`)}if(i.length<a)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${a}`);let A=0,d=new em(c.concurrency);for(let p=o;p<o+a;p=p+l)d.addOperation(async()=>{let m=o+a;p+l<m&&(m=p+l);let y=(await this.download(p,m-p,{abortSignal:c.abortSignal,conditions:c.conditions,maxRetryRequests:c.maxRetryRequestsPerBlock,customerProvidedKey:c.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await d8(y,i,p-o,m-o),A+=m-p,c.onProgress&&c.onProgress({loadedBytes:A})});return await d.do(),i})}async downloadToFile(e,r=0,s,n={}){return z.withSpan("BlobClient-downloadToFile",n,async i=>{let o=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return o.readableStreamBody&&await p8(o.readableStreamBody,e),o.blobDownloadStream=void 0,o})}getBlobAndContainerNamesFromUrl(){let e,r;try{let s=new URL(this.url);if(s.host.split(".")[1]==="blob"){let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}else if(Vy(s)){let n=s.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],r=n[4]}else{let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[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 z.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},J(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:aa(r.tier),blobTagsString:oa(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof rt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Hp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Gp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof rt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return zp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(s=>{let n=Hp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Gp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return zp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return z.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>J(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return z.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>J(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return z.withSpan("BlobClient-setLegalHold",r,async s=>J(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return z.withSpan("BlobClient-getAccountInfo",e,async r=>J(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},AC=class t extends po{appendBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},io(r))o=e,i=r;else if(xe&&r instanceof rt||r instanceof Ye||ps(r))o=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")o=e,i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=Cc(e);if(l.kind==="AccountConnString")if(xe){let u=new rt(l.accountName,l.accountKey);o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Xo(l.proxyUri)),i=Et(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=Et(new Ye,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 and blobName parameters");super(o,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Nu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-create",e,async r=>J(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:oa(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:fS};return z.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=J(await this.create({...s,conditions:r}));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async seal(e={}){return e.conditions=e.conditions||{},z.withSpan("AppendBlobClient-seal",e,async r=>J(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,s={}){return s.conditions=s.conditions||{},Dt(s.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlock",s,async n=>J(await this.appendBlobContext.appendBlock(r,e,{abortSignal:s.abortSignal,appendPositionAccessConditions:s.conditions,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async appendBlockFromURL(e,r,s,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},Dt(n.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>J(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:qr({offset:r,count:s}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Su(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Pu=class t extends po{_blobContext;blockBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},io(r))o=e,i=r;else if(xe&&r instanceof rt||r instanceof Ye||ps(r))o=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")o=e,s&&typeof s!="string"&&(n=s),i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=Cc(e);if(l.kind==="AccountConnString")if(xe){let u=new rt(l.accountName,l.accountKey);o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Xo(l.proxyUri)),i=Et(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=Et(new Ye,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 and blobName parameters");super(o,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Nu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Dt(r.customerProvidedKey,this.isHttps),!xe)throw new Error("This operation currently is only supported in Node.js.");return z.withSpan("BlockBlobClient-query",r,async s=>{let n=J(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:xv(r.inputTextConfiguration),outputSerialization:xv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new Ky(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Dt(s.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-upload",s,async n=>J(await this.blockBlobContext.upload(r,e,{abortSignal:s.abortSignal,blobHttpHeaders:s.blobHTTPHeaders,leaseAccessConditions:s.conditions,metadata:s.metadata,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,immutabilityPolicyExpiry:s.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:s.immutabilityPolicy?.policyMode,legalHold:s.legalHold,tier:aa(s.tier),blobTagsString:oa(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>J(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:Su(r.sourceAuthorization),tier:aa(r.tier),blobTagsString:oa(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Dt(n.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlock",n,async i=>J(await this.blockBlobContext.stageBlock(e,s,r,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,s=0,n,i={}){return Dt(i.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlockFromURL",i,async o=>J(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:s===0&&!n?void 0:qr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Su(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-commitBlockList",r,async s=>J(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:aa(r.tier),blobTagsString:oa(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return z.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=J(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,r={}){return z.withSpan("BlockBlobClient-uploadData",r,async s=>{if(xe){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,o)=>n.slice(i,i+o),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,o)=>n.slice(i,i+o),n.size,s)}})}async uploadBrowserData(e,r={}){return z.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,o)=>n.slice(i,i+o),n.size,s)})}async uploadSeekableInternal(e,r,s={}){let n=s.blockSize??0;if(n<0||n>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=s.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(n===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(n=Math.ceil(r/5e4),n<4194304&&(n=4194304))}return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),z.withSpan("BlockBlobClient-uploadSeekableInternal",s,async o=>{if(r<=i)return J(await this.upload(e(0,r),r,o));let a=Math.floor((r-1)/n)+1;if(a>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let c=[],l=du(),u=0,A=new em(s.concurrency);for(let d=0;d<a;d++)A.addOperation(async()=>{let p=wv(l,d),m=n*d,y=(d===a-1?r:m+n)-m;c.push(p),await this.stageBlock(p,e(m,y),y,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:o.tracingOptions}),u+=y,s.onProgress&&s.onProgress({loadedBytes:u})});return await A.do(),this.commitBlockList(c,o)})}async uploadFile(e,r={}){return z.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await m8(e)).size;return this.uploadSeekableInternal((i,o)=>()=>h8(e,{autoClose:!0,end:o?i+o-1:1/0,start:i}),n,{...r,tracingOptions:s.tracingOptions})})}async uploadStream(e,r=8388608,s=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),z.withSpan("BlockBlobClient-uploadStream",n,async i=>{let o=0,a=du(),c=0,l=[];return await new ey(e,r,s,async(A,d)=>{let p=wv(a,o);l.push(p),o++,await this.stageBlock(p,A,d,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),c+=d,n.onProgress&&n.onProgress({loadedBytes:c})},Math.ceil(s/4*3)).do(),J(await this.commitBlockList(l,{...n,tracingOptions:i.tracingOptions}))})}},dC=class t extends po{pageBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},io(r))o=e,i=r;else if(xe&&r instanceof rt||r instanceof Ye||ps(r))o=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")o=e,i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=Cc(e);if(l.kind==="AccountConnString")if(xe){let u=new rt(l.accountName,l.accountKey);o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Xo(l.proxyUri)),i=Et(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=kt(kt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=Et(new Ye,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 and blobName parameters");super(o,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Nu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-create",r,async s=>J(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:aa(r.tier),blobTagsString:oa(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return z.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:fS},i=J(await this.create(e,{...r,conditions:n,tracingOptions:s.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async uploadPages(e,r,s,n={}){return n.conditions=n.conditions||{},Dt(n.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPages",n,async i=>J(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:qr({offset:r,count:s}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,s,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Dt(i.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPagesFromURL",i,async o=>J(await this.pageBlobContext.uploadPagesFromURL(e,qr({offset:r,count:n}),0,qr({offset:s,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Su(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-clearPages",s,async n=>J(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:qr({offset:e,count:r}),sequenceNumberAccessConditions:s.conditions,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=J(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:qr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return Xy(i)})}async listPageRangesSegment(e=0,r,s,n={}){return z.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>J(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:qr({offset:e,count:r}),marker:s,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,s,n={}){let i;if(s||s===void 0)do i=await this.listPageRangesSegment(e,r,s,n),s=i.continuationToken,yield await i;while(s)}async*listPageRangeItems(e=0,r,s={}){let n;for await(let i of this.listPageRangeItemSegments(e,r,n,s))yield*Nv(i)}listPageRanges(e=0,r,s={}){s.conditions=s.conditions||{};let n=this.listPageRangeItems(e,r,s);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s})}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let o=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Xy(o)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return z.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async o=>J(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:qr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:o.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let o;if(n||n===void 0)do o=await this.listPageRangesDiffSegment(e,r,s,n,i),n=o.continuationToken,yield await o;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let o of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*Nv(o)}listPageRangesDiff(e,r,s,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,r,s,{...n});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listPageRangeDiffItemSegments(e,r,s,o.continuationToken,{maxPageSize:o.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let o=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Xy(o)})}async resize(e,r={}){return r.conditions=r.conditions||{},z.withSpan("PageBlobClient-resize",r,async s=>J(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async updateSequenceNumber(e,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>J(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:s.abortSignal,blobSequenceNumber:r,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,r={}){return z.withSpan("PageBlobClient-startCopyIncremental",r,async s=>J(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var f8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(f8||(f8={}));var g8;(function(t){t.AES256="AES256"})(g8||(g8={}));var pC=class extends Error{constructor(e){super(e),this.name="InvalidResponseError"}};var ku=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"}};ku.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var xc=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};xc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var tm=class extends Error{constructor(e){super(e),this.name="RateLimitError"}};var zxe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},aP=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),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);N(`Sent ${e} of ${this.contentLength} (${r}%), ${n} 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()}};function E8(t,e,r){return zxe(this,void 0,void 0,function*(){var s;let n=new po(t),i=n.getBlockBlobClient(),o=new aP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),w(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let c=yield i.uploadFile(e,a);if(c._response.status>=400)throw new pC(`uploadCacheArchiveSDK: upload failed with status code ${c._response.status}`);return c}catch(c){throw et(`uploadCacheArchiveSDK: internal error uploading cache archive: ${c.message}`),c}finally{o.stopDisplayTimer()}})}var C8=B(require("buffer"),1),Ii=B(require("fs"),1),I8=B(require("stream"),1),B8=B(require("util"),1);var mC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function hC(t){return t?t>=200&&t<300:!1}function Vxe(t){return t?t>=500:!0}function $xe(t){return t?[tt.BadGateway,tt.ServiceUnavailable,tt.GatewayTimeout].includes(t):!1}function Yxe(t){return mC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function y8(t,e,r){return mC(this,arguments,void 0,function*(s,n,i,o=Fg,a=Ug,c=void 0){let l="",u=1;for(;u<=o;){let A,d,p=!1;try{A=yield n()}catch(m){c&&(A=c(m)),p=!0,l=m.message}if(A&&(d=i(A),!Vxe(d)))return A;if(d&&(p=$xe(d),l=`Cache service responded with ${d}`),w(`${s} - Attempt ${u} of ${o} failed with error: ${l}`),!p){w(`${s} - Error is not retryable`);break}yield Yxe(a),u++}throw Error(`${s} failed: ${l}`)})}function rm(t,e){return mC(this,arguments,void 0,function*(r,s,n=Fg,i=Ug){return yield y8(r,s,o=>o.statusCode,n,i,o=>{if(o instanceof Jn)return{statusCode:o.statusCode,result:null,headers:{},error:o}})})}function Du(t,e){return mC(this,arguments,void 0,function*(r,s,n=Fg,i=Ug){return yield y8(r,s,o=>o.message.statusCode,n,i)})}var $s=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function Jxe(t,e){return $s(this,void 0,void 0,function*(){yield B8.promisify(I8.pipeline)(t.message,e)})}var fC=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,w(`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),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);N(`Received ${e} of ${this.contentLength} (${r}%), ${n} 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()}};function gC(t,e){return $s(this,void 0,void 0,function*(){let r=Ii.createWriteStream(e),s=new Zi("actions/cache"),n=yield Du("downloadCache",()=>$s(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(k0,()=>{n.message.destroy(),w(`Aborting download, socket timed out after ${k0} ms`)}),yield Jxe(n,r);let i=n.message.headers["content-length"];if(i){let o=parseInt(i),a=Yn(e);if(a!==o)throw new Error(`Incomplete download. Expected file size: ${o}, actual file size: ${a}`)}else w("Unable to validate download, no Content-Length header")})}function w8(t,e,r){return $s(this,void 0,void 0,function*(){var s;let n=yield Ii.promises.open(e,"w"),i=new Zi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let a=(yield Du("downloadCacheMetadata",()=>$s(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(a==null)throw new Error("Content-Length not found on blob response");let c=parseInt(a);if(Number.isNaN(c))throw new Error(`Could not interpret Content-Length: ${c}`);let l=[],u=4*1024*1024;for(let E=0;E<c;E+=u){let C=Math.min(u,c-E);l.push({offset:E,promiseGetter:()=>$s(this,void 0,void 0,function*(){return yield Wxe(i,t,E,C)})})}l.reverse();let A=0,d=0,p=new fC(c);p.startDisplayTimer();let m=p.onProgress(),f=[],y,g=()=>$s(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(f));yield n.write(E.buffer,0,E.count,E.offset),A--,delete f[E.offset],d+=E.count,m({loadedBytes:d})});for(;y=l.pop();)f[y.offset]=y.promiseGetter(),A++,A>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield g());for(;A>0;)yield g()}finally{i.dispose(),yield n.close()}})}function Wxe(t,e,r,s){return $s(this,void 0,void 0,function*(){let i=0;for(;;)try{let a=yield Q8(3e4,jxe(t,e,r,s));if(typeof a=="string")throw new Error("downloadSegmentRetry failed due to timeout");return a}catch(o){if(i>=5)throw o;i++}})}function jxe(t,e,r,s){return $s(this,void 0,void 0,function*(){let n=yield Du("downloadCachePart",()=>$s(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+s-1}`})}));if(!n.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:s,buffer:yield n.readBodyBuffer()}})}function b8(t,e,r){return $s(this,void 0,void 0,function*(){var s;let n=new Pu(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),o=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(o<0)w("Unable to determine content length, downloading file with http-client..."),yield gC(t,e);else{let a=Math.min(134217728,C8.constants.MAX_LENGTH),c=new fC(o),l=Ii.openSync(e,"w");try{c.startDisplayTimer();let u=new AbortController,A=u.signal;for(;!c.isDone();){let d=c.segmentOffset+c.segmentSize,p=Math.min(a,o-d);c.nextSegment(p);let m=yield Q8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(d,p,{abortSignal:A,concurrency:r.downloadConcurrency,onProgress:c.onProgress()}));if(m==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(m)&&Ii.writeFileSync(l,m)}}finally{c.stopDisplayTimer(),Ii.closeSync(l)}}})}var Q8=(t,e)=>$s(void 0,void 0,void 0,function*(){let r,s=new Promise(n=>{r=setTimeout(()=>n("timeout"),t)});return Promise.race([e,s]).then(n=>(clearTimeout(r),n))});function cP(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),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Upload concurrency: ${e.uploadConcurrency}`),w(`Upload chunk size: ${e.uploadChunkSize}`),e}function x8(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),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Download concurrency: ${e.downloadConcurrency}`),w(`Request timeout (ms): ${e.timeoutInMs}`),w(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),w(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),w(`Lookup only: ${e.lookupOnly}`),e}function lP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",s=e.endsWith(".GHE.COM"),n=e.endsWith(".LOCALHOST");return!r&&!s&&!n}function sm(){return lP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}function EC(){let t=sm();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}`)}}var T8=B(R8(),1);function yC(){return`@actions/cache-${T8.version}`}var Gr=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function nm(t){let e=EC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return w(`Resource Url: ${r}`),r}function Zxe(t,e){return`${t};api-version=${e}`}function e0e(){return{headers:{Accept:Zxe("application/json","6.0-preview.1")}}}function uP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new nu(t);return new Zi(yC(),[e],e0e())}function k8(t,e,r){return Gr(this,void 0,void 0,function*(){let s=uP(),n=su(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${n}`,o=yield rm("getCacheEntry",()=>Gr(this,void 0,void 0,function*(){return s.getJson(nm(i))}));if(o.statusCode===204)return Wa()&&(yield t0e(t[0],s,n)),null;if(!hC(o.statusCode))throw new Error(`Cache service responded with ${o.statusCode}`);let a=o.result,c=a?.archiveLocation;if(!c)throw new Error("Cache not found.");return Hl(c),w("Cache Result:"),w(JSON.stringify(a)),a})}function t0e(t,e,r){return Gr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield rm("listCache",()=>Gr(this,void 0,void 0,function*(){return e.getJson(nm(s))}));if(n.statusCode===200){let i=n.result,o=i?.totalCount;if(o&&o>0){w(`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 i?.artifactCaches||[])w(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function AP(t,e,r){return Gr(this,void 0,void 0,function*(){let s=new P8.URL(t),n=x8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield b8(t,e,n):n.concurrentBlobDownloads?yield w8(t,e,n):yield gC(t,e):yield gC(t,e)})}function D8(t,e,r){return Gr(this,void 0,void 0,function*(){let s=uP(),n=su(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield rm("reserveCache",()=>Gr(this,void 0,void 0,function*(){return s.postJson(nm("caches"),i)}))})}function v8(t,e){return`bytes ${t}-${e}/*`}function r0e(t,e,r,s,n){return Gr(this,void 0,void 0,function*(){w(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${v8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":v8(s,n)},o=yield Du(`uploadChunk (start: ${s}, end: ${n})`,()=>Gr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!hC(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function s0e(t,e,r,s){return Gr(this,void 0,void 0,function*(){let n=Yn(r),i=nm(`caches/${e.toString()}`),o=_u.openSync(r,"r"),a=cP(s),c=M0("uploadConcurrency",a.uploadConcurrency),l=M0("uploadChunkSize",a.uploadChunkSize),u=[...new Array(c).keys()];w("Awaiting all uploads");let A=0;try{yield Promise.all(u.map(()=>Gr(this,void 0,void 0,function*(){for(;A<n;){let d=Math.min(n-A,l),p=A,m=A+d-1;A+=l,yield r0e(t,i,()=>_u.createReadStream(r,{fd:o,start:p,end:m,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),p,m)}})))}finally{_u.closeSync(o)}})}function n0e(t,e,r){return Gr(this,void 0,void 0,function*(){let s={size:r};return yield rm("commitCache",()=>Gr(this,void 0,void 0,function*(){return t.postJson(nm(`caches/${e.toString()}`),s)}))})}function dP(t,e,r,s){return Gr(this,void 0,void 0,function*(){if(cP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield E8(r,e,s)}else{let i=uP();w("Upload cache"),yield s0e(i,t,e,s),w("Commiting cache");let o=Yn(e);N(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield n0e(i,t,o);if(!hC(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);N("Cache saved successfully")}})}var S5=B(I5(),1),It=B(Ct(),1),Es=B(Ct(),1),vc=B(Ct(),1),Pc=B(Ct(),1),kc=B(Ct(),1);var ok=B(Ct(),1),ak=B(Ct(),1),Q5=B(Ct(),1),x5=B(Ct(),1),N5=B(Ct(),1);var sk=B(Ct(),1),nk=B(Ct(),1),B5=B(Ct(),1),w5=B(Ct(),1),b5=B(Ct(),1),ik=class extends b5.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,w5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,B5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?nk.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,sk.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,sk.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?nk.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},nI=new ik;var ck=class extends N5.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:()=>nI}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,x5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Q5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(nI.internalBinaryRead(e,e.uint32(),s));break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?ak.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag(1,ok.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)nI.internalBinaryWrite(e.scope[i],r.tag(2,ok.WireType.LengthDelimited).fork(),s).join();let n=s.writeUnknownFields;return n!==!1&&(n==!0?ak.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},xi=new ck;var lk=class extends kc.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>xi},{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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.metadata=xi.internalBinaryRead(e,e.uint32(),s,i.metadata);break;case 2:i.key=e.string();break;case 3:i.version=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.metadata&&xi.internalBinaryWrite(e.metadata,r.tag(1,It.WireType.LengthDelimited).fork(),s).join(),e.key!==""&&r.tag(2,It.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,It.WireType.LengthDelimited).string(e.version);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},hk=new lk,uk=class extends kc.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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.signedUploadUrl=e.string();break;case 3:i.message=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.ok!==!1&&r.tag(1,It.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,It.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,It.WireType.LengthDelimited).string(e.message);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},fk=new uk,Ak=class extends kc.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>xi},{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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.metadata=xi.internalBinaryRead(e,e.uint32(),s,i.metadata);break;case 2:i.key=e.string();break;case 3:i.sizeBytes=e.int64().toString();break;case 4:i.version=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.metadata&&xi.internalBinaryWrite(e.metadata,r.tag(1,It.WireType.LengthDelimited).fork(),s).join(),e.key!==""&&r.tag(2,It.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,It.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,It.WireType.LengthDelimited).string(e.version);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},gk=new Ak,dk=class extends kc.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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.entryId=e.int64().toString();break;case 3:i.message=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.ok!==!1&&r.tag(1,It.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,It.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,It.WireType.LengthDelimited).string(e.message);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},Ek=new dk,pk=class extends kc.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>xi},{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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.metadata=xi.internalBinaryRead(e,e.uint32(),s,i.metadata);break;case 2:i.key=e.string();break;case 3:i.restoreKeys.push(e.string());break;case 4:i.version=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.metadata&&xi.internalBinaryWrite(e.metadata,r.tag(1,It.WireType.LengthDelimited).fork(),s).join(),e.key!==""&&r.tag(2,It.WireType.LengthDelimited).string(e.key);for(let i=0;i<e.restoreKeys.length;i++)r.tag(3,It.WireType.LengthDelimited).string(e.restoreKeys[i]);e.version!==""&&r.tag(4,It.WireType.LengthDelimited).string(e.version);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},yk=new pk,mk=class extends kc.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,Pc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,vc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.signedDownloadUrl=e.string();break;case 3:i.matchedKey=e.string();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?Es.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,u)}}return i}internalBinaryWrite(e,r,s){e.ok!==!1&&r.tag(1,It.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,It.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,It.WireType.LengthDelimited).string(e.matchedKey);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Es.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},Ck=new mk,EXe=new S5.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:hk,O:fk},{name:"FinalizeCacheEntryUpload",options:{},I:gk,O:Ek},{name:"GetCacheEntryDownloadURL",options:{},I:yk,O:Ck}]);var iI=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=hk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(n=>fk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=gk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>Ek.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=yk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>Ck.fromJson(n,{ignoreUnknownFields:!0}))}};function R5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Hl(r),Hl(encodeURIComponent(r)))}catch(e){w(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}function T5(t){if(typeof t!="object"||t===null){w("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&R5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&R5(t.signed_download_url)}var oI=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Ik=class{constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=dY();this.baseUrl=EC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new Zi(e,[new nu(i)])}request(e,r,s,n){return oI(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;w(`[Request] ${r} ${i}`);let o={"Content-Type":s};try{let{body:a}=yield this.retryableRequest(()=>oI(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),o)}));return a}catch(a){throw new Error(`Failed to ${r}: ${a.message}`)}})}retryableRequest(e){return oI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r<this.maxAttempts;){let i=!1;try{let a=yield e(),c=a.message.statusCode;n=yield a.readBody(),w(`[Response] - ${a.message.statusCode}`),w(`Headers: ${JSON.stringify(a.message.headers,null,2)}`);let l=JSON.parse(n);if(T5(l),w(`Body: ${JSON.stringify(l,null,2)}`),this.isSuccessStatusCode(c))return{response:a,body:l};if(i=this.isRetryableHttpStatusCode(c),s=`Failed request: (${c}) ${a.message.statusMessage}`,l.msg){if(xc.isUsageErrorMessage(l.msg))throw new xc;s=`${s}: ${l.msg}`}if(c===tt.TooManyRequests){let u=a.message.headers["retry-after"];if(u){let A=parseInt(u,10);!isNaN(A)&&A>0&&et(`You've hit a rate limit, your rate limit will reset in ${A} seconds`)}throw new tm(`Rate limited: ${s}`)}}catch(a){if(a instanceof SyntaxError&&w(`Raw Body: ${n}`),a instanceof xc||a instanceof tm)throw a;if(ku.isNetworkErrorCode(a?.code))throw new ku(a?.code);i=!0,s=a.message}if(!i)throw new Error(`Received non-retryable error: ${s}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${s}`);let o=this.getExponentialRetryTimeMilliseconds(r);N(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. 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?[tt.BadGateway,tt.GatewayTimeout,tt.InternalServerError,tt.ServiceUnavailable].includes(e):!1}sleep(e){return oI(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),s=r*this.retryMultiplier;return Math.trunc(Math.random()*(s-r)+r)}};function Bk(t){let e=new Ik(yC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new iI(e)}var aI=require("fs"),ys=B(require("path"),1);var ho=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Aa=process.platform==="win32";function mSe(){return ho(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield AY(),e=aY;if(t)return{path:t,type:cs.GNU};if((0,aI.existsSync)(e))return{path:e,type:cs.BSD};break}case"darwin":{let t=yield mt("gtar",!1);return t?{path:t,type:cs.GNU}:{path:yield mt("tar",!0),type:cs.BSD}}default:break}return{path:yield mt("tar",!0),type:cs.GNU}})}function hSe(t,e,r){return ho(this,arguments,void 0,function*(s,n,i,o=""){let a=[`"${s.path}"`],c=Jo(n),l="cache.tar",u=v5(),A=s.type===cs.BSD&&n!==gr.Gzip&&Aa;switch(i){case"create":a.push("--posix","-cf",A?l:c.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),"--exclude",A?l:c.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),"--files-from",_0);break;case"extract":a.push("-xf",A?l:o.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ys.sep}`,"g"),"/"));break;case"list":a.push("-tf",A?l:o.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),"-P");break}if(s.type===cs.GNU)switch(process.platform){case"win32":a.push("--force-local");break;case"darwin":a.push("--delay-directory-restore");break}return a})}function wk(t,e){return ho(this,arguments,void 0,function*(r,s,n=""){let i,o=yield mSe(),a=yield hSe(o,r,s,n),c=s!=="create"?yield fSe(o,r,n):yield gSe(o,r),l=o.type===cs.BSD&&r!==gr.Gzip&&Aa;return l&&s!=="create"?i=[[...c].join(" "),[...a].join(" ")]:i=[[...a].join(" "),[...c].join(" ")],l?i:[i.join(" ")]})}function v5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}function fSe(t,e,r){return ho(this,void 0,void 0,function*(){let s=t.type===cs.BSD&&e!==gr.Gzip&&Aa;switch(e){case gr.Zstd:return s?["zstd -d --long=30 --force -o",Xd,r.replace(new RegExp(`\\${ys.sep}`,"g"),"/")]:["--use-compress-program",Aa?'"zstd -d --long=30"':"unzstd --long=30"];case gr.ZstdWithoutLong:return s?["zstd -d --force -o",Xd,r.replace(new RegExp(`\\${ys.sep}`,"g"),"/")]:["--use-compress-program",Aa?'"zstd -d"':"unzstd"];default:return["-z"]}})}function gSe(t,e){return ho(this,void 0,void 0,function*(){let r=Jo(e),s=t.type===cs.BSD&&e!==gr.Gzip&&Aa;switch(e){case gr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),Xd]:["--use-compress-program",Aa?'"zstd -T0 --long=30"':"zstdmt --long=30"];case gr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${ys.sep}`,"g"),"/"),Xd]:["--use-compress-program",Aa?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}function bk(t,e){return ho(this,void 0,void 0,function*(){for(let r of t)try{yield os(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(s){throw new Error(`${r.split(" ")[0]} failed with error: ${s?.message}`)}})}function ym(t,e){return ho(this,void 0,void 0,function*(){let r=yield wk(e,"list",t);yield bk(r)})}function Qk(t,e){return ho(this,void 0,void 0,function*(){let r=v5();yield Ts(r);let s=yield wk(e,"extract",t);yield bk(s)})}function xk(t,e,r){return ho(this,void 0,void 0,function*(){(0,aI.writeFileSync)(ys.join(t,_0),e.join(`
`));let s=yield wk(r,"create");yield bk(s,t)})}var Xu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Nn=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Ku=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},cI=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function P5(t){if(!t||t.length===0)throw new Nn("Path Validation Error: At least one directory or file path is required")}function Nk(t){if(t.length>512)throw new Nn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Nn(`Key Validation Error: ${t} cannot contain commas.`)}function Sk(){return sm()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function k5(t,e,r,s){return Xu(this,arguments,void 0,function*(n,i,o,a,c=!1){let l=sm();return w(`Cache service version: ${l}`),P5(n),l==="v2"?yield ySe(n,i,o,a,c):yield ESe(n,i,o,a,c)})}function ESe(t,e,r,s){return Xu(this,arguments,void 0,function*(n,i,o,a,c=!1){o=o||[];let l=[i,...o];if(w("Resolved Keys:"),w(JSON.stringify(l)),l.length>10)throw new Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of l)Nk(d);let u=yield tp(),A="";try{let d=yield k8(l,n,{compressionMethod:u,enableCrossOsArchive:c});if(!d?.archiveLocation)return;if(a?.lookupOnly)return N("Lookup only - skipping download"),d.cacheKey;A=Cm.join(yield Zd(),Jo(u)),w(`Archive Path: ${A}`),yield AP(d.archiveLocation,A,a),Wa()&&(yield ym(A,u));let p=Yn(A);return N(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield Qk(A,u),N("Cache restored successfully"),d.cacheKey}catch(d){let p=d;if(p.name===Nn.name)throw d;p instanceof Jn&&typeof p.statusCode=="number"&&p.statusCode>=500?$l(`Failed to restore: ${d.message}`):et(`Failed to restore: ${d.message}`)}finally{try{yield ep(A)}catch(d){w(`Failed to delete archive: ${d}`)}}})}function ySe(t,e,r,s){return Xu(this,arguments,void 0,function*(n,i,o,a,c=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let l=[i,...o];if(w("Resolved Keys:"),w(JSON.stringify(l)),l.length>10)throw new Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of l)Nk(A);let u="";try{let A=Bk(),d=yield tp(),p={key:i,restoreKeys:o,version:su(n,d,c)},m=yield A.GetCacheEntryDownloadURL(p);if(!m.ok){w(`Cache not found for version ${p.version} of keys: ${l.join(", ")}`);return}if(p.key!==m.matchedKey?N(`Cache hit for restore-key: ${m.matchedKey}`):N(`Cache hit for: ${m.matchedKey}`),a?.lookupOnly)return N("Lookup only - skipping download"),m.matchedKey;u=Cm.join(yield Zd(),Jo(d)),w(`Archive path: ${u}`),w(`Starting download of archive to: ${u}`),yield AP(m.signedDownloadUrl,u,a);let y=Yn(u);return N(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),Wa()&&(yield ym(u,d)),yield Qk(u,d),N("Cache restored successfully"),m.matchedKey}catch(A){let d=A;if(d.name===Nn.name)throw A;d instanceof Jn&&typeof d.statusCode=="number"&&d.statusCode>=500?$l(`Failed to restore: ${A.message}`):et(`Failed to restore: ${A.message}`)}finally{try{u&&(yield ep(u))}catch(A){w(`Failed to delete archive: ${A}`)}}})}function Rk(t,e,r){return Xu(this,arguments,void 0,function*(s,n,i,o=!1){let a=sm();return w(`Cache service version: ${a}`),P5(s),Nk(n),a==="v2"?yield ISe(s,n,i,o):yield CSe(s,n,i,o)})}function CSe(t,e,r){return Xu(this,arguments,void 0,function*(s,n,i,o=!1){var a,c,l,u,A;let d=yield tp(),p=-1,m=yield L0(s);if(w("Cache Paths:"),w(`${JSON.stringify(m)}`),m.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 f=yield Zd(),y=Cm.join(f,Jo(d));w(`Archive Path: ${y}`);try{yield xk(f,m,d),Wa()&&(yield ym(y,d));let g=10*1024*1024*1024,E=Yn(y);if(w(`File Size: ${E}`),E>g&&!lP())throw new Error(`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the 10GB limit, not saving cache.`);w("Reserving Cache");let C=yield D8(n,s,{compressionMethod:d,enableCrossOsArchive:o,cacheSize:E});if(!((a=C?.result)===null||a===void 0)&&a.cacheId)p=(c=C?.result)===null||c===void 0?void 0:c.cacheId;else throw C?.statusCode===400?new Error((u=(l=C?.error)===null||l===void 0?void 0:l.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the data cap limit, not saving cache.`):new Ku(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(A=C?.error)===null||A===void 0?void 0:A.message}`);w(`Saving Cache (ID: ${p})`),yield dP(p,y,"",i)}catch(g){let E=g;if(E.name===Nn.name)throw g;E.name===Ku.name?N(`Failed to save: ${E.message}`):E instanceof Jn&&typeof E.statusCode=="number"&&E.statusCode>=500?$l(`Failed to save: ${E.message}`):et(`Failed to save: ${E.message}`)}finally{try{yield ep(y)}catch(g){w(`Failed to delete archive: ${g}`)}}return p})}function ISe(t,e,r){return Xu(this,arguments,void 0,function*(s,n,i,o=!1){i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let a=yield tp(),c=Bk(),l=-1,u=yield L0(s);if(w("Cache Paths:"),w(`${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 A=yield Zd(),d=Cm.join(A,Jo(a));w(`Archive Path: ${d}`);try{yield xk(A,u,a),Wa()&&(yield ym(d,a));let p=Yn(d);w(`File Size: ${p}`),i.archiveSizeBytes=p,w("Reserving Cache");let m=su(s,a,o),f={key:n,version:m},y;try{let C=yield c.CreateCacheEntry(f);if(!C.ok)throw C.message&&et(`Cache reservation failed: ${C.message}`),new Error(C.message||"Response was not ok");y=C.signedUploadUrl}catch(C){throw w(`Failed to reserve cache: ${C}`),new Ku(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}w(`Attempting to upload cache located at: ${d}`),yield dP(l,d,y,i);let g={key:n,version:m,sizeBytes:`${p}`},E=yield c.FinalizeCacheEntryUpload(g);if(w(`FinalizeCacheEntryUploadResponse: ${E.ok}`),!E.ok)throw E.message?new cI(E.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);l=parseInt(E.entryId)}catch(p){let m=p;if(m.name===Nn.name)throw p;m.name===Ku.name?N(`Failed to save: ${m.message}`):m.name===cI.name?et(m.message):m instanceof Jn&&typeof m.statusCode=="number"&&m.statusCode>=500?$l(`Failed to save: ${m.message}`):et(`Failed to save: ${m.message}`)}finally{try{yield ep(d)}catch(p){w(`Failed to delete archive: ${p}`)}}return l})}var D5=B(require("util"),1),Ni=class t{opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=D5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=vk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=vk.default.join(this.cacheDir,this.opts.cacheFile),lI.default.existsSync(this.cacheDir)||lI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){w(`Cache.save ${e}`);let s=this.copyToCache(e),n=await Ld(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(w(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&Sk())if(r)try{w(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Rk([this.cacheDir],this.ghaCacheKey)}catch(i){et(`Failed to save cache: ${i}`)}else w(`Cache.save sending ${this.ghaCacheKey} to post state`),Yl(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=_z(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return N(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Sk()){if(w("GitHub Actions cache feature available"),await k5([this.cacheDir],this.ghaCacheKey))return N(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Ld(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),N(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?N("GitHub Actions cache disabled"):N("GitHub Actions cache feature not available")}catch(e){et(`Failed to restore cache: ${e}`)}return""}static async post(){let e=DG(t.POST_CACHE_KEY);if(!e)return N("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(s){throw new Error(`Failed to parse cache post state: ${s}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{N(`Caching ${r.key} to GitHub Actions cache`),await Rk([r.dir],r.key)}catch(s){et(`Failed to save cache: ${s}`)}return r}copyToCache(e){return N(`Copying ${e} to ${this.cachePath}`),lI.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${Tk.default.platform()}-${Tk.default.arch()}${e?"v"+e:""}`}};var _5=!!process.env.STATE_isPost;_5||Yl("isPost","true");async function L5(t,e){if(_5)e&&await e(),await me("Post cache",async()=>{await Ni.post()});else try{await t()}catch(r){kG(r.message)}}var ZX=B(require("child_process"),1),Ot=B(require("fs"),1),eZ=B(require("fs/promises"),1),Yr=B(require("os"),1),Tt=B(require("path"),1),tZ=B(H5(),1),QB=B(bD(),1);var TD=B(require("fs"),1),K9=B(require("os"),1),X9=B(require("path"),1),Z9=B(j9(),1),$r=class t{static _tmpDir=TD.default.mkdtempSync(X9.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||K9.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return TD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return Z9.tmpNameSync(e)}};var _D=B(require("fs"),1),a6=B(require("os"),1),Lm=B(require("path"),1);var Ae=class{static async exec(e,r,s){return w(`Exec.exec: ${e} ${r?.join(" ")}`),os(e,r,s)}static async getExecOutput(e,r,s){return w(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Qd(e,r,s)}};var DD=B(require("crypto"),1),i6=B(require("fs"),1),_m=B(require("path"),1),o6=B(bD(),1);var Be=class t extends Error{constructor(e,r,s,...n){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of n)for(let o in i){let a=i[o];this[o]=Buffer.isBuffer(a)?a.toString(s.encoding):a==null?a:JSON.parse(JSON.stringify(a))}}};var e6=function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)};var WI=function(t){let e=[];for(let r=0,s=t.length;r<s;r++){let n=t[r];if(n==null||n===!1)e[r]={disabled:!0};else if(typeof n=="string"||typeof n=="number")e[r]={name:`${n}`};else if(e6(n)){if(typeof n.name!="string")throw new Be("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);e[r]=n}else throw new Be("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(n)} at position ${r}`])}return e};var vD=class{constructor(e=100){this.size=e,this.length=0,this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){let r=this.length+e.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let s=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),s.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let s=this.clone();this.buf[0]=e,s.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},PD=vD;var Ove=12,Fve=13,Uve=10,qve=32,Gve=9,t6=function(t){return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new PD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter.map(e=>e.length),t.quote!==null?t.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new PD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(e=>e.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([Fve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Uve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Ove],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([qve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Gve],"utf8").toString(),t.encoding)]}};var r6=function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})};var kD=function(t){let e={};for(let s in t)e[r6(s)]=t[s];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new Be("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new Be("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new Be("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(s){let n=Date.parse(s);return isNaN(n)?s:new Date(n)};else if(typeof e.cast_date!="function")throw new Be("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=void 0,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=WI(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new Be("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new Be("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new Be("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=Buffer.from(e.comment,e.encoding)),!Buffer.isBuffer(e.comment))throw new Be("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);if(e.comment_no_infix===void 0||e.comment_no_infix===null||e.comment_no_infix===!1)e.comment_no_infix=!1;else if(e.comment_no_infix!==!0)throw new Be("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);let r=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new Be("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);if(e.delimiter=e.delimiter.map(function(s){if(s==null||s===!1)return Buffer.from(",",e.encoding);if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new Be("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return s}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new Be("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new Be("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Buffer.isBuffer(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new Be("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.on_skip!==void 0&&e.on_skip!==null&&typeof e.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(e.on_skip)}`);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=Buffer.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=Buffer.from(e.quote,e.encoding)),!Buffer.isBuffer(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Buffer.isBuffer(e.record_delimiter)){if(e.record_delimiter.length===0)throw new Be("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new Be("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(s,n){if(typeof s!="string"&&!Buffer.isBuffer(s))throw new Be("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);if(s.length===0)throw new Be("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);return typeof s=="string"&&(s=Buffer.from(s,e.encoding)),s}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e};var s6=function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},Hve=13,zve=10,AA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},n6=function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=kD(t);return{info:e,original_options:t,options:r,state:t6(r),__needMoreData:function(s,n,i){if(i)return!1;let{encoding:o,escape:a,quote:c}=this.options,{quoting:l,needMoreDataSize:u,recordDelimiterMaxLength:A}=this.state,d=n-s-1,p=Math.max(u,A===0?Buffer.from(`\r
`,o).length:A,l?(a===null?0:a.length)+c.length:0,l?c.length+A:0);return d<p},parse:function(s,n,i,o){let{bom:a,comment_no_infix:c,encoding:l,from_line:u,ltrim:A,max_record_size:d,raw:p,relax_quotes:m,rtrim:f,skip_empty_lines:y,to:g,to_line:E}=this.options,{comment:C,escape:I,quote:x,record_delimiter:k}=this.options,{bomSkipped:U,previousBuf:de,rawBuffer:we,escapeIsQuote:Se}=this.state,V;if(de===void 0)if(s===void 0){o();return}else V=s;else de!==void 0&&s===void 0?V=de:V=Buffer.concat([de,s]);if(U===!1)if(a===!1)this.state.bomSkipped=!0;else if(V.length<3){if(n===!1){this.state.previousBuf=V;return}}else{for(let Ee in AA)if(AA[Ee].compare(V,0,AA[Ee].length)===0){let bt=AA[Ee].length;this.state.bufBytesStart+=bt,V=V.slice(bt);let Ke=kD({...this.original_options,encoding:Ee});for(let ut in Ke)this.options[ut]=Ke[ut];({comment:C,escape:I,quote:x}=this.options);break}this.state.bomSkipped=!0}let se=V.length,q;for(q=0;q<se&&!this.__needMoreData(q,se,n);q++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),E!==-1&&this.info.lines>E){this.state.stop=!0,o();return}this.state.quoting===!1&&k.length===0&&this.__autoDiscoverRecordDelimiter(V,q)&&(k=this.options.record_delimiter);let Ee=V[q];if(p===!0&&we.append(Ee),(Ee===Hve||Ee===zve)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(I!==null&&this.state.quoting===!0&&this.__isEscape(V,q,Ee)&&q+I.length<se)if(Se){if(this.__isQuote(V,q+I.length)){this.state.escaping=!0,q+=I.length-1;continue}}else{this.state.escaping=!0,q+=I.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(V,q))if(this.state.quoting===!0){let ut=V[q+x.length],Pi=f&&this.__isCharTrimable(V,q+x.length),Jr=C!==null&&this.__compareBytes(C,V,q+x.length,ut),Tn=this.__isDelimiter(V,q+x.length,ut),Ea=k.length===0?this.__autoDiscoverRecordDelimiter(V,q+x.length):this.__isRecordDelimiter(ut,V,q+x.length);if(I!==null&&this.__isEscape(V,q,Ee)&&this.__isQuote(V,q+I.length))q+=I.length-1;else if(!ut||Tn||Ea||Jr||Pi){this.state.quoting=!1,this.state.wasQuoting=!0,q+=x.length-1;continue}else if(m===!1){let Vc=this.__error(new Be("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(ut)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Vc!==void 0)return Vc}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(x),q+=x.length-1}else if(this.state.field.length!==0){if(m===!1){let ut=this.__infoField(),Pi=Object.keys(AA).map(Tn=>AA[Tn].equals(this.state.field.toString())?Tn:!1).filter(Boolean)[0],Jr=this.__error(new Be("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(ut.column)} at line ${ut.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,Pi?`(${Pi} bom)`:void 0],this.options,ut,{field:this.state.field}));if(Jr!==void 0)return Jr}}else{this.state.quoting=!0,q+=x.length-1;continue}if(this.state.quoting===!1){let ut=this.__isRecordDelimiter(Ee,V,q);if(ut!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),q+=ut-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,q+=ut-1;continue}this.info.bytes=this.state.bufBytesStart+q;let Tn=this.__onField();if(Tn!==void 0)return Tn;this.info.bytes=this.state.bufBytesStart+q+ut;let Ea=this.__onRecord(i);if(Ea!==void 0)return Ea;if(g!==-1&&this.info.records>=g){this.state.stop=!0,o();return}}this.state.commenting=!1,q+=ut-1;continue}if(this.state.commenting)continue;if(C!==null&&(c===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(C,V,q,Ee)!==0){this.state.commenting=!0;continue}let Pi=this.__isDelimiter(V,q,Ee);if(Pi!==0){this.info.bytes=this.state.bufBytesStart+q;let Jr=this.__onField();if(Jr!==void 0)return Jr;q+=Pi-1;continue}}}if(this.state.commenting===!1&&d!==0&&this.state.record_length+this.state.field.length>d)return this.__error(new Be("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${d}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let bt=A===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(V,q),Ke=f===!1||this.state.wasQuoting===!1;if(bt===!0&&Ke===!0)this.state.field.append(Ee);else{if(f===!0&&!this.__isCharTrimable(V,q))return this.__error(new Be("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));bt===!1&&(q+=this.__isCharTrimable(V,q)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Ee=this.__error(new Be("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(Ee!==void 0)return Ee}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+q;let Ee=this.__onField();if(Ee!==void 0)return Ee;let bt=this.__onRecord(i);if(bt!==void 0)return bt}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=q,this.state.previousBuf=V.slice(q);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(s){let{columns:n,group_columns_by_name:i,encoding:o,info:a,from:c,relax_column_count:l,relax_column_count_less:u,relax_column_count_more:A,raw:d,skip_records_with_empty_values:p}=this.options,{enabled:m,record:f}=this.state;if(m===!1)return this.__resetRecord();let y=f.length;if(n===!0){if(p===!0&&s6(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=y),y!==this.state.expectedRecordLength){let g=n===!1?new Be("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new Be("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(l===!0||u===!0&&y<this.state.expectedRecordLength||A===!0&&y>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=g;else{let E=this.__error(g);if(E)return E}}if(p===!0&&s6(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,c===1||this.info.records>=c){let{objname:g}=this.options;if(n!==!1){let E={};for(let C=0,I=f.length;C<I;C++)n[C]===void 0||n[C].disabled||(i===!0&&E[n[C].name]!==void 0?Array.isArray(E[n[C].name])?E[n[C].name]=E[n[C].name].concat(f[C]):E[n[C].name]=[E[n[C].name],f[C]]:E[n[C].name]=f[C]);if(d===!0||a===!0){let C=Object.assign({record:E},d===!0?{raw:this.state.rawBuffer.toString(o)}:{},a===!0?{info:this.__infoRecord()}:{}),I=this.__push(g===void 0?C:[E[g],C],s);if(I)return I}else{let C=this.__push(g===void 0?E:[E[g],E],s);if(C)return C}}else if(d===!0||a===!0){let E=Object.assign({record:f},d===!0?{raw:this.state.rawBuffer.toString(o)}:{},a===!0?{info:this.__infoRecord()}:{}),C=this.__push(g===void 0?E:[f[g],E],s);if(C)return C}else{let E=this.__push(g===void 0?f:[f[g],f],s);if(E)return E}}this.__resetRecord()},__firstLineToColumns:function(s){let{firstLineToHeaders:n}=this.state;try{let i=n===void 0?s:n.call(null,s);if(!Array.isArray(i))return this.__error(new Be("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let o=WI(i);this.state.expectedRecordLength=o.length,this.options.columns=o,this.__resetRecord();return}catch(i){return i}},__resetRecord:function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:s,encoding:n,rtrim:i,max_record_size:o}=this.options,{enabled:a,wasQuoting:c}=this.state;if(a===!1)return this.__resetField();let l=this.state.field.toString(n);if(i===!0&&c===!1&&(l=l.trimRight()),s===!0){let[u,A]=this.__cast(l);if(u!==void 0)return u;l=A}this.state.record.push(l),o!==0&&typeof l=="string"&&(this.state.record_length+=l.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(s,n){let{on_record:i}=this.options;if(i!==void 0){let o=this.__infoRecord();try{s=i.call(null,s,o)}catch(a){return a}if(s==null)return}this.info.bytes_records+=this.info.bytes,n(s)},__cast:function(s){let{columns:n,relax_column_count:i}=this.options;if(Array.isArray(n)===!0&&i&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let a=this.__infoField();return[void 0,this.state.castField.call(null,s,a)]}catch(a){return[a]}if(this.__isFloat(s))return[void 0,parseFloat(s)];if(this.options.cast_date!==!1){let a=this.__infoField();return[void 0,this.options.cast_date.call(null,s,a)]}return[void 0,s]},__isCharTrimable:function(s,n){return((o,a)=>{let{timchars:c}=this.state;e:for(let l=0;l<c.length;l++){let u=c[l];for(let A=0;A<u.length;A++)if(u[A]!==o[a+A])continue e;return u.length}return 0})(s,n)},__isFloat:function(s){return s-parseFloat(s)+1>=0},__compareBytes:function(s,n,i,o){if(s[0]!==o)return 0;let a=s.length;for(let c=1;c<a;c++)if(s[c]!==n[i+c])return 0;return a},__isDelimiter:function(s,n,i){let{delimiter:o,ignore_last_delimiters:a}=this.options;if(a===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(a!==!1&&typeof a=="number"&&this.state.record.length===a-1)return 0;e:for(let c=0;c<o.length;c++){let l=o[c];if(l[0]===i){for(let u=1;u<l.length;u++)if(l[u]!==s[n+u])continue e;return l.length}}return 0},__isRecordDelimiter:function(s,n,i){let{record_delimiter:o}=this.options,a=o.length;e:for(let c=0;c<a;c++){let l=o[c],u=l.length;if(l[0]===s){for(let A=1;A<u;A++)if(l[A]!==n[i+A])continue e;return l.length}}return 0},__isEscape:function(s,n,i){let{escape:o}=this.options;if(o===null)return!1;let a=o.length;if(o[0]===i){for(let c=0;c<a;c++)if(o[c]!==s[n+c])return!1;return!0}return!1},__isQuote:function(s,n){let{quote:i}=this.options;if(i===null)return!1;let o=i.length;for(let a=0;a<o;a++)if(i[a]!==s[n+a])return!1;return!0},__autoDiscoverRecordDelimiter:function(s,n){let{encoding:i}=this.options,o=[Buffer.from(`\r
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let a=0;a<o.length;a++){let c=o[a].length;for(let l=0;l<c;l++)if(o[a][l]!==s[n+l])continue e;return this.options.record_delimiter.push(o[a]),this.state.recordDelimiterMaxLength=o[a].length,o[a].length}return 0},__error:function(s){let{encoding:n,raw:i,skip_records_with_error:o}=this.options,a=typeof s=="string"?new Error(s):s;if(o){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(a,i?this.state.rawBuffer.toString(n):void 0)}catch(c){return c}return}else return a},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},__infoField:function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};var jI=function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=n6(e),n=a=>{s.options.objname===void 0?r.push(a):r[a[0]]=a[1]},i=()=>{},o=s.parse(t,!0,n,i);if(o!==void 0)throw o;return r};var br=class t{static getInputList(e,r){return this.getList(mn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=jI(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=mn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await mt("powershell",!0),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let o in r)i.push(`-${o} '${r[o].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${n}' ${i.join(" ")}`]}}static isDirectory(e){try{return i6.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return DD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return DD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return o6.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=_m.default.resolve(e);return _m.default.resolve(r).startsWith(s.endsWith(_m.default.sep)?s:`${s}${_m.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,o=[];return s&&o.push(`${s}h`),n&&o.push(`${n}m`),(i||o.length===0)&&o.push(`${i}s`),o.join("")}};var cr=class t{static get configDir(){return process.env.DOCKER_CONFIG||Lm.default.join(a6.default.homedir(),".docker")}static configFile(){let e=Lm.default.join(t.configDir,"config.json");if(_D.default.existsSync(e))return JSON.parse(_D.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await mt("docker",!0).then(e=>(w(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(w(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return Ae.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Ae.getExecOutput("docker",e,t.execOptions(r))}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return JSON.parse(s.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,s=e.indexOf("@"),n=e.lastIndexOf(":");if(s>=0)r=s;else if(n>=0)r=n;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r){let s=t.parseRepoTag(e),n=s.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=s.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),o=new Ni({htcName:n,htcVersion:i,baseCacheDir:Lm.default.join(t.configDir,".cache","images",n),cacheFile:"image.tar"}),a;r&&(a=await o.find(),a&&(N(`Image found from cache in ${a}`),await t.getExecOutput(["load","-i",a],{ignoreReturnCode:!0}).then(l=>{l.stderr.length>0&&l.exitCode!=0&&et(`Failed to load image from cache: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let c=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0){c=!1;let u=l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(a)et(`Failed to pull image, using one from cache: ${u}`);else throw new Error(u)}}),r&&c){let l=Lm.default.join($r.tmpDir(),`${br.hash(e)}.tar`);await t.getExecOutput(["save","-o",l,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)et(`Failed to save image: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let A=await o.save(l);N(`Image cached to ${A}`)}})}}};var KI=require("fs"),c6=require("os"),dA=class{constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,KI.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,KI.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${c6.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var FD=B(p6(),1),m6=B(Gl(),1),sPe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function h6(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}function f6(t){return new FD.HttpClient().getAgent(t)}function nPe(t){return new FD.HttpClient().getAgentDispatcher(t)}function g6(t){let e=nPe(t);return(s,n)=>sPe(this,void 0,void 0,function*(){return(0,m6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))})}function E6(){return process.env.GITHUB_API_URL||"https://api.github.com"}function UD(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}function ma(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}function nB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>nB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}function y6(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=(i,o)=>Promise.resolve().then(n.bind(null,o)).then(i.bind(null,o))),e==="after"&&(s=(i,o)=>{let a;return Promise.resolve().then(i.bind(null,o)).then(c=>(a=c,n(a,o))).then(()=>a)}),e==="error"&&(s=(i,o)=>Promise.resolve().then(i.bind(null,o)).catch(a=>n(a,o))),t.registry[r].push({hook:s,orig:n})}function C6(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}var I6=Function.bind,B6=I6.bind(I6);function w6(t,e,r){let s=B6(C6,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=B6(y6,null).apply(null,i)})}function oPe(){let t=Symbol("Singular"),e={registry:{}},r=nB.bind(null,e,t);return w6(r,e,t),r}function aPe(){let t={registry:{}},e=nB.bind(null,t);return w6(e,t),e}var b6={Singular:oPe,Collection:aPe};var cPe="0.0.0-development",lPe=`octokit-endpoint.js/${cPe} ${ma()}`,uPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":lPe},mediaType:{format:""}};function APe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}function dPe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}function N6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{dPe(e[s])?s in t?r[s]=N6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}function Q6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}function GD(t,e,r){if(typeof e=="string"){let[n,i]=e.split(" ");r=Object.assign(i?{method:n,url:i}:{url:n},r)}else r=Object.assign({},e);r.headers=APe(r.headers),Q6(r),Q6(r.headers);let s=N6(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(s.mediaType.previews=t.mediaType.previews.filter(n=>!s.mediaType.previews.includes(n)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(n=>n.replace(/-preview/,""))),s}function pPe(t,e){let r=/\?/.test(t)?"&":"?",s=Object.keys(e);return s.length===0?t:t+r+s.map(n=>n==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(e[n])}`).join("&")}var mPe=/\{[^{}}]+\}/g;function hPe(t){return t.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}function fPe(t){let e=t.match(mPe);return e?e.map(hPe).reduce((r,s)=>r.concat(s),[]):[]}function x6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}function S6(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}function mA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Om(t,e,r){return e=t==="+"||t==="#"?S6(e):mA(e),r?mA(r)+"="+e:e}function pA(t){return t!=null}function qD(t){return t===";"||t==="&"||t==="?"}function gPe(t,e,r,s){var n=t[r],i=[];if(pA(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")n=n.toString(),s&&s!=="*"&&(n=n.substring(0,parseInt(s,10))),i.push(Om(e,n,qD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(pA).forEach(function(o){i.push(Om(e,o,qD(e)?r:""))}):Object.keys(n).forEach(function(o){pA(n[o])&&i.push(Om(e,n[o],o))});else{let o=[];Array.isArray(n)?n.filter(pA).forEach(function(a){o.push(Om(e,a))}):Object.keys(n).forEach(function(a){pA(n[a])&&(o.push(mA(a)),o.push(Om(e,n[a].toString())))}),qD(e)?i.push(mA(r)+"="+o.join(",")):o.length!==0&&i.push(o.join(","))}else e===";"?pA(n)&&i.push(mA(r)):n===""&&(e==="&"||e==="?")?i.push(mA(r)+"="):n===""&&i.push("");return i}function EPe(t){return{expand:yPe.bind(null,t)}}function yPe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let a="",c=[];if(r.indexOf(n.charAt(0))!==-1&&(a=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(l){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(l);c.push(gPe(e,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var o=",";return a==="?"?o="&":a!=="#"&&(o=a),(c.length!==0?a:"")+c.join(o)}else return c.join(",")}else return S6(i)}),t==="/"?t:t.replace(/\/$/,"")}function R6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=x6(t,["method","baseUrl","url","headers","request","mediaType"]),o=fPe(r);r=EPe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let a=Object.keys(t).filter(u=>o.includes(u)).concat("baseUrl"),c=x6(i,a);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let u=s.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[];s.accept=u.concat(t.mediaType.previews).map(A=>{let d=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${A}-preview${d}`}).join(",")}return["GET","HEAD"].includes(e)?r=pPe(r,c):"data"in c?n=c.data:Object.keys(c).length&&(n=c),!s["content-type"]&&typeof n<"u"&&(s["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof n>"u"&&(n=""),Object.assign({method:e,url:r,headers:s},typeof n<"u"?{body:n}:null,t.request?{request:t.request}:null)}function CPe(t,e,r){return R6(GD(t,e,r))}function T6(t,e){let r=GD(t,e),s=CPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:T6.bind(null,r),merge:GD.bind(null,r),parse:R6})}var v6=T6(null,uPe);var G6=B(_6(),1);var M6=/^-?\d+n+$/,HD=JSON.stringify,L6=JSON.parse,O6=(t,e,r)=>{if("rawJSON"in JSON)return HD(t,(c,l)=>typeof l=="bigint"?JSON.rawJSON(l.toString()):typeof e=="function"?e(c,l):(Array.isArray(e)&&e.includes(c),l),r);if(!t)return HD(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return HD(t,(c,l)=>typeof l=="string"&&!!l.match(M6)||typeof l=="bigint"?l.toString()+"n":typeof e=="function"?e(c,l):(Array.isArray(e)&&e.includes(c),l),r).replace(s,"$1$2$3").replace(n,"$1$2$3")},IPe=()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),BPe=(t,e)=>{let r=/^-?\d+$/;return JSON.parse(t,(s,n,i)=>{let o=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n<Number.MIN_SAFE_INTEGER),a=r.test(i.source);return o&&a?BigInt(i.source):typeof e!="function"?n:e(s,n,i)})},F6=(t,e)=>{if(!t)return L6(t,e);if(IPe())return BPe(t,e);let r=Number.MAX_SAFE_INTEGER.toString(),s=r.length,n=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g,i=/^"-?\d+n+"$/,o=/^-?\d+n$/,a=t.replace(n,(c,l,u,A)=>{let d=c[0]==='"';if(d&&!!c.match(i))return c.substring(0,c.length-1)+'n"';let m=u||A,f=l&&(l.length<s||l.length===s&&l<=r);return d||m||f?c:'"'+c+'n"'});return L6(a,(c,l,u)=>typeof l=="string"&&!!l.match(o)?BigInt(l.substring(0,l.length-1)):typeof l=="string"&&!!l.match(M6)?l.substring(0,l.length-1):typeof e!="function"?l:e(c,l,u))};var Gc=class extends Error{name;status;request;response;constructor(e,r,s){super(e,{cause:s.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in s&&(this.response=s.response);let n=Object.assign({},s.request);s.request.headers.authorization&&(n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})),n.url=n.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=n}};var wPe="10.0.8",bPe={headers:{"user-agent":`octokit-request.js/${wPe} ${ma()}`}};function QPe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}var U6=()=>"";async function q6(t){let e=t.request?.fetch||globalThis.fetch;if(!e)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let r=t.request?.log||console,s=t.request?.parseSuccessResponseBody!==!1,n=QPe(t.body)||Array.isArray(t.body)?O6(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([A,d])=>[A,String(d)])),o;try{o=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(A){let d="Unknown Error";if(A instanceof Error){if(A.name==="AbortError")throw A.status=500,A;d=A.message,A.name==="TypeError"&&"cause"in A&&(A.cause instanceof Error?d=A.cause.message:typeof A.cause=="string"&&(d=A.cause))}let p=new Gc(d,500,{request:t});throw p.cause=A,p}let a=o.status,c=o.url,l={};for(let[A,d]of o.headers)l[A]=d;let u={url:c,status:a,headers:l,data:""};if("deprecation"in l){let A=l.link&&l.link.match(/<([^<>]+)>; rel="deprecation"/),d=A&&A.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${l.sunset}${d?`. See ${d}`:""}`)}if(a===204||a===205)return u;if(t.method==="HEAD"){if(a<400)return u;throw new Gc(o.statusText,a,{response:u,request:t})}if(a===304)throw u.data=await zD(o),new Gc("Not modified",a,{response:u,request:t});if(a>=400)throw u.data=await zD(o),new Gc(NPe(u.data),a,{response:u,request:t});return u.data=s?await zD(o):o.body,u}async function zD(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(U6);let r=(0,G6.safeParse)(e);if(xPe(r)){let s="";try{return s=await t.text(),F6(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(U6):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}function xPe(t){return t.type==="application/json"||t.type==="application/scim+json"}function NPe(t){if(typeof t=="string")return t;if(t instanceof ArrayBuffer)return"Unknown error";if("message"in t){let e="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map(r=>JSON.stringify(r)).join(", ")}${e}`:`${t.message}${e}`}return`Unknown error: ${JSON.stringify(t)}`}function VD(t,e){let r=t.defaults(e);return Object.assign(function(n,i){let o=r.merge(n,i);if(!o.request||!o.request.hook)return q6(r.parse(o));let a=(c,l)=>q6(r.parse(r.merge(c,l)));return Object.assign(a,{endpoint:r,defaults:VD.bind(null,r)}),o.request.hook(a,o)},{endpoint:r,defaults:VD.bind(null,r)})}var Um=VD(v6,bPe);var SPe="0.0.0-development";function RPe(t){return`Request failed due to following response errors:
`+t.errors.map(e=>` - ${e.message}`).join(`
`)}var TPe=class extends Error{constructor(t,e,r){super(RPe(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},vPe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],PPe=["query","method","url"],H6=/\/api\/v3\/?$/;function kPe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let o in r)if(PPe.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((o,a)=>vPe.includes(a)?(o[a]=s[a],o):(o.variables||(o.variables={}),o.variables[a]=s[a],o),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return H6.test(i)&&(n.url=i.replace(H6,"/api/graphql")),t(n).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new TPe(n,a,o.data)}return o.data.data})}function $D(t,e){let r=t.defaults(e);return Object.assign((n,i)=>kPe(r,n,i),{defaults:$D.bind(null,r),endpoint:r.endpoint})}var d7e=$D(Um,{headers:{"user-agent":`octokit-graphql.js/${SPe} ${ma()}`},method:"POST",url:"/graphql"});function z6(t){return $D(t,{method:"POST",url:"/graphql"})}var YD="(?:[a-zA-Z0-9_-]+)",V6="\\.",$6=new RegExp(`^${YD}${V6}${YD}${V6}${YD}$`),DPe=$6.test.bind($6);async function _Pe(t){let e=DPe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}function LPe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function MPe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=LPe(t),e(n)}var Y6=function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(_Pe.bind(null,e),{hook:MPe.bind(null,e)})};var JD="7.0.6";var J6=()=>{},OPe=console.warn.bind(console),FPe=console.error.bind(console);function UPe(t={}){return typeof t.debug!="function"&&(t.debug=J6),typeof t.info!="function"&&(t.info=J6),typeof t.warn!="function"&&(t.warn=OPe),typeof t.error!="function"&&(t.error=FPe),t}var W6=`octokit-core.js/${JD} ${ma()}`,cB=class{static VERSION=JD;static defaults(e){return class extends this{constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new b6.Collection,s={baseUrl:Um.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${W6}`:W6,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Um.defaults(s),this.graphql=z6(this.request).defaults(s),this.log=UPe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...o}=e,a=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:o},e.auth));r.wrap("request",a.hook),this.auth=a}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=Y6(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i<n.plugins.length;++i)Object.assign(this,n.plugins[i](this,e))}request;graphql;log;hook;auth};var WD="17.0.0";var qPe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteCustomImageFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],deleteCustomImageVersionFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteHostedRunnerForOrg:["DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomImageForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],getCustomImageVersionForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getHostedRunnerForOrg:["GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],getHostedRunnersGithubOwnedImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/github-owned"],getHostedRunnersLimitsForOrg:["GET /orgs/{org}/actions/hosted-runners/limits"],getHostedRunnersMachineSpecsForOrg:["GET /orgs/{org}/actions/hosted-runners/machine-sizes"],getHostedRunnersPartnerImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/partner"],getHostedRunnersPlatformsForOrg:["GET /orgs/{org}/actions/hosted-runners/platforms"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listCustomImageVersionsForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions"],listCustomImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listGithubHostedRunnersInGroupForOrg:["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"],listHostedRunnersForOrg:["GET /orgs/{org}/actions/hosted-runners"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateHostedRunnerForOrg:["PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingPremiumRequestUsageReportOrg:["GET /organizations/{org}/settings/billing/premium_request/usage"],getGithubBillingPremiumRequestUsageReportUser:["GET /users/{username}/settings/billing/premium_request/usage"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubBillingUsageReportUser:["GET /users/{username}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},campaigns:{createCampaign:["POST /orgs/{org}/campaigns"],deleteCampaign:["DELETE /orgs/{org}/campaigns/{campaign_number}"],getCampaignSummary:["GET /orgs/{org}/campaigns/{campaign_number}"],listOrgCampaigns:["GET /orgs/{org}/campaigns"],updateCampaign:["PATCH /orgs/{org}/campaigns/{campaign_number}"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},credentials:{revoke:["POST /credentials/revoke"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],repositoryAccessForOrg:["GET /organizations/{org}/dependabot/repository-access"],setRepositoryAccessDefaultLevel:["PUT /organizations/{org}/dependabot/repository-access/default-level"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],updateRepositoryAccessForOrg:["PATCH /organizations/{org}/dependabot/repository-access"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},enterpriseTeamMemberships:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove"],get:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],list:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships"],remove:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"]},enterpriseTeamOrganizations:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove"],delete:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignment:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignments:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations"]},enterpriseTeams:{create:["POST /enterprises/{enterprise}/teams"],delete:["DELETE /enterprises/{enterprise}/teams/{team_slug}"],get:["GET /enterprises/{enterprise}/teams/{team_slug}"],list:["GET /enterprises/{enterprise}/teams"],update:["PATCH /enterprises/{enterprise}/teams/{team_slug}"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},hostedCompute:{createNetworkConfigurationForOrg:["POST /orgs/{org}/settings/network-configurations"],deleteNetworkConfigurationFromOrg:["DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkConfigurationForOrg:["GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkSettingsForOrg:["GET /orgs/{org}/settings/network-settings/{network_settings_id}"],listNetworkConfigurationsForOrg:["GET /orgs/{org}/settings/network-configurations"],updateNetworkConfigurationForOrg:["PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addBlockedByDependency:["POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],getParent:["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listDependenciesBlockedBy:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],listDependenciesBlocking:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeDependencyBlockedBy:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createArtifactStorageRecord:["POST /orgs/{org}/artifacts/metadata/storage-record"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createWebhook:["POST /orgs/{org}/hooks"],customPropertiesForOrgsCreateOrUpdateOrganizationValues:["PATCH /organizations/{org}/org-properties/values"],customPropertiesForOrgsGetOrganizationValues:["GET /organizations/{org}/org-properties/values"],customPropertiesForReposCreateOrUpdateOrganizationDefinition:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposCreateOrUpdateOrganizationDefinitions:["PATCH /orgs/{org}/properties/schema"],customPropertiesForReposCreateOrUpdateOrganizationValues:["PATCH /orgs/{org}/properties/values"],customPropertiesForReposDeleteOrganizationDefinition:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinition:["GET /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinitions:["GET /orgs/{org}/properties/schema"],customPropertiesForReposGetOrganizationValues:["GET /orgs/{org}/properties/values"],delete:["DELETE /orgs/{org}"],deleteAttestationsBulk:["POST /orgs/{org}/attestations/delete-request"],deleteAttestationsById:["DELETE /orgs/{org}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /orgs/{org}/attestations/digest/{subject_digest}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],disableSelectedRepositoryImmutableReleasesOrganization:["DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],enableSelectedRepositoryImmutableReleasesOrganization:["PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],get:["GET /orgs/{org}"],getImmutableReleasesSettings:["GET /orgs/{org}/settings/immutable-releases"],getImmutableReleasesSettingsRepositories:["GET /orgs/{org}/settings/immutable-releases/repositories"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getOrgRulesetHistory:["GET /orgs/{org}/rulesets/{ruleset_id}/history"],getOrgRulesetVersion:["GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listArtifactStorageRecords:["GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"],listAttestationRepositories:["GET /orgs/{org}/attestations/repositories"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listAttestationsBulk:["POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listIssueTypes:["GET /orgs/{org}/issue-types"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setImmutableReleasesSettings:["PUT /orgs/{org}/settings/immutable-releases"],setImmutableReleasesSettingsRepositories:["PUT /orgs/{org}/settings/immutable-releases/repositories"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateIssueType:["PUT /orgs/{org}/issue-types/{issue_type_id}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addItemForOrg:["POST /orgs/{org}/projectsV2/{project_number}/items"],addItemForUser:["POST /users/{username}/projectsV2/{project_number}/items"],deleteItemForOrg:["DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],deleteItemForUser:["DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}"],getFieldForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"],getFieldForUser:["GET /users/{username}/projectsV2/{project_number}/fields/{field_id}"],getForOrg:["GET /orgs/{org}/projectsV2/{project_number}"],getForUser:["GET /users/{username}/projectsV2/{project_number}"],getOrgItem:["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],getUserItem:["GET /users/{username}/projectsV2/{project_number}/items/{item_id}"],listFieldsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields"],listFieldsForUser:["GET /users/{username}/projectsV2/{project_number}/fields"],listForOrg:["GET /orgs/{org}/projectsV2"],listForUser:["GET /users/{username}/projectsV2"],listItemsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/items"],listItemsForUser:["GET /users/{username}/projectsV2/{project_number}/items"],updateItemForOrg:["PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],updateItemForUser:["PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkImmutableReleases:["GET /repos/{owner}/{repo}/immutable-releases"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],customPropertiesForReposCreateOrUpdateRepositoryValues:["PATCH /repos/{owner}/{repo}/properties/values"],customPropertiesForReposGetRepositoryValues:["GET /repos/{owner}/{repo}/properties/values"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disableImmutableReleases:["DELETE /repos/{owner}/{repo}/immutable-releases"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enableImmutableReleases:["PUT /repos/{owner}/{repo}/immutable-releases"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesetHistory:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"],getRepoRulesetVersion:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],listOrgPatternConfigs:["GET /orgs/{org}/secret-scanning/pattern-configurations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],updateOrgPatternConfigs:["PATCH /orgs/{org}/secret-scanning/pattern-configurations"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteAttestationsBulk:["POST /users/{username}/attestations/delete-request"],deleteAttestationsById:["DELETE /users/{username}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /users/{username}/attestations/digest/{subject_digest}"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listAttestationsBulk:["POST /users/{username}/attestations/bulk-list{?per_page,before,after}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},j6=qPe;var Hc=new Map;for(let[t,e]of Object.entries(j6))for(let[r,s]of Object.entries(e)){let[n,i,o]=s,[a,c]=n.split(/ /),l=Object.assign({method:a,url:c},i);Hc.has(t)||Hc.set(t,new Map),Hc.get(t).set(r,{scope:t,methodName:r,endpointDefaults:l,decorations:o})}var GPe={has({scope:t},e){return Hc.get(t).has(e)},getOwnPropertyDescriptor(t,e){return{value:this.get(t,e),configurable:!0,writable:!0,enumerable:!0}},defineProperty(t,e,r){return Object.defineProperty(t.cache,e,r),!0},deleteProperty(t,e){return delete t.cache[e],!0},ownKeys({scope:t}){return[...Hc.get(t).keys()]},set(t,e,r){return t.cache[e]=r},get({octokit:t,scope:e,cache:r},s){if(r[s])return r[s];let n=Hc.get(e).get(s);if(!n)return;let{endpointDefaults:i,decorations:o}=n;return o?r[s]=HPe(t,e,s,i,o):r[s]=t.request.defaults(i),r[s]}};function jD(t){let e={};for(let r of Hc.keys())e[r]=new Proxy({octokit:t,scope:r,cache:{}},GPe);return e}function HPe(t,e,r,s,n){let i=t.request.defaults(s);function o(...a){let c=i.endpoint.merge(...a);if(n.mapToData)return c=Object.assign({},c,{data:c[n.mapToData],[n.mapToData]:void 0}),i(c);if(n.renamed){let[l,u]=n.renamed;t.log.warn(`octokit.${e}.${r}() has been renamed to octokit.${l}.${u}()`)}if(n.deprecated&&t.log.warn(n.deprecated),n.renamedParameters){let l=i.endpoint.merge(...a);for(let[u,A]of Object.entries(n.renamedParameters))u in l&&(t.log.warn(`"${u}" parameter is deprecated for "octokit.${e}.${r}()". Use "${A}" instead`),A in l||(l[A]=l[u]),delete l[u]);return i(l)}return i(...a)}return Object.assign(o,i)}function KD(t){return{rest:jD(t)}}KD.VERSION=WD;function zPe(t){let e=jD(t);return{...e,rest:e}}zPe.VERSION=WD;var VPe="0.0.0-development";function $Pe(t){if(!t.data)return{...t,data:[]};if(!(("total_count"in t.data||"total_commits"in t.data)&&!("url"in t.data)))return t;let r=t.data.incomplete_results,s=t.data.repository_selection,n=t.data.total_count,i=t.data.total_commits;delete t.data.incomplete_results,delete t.data.repository_selection,delete t.data.total_count,delete t.data.total_commits;let o=Object.keys(t.data)[0],a=t.data[o];return t.data=a,typeof r<"u"&&(t.data.incomplete_results=r),typeof s<"u"&&(t.data.repository_selection=s),t.data.total_count=n,t.data.total_commits=i,t}function XD(t,e,r){let s=typeof e=="function"?e.endpoint(r):t.request.endpoint(e,r),n=typeof e=="function"?e:t.request,i=s.method,o=s.headers,a=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let c=await n({method:i,url:a,headers:o}),l=$Pe(c);if(a=((l.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in l.data){let u=new URL(l.url),A=u.searchParams,d=parseInt(A.get("page")||"1",10),p=parseInt(A.get("per_page")||"250",10);d*p<l.data.total_commits&&(A.set("page",String(d+1)),a=u.toString())}return{value:l}}catch(c){if(c.status!==409)throw c;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function K6(t,e,r,s){return typeof r=="function"&&(s=r,r=void 0),X6(t,[],XD(t,e,r)[Symbol.asyncIterator](),s)}function X6(t,e,r,s){return r.next().then(n=>{if(n.done)return e;let i=!1;function o(){i=!0}return e=e.concat(s?s(n.value,o):n.value.data),i?e:X6(t,e,r,s)})}var k7e=Object.assign(K6,{iterator:XD});function ZD(t){return{paginate:Object.assign(K6.bind(null,t),{iterator:XD.bind(null,t)})}}ZD.VERSION=VPe;var O7e=new dA,e_=E6(),YPe={baseUrl:e_,request:{agent:f6(e_),fetch:g6(e_)}},Z6=cB.plugin(KD,ZD).defaults(YPe);function eK(t,e){let r=Object.assign({},e||{}),s=h6(t,r);s&&(r.auth=s);let n=UD(r.userAgent);return n&&(r.userAgent=n),r}var hA=new dA;function tK(t,e,...r){let s=Z6.plugin(...r);return new s(eK(t,e))}var Gm=B(require("http"),1),n_=B(require("https"),1);function t_(t){let e=t.protocol==="https:";if(WPe(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 lB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new lB(`http://${r}`)}else return}function WPe(t){if(!t.hostname)return!1;let e=t.hostname;if(jPe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function jPe(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 lB=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 ha=B(yA(),1),rK=B(Gl(),1),wt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},en;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(en||(en={}));var xr;(function(t){t.Accept="accept",t.ContentType="content-type"})(xr||(xr={}));var Io;(function(t){t.ApplicationJson="application/json"})(Io||(Io={}));var XPe=[en.MovedPermanently,en.ResourceMoved,en.SeeOther,en.TemporaryRedirect,en.PermanentRedirect],ZPe=[en.BadGateway,en.ServiceUnavailable,en.GatewayTimeout],eke=["OPTIONS","GET","DELETE","HEAD"],tke=10,rke=5,r_=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},s_=class{constructor(e){this.message=e}readBody(){return wt(this,void 0,void 0,function*(){return new Promise(e=>wt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return wt(this,void 0,void 0,function*(){return new Promise(e=>wt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var uB=class{constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return wt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return wt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return wt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return wt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return wt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return wt(this,arguments,void 0,function*(r,s={}){s[xr.Accept]=this._getExistingOrDefaultHeader(s,xr.Accept,Io.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Io.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Io.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Io.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return wt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&eke.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===en.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&XPe.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!ZPe.includes(l.message.statusCode))return l;c+=1,c<a&&(yield l.readBody(),yield this._performExponentialBackoff(c))}while(c<a);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return wt(this,void 0,void 0,function*(){return new Promise((s,n)=>{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new s_(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),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),s=t_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?n_:Gm;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},qm(this.requestOptions.headers),qm(e||{})):qm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=qm(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=qm(this.requestOptions.headers)[xr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[xr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=t_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||Gm.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?ha.httpsOverHttps:ha.httpsOverHttp:c=l?ha.httpOverHttps:ha.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new n_.Agent(a):new Gm.Agent(a),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new rK.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return wt(this,void 0,void 0,function*(){e=Math.min(tke,e);let r=rke*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return wt(this,void 0,void 0,function*(){return new Promise((s,n)=>wt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===en.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new r_(u,i);A.result=o.result,n(A)}else s(o)}))})}},qm=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var zc=class extends Error{};zc.prototype.name="InvalidTokenError";function nke(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let s=r.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}function ike(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return nke(e)}catch{return atob(e)}}function sK(t,e){if(typeof t!="string")throw new zc("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,s=t.split(".")[r];if(typeof s!="string")throw new zc(`Invalid token specified: missing part #${r+1}`);let n;try{n=ike(s)}catch(i){throw new zc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new zc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var fa=class t{githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=tK(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...hA.repo}).then(e=>e.data)}async releases(e,r){let s;try{s=await this.releasesRaw(e,r)}catch(n){if(!this.githubToken)throw n;s=await this.releasesRaw(e,r,this.githubToken)}return s}async releasesRaw(e,r,s){let n=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,o=await new uB("docker-actions-toolkit").get(n,s?{Authorization:`token ${s}`}:void 0),a=await o.readBody(),c=o.message.statusCode||500;if(c>=400)throw new Error(`Failed to get ${e} releases from ${n} with status code ${c}: ${a}`);return JSON.parse(a)}static get context(){return hA}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){let r=new URL(t.serverURL).hostname.trimEnd().toUpperCase(),s=r==="GITHUB.COM",n=r.endsWith(".GHE.COM"),i=r.endsWith(".LOCALHOST");return!s&&!n&&!i}static get repository(){return`${hA.repo.owner}/${hA.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:hA.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(e){return`${t.serverURL}/${t.repository}/actions/runs/${t.runId}${e?`/attempts/${t.runAttempt}`:""}`}static get actionsRuntimeToken(){let e=process.env.ACTIONS_RUNTIME_TOKEN||"";return e?sK(e):void 0}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let s;switch(r.Permission){case 1:s="read";break;case 2:s="write";break;case 3:s="read/write";break;default:s=`unimplemented (${r.Permission})`}N(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var JX=B(Jm(),1);var wB=class{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await Ae.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return r.stdout})}async manifestGet(e){return await Ae.getExecOutput(this.binPath,["manifest","get",e.image,`--platform=${e.platform??"local"}`,"--format={{json .}}"],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return JSON.parse(r.stdout.trim())})}async isAvailable(){let e=await Ae.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(w(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(w(`Regctl.isAvailable error: ${r}`),!1));return w(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ae.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await Ae.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return w("Regctl.versionSatisfies false: undefined version"),!1;let n=JX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return w(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var WX=B(Jm(),1);var bB=class{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"undock",this._version="",this._versionOnce=!1}async run(e){if(!e.source)throw new Error("source is required");if(!e.dist)throw new Error("dist is required");let r=[];e.logLevel&&r.push(`--log-level=${e.logLevel}`),e.logCaller&&r.push("--log-caller"),e.cacheDir&&r.push(`--cachedir=${e.cacheDir}`),e.platform&&r.push(`--platform=${e.platform}`),e.all&&r.push("--all"),e.include&&e.include.forEach(s=>{r.push(`--include=${s}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await Ae.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await Ae.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(w(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(w(`Undock.isAvailable error: ${r}`),!1));return w(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ae.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await Ae.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return w("Undock.versionSatisfies false: undefined version"),!1;let n=WX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return w(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var Q_=B(require("fs"),1);var jX=()=>KX("docker-setup-win.ps1",ALe),x_=()=>KX("docker-service-logs.ps1",dLe);var KX=(t,e,r)=>{let s=$r.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:$r.tmpDir()});return Q_.default.writeFileSync(s,e),r&&Q_.default.chmodSync(s,r),s},ALe=`
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string]$ToolDir,
[Parameter(Mandatory = $true)]
[string]$RunDir,
[Parameter(Mandatory = $true)]
[string]$DockerHostSocket,
[Parameter(Mandatory = $false)]
[string]$DockerHostTCP,
[Parameter(Mandatory = $false)]
[string]$DaemonConfig)
$pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion
Write-Host "PowerShell version: $pwver"
# Create run directory
New-Item -ItemType Directory "$RunDir" -ErrorAction SilentlyContinue | Out-Null
# Remove existing service
if (Get-Service docker -ErrorAction SilentlyContinue) {
$dockerVersion = (docker version -f "{{.Server.Version}}")
Write-Host "Current installed Docker version: $dockerVersion"
# stop service
Stop-Service -Force -Name docker
Write-Host "Service stopped"
# remove service
sc.exe delete "docker"
# removes event log entry. we could use "Remove-EventLog -LogName -Source docker"
# but this cmd is not available atm
$ErrorActionPreference = "SilentlyContinue"
& reg delete "HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker" /f 2>&1 | Out-Null
$ErrorActionPreference = "Stop"
Write-Host "Service removed"
}
$env:Path = "$ToolDir;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
Write-Host "Path: $env:Path"
$env:DOCKER_HOST = $DockerHostSocket
Write-Host "DOCKER_HOST: $env:DOCKER_HOST"
if ($DaemonConfig) {
Write-Host "Writing Docker daemon config"
New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config"
$DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json"
}
$arguments = @(
"--host=$DockerHostSocket",
"--data-root=$RunDir\\\\moby-root",
"--exec-root=$RunDir\\\\moby-exec",
"--pidfile=$RunDir\\\\docker.pid",
"--register-service"
)
if ($DockerHostTCP) {
$arguments += "--host=$DockerHostTCP"
}
Write-Host "Creating service"
New-Item -ItemType Directory "$RunDir\\moby-root" -ErrorAction SilentlyContinue | Out-Null
New-Item -ItemType Directory "$RunDir\\moby-exec" -ErrorAction SilentlyContinue | Out-Null
Start-Process -Wait -NoNewWindow "$ToolDir\\dockerd" -ArgumentList $arguments
Write-Host "Starting service"
Start-Service -Name docker
Write-Host "Service started successfully!"
$tries=20
Write-Host "Waiting for Docker daemon to start..."
While ($true) {
$ErrorActionPreference = "SilentlyContinue"
& "$ToolDir\\docker" version | Out-Null
$ErrorActionPreference = "Stop"
If ($LastExitCode -eq 0) {
break
}
$tries--
If ($tries -le 0) {
Throw "Failed to get a response from Docker daemon"
}
Write-Host -NoNewline "."
Start-Sleep -Seconds 1
}
Write-Host "Docker daemon started successfully!"
`,dLe=`
Get-WinEvent -ea SilentlyContinue \`
-FilterHashtable @{ProviderName= "docker"; LogName = "application"} |
Sort-Object @{Expression="TimeCreated";Descending=$false} |
ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"}
`,XX=`
# Source:
# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml
# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml
# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml
# VM type: "qemu" or "vz" (on macOS 13 and later).
# The vmType can be specified only on creating the instance.
# The vmType of existing instances cannot be changed.
# Builtin default: "qemu"
vmType: qemu
# OS: "Linux".
# Builtin default: "Linux"
os: null
# Arch: "default", "x86_64", "aarch64".
# Builtin default: "default" (corresponds to the host architecture)
arch: null
images:
{{#each customImages}}
- location: "{{location}}"
arch: "{{arch}}"
digest: "{{digest}}"
{{/each}}
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-amd64.img"
arch: "x86_64"
digest: "sha256:5c3ddb00f60bc455dac0862fabe9d8bacec46c33ac1751143c5c3683404b110d"
kernel:
location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"
digest: "sha256:5b2a4fe174dacb18281f8f7d72ae32ac4b92801f0b7b5cb43ea55dee29fb789d"
cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check"
initrd:
location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"
digest: "sha256:cd0b64a5498e583a820a5b842369df83d036b4200b33bc51cadc58176184aaca"
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-arm64.img"
arch: "aarch64"
digest: "sha256:1ea801e659d2f5035ac294e0faab0aac9b6ba66753df933ba5c7beab0c689bd0"
# Fallback to the latest release image.
# Hint: run \`limactl prune\` to invalidate the cache
- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img
arch: "x86_64"
- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img
arch: "aarch64"
# CPUs
# Builtin default: min(4, host CPU cores)
cpus: null
# Memory size
# Builtin default: min("4GiB", half of host memory)
memory: null
# Disk size
# Builtin default: "100GiB"
disk: 60GiB
# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest
# Builtin default: null (Mount nothing)
# This file: Mount the home as read-only, /tmp/lima as writable
mounts:
- location: "~"
- location: "/tmp/lima"
writable: true
# Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL, from QEMU\u2019s virtio-9p-pci, aka virtfs),
# or "virtiofs" (EXPERIMENTAL, needs \`vmType: vz\`)
# Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz)
mountType: null
containerd:
system: false
user: false
provision:
- mode: system
# This script defines the host.docker.internal hostname when hostResolver is disabled.
# It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts.
# Names defined in /etc/hosts inside the VM are not resolved inside containers when
# using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later).
script: |
#!/bin/sh
sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts
- mode: system
script: |
#!/bin/sh
apt-get install -f -y iptables
- mode: system
script: |
#!/bin/bash
set -eux -o pipefail
archiveInstallLog=/var/log/docker-actions-toolkit-archive-install.log
command -v docker >/dev/null 2>&1 && exit 0
if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then
mkdir -p /etc/systemd/system/docker.socket.d
# Alternatively we could just add the user to the "docker" group, but that requires restarting the user session
cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf
[Socket]
SocketUser=\${LIMA_CIDATA_USER}
EOF
fi
if [ ! -e /etc/docker/daemon.json ]; then
mkdir -p /etc/docker
cat <<-EOF >/etc/docker/daemon.json
{{stringify daemonConfig}}
EOF
fi
export DEBIAN_FRONTEND=noninteractive
if [ "{{srcType}}" == "archive" ]; then
{
getDockerScript=$(mktemp)
curl --retry 3 --retry-all-errors --retry-delay 5 -fsSL -o "$getDockerScript" https://get.docker.com
attempt=1
max_attempts=3
until [ "$attempt" -gt "$max_attempts" ]; do
echo "Docker install attempt $attempt/$max_attempts"
if sh "$getDockerScript" --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}; then
break
fi
if [ "$attempt" -eq "$max_attempts" ]; then
echo >&2 "Docker install failed after $max_attempts attempts"
exit 1
fi
echo >&2 "Docker install attempt $attempt failed, retrying after $((attempt * 30))s"
rm -rf /var/lib/apt/lists/partial/* || true
apt-get clean || true
sleep $((attempt * 30))
attempt=$((attempt + 1))
done
sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service
systemctl daemon-reload
systemctl restart docker
systemctl status docker.socket || true
systemctl status docker.service || true
} 2>&1 | tee "$archiveInstallLog"
elif [ "{{srcType}}" == "image" ]; then
arch=$(uname -m)
case $arch in
x86_64) arch=amd64;;
aarch64) arch=arm64;;
esac
url="https://github.com/crazy-max/undock/releases/download/v0.12.0/undock_0.12.0_linux_$arch.tar.gz"
wget "$url" -O /tmp/undock.tar.gz
tar -C /usr/local/bin -xvf /tmp/undock.tar.gz
undock --version
HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin
wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service
wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket
sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service
sed -i 's|containerd.service||' /etc/systemd/system/docker.service
if ! getent group docker; then
groupadd --system docker
fi
systemctl daemon-reload
fail=0
if ! systemctl enable --now docker; then
fail=1
fi
systemctl status docker.socket || true
systemctl status docker.service || true
exit $fail
fi
probes:
- script: |
#!/bin/bash
set -eux -o pipefail
# Don't check for docker CLI as it's not installed in the VM (only on the host)
if ! timeout 60s bash -c "until pgrep dockerd; do sleep 3; done"; then
echo >&2 "dockerd is not running"
exit 1
fi
hint: See "/var/log/cloud-init-output.log". in the guest
hostResolver:
# Don't use local system resolver
enabled: false
# hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also
# resolve inside containers, and not just inside the VM itself.
hosts:
host.docker.internal: host.lima.internal
# Use custom DNS servers instead of the host's DNS settings
dns:
- 1.1.1.1
- 1.0.0.1
portForwards:
- guestSocket: "/var/run/docker.sock"
hostSocket: "{{dockerSock}}"
{{#if localTCPPort}}
- guestPort: 2375
hostPort: {{localTCPPort}}
{{/if}}
audio:
# EXPERIMENTAL
# QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".
# VZ driver, use "vz" as device name
# Choosing "none" will mute the audio output, and not play any sound.
# Builtin default: ""
device: none
`;var Wm=class t{runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir,this.source=e.source||{type:"archive",version:"latest",channel:"stable"},this.contextName=e.contextName||"setup-docker-action",this.daemonConfig=e.daemonConfig,this.rootless=e.rootless||!1,this.localTCPPort=e.localTCPPort,this.regctl=e.regctl||new wB,this.undock=e.undock||new bB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||$r.tmpDir()}async download(){let e,r,s=Yr.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag,r="docker-image",e=await this.downloadSourceImage(s);break}case"archive":{let i=this.source.version;if(r=`docker-archive-${this.source.channel}`,this._version=i,N(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){N(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let a=await this.downloadSourceArchive("docker-rootless-extras",this.source);Ot.default.readdirSync(a).forEach(c=>{let l=Tt.default.join(a,c),u=Tt.default.join(e,c);Ot.default.copyFileSync(l,u)})}break}}N("Fixing perms"),Ot.default.readdir(Tt.default.join(e),function(i,o){if(i)throw i;o.forEach(function(a,c){br.isDirectory(Tt.default.join(e,a))||Ot.default.chmodSync(Tt.default.join(e,a),"0755")})});let n=await Ld(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Vl(n),N("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=Tt.default.join($r.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(N(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))N(`Downloading Docker engine from ${n}`),await this.undock.run({source:n,dist:r});else if(e=="darwin"){try{let i=await this.imageConfig(n,"linux/arm64");if(w(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`),this.gitCommit=i.config?.Labels?.["org.opencontainers.image.revision"],!this.gitCommit)throw new Error("No git revision can be determined from the image")}catch(i){et(i),this.gitCommit="master"}w(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else et(`Docker engine not supported on ${e}, only the Docker cli will be available`);return r}async downloadSourceArchive(e,r){let s=await t.getRelease(r.version,this.githubToken);this._version=s.tag_name.replace(/^(docker-)?v+/,""),w(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);N(`Downloading ${n}`);let i=await Ka(n);w(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let o;return Yr.default.platform()=="win32"?o=await yg(i,o):o=await Eg(i,o),br.isDirectory(Tt.default.join(o,e))&&(o=Tt.default.join(o,e)),w(`docker.Install.downloadSourceArchive extractFolder: ${o}`),o}async install(){if(!this.toolDir)throw new Error("toolDir must be set. Run download first.");if(!this.runDir)throw new Error("runDir must be set");let e=Yr.default.platform();if(this.rootless&&e!="linux")throw new Error("rootless is only supported on linux");switch(e){case"darwin":return await this.installDarwin();case"linux":return await this.installLinux();case"win32":return await this.installWindows();default:throw new Error(`Unsupported platform: ${Yr.default.platform()}`)}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit)throw new Error("gitCommit must be set. Run download first.");let e=this.source,r=Tt.default.join(Yr.default.homedir(),".lima",this.limaInstanceName);await Ts(r);let s=`unix://${r}/docker.sock`;await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await Ae.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let o={};this.daemonConfig&&(o=JSON.parse(this.daemonConfig)),QB.default.registerHelper("stringify",function(l){return new QB.default.SafeString(JSON.stringify(l))});let a=e,c=QB.default.compile(XX)({customImages:t.limaCustomImages(),daemonConfig:o,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:a.channel,srcImageTag:e.tag});N(`Writing lima config to ${Tt.default.join(r,"lima.yaml")}`),Ot.default.writeFileSync(Tt.default.join(r,"lima.yaml"),c),N(c)}),await t.qemuInstalled()||await this.brewInstall("qemu");let n=await t.qemuBin();await me("QEMU version",async()=>{await Ae.exec(n,["--version"])});let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await me("Starting lima instance",async()=>{let o=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.env.LIMA_START_ARGS&&o.push(process.env.LIMA_START_ARGS);try{await Ae.exec(`limactl ${o.join(" ")}`,[],{env:i})}catch(a){throw await this.printDarwinDiagnostics(),eZ.default.readdir(r).then(c=>{c.filter(l=>Tt.default.extname(l)===".log").forEach(l=>{let u=Tt.default.join(r,l),A=Ot.default.readFileSync(u,{encoding:"utf8"}).trim();A.length>0&&N(`### ${u}:
${A}`)})}).catch(()=>{}),a}}),await me("Create Docker context",async()=>{await cr.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await cr.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${Tt.default.join(this.runDir,"docker.sock")}`;await Ts(this.runDir);let r=Tt.default.join(this.runDir,"daemon.json");await Ot.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Ot.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Ot.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Ot.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let o=JSON.stringify(s,null,2);await me("Writing Docker daemon config",async()=>{Ot.default.writeFileSync(r,o),N(o)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await me("Start Docker daemon",async()=>{let o=await mt("bash",!0),a=`${this.toolDir}/dockerd`;this.rootless&&(a=`${this.toolDir}/dockerd-rootless.sh`,Ot.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await Ae.exec("sudo",["sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"]));let c=`${a} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(c+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),N(`[command] ${c}`);let l="sudo";this.rootless&&(l+=" -u \\#1001"),(await ZX.spawn(`${l} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${o} << EOF
( ${c} 2>&1 | tee "${this.runDir}/dockerd.log" ) &
EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await br.sleep(3);let A=10;await(0,tZ.default)(async d=>{try{await Ae.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(p){d(p)}},{retries:A,minTimeout:1e3,onRetry:(d,p)=>{N(`${d}. Retrying (${p}/${A})...`)}}),N("Docker daemon started started successfully")}),await me("Create Docker context",async()=>{await cr.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await cr.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=Tt.default.join(this.runDir,"daemon.json");Ot.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Ot.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Ot.default.readFileSync(s,{encoding:"utf8"}))),this.daemonConfig&&(r=Object.assign(r||{},JSON.parse(this.daemonConfig)));let n="{}";r&&(n=JSON.stringify(r,null,2),await me("Docker daemon config",async()=>{N(n)}));let i={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};return this.localTCPPort&&(i.DockerHostTCP=`tcp://127.0.0.1:${this.localTCPPort}`),await me("Install Docker daemon service",async()=>{let o=await br.powershellCommand(jX(),i);await Ae.exec(o.command,o.args);let a=await br.powershellCommand(x_());await Ae.exec(a.command,a.args)}),await me("Create Docker context",async()=>{await cr.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await cr.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Yr.default.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:throw new Error(`Unsupported platform: ${Yr.default.platform()}`)}await me("Cleaning up toolDir",async()=>{this._toolDir&&Ot.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await me("Stopping lima instance",async()=>{await Ae.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing lima instance",async()=>{await Ae.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing Docker context",async()=>{await cr.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await Ae.exec("sudo",["rm","-rf",this.runDir])})}async printDarwinDiagnostics(){await this.printDarwinGuestCommandOutput("Cloud-init output log",["sudo","cat","/var/log/cloud-init-output.log"]),await this.printDarwinGuestCommandOutput("Cloud-init status",["sudo","timeout","300s","cloud-init","status","--wait"]),await this.printDarwinGuestCommandOutput("Docker unit file",["sudo","systemctl","cat","docker.service"]),await this.printDarwinGuestCommandOutput("Docker service status",["sudo","systemctl","status","docker.service","docker.socket","-l","--no-pager"]),await this.printDarwinGuestCommandOutput("Archive install script log",["sudo","cat","/var/log/docker-actions-toolkit-archive-install.log"]),await this.printDarwinGuestCommandOutput("Docker daemon logs",["sudo","journalctl","-u","docker.service","-l","--no-pager"])}async printDarwinGuestCommandOutput(e,r){await me(e,async()=>{let s=await Ae.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{N(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(`
`);n.length>0?N(n):s.exitCode!==0&&N(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await me("Docker daemon logs",async()=>{N(Ot.default.readFileSync(Tt.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}),await me("Stopping Docker daemon",async()=>{await Ae.exec("sudo",["kill","-s","SIGTERM",Ot.default.readFileSync(Tt.default.join(this.runDir,"docker.pid")).toString().trim()]),await br.sleep(5)}),await me("Removing Docker context",async()=>{await cr.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await Ae.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await me("Docker daemon logs",async()=>{let e=await br.powershellCommand(x_());await Ae.exec(e.command,e.args)}),await me("Removing Docker context",async()=>{await cr.exec(["context","rm","-f",this.contextName])}),await me("Stopping Docker daemon service",async()=>{await Ae.exec("powershell",["-Command","Stop-Service -Name docker -Force"])})}downloadURL(e,r,s){let n=t.platformOS(),i=t.platformArch();return`https://download.docker.com/${n}/static/${s}/${i}/${e}-${r}${n==="win"?".zip":".tgz"}`}static platformOS(){switch(Yr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Yr.default.platform()}}static platformArch(){switch(Yr.default.arch()){case"x64":return"x86_64";case"ppc64":return"ppc64le";case"arm64":return"aarch64";case"arm":{let e=process.config.variables.arm_version;switch(e){case 6:return"armel";case 7:return"armhf";default:return`v${e}`}}default:return Yr.default.arch()}}static async limaInstalled(){return await mt("lima",!0).then(e=>(w(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(w(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Yr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Yr.default.arch()}`}}static async qemuInstalled(){return await mt(await t.qemuBin(),!0).then(e=>(w(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(w(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new fa({token:r}).releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e])throw new Error(`Cannot find Docker release ${e} in releases JSON`);return n["v"+e]}return n[e]}static limaCustomImages(){let e=[],r=process.env.LIMA_IMAGES;if(!r)return e;for(let s of br.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),o=s.indexOf("@"),a=s.substring(n+1,o!==-1?o:void 0).trim(),c=o!==-1?s.substring(o+1).trim():"";e.push({location:a,arch:i,digest:c})}return e}async imageConfig(e,r){let n=(await this.regctl.manifestGet({image:e,platform:r}))?.config?.digest;if(!n)throw new Error(`No config digest found for image ${e}`);let i=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(i)}async brewInstall(e,r){let s=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await me(`Installing ${e}`,async()=>{if(!r)await Ae.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await Ae.getExecOutput("brew",["tap"],{ignoreReturnCode:!0,silent:!0,env:s}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);for(let u of l.stdout.trim().split(`
`))if(u.includes(n))return!0;return!1})||await Ae.exec("brew",["tap-new",n],{env:s});let o=await Ae.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);return l.stdout.trim()}),a=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await Ka(a,Tt.default.join(o,"Formula",`${e}.rb`)),await Ae.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);for(let u of l.stdout.trim().split(`
`))if(u.trim()==e)return!0;return!1})&&await Ae.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await Ae.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var jm=B(require("fs"),1),Bo=B(require("os"),1),xB=B(require("path"),1);var SB=B(Jm(),1),N_=B(require("util"),1);var NB=class t{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);w(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);w(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);w(`Install.download vspec: ${i}`);let o=SB.clean(i)||"";if(!SB.valid(o))throw new Error(`Invalid regclient version "${i}".`);let a=new Ni({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:xB.default.join(Bo.default.homedir(),".bin"),cacheFile:Bo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),c=await a.find();if(c)return N(`regctl binary found in ${c}`),c;let l=N_.format(s.downloadURL,i,this.filename());N(`Downloading ${l}`);let u=await Ka(l,void 0,this.githubToken);w(`Install.download htcDownloadPath: ${u}`);let A=await a.save(u);return N(`Cached to ${A}`),A}async install(e,r){r=r||$r.tmpDir();let s=xB.default.join(r,"regctl-bin");jm.default.existsSync(s)||jm.default.mkdirSync(s,{recursive:!0});let n=Bo.default.platform()=="win32"?"regctl.exe":"regctl",i=xB.default.join(s,n);return jm.default.copyFileSync(e,i),N("Fixing perms"),jm.default.chmodSync(i,"0755"),Vl(s),N("Added regctl to PATH"),N(`Binary path: ${i}`),i}filename(){let e;switch(Bo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let n=process.config.variables.arm_version;e=n?"armv"+n:"arm";break}default:{e=Bo.default.arch();break}}let r=Bo.default.platform()=="win32"?"windows":Bo.default.platform(),s=Bo.default.platform()=="win32"?".exe":"";return N_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let n=await new fa({token:r}).releases("regclient",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return n[e.version]}};var Km=B(require("fs"),1),Rn=B(require("os"),1),Xm=B(require("path"),1);var TB=B(Jm(),1),S_=B(require("util"),1);var RB=class t{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);w(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);w(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);w(`Install.download vspec: ${i}`);let o=TB.clean(i)||"";if(!TB.valid(o))throw new Error(`Invalid Undock version "${i}".`);let a=new Ni({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:Xm.default.join(Rn.default.homedir(),".bin"),cacheFile:Rn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),c=await a.find();if(c)return N(`Undock binary found in ${c}`),c;let l=S_.format(s.downloadURL,i,this.filename(i));N(`Downloading ${l}`);let u=await Ka(l,void 0,this.githubToken);w(`Install.download htcDownloadPath: ${u}`);let A;Rn.default.platform()=="win32"?A=await yg(u):A=await Eg(u),N(`Extracted to ${A}`);let d=Xm.default.join(A,Rn.default.platform()=="win32"?"undock.exe":"undock");w(`Install.download exePath: ${d}`);let p=await a.save(d);return N(`Cached to ${p}`),p}async install(e,r){r=r||$r.tmpDir();let s=Xm.default.join(r,"undock-bin");Km.default.existsSync(s)||Km.default.mkdirSync(s,{recursive:!0});let n=Rn.default.platform()=="win32"?"undock.exe":"undock",i=Xm.default.join(s,n);return Km.default.copyFileSync(e,i),N("Fixing perms"),Km.default.chmodSync(i,"0755"),Vl(s),N("Added Undock to PATH"),N(`Binary path: ${i}`),i}filename(e){let r;switch(Rn.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;r=i?"armv"+i:"arm";break}default:{r=Rn.default.arch();break}}let s=Rn.default.platform()=="win32"?"windows":Rn.default.platform(),n=Rn.default.platform()=="win32"?".zip":".tar.gz";return S_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let n=await new fa({token:r}).releases("Undock",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return n[e.version]}};var rZ=B(require("os"),1),sZ=B(require("path"),1);function nZ(){let t=mn("version")||"latest",e=pLe(t),r=mn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:mn("daemon-config"),tcpPort:br.getInputNumber("tcp-port"),context:mn("context"),setHost:wx("set-host"),rootless:wx("rootless"),runtimeBasedir:mn("runtime-basedir")||sZ.default.join(rZ.default.homedir(),"setup-docker-action"),githubToken:mn("github-token")}}function pLe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=jI(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let a of i){let c=a.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(c[0]){case"type":e=c[1];break;case"version":r=c[1];break;case"channel":s=c[1];break;case"tag":n=c[1];break;default:if(i.length===1){r=c[0];break}throw new Error(`Invalid field: ${c[0]}`)}}if(!e)throw new Error(`Invalid type: ${e}`);if(!s)throw new Error(`Invalid channel: ${s}`);if(!r)throw new Error(`Invalid version: ${r}`);if(!n)throw new Error(`Invalid tag: ${n}`);let o;switch(e){case"archive":o={type:"archive",version:r,channel:s};break;case"image":o={type:"image",tag:n};break;default:throw new Error(`Invalid version: ${t}`)}return o}var R_=process.env.STATE_rundir||"";function iZ(t){Yl("rundir",t)}var fLe="v0.8.3",gLe="v0.10.0";L5(async()=>{let t=nZ(),e=aZ.default.join(t.runtimeBasedir,`run-${oZ.randomUUID().slice(0,8)}`);if(t.context=="default")throw new Error("'default' context cannot be used.");t.source.type==="image"&&(await me("Download and install regctl",async()=>{let o=new NB({githubToken:t.githubToken}),a=await o.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:fLe,!0);await o.install(a)}),await me("Download and install undock",async()=>{let o=new RB({githubToken:t.githubToken}),a=await o.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:gLe,!0);await o.install(a)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new Wm({runDir:e,source:t.source,rootless:t.rootless,contextName:t.context||"setup-docker-action",daemonConfig:t.daemonConfig,localTCPPort:r,githubToken:t.githubToken}),i;if((!await cr.isAvailable()||t.source)&&await me("Download docker",async()=>{i=await n.download()}),i){iZ(e);let o=await n.install();await me("Setting outputs",async()=>{N(`sock=${o}`),bx("sock",o),s&&(N(`tcp=${s}`),bx("tcp",s))}),t.setHost&&await me("Setting Docker host",async()=>{PG("DOCKER_HOST",o),N(`DOCKER_HOST=${o}`)})}await me("Docker info",async()=>{await cr.printVersion(),await cr.printInfo()})},async()=>{if(R_.length==0)return;await new Wm({runDir:R_}).tearDown()});
/*! Bundled license information:
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
tmp/lib/tmp.js:
(*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*)
@octokit/request-error/dist-src/index.js:
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
@octokit/request/dist-bundle/index.js:
(* v8 ignore next -- @preserve *)
(* v8 ignore else -- @preserve *)
*/
//# sourceMappingURL=index.cjs.map