Files
build-push-action/dist/index.cjs
T

395 lines
2.4 MiB
Plaintext
Generated

var Cqe=Object.create;var Tx=Object.defineProperty;var bqe=Object.getOwnPropertyDescriptor;var wqe=Object.getOwnPropertyNames;var Iqe=Object.getPrototypeOf,Sqe=Object.prototype.hasOwnProperty;var o=(t,e)=>Tx(t,"name",{value:e,configurable:!0});var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Bqe=(t,e)=>{for(var r in e)Tx(t,r,{get:e[r],enumerable:!0})},xqe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wqe(e))!Sqe.call(t,i)&&i!==r&&Tx(t,i,{get:()=>e[i],enumerable:!(n=bqe(e,i))||n.enumerable});return t};var N=(t,e,r)=>(r=t!=null?Cqe(Iqe(t)):{},xqe(e||!t||!t.__esModule?Tx(r,"default",{value:t,enumerable:!0}):r,t));var see=A(Am=>{"use strict";var J5t=require("net"),Dqe=require("tls"),kL=require("http"),ree=require("https"),Qqe=require("events"),Y5t=require("assert"),kqe=require("util");Am.httpOverHttp=Pqe;Am.httpsOverHttp=Oqe;Am.httpOverHttps=Lqe;Am.httpsOverHttps=Fqe;function Pqe(t){var e=new yu(t);return e.request=kL.request,e}o(Pqe,"httpOverHttp");function Oqe(t){var e=new yu(t);return e.request=kL.request,e.createSocket=nee,e.defaultPort=443,e}o(Oqe,"httpsOverHttp");function Lqe(t){var e=new yu(t);return e.request=ree.request,e}o(Lqe,"httpOverHttps");function Fqe(t){var e=new yu(t);return e.request=ree.request,e.createSocket=nee,e.defaultPort=443,e}o(Fqe,"httpsOverHttps");function yu(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kL.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=iee(i,s,a),l=0,u=e.requests.length;l<u;++l){var d=e.requests[l];if(d.host===c.host&&d.port===c.port){e.requests.splice(l,1),d.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(yu,"TunnelingAgent");kqe.inherits(yu,Qqe.EventEmitter);yu.prototype.addRequest=o(function(e,r,n,i){var s=this,a=PL({request:e},s.options,iee(r,n,i));if(s.sockets.length>=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function u(d){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");yu.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=PL({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Ld("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",d),a.end();function c(f){f.upgrade=!0}o(c,"onResponse");function l(f,h,p){process.nextTick(function(){u(f,h,p)})}o(l,"onUpgrade");function u(f,h,p){if(a.removeAllListeners(),h.removeAllListeners(),f.statusCode!==200){Ld("tunneling socket could not be established, statusCode=%d",f.statusCode),h.destroy();var m=new Error("tunneling socket could not be established, statusCode="+f.statusCode);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}if(p.length>0){Ld("got illegal response body from proxy"),h.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}return Ld("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}o(u,"onConnect");function d(f){a.removeAllListeners(),Ld(`tunneling socket could not be established, cause=%s
`,f.message,f.stack);var h=new Error("tunneling socket could not be established, cause="+f.message);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(i)}o(d,"onError")},"createSocket");yu.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function nee(t,e){var r=this;yu.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=PL({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=Dqe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(nee,"createSecureSocket");function iee(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(iee,"toOptions");function PL(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var i=Object.keys(n),s=0,a=i.length;s<a;++s){var c=i[s];n[c]!==void 0&&(t[c]=n[c])}}return t}o(PL,"mergeOptions");var Ld;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Ld=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Ld=o(function(){},"debug");Am.debug=Ld});var mm=A((Z5t,oee)=>{oee.exports=see()});var mr=A((ezt,aee)=>{aee.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 Rt=A((tzt,Dee)=>{"use strict";var cee=Symbol.for("undici.error.UND_ERR"),gr=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[cee]===!0}[cee]=!0},lee=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),OL=class extends gr{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[lee]===!0}[lee]=!0},uee=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),LL=class extends gr{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[uee]===!0}[uee]=!0},dee=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),FL=class extends gr{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[dee]===!0}[dee]=!0},fee=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),ML=class extends gr{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[fee]===!0}[fee]=!0},hee=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),UL=class extends gr{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[hee]===!0}[hee]=!0},pee=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),qL=class extends gr{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[pee]===!0}[pee]=!0},Aee=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),GL=class extends gr{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[Aee]===!0}[Aee]=!0},mee=Symbol.for("undici.error.UND_ERR_ABORT"),Px=class extends gr{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[mee]===!0}[mee]=!0},gee=Symbol.for("undici.error.UND_ERR_ABORTED"),HL=class extends Px{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[gee]===!0}[gee]=!0},yee=Symbol.for("undici.error.UND_ERR_INFO"),VL=class extends gr{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[yee]===!0}[yee]=!0},Eee=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),zL=class extends gr{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[Eee]===!0}[Eee]=!0},Cee=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),$L=class extends gr{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[Cee]===!0}[Cee]=!0},bee=Symbol.for("undici.error.UND_ERR_DESTROYED"),jL=class extends gr{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[bee]===!0}[bee]=!0},wee=Symbol.for("undici.error.UND_ERR_CLOSED"),WL=class extends gr{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[wee]===!0}[wee]=!0},Iee=Symbol.for("undici.error.UND_ERR_SOCKET"),JL=class extends gr{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[Iee]===!0}[Iee]=!0},See=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),YL=class extends gr{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[See]===!0}[See]=!0},Bee=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),KL=class extends gr{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[Bee]===!0}[Bee]=!0},xee=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),XL=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[xee]===!0}[xee]=!0},vee=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),ZL=class extends gr{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[vee]===!0}[vee]=!0},Nee=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),eF=class extends gr{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Nee]===!0}[Nee]=!0},_ee=Symbol.for("undici.error.UND_ERR_RESPONSE"),tF=class extends gr{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[_ee]===!0}[_ee]=!0},Tee=Symbol.for("undici.error.UND_ERR_PRX_TLS"),rF=class extends gr{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Tee]===!0}[Tee]=!0},Ree=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),nF=class extends gr{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[Ree]===!0}get[Ree](){return!0}};Dee.exports={AbortError:Px,HTTPParserError:XL,UndiciError:gr,HeadersTimeoutError:LL,HeadersOverflowError:FL,BodyTimeoutError:ML,RequestContentLengthMismatchError:zL,ConnectTimeoutError:OL,ResponseStatusCodeError:UL,InvalidArgumentError:qL,InvalidReturnValueError:GL,RequestAbortedError:HL,ClientDestroyedError:jL,ClientClosedError:WL,InformationalError:VL,SocketError:JL,NotSupportedError:YL,ResponseContentLengthMismatchError:$L,BalancedPoolMissingUpstreamError:KL,ResponseExceededMaxSizeError:ZL,RequestRetryError:eF,ResponseError:tF,SecureProxyConnectionError:rF,MessageSizeExceededError:nF}});var Lx=A((nzt,Qee)=>{"use strict";var Ox={},iF=["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<iF.length;++t){let e=iF[t],r=e.toLowerCase();Ox[e]=Ox[r]=r}Object.setPrototypeOf(Ox,null);Qee.exports={wellknownHeaderNames:iF,headerNameLowerCasedRecord:Ox}});var Lee=A((izt,Oee)=>{"use strict";var{wellknownHeaderNames:kee,headerNameLowerCasedRecord:Mqe}=Lx(),sF=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code<a)if(s.left!==null)s=s.left;else{s.left=new t(e,r,i);break}else if(s.right!==null)s=s.right;else{s.right=new t(e,r,i);break}}}search(e){let r=e.length,n=0,i=this;for(;i!==null&&n<r;){let s=e[n];for(s<=90&&s>=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}},Fx=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new sF(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},Pee=new Fx;for(let t=0;t<kee.length;++t){let e=Mqe[kee[t]];Pee.insert(e,e)}Oee.exports={TernarySearchTree:Fx,tree:Pee}});var at=A((ozt,Zee)=>{"use strict";var ab=require("node:assert"),{kDestroyed:Mee,kBodyUsed:gm,kListeners:oF,kBody:Fee}=mr(),{IncomingMessage:Uqe}=require("node:http"),qx=require("node:stream"),qqe=require("node:net"),{Blob:Gqe}=require("node:buffer"),Hqe=require("node:util"),{stringify:Vqe}=require("node:querystring"),{EventEmitter:zqe}=require("node:events"),{InvalidArgumentError:qn}=Rt(),{headerNameLowerCasedRecord:$qe}=Lx(),{tree:Uee}=Lee(),[jqe,Wqe]=process.versions.node.split(".").map(t=>Number(t)),Ux=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Fee]=e,this[gm]=!1}async*[Symbol.asyncIterator](){ab(!this[gm],"disturbed"),this[gm]=!0,yield*this[Fee]}};function Jqe(t){return Gx(t)?(zee(t)===0&&t.on("data",function(){ab(!1)}),typeof t.readableDidRead!="boolean"&&(t[gm]=!1,zqe.prototype.on.call(t,"data",function(){this[gm]=!0})),t):t&&typeof t.pipeTo=="function"?new Ux(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Vee(t)?new Ux(t):t}o(Jqe,"wrapRequestBody");function Yqe(){}o(Yqe,"nop");function Gx(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Gx,"isStream");function qee(t){if(t===null)return!1;if(t instanceof Gqe)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(qee,"isBlobLike");function Kqe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=Vqe(e);return r&&(t+="?"+r),t}o(Kqe,"buildURL");function Gee(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(Gee,"isValidPort");function Mx(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Mx,"isHttpOrHttpsPrefixed");function Hee(t){if(typeof t=="string"){if(t=new URL(t),!Mx(t.origin||t.protocol))throw new qn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qn("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Gee(t.port)===!1)throw new qn("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 qn("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qn("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qn("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qn("Invalid URL origin: the origin must be a string or null/undefined.");if(!Mx(t.origin||t.protocol))throw new qn("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!Mx(t.origin||t.protocol))throw new qn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Hee,"parseURL");function Xqe(t){if(t=Hee(t),t.pathname!=="/"||t.search||t.hash)throw new qn("invalid url");return t}o(Xqe,"parseOrigin");function Zqe(t){if(t[0]==="["){let r=t.indexOf("]");return ab(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(Zqe,"getHostname");function e3e(t){if(!t)return null;ab(typeof t=="string");let e=Zqe(t);return qqe.isIP(e)?"":e}o(e3e,"getServerName");function t3e(t){return JSON.parse(JSON.stringify(t))}o(t3e,"deepClone");function r3e(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(r3e,"isAsyncIterable");function Vee(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(Vee,"isIterable");function zee(t){if(t==null)return 0;if(Gx(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(qee(t))return t.size!=null?t.size:null;if(Wee(t))return t.byteLength}return null}o(zee,"bodyLength");function $ee(t){return t&&!!(t.destroyed||t[Mee]||qx.isDestroyed?.(t))}o($ee,"isDestroyed");function n3e(t,e){t==null||!Gx(t)||$ee(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===Uqe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Mee]=!0))}o(n3e,"destroy");var i3e=/timeout=(\d+)/;function s3e(t){let e=t.toString().match(i3e);return e?parseInt(e[1],10)*1e3:null}o(s3e,"parseKeepAliveTimeout");function jee(t){return typeof t=="string"?$qe[t]??t.toLowerCase():Uee.lookup(t)??t.toString("latin1").toLowerCase()}o(jee,"headerNameToString");function o3e(t){return Uee.lookup(t)??t.toString("latin1").toLowerCase()}o(o3e,"bufferToLowerCasedHeaderName");function a3e(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=jee(t[r]),i=e[n];if(i)typeof i=="string"&&(i=[i],e[n]=i),i.push(t[r+1].toString("utf8"));else{let s=t[r+1];typeof s=="string"?e[n]=s:e[n]=Array.isArray(s)?s.map(a=>a.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(a3e,"parseHeaders");function c3e(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l<t.length;l+=2)s=t[l],a=t[l+1],typeof s!="string"&&(s=s.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=s.length,c===14&&s[7]==="-"&&(s==="content-length"||s.toLowerCase()==="content-length")?n=!0:c===19&&s[7]==="-"&&(s==="content-disposition"||s.toLowerCase()==="content-disposition")&&(i=l+1),r[l]=s,r[l+1]=a;return n&&i!==-1&&(r[i]=Buffer.from(r[i]).toString("latin1")),r}o(c3e,"parseRawHeaders");function Wee(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(Wee,"isBuffer");function l3e(t,e,r){if(!t||typeof t!="object")throw new qn("handler must be an object");if(typeof t.onConnect!="function")throw new qn("invalid onConnect method");if(typeof t.onError!="function")throw new qn("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new qn("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new qn("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new qn("invalid onHeaders method");if(typeof t.onData!="function")throw new qn("invalid onData method");if(typeof t.onComplete!="function")throw new qn("invalid onComplete method")}}o(l3e,"validateHandler");function u3e(t){return!!(t&&(qx.isDisturbed(t)||t[gm]))}o(u3e,"isDisturbed");function d3e(t){return!!(t&&qx.isErrored(t))}o(d3e,"isErrored");function f3e(t){return!!(t&&qx.isReadable(t))}o(f3e,"isReadable");function h3e(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}o(h3e,"getSocketInfo");function p3e(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await e.next();if(n)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(p3e,"ReadableStreamFrom");function A3e(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(A3e,"isFormDataLike");function m3e(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(m3e,"addAbortListener");var g3e=typeof String.prototype.toWellFormed=="function",y3e=typeof String.prototype.isWellFormed=="function";function Jee(t){return g3e?`${t}`.toWellFormed():Hqe.toUSVString(t)}o(Jee,"toUSVString");function E3e(t){return y3e?`${t}`.isWellFormed():Jee(t)===`${t}`}o(E3e,"isUSVString");function Yee(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}o(Yee,"isTokenCharCode");function C3e(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!Yee(t.charCodeAt(e)))return!1;return!0}o(C3e,"isValidHTTPToken");var b3e=/[^\t\x20-\x7e\x80-\xff]/;function w3e(t){return!b3e.test(t)}o(w3e,"isValidHeaderValue");function I3e(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}o(I3e,"parseRangeHeader");function S3e(t,e,r){return(t[oF]??=[]).push([e,r]),t.on(e,r),t}o(S3e,"addListener");function B3e(t){for(let[e,r]of t[oF]??[])t.removeListener(e,r);t[oF]=null}o(B3e,"removeAllListeners");function x3e(t,e,r){try{e.onError(r),ab(e.aborted)}catch(n){t.emit("error",n)}}o(x3e,"errorRequest");var Kee=Object.create(null);Kee.enumerable=!0;var aF={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},Xee={...aF,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(aF,null);Object.setPrototypeOf(Xee,null);Zee.exports={kEnumerableProperty:Kee,nop:Yqe,isDisturbed:u3e,isErrored:d3e,isReadable:f3e,toUSVString:Jee,isUSVString:E3e,isBlobLike:qee,parseOrigin:Xqe,parseURL:Hee,getServerName:e3e,isStream:Gx,isIterable:Vee,isAsyncIterable:r3e,isDestroyed:$ee,headerNameToString:jee,bufferToLowerCasedHeaderName:o3e,addListener:S3e,removeAllListeners:B3e,errorRequest:x3e,parseRawHeaders:c3e,parseHeaders:a3e,parseKeepAliveTimeout:s3e,destroy:n3e,bodyLength:zee,deepClone:t3e,ReadableStreamFrom:p3e,isBuffer:Wee,validateHandler:l3e,getSocketInfo:h3e,isFormDataLike:A3e,buildURL:Kqe,addAbortListener:m3e,isValidHTTPToken:C3e,isValidHeaderValue:w3e,isTokenCharCode:Yee,parseRangeHeader:I3e,normalizedMethodRecordsBase:aF,normalizedMethodRecords:Xee,isValidPort:Gee,isHttpOrHttpsPrefixed:Mx,nodeMajor:jqe,nodeMinor:Wqe,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:Jqe}});var ym=A((czt,tte)=>{"use strict";var Ut=require("node:diagnostics_channel"),lF=require("node:util"),Hx=lF.debuglog("undici"),cF=lF.debuglog("fetch"),Th=lF.debuglog("websocket"),ete=!1,v3e={beforeConnect:Ut.channel("undici:client:beforeConnect"),connected:Ut.channel("undici:client:connected"),connectError:Ut.channel("undici:client:connectError"),sendHeaders:Ut.channel("undici:client:sendHeaders"),create:Ut.channel("undici:request:create"),bodySent:Ut.channel("undici:request:bodySent"),headers:Ut.channel("undici:request:headers"),trailers:Ut.channel("undici:request:trailers"),error:Ut.channel("undici:request:error"),open:Ut.channel("undici:websocket:open"),close:Ut.channel("undici:websocket:close"),socketError:Ut.channel("undici:websocket:socket_error"),ping:Ut.channel("undici:websocket:ping"),pong:Ut.channel("undici:websocket:pong")};if(Hx.enabled||cF.enabled){let t=cF.enabled?cF:Hx;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Ut.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Ut.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Ut.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),ete=!0}if(Th.enabled){if(!ete){let t=Hx.enabled?Hx:Th;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Ut.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Th("connection opened %s%s",e,r?`:${r}`:"")}),Ut.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Th("closed connection to %s - %s %s",e.url,r,n)}),Ut.channel("undici:websocket:socket_error").subscribe(t=>{Th("connection errored - %s",t.message)}),Ut.channel("undici:websocket:ping").subscribe(t=>{Th("ping received")}),Ut.channel("undici:websocket:pong").subscribe(t=>{Th("pong received")})}tte.exports={channels:v3e}});var ste=A((lzt,ite)=>{"use strict";var{InvalidArgumentError:Vt,NotSupportedError:N3e}=Rt(),Eu=require("node:assert"),{isValidHTTPToken:nte,isValidHeaderValue:cb,isStream:_3e,destroy:T3e,isBuffer:R3e,isFormDataLike:D3e,isIterable:Q3e,isBlobLike:k3e,buildURL:P3e,validateHandler:O3e,getServerName:L3e,normalizedMethodRecords:F3e}=at(),{channels:Nc}=ym(),{headerNameLowerCasedRecord:rte}=Lx(),M3e=/[^\u0021-\u00ff]/,Oo=Symbol("handler"),uF=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:d,bodyTimeout:f,reset:h,throwOnError:p,expectContinue:m,servername:g},E){if(typeof r!="string")throw new Vt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Vt("path must be an absolute URL or start with a slash");if(M3e.test(r))throw new Vt("invalid request path");if(typeof n!="string")throw new Vt("method must be a string");if(F3e[n]===void 0&&!nte(n))throw new Vt("invalid request method");if(u&&typeof u!="string")throw new Vt("upgrade must be a string");if(u&&!cb(u))throw new Vt("invalid upgrade header");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Vt("invalid headersTimeout");if(f!=null&&(!Number.isFinite(f)||f<0))throw new Vt("invalid bodyTimeout");if(h!=null&&typeof h!="boolean")throw new Vt("invalid reset");if(m!=null&&typeof m!="boolean")throw new Vt("invalid expectContinue");if(this.headersTimeout=d,this.bodyTimeout=f,this.throwOnError=p===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(_3e(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){T3e(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=C=>{this.abort?this.abort(C):this.error=C},this.body.on("error",this.errorHandler)}else if(R3e(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(D3e(i)||Q3e(i)||k3e(i))this.body=i;else throw new Vt("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=u||null,this.path=a?P3e(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=h??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=m??!1,Array.isArray(s)){if(s.length%2!==0)throw new Vt("headers array must be even");for(let y=0;y<s.length;y+=2)Vx(this,s[y],s[y+1])}else if(s&&typeof s=="object")if(s[Symbol.iterator])for(let y of s){if(!Array.isArray(y)||y.length!==2)throw new Vt("headers must be in key-value pair format");Vx(this,y[0],y[1])}else{let y=Object.keys(s);for(let C=0;C<y.length;++C)Vx(this,y[C],s[y[C]])}else if(s!=null)throw new Vt("headers must be an object or an array");O3e(E,n,u),this.servername=g||L3e(this.host),this[Oo]=E,Nc.create.hasSubscribers&&Nc.create.publish({request:this})}onBodySent(e){if(this[Oo].onBodySent)try{return this[Oo].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(Nc.bodySent.hasSubscribers&&Nc.bodySent.publish({request:this}),this[Oo].onRequestSent)try{return this[Oo].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Eu(!this.aborted),Eu(!this.completed),this.error)e(this.error);else return this.abort=e,this[Oo].onConnect(e)}onResponseStarted(){return this[Oo].onResponseStarted?.()}onHeaders(e,r,n,i){Eu(!this.aborted),Eu(!this.completed),Nc.headers.hasSubscribers&&Nc.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[Oo].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Eu(!this.aborted),Eu(!this.completed);try{return this[Oo].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Eu(!this.aborted),Eu(!this.completed),this[Oo].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Eu(!this.aborted),this.completed=!0,Nc.trailers.hasSubscribers&&Nc.trailers.publish({request:this,trailers:e});try{return this[Oo].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),Nc.error.hasSubscribers&&Nc.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[Oo].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 Vx(this,e,r),this}};function Vx(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Vt(`invalid ${e} header`);if(r===void 0)return;let n=rte[e];if(n===void 0&&(n=e.toLowerCase(),rte[n]===void 0&&!nte(n)))throw new Vt("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!cb(r[s]))throw new Vt(`invalid ${e} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new Vt(`invalid ${e} header`);{let a=`${r[s]}`;if(!cb(a))throw new Vt(`invalid ${e} header`);i.push(a)}}r=i}else if(typeof r=="string"){if(!cb(r))throw new Vt(`invalid ${e} header`)}else if(r===null)r="";else if(r=`${r}`,!cb(r))throw new Vt(`invalid ${e} header`);if(n==="host"){if(t.host!==null)throw new Vt("duplicate host header");if(typeof r!="string")throw new Vt("invalid host header");t.host=r}else if(n==="content-length"){if(t.contentLength!==null)throw new Vt("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new Vt("invalid content-length header")}else if(t.contentType===null&&n==="content-type")t.contentType=r,t.headers.push(e,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new Vt(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new Vt("invalid connection header");i==="close"&&(t.reset=!0)}else{if(n==="expect")throw new N3e("expect header not supported");t.headers.push(e,r)}}}o(Vx,"processHeader");ite.exports=uF});var lb=A((dzt,ote)=>{"use strict";var U3e=require("node:events"),zx=class extends U3e{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new dF(this,n)}},dF=class extends zx{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};ote.exports=zx});var wm=A((hzt,ate)=>{"use strict";var q3e=lb(),{ClientDestroyedError:fF,ClientClosedError:G3e,InvalidArgumentError:Em}=Rt(),{kDestroy:H3e,kClose:V3e,kClosed:ub,kDestroyed:Cm,kDispatch:hF,kInterceptors:Rh}=mr(),Cu=Symbol("onDestroyed"),bm=Symbol("onClosed"),$x=Symbol("Intercepted Dispatch"),pF=Symbol("webSocketOptions"),AF=class extends q3e{static{o(this,"DispatcherBase")}constructor(e){super(),this[Cm]=!1,this[Cu]=null,this[ub]=!1,this[bm]=[],this[pF]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[pF].maxFragments??131072,maxPayloadSize:this[pF].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Cm]}get closed(){return this[ub]}get interceptors(){return this[Rh]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Rh][r]!="function")throw new Em("interceptor must be an function")}this[Rh]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new Em("invalid callback");if(this[Cm]){queueMicrotask(()=>e(new fF,null));return}if(this[ub]){this[bm]?this[bm].push(e):queueMicrotask(()=>e(null,null));return}this[ub]=!0,this[bm].push(e);let r=o(()=>{let n=this[bm];this[bm]=null;for(let i=0;i<n.length;i++)n[i](null,null)},"onClosed");this[V3e]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new Em("invalid callback");if(this[Cm]){this[Cu]?this[Cu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new fF),this[Cm]=!0,this[Cu]=this[Cu]||[],this[Cu].push(r);let n=o(()=>{let i=this[Cu];this[Cu]=null;for(let s=0;s<i.length;s++)i[s](null,null)},"onDestroyed");this[H3e](e).then(()=>{queueMicrotask(n)})}[$x](e,r){if(!this[Rh]||this[Rh].length===0)return this[$x]=this[hF],this[hF](e,r);let n=this[hF].bind(this);for(let i=this[Rh].length-1;i>=0;i--)n=this[Rh][i](n);return this[$x]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Em("handler must be an object");try{if(!e||typeof e!="object")throw new Em("opts must be an object.");if(this[Cm]||this[Cu])throw new fF;if(this[ub])throw new G3e;return this[$x](e,r)}catch(n){if(typeof r.onError!="function")throw new Em("invalid onError method");return r.onError(n),!1}}};ate.exports=AF});var wF=A((Azt,dte)=>{"use strict";var Im=0,mF=1e3,gF=(mF>>1)-1,bu,yF=Symbol("kFastTimer"),wu=[],EF=-2,CF=-1,lte=0,cte=1;function bF(){Im+=gF;let t=0,e=wu.length;for(;t<e;){let r=wu[t];r._state===lte?(r._idleStart=Im-gF,r._state=cte):r._state===cte&&Im>=r._idleStart+r._idleTimeout&&(r._state=CF,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===CF?(r._state=EF,--e!==0&&(wu[t]=wu[e])):++t}wu.length=e,wu.length!==0&&ute()}o(bF,"onTick");function ute(){bu?bu.refresh():(clearTimeout(bu),bu=setTimeout(bF,gF),bu.unref&&bu.unref())}o(ute,"refreshTimeout");var jx=class{static{o(this,"FastTimer")}[yF]=!0;_state=EF;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===EF&&wu.push(this),(!bu||wu.length===1)&&ute(),this._state=lte}clear(){this._state=CF,this._idleStart=-1}};dte.exports={setTimeout(t,e,r){return e<=mF?setTimeout(t,e,r):new jx(t,e,r)},clearTimeout(t){t[yF]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new jx(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Im},tick(t=0){Im+=t-mF+1,bF(),bF()},reset(){Im=0,wu.length=0,clearTimeout(bu),bu=null},kFastTimer:yF}});var db=A((Ezt,mte)=>{"use strict";var z3e=require("node:net"),fte=require("node:assert"),Ate=at(),{InvalidArgumentError:$3e,ConnectTimeoutError:j3e}=Rt(),Wx=wF();function hte(){}o(hte,"noop");var IF,SF;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?SF=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size<this._maxCachedSessions)return;let n=this._sessionCache.get(r);n!==void 0&&n.deref()===void 0&&this._sessionCache.delete(r)})}get(e){let r=this._sessionCache.get(e);return r?r.deref():null}set(e,r){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(r)),this._sessionRegistry.register(r,e))}}:SF=class{static{o(this,"SimpleSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,r){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function W3e({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new $3e("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new SF(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:d,protocol:f,port:h,servername:p,localAddress:m,httpSocket:g},E){let y;if(f==="https:"){IF||(IF=require("node:tls")),p=p||a.servername||Ate.getServerName(d)||null;let w=p||u;fte(w);let B=i||c.get(w)||null;h=h||443,y=IF.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:m,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:h,host:u}),y.on("session",function(Q){c.set(w,Q)})}else fte(!g,"httpSocket can only be sent on TLS update"),h=h||80,y=z3e.connect({highWaterMark:64*1024,...a,localAddress:m,port:h,host:u});if(a.keepAlive==null||a.keepAlive){let w=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,w)}let C=J3e(new WeakRef(y),{timeout:n,hostname:u,port:h});return y.setNoDelay(!0).once(f==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(C),E){let w=E;E=null,w(null,this)}}).on("error",function(w){if(queueMicrotask(C),E){let B=E;E=null,B(w)}}),y},"connect")}o(W3e,"buildConnector");var J3e=process.platform==="win32"?(t,e)=>{if(!e.timeout)return hte;let r=null,n=null,i=Wx.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>pte(t.deref(),e))})},e.timeout);return()=>{Wx.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return hte;let r=null,n=Wx.setFastTimeout(()=>{r=setImmediate(()=>{pte(t.deref(),e)})},e.timeout);return()=>{Wx.clearFastTimeout(n),clearImmediate(r)}};function pte(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)`,Ate.destroy(t,new j3e(r))}o(pte,"onConnectTimeout");mte.exports=W3e});var gte=A(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0});Jx.enumToMap=void 0;function Y3e(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(Y3e,"enumToMap");Jx.enumToMap=Y3e});var yte=A(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.SPECIAL_HEADERS=Z.HEADER_STATE=Z.MINOR=Z.MAJOR=Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS=Z.TOKEN=Z.STRICT_TOKEN=Z.HEX=Z.URL_CHAR=Z.STRICT_URL_CHAR=Z.USERINFO_CHARS=Z.MARK=Z.ALPHANUM=Z.NUM=Z.HEX_MAP=Z.NUM_MAP=Z.ALPHA=Z.FINISH=Z.H_METHOD_MAP=Z.METHOD_MAP=Z.METHODS_RTSP=Z.METHODS_ICE=Z.METHODS_HTTP=Z.METHODS=Z.LENIENT_FLAGS=Z.FLAGS=Z.TYPE=Z.ERROR=void 0;var K3e=gte(),X3e;(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"})(X3e=Z.ERROR||(Z.ERROR={}));var Z3e;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(Z3e=Z.TYPE||(Z.TYPE={}));var eGe;(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"})(eGe=Z.FLAGS||(Z.FLAGS={}));var tGe;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(tGe=Z.LENIENT_FLAGS||(Z.LENIENT_FLAGS={}));var Qe;(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"})(Qe=Z.METHODS||(Z.METHODS={}));Z.METHODS_HTTP=[Qe.DELETE,Qe.GET,Qe.HEAD,Qe.POST,Qe.PUT,Qe.CONNECT,Qe.OPTIONS,Qe.TRACE,Qe.COPY,Qe.LOCK,Qe.MKCOL,Qe.MOVE,Qe.PROPFIND,Qe.PROPPATCH,Qe.SEARCH,Qe.UNLOCK,Qe.BIND,Qe.REBIND,Qe.UNBIND,Qe.ACL,Qe.REPORT,Qe.MKACTIVITY,Qe.CHECKOUT,Qe.MERGE,Qe["M-SEARCH"],Qe.NOTIFY,Qe.SUBSCRIBE,Qe.UNSUBSCRIBE,Qe.PATCH,Qe.PURGE,Qe.MKCALENDAR,Qe.LINK,Qe.UNLINK,Qe.PRI,Qe.SOURCE];Z.METHODS_ICE=[Qe.SOURCE];Z.METHODS_RTSP=[Qe.OPTIONS,Qe.DESCRIBE,Qe.ANNOUNCE,Qe.SETUP,Qe.PLAY,Qe.PAUSE,Qe.TEARDOWN,Qe.GET_PARAMETER,Qe.SET_PARAMETER,Qe.REDIRECT,Qe.RECORD,Qe.FLUSH,Qe.GET,Qe.POST];Z.METHOD_MAP=K3e.enumToMap(Qe);Z.H_METHOD_MAP={};Object.keys(Z.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(Z.H_METHOD_MAP[t]=Z.METHOD_MAP[t])});var rGe;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(rGe=Z.FINISH||(Z.FINISH={}));Z.ALPHA=[];for(let t=65;t<=90;t++)Z.ALPHA.push(String.fromCharCode(t)),Z.ALPHA.push(String.fromCharCode(t+32));Z.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Z.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};Z.NUM=["0","1","2","3","4","5","6","7","8","9"];Z.ALPHANUM=Z.ALPHA.concat(Z.NUM);Z.MARK=["-","_",".","!","~","*","'","(",")"];Z.USERINFO_CHARS=Z.ALPHANUM.concat(Z.MARK).concat(["%",";",":","&","=","+","$",","]);Z.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Z.ALPHANUM);Z.URL_CHAR=Z.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)Z.URL_CHAR.push(t);Z.HEX=Z.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Z.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Z.ALPHANUM);Z.TOKEN=Z.STRICT_TOKEN.concat([" "]);Z.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&Z.HEADER_CHARS.push(t);Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS.filter(t=>t!==44);Z.MAJOR=Z.NUM_MAP;Z.MINOR=Z.MAJOR;var Sm;(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"})(Sm=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:Sm.CONNECTION,"content-length":Sm.CONTENT_LENGTH,"proxy-connection":Sm.CONNECTION,"transfer-encoding":Sm.TRANSFER_ENCODING,upgrade:Sm.UPGRADE}});var BF=A((Szt,Ete)=>{"use strict";var{Buffer:nGe}=require("node:buffer");Ete.exports=nGe.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmdzX2luaXQAFQ1sbGh0dHBfZmluaXNoABYMbGxodHRwX3BhdXNlABcNbGxodHRwX3Jlc3VtZQAYG2xsaHR0cF9yZXN1bWVfYWZ0ZXJfdXBncmFkZQAZEGxsaHR0cF9nZXRfZXJybm8AGhdsbGh0dHBfZ2V0X2Vycm9yX3JlYXNvbgAbF2xsaHR0cF9zZXRfZXJyb3JfcmVhc29uABwUbGxodHRwX2dldF9lcnJvcl9wb3MAHRFsbGh0dHBfZXJybm9fbmFtZQAeEmxsaHR0cF9tZXRob2RfbmFtZQAfEmxsaHR0cF9zdGF0dXNfbmFtZQAgGmxsaHR0cF9zZXRfbGVuaWVudF9oZWFkZXJzACEhbGxodHRwX3NldF9sZW5pZW50X2NodW5rZWRfbGVuZ3RoACIdbGxodHRwX3NldF9sZW5pZW50X2tlZXBfYWxpdmUAIyRsbGh0dHBfc2V0X2xlbmllbnRfdHJhbnNmZXJfZW5jb2RpbmcAJBhsbGh0dHBfbWVzc2FnZV9uZWVkc19lb2YALgkXAQBBAQsRAQIDBAUKBgcrLSwqKSglJyYK07MCLBYAQYjQACgCAARAAAtBiNAAQQE2AgALFAAgABAwIAAgAjYCOCAAIAE6ACgLFAAgACAALwEyIAAtAC4gABAvEAALHgEBf0HAABAyIgEQMCABQYAINgI4IAEgADoAKCABC48MAQd/AkAgAEUNACAAQQhrIgEgAEEEaygCACIAQXhxIgRqIQUCQCAAQQFxDQAgAEEDcUUNASABIAEoAgAiAGsiAUGc0AAoAgBJDQEgACAEaiEEAkACQEGg0AAoAgAgAUcEQCAAQf8BTQRAIABBA3YhAyABKAIIIgAgASgCDCICRgRAQYzQAEGM0AAoAgBBfiADd3E2AgAMBQsgAiAANgIIIAAgAjYCDAwECyABKAIYIQYgASABKAIMIgBHBEAgACABKAIIIgI2AgggAiAANgIMDAMLIAFBFGoiAygCACICRQRAIAEoAhAiAkUNAiABQRBqIQMLA0AgAyEHIAIiAEEUaiIDKAIAIgINACAAQRBqIQMgACgCECICDQALIAdBADYCAAwCCyAFKAIEIgBBA3FBA0cNAiAFIABBfnE2AgRBlNAAIAQ2AgAgBSAENgIAIAEgBEEBcjYCBAwDC0EAIQALIAZFDQACQCABKAIcIgJBAnRBvNIAaiIDKAIAIAFGBEAgAyAANgIAIAANAUGQ0ABBkNAAKAIAQX4gAndxNgIADAILIAZBEEEUIAYoAhAgAUYbaiAANgIAIABFDQELIAAgBjYCGCABKAIQIgIEQCAAIAI2AhAgAiAANgIYCyABQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAFTw0AIAUoAgQiAEEBcUUNAAJAAkACQAJAIABBAnFFBEBBpNAAKAIAIAVGBEBBpNAAIAE2AgBBmNAAQZjQACgCACAEaiIANgIAIAEgAEEBcjYCBCABQaDQACgCAEcNBkGU0ABBADYCAEGg0ABBADYCAAwGC0Gg0AAoAgAgBUYEQEGg0AAgATYCAEGU0ABBlNAAKAIAIARqIgA2AgAgASAAQQFyNgIEIAAgAWogADYCAAwGCyAAQXhxIARqIQQgAEH/AU0EQCAAQQN2IQMgBSgCCCIAIAUoAgwiAkYEQEGM0ABBjNAAKAIAQX4gA3dxNgIADAULIAIgADYCCCAAIAI2AgwMBAsgBSgCGCEGIAUgBSgCDCIARwRAQZzQACgCABogACAFKAIIIgI2AgggAiAANgIMDAMLIAVBFGoiAygCACICRQRAIAUoAhAiAkUNAiAFQRBqIQMLA0AgAyEHIAIiAEEUaiIDKAIAIgINACAAQRBqIQMgACgCECICDQALIAdBADYCAAwCCyAFIABBfnE2AgQgASAEaiAENgIAIAEgBEEBcjYCBAwDC0EAIQALIAZFDQACQCAFKAIcIgJBAnRBvNIAaiIDKAIAIAVGBEAgAyAANgIAIAANAUGQ0ABBkNAAKAIAQX4gAndxNgIADAILIAZBEEEUIAYoAhAgBUYbaiAANgIAIABFDQELIAAgBjYCGCAFKAIQIgIEQCAAIAI2AhAgAiAANgIYCyAFQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AAYEBggGDAYQBhQGGAYcBiAGJAYoBiwGMAY0BjgGPAZABkQGSAZMBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBywHKAbgByQG5AcgBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgEA3AELQQAMxgELQQ4MxQELQQ0MxAELQQ8MwwELQRAMwgELQRMMwQELQRQMwAELQRUMvwELQRYMvgELQRgMvQELQRkMvAELQRoMuwELQRsMugELQRwMuQELQR0MuAELQQgMtwELQR4MtgELQSAMtQELQR8MtAELQQcMswELQSEMsgELQSIMsQELQSMMsAELQSQMrwELQRIMrgELQREMrQELQSUMrAELQSYMqwELQScMqgELQSgMqQELQcMBDKgBC0EqDKcBC0ErDKYBC0EsDKUBC0EtDKQBC0EuDKMBC0EvDKIBC0HEAQyhAQtBMAygAQtBNAyfAQtBDAyeAQtBMQydAQtBMgycAQtBMwybAQtBOQyaAQtBNQyZAQtBxQEMmAELQQsMlwELQToMlgELQTYMlQELQQoMlAELQTcMkwELQTgMkgELQTwMkQELQTsMkAELQT0MjwELQQkMjgELQSkMjQELQT4MjAELQT8MiwELQcAADIoBC0HBAAyJAQtBwgAMiAELQcMADIcBC0HEAAyGAQtBxQAMhQELQcYADIQBC0EXDIMBC0HHAAyCAQtByAAMgQELQckADIABC0HKAAx/C0HLAAx+C0HNAAx9C0HMAAx8C0HOAAx7C0HPAAx6C0HQAAx5C0HRAAx4C0HSAAx3C0HTAAx2C0HUAAx1C0HWAAx0C0HVAAxzC0EGDHILQdcADHELQQUMcAtB2AAMbwtBBAxuC0HZAAxtC0HaAAxsC0HbAAxrC0HcAAxqC0EDDGkLQd0ADGgLQd4ADGcLQd8ADGYLQeEADGULQeAADGQLQeIADGMLQeMADGILQQIMYQtB5AAMYAtB5QAMXwtB5gAMXgtB5wAMXQtB6AAMXAtB6QAMWwtB6gAMWgtB6wAMWQtB7AAMWAtB7QAMVwtB7gAMVgtB7wAMVQtB8AAMVAtB8QAMUwtB8gAMUgtB8wAMUQtB9AAMUAtB9QAMTwtB9gAMTgtB9wAMTQtB+AAMTAtB+QAMSwtB+gAMSgtB+wAMSQtB/AAMSAtB/QAMRwtB/gAMRgtB/wAMRQtBgAEMRAtBgQEMQwtBggEMQgtBgwEMQQtBhAEMQAtBhQEMPwtBhgEMPgtBhwEMPQtBiAEMPAtBiQEMOwtBigEMOgtBiwEMOQtBjAEMOAtBjQEMNwtBjgEMNgtBjwEMNQtBkAEMNAtBkQEMMwtBkgEMMgtBkwEMMQtBlAEMMAtBlQEMLwtBlgEMLgtBlwEMLQtBmAEMLAtBmQEMKwtBmgEMKgtBmwEMKQtBnAEMKAtBnQEMJwtBngEMJgtBnwEMJQtBoAEMJAtBoQEMIwtBogEMIgtBowEMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHGAccByAHJAcsBzAHNAc4BzwGKA4kDiAOHA4QDgwOAA/sC+gL5AvgC9wL0AvMC8gLLAsECsALZAQsgASAERw3wAkHdASEDDLMDCyABIARHDcgBQcMBIQMMsgMLIAEgBEcNe0H3ACEDDLEDCyABIARHDXBB7wAhAwywAwsgASAERw1pQeoAIQMMrwMLIAEgBEcNZUHoACEDDK4DCyABIARHDWJB5gAhAwytAwsgASAERw0aQRghAwysAwsgASAERw0VQRIhAwyrAwsgASAERw1CQcUAIQMMqgMLIAEgBEcNNEE/IQMMqQMLIAEgBEcNMkE8IQMMqAMLIAEgBEcNK0ExIQMMpwMLIAItAC5BAUYNnwMMwQILQQAhAAJAAkACQCACLQAqRQ0AIAItACtFDQAgAi8BMCIDQQJxRQ0BDAILIAIvATAiA0EBcUUNAQtBASEAIAItAChBAUYNACACLwEyIgVB5ABrQeQASQ0AIAVBzAFGDQAgBUGwAkYNACADQcAAcQ0AQQAhACADQYgEcUGABEYNACADQShxQQBHIQALIAJBADsBMCACQQA6AC8gAEUN3wIgAkIANwMgDOACC0EAIQACQCACKAI4IgNFDQAgAygCLCIDRQ0AIAIgAxEAACEACyAARQ3MASAAQRVHDd0CIAJBBDYCHCACIAE2AhQgAkGwGDYCECACQRU2AgxBACEDDKQDCyABIARGBEBBBiEDDKQDCyABQQFqIQFBACEAAkAgAigCOCIDRQ0AIAMoAlQiA0UNACACIAMRAAAhAAsgAA3ZAgwcCyACQgA3AyBBEiEDDIkDCyABIARHDRZBHSEDDKEDCyABIARHBEAgAUEBaiEBQRAhAwyIAwtBByEDDKADCyACIAIpAyAiCiAEIAFrrSILfSIMQgAgCiAMWhs3AyAgCiALWA3UAkEIIQMMnwMLIAEgBEcEQCACQQk2AgggAiABNgIEQRQhAwyGAwtBCSEDDJ4DCyACKQMgQgBSDccBIAIgAi8BMEGAAXI7ATAMQgsgASAERw0/QdAAIQMMnAMLIAEgBEYEQEELIQMMnAMLIAFBAWohAUEAIQACQCACKAI4IgNFDQAgAygCUCIDRQ0AIAIgAxEAACEACyAADc8CDMYBC0EAIQACQCACKAI4IgNFDQAgAygCSCIDRQ0AIAIgAxEAACEACyAARQ3GASAAQRVHDc0CIAJBCzYCHCACIAE2AhQgAkGCGTYCECACQRU2AgxBACEDDJoDC0EAIQACQCACKAI4IgNFDQAgAygCSCIDRQ0AIAIgAxEAACEACyAARQ0MIABBFUcNygIgAkEaNgIcIAIgATYCFCACQYIZNgIQIAJBFTYCDEEAIQMMmQMLQQAhAAJAIAIoAjgiA0UNACADKAJMIgNFDQAgAiADEQAAIQALIABFDcQBIABBFUcNxwIgAkELNgIcIAIgATYCFCACQZEXNgIQIAJBFTYCDEEAIQMMmAMLIAEgBEYEQEEPIQMMmAMLIAEtAAAiAEE7Rg0HIABBDUcNxAIgAUEBaiEBDMMBC0EAIQACQCACKAI4IgNFDQAgAygCTCIDRQ0AIAIgAxEAACEACyAARQ3DASAAQRVHDcICIAJBDzYCHCACIAE2AhQgAkGRFzYCECACQRU2AgxBACEDDJYDCwNAIAEtAABB8DVqLQAAIgBBAUcEQCAAQQJHDcECIAIoAgQhAEEAIQMgAkEANgIEIAIgACABQQFqIgEQLSIADcICDMUBCyAEIAFBAWoiAUcNAAtBEiEDDJUDC0EAIQACQCACKAI4IgNFDQAgAygCTCIDRQ0AIAIgAxEAACEACyAARQ3FASAAQRVHDb0CIAJBGzYCHCACIAE2AhQgAkGRFzYCECACQRU2AgxBACEDDJQDCyABIARGBEBBFiEDDJQDCyACQQo2AgggAiABNgIEQQAhAAJAIAIoAjgiA0UNACADKAJIIgNFDQAgAiADEQAAIQALIABFDcIBIABBFUcNuQIgAkEVNgIcIAIgATYCFCACQYIZNgIQIAJBFTYCDEEAIQMMkwMLIAEgBEcEQANAIAEtAABB8DdqLQAAIgBBAkcEQAJAIABBAWsOBMQCvQIAvgK9AgsgAUEBaiEBQQghAwz8AgsgBCABQQFqIgFHDQALQRUhAwyTAwtBFSEDDJIDCwNAIAEtAABB8DlqLQAAIgBBAkcEQCAAQQFrDgTFArcCwwK4ArcCCyAEIAFBAWoiAUcNAAtBGCEDDJEDCyABIARHBEAgAkELNgIIIAIgATYCBEEHIQMM+AILQRkhAwyQAwsgAUEBaiEBDAILIAEgBEYEQEEaIQMMjwMLAkAgAS0AAEENaw4UtQG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwEAvwELQQAhAyACQQA2AhwgAkGvCzYCECACQQI2AgwgAiABQQFqNgIUDI4DCyABIARGBEBBGyEDDI4DCyABLQAAIgBBO0cEQCAAQQ1HDbECIAFBAWohAQy6AQsgAUEBaiEBC0EiIQMM8wILIAEgBEYEQEEcIQMMjAMLQgAhCgJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEEwaw43wQLAAgABAgMEBQYH0AHQAdAB0AHQAdAB0AEICQoLDA3QAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdABDg8QERIT0AELQgIhCgzAAgtCAyEKDL8CC0IEIQoMvgILQgUhCgy9AgtCBiEKDLwCC0IHIQoMuwILQgghCgy6AgtCCSEKDLkCC0IKIQoMuAILQgshCgy3AgtCDCEKDLYCC0INIQoMtQILQg4hCgy0AgtCDyEKDLMCC0IKIQoMsgILQgshCgyxAgtCDCEKDLACC0INIQoMrwILQg4hCgyuAgtCDyEKDK0CC0IAIQoCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBMGsON8ACvwIAAQIDBAUGB74CvgK+Ar4CvgK+Ar4CCAkKCwwNvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ag4PEBESE74CC0ICIQoMvwILQgMhCgy+AgtCBCEKDL0CC0IFIQoMvAILQgYhCgy7AgtCByEKDLoCC0IIIQoMuQILQgkhCgy4AgtCCiEKDLcCC0ILIQoMtgILQgwhCgy1AgtCDSEKDLQCC0IOIQoMswILQg8hCgyyAgtCCiEKDLECC0ILIQoMsAILQgwhCgyvAgtCDSEKDK4CC0IOIQoMrQILQg8hCgysAgsgAiACKQMgIgogBCABa60iC30iDEIAIAogDFobNwMgIAogC1gNpwJBHyEDDIkDCyABIARHBEAgAkEJNgIIIAIgATYCBEElIQMM8AILQSAhAwyIAwtBASEFIAIvATAiA0EIcUUEQCACKQMgQgBSIQULAkAgAi0ALgRAQQEhACACLQApQQVGDQEgA0HAAHFFIAVxRQ0BC0EAIQAgA0HAAHENAEECIQAgA0EIcQ0AIANBgARxBEACQCACLQAoQQFHDQAgAi0ALUEKcQ0AQQUhAAwCC0EEIQAMAQsgA0EgcUUEQAJAIAItAChBAUYNACACLwEyIgBB5ABrQeQASQ0AIABBzAFGDQAgAEGwAkYNAEEEIQAgA0EocUUNAiADQYgEcUGABEYNAgtBACEADAELQQBBAyACKQMgUBshAAsgAEEBaw4FvgIAsAEBpAKhAgtBESEDDO0CCyACQQE6AC8MhAMLIAEgBEcNnQJBJCEDDIQDCyABIARHDRxBxgAhAwyDAwtBACEAAkAgAigCOCIDRQ0AIAMoAkQiA0UNACACIAMRAAAhAAsgAEUNJyAAQRVHDZgCIAJB0AA2AhwgAiABNgIUIAJBkRg2AhAgAkEVNgIMQQAhAwyCAwsgASAERgRAQSghAwyCAwtBACEDIAJBADYCBCACQQw2AgggAiABIAEQKiIARQ2UAiACQSc2AhwgAiABNgIUIAIgADYCDAyBAwsgASAERgRAQSkhAwyBAwsgAS0AACIAQSBGDRMgAEEJRw2VAiABQQFqIQEMFAsgASAERwRAIAFBAWohAQwWC0EqIQMM/wILIAEgBEYEQEErIQMM/wILIAEtAAAiAEEJRyAAQSBHcQ2QAiACLQAsQQhHDd0CIAJBADoALAzdAgsgASAERgRAQSwhAwz+AgsgAS0AAEEKRw2OAiABQQFqIQEMsAELIAEgBEcNigJBLyEDDPwCCwNAIAEtAAAiAEEgRwRAIABBCmsOBIQCiAKIAoQChgILIAQgAUEBaiIBRw0AC0ExIQMM+wILQTIhAyABIARGDfoCIAIoAgAiACAEIAFraiEHIAEgAGtBA2ohBgJAA0AgAEHwO2otAAAgAS0AACIFQSByIAUgBUHBAGtB/wFxQRpJG0H/AXFHDQEgAEEDRgRAQQYhAQziAgsgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAc2AgAM+wILIAJBADYCAAyGAgtBMyEDIAQgASIARg35AiAEIAFrIAIoAgAiAWohByAAIAFrQQhqIQYCQANAIAFB9DtqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw0BIAFBCEYEQEEFIQEM4QILIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADPoCCyACQQA2AgAgACEBDIUCC0E0IQMgBCABIgBGDfgCIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgJAA0AgAUHQwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw0BIAFBBUYEQEEHIQEM4AILIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADPkCCyACQQA2AgAgACEBDIQCCyABIARHBEADQCABLQAAQYA+ai0AACIAQQFHBEAgAEECRg0JDIECCyAEIAFBAWoiAUcNAAtBMCEDDPgCC0EwIQMM9wILIAEgBEcEQANAIAEtAAAiAEEgRwRAIABBCmsOBP8B/gH+Af8B/gELIAQgAUEBaiIBRw0AC0E4IQMM9wILQTghAwz2AgsDQCABLQAAIgBBIEcgAEEJR3EN9gEgBCABQQFqIgFHDQALQTwhAwz1AgsDQCABLQAAIgBBIEcEQAJAIABBCmsOBPkBBAT5AQALIABBLEYN9QEMAwsgBCABQQFqIgFHDQALQT8hAwz0AgtBwAAhAyABIARGDfMCIAIoAgAiACAEIAFraiEFIAEgAGtBBmohBgJAA0AgAEGAQGstAAAgAS0AAEEgckcNASAAQQZGDdsCIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPQCCyACQQA2AgALQTYhAwzZAgsgASAERgRAQcEAIQMM8gILIAJBDDYCCCACIAE2AgQgAi0ALEEBaw4E+wHuAewB6wHUAgsgAUEBaiEBDPoBCyABIARHBEADQAJAIAEtAAAiAEEgciAAIABBwQBrQf8BcUEaSRtB/wFxIgBBCUYNACAAQSBGDQACQAJAAkACQCAAQeMAaw4TAAMDAwMDAwMBAwMDAwMDAwMDAgMLIAFBAWohAUExIQMM3AILIAFBAWohAUEyIQMM2wILIAFBAWohAUEzIQMM2gILDP4BCyAEIAFBAWoiAUcNAAtBNSEDDPACC0E1IQMM7wILIAEgBEcEQANAIAEtAABBgDxqLQAAQQFHDfcBIAQgAUEBaiIBRw0AC0E9IQMM7wILQT0hAwzuAgtBACEAAkAgAigCOCIDRQ0AIAMoAkAiA0UNACACIAMRAAAhAAsgAEUNASAAQRVHDeYBIAJBwgA2AhwgAiABNgIUIAJB4xg2AhAgAkEVNgIMQQAhAwztAgsgAUEBaiEBC0E8IQMM0gILIAEgBEYEQEHCACEDDOsCCwJAA0ACQCABLQAAQQlrDhgAAswCzALRAswCzALMAswCzALMAswCzALMAswCzALMAswCzALMAswCzALMAgDMAgsgBCABQQFqIgFHDQALQcIAIQMM6wILIAFBAWohASACLQAtQQFxRQ3+AQtBLCEDDNACCyABIARHDd4BQcQAIQMM6AILA0AgAS0AAEGQwABqLQAAQQFHDZwBIAQgAUEBaiIBRw0AC0HFACEDDOcCCyABLQAAIgBBIEYN/gEgAEE6Rw3AAiACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgAN3gEM3QELQccAIQMgBCABIgBGDeUCIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgNAIAFBkMIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNvwIgAUEFRg3CAiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBzYCAAzlAgtByAAhAyAEIAEiAEYN5AIgBCABayACKAIAIgFqIQcgACABa0EJaiEGA0AgAUGWwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw2+AkECIAFBCUYNwgIaIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADOQCCyABIARGBEBByQAhAwzkAgsCQAJAIAEtAAAiAEEgciAAIABBwQBrQf8BcUEaSRtB/wFxQe4Aaw4HAL8CvwK/Ar8CvwIBvwILIAFBAWohAUE+IQMMywILIAFBAWohAUE/IQMMygILQcoAIQMgBCABIgBGDeICIAQgAWsgAigCACIBaiEGIAAgAWtBAWohBwNAIAFBoMIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNvAIgAUEBRg2+AiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBjYCAAziAgtBywAhAyAEIAEiAEYN4QIgBCABayACKAIAIgFqIQcgACABa0EOaiEGA0AgAUGiwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw27AiABQQ5GDb4CIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADOECC0HMACEDIAQgASIARg3gAiAEIAFrIAIoAgAiAWohByAAIAFrQQ9qIQYDQCABQcDCAGotAAAgAC0AACIFQSByIAUgBUHBAGtB/wFxQRpJG0H/AXFHDboCQQMgAUEPRg2+AhogAUEBaiEBIAQgAEEBaiIARw0ACyACIAc2AgAM4AILQc0AIQMgBCABIgBGDd8CIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgNAIAFB0MIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNuQJBBCABQQVGDb0CGiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBzYCAAzfAgsgASAERgRAQc4AIQMM3wILAkACQAJAAkAgAS0AACIAQSByIAAgAEHBAGtB/wFxQRpJG0H/AXFB4wBrDhMAvAK8ArwCvAK8ArwCvAK8ArwCvAK8ArwCAbwCvAK8AgIDvAILIAFBAWohAUHBACEDDMgCCyABQQFqIQFBwgAhAwzHAgsgAUEBaiEBQcMAIQMMxgILIAFBAWohAUHEACEDDMUCCyABIARHBEAgAkENNgIIIAIgATYCBEHFACEDDMUCC0HPACEDDN0CCwJAAkAgAS0AAEEKaw4EAZABkAEAkAELIAFBAWohAQtBKCEDDMMCCyABIARGBEBB0QAhAwzcAgsgAS0AAEEgRw0AIAFBAWohASACLQAtQQFxRQ3QAQtBFyEDDMECCyABIARHDcsBQdIAIQMM2QILQdMAIQMgASAERg3YAiACKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABB1sIAai0AAEcNxwEgAEEBRg3KASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBjYCAAzYAgsgASAERgRAQdUAIQMM2AILIAEtAABBCkcNwgEgAUEBaiEBDMoBCyABIARGBEBB1gAhAwzXAgsCQAJAIAEtAABBCmsOBADDAcMBAcMBCyABQQFqIQEMygELIAFBAWohAUHKACEDDL0CC0EAIQACQCACKAI4IgNFDQAgAygCPCIDRQ0AIAIgAxEAACEACyAADb8BQc0AIQMMvAILIAItAClBIkYNzwIMiQELIAQgASIFRgRAQdsAIQMM1AILQQAhAEEBIQFBASEGQQAhAwJAAn8CQAJAAkACQAJAAkACQCAFLQAAQTBrDgrFAcQBAAECAwQFBgjDAQtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshA0EAIQFBACEGDL0BC0EJIQNBASEAQQAhAUEAIQYMvAELIAEgBEYEQEHdACEDDNMCCyABLQAAQS5HDbgBIAFBAWohAQyIAQsgASAERw22AUHfACEDDNECCyABIARHBEAgAkEONgIIIAIgATYCBEHQACEDDLgCC0HgACEDDNACC0HhACEDIAEgBEYNzwIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGA0AgAS0AACAAQeLCAGotAABHDbEBIABBA0YNswEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMzwILQeIAIQMgASAERg3OAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYDQCABLQAAIABB5sIAai0AAEcNsAEgAEECRg2vASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAzOAgtB4wAhAyABIARGDc0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgNAIAEtAAAgAEHpwgBqLQAARw2vASAAQQNGDa0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADM0CCyABIARGBEBB5QAhAwzNAgsgAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANqgFB1gAhAwyzAgsgASAERwRAA0AgAS0AACIAQSBHBEACQAJAAkAgAEHIAGsOCwABswGzAbMBswGzAbMBswGzAQKzAQsgAUEBaiEBQdIAIQMMtwILIAFBAWohAUHTACEDDLYCCyABQQFqIQFB1AAhAwy1AgsgBCABQQFqIgFHDQALQeQAIQMMzAILQeQAIQMMywILA0AgAS0AAEHwwgBqLQAAIgBBAUcEQCAAQQJrDgOnAaYBpQGkAQsgBCABQQFqIgFHDQALQeYAIQMMygILIAFBAWogASAERw0CGkHnACEDDMkCCwNAIAEtAABB8MQAai0AACIAQQFHBEACQCAAQQJrDgSiAaEBoAEAnwELQdcAIQMMsQILIAQgAUEBaiIBRw0AC0HoACEDDMgCCyABIARGBEBB6QAhAwzIAgsCQCABLQAAIgBBCmsOGrcBmwGbAbQBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBpAGbAZsBAJkBCyABQQFqCyEBQQYhAwytAgsDQCABLQAAQfDGAGotAABBAUcNfSAEIAFBAWoiAUcNAAtB6gAhAwzFAgsgAUEBaiABIARHDQIaQesAIQMMxAILIAEgBEYEQEHsACEDDMQCCyABQQFqDAELIAEgBEYEQEHtACEDDMMCCyABQQFqCyEBQQQhAwyoAgsgASAERgRAQe4AIQMMwQILAkACQAJAIAEtAABB8MgAai0AAEEBaw4HkAGPAY4BAHwBAo0BCyABQQFqIQEMCwsgAUEBagyTAQtBACEDIAJBADYCHCACQZsSNgIQIAJBBzYCDCACIAFBAWo2AhQMwAILAkADQCABLQAAQfDIAGotAAAiAEEERwRAAkACQCAAQQFrDgeUAZMBkgGNAQAEAY0BC0HaACEDDKoCCyABQQFqIQFB3AAhAwypAgsgBCABQQFqIgFHDQALQe8AIQMMwAILIAFBAWoMkQELIAQgASIARgRAQfAAIQMMvwILIAAtAABBL0cNASAAQQFqIQEMBwsgBCABIgBGBEBB8QAhAwy+AgsgAC0AACIBQS9GBEAgAEEBaiEBQd0AIQMMpQILIAFBCmsiA0EWSw0AIAAhAUEBIAN0QYmAgAJxDfkBC0EAIQMgAkEANgIcIAIgADYCFCACQYwcNgIQIAJBBzYCDAy8AgsgASAERwRAIAFBAWohAUHeACEDDKMCC0HyACEDDLsCCyABIARGBEBB9AAhAwy7AgsCQCABLQAAQfDMAGotAABBAWsOA/cBcwCCAQtB4QAhAwyhAgsgASAERwRAA0AgAS0AAEHwygBqLQAAIgBBA0cEQAJAIABBAWsOAvkBAIUBC0HfACEDDKMCCyAEIAFBAWoiAUcNAAtB8wAhAwy6AgtB8wAhAwy5AgsgASAERwRAIAJBDzYCCCACIAE2AgRB4AAhAwygAgtB9QAhAwy4AgsgASAERgRAQfYAIQMMuAILIAJBDzYCCCACIAE2AgQLQQMhAwydAgsDQCABLQAAQSBHDY4CIAQgAUEBaiIBRw0AC0H3ACEDDLUCCyABIARGBEBB+AAhAwy1AgsgAS0AAEEgRw16IAFBAWohAQxbC0EAIQACQCACKAI4IgNFDQAgAygCOCIDRQ0AIAIgAxEAACEACyAADXgMgAILIAEgBEYEQEH6ACEDDLMCCyABLQAAQcwARw10IAFBAWohAUETDHYLQfsAIQMgASAERg2xAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYDQCABLQAAIABB8M4Aai0AAEcNcyAAQQVGDXUgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMsQILIAEgBEYEQEH8ACEDDLECCwJAAkAgAS0AAEHDAGsODAB0dHR0dHR0dHR0AXQLIAFBAWohAUHmACEDDJgCCyABQQFqIQFB5wAhAwyXAgtB/QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKDF0LIAEgBEYEQEGUASEDDJkCCwJAAkAgAS0AAEHBAGsODwBcXFxcXFxcXFxcXFxcAVwLIAFBAWohAUH+ACEDDIACCyABQQFqIQFB/wAhAwz/AQsgASAERgRAQZUBIQMMmAILAkACQCABLQAAQcEAaw4DAFsBWwsgAUEBaiEBQf0AIQMM/wELIAFBAWohAUGAASEDDP4BC0GWASEDIAEgBEYNlgIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBp88Aai0AAEcNWSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlwILIAJBADYCACAGQQFqIQFBCwxaCyABIARGBEBBlwEhAwyWAgsCQAJAAkACQCABLQAAQS1rDiMAW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1sBW1tbW1sCW1tbA1sLIAFBAWohAUH7ACEDDP8BCyABQQFqIQFB/AAhAwz+AQsgAUEBaiEBQYEBIQMM/QELIAFBAWohAUGCASEDDPwBC0GYASEDIAEgBEYNlAIgAigCACIAIAQgAWtqIQUgASAAa0EEaiEGAkADQCABLQAAIABBqc8Aai0AAEcNVyAAQQRGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlQILIAJBADYCACAGQQFqIQFBGQxYC0GZASEDIAEgBEYNkwIgAigCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBrs8Aai0AAEcNViAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlAILIAJBADYCACAGQQFqIQFBBgxXC0GaASEDIAEgBEYNkgIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBtM8Aai0AAEcNVSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMkwILIAJBADYCACAGQQFqIQFBHAxWC0GbASEDIAEgBEYNkQIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBts8Aai0AAEcNVCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMkgILIAJBADYCACAGQQFqIQFBJwxVCyABIARGBEBBnAEhAwyRAgsCQAJAIAEtAABB1ABrDgIAAVQLIAFBAWohAUGGASEDDPgBCyABQQFqIQFBhwEhAwz3AQtBnQEhAyABIARGDY8CIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjPAGotAABHDVIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADJACCyACQQA2AgAgBkEBaiEBQSYMUwtBngEhAyABIARGDY4CIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbrPAGotAABHDVEgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI8CCyACQQA2AgAgBkEBaiEBQQMMUgtBnwEhAyABIARGDY0CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDVAgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI4CCyACQQA2AgAgBkEBaiEBQQwMUQtBoAEhAyABIARGDYwCIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQbzPAGotAABHDU8gAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI0CCyACQQA2AgAgBkEBaiEBQQ0MUAsgASAERgRAQaEBIQMMjAILAkACQCABLQAAQcYAaw4LAE9PT09PT09PTwFPCyABQQFqIQFBiwEhAwzzAQsgAUEBaiEBQYwBIQMM8gELIAEgBEYEQEGiASEDDIsCCyABLQAAQdAARw1MIAFBAWohAQxGCyABIARGBEBBowEhAwyKAgsCQAJAIAEtAABByQBrDgcBTU1NTU0ATQsgAUEBaiEBQY4BIQMM8QELIAFBAWohAUEiDE0LQaQBIQMgASAERg2IAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHAzwBqLQAARw1LIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyJAgsgAkEANgIAIAZBAWohAUEdDEwLIAEgBEYEQEGlASEDDIgCCwJAAkAgAS0AAEHSAGsOAwBLAUsLIAFBAWohAUGQASEDDO8BCyABQQFqIQFBBAxLCyABIARGBEBBpgEhAwyHAgsCQAJAAkACQAJAIAEtAABBwQBrDhUATU1NTU1NTU1NTQFNTQJNTQNNTQRNCyABQQFqIQFBiAEhAwzxAQsgAUEBaiEBQYkBIQMM8AELIAFBAWohAUGKASEDDO8BCyABQQFqIQFBjwEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz+AQsgAkEANgIAIAZBAWohAUEqDEELIAEgBEYEQEGwASEDDP0BCwJAAkAgAS0AAEHVAGsOCwBAQEBAQEBAQEABQAsgAUEBaiEBQZoBIQMM5AELIAFBAWohAUGbASEDDOMBCyABIARGBEBBsQEhAwz8AQsCQAJAIAEtAABBwQBrDhQAPz8/Pz8/Pz8/Pz8/Pz8/Pz8/AT8LIAFBAWohAUGZASEDDOMBCyABQQFqIQFBnAEhAwziAQtBsgEhAyABIARGDfoBIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQdnPAGotAABHDT0gAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPsBCyACQQA2AgAgBkEBaiEBQSEMPgtBswEhAyABIARGDfkBIAIoAgAiACAEIAFraiEFIAEgAGtBBmohBgJAA0AgAS0AACAAQd3PAGotAABHDTwgAEEGRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPoBCyACQQA2AgAgBkEBaiEBQRoMPQsgASAERgRAQbQBIQMM+QELAkACQAJAIAEtAABBxQBrDhEAPT09PT09PT09AT09PT09Aj0LIAFBAWohAUGdASEDDOEBCyABQQFqIQFBngEhAwzgAQsgAUEBaiEBQZ8BIQMM3wELQbUBIQMgASAERg33ASACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHkzwBqLQAARw06IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz4AQsgAkEANgIAIAZBAWohAUEoDDsLQbYBIQMgASAERg32ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHqzwBqLQAARw05IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz3AQsgAkEANgIAIAZBAWohAUEHDDoLIAEgBEYEQEG3ASEDDPYBCwJAAkAgAS0AAEHFAGsODgA5OTk5OTk5OTk5OTkBOQsgAUEBaiEBQaEBIQMM3QELIAFBAWohAUGiASEDDNwBC0G4ASEDIAEgBEYN9AEgAigCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABB7c8Aai0AAEcNNyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM9QELIAJBADYCACAGQQFqIQFBEgw4C0G5ASEDIAEgBEYN8wEgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABB8M8Aai0AAEcNNiAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM9AELIAJBADYCACAGQQFqIQFBIAw3C0G6ASEDIAEgBEYN8gEgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABB8s8Aai0AAEcNNSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM8wELIAJBADYCACAGQQFqIQFBDww2CyABIARGBEBBuwEhAwzyAQsCQAJAIAEtAABByQBrDgcANTU1NTUBNQsgAUEBaiEBQaUBIQMM2QELIAFBAWohAUGmASEDDNgBC0G8ASEDIAEgBEYN8AEgAigCACIAIAQgAWtqIQUgASAAa0EHaiEGAkADQCABLQAAIABB9M8Aai0AAEcNMyAAQQdGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM8QELIAJBADYCACAGQQFqIQFBGww0CyABIARGBEBBvQEhAwzwAQsCQAJAAkAgAS0AAEHCAGsOEgA0NDQ0NDQ0NDQBNDQ0NDQ0AjQLIAFBAWohAUGkASEDDNgBCyABQQFqIQFBpwEhAwzXAQsgAUEBaiEBQagBIQMM1gELIAEgBEYEQEG+ASEDDO8BCyABLQAAQc4ARw0wIAFBAWohAQwsCyABIARGBEBBvwEhAwzuAQsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABLQAAQcEAaw4VAAECAz8EBQY/Pz8HCAkKCz8MDQ4PPwsgAUEBaiEBQegAIQMM4wELIAFBAWohAUHpACEDDOIBCyABQQFqIQFB7gAhAwzhAQsgAUEBaiEBQfIAIQMM4AELIAFBAWohAUHzACEDDN8BCyABQQFqIQFB9gAhAwzeAQsgAUEBaiEBQfcAIQMM3QELIAFBAWohAUH6ACEDDNwBCyABQQFqIQFBgwEhAwzbAQsgAUEBaiEBQYQBIQMM2gELIAFBAWohAUGFASEDDNkBCyABQQFqIQFBkgEhAwzYAQsgAUEBaiEBQZgBIQMM1wELIAFBAWohAUGgASEDDNYBCyABQQFqIQFBowEhAwzVAQsgAUEBaiEBQaoBIQMM1AELIAEgBEcEQCACQRA2AgggAiABNgIEQasBIQMM1AELQcABIQMM7AELQQAhAAJAIAIoAjgiA0UNACADKAI0IgNFDQAgAiADEQAAIQALIABFDV4gAEEVRw0HIAJB0QA2AhwgAiABNgIUIAJBsBc2AhAgAkEVNgIMQQAhAwzrAQsgAUEBaiABIARHDQgaQcIBIQMM6gELA0ACQCABLQAAQQprDgQIAAALAAsgBCABQQFqIgFHDQALQcMBIQMM6QELIAEgBEcEQCACQRE2AgggAiABNgIEQQEhAwzQAQtBxAEhAwzoAQsgASAERgRAQcUBIQMM6AELAkACQCABLQAAQQprDgQBKCgAKAsgAUEBagwJCyABQQFqDAULIAEgBEYEQEHGASEDDOcBCwJAAkAgAS0AAEEKaw4XAQsLAQsLCwsLCwsLCwsLCwsLCwsLCwALCyABQQFqIQELQbABIQMMzQELIAEgBEYEQEHIASEDDOYBCyABLQAAQSBHDQkgAkEAOwEyIAFBAWohAUGzASEDDMwBCwNAIAEhAAJAIAEgBEcEQCABLQAAQTBrQf8BcSIDQQpJDQEMJwtBxwEhAwzmAQsCQCACLwEyIgFBmTNLDQAgAiABQQpsIgU7ATIgBUH+/wNxIANB//8Dc0sNACAAQQFqIQEgAiADIAVqIgM7ATIgA0H//wNxQegHSQ0BCwtBACEDIAJBADYCHCACQcEJNgIQIAJBDTYCDCACIABBAWo2AhQM5AELIAJBADYCHCACIAE2AhQgAkHwDDYCECACQRs2AgxBACEDDOMBCyACKAIEIQAgAkEANgIEIAIgACABECYiAA0BIAFBAWoLIQFBrQEhAwzIAQsgAkHBATYCHCACIAA2AgwgAiABQQFqNgIUQQAhAwzgAQsgAigCBCEAIAJBADYCBCACIAAgARAmIgANASABQQFqCyEBQa4BIQMMxQELIAJBwgE2AhwgAiAANgIMIAIgAUEBajYCFEEAIQMM3QELIAJBADYCHCACIAE2AhQgAkGXCzYCECACQQ02AgxBACEDDNwBCyACQQA2AhwgAiABNgIUIAJB4xA2AhAgAkEJNgIMQQAhAwzbAQsgAkECOgAoDKwBC0EAIQMgAkEANgIcIAJBrws2AhAgAkECNgIMIAIgAUEBajYCFAzZAQtBAiEDDL8BC0ENIQMMvgELQSYhAwy9AQtBFSEDDLwBC0EWIQMMuwELQRghAwy6AQtBHCEDDLkBC0EdIQMMuAELQSAhAwy3AQtBISEDDLYBC0EjIQMMtQELQcYAIQMMtAELQS4hAwyzAQtBPSEDDLIBC0HLACEDDLEBC0HOACEDDLABC0HYACEDDK8BC0HZACEDDK4BC0HbACEDDK0BC0HxACEDDKwBC0H0ACEDDKsBC0GNASEDDKoBC0GXASEDDKkBC0GpASEDDKgBC0GvASEDDKcBC0GxASEDDKYBCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJB8Rs2AhAgAkEGNgIMDL0BCyACQQA2AgAgBkEBaiEBQSQLOgApIAIoAgQhACACQQA2AgQgAiAAIAEQJyIARQRAQeUAIQMMowELIAJB+QA2AhwgAiABNgIUIAIgADYCDEEAIQMMuwELIABBFUcEQCACQQA2AhwgAiABNgIUIAJBzA42AhAgAkEgNgIMQQAhAwy7AQsgAkH4ADYCHCACIAE2AhQgAkHKGDYCECACQRU2AgxBACEDDLoBCyACQQA2AhwgAiABNgIUIAJBjhs2AhAgAkEGNgIMQQAhAwy5AQsgAkEANgIcIAIgATYCFCACQf4RNgIQIAJBBzYCDEEAIQMMuAELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIAAgARAoIgBFDYYBIAJB3gA2AhwgAiABNgIUIAIgADYCDEEAIQMMmgELIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ2GASACQdwANgIcIAIgATYCFCACIAA2AgxBACEDDJkBCyACKAIEIQAgAkEANgIEIAIgACAFECgiAEUEQCAFIQEMhwELIAJB2gA2AhwgAiAFNgIUIAIgADYCDAyYAQtBACEBQQEhAwsgAiADOgArIAVBAWohAwJAAkACQCACLQAtQRBxDQACQAJAAkAgAi0AKg4DAQACBAsgBkUNAwwCCyAADQEMAgsgAUUNAQsgAigCBCEAIAJBADYCBCACIAAgAxAoIgBFBEAgAyEBDAILIAJB2AA2AhwgAiADNgIUIAIgADYCDEEAIQMMmAELIAIoAgQhACACQQA2AgQgAiAAIAMQKCIARQRAIAMhAQyHAQsgAkHZADYCHCACIAM2AhQgAiAANgIMQQAhAwyXAQtBzAAhAwx9CyAAQRVHBEAgAkEANgIcIAIgATYCFCACQZQNNgIQIAJBITYCDEEAIQMMlgELIAJB1wA2AhwgAiABNgIUIAJByRc2AhAgAkEVNgIMQQAhAwyVAQtBACEDIAJBADYCHCACIAE2AhQgAkGAETYCECACQQk2AgwMlAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0AIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiIBECoiAA0MDHcLQTkhAwyDAQsgAi0AMEEgcQ0GQcUBIQMMaQtBACEDIAJBADYCBCACIAEgARAqIgBFDQQgAkE6NgIcIAIgADYCDCACIAFBAWo2AhQMgQELIAItAChBAUcNACACLQAtQQhxRQ0BC0E3IQMMZgsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIABEAgAkE7NgIcIAIgADYCDCACIAFBAWo2AhQMfwsgAUEBaiEBDG4LIAJBCDoALAwECyABQQFqIQEMbQtBACEDIAJBADYCHCACIAE2AhQgAkHkEjYCECACQQQ2AgwMewsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIARQ1sIAJBNzYCHCACIAE2AhQgAiAANgIMDHoLIAIgAi8BMEEgcjsBMAtBMCEDDF8LIAJBNjYCHCACIAE2AhQgAiAANgIMDHcLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCACLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIAJBAToALCACIAIvATAgAXI7ATAgACEBDAELIAIgAi8BMEEIcjsBMCAAIQELQTkhAwxcCyACQQA6ACwLQTQhAwxaCyABIARGBEBBLSEDDHMLAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0EtIQMMdAsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIARQ0CIAJBLDYCHCACIAE2AhQgAiAANgIMDHMLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABECoiAEUEQCABQQFqIQEMAgsgAkEsNgIcIAIgADYCDCACIAFBAWo2AhQMcgsgAS0AAEENRgRAIAIoAgQhAEEAIQMgAkEANgIEIAIgACABECoiAEUEQCABQQFqIQEMAgsgAkEsNgIcIAIgADYCDCACIAFBAWo2AhQMcgsgAi0ALUEBcQRAQcQBIQMMWQsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIADQEMZQtBLyEDDFcLIAJBLjYCHCACIAE2AhQgAiAANgIMDG8LQQAhAyACQQA2AhwgAiABNgIUIAJB8BQ2AhAgAkEDNgIMDG4LQQEhAwJAAkACQAJAIAItACxBBWsOBAMBAgAECyACIAIvATBBCHI7ATAMAwtBAiEDDAELQQQhAwsgAkEBOgAsIAIgAi8BMCADcjsBMAtBKiEDDFMLQQAhAyACQQA2AhwgAiABNgIUIAJB4Q82AhAgAkEKNgIMDGsLQQEhAwJAAkACQAJAAkACQCACLQAsQQJrDgcFBAQDAQIABAsgAiACLwEwQQhyOwEwDAMLQQIhAwwBC0EEIQMLIAJBAToALCACIAIvATAgA3I7ATALQSshAwxSC0EAIQMgAkEANgIcIAIgATYCFCACQasSNgIQIAJBCzYCDAxqC0EAIQMgAkEANgIcIAIgATYCFCACQf0NNgIQIAJBHTYCDAxpCyABIARHBEADQCABLQAAQSBHDUggBCABQQFqIgFHDQALQSUhAwxpC0ElIQMMaAsgAi0ALUEBcQRAQcMBIQMMTwsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKSIABEAgAkEmNgIcIAIgADYCDCACIAFBAWo2AhQMaAsgAUEBaiEBDFwLIAFBAWohASACLwEwIgBBgAFxBEBBACEAAkAgAigCOCIDRQ0AIAMoAlQiA0UNACACIAMRAAAhAAsgAEUNBiAAQRVHDR8gAkEFNgIcIAIgATYCFCACQfkXNgIQIAJBFTYCDEEAIQMMZwsCQCAAQaAEcUGgBEcNACACLQAtQQJxDQBBACEDIAJBADYCHCACIAE2AhQgAkGWEzYCECACQQQ2AgwMZwsgAgJ/IAIvATBBFHFBFEYEQEEBIAItAChBAUYNARogAi8BMkHlAEYMAQsgAi0AKUEFRgs6AC5BACEAAkAgAigCOCIDRQ0AIAMoAiQiA0UNACACIAMRAAAhAAsCQAJAAkACQAJAIAAOFgIBAAQEBAQEBAQEBAQEBAQEBAQEBAMECyACQQE6AC4LIAIgAi8BMEHAAHI7ATALQSchAwxPCyACQSM2AhwgAiABNgIUIAJBpRY2AhAgAkEVNgIMQQAhAwxnC0EAIQMgAkEANgIcIAIgATYCFCACQdULNgIQIAJBETYCDAxmC0EAIQACQCACKAI4IgNFDQAgAygCLCIDRQ0AIAIgAxEAACEACyAADQELQQ4hAwxLCyAAQRVGBEAgAkECNgIcIAIgATYCFCACQbAYNgIQIAJBFTYCDEEAIQMMZAtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMYwtBACEDIAJBADYCHCACIAE2AhQgAkGqHDYCECACQQ82AgwMYgsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEgCqdqIgEQKyIARQ0AIAJBBTYCHCACIAE2AhQgAiAANgIMDGELQQ8hAwxHC0EAIQMgAkEANgIcIAIgATYCFCACQc0TNgIQIAJBDDYCDAxfC0IBIQoLIAFBAWohAQJAIAIpAyAiC0L//////////w9YBEAgAiALQgSGIAqENwMgDAELQQAhAyACQQA2AhwgAiABNgIUIAJBrQk2AhAgAkEMNgIMDF4LQSQhAwxEC0EAIQMgAkEANgIcIAIgATYCFCACQc0TNgIQIAJBDDYCDAxcCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAsIgBFBEAgAUEBaiEBDFILIAJBFzYCHCACIAA2AgwgAiABQQFqNgIUDFsLIAIoAgQhAEEAIQMgAkEANgIEAkAgAiAAIAEQLCIARQRAIAFBAWohAQwBCyACQRY2AhwgAiAANgIMIAIgAUEBajYCFAxbC0EfIQMMQQtBACEDIAJBADYCHCACIAE2AhQgAkGaDzYCECACQSI2AgwMWQsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQLSIARQRAIAFBAWohAQxQCyACQRQ2AhwgAiAANgIMIAIgAUEBajYCFAxYCyACKAIEIQBBACEDIAJBADYCBAJAIAIgACABEC0iAEUEQCABQQFqIQEMAQsgAkETNgIcIAIgADYCDCACIAFBAWo2AhQMWAtBHiEDDD4LQQAhAyACQQA2AhwgAiABNgIUIAJBxgw2AhAgAkEjNgIMDFYLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABEC0iAEUEQCABQQFqIQEMTgsgAkERNgIcIAIgADYCDCACIAFBAWo2AhQMVQsgAkEQNgIcIAIgATYCFCACIAA2AgwMVAtBACEDIAJBADYCHCACIAE2AhQgAkHGDDYCECACQSM2AgwMUwtBACEDIAJBADYCHCACIAE2AhQgAkHAFTYCECACQQI2AgwMUgsgAigCBCEAQQAhAyACQQA2AgQCQCACIAAgARAtIgBFBEAgAUEBaiEBDAELIAJBDjYCHCACIAA2AgwgAiABQQFqNgIUDFILQRshAww4C0EAIQMgAkEANgIcIAIgATYCFCACQcYMNgIQIAJBIzYCDAxQCyACKAIEIQBBACEDIAJBADYCBAJAIAIgACABECwiAEUEQCABQQFqIQEMAQsgAkENNgIcIAIgADYCDCACIAFBAWo2AhQMUAtBGiEDDDYLQQAhAyACQQA2AhwgAiABNgIUIAJBmg82AhAgAkEiNgIMDE4LIAIoAgQhAEEAIQMgAkEANgIEAkAgAiAAIAEQLCIARQRAIAFBAWohAQwBCyACQQw2AhwgAiAANgIMIAIgAUEBajYCFAxOC0EZIQMMNAtBACEDIAJBADYCHCACIAE2AhQgAkGaDzYCECACQSI2AgwMTAsgAEEVRwRAQQAhAyACQQA2AhwgAiABNgIUIAJBgww2AhAgAkETNgIMDEwLIAJBCjYCHCACIAE2AhQgAkHkFjYCECACQRU2AgxBACEDDEsLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABIAqnaiIBECsiAARAIAJBBzYCHCACIAE2AhQgAiAANgIMDEsLQRMhAwwxCyAAQRVHBEBBACEDIAJBADYCHCACIAE2AhQgAkHaDTYCECACQRQ2AgwMSgsgAkEeNgIcIAIgATYCFCACQfkXNgIQIAJBFTYCDEEAIQMMSQtBACEAAkAgAigCOCIDRQ0AIAMoAiwiA0UNACACIAMRAAAhAAsgAEUNQSAAQRVGBEAgAkEDNgIcIAIgATYCFCACQbAYNgIQIAJBFTYCDEEAIQMMSQtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMSAtBACEDIAJBADYCHCACIAE2AhQgAkHaDTYCECACQRQ2AgwMRwtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMRgsgAkEAOgAvIAItAC1BBHFFDT8LIAJBADoALyACQQE6ADRBACEDDCsLQQAhAyACQQA2AhwgAkHkETYCECACQQc2AgwgAiABQQFqNgIUDEMLAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB3QEhAwxDCwJAAkAgAi0ANEEBRw0AQQAhAAJAIAIoAjgiA0UNACADKAJYIgNFDQAgAiADEQAAIQALIABFDQAgAEEVRw0BIAJB3AE2AhwgAiABNgIUIAJB1RY2AhAgAkEVNgIMQQAhAwxEC0HBASEDDCoLIAJBADYCHCACIAE2AhQgAkHpCzYCECACQR82AgxBACEDDEILAkACQCACLQAoQQFrDgIEAQALQcABIQMMKQtBuQEhAwwoCyACQQI6AC9BACEAAkAgAigCOCIDRQ0AIAMoAgAiA0UNACACIAMRAAAhAAsgAEUEQEHCASEDDCgLIABBFUcEQCACQQA2AhwgAiABNgIUIAJBpAw2AhAgAkEQNgIMQQAhAwxBCyACQdsBNgIcIAIgATYCFCACQfoWNgIQIAJBFTYCDEEAIQMMQAsgASAERgRAQdoBIQMMQAsgAS0AAEHIAEYNASACQQE6ACgLQawBIQMMJQtBvwEhAwwkCyABIARHBEAgAkEQNgIIIAIgATYCBEG+ASEDDCQLQdkBIQMMPAsgASAERgRAQdgBIQMMPAsgAS0AAEHIAEcNBCABQQFqIQFBvQEhAwwiCyABIARGBEBB1wEhAww7CwJAAkAgAS0AAEHFAGsOEAAFBQUFBQUFBQUFBQUFBQEFCyABQQFqIQFBuwEhAwwiCyABQQFqIQFBvAEhAwwhC0HWASEDIAEgBEYNOSACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGD0ABqLQAARw0DIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAw6CyACKAIEIQAgAkIANwMAIAIgACAGQQFqIgEQJyIARQRAQcYBIQMMIQsgAkHVATYCHCACIAE2AhQgAiAANgIMQQAhAww5C0HUASEDIAEgBEYNOCACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGB0ABqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAw5CyACQYEEOwEoIAIoAgQhACACQgA3AwAgAiAAIAZBAWoiARAnIgANAwwCCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJB2Bs2AhAgAkEINgIMDDYLQboBIQMMHAsgAkHTATYCHCACIAE2AhQgAiAANgIMQQAhAww0C0EAIQACQCACKAI4IgNFDQAgAygCOCIDRQ0AIAIgAxEAACEACyAARQ0AIABBFUYNASACQQA2AhwgAiABNgIUIAJBzA42AhAgAkEgNgIMQQAhAwwzC0HkACEDDBkLIAJB+AA2AhwgAiABNgIUIAJByhg2AhAgAkEVNgIMQQAhAwwxC0HSASEDIAQgASIARg0wIAQgAWsgAigCACIBaiEFIAAgAWtBBGohBgJAA0AgAC0AACABQfzPAGotAABHDQEgAUEERg0DIAFBAWohASAEIABBAWoiAEcNAAsgAiAFNgIADDELIAJBADYCHCACIAA2AhQgAkGQMzYCECACQQg2AgwgAkEANgIAQQAhAwwwCyABIARHBEAgAkEONgIIIAIgATYCBEG3ASEDDBcLQdEBIQMMLwsgAkEANgIAIAZBAWohAQtBuAEhAwwUCyABIARGBEBB0AEhAwwtCyABLQAAQTBrIgBB/wFxQQpJBEAgAiAAOgAqIAFBAWohAUG2ASEDDBQLIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ0UIAJBzwE2AhwgAiABNgIUIAIgADYCDEEAIQMMLAsgASAERgRAQc4BIQMMLAsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ0VIAJBzQE2AhwgAiABNgIUIAIgADYCDEEAIQMMLAtBtQEhAwwSCyAEIAEiBUYEQEHMASEDDCsLQQAhAEEBIQFBASEGQQAhAwJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAUtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyEDQQAhAUEAIQYMAgtBCSEDQQEhAEEAIQFBACEGDAELQQAhAUEBIQMLIAIgAzoAKyAFQQFqIQMCQAJAIAItAC1BEHENAAJAAkACQCACLQAqDgMBAAIECyAGRQ0DDAILIAANAQwCCyABRQ0BCyACKAIEIQAgAkEANgIEIAIgACADECgiAEUEQCADIQEMAwsgAkHJATYCHCACIAM2AhQgAiAANgIMQQAhAwwtCyACKAIEIQAgAkEANgIEIAIgACADECgiAEUEQCADIQEMGAsgAkHKATYCHCACIAM2AhQgAiAANgIMQQAhAwwsCyACKAIEIQAgAkEANgIEIAIgACAFECgiAEUEQCAFIQEMFgsgAkHLATYCHCACIAU2AhQgAiAANgIMDCsLQbQBIQMMEQtBACEAAkAgAigCOCIDRQ0AIAMoAjwiA0UNACACIAMRAAAhAAsCQCAABEAgAEEVRg0BIAJBADYCHCACIAE2AhQgAkGUDTYCECACQSE2AgxBACEDDCsLQbIBIQMMEQsgAkHIATYCHCACIAE2AhQgAkHJFzYCECACQRU2AgxBACEDDCkLIAJBADYCACAGQQFqIQFB9QAhAwwPCyACLQApQQVGBEBB4wAhAwwPC0HiACEDDA4LIAAhASACQQA2AgALIAJBADoALEEJIQMMDAsgAkEANgIAIAdBAWohAUHAACEDDAsLQQELOgAsIAJBADYCACAGQQFqIQELQSkhAwwIC0E4IQMMBwsCQCABIARHBEADQCABLQAAQYA+ai0AACIAQQFHBEAgAEECRw0DIAFBAWohAQwFCyAEIAFBAWoiAUcNAAtBPiEDDCELQT4hAwwgCwsgAkEAOgAsDAELQQshAwwEC0E6IQMMAwsgAUEBaiEBQS0hAwwCCyACIAE6ACwgAkEANgIAIAZBAWohAUEMIQMMAQsgAkEANgIAIAZBAWohAUEKIQMMAAsAC0EAIQMgAkEANgIcIAIgATYCFCACQc0QNgIQIAJBCTYCDAwXC0EAIQMgAkEANgIcIAIgATYCFCACQekKNgIQIAJBCTYCDAwWC0EAIQMgAkEANgIcIAIgATYCFCACQbcQNgIQIAJBCTYCDAwVC0EAIQMgAkEANgIcIAIgATYCFCACQZwRNgIQIAJBCTYCDAwUC0EAIQMgAkEANgIcIAIgATYCFCACQc0QNgIQIAJBCTYCDAwTC0EAIQMgAkEANgIcIAIgATYCFCACQekKNgIQIAJBCTYCDAwSC0EAIQMgAkEANgIcIAIgATYCFCACQbcQNgIQIAJBCTYCDAwRC0EAIQMgAkEANgIcIAIgATYCFCACQZwRNgIQIAJBCTYCDAwQC0EAIQMgAkEANgIcIAIgATYCFCACQZcVNgIQIAJBDzYCDAwPC0EAIQMgAkEANgIcIAIgATYCFCACQZcVNgIQIAJBDzYCDAwOC0EAIQMgAkEANgIcIAIgATYCFCACQcASNgIQIAJBCzYCDAwNC0EAIQMgAkEANgIcIAIgATYCFCACQZUJNgIQIAJBCzYCDAwMC0EAIQMgAkEANgIcIAIgATYCFCACQeEPNgIQIAJBCjYCDAwLC0EAIQMgAkEANgIcIAIgATYCFCACQfsPNgIQIAJBCjYCDAwKC0EAIQMgAkEANgIcIAIgATYCFCACQfEZNgIQIAJBAjYCDAwJC0EAIQMgAkEANgIcIAIgATYCFCACQcQUNgIQIAJBAjYCDAwIC0EAIQMgAkEANgIcIAIgATYCFCACQfIVNgIQIAJBAjYCDAwHCyACQQI2AhwgAiABNgIUIAJBnBo2AhAgAkEWNgIMQQAhAwwGC0EBIQMMBQtB1AAhAyABIARGDQQgCEEIaiEJIAIoAgAhBQJAAkAgASAERwRAIAVB2MIAaiEHIAQgBWogAWshACAFQX9zQQpqIgUgAWohBgNAIAEtAAAgBy0AAEcEQEECIQcMAwsgBUUEQEEAIQcgBiEBDAMLIAVBAWshBSAHQQFqIQcgBCABQQFqIgFHDQALIAAhBSAEIQELIAlBATYCACACIAU2AgAMAQsgAkEANgIAIAkgBzYCAAsgCSABNgIEIAgoAgwhACAIKAIIDgMBBAIACwALIAJBADYCHCACQbUaNgIQIAJBFzYCDCACIABBAWo2AhRBACEDDAILIAJBADYCHCACIAA2AhQgAkHKGjYCECACQQk2AgxBACEDDAELIAEgBEYEQEEiIQMMAQsgAkEJNgIIIAIgATYCBEEhIQMLIAhBEGokACADRQRAIAIoAgwhAAwBCyACIAM2AhxBACEAIAIoAgQiAUUNACACIAEgBCACKAIIEQEAIgFFDQAgAiAENgIUIAIgATYCDCABIQALIAALvgIBAn8gAEEAOgAAIABB3ABqIgFBAWtBADoAACAAQQA6AAIgAEEAOgABIAFBA2tBADoAACABQQJrQQA6AAAgAEEAOgADIAFBBGtBADoAAEEAIABrQQNxIgEgAGoiAEEANgIAQdwAIAFrQXxxIgIgAGoiAUEEa0EANgIAAkAgAkEJSQ0AIABBADYCCCAAQQA2AgQgAUEIa0EANgIAIAFBDGtBADYCACACQRlJDQAgAEEANgIYIABBADYCFCAAQQA2AhAgAEEANgIMIAFBEGtBADYCACABQRRrQQA2AgAgAUEYa0EANgIAIAFBHGtBADYCACACIABBBHFBGHIiAmsiAUEgSQ0AIAAgAmohAANAIABCADcDGCAAQgA3AxAgAEIANwMIIABCADcDACAAQSBqIQAgAUEgayIBQR9LDQALCwtWAQF/AkAgACgCDA0AAkACQAJAAkAgAC0ALw4DAQADAgsgACgCOCIBRQ0AIAEoAiwiAUUNACAAIAERAAAiAQ0DC0EADwsACyAAQcMWNgIQQQ4hAQsgAQsaACAAKAIMRQRAIABB0Rs2AhAgAEEVNgIMCwsUACAAKAIMQRVGBEAgAEEANgIMCwsUACAAKAIMQRZGBEAgAEEANgIMCwsHACAAKAIMCwcAIAAoAhALCQAgACABNgIQCwcAIAAoAhQLFwAgAEEkTwRAAAsgAEECdEGgM2ooAgALFwAgAEEuTwRAAAsgAEECdEGwNGooAgALvwkBAX9B6yghAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB5ABrDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0HhJw8LQaQhDwtByywPC0H+MQ8LQcAkDwtBqyQPC0GNKA8LQeImDwtBgDAPC0G5Lw8LQdckDwtB7x8PC0HhHw8LQfofDwtB8iAPC0GoLw8LQa4yDwtBiDAPC0HsJw8LQYIiDwtBjh0PC0HQLg8LQcojDwtBxTIPC0HfHA8LQdIcDwtBxCAPC0HXIA8LQaIfDwtB7S4PC0GrMA8LQdQlDwtBzC4PC0H6Lg8LQfwrDwtB0jAPC0HxHQ8LQbsgDwtB9ysPC0GQMQ8LQdcxDwtBoi0PC0HUJw8LQeArDwtBnywPC0HrMQ8LQdUfDwtByjEPC0HeJQ8LQdQeDwtB9BwPC0GnMg8LQbEdDwtBoB0PC0G5MQ8LQbwwDwtBkiEPC0GzJg8LQeksDwtBrB4PC0HUKw8LQfcmDwtBgCYPC0GwIQ8LQf4eDwtBjSMPC0GJLQ8LQfciDwtBoDEPC0GuHw8LQcYlDwtB6B4PC0GTIg8LQcIvDwtBwx0PC0GLLA8LQeEdDwtBjS8PC0HqIQ8LQbQtDwtB0i8PC0HfMg8LQdIyDwtB8DAPC0GpIg8LQfkjDwtBmR4PC0G1LA8LQZswDwtBkjIPC0G2Kw8LQcIiDwtB+DIPC0GeJQ8LQdAiDwtBuh4PC0GBHg8LAAtB1iEhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCz4BAn8CQCAAKAI4IgNFDQAgAygCBCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBxhE2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCCCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB9go2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCDCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB7Ro2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCECIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBlRA2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCFCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBqhs2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCGCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB7RM2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCKCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB9gg2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCHCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBwhk2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCICIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBlBQ2AhBBGCEECyAEC1kBAn8CQCAALQAoQQFGDQAgAC8BMiIBQeQAa0HkAEkNACABQcwBRg0AIAFBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhAiAAQYgEcUGABEYNACAAQShxRSECCyACC4wBAQJ/AkACQAJAIAAtACpFDQAgAC0AK0UNACAALwEwIgFBAnFFDQEMAgsgAC8BMCIBQQFxRQ0BC0EBIQIgAC0AKEEBRg0AIAAvATIiAEHkAGtB5ABJDQAgAEHMAUYNACAAQbACRg0AIAFBwABxDQBBACECIAFBiARxQYAERg0AIAFBKHFBAEchAgsgAgtXACAAQRhqQgA3AwAgAEIANwMAIABBOGpCADcDACAAQTBqQgA3AwAgAEEoakIANwMAIABBIGpCADcDACAAQRBqQgA3AwAgAEEIakIANwMAIABB3QE2AhwLBgAgABAyC5otAQt/IwBBEGsiCiQAQaTQACgCACIJRQRAQeTTACgCACIFRQRAQfDTAEJ/NwIAQejTAEKAgISAgIDAADcCAEHk0wAgCkEIakFwcUHYqtWqBXMiBTYCAEH40wBBADYCAEHI0wBBADYCAAtBzNMAQYDUBDYCAEGc0ABBgNQENgIAQbDQACAFNgIAQazQAEF/NgIAQdDTAEGArAM2AgADQCABQcjQAGogAUG80ABqIgI2AgAgAiABQbTQAGoiAzYCACABQcDQAGogAzYCACABQdDQAGogAUHE0ABqIgM2AgAgAyACNgIAIAFB2NAAaiABQczQAGoiAjYCACACIAM2AgAgAUHU0ABqIAI2AgAgAUEgaiIBQYACRw0AC0GM1ARBwasDNgIAQajQAEH00wAoAgA2AgBBmNAAQcCrAzYCAEGk0ABBiNQENgIAQcz/B0E4NgIAQYjUBCEJCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB7AFNBEBBjNAAKAIAIgZBECAAQRNqQXBxIABBC0kbIgRBA3YiAHYiAUEDcQRAAkAgAUEBcSAAckEBcyICQQN0IgBBtNAAaiIBIABBvNAAaigCACIAKAIIIgNGBEBBjNAAIAZBfiACd3E2AgAMAQsgASADNgIIIAMgATYCDAsgAEEIaiEBIAAgAkEDdCICQQNyNgIEIAAgAmoiACAAKAIEQQFyNgIEDBELQZTQACgCACIIIARPDQEgAQRAAkBBAiAAdCICQQAgAmtyIAEgAHRxaCIAQQN0IgJBtNAAaiIBIAJBvNAAaigCACICKAIIIgNGBEBBjNAAIAZBfiAAd3EiBjYCAAwBCyABIAM2AgggAyABNgIMCyACIARBA3I2AgQgAEEDdCIAIARrIQUgACACaiAFNgIAIAIgBGoiBCAFQQFyNgIEIAgEQCAIQXhxQbTQAGohAEGg0AAoAgAhAwJ/QQEgCEEDdnQiASAGcUUEQEGM0AAgASAGcjYCACAADAELIAAoAggLIgEgAzYCDCAAIAM2AgggAyAANgIMIAMgATYCCAsgAkEIaiEBQaDQACAENgIAQZTQACAFNgIADBELQZDQACgCACILRQ0BIAtoQQJ0QbzSAGooAgAiACgCBEF4cSAEayEFIAAhAgNAAkAgAigCECIBRQRAIAJBFGooAgAiAUUNAQsgASgCBEF4cSAEayIDIAVJIQIgAyAFIAIbIQUgASAAIAIbIQAgASECDAELCyAAKAIYIQkgACgCDCIDIABHBEBBnNAAKAIAGiADIAAoAggiATYCCCABIAM2AgwMEAsgAEEUaiICKAIAIgFFBEAgACgCECIBRQ0DIABBEGohAgsDQCACIQcgASIDQRRqIgIoAgAiAQ0AIANBEGohAiADKAIQIgENAAsgB0EANgIADA8LQX8hBCAAQb9/Sw0AIABBE2oiAUFwcSEEQZDQACgCACIIRQ0AQQAgBGshBQJAAkACQAJ/QQAgBEGAAkkNABpBHyAEQf///wdLDQAaIARBJiABQQh2ZyIAa3ZBAXEgAEEBdGtBPmoLIgZBAnRBvNIAaigCACICRQRAQQAhAUEAIQMMAQtBACEBIARBGSAGQQF2a0EAIAZBH0cbdCEAQQAhAwNAAkAgAigCBEF4cSAEayIHIAVPDQAgAiEDIAciBQ0AQQAhBSACIQEMAwsgASACQRRqKAIAIgcgByACIABBHXZBBHFqQRBqKAIAIgJGGyABIAcbIQEgAEEBdCEAIAINAAsLIAEgA3JFBEBBACEDQQIgBnQiAEEAIABrciAIcSIARQ0DIABoQQJ0QbzSAGooAgAhAQsgAUUNAQsDQCABKAIEQXhxIARrIgIgBUkhACACIAUgABshBSABIAMgABshAyABKAIQIgAEfyAABSABQRRqKAIACyIBDQALCyADRQ0AIAVBlNAAKAIAIARrTw0AIAMoAhghByADIAMoAgwiAEcEQEGc0AAoAgAaIAAgAygCCCIBNgIIIAEgADYCDAwOCyADQRRqIgIoAgAiAUUEQCADKAIQIgFFDQMgA0EQaiECCwNAIAIhBiABIgBBFGoiAigCACIBDQAgAEEQaiECIAAoAhAiAQ0ACyAGQQA2AgAMDQtBlNAAKAIAIgMgBE8EQEGg0AAoAgAhAQJAIAMgBGsiAkEQTwRAIAEgBGoiACACQQFyNgIEIAEgA2ogAjYCACABIARBA3I2AgQMAQsgASADQQNyNgIEIAEgA2oiACAAKAIEQQFyNgIEQQAhAEEAIQILQZTQACACNgIAQaDQACAANgIAIAFBCGohAQwPC0GY0AAoAgAiAyAESwRAIAQgCWoiACADIARrIgFBAXI2AgRBpNAAIAA2AgBBmNAAIAE2AgAgCSAEQQNyNgIEIAlBCGohAQwPC0EAIQEgBAJ/QeTTACgCAARAQezTACgCAAwBC0Hw0wBCfzcCAEHo0wBCgICEgICAwAA3AgBB5NMAIApBDGpBcHFB2KrVqgVzNgIAQfjTAEEANgIAQcjTAEEANgIAQYCABAsiACAEQccAaiIFaiIGQQAgAGsiB3EiAk8EQEH80wBBMDYCAAwPCwJAQcTTACgCACIBRQ0AQbzTACgCACIIIAJqIQAgACABTSAAIAhLcQ0AQQAhAUH80wBBMDYCAAwPC0HI0wAtAABBBHENBAJAAkAgCQRAQczTACEBA0AgASgCACIAIAlNBEAgACABKAIEaiAJSw0DCyABKAIIIgENAAsLQQAQMyIAQX9GDQUgAiEGQejTACgCACIBQQFrIgMgAHEEQCACIABrIAAgA2pBACABa3FqIQYLIAQgBk8NBSAGQf7///8HSw0FQcTTACgCACIDBEBBvNMAKAIAIgcgBmohASABIAdNDQYgASADSw0GCyAGEDMiASAARw0BDAcLIAYgA2sgB3EiBkH+////B0sNBCAGEDMhACAAIAEoAgAgASgCBGpGDQMgACEBCwJAIAYgBEHIAGpPDQAgAUF/Rg0AQezTACgCACIAIAUgBmtqQQAgAGtxIgBB/v///wdLBEAgASEADAcLIAAQM0F/RwRAIAAgBmohBiABIQAMBwtBACAGaxAzGgwECyABIgBBf0cNBQwDC0EAIQMMDAtBACEADAoLIABBf0cNAgtByNMAQcjTACgCAEEEcjYCAAsgAkH+////B0sNASACEDMhAEEAEDMhASAAQX9GDQEgAUF/Rg0BIAAgAU8NASABIABrIgYgBEE4ak0NAQtBvNMAQbzTACgCACAGaiIBNgIAQcDTACgCACABSQRAQcDTACABNgIACwJAAkACQEGk0AAoAgAiAgRAQczTACEBA0AgACABKAIAIgMgASgCBCIFakYNAiABKAIIIgENAAsMAgtBnNAAKAIAIgFBAEcgACABT3FFBEBBnNAAIAA2AgALQQAhAUHQ0wAgBjYCAEHM0wAgADYCAEGs0ABBfzYCAEGw0ABB5NMAKAIANgIAQdjTAEEANgIAA0AgAUHI0ABqIAFBvNAAaiICNgIAIAIgAUG00ABqIgM2AgAgAUHA0ABqIAM2AgAgAUHQ0ABqIAFBxNAAaiIDNgIAIAMgAjYCACABQdjQAGogAUHM0ABqIgI2AgAgAiADNgIAIAFB1NAAaiACNgIAIAFBIGoiAUGAAkcNAAtBeCAAa0EPcSIBIABqIgIgBkE4ayIDIAFrIgFBAXI2AgRBqNAAQfTTACgCADYCAEGY0AAgATYCAEGk0AAgAjYCACAAIANqQTg2AgQMAgsgACACTQ0AIAIgA0kNACABKAIMQQhxDQBBeCACa0EPcSIAIAJqIgNBmNAAKAIAIAZqIgcgAGsiAEEBcjYCBCABIAUgBmo2AgRBqNAAQfTTACgCADYCAEGY0AAgADYCAEGk0AAgAzYCACACIAdqQTg2AgQMAQsgAEGc0AAoAgBJBEBBnNAAIAA2AgALIAAgBmohA0HM0wAhAQJAAkACQANAIAMgASgCAEcEQCABKAIIIgENAQwCCwsgAS0ADEEIcUUNAQtBzNMAIQEDQCABKAIAIgMgAk0EQCADIAEoAgRqIgUgAksNAwsgASgCCCEBDAALAAsgASAANgIAIAEgASgCBCAGajYCBCAAQXggAGtBD3FqIgkgBEEDcjYCBCADQXggA2tBD3FqIgYgBCAJaiIEayEBIAIgBkYEQEGk0AAgBDYCAEGY0ABBmNAAKAIAIAFqIgA2AgAgBCAAQQFyNgIEDAgLQaDQACgCACAGRgRAQaDQACAENgIAQZTQAEGU0AAoAgAgAWoiADYCACAEIABBAXI2AgQgACAEaiAANgIADAgLIAYoAgQiBUEDcUEBRw0GIAVBeHEhCCAFQf8BTQRAIAVBA3YhAyAGKAIIIgAgBigCDCICRgRAQYzQAEGM0AAoAgBBfiADd3E2AgAMBwsgAiAANgIIIAAgAjYCDAwGCyAGKAIYIQcgBiAGKAIMIgBHBEAgACAGKAIIIgI2AgggAiAANgIMDAULIAZBFGoiAigCACIFRQRAIAYoAhAiBUUNBCAGQRBqIQILA0AgAiEDIAUiAEEUaiICKAIAIgUNACAAQRBqIQIgACgCECIFDQALIANBADYCAAwEC0F4IABrQQ9xIgEgAGoiByAGQThrIgMgAWsiAUEBcjYCBCAAIANqQTg2AgQgAiAFQTcgBWtBD3FqQT9rIgMgAyACQRBqSRsiA0EjNgIEQajQAEH00wAoAgA2AgBBmNAAIAE2AgBBpNAAIAc2AgAgA0EQakHU0wApAgA3AgAgA0HM0wApAgA3AghB1NMAIANBCGo2AgBB0NMAIAY2AgBBzNMAIAA2AgBB2NMAQQA2AgAgA0EkaiEBA0AgAUEHNgIAIAUgAUEEaiIBSw0ACyACIANGDQAgAyADKAIEQX5xNgIEIAMgAyACayIFNgIAIAIgBUEBcjYCBCAFQf8BTQRAIAVBeHFBtNAAaiEAAn9BjNAAKAIAIgFBASAFQQN2dCIDcUUEQEGM0AAgASADcjYCACAADAELIAAoAggLIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCAwBC0EfIQEgBUH///8HTQRAIAVBJiAFQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAQsgAiABNgIcIAJCADcCECABQQJ0QbzSAGohAEGQ0AAoAgAiA0EBIAF0IgZxRQRAIAAgAjYCAEGQ0AAgAyAGcjYCACACIAA2AhggAiACNgIIIAIgAjYCDAwBCyAFQRkgAUEBdmtBACABQR9HG3QhASAAKAIAIQMCQANAIAMiACgCBEF4cSAFRg0BIAFBHXYhAyABQQF0IQEgACADQQRxakEQaiIGKAIAIgMNAAsgBiACNgIAIAIgADYCGCACIAI2AgwgAiACNgIIDAELIAAoAggiASACNgIMIAAgAjYCCCACQQA2AhggAiAANgIMIAIgATYCCAtBmNAAKAIAIgEgBE0NAEGk0AAoAgAiACAEaiICIAEgBGsiAUEBcjYCBEGY0AAgATYCAEGk0AAgAjYCACAAIARBA3I2AgQgAEEIaiEBDAgLQQAhAUH80wBBMDYCAAwHC0EAIQALIAdFDQACQCAGKAIcIgJBAnRBvNIAaiIDKAIAIAZGBEAgAyAANgIAIAANAUGQ0ABBkNAAKAIAQX4gAndxNgIADAILIAdBEEEUIAcoAhAgBkYbaiAANgIAIABFDQELIAAgBzYCGCAGKAIQIgIEQCAAIAI2AhAgAiAANgIYCyAGQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAIaiEBIAYgCGoiBigCBCEFCyAGIAVBfnE2AgQgASAEaiABNgIAIAQgAUEBcjYCBCABQf8BTQRAIAFBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASABQQN2dCIBcUUEQEGM0AAgASACcjYCACAADAELIAAoAggLIgEgBDYCDCAAIAQ2AgggBCAANgIMIAQgATYCCAwBC0EfIQUgAUH///8HTQRAIAFBJiABQQh2ZyIAa3ZBAXEgAEEBdGtBPmohBQsgBCAFNgIcIARCADcCECAFQQJ0QbzSAGohAEGQ0AAoAgAiAkEBIAV0IgNxRQRAIAAgBDYCAEGQ0AAgAiADcjYCACAEIAA2AhggBCAENgIIIAQgBDYCDAwBCyABQRkgBUEBdmtBACAFQR9HG3QhBSAAKAIAIQACQANAIAAiAigCBEF4cSABRg0BIAVBHXYhACAFQQF0IQUgAiAAQQRxakEQaiIDKAIAIgANAAsgAyAENgIAIAQgAjYCGCAEIAQ2AgwgBCAENgIIDAELIAIoAggiACAENgIMIAIgBDYCCCAEQQA2AhggBCACNgIMIAQgADYCCAsgCUEIaiEBDAILAkAgB0UNAAJAIAMoAhwiAUECdEG80gBqIgIoAgAgA0YEQCACIAA2AgAgAA0BQZDQACAIQX4gAXdxIgg2AgAMAgsgB0EQQRQgBygCECADRhtqIAA2AgAgAEUNAQsgACAHNgIYIAMoAhAiAQRAIAAgATYCECABIAA2AhgLIANBFGooAgAiAUUNACAAQRRqIAE2AgAgASAANgIYCwJAIAVBD00EQCADIAQgBWoiAEEDcjYCBCAAIANqIgAgACgCBEEBcjYCBAwBCyADIARqIgIgBUEBcjYCBCADIARBA3I2AgQgAiAFaiAFNgIAIAVB/wFNBEAgBUF4cUG00ABqIQACf0GM0AAoAgAiAUEBIAVBA3Z0IgVxRQRAQYzQACABIAVyNgIAIAAMAQsgACgCCAsiASACNgIMIAAgAjYCCCACIAA2AgwgAiABNgIIDAELQR8hASAFQf///wdNBEAgBUEmIAVBCHZnIgBrdkEBcSAAQQF0a0E+aiEBCyACIAE2AhwgAkIANwIQIAFBAnRBvNIAaiEAQQEgAXQiBCAIcUUEQCAAIAI2AgBBkNAAIAQgCHI2AgAgAiAANgIYIAIgAjYCCCACIAI2AgwMAQsgBUEZIAFBAXZrQQAgAUEfRxt0IQEgACgCACEEAkADQCAEIgAoAgRBeHEgBUYNASABQR12IQQgAUEBdCEBIAAgBEEEcWpBEGoiBigCACIEDQALIAYgAjYCACACIAA2AhggAiACNgIMIAIgAjYCCAwBCyAAKAIIIgEgAjYCDCAAIAI2AgggAkEANgIYIAIgADYCDCACIAE2AggLIANBCGohAQwBCwJAIAlFDQACQCAAKAIcIgFBAnRBvNIAaiICKAIAIABGBEAgAiADNgIAIAMNAUGQ0AAgC0F+IAF3cTYCAAwCCyAJQRBBFCAJKAIQIABGG2ogAzYCACADRQ0BCyADIAk2AhggACgCECIBBEAgAyABNgIQIAEgAzYCGAsgAEEUaigCACIBRQ0AIANBFGogATYCACABIAM2AhgLAkAgBUEPTQRAIAAgBCAFaiIBQQNyNgIEIAAgAWoiASABKAIEQQFyNgIEDAELIAAgBGoiByAFQQFyNgIEIAAgBEEDcjYCBCAFIAdqIAU2AgAgCARAIAhBeHFBtNAAaiEBQaDQACgCACEDAn9BASAIQQN2dCICIAZxRQRAQYzQACACIAZyNgIAIAEMAQsgASgCCAsiAiADNgIMIAEgAzYCCCADIAE2AgwgAyACNgIIC0Gg0AAgBzYCAEGU0AAgBTYCAAsgAEEIaiEBCyAKQRBqJAAgAQtDACAARQRAPwBBEHQPCwJAIABB//8DcQ0AIABBAEgNACAAQRB2QAAiAEF/RgRAQfzTAEEwNgIAQX8PCyAAQRB0DwsACwvcPyIAQYAICwkBAAAAAgAAAAMAQZQICwUEAAAABQBBpAgLCQYAAAAHAAAACABB3AgLii1JbnZhbGlkIGNoYXIgaW4gdXJsIHF1ZXJ5AFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fYm9keQBDb250ZW50LUxlbmd0aCBvdmVyZmxvdwBDaHVuayBzaXplIG92ZXJmbG93AFJlc3BvbnNlIG92ZXJmbG93AEludmFsaWQgbWV0aG9kIGZvciBIVFRQL3gueCByZXF1ZXN0AEludmFsaWQgbWV0aG9kIGZvciBSVFNQL3gueCByZXF1ZXN0AEV4cGVjdGVkIFNPVVJDRSBtZXRob2QgZm9yIElDRS94LnggcmVxdWVzdABJbnZhbGlkIGNoYXIgaW4gdXJsIGZyYWdtZW50IHN0YXJ0AEV4cGVjdGVkIGRvdABTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3N0YXR1cwBJbnZhbGlkIHJlc3BvbnNlIHN0YXR1cwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zAFVzZXIgY2FsbGJhY2sgZXJyb3IAYG9uX3Jlc2V0YCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfaGVhZGVyYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9iZWdpbmAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3N0YXR1c19jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3ZlcnNpb25fY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl91cmxfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl92YWx1ZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21lc3NhZ2VfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXRob2RfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfZmllbGRfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fbmFtZWAgY2FsbGJhY2sgZXJyb3IAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzZXJ2ZXIASW52YWxpZCBoZWFkZXIgdmFsdWUgY2hhcgBJbnZhbGlkIGhlYWRlciBmaWVsZCBjaGFyAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fdmVyc2lvbgBJbnZhbGlkIG1pbm9yIHZlcnNpb24ASW52YWxpZCBtYWpvciB2ZXJzaW9uAEV4cGVjdGVkIHNwYWNlIGFmdGVyIHZlcnNpb24ARXhwZWN0ZWQgQ1JMRiBhZnRlciB2ZXJzaW9uAEludmFsaWQgSFRUUCB2ZXJzaW9uAEludmFsaWQgaGVhZGVyIHRva2VuAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fdXJsAEludmFsaWQgY2hhcmFjdGVycyBpbiB1cmwAVW5leHBlY3RlZCBzdGFydCBjaGFyIGluIHVybABEb3VibGUgQCBpbiB1cmwARW1wdHkgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyYWN0ZXIgaW4gQ29udGVudC1MZW5ndGgARHVwbGljYXRlIENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhciBpbiB1cmwgcGF0aABDb250ZW50LUxlbmd0aCBjYW4ndCBiZSBwcmVzZW50IHdpdGggVHJhbnNmZXItRW5jb2RpbmcASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgc2l6ZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2hlYWRlcl92YWx1ZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHZhbHVlAE1pc3NpbmcgZXhwZWN0ZWQgTEYgYWZ0ZXIgaGVhZGVyIHZhbHVlAEludmFsaWQgYFRyYW5zZmVyLUVuY29kaW5nYCBoZWFkZXIgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZSB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlZCB2YWx1ZQBQYXVzZWQgYnkgb25faGVhZGVyc19jb21wbGV0ZQBJbnZhbGlkIEVPRiBzdGF0ZQBvbl9yZXNldCBwYXVzZQBvbl9jaHVua19oZWFkZXIgcGF1c2UAb25fbWVzc2FnZV9iZWdpbiBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fdmFsdWUgcGF1c2UAb25fc3RhdHVzX2NvbXBsZXRlIHBhdXNlAG9uX3ZlcnNpb25fY29tcGxldGUgcGF1c2UAb25fdXJsX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl92YWx1ZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXNzYWdlX2NvbXBsZXRlIHBhdXNlAG9uX21ldGhvZF9jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfZmllbGRfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX25hbWUgcGF1c2UAVW5leHBlY3RlZCBzcGFjZSBhZnRlciBzdGFydCBsaW5lAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX25hbWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBuYW1lAFBhdXNlIG9uIENPTk5FQ1QvVXBncmFkZQBQYXVzZSBvbiBQUkkvVXBncmFkZQBFeHBlY3RlZCBIVFRQLzIgQ29ubmVjdGlvbiBQcmVmYWNlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fbWV0aG9kAEV4cGVjdGVkIHNwYWNlIGFmdGVyIG1ldGhvZABTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2hlYWRlcl9maWVsZABQYXVzZWQASW52YWxpZCB3b3JkIGVuY291bnRlcmVkAEludmFsaWQgbWV0aG9kIGVuY291bnRlcmVkAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2NoZW1hAFJlcXVlc3QgaGFzIGludmFsaWQgYFRyYW5zZmVyLUVuY29kaW5nYABTV0lUQ0hfUFJPWFkAVVNFX1BST1hZAE1LQUNUSVZJVFkAVU5QUk9DRVNTQUJMRV9FTlRJVFkAQ09QWQBNT1ZFRF9QRVJNQU5FTlRMWQBUT09fRUFSTFkATk9USUZZAEZBSUxFRF9ERVBFTkRFTkNZAEJBRF9HQVRFV0FZAFBMQVkAUFVUAENIRUNLT1VUAEdBVEVXQVlfVElNRU9VVABSRVFVRVNUX1RJTUVPVVQATkVUV09SS19DT05ORUNUX1RJTUVPVVQAQ09OTkVDVElPTl9USU1FT1VUAExPR0lOX1RJTUVPVVQATkVUV09SS19SRUFEX1RJTUVPVVQAUE9TVABNSVNESVJFQ1RFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX0xPQURfQkFMQU5DRURfUkVRVUVTVABCQURfUkVRVUVTVABIVFRQX1JFUVVFU1RfU0VOVF9UT19IVFRQU19QT1JUAFJFUE9SVABJTV9BX1RFQVBPVABSRVNFVF9DT05URU5UAE5PX0NPTlRFTlQAUEFSVElBTF9DT05URU5UAEhQRV9JTlZBTElEX0NPTlNUQU5UAEhQRV9DQl9SRVNFVABHRVQASFBFX1NUUklDVABDT05GTElDVABURU1QT1JBUllfUkVESVJFQ1QAUEVSTUFORU5UX1JFRElSRUNUAENPTk5FQ1QATVVMVElfU1RBVFVTAEhQRV9JTlZBTElEX1NUQVRVUwBUT09fTUFOWV9SRVFVRVNUUwBFQVJMWV9ISU5UUwBVTkFWQUlMQUJMRV9GT1JfTEVHQUxfUkVBU09OUwBPUFRJT05TAFNXSVRDSElOR19QUk9UT0NPTFMAVkFSSUFOVF9BTFNPX05FR09USUFURVMATVVMVElQTEVfQ0hPSUNFUwBJTlRFUk5BTF9TRVJWRVJfRVJST1IAV0VCX1NFUlZFUl9VTktOT1dOX0VSUk9SAFJBSUxHVU5fRVJST1IASURFTlRJVFlfUFJPVklERVJfQVVUSEVOVElDQVRJT05fRVJST1IAU1NMX0NFUlRJRklDQVRFX0VSUk9SAElOVkFMSURfWF9GT1JXQVJERURfRk9SAFNFVF9QQVJBTUVURVIAR0VUX1BBUkFNRVRFUgBIUEVfVVNFUgBTRUVfT1RIRVIASFBFX0NCX0NIVU5LX0hFQURFUgBNS0NBTEVOREFSAFNFVFVQAFdFQl9TRVJWRVJfSVNfRE9XTgBURUFSRE9XTgBIUEVfQ0xPU0VEX0NPTk5FQ1RJT04ASEVVUklTVElDX0VYUElSQVRJT04ARElTQ09OTkVDVEVEX09QRVJBVElPTgBOT05fQVVUSE9SSVRBVElWRV9JTkZPUk1BVElPTgBIUEVfSU5WQUxJRF9WRVJTSU9OAEhQRV9DQl9NRVNTQUdFX0JFR0lOAFNJVEVfSVNfRlJPWkVOAEhQRV9JTlZBTElEX0hFQURFUl9UT0tFTgBJTlZBTElEX1RPS0VOAEZPUkJJRERFTgBFTkhBTkNFX1lPVVJfQ0FMTQBIUEVfSU5WQUxJRF9VUkwAQkxPQ0tFRF9CWV9QQVJFTlRBTF9DT05UUk9MAE1LQ09MAEFDTABIUEVfSU5URVJOQUwAUkVRVUVTVF9IRUFERVJfRklFTERTX1RPT19MQVJHRV9VTk9GRklDSUFMAEhQRV9PSwBVTkxJTksAVU5MT0NLAFBSSQBSRVRSWV9XSVRIAEhQRV9JTlZBTElEX0NPTlRFTlRfTEVOR1RIAEhQRV9VTkVYUEVDVEVEX0NPTlRFTlRfTEVOR1RIAEZMVVNIAFBST1BQQVRDSABNLVNFQVJDSABVUklfVE9PX0xPTkcAUFJPQ0VTU0lORwBNSVNDRUxMQU5FT1VTX1BFUlNJU1RFTlRfV0FSTklORwBNSVNDRUxMQU5FT1VTX1dBUk5JTkcASFBFX0lOVkFMSURfVFJBTlNGRVJfRU5DT0RJTkcARXhwZWN0ZWQgQ1JMRgBIUEVfSU5WQUxJRF9DSFVOS19TSVpFAE1PVkUAQ09OVElOVUUASFBFX0NCX1NUQVRVU19DT01QTEVURQBIUEVfQ0JfSEVBREVSU19DT01QTEVURQBIUEVfQ0JfVkVSU0lPTl9DT01QTEVURQBIUEVfQ0JfVVJMX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19DT01QTEVURQBIUEVfQ0JfSEVBREVSX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9OQU1FX0NPTVBMRVRFAEhQRV9DQl9NRVNTQUdFX0NPTVBMRVRFAEhQRV9DQl9NRVRIT0RfQ09NUExFVEUASFBFX0NCX0hFQURFUl9GSUVMRF9DT01QTEVURQBERUxFVEUASFBFX0lOVkFMSURfRU9GX1NUQVRFAElOVkFMSURfU1NMX0NFUlRJRklDQVRFAFBBVVNFAE5PX1JFU1BPTlNFAFVOU1VQUE9SVEVEX01FRElBX1RZUEUAR09ORQBOT1RfQUNDRVBUQUJMRQBTRVJWSUNFX1VOQVZBSUxBQkxFAFJBTkdFX05PVF9TQVRJU0ZJQUJMRQBPUklHSU5fSVNfVU5SRUFDSEFCTEUAUkVTUE9OU0VfSVNfU1RBTEUAUFVSR0UATUVSR0UAUkVRVUVTVF9IRUFERVJfRklFTERTX1RPT19MQVJHRQBSRVFVRVNUX0hFQURFUl9UT09fTEFSR0UAUEFZTE9BRF9UT09fTEFSR0UASU5TVUZGSUNJRU5UX1NUT1JBR0UASFBFX1BBVVNFRF9VUEdSQURFAEhQRV9QQVVTRURfSDJfVVBHUkFERQBTT1VSQ0UAQU5OT1VOQ0UAVFJBQ0UASFBFX1VORVhQRUNURURfU1BBQ0UAREVTQ1JJQkUAVU5TVUJTQ1JJQkUAUkVDT1JEAEhQRV9JTlZBTElEX01FVEhPRABOT1RfRk9VTkQAUFJPUEZJTkQAVU5CSU5EAFJFQklORABVTkFVVEhPUklaRUQATUVUSE9EX05PVF9BTExPV0VEAEhUVFBfVkVSU0lPTl9OT1RfU1VQUE9SVEVEAEFMUkVBRFlfUkVQT1JURUQAQUNDRVBURUQATk9UX0lNUExFTUVOVEVEAExPT1BfREVURUNURUQASFBFX0NSX0VYUEVDVEVEAEhQRV9MRl9FWFBFQ1RFRABDUkVBVEVEAElNX1VTRUQASFBFX1BBVVNFRABUSU1FT1VUX09DQ1VSRUQAUEFZTUVOVF9SRVFVSVJFRABQUkVDT05ESVRJT05fUkVRVUlSRUQAUFJPWFlfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATkVUV09SS19BVVRIRU5USUNBVElPTl9SRVFVSVJFRABMRU5HVEhfUkVRVUlSRUQAU1NMX0NFUlRJRklDQVRFX1JFUVVJUkVEAFVQR1JBREVfUkVRVUlSRUQAUEFHRV9FWFBJUkVEAFBSRUNPTkRJVElPTl9GQUlMRUQARVhQRUNUQVRJT05fRkFJTEVEAFJFVkFMSURBVElPTl9GQUlMRUQAU1NMX0hBTkRTSEFLRV9GQUlMRUQATE9DS0VEAFRSQU5TRk9STUFUSU9OX0FQUExJRUQATk9UX01PRElGSUVEAE5PVF9FWFRFTkRFRABCQU5EV0lEVEhfTElNSVRfRVhDRUVERUQAU0lURV9JU19PVkVSTE9BREVEAEhFQUQARXhwZWN0ZWQgSFRUUC8AAF4TAAAmEwAAMBAAAPAXAACdEwAAFRIAADkXAADwEgAAChAAAHUSAACtEgAAghMAAE8UAAB/EAAAoBUAACMUAACJEgAAixQAAE0VAADUEQAAzxQAABAYAADJFgAA3BYAAMERAADgFwAAuxQAAHQUAAB8FQAA5RQAAAgXAAAfEAAAZRUAAKMUAAAoFQAAAhUAAJkVAAAsEAAAixkAAE8PAADUDgAAahAAAM4QAAACFwAAiQ4AAG4TAAAcEwAAZhQAAFYXAADBEwAAzRMAAGwTAABoFwAAZhcAAF8XAAAiEwAAzg8AAGkOAADYDgAAYxYAAMsTAACqDgAAKBcAACYXAADFEwAAXRYAAOgRAABnEwAAZRMAAPIWAABzEwAAHRcAAPkWAADzEQAAzw4AAM4VAAAMEgAAsxEAAKURAABhEAAAMhcAALsTAEH5NQsBAQBBkDYL4AEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB/TcLAQEAQZE4C14CAwICAgICAAACAgACAgACAgICAgICAgICAAQAAAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAEH9OQsBAQBBkToLXgIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAQfA7Cw1sb3NlZWVwLWFsaXZlAEGJPAsBAQBBoDwL4AEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBBiT4LAQEAQaA+C+cBAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAEGwwAALXwEBAAEBAQEBAAABAQABAQABAQEBAQEBAQEBAAAAAAAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAEGQwgALIWVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgBBwMIACy1yYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AQfnCAAsFAQIAAQMAQZDDAAvgAQQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAEH5xAALBQECAAEDAEGQxQAL4AEEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+cYACwQBAAABAEGRxwAL3wEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAEH6yAALBAEAAAIAQZDJAAtfAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAQfrKAAsEAQAAAQBBkMsACwEBAEGqywALQQIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAEH6zAALBAEAAAEAQZDNAAsBAQBBms0ACwYCAAAAAAIAQbHNAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB8M4AC5YBTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRU9SRElSRUNUT1JUUkNIUEFSQU1FVEVSVVJDRUJTQ1JJQkVBUkRPV05BQ0VJTkROS0NLVUJTQ1JJQkVIVFRQL0FEVFAv","base64")});var bte=A((Bzt,Cte)=>{"use strict";var{Buffer:iGe}=require("node:buffer");Cte.exports=iGe.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmdzX2luaXQAFQ1sbGh0dHBfZmluaXNoABYMbGxodHRwX3BhdXNlABcNbGxodHRwX3Jlc3VtZQAYG2xsaHR0cF9yZXN1bWVfYWZ0ZXJfdXBncmFkZQAZEGxsaHR0cF9nZXRfZXJybm8AGhdsbGh0dHBfZ2V0X2Vycm9yX3JlYXNvbgAbF2xsaHR0cF9zZXRfZXJyb3JfcmVhc29uABwUbGxodHRwX2dldF9lcnJvcl9wb3MAHRFsbGh0dHBfZXJybm9fbmFtZQAeEmxsaHR0cF9tZXRob2RfbmFtZQAfEmxsaHR0cF9zdGF0dXNfbmFtZQAgGmxsaHR0cF9zZXRfbGVuaWVudF9oZWFkZXJzACEhbGxodHRwX3NldF9sZW5pZW50X2NodW5rZWRfbGVuZ3RoACIdbGxodHRwX3NldF9sZW5pZW50X2tlZXBfYWxpdmUAIyRsbGh0dHBfc2V0X2xlbmllbnRfdHJhbnNmZXJfZW5jb2RpbmcAJBhsbGh0dHBfbWVzc2FnZV9uZWVkc19lb2YALgkXAQBBAQsRAQIDBAUKBgcrLSwqKSglJyYK77MCLBYAQYjQACgCAARAAAtBiNAAQQE2AgALFAAgABAwIAAgAjYCOCAAIAE6ACgLFAAgACAALwEyIAAtAC4gABAvEAALHgEBf0HAABAyIgEQMCABQYAINgI4IAEgADoAKCABC48MAQd/AkAgAEUNACAAQQhrIgEgAEEEaygCACIAQXhxIgRqIQUCQCAAQQFxDQAgAEEDcUUNASABIAEoAgAiAGsiAUGc0AAoAgBJDQEgACAEaiEEAkACQEGg0AAoAgAgAUcEQCAAQf8BTQRAIABBA3YhAyABKAIIIgAgASgCDCICRgRAQYzQAEGM0AAoAgBBfiADd3E2AgAMBQsgAiAANgIIIAAgAjYCDAwECyABKAIYIQYgASABKAIMIgBHBEAgACABKAIIIgI2AgggAiAANgIMDAMLIAFBFGoiAygCACICRQRAIAEoAhAiAkUNAiABQRBqIQMLA0AgAyEHIAIiAEEUaiIDKAIAIgINACAAQRBqIQMgACgCECICDQALIAdBADYCAAwCCyAFKAIEIgBBA3FBA0cNAiAFIABBfnE2AgRBlNAAIAQ2AgAgBSAENgIAIAEgBEEBcjYCBAwDC0EAIQALIAZFDQACQCABKAIcIgJBAnRBvNIAaiIDKAIAIAFGBEAgAyAANgIAIAANAUGQ0ABBkNAAKAIAQX4gAndxNgIADAILIAZBEEEUIAYoAhAgAUYbaiAANgIAIABFDQELIAAgBjYCGCABKAIQIgIEQCAAIAI2AhAgAiAANgIYCyABQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAFTw0AIAUoAgQiAEEBcUUNAAJAAkACQAJAIABBAnFFBEBBpNAAKAIAIAVGBEBBpNAAIAE2AgBBmNAAQZjQACgCACAEaiIANgIAIAEgAEEBcjYCBCABQaDQACgCAEcNBkGU0ABBADYCAEGg0ABBADYCAAwGC0Gg0AAoAgAgBUYEQEGg0AAgATYCAEGU0ABBlNAAKAIAIARqIgA2AgAgASAAQQFyNgIEIAAgAWogADYCAAwGCyAAQXhxIARqIQQgAEH/AU0EQCAAQQN2IQMgBSgCCCIAIAUoAgwiAkYEQEGM0ABBjNAAKAIAQX4gA3dxNgIADAULIAIgADYCCCAAIAI2AgwMBAsgBSgCGCEGIAUgBSgCDCIARwRAQZzQACgCABogACAFKAIIIgI2AgggAiAANgIMDAMLIAVBFGoiAygCACICRQRAIAUoAhAiAkUNAiAFQRBqIQMLA0AgAyEHIAIiAEEUaiIDKAIAIgINACAAQRBqIQMgACgCECICDQALIAdBADYCAAwCCyAFIABBfnE2AgQgASAEaiAENgIAIAEgBEEBcjYCBAwDC0EAIQALIAZFDQACQCAFKAIcIgJBAnRBvNIAaiIDKAIAIAVGBEAgAyAANgIAIAANAUGQ0ABBkNAAKAIAQX4gAndxNgIADAILIAZBEEEUIAYoAhAgBUYbaiAANgIAIABFDQELIAAgBjYCGCAFKAIQIgIEQCAAIAI2AhAgAiAANgIYCyAFQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AAYEBggGDAYQBhQGGAYcBiAGJAYoBiwGMAY0BjgGPAZABkQGSAZMBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBywHKAbgByQG5AcgBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgEA3AELQQAMxgELQQ4MxQELQQ0MxAELQQ8MwwELQRAMwgELQRMMwQELQRQMwAELQRUMvwELQRYMvgELQRgMvQELQRkMvAELQRoMuwELQRsMugELQRwMuQELQR0MuAELQQgMtwELQR4MtgELQSAMtQELQR8MtAELQQcMswELQSEMsgELQSIMsQELQSMMsAELQSQMrwELQRIMrgELQREMrQELQSUMrAELQSYMqwELQScMqgELQSgMqQELQcMBDKgBC0EqDKcBC0ErDKYBC0EsDKUBC0EtDKQBC0EuDKMBC0EvDKIBC0HEAQyhAQtBMAygAQtBNAyfAQtBDAyeAQtBMQydAQtBMgycAQtBMwybAQtBOQyaAQtBNQyZAQtBxQEMmAELQQsMlwELQToMlgELQTYMlQELQQoMlAELQTcMkwELQTgMkgELQTwMkQELQTsMkAELQT0MjwELQQkMjgELQSkMjQELQT4MjAELQT8MiwELQcAADIoBC0HBAAyJAQtBwgAMiAELQcMADIcBC0HEAAyGAQtBxQAMhQELQcYADIQBC0EXDIMBC0HHAAyCAQtByAAMgQELQckADIABC0HKAAx/C0HLAAx+C0HNAAx9C0HMAAx8C0HOAAx7C0HPAAx6C0HQAAx5C0HRAAx4C0HSAAx3C0HTAAx2C0HUAAx1C0HWAAx0C0HVAAxzC0EGDHILQdcADHELQQUMcAtB2AAMbwtBBAxuC0HZAAxtC0HaAAxsC0HbAAxrC0HcAAxqC0EDDGkLQd0ADGgLQd4ADGcLQd8ADGYLQeEADGULQeAADGQLQeIADGMLQeMADGILQQIMYQtB5AAMYAtB5QAMXwtB5gAMXgtB5wAMXQtB6AAMXAtB6QAMWwtB6gAMWgtB6wAMWQtB7AAMWAtB7QAMVwtB7gAMVgtB7wAMVQtB8AAMVAtB8QAMUwtB8gAMUgtB8wAMUQtB9AAMUAtB9QAMTwtB9gAMTgtB9wAMTQtB+AAMTAtB+QAMSwtB+gAMSgtB+wAMSQtB/AAMSAtB/QAMRwtB/gAMRgtB/wAMRQtBgAEMRAtBgQEMQwtBggEMQgtBgwEMQQtBhAEMQAtBhQEMPwtBhgEMPgtBhwEMPQtBiAEMPAtBiQEMOwtBigEMOgtBiwEMOQtBjAEMOAtBjQEMNwtBjgEMNgtBjwEMNQtBkAEMNAtBkQEMMwtBkgEMMgtBkwEMMQtBlAEMMAtBlQEMLwtBlgEMLgtBlwEMLQtBmAEMLAtBmQEMKwtBmgEMKgtBmwEMKQtBnAEMKAtBnQEMJwtBngEMJgtBnwEMJQtBoAEMJAtBoQEMIwtBogEMIgtBowEMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHGAccByAHJAcsBzAHNAc4BzwGKA4kDiAOHA4QDgwOAA/sC+gL5AvgC9wL0AvMC8gLLAsECsALZAQsgASAERw3wAkHdASEDDLMDCyABIARHDcgBQcMBIQMMsgMLIAEgBEcNe0H3ACEDDLEDCyABIARHDXBB7wAhAwywAwsgASAERw1pQeoAIQMMrwMLIAEgBEcNZUHoACEDDK4DCyABIARHDWJB5gAhAwytAwsgASAERw0aQRghAwysAwsgASAERw0VQRIhAwyrAwsgASAERw1CQcUAIQMMqgMLIAEgBEcNNEE/IQMMqQMLIAEgBEcNMkE8IQMMqAMLIAEgBEcNK0ExIQMMpwMLIAItAC5BAUYNnwMMwQILQQAhAAJAAkACQCACLQAqRQ0AIAItACtFDQAgAi8BMCIDQQJxRQ0BDAILIAIvATAiA0EBcUUNAQtBASEAIAItAChBAUYNACACLwEyIgVB5ABrQeQASQ0AIAVBzAFGDQAgBUGwAkYNACADQcAAcQ0AQQAhACADQYgEcUGABEYNACADQShxQQBHIQALIAJBADsBMCACQQA6AC8gAEUN3wIgAkIANwMgDOACC0EAIQACQCACKAI4IgNFDQAgAygCLCIDRQ0AIAIgAxEAACEACyAARQ3MASAAQRVHDd0CIAJBBDYCHCACIAE2AhQgAkGwGDYCECACQRU2AgxBACEDDKQDCyABIARGBEBBBiEDDKQDCyABQQFqIQFBACEAAkAgAigCOCIDRQ0AIAMoAlQiA0UNACACIAMRAAAhAAsgAA3ZAgwcCyACQgA3AyBBEiEDDIkDCyABIARHDRZBHSEDDKEDCyABIARHBEAgAUEBaiEBQRAhAwyIAwtBByEDDKADCyACIAIpAyAiCiAEIAFrrSILfSIMQgAgCiAMWhs3AyAgCiALWA3UAkEIIQMMnwMLIAEgBEcEQCACQQk2AgggAiABNgIEQRQhAwyGAwtBCSEDDJ4DCyACKQMgQgBSDccBIAIgAi8BMEGAAXI7ATAMQgsgASAERw0/QdAAIQMMnAMLIAEgBEYEQEELIQMMnAMLIAFBAWohAUEAIQACQCACKAI4IgNFDQAgAygCUCIDRQ0AIAIgAxEAACEACyAADc8CDMYBC0EAIQACQCACKAI4IgNFDQAgAygCSCIDRQ0AIAIgAxEAACEACyAARQ3GASAAQRVHDc0CIAJBCzYCHCACIAE2AhQgAkGCGTYCECACQRU2AgxBACEDDJoDC0EAIQACQCACKAI4IgNFDQAgAygCSCIDRQ0AIAIgAxEAACEACyAARQ0MIABBFUcNygIgAkEaNgIcIAIgATYCFCACQYIZNgIQIAJBFTYCDEEAIQMMmQMLQQAhAAJAIAIoAjgiA0UNACADKAJMIgNFDQAgAiADEQAAIQALIABFDcQBIABBFUcNxwIgAkELNgIcIAIgATYCFCACQZEXNgIQIAJBFTYCDEEAIQMMmAMLIAEgBEYEQEEPIQMMmAMLIAEtAAAiAEE7Rg0HIABBDUcNxAIgAUEBaiEBDMMBC0EAIQACQCACKAI4IgNFDQAgAygCTCIDRQ0AIAIgAxEAACEACyAARQ3DASAAQRVHDcICIAJBDzYCHCACIAE2AhQgAkGRFzYCECACQRU2AgxBACEDDJYDCwNAIAEtAABB8DVqLQAAIgBBAUcEQCAAQQJHDcECIAIoAgQhAEEAIQMgAkEANgIEIAIgACABQQFqIgEQLSIADcICDMUBCyAEIAFBAWoiAUcNAAtBEiEDDJUDC0EAIQACQCACKAI4IgNFDQAgAygCTCIDRQ0AIAIgAxEAACEACyAARQ3FASAAQRVHDb0CIAJBGzYCHCACIAE2AhQgAkGRFzYCECACQRU2AgxBACEDDJQDCyABIARGBEBBFiEDDJQDCyACQQo2AgggAiABNgIEQQAhAAJAIAIoAjgiA0UNACADKAJIIgNFDQAgAiADEQAAIQALIABFDcIBIABBFUcNuQIgAkEVNgIcIAIgATYCFCACQYIZNgIQIAJBFTYCDEEAIQMMkwMLIAEgBEcEQANAIAEtAABB8DdqLQAAIgBBAkcEQAJAIABBAWsOBMQCvQIAvgK9AgsgAUEBaiEBQQghAwz8AgsgBCABQQFqIgFHDQALQRUhAwyTAwtBFSEDDJIDCwNAIAEtAABB8DlqLQAAIgBBAkcEQCAAQQFrDgTFArcCwwK4ArcCCyAEIAFBAWoiAUcNAAtBGCEDDJEDCyABIARHBEAgAkELNgIIIAIgATYCBEEHIQMM+AILQRkhAwyQAwsgAUEBaiEBDAILIAEgBEYEQEEaIQMMjwMLAkAgAS0AAEENaw4UtQG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwG/Ab8BvwEAvwELQQAhAyACQQA2AhwgAkGvCzYCECACQQI2AgwgAiABQQFqNgIUDI4DCyABIARGBEBBGyEDDI4DCyABLQAAIgBBO0cEQCAAQQ1HDbECIAFBAWohAQy6AQsgAUEBaiEBC0EiIQMM8wILIAEgBEYEQEEcIQMMjAMLQgAhCgJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEEwaw43wQLAAgABAgMEBQYH0AHQAdAB0AHQAdAB0AEICQoLDA3QAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdABDg8QERIT0AELQgIhCgzAAgtCAyEKDL8CC0IEIQoMvgILQgUhCgy9AgtCBiEKDLwCC0IHIQoMuwILQgghCgy6AgtCCSEKDLkCC0IKIQoMuAILQgshCgy3AgtCDCEKDLYCC0INIQoMtQILQg4hCgy0AgtCDyEKDLMCC0IKIQoMsgILQgshCgyxAgtCDCEKDLACC0INIQoMrwILQg4hCgyuAgtCDyEKDK0CC0IAIQoCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBMGsON8ACvwIAAQIDBAUGB74CvgK+Ar4CvgK+Ar4CCAkKCwwNvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ar4CvgK+Ag4PEBESE74CC0ICIQoMvwILQgMhCgy+AgtCBCEKDL0CC0IFIQoMvAILQgYhCgy7AgtCByEKDLoCC0IIIQoMuQILQgkhCgy4AgtCCiEKDLcCC0ILIQoMtgILQgwhCgy1AgtCDSEKDLQCC0IOIQoMswILQg8hCgyyAgtCCiEKDLECC0ILIQoMsAILQgwhCgyvAgtCDSEKDK4CC0IOIQoMrQILQg8hCgysAgsgAiACKQMgIgogBCABa60iC30iDEIAIAogDFobNwMgIAogC1gNpwJBHyEDDIkDCyABIARHBEAgAkEJNgIIIAIgATYCBEElIQMM8AILQSAhAwyIAwtBASEFIAIvATAiA0EIcUUEQCACKQMgQgBSIQULAkAgAi0ALgRAQQEhACACLQApQQVGDQEgA0HAAHFFIAVxRQ0BC0EAIQAgA0HAAHENAEECIQAgA0EIcQ0AIANBgARxBEACQCACLQAoQQFHDQAgAi0ALUEKcQ0AQQUhAAwCC0EEIQAMAQsgA0EgcUUEQAJAIAItAChBAUYNACACLwEyIgBB5ABrQeQASQ0AIABBzAFGDQAgAEGwAkYNAEEEIQAgA0EocUUNAiADQYgEcUGABEYNAgtBACEADAELQQBBAyACKQMgUBshAAsgAEEBaw4FvgIAsAEBpAKhAgtBESEDDO0CCyACQQE6AC8MhAMLIAEgBEcNnQJBJCEDDIQDCyABIARHDRxBxgAhAwyDAwtBACEAAkAgAigCOCIDRQ0AIAMoAkQiA0UNACACIAMRAAAhAAsgAEUNJyAAQRVHDZgCIAJB0AA2AhwgAiABNgIUIAJBkRg2AhAgAkEVNgIMQQAhAwyCAwsgASAERgRAQSghAwyCAwtBACEDIAJBADYCBCACQQw2AgggAiABIAEQKiIARQ2UAiACQSc2AhwgAiABNgIUIAIgADYCDAyBAwsgASAERgRAQSkhAwyBAwsgAS0AACIAQSBGDRMgAEEJRw2VAiABQQFqIQEMFAsgASAERwRAIAFBAWohAQwWC0EqIQMM/wILIAEgBEYEQEErIQMM/wILIAEtAAAiAEEJRyAAQSBHcQ2QAiACLQAsQQhHDd0CIAJBADoALAzdAgsgASAERgRAQSwhAwz+AgsgAS0AAEEKRw2OAiABQQFqIQEMsAELIAEgBEcNigJBLyEDDPwCCwNAIAEtAAAiAEEgRwRAIABBCmsOBIQCiAKIAoQChgILIAQgAUEBaiIBRw0AC0ExIQMM+wILQTIhAyABIARGDfoCIAIoAgAiACAEIAFraiEHIAEgAGtBA2ohBgJAA0AgAEHwO2otAAAgAS0AACIFQSByIAUgBUHBAGtB/wFxQRpJG0H/AXFHDQEgAEEDRgRAQQYhAQziAgsgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAc2AgAM+wILIAJBADYCAAyGAgtBMyEDIAQgASIARg35AiAEIAFrIAIoAgAiAWohByAAIAFrQQhqIQYCQANAIAFB9DtqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw0BIAFBCEYEQEEFIQEM4QILIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADPoCCyACQQA2AgAgACEBDIUCC0E0IQMgBCABIgBGDfgCIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgJAA0AgAUHQwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw0BIAFBBUYEQEEHIQEM4AILIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADPkCCyACQQA2AgAgACEBDIQCCyABIARHBEADQCABLQAAQYA+ai0AACIAQQFHBEAgAEECRg0JDIECCyAEIAFBAWoiAUcNAAtBMCEDDPgCC0EwIQMM9wILIAEgBEcEQANAIAEtAAAiAEEgRwRAIABBCmsOBP8B/gH+Af8B/gELIAQgAUEBaiIBRw0AC0E4IQMM9wILQTghAwz2AgsDQCABLQAAIgBBIEcgAEEJR3EN9gEgBCABQQFqIgFHDQALQTwhAwz1AgsDQCABLQAAIgBBIEcEQAJAIABBCmsOBPkBBAT5AQALIABBLEYN9QEMAwsgBCABQQFqIgFHDQALQT8hAwz0AgtBwAAhAyABIARGDfMCIAIoAgAiACAEIAFraiEFIAEgAGtBBmohBgJAA0AgAEGAQGstAAAgAS0AAEEgckcNASAAQQZGDdsCIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPQCCyACQQA2AgALQTYhAwzZAgsgASAERgRAQcEAIQMM8gILIAJBDDYCCCACIAE2AgQgAi0ALEEBaw4E+wHuAewB6wHUAgsgAUEBaiEBDPoBCyABIARHBEADQAJAIAEtAAAiAEEgciAAIABBwQBrQf8BcUEaSRtB/wFxIgBBCUYNACAAQSBGDQACQAJAAkACQCAAQeMAaw4TAAMDAwMDAwMBAwMDAwMDAwMDAgMLIAFBAWohAUExIQMM3AILIAFBAWohAUEyIQMM2wILIAFBAWohAUEzIQMM2gILDP4BCyAEIAFBAWoiAUcNAAtBNSEDDPACC0E1IQMM7wILIAEgBEcEQANAIAEtAABBgDxqLQAAQQFHDfcBIAQgAUEBaiIBRw0AC0E9IQMM7wILQT0hAwzuAgtBACEAAkAgAigCOCIDRQ0AIAMoAkAiA0UNACACIAMRAAAhAAsgAEUNASAAQRVHDeYBIAJBwgA2AhwgAiABNgIUIAJB4xg2AhAgAkEVNgIMQQAhAwztAgsgAUEBaiEBC0E8IQMM0gILIAEgBEYEQEHCACEDDOsCCwJAA0ACQCABLQAAQQlrDhgAAswCzALRAswCzALMAswCzALMAswCzALMAswCzALMAswCzALMAswCzALMAgDMAgsgBCABQQFqIgFHDQALQcIAIQMM6wILIAFBAWohASACLQAtQQFxRQ3+AQtBLCEDDNACCyABIARHDd4BQcQAIQMM6AILA0AgAS0AAEGQwABqLQAAQQFHDZwBIAQgAUEBaiIBRw0AC0HFACEDDOcCCyABLQAAIgBBIEYN/gEgAEE6Rw3AAiACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgAN3gEM3QELQccAIQMgBCABIgBGDeUCIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgNAIAFBkMIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNvwIgAUEFRg3CAiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBzYCAAzlAgtByAAhAyAEIAEiAEYN5AIgBCABayACKAIAIgFqIQcgACABa0EJaiEGA0AgAUGWwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw2+AkECIAFBCUYNwgIaIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADOQCCyABIARGBEBByQAhAwzkAgsCQAJAIAEtAAAiAEEgciAAIABBwQBrQf8BcUEaSRtB/wFxQe4Aaw4HAL8CvwK/Ar8CvwIBvwILIAFBAWohAUE+IQMMywILIAFBAWohAUE/IQMMygILQcoAIQMgBCABIgBGDeICIAQgAWsgAigCACIBaiEGIAAgAWtBAWohBwNAIAFBoMIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNvAIgAUEBRg2+AiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBjYCAAziAgtBywAhAyAEIAEiAEYN4QIgBCABayACKAIAIgFqIQcgACABa0EOaiEGA0AgAUGiwgBqLQAAIAAtAAAiBUEgciAFIAVBwQBrQf8BcUEaSRtB/wFxRw27AiABQQ5GDb4CIAFBAWohASAEIABBAWoiAEcNAAsgAiAHNgIADOECC0HMACEDIAQgASIARg3gAiAEIAFrIAIoAgAiAWohByAAIAFrQQ9qIQYDQCABQcDCAGotAAAgAC0AACIFQSByIAUgBUHBAGtB/wFxQRpJG0H/AXFHDboCQQMgAUEPRg2+AhogAUEBaiEBIAQgAEEBaiIARw0ACyACIAc2AgAM4AILQc0AIQMgBCABIgBGDd8CIAQgAWsgAigCACIBaiEHIAAgAWtBBWohBgNAIAFB0MIAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNuQJBBCABQQVGDb0CGiABQQFqIQEgBCAAQQFqIgBHDQALIAIgBzYCAAzfAgsgASAERgRAQc4AIQMM3wILAkACQAJAAkAgAS0AACIAQSByIAAgAEHBAGtB/wFxQRpJG0H/AXFB4wBrDhMAvAK8ArwCvAK8ArwCvAK8ArwCvAK8ArwCAbwCvAK8AgIDvAILIAFBAWohAUHBACEDDMgCCyABQQFqIQFBwgAhAwzHAgsgAUEBaiEBQcMAIQMMxgILIAFBAWohAUHEACEDDMUCCyABIARHBEAgAkENNgIIIAIgATYCBEHFACEDDMUCC0HPACEDDN0CCwJAAkAgAS0AAEEKaw4EAZABkAEAkAELIAFBAWohAQtBKCEDDMMCCyABIARGBEBB0QAhAwzcAgsgAS0AAEEgRw0AIAFBAWohASACLQAtQQFxRQ3QAQtBFyEDDMECCyABIARHDcsBQdIAIQMM2QILQdMAIQMgASAERg3YAiACKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABB1sIAai0AAEcNxwEgAEEBRg3KASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBjYCAAzYAgsgASAERgRAQdUAIQMM2AILIAEtAABBCkcNwgEgAUEBaiEBDMoBCyABIARGBEBB1gAhAwzXAgsCQAJAIAEtAABBCmsOBADDAcMBAcMBCyABQQFqIQEMygELIAFBAWohAUHKACEDDL0CC0EAIQACQCACKAI4IgNFDQAgAygCPCIDRQ0AIAIgAxEAACEACyAADb8BQc0AIQMMvAILIAItAClBIkYNzwIMiQELIAQgASIFRgRAQdsAIQMM1AILQQAhAEEBIQFBASEGQQAhAwJAAn8CQAJAAkACQAJAAkACQCAFLQAAQTBrDgrFAcQBAAECAwQFBgjDAQtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshA0EAIQFBACEGDL0BC0EJIQNBASEAQQAhAUEAIQYMvAELIAEgBEYEQEHdACEDDNMCCyABLQAAQS5HDbgBIAFBAWohAQyIAQsgASAERw22AUHfACEDDNECCyABIARHBEAgAkEONgIIIAIgATYCBEHQACEDDLgCC0HgACEDDNACC0HhACEDIAEgBEYNzwIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGA0AgAS0AACAAQeLCAGotAABHDbEBIABBA0YNswEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMzwILQeIAIQMgASAERg3OAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYDQCABLQAAIABB5sIAai0AAEcNsAEgAEECRg2vASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAzOAgtB4wAhAyABIARGDc0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgNAIAEtAAAgAEHpwgBqLQAARw2vASAAQQNGDa0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADM0CCyABIARGBEBB5QAhAwzNAgsgAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANqgFB1gAhAwyzAgsgASAERwRAA0AgAS0AACIAQSBHBEACQAJAAkAgAEHIAGsOCwABswGzAbMBswGzAbMBswGzAQKzAQsgAUEBaiEBQdIAIQMMtwILIAFBAWohAUHTACEDDLYCCyABQQFqIQFB1AAhAwy1AgsgBCABQQFqIgFHDQALQeQAIQMMzAILQeQAIQMMywILA0AgAS0AAEHwwgBqLQAAIgBBAUcEQCAAQQJrDgOnAaYBpQGkAQsgBCABQQFqIgFHDQALQeYAIQMMygILIAFBAWogASAERw0CGkHnACEDDMkCCwNAIAEtAABB8MQAai0AACIAQQFHBEACQCAAQQJrDgSiAaEBoAEAnwELQdcAIQMMsQILIAQgAUEBaiIBRw0AC0HoACEDDMgCCyABIARGBEBB6QAhAwzIAgsCQCABLQAAIgBBCmsOGrcBmwGbAbQBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBmwGbAZsBpAGbAZsBAJkBCyABQQFqCyEBQQYhAwytAgsDQCABLQAAQfDGAGotAABBAUcNfSAEIAFBAWoiAUcNAAtB6gAhAwzFAgsgAUEBaiABIARHDQIaQesAIQMMxAILIAEgBEYEQEHsACEDDMQCCyABQQFqDAELIAEgBEYEQEHtACEDDMMCCyABQQFqCyEBQQQhAwyoAgsgASAERgRAQe4AIQMMwQILAkACQAJAIAEtAABB8MgAai0AAEEBaw4HkAGPAY4BAHwBAo0BCyABQQFqIQEMCwsgAUEBagyTAQtBACEDIAJBADYCHCACQZsSNgIQIAJBBzYCDCACIAFBAWo2AhQMwAILAkADQCABLQAAQfDIAGotAAAiAEEERwRAAkACQCAAQQFrDgeUAZMBkgGNAQAEAY0BC0HaACEDDKoCCyABQQFqIQFB3AAhAwypAgsgBCABQQFqIgFHDQALQe8AIQMMwAILIAFBAWoMkQELIAQgASIARgRAQfAAIQMMvwILIAAtAABBL0cNASAAQQFqIQEMBwsgBCABIgBGBEBB8QAhAwy+AgsgAC0AACIBQS9GBEAgAEEBaiEBQd0AIQMMpQILIAFBCmsiA0EWSw0AIAAhAUEBIAN0QYmAgAJxDfkBC0EAIQMgAkEANgIcIAIgADYCFCACQYwcNgIQIAJBBzYCDAy8AgsgASAERwRAIAFBAWohAUHeACEDDKMCC0HyACEDDLsCCyABIARGBEBB9AAhAwy7AgsCQCABLQAAQfDMAGotAABBAWsOA/cBcwCCAQtB4QAhAwyhAgsgASAERwRAA0AgAS0AAEHwygBqLQAAIgBBA0cEQAJAIABBAWsOAvkBAIUBC0HfACEDDKMCCyAEIAFBAWoiAUcNAAtB8wAhAwy6AgtB8wAhAwy5AgsgASAERwRAIAJBDzYCCCACIAE2AgRB4AAhAwygAgtB9QAhAwy4AgsgASAERgRAQfYAIQMMuAILIAJBDzYCCCACIAE2AgQLQQMhAwydAgsDQCABLQAAQSBHDY4CIAQgAUEBaiIBRw0AC0H3ACEDDLUCCyABIARGBEBB+AAhAwy1AgsgAS0AAEEgRw16IAFBAWohAQxbC0EAIQACQCACKAI4IgNFDQAgAygCOCIDRQ0AIAIgAxEAACEACyAADXgMgAILIAEgBEYEQEH6ACEDDLMCCyABLQAAQcwARw10IAFBAWohAUETDHYLQfsAIQMgASAERg2xAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYDQCABLQAAIABB8M4Aai0AAEcNcyAAQQVGDXUgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMsQILIAEgBEYEQEH8ACEDDLECCwJAAkAgAS0AAEHDAGsODAB0dHR0dHR0dHR0AXQLIAFBAWohAUHmACEDDJgCCyABQQFqIQFB5wAhAwyXAgtB/QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKDF0LIAEgBEYEQEGUASEDDJkCCwJAAkAgAS0AAEHBAGsODwBcXFxcXFxcXFxcXFxcAVwLIAFBAWohAUH+ACEDDIACCyABQQFqIQFB/wAhAwz/AQsgASAERgRAQZUBIQMMmAILAkACQCABLQAAQcEAaw4DAFsBWwsgAUEBaiEBQf0AIQMM/wELIAFBAWohAUGAASEDDP4BC0GWASEDIAEgBEYNlgIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBp88Aai0AAEcNWSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlwILIAJBADYCACAGQQFqIQFBCwxaCyABIARGBEBBlwEhAwyWAgsCQAJAAkACQCABLQAAQS1rDiMAW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1sBW1tbW1sCW1tbA1sLIAFBAWohAUH7ACEDDP8BCyABQQFqIQFB/AAhAwz+AQsgAUEBaiEBQYEBIQMM/QELIAFBAWohAUGCASEDDPwBC0GYASEDIAEgBEYNlAIgAigCACIAIAQgAWtqIQUgASAAa0EEaiEGAkADQCABLQAAIABBqc8Aai0AAEcNVyAAQQRGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlQILIAJBADYCACAGQQFqIQFBGQxYC0GZASEDIAEgBEYNkwIgAigCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBrs8Aai0AAEcNViAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMlAILIAJBADYCACAGQQFqIQFBBgxXC0GaASEDIAEgBEYNkgIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBtM8Aai0AAEcNVSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMkwILIAJBADYCACAGQQFqIQFBHAxWC0GbASEDIAEgBEYNkQIgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBts8Aai0AAEcNVCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMkgILIAJBADYCACAGQQFqIQFBJwxVCyABIARGBEBBnAEhAwyRAgsCQAJAIAEtAABB1ABrDgIAAVQLIAFBAWohAUGGASEDDPgBCyABQQFqIQFBhwEhAwz3AQtBnQEhAyABIARGDY8CIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjPAGotAABHDVIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADJACCyACQQA2AgAgBkEBaiEBQSYMUwtBngEhAyABIARGDY4CIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbrPAGotAABHDVEgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI8CCyACQQA2AgAgBkEBaiEBQQMMUgtBnwEhAyABIARGDY0CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDVAgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI4CCyACQQA2AgAgBkEBaiEBQQwMUQtBoAEhAyABIARGDYwCIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQbzPAGotAABHDU8gAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADI0CCyACQQA2AgAgBkEBaiEBQQ0MUAsgASAERgRAQaEBIQMMjAILAkACQCABLQAAQcYAaw4LAE9PT09PT09PTwFPCyABQQFqIQFBiwEhAwzzAQsgAUEBaiEBQYwBIQMM8gELIAEgBEYEQEGiASEDDIsCCyABLQAAQdAARw1MIAFBAWohAQxGCyABIARGBEBBowEhAwyKAgsCQAJAIAEtAABByQBrDgcBTU1NTU0ATQsgAUEBaiEBQY4BIQMM8QELIAFBAWohAUEiDE0LQaQBIQMgASAERg2IAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHAzwBqLQAARw1LIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyJAgsgAkEANgIAIAZBAWohAUEdDEwLIAEgBEYEQEGlASEDDIgCCwJAAkAgAS0AAEHSAGsOAwBLAUsLIAFBAWohAUGQASEDDO8BCyABQQFqIQFBBAxLCyABIARGBEBBpgEhAwyHAgsCQAJAAkACQAJAIAEtAABBwQBrDhUATU1NTU1NTU1NTQFNTQJNTQNNTQRNCyABQQFqIQFBiAEhAwzxAQsgAUEBaiEBQYkBIQMM8AELIAFBAWohAUGKASEDDO8BCyABQQFqIQFBjwEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz+AQsgAkEANgIAIAZBAWohAUEqDEELIAEgBEYEQEGwASEDDP0BCwJAAkAgAS0AAEHVAGsOCwBAQEBAQEBAQEABQAsgAUEBaiEBQZoBIQMM5AELIAFBAWohAUGbASEDDOMBCyABIARGBEBBsQEhAwz8AQsCQAJAIAEtAABBwQBrDhQAPz8/Pz8/Pz8/Pz8/Pz8/Pz8/AT8LIAFBAWohAUGZASEDDOMBCyABQQFqIQFBnAEhAwziAQtBsgEhAyABIARGDfoBIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQdnPAGotAABHDT0gAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPsBCyACQQA2AgAgBkEBaiEBQSEMPgtBswEhAyABIARGDfkBIAIoAgAiACAEIAFraiEFIAEgAGtBBmohBgJAA0AgAS0AACAAQd3PAGotAABHDTwgAEEGRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADPoBCyACQQA2AgAgBkEBaiEBQRoMPQsgASAERgRAQbQBIQMM+QELAkACQAJAIAEtAABBxQBrDhEAPT09PT09PT09AT09PT09Aj0LIAFBAWohAUGdASEDDOEBCyABQQFqIQFBngEhAwzgAQsgAUEBaiEBQZ8BIQMM3wELQbUBIQMgASAERg33ASACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHkzwBqLQAARw06IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz4AQsgAkEANgIAIAZBAWohAUEoDDsLQbYBIQMgASAERg32ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHqzwBqLQAARw05IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAz3AQsgAkEANgIAIAZBAWohAUEHDDoLIAEgBEYEQEG3ASEDDPYBCwJAAkAgAS0AAEHFAGsODgA5OTk5OTk5OTk5OTkBOQsgAUEBaiEBQaEBIQMM3QELIAFBAWohAUGiASEDDNwBC0G4ASEDIAEgBEYN9AEgAigCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABB7c8Aai0AAEcNNyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM9QELIAJBADYCACAGQQFqIQFBEgw4C0G5ASEDIAEgBEYN8wEgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABB8M8Aai0AAEcNNiAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM9AELIAJBADYCACAGQQFqIQFBIAw3C0G6ASEDIAEgBEYN8gEgAigCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABB8s8Aai0AAEcNNSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM8wELIAJBADYCACAGQQFqIQFBDww2CyABIARGBEBBuwEhAwzyAQsCQAJAIAEtAABByQBrDgcANTU1NTUBNQsgAUEBaiEBQaUBIQMM2QELIAFBAWohAUGmASEDDNgBC0G8ASEDIAEgBEYN8AEgAigCACIAIAQgAWtqIQUgASAAa0EHaiEGAkADQCABLQAAIABB9M8Aai0AAEcNMyAAQQdGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAM8QELIAJBADYCACAGQQFqIQFBGww0CyABIARGBEBBvQEhAwzwAQsCQAJAAkAgAS0AAEHCAGsOEgA0NDQ0NDQ0NDQBNDQ0NDQ0AjQLIAFBAWohAUGkASEDDNgBCyABQQFqIQFBpwEhAwzXAQsgAUEBaiEBQagBIQMM1gELIAEgBEYEQEG+ASEDDO8BCyABLQAAQc4ARw0wIAFBAWohAQwsCyABIARGBEBBvwEhAwzuAQsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABLQAAQcEAaw4VAAECAz8EBQY/Pz8HCAkKCz8MDQ4PPwsgAUEBaiEBQegAIQMM4wELIAFBAWohAUHpACEDDOIBCyABQQFqIQFB7gAhAwzhAQsgAUEBaiEBQfIAIQMM4AELIAFBAWohAUHzACEDDN8BCyABQQFqIQFB9gAhAwzeAQsgAUEBaiEBQfcAIQMM3QELIAFBAWohAUH6ACEDDNwBCyABQQFqIQFBgwEhAwzbAQsgAUEBaiEBQYQBIQMM2gELIAFBAWohAUGFASEDDNkBCyABQQFqIQFBkgEhAwzYAQsgAUEBaiEBQZgBIQMM1wELIAFBAWohAUGgASEDDNYBCyABQQFqIQFBowEhAwzVAQsgAUEBaiEBQaoBIQMM1AELIAEgBEcEQCACQRA2AgggAiABNgIEQasBIQMM1AELQcABIQMM7AELQQAhAAJAIAIoAjgiA0UNACADKAI0IgNFDQAgAiADEQAAIQALIABFDV4gAEEVRw0HIAJB0QA2AhwgAiABNgIUIAJBsBc2AhAgAkEVNgIMQQAhAwzrAQsgAUEBaiABIARHDQgaQcIBIQMM6gELA0ACQCABLQAAQQprDgQIAAALAAsgBCABQQFqIgFHDQALQcMBIQMM6QELIAEgBEcEQCACQRE2AgggAiABNgIEQQEhAwzQAQtBxAEhAwzoAQsgASAERgRAQcUBIQMM6AELAkACQCABLQAAQQprDgQBKCgAKAsgAUEBagwJCyABQQFqDAULIAEgBEYEQEHGASEDDOcBCwJAAkAgAS0AAEEKaw4XAQsLAQsLCwsLCwsLCwsLCwsLCwsLCwALCyABQQFqIQELQbABIQMMzQELIAEgBEYEQEHIASEDDOYBCyABLQAAQSBHDQkgAkEAOwEyIAFBAWohAUGzASEDDMwBCwNAIAEhAAJAIAEgBEcEQCABLQAAQTBrQf8BcSIDQQpJDQEMJwtBxwEhAwzmAQsCQCACLwEyIgFBmTNLDQAgAiABQQpsIgU7ATIgBUH+/wNxIANB//8Dc0sNACAAQQFqIQEgAiADIAVqIgM7ATIgA0H//wNxQegHSQ0BCwtBACEDIAJBADYCHCACQcEJNgIQIAJBDTYCDCACIABBAWo2AhQM5AELIAJBADYCHCACIAE2AhQgAkHwDDYCECACQRs2AgxBACEDDOMBCyACKAIEIQAgAkEANgIEIAIgACABECYiAA0BIAFBAWoLIQFBrQEhAwzIAQsgAkHBATYCHCACIAA2AgwgAiABQQFqNgIUQQAhAwzgAQsgAigCBCEAIAJBADYCBCACIAAgARAmIgANASABQQFqCyEBQa4BIQMMxQELIAJBwgE2AhwgAiAANgIMIAIgAUEBajYCFEEAIQMM3QELIAJBADYCHCACIAE2AhQgAkGXCzYCECACQQ02AgxBACEDDNwBCyACQQA2AhwgAiABNgIUIAJB4xA2AhAgAkEJNgIMQQAhAwzbAQsgAkECOgAoDKwBC0EAIQMgAkEANgIcIAJBrws2AhAgAkECNgIMIAIgAUEBajYCFAzZAQtBAiEDDL8BC0ENIQMMvgELQSYhAwy9AQtBFSEDDLwBC0EWIQMMuwELQRghAwy6AQtBHCEDDLkBC0EdIQMMuAELQSAhAwy3AQtBISEDDLYBC0EjIQMMtQELQcYAIQMMtAELQS4hAwyzAQtBPSEDDLIBC0HLACEDDLEBC0HOACEDDLABC0HYACEDDK8BC0HZACEDDK4BC0HbACEDDK0BC0HxACEDDKwBC0H0ACEDDKsBC0GNASEDDKoBC0GXASEDDKkBC0GpASEDDKgBC0GvASEDDKcBC0GxASEDDKYBCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJB8Rs2AhAgAkEGNgIMDL0BCyACQQA2AgAgBkEBaiEBQSQLOgApIAIoAgQhACACQQA2AgQgAiAAIAEQJyIARQRAQeUAIQMMowELIAJB+QA2AhwgAiABNgIUIAIgADYCDEEAIQMMuwELIABBFUcEQCACQQA2AhwgAiABNgIUIAJBzA42AhAgAkEgNgIMQQAhAwy7AQsgAkH4ADYCHCACIAE2AhQgAkHKGDYCECACQRU2AgxBACEDDLoBCyACQQA2AhwgAiABNgIUIAJBjhs2AhAgAkEGNgIMQQAhAwy5AQsgAkEANgIcIAIgATYCFCACQf4RNgIQIAJBBzYCDEEAIQMMuAELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIAAgARAoIgBFDYYBIAJB3gA2AhwgAiABNgIUIAIgADYCDEEAIQMMmgELIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ2GASACQdwANgIcIAIgATYCFCACIAA2AgxBACEDDJkBCyACKAIEIQAgAkEANgIEIAIgACAFECgiAEUEQCAFIQEMhwELIAJB2gA2AhwgAiAFNgIUIAIgADYCDAyYAQtBACEBQQEhAwsgAiADOgArIAVBAWohAwJAAkACQCACLQAtQRBxDQACQAJAAkAgAi0AKg4DAQACBAsgBkUNAwwCCyAADQEMAgsgAUUNAQsgAigCBCEAIAJBADYCBCACIAAgAxAoIgBFBEAgAyEBDAILIAJB2AA2AhwgAiADNgIUIAIgADYCDEEAIQMMmAELIAIoAgQhACACQQA2AgQgAiAAIAMQKCIARQRAIAMhAQyHAQsgAkHZADYCHCACIAM2AhQgAiAANgIMQQAhAwyXAQtBzAAhAwx9CyAAQRVHBEAgAkEANgIcIAIgATYCFCACQZQNNgIQIAJBITYCDEEAIQMMlgELIAJB1wA2AhwgAiABNgIUIAJByRc2AhAgAkEVNgIMQQAhAwyVAQtBACEDIAJBADYCHCACIAE2AhQgAkGAETYCECACQQk2AgwMlAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0AIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiIBECoiAA0MDHcLQTkhAwyDAQsgAi0AMEEgcQ0GQcUBIQMMaQtBACEDIAJBADYCBCACIAEgARAqIgBFDQQgAkE6NgIcIAIgADYCDCACIAFBAWo2AhQMgQELIAItAChBAUcNACACLQAtQQhxRQ0BC0E3IQMMZgsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIABEAgAkE7NgIcIAIgADYCDCACIAFBAWo2AhQMfwsgAUEBaiEBDG4LIAJBCDoALAwECyABQQFqIQEMbQtBACEDIAJBADYCHCACIAE2AhQgAkHkEjYCECACQQQ2AgwMewsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIARQ1sIAJBNzYCHCACIAE2AhQgAiAANgIMDHoLIAIgAi8BMEEgcjsBMAtBMCEDDF8LIAJBNjYCHCACIAE2AhQgAiAANgIMDHcLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCACLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIAJBAToALCACIAIvATAgAXI7ATAgACEBDAELIAIgAi8BMEEIcjsBMCAAIQELQTkhAwxcCyACQQA6ACwLQTQhAwxaCyABIARGBEBBLSEDDHMLAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0EtIQMMdAsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIARQ0CIAJBLDYCHCACIAE2AhQgAiAANgIMDHMLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABECoiAEUEQCABQQFqIQEMAgsgAkEsNgIcIAIgADYCDCACIAFBAWo2AhQMcgsgAS0AAEENRgRAIAIoAgQhAEEAIQMgAkEANgIEIAIgACABECoiAEUEQCABQQFqIQEMAgsgAkEsNgIcIAIgADYCDCACIAFBAWo2AhQMcgsgAi0ALUEBcQRAQcQBIQMMWQsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKiIADQEMZQtBLyEDDFcLIAJBLjYCHCACIAE2AhQgAiAANgIMDG8LQQAhAyACQQA2AhwgAiABNgIUIAJB8BQ2AhAgAkEDNgIMDG4LQQEhAwJAAkACQAJAIAItACxBBWsOBAMBAgAECyACIAIvATBBCHI7ATAMAwtBAiEDDAELQQQhAwsgAkEBOgAsIAIgAi8BMCADcjsBMAtBKiEDDFMLQQAhAyACQQA2AhwgAiABNgIUIAJB4Q82AhAgAkEKNgIMDGsLQQEhAwJAAkACQAJAAkACQCACLQAsQQJrDgcFBAQDAQIABAsgAiACLwEwQQhyOwEwDAMLQQIhAwwBC0EEIQMLIAJBAToALCACIAIvATAgA3I7ATALQSshAwxSC0EAIQMgAkEANgIcIAIgATYCFCACQasSNgIQIAJBCzYCDAxqC0EAIQMgAkEANgIcIAIgATYCFCACQf0NNgIQIAJBHTYCDAxpCyABIARHBEADQCABLQAAQSBHDUggBCABQQFqIgFHDQALQSUhAwxpC0ElIQMMaAsgAi0ALUEBcQRAQcMBIQMMTwsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQKSIABEAgAkEmNgIcIAIgADYCDCACIAFBAWo2AhQMaAsgAUEBaiEBDFwLIAFBAWohASACLwEwIgBBgAFxBEBBACEAAkAgAigCOCIDRQ0AIAMoAlQiA0UNACACIAMRAAAhAAsgAEUNBiAAQRVHDR8gAkEFNgIcIAIgATYCFCACQfkXNgIQIAJBFTYCDEEAIQMMZwsCQCAAQaAEcUGgBEcNACACLQAtQQJxDQBBACEDIAJBADYCHCACIAE2AhQgAkGWEzYCECACQQQ2AgwMZwsgAgJ/IAIvATBBFHFBFEYEQEEBIAItAChBAUYNARogAi8BMkHlAEYMAQsgAi0AKUEFRgs6AC5BACEAAkAgAigCOCIDRQ0AIAMoAiQiA0UNACACIAMRAAAhAAsCQAJAAkACQAJAIAAOFgIBAAQEBAQEBAQEBAQEBAQEBAQEBAMECyACQQE6AC4LIAIgAi8BMEHAAHI7ATALQSchAwxPCyACQSM2AhwgAiABNgIUIAJBpRY2AhAgAkEVNgIMQQAhAwxnC0EAIQMgAkEANgIcIAIgATYCFCACQdULNgIQIAJBETYCDAxmC0EAIQACQCACKAI4IgNFDQAgAygCLCIDRQ0AIAIgAxEAACEACyAADQELQQ4hAwxLCyAAQRVGBEAgAkECNgIcIAIgATYCFCACQbAYNgIQIAJBFTYCDEEAIQMMZAtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMYwtBACEDIAJBADYCHCACIAE2AhQgAkGqHDYCECACQQ82AgwMYgsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEgCqdqIgEQKyIARQ0AIAJBBTYCHCACIAE2AhQgAiAANgIMDGELQQ8hAwxHC0EAIQMgAkEANgIcIAIgATYCFCACQc0TNgIQIAJBDDYCDAxfC0IBIQoLIAFBAWohAQJAIAIpAyAiC0L//////////w9YBEAgAiALQgSGIAqENwMgDAELQQAhAyACQQA2AhwgAiABNgIUIAJBrQk2AhAgAkEMNgIMDF4LQSQhAwxEC0EAIQMgAkEANgIcIAIgATYCFCACQc0TNgIQIAJBDDYCDAxcCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAsIgBFBEAgAUEBaiEBDFILIAJBFzYCHCACIAA2AgwgAiABQQFqNgIUDFsLIAIoAgQhAEEAIQMgAkEANgIEAkAgAiAAIAEQLCIARQRAIAFBAWohAQwBCyACQRY2AhwgAiAANgIMIAIgAUEBajYCFAxbC0EfIQMMQQtBACEDIAJBADYCHCACIAE2AhQgAkGaDzYCECACQSI2AgwMWQsgAigCBCEAQQAhAyACQQA2AgQgAiAAIAEQLSIARQRAIAFBAWohAQxQCyACQRQ2AhwgAiAANgIMIAIgAUEBajYCFAxYCyACKAIEIQBBACEDIAJBADYCBAJAIAIgACABEC0iAEUEQCABQQFqIQEMAQsgAkETNgIcIAIgADYCDCACIAFBAWo2AhQMWAtBHiEDDD4LQQAhAyACQQA2AhwgAiABNgIUIAJBxgw2AhAgAkEjNgIMDFYLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABEC0iAEUEQCABQQFqIQEMTgsgAkERNgIcIAIgADYCDCACIAFBAWo2AhQMVQsgAkEQNgIcIAIgATYCFCACIAA2AgwMVAtBACEDIAJBADYCHCACIAE2AhQgAkHGDDYCECACQSM2AgwMUwtBACEDIAJBADYCHCACIAE2AhQgAkHAFTYCECACQQI2AgwMUgsgAigCBCEAQQAhAyACQQA2AgQCQCACIAAgARAtIgBFBEAgAUEBaiEBDAELIAJBDjYCHCACIAA2AgwgAiABQQFqNgIUDFILQRshAww4C0EAIQMgAkEANgIcIAIgATYCFCACQcYMNgIQIAJBIzYCDAxQCyACKAIEIQBBACEDIAJBADYCBAJAIAIgACABECwiAEUEQCABQQFqIQEMAQsgAkENNgIcIAIgADYCDCACIAFBAWo2AhQMUAtBGiEDDDYLQQAhAyACQQA2AhwgAiABNgIUIAJBmg82AhAgAkEiNgIMDE4LIAIoAgQhAEEAIQMgAkEANgIEAkAgAiAAIAEQLCIARQRAIAFBAWohAQwBCyACQQw2AhwgAiAANgIMIAIgAUEBajYCFAxOC0EZIQMMNAtBACEDIAJBADYCHCACIAE2AhQgAkGaDzYCECACQSI2AgwMTAsgAEEVRwRAQQAhAyACQQA2AhwgAiABNgIUIAJBgww2AhAgAkETNgIMDEwLIAJBCjYCHCACIAE2AhQgAkHkFjYCECACQRU2AgxBACEDDEsLIAIoAgQhAEEAIQMgAkEANgIEIAIgACABIAqnaiIBECsiAARAIAJBBzYCHCACIAE2AhQgAiAANgIMDEsLQRMhAwwxCyAAQRVHBEBBACEDIAJBADYCHCACIAE2AhQgAkHaDTYCECACQRQ2AgwMSgsgAkEeNgIcIAIgATYCFCACQfkXNgIQIAJBFTYCDEEAIQMMSQtBACEAAkAgAigCOCIDRQ0AIAMoAiwiA0UNACACIAMRAAAhAAsgAEUNQSAAQRVGBEAgAkEDNgIcIAIgATYCFCACQbAYNgIQIAJBFTYCDEEAIQMMSQtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMSAtBACEDIAJBADYCHCACIAE2AhQgAkHaDTYCECACQRQ2AgwMRwtBACEDIAJBADYCHCACIAE2AhQgAkGnDjYCECACQRI2AgwMRgsgAkEAOgAvIAItAC1BBHFFDT8LIAJBADoALyACQQE6ADRBACEDDCsLQQAhAyACQQA2AhwgAkHkETYCECACQQc2AgwgAiABQQFqNgIUDEMLAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB3QEhAwxDCwJAAkAgAi0ANEEBRw0AQQAhAAJAIAIoAjgiA0UNACADKAJYIgNFDQAgAiADEQAAIQALIABFDQAgAEEVRw0BIAJB3AE2AhwgAiABNgIUIAJB1RY2AhAgAkEVNgIMQQAhAwxEC0HBASEDDCoLIAJBADYCHCACIAE2AhQgAkHpCzYCECACQR82AgxBACEDDEILAkACQCACLQAoQQFrDgIEAQALQcABIQMMKQtBuQEhAwwoCyACQQI6AC9BACEAAkAgAigCOCIDRQ0AIAMoAgAiA0UNACACIAMRAAAhAAsgAEUEQEHCASEDDCgLIABBFUcEQCACQQA2AhwgAiABNgIUIAJBpAw2AhAgAkEQNgIMQQAhAwxBCyACQdsBNgIcIAIgATYCFCACQfoWNgIQIAJBFTYCDEEAIQMMQAsgASAERgRAQdoBIQMMQAsgAS0AAEHIAEYNASACQQE6ACgLQawBIQMMJQtBvwEhAwwkCyABIARHBEAgAkEQNgIIIAIgATYCBEG+ASEDDCQLQdkBIQMMPAsgASAERgRAQdgBIQMMPAsgAS0AAEHIAEcNBCABQQFqIQFBvQEhAwwiCyABIARGBEBB1wEhAww7CwJAAkAgAS0AAEHFAGsOEAAFBQUFBQUFBQUFBQUFBQEFCyABQQFqIQFBuwEhAwwiCyABQQFqIQFBvAEhAwwhC0HWASEDIAEgBEYNOSACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGD0ABqLQAARw0DIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAw6CyACKAIEIQAgAkIANwMAIAIgACAGQQFqIgEQJyIARQRAQcYBIQMMIQsgAkHVATYCHCACIAE2AhQgAiAANgIMQQAhAww5C0HUASEDIAEgBEYNOCACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGB0ABqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAw5CyACQYEEOwEoIAIoAgQhACACQgA3AwAgAiAAIAZBAWoiARAnIgANAwwCCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJB2Bs2AhAgAkEINgIMDDYLQboBIQMMHAsgAkHTATYCHCACIAE2AhQgAiAANgIMQQAhAww0C0EAIQACQCACKAI4IgNFDQAgAygCOCIDRQ0AIAIgAxEAACEACyAARQ0AIABBFUYNASACQQA2AhwgAiABNgIUIAJBzA42AhAgAkEgNgIMQQAhAwwzC0HkACEDDBkLIAJB+AA2AhwgAiABNgIUIAJByhg2AhAgAkEVNgIMQQAhAwwxC0HSASEDIAQgASIARg0wIAQgAWsgAigCACIBaiEFIAAgAWtBBGohBgJAA0AgAC0AACABQfzPAGotAABHDQEgAUEERg0DIAFBAWohASAEIABBAWoiAEcNAAsgAiAFNgIADDELIAJBADYCHCACIAA2AhQgAkGQMzYCECACQQg2AgwgAkEANgIAQQAhAwwwCyABIARHBEAgAkEONgIIIAIgATYCBEG3ASEDDBcLQdEBIQMMLwsgAkEANgIAIAZBAWohAQtBuAEhAwwUCyABIARGBEBB0AEhAwwtCyABLQAAQTBrIgBB/wFxQQpJBEAgAiAAOgAqIAFBAWohAUG2ASEDDBQLIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ0UIAJBzwE2AhwgAiABNgIUIAIgADYCDEEAIQMMLAsgASAERgRAQc4BIQMMLAsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAIoAgQhACACQQA2AgQgAiAAIAEQKCIARQ0VIAJBzQE2AhwgAiABNgIUIAIgADYCDEEAIQMMLAtBtQEhAwwSCyAEIAEiBUYEQEHMASEDDCsLQQAhAEEBIQFBASEGQQAhAwJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAUtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyEDQQAhAUEAIQYMAgtBCSEDQQEhAEEAIQFBACEGDAELQQAhAUEBIQMLIAIgAzoAKyAFQQFqIQMCQAJAIAItAC1BEHENAAJAAkACQCACLQAqDgMBAAIECyAGRQ0DDAILIAANAQwCCyABRQ0BCyACKAIEIQAgAkEANgIEIAIgACADECgiAEUEQCADIQEMAwsgAkHJATYCHCACIAM2AhQgAiAANgIMQQAhAwwtCyACKAIEIQAgAkEANgIEIAIgACADECgiAEUEQCADIQEMGAsgAkHKATYCHCACIAM2AhQgAiAANgIMQQAhAwwsCyACKAIEIQAgAkEANgIEIAIgACAFECgiAEUEQCAFIQEMFgsgAkHLATYCHCACIAU2AhQgAiAANgIMDCsLQbQBIQMMEQtBACEAAkAgAigCOCIDRQ0AIAMoAjwiA0UNACACIAMRAAAhAAsCQCAABEAgAEEVRg0BIAJBADYCHCACIAE2AhQgAkGUDTYCECACQSE2AgxBACEDDCsLQbIBIQMMEQsgAkHIATYCHCACIAE2AhQgAkHJFzYCECACQRU2AgxBACEDDCkLIAJBADYCACAGQQFqIQFB9QAhAwwPCyACLQApQQVGBEBB4wAhAwwPC0HiACEDDA4LIAAhASACQQA2AgALIAJBADoALEEJIQMMDAsgAkEANgIAIAdBAWohAUHAACEDDAsLQQELOgAsIAJBADYCACAGQQFqIQELQSkhAwwIC0E4IQMMBwsCQCABIARHBEADQCABLQAAQYA+ai0AACIAQQFHBEAgAEECRw0DIAFBAWohAQwFCyAEIAFBAWoiAUcNAAtBPiEDDCELQT4hAwwgCwsgAkEAOgAsDAELQQshAwwEC0E6IQMMAwsgAUEBaiEBQS0hAwwCCyACIAE6ACwgAkEANgIAIAZBAWohAUEMIQMMAQsgAkEANgIAIAZBAWohAUEKIQMMAAsAC0EAIQMgAkEANgIcIAIgATYCFCACQc0QNgIQIAJBCTYCDAwXC0EAIQMgAkEANgIcIAIgATYCFCACQekKNgIQIAJBCTYCDAwWC0EAIQMgAkEANgIcIAIgATYCFCACQbcQNgIQIAJBCTYCDAwVC0EAIQMgAkEANgIcIAIgATYCFCACQZwRNgIQIAJBCTYCDAwUC0EAIQMgAkEANgIcIAIgATYCFCACQc0QNgIQIAJBCTYCDAwTC0EAIQMgAkEANgIcIAIgATYCFCACQekKNgIQIAJBCTYCDAwSC0EAIQMgAkEANgIcIAIgATYCFCACQbcQNgIQIAJBCTYCDAwRC0EAIQMgAkEANgIcIAIgATYCFCACQZwRNgIQIAJBCTYCDAwQC0EAIQMgAkEANgIcIAIgATYCFCACQZcVNgIQIAJBDzYCDAwPC0EAIQMgAkEANgIcIAIgATYCFCACQZcVNgIQIAJBDzYCDAwOC0EAIQMgAkEANgIcIAIgATYCFCACQcASNgIQIAJBCzYCDAwNC0EAIQMgAkEANgIcIAIgATYCFCACQZUJNgIQIAJBCzYCDAwMC0EAIQMgAkEANgIcIAIgATYCFCACQeEPNgIQIAJBCjYCDAwLC0EAIQMgAkEANgIcIAIgATYCFCACQfsPNgIQIAJBCjYCDAwKC0EAIQMgAkEANgIcIAIgATYCFCACQfEZNgIQIAJBAjYCDAwJC0EAIQMgAkEANgIcIAIgATYCFCACQcQUNgIQIAJBAjYCDAwIC0EAIQMgAkEANgIcIAIgATYCFCACQfIVNgIQIAJBAjYCDAwHCyACQQI2AhwgAiABNgIUIAJBnBo2AhAgAkEWNgIMQQAhAwwGC0EBIQMMBQtB1AAhAyABIARGDQQgCEEIaiEJIAIoAgAhBQJAAkAgASAERwRAIAVB2MIAaiEHIAQgBWogAWshACAFQX9zQQpqIgUgAWohBgNAIAEtAAAgBy0AAEcEQEECIQcMAwsgBUUEQEEAIQcgBiEBDAMLIAVBAWshBSAHQQFqIQcgBCABQQFqIgFHDQALIAAhBSAEIQELIAlBATYCACACIAU2AgAMAQsgAkEANgIAIAkgBzYCAAsgCSABNgIEIAgoAgwhACAIKAIIDgMBBAIACwALIAJBADYCHCACQbUaNgIQIAJBFzYCDCACIABBAWo2AhRBACEDDAILIAJBADYCHCACIAA2AhQgAkHKGjYCECACQQk2AgxBACEDDAELIAEgBEYEQEEiIQMMAQsgAkEJNgIIIAIgATYCBEEhIQMLIAhBEGokACADRQRAIAIoAgwhAAwBCyACIAM2AhxBACEAIAIoAgQiAUUNACACIAEgBCACKAIIEQEAIgFFDQAgAiAENgIUIAIgATYCDCABIQALIAALvgIBAn8gAEEAOgAAIABB3ABqIgFBAWtBADoAACAAQQA6AAIgAEEAOgABIAFBA2tBADoAACABQQJrQQA6AAAgAEEAOgADIAFBBGtBADoAAEEAIABrQQNxIgEgAGoiAEEANgIAQdwAIAFrQXxxIgIgAGoiAUEEa0EANgIAAkAgAkEJSQ0AIABBADYCCCAAQQA2AgQgAUEIa0EANgIAIAFBDGtBADYCACACQRlJDQAgAEEANgIYIABBADYCFCAAQQA2AhAgAEEANgIMIAFBEGtBADYCACABQRRrQQA2AgAgAUEYa0EANgIAIAFBHGtBADYCACACIABBBHFBGHIiAmsiAUEgSQ0AIAAgAmohAANAIABCADcDGCAAQgA3AxAgAEIANwMIIABCADcDACAAQSBqIQAgAUEgayIBQR9LDQALCwtWAQF/AkAgACgCDA0AAkACQAJAAkAgAC0ALw4DAQADAgsgACgCOCIBRQ0AIAEoAiwiAUUNACAAIAERAAAiAQ0DC0EADwsACyAAQcMWNgIQQQ4hAQsgAQsaACAAKAIMRQRAIABB0Rs2AhAgAEEVNgIMCwsUACAAKAIMQRVGBEAgAEEANgIMCwsUACAAKAIMQRZGBEAgAEEANgIMCwsHACAAKAIMCwcAIAAoAhALCQAgACABNgIQCwcAIAAoAhQLFwAgAEEkTwRAAAsgAEECdEGgM2ooAgALFwAgAEEuTwRAAAsgAEECdEGwNGooAgALvwkBAX9B6yghAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB5ABrDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0HhJw8LQaQhDwtByywPC0H+MQ8LQcAkDwtBqyQPC0GNKA8LQeImDwtBgDAPC0G5Lw8LQdckDwtB7x8PC0HhHw8LQfofDwtB8iAPC0GoLw8LQa4yDwtBiDAPC0HsJw8LQYIiDwtBjh0PC0HQLg8LQcojDwtBxTIPC0HfHA8LQdIcDwtBxCAPC0HXIA8LQaIfDwtB7S4PC0GrMA8LQdQlDwtBzC4PC0H6Lg8LQfwrDwtB0jAPC0HxHQ8LQbsgDwtB9ysPC0GQMQ8LQdcxDwtBoi0PC0HUJw8LQeArDwtBnywPC0HrMQ8LQdUfDwtByjEPC0HeJQ8LQdQeDwtB9BwPC0GnMg8LQbEdDwtBoB0PC0G5MQ8LQbwwDwtBkiEPC0GzJg8LQeksDwtBrB4PC0HUKw8LQfcmDwtBgCYPC0GwIQ8LQf4eDwtBjSMPC0GJLQ8LQfciDwtBoDEPC0GuHw8LQcYlDwtB6B4PC0GTIg8LQcIvDwtBwx0PC0GLLA8LQeEdDwtBjS8PC0HqIQ8LQbQtDwtB0i8PC0HfMg8LQdIyDwtB8DAPC0GpIg8LQfkjDwtBmR4PC0G1LA8LQZswDwtBkjIPC0G2Kw8LQcIiDwtB+DIPC0GeJQ8LQdAiDwtBuh4PC0GBHg8LAAtB1iEhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCz4BAn8CQCAAKAI4IgNFDQAgAygCBCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBxhE2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCCCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB9go2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCDCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB7Ro2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCECIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBlRA2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCFCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBqhs2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCGCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB7RM2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCKCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABB9gg2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCHCIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBwhk2AhBBGCEECyAECz4BAn8CQCAAKAI4IgNFDQAgAygCICIDRQ0AIAAgASACIAFrIAMRAQAiBEF/Rw0AIABBlBQ2AhBBGCEECyAEC1kBAn8CQCAALQAoQQFGDQAgAC8BMiIBQeQAa0HkAEkNACABQcwBRg0AIAFBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhAiAAQYgEcUGABEYNACAAQShxRSECCyACC4wBAQJ/AkACQAJAIAAtACpFDQAgAC0AK0UNACAALwEwIgFBAnFFDQEMAgsgAC8BMCIBQQFxRQ0BC0EBIQIgAC0AKEEBRg0AIAAvATIiAEHkAGtB5ABJDQAgAEHMAUYNACAAQbACRg0AIAFBwABxDQBBACECIAFBiARxQYAERg0AIAFBKHFBAEchAgsgAgtzACAAQRBq/QwAAAAAAAAAAAAAAAAAAAAA/QsDACAA/QwAAAAAAAAAAAAAAAAAAAAA/QsDACAAQTBq/QwAAAAAAAAAAAAAAAAAAAAA/QsDACAAQSBq/QwAAAAAAAAAAAAAAAAAAAAA/QsDACAAQd0BNgIcCwYAIAAQMguaLQELfyMAQRBrIgokAEGk0AAoAgAiCUUEQEHk0wAoAgAiBUUEQEHw0wBCfzcCAEHo0wBCgICEgICAwAA3AgBB5NMAIApBCGpBcHFB2KrVqgVzIgU2AgBB+NMAQQA2AgBByNMAQQA2AgALQczTAEGA1AQ2AgBBnNAAQYDUBDYCAEGw0AAgBTYCAEGs0ABBfzYCAEHQ0wBBgKwDNgIAA0AgAUHI0ABqIAFBvNAAaiICNgIAIAIgAUG00ABqIgM2AgAgAUHA0ABqIAM2AgAgAUHQ0ABqIAFBxNAAaiIDNgIAIAMgAjYCACABQdjQAGogAUHM0ABqIgI2AgAgAiADNgIAIAFB1NAAaiACNgIAIAFBIGoiAUGAAkcNAAtBjNQEQcGrAzYCAEGo0ABB9NMAKAIANgIAQZjQAEHAqwM2AgBBpNAAQYjUBDYCAEHM/wdBODYCAEGI1AQhCQsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAQewBTQRAQYzQACgCACIGQRAgAEETakFwcSAAQQtJGyIEQQN2IgB2IgFBA3EEQAJAIAFBAXEgAHJBAXMiAkEDdCIAQbTQAGoiASAAQbzQAGooAgAiACgCCCIDRgRAQYzQACAGQX4gAndxNgIADAELIAEgAzYCCCADIAE2AgwLIABBCGohASAAIAJBA3QiAkEDcjYCBCAAIAJqIgAgACgCBEEBcjYCBAwRC0GU0AAoAgAiCCAETw0BIAEEQAJAQQIgAHQiAkEAIAJrciABIAB0cWgiAEEDdCICQbTQAGoiASACQbzQAGooAgAiAigCCCIDRgRAQYzQACAGQX4gAHdxIgY2AgAMAQsgASADNgIIIAMgATYCDAsgAiAEQQNyNgIEIABBA3QiACAEayEFIAAgAmogBTYCACACIARqIgQgBUEBcjYCBCAIBEAgCEF4cUG00ABqIQBBoNAAKAIAIQMCf0EBIAhBA3Z0IgEgBnFFBEBBjNAAIAEgBnI2AgAgAAwBCyAAKAIICyIBIAM2AgwgACADNgIIIAMgADYCDCADIAE2AggLIAJBCGohAUGg0AAgBDYCAEGU0AAgBTYCAAwRC0GQ0AAoAgAiC0UNASALaEECdEG80gBqKAIAIgAoAgRBeHEgBGshBSAAIQIDQAJAIAIoAhAiAUUEQCACQRRqKAIAIgFFDQELIAEoAgRBeHEgBGsiAyAFSSECIAMgBSACGyEFIAEgACACGyEAIAEhAgwBCwsgACgCGCEJIAAoAgwiAyAARwRAQZzQACgCABogAyAAKAIIIgE2AgggASADNgIMDBALIABBFGoiAigCACIBRQRAIAAoAhAiAUUNAyAAQRBqIQILA0AgAiEHIAEiA0EUaiICKAIAIgENACADQRBqIQIgAygCECIBDQALIAdBADYCAAwPC0F/IQQgAEG/f0sNACAAQRNqIgFBcHEhBEGQ0AAoAgAiCEUNAEEAIARrIQUCQAJAAkACf0EAIARBgAJJDQAaQR8gBEH///8HSw0AGiAEQSYgAUEIdmciAGt2QQFxIABBAXRrQT5qCyIGQQJ0QbzSAGooAgAiAkUEQEEAIQFBACEDDAELQQAhASAEQRkgBkEBdmtBACAGQR9HG3QhAEEAIQMDQAJAIAIoAgRBeHEgBGsiByAFTw0AIAIhAyAHIgUNAEEAIQUgAiEBDAMLIAEgAkEUaigCACIHIAcgAiAAQR12QQRxakEQaigCACICRhsgASAHGyEBIABBAXQhACACDQALCyABIANyRQRAQQAhA0ECIAZ0IgBBACAAa3IgCHEiAEUNAyAAaEECdEG80gBqKAIAIQELIAFFDQELA0AgASgCBEF4cSAEayICIAVJIQAgAiAFIAAbIQUgASADIAAbIQMgASgCECIABH8gAAUgAUEUaigCAAsiAQ0ACwsgA0UNACAFQZTQACgCACAEa08NACADKAIYIQcgAyADKAIMIgBHBEBBnNAAKAIAGiAAIAMoAggiATYCCCABIAA2AgwMDgsgA0EUaiICKAIAIgFFBEAgAygCECIBRQ0DIANBEGohAgsDQCACIQYgASIAQRRqIgIoAgAiAQ0AIABBEGohAiAAKAIQIgENAAsgBkEANgIADA0LQZTQACgCACIDIARPBEBBoNAAKAIAIQECQCADIARrIgJBEE8EQCABIARqIgAgAkEBcjYCBCABIANqIAI2AgAgASAEQQNyNgIEDAELIAEgA0EDcjYCBCABIANqIgAgACgCBEEBcjYCBEEAIQBBACECC0GU0AAgAjYCAEGg0AAgADYCACABQQhqIQEMDwtBmNAAKAIAIgMgBEsEQCAEIAlqIgAgAyAEayIBQQFyNgIEQaTQACAANgIAQZjQACABNgIAIAkgBEEDcjYCBCAJQQhqIQEMDwtBACEBIAQCf0Hk0wAoAgAEQEHs0wAoAgAMAQtB8NMAQn83AgBB6NMAQoCAhICAgMAANwIAQeTTACAKQQxqQXBxQdiq1aoFczYCAEH40wBBADYCAEHI0wBBADYCAEGAgAQLIgAgBEHHAGoiBWoiBkEAIABrIgdxIgJPBEBB/NMAQTA2AgAMDwsCQEHE0wAoAgAiAUUNAEG80wAoAgAiCCACaiEAIAAgAU0gACAIS3ENAEEAIQFB/NMAQTA2AgAMDwtByNMALQAAQQRxDQQCQAJAIAkEQEHM0wAhAQNAIAEoAgAiACAJTQRAIAAgASgCBGogCUsNAwsgASgCCCIBDQALC0EAEDMiAEF/Rg0FIAIhBkHo0wAoAgAiAUEBayIDIABxBEAgAiAAayAAIANqQQAgAWtxaiEGCyAEIAZPDQUgBkH+////B0sNBUHE0wAoAgAiAwRAQbzTACgCACIHIAZqIQEgASAHTQ0GIAEgA0sNBgsgBhAzIgEgAEcNAQwHCyAGIANrIAdxIgZB/v///wdLDQQgBhAzIQAgACABKAIAIAEoAgRqRg0DIAAhAQsCQCAGIARByABqTw0AIAFBf0YNAEHs0wAoAgAiACAFIAZrakEAIABrcSIAQf7///8HSwRAIAEhAAwHCyAAEDNBf0cEQCAAIAZqIQYgASEADAcLQQAgBmsQMxoMBAsgASIAQX9HDQUMAwtBACEDDAwLQQAhAAwKCyAAQX9HDQILQcjTAEHI0wAoAgBBBHI2AgALIAJB/v///wdLDQEgAhAzIQBBABAzIQEgAEF/Rg0BIAFBf0YNASAAIAFPDQEgASAAayIGIARBOGpNDQELQbzTAEG80wAoAgAgBmoiATYCAEHA0wAoAgAgAUkEQEHA0wAgATYCAAsCQAJAAkBBpNAAKAIAIgIEQEHM0wAhAQNAIAAgASgCACIDIAEoAgQiBWpGDQIgASgCCCIBDQALDAILQZzQACgCACIBQQBHIAAgAU9xRQRAQZzQACAANgIAC0EAIQFB0NMAIAY2AgBBzNMAIAA2AgBBrNAAQX82AgBBsNAAQeTTACgCADYCAEHY0wBBADYCAANAIAFByNAAaiABQbzQAGoiAjYCACACIAFBtNAAaiIDNgIAIAFBwNAAaiADNgIAIAFB0NAAaiABQcTQAGoiAzYCACADIAI2AgAgAUHY0ABqIAFBzNAAaiICNgIAIAIgAzYCACABQdTQAGogAjYCACABQSBqIgFBgAJHDQALQXggAGtBD3EiASAAaiICIAZBOGsiAyABayIBQQFyNgIEQajQAEH00wAoAgA2AgBBmNAAIAE2AgBBpNAAIAI2AgAgACADakE4NgIEDAILIAAgAk0NACACIANJDQAgASgCDEEIcQ0AQXggAmtBD3EiACACaiIDQZjQACgCACAGaiIHIABrIgBBAXI2AgQgASAFIAZqNgIEQajQAEH00wAoAgA2AgBBmNAAIAA2AgBBpNAAIAM2AgAgAiAHakE4NgIEDAELIABBnNAAKAIASQRAQZzQACAANgIACyAAIAZqIQNBzNMAIQECQAJAAkADQCADIAEoAgBHBEAgASgCCCIBDQEMAgsLIAEtAAxBCHFFDQELQczTACEBA0AgASgCACIDIAJNBEAgAyABKAIEaiIFIAJLDQMLIAEoAgghAQwACwALIAEgADYCACABIAEoAgQgBmo2AgQgAEF4IABrQQ9xaiIJIARBA3I2AgQgA0F4IANrQQ9xaiIGIAQgCWoiBGshASACIAZGBEBBpNAAIAQ2AgBBmNAAQZjQACgCACABaiIANgIAIAQgAEEBcjYCBAwIC0Gg0AAoAgAgBkYEQEGg0AAgBDYCAEGU0ABBlNAAKAIAIAFqIgA2AgAgBCAAQQFyNgIEIAAgBGogADYCAAwICyAGKAIEIgVBA3FBAUcNBiAFQXhxIQggBUH/AU0EQCAFQQN2IQMgBigCCCIAIAYoAgwiAkYEQEGM0ABBjNAAKAIAQX4gA3dxNgIADAcLIAIgADYCCCAAIAI2AgwMBgsgBigCGCEHIAYgBigCDCIARwRAIAAgBigCCCICNgIIIAIgADYCDAwFCyAGQRRqIgIoAgAiBUUEQCAGKAIQIgVFDQQgBkEQaiECCwNAIAIhAyAFIgBBFGoiAigCACIFDQAgAEEQaiECIAAoAhAiBQ0ACyADQQA2AgAMBAtBeCAAa0EPcSIBIABqIgcgBkE4ayIDIAFrIgFBAXI2AgQgACADakE4NgIEIAIgBUE3IAVrQQ9xakE/ayIDIAMgAkEQakkbIgNBIzYCBEGo0ABB9NMAKAIANgIAQZjQACABNgIAQaTQACAHNgIAIANBEGpB1NMAKQIANwIAIANBzNMAKQIANwIIQdTTACADQQhqNgIAQdDTACAGNgIAQczTACAANgIAQdjTAEEANgIAIANBJGohAQNAIAFBBzYCACAFIAFBBGoiAUsNAAsgAiADRg0AIAMgAygCBEF+cTYCBCADIAMgAmsiBTYCACACIAVBAXI2AgQgBUH/AU0EQCAFQXhxQbTQAGohAAJ/QYzQACgCACIBQQEgBUEDdnQiA3FFBEBBjNAAIAEgA3I2AgAgAAwBCyAAKAIICyIBIAI2AgwgACACNgIIIAIgADYCDCACIAE2AggMAQtBHyEBIAVB////B00EQCAFQSYgBUEIdmciAGt2QQFxIABBAXRrQT5qIQELIAIgATYCHCACQgA3AhAgAUECdEG80gBqIQBBkNAAKAIAIgNBASABdCIGcUUEQCAAIAI2AgBBkNAAIAMgBnI2AgAgAiAANgIYIAIgAjYCCCACIAI2AgwMAQsgBUEZIAFBAXZrQQAgAUEfRxt0IQEgACgCACEDAkADQCADIgAoAgRBeHEgBUYNASABQR12IQMgAUEBdCEBIAAgA0EEcWpBEGoiBigCACIDDQALIAYgAjYCACACIAA2AhggAiACNgIMIAIgAjYCCAwBCyAAKAIIIgEgAjYCDCAAIAI2AgggAkEANgIYIAIgADYCDCACIAE2AggLQZjQACgCACIBIARNDQBBpNAAKAIAIgAgBGoiAiABIARrIgFBAXI2AgRBmNAAIAE2AgBBpNAAIAI2AgAgACAEQQNyNgIEIABBCGohAQwIC0EAIQFB/NMAQTA2AgAMBwtBACEACyAHRQ0AAkAgBigCHCICQQJ0QbzSAGoiAygCACAGRgRAIAMgADYCACAADQFBkNAAQZDQACgCAEF+IAJ3cTYCAAwCCyAHQRBBFCAHKAIQIAZGG2ogADYCACAARQ0BCyAAIAc2AhggBigCECICBEAgACACNgIQIAIgADYCGAsgBkEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgCGohASAGIAhqIgYoAgQhBQsgBiAFQX5xNgIEIAEgBGogATYCACAEIAFBAXI2AgQgAUH/AU0EQCABQXhxQbTQAGohAAJ/QYzQACgCACICQQEgAUEDdnQiAXFFBEBBjNAAIAEgAnI2AgAgAAwBCyAAKAIICyIBIAQ2AgwgACAENgIIIAQgADYCDCAEIAE2AggMAQtBHyEFIAFB////B00EQCABQSYgAUEIdmciAGt2QQFxIABBAXRrQT5qIQULIAQgBTYCHCAEQgA3AhAgBUECdEG80gBqIQBBkNAAKAIAIgJBASAFdCIDcUUEQCAAIAQ2AgBBkNAAIAIgA3I2AgAgBCAANgIYIAQgBDYCCCAEIAQ2AgwMAQsgAUEZIAVBAXZrQQAgBUEfRxt0IQUgACgCACEAAkADQCAAIgIoAgRBeHEgAUYNASAFQR12IQAgBUEBdCEFIAIgAEEEcWpBEGoiAygCACIADQALIAMgBDYCACAEIAI2AhggBCAENgIMIAQgBDYCCAwBCyACKAIIIgAgBDYCDCACIAQ2AgggBEEANgIYIAQgAjYCDCAEIAA2AggLIAlBCGohAQwCCwJAIAdFDQACQCADKAIcIgFBAnRBvNIAaiICKAIAIANGBEAgAiAANgIAIAANAUGQ0AAgCEF+IAF3cSIINgIADAILIAdBEEEUIAcoAhAgA0YbaiAANgIAIABFDQELIAAgBzYCGCADKAIQIgEEQCAAIAE2AhAgASAANgIYCyADQRRqKAIAIgFFDQAgAEEUaiABNgIAIAEgADYCGAsCQCAFQQ9NBEAgAyAEIAVqIgBBA3I2AgQgACADaiIAIAAoAgRBAXI2AgQMAQsgAyAEaiICIAVBAXI2AgQgAyAEQQNyNgIEIAIgBWogBTYCACAFQf8BTQRAIAVBeHFBtNAAaiEAAn9BjNAAKAIAIgFBASAFQQN2dCIFcUUEQEGM0AAgASAFcjYCACAADAELIAAoAggLIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCAwBC0EfIQEgBUH///8HTQRAIAVBJiAFQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAQsgAiABNgIcIAJCADcCECABQQJ0QbzSAGohAEEBIAF0IgQgCHFFBEAgACACNgIAQZDQACAEIAhyNgIAIAIgADYCGCACIAI2AgggAiACNgIMDAELIAVBGSABQQF2a0EAIAFBH0cbdCEBIAAoAgAhBAJAA0AgBCIAKAIEQXhxIAVGDQEgAUEddiEEIAFBAXQhASAAIARBBHFqQRBqIgYoAgAiBA0ACyAGIAI2AgAgAiAANgIYIAIgAjYCDCACIAI2AggMAQsgACgCCCIBIAI2AgwgACACNgIIIAJBADYCGCACIAA2AgwgAiABNgIICyADQQhqIQEMAQsCQCAJRQ0AAkAgACgCHCIBQQJ0QbzSAGoiAigCACAARgRAIAIgAzYCACADDQFBkNAAIAtBfiABd3E2AgAMAgsgCUEQQRQgCSgCECAARhtqIAM2AgAgA0UNAQsgAyAJNgIYIAAoAhAiAQRAIAMgATYCECABIAM2AhgLIABBFGooAgAiAUUNACADQRRqIAE2AgAgASADNgIYCwJAIAVBD00EQCAAIAQgBWoiAUEDcjYCBCAAIAFqIgEgASgCBEEBcjYCBAwBCyAAIARqIgcgBUEBcjYCBCAAIARBA3I2AgQgBSAHaiAFNgIAIAgEQCAIQXhxQbTQAGohAUGg0AAoAgAhAwJ/QQEgCEEDdnQiAiAGcUUEQEGM0AAgAiAGcjYCACABDAELIAEoAggLIgIgAzYCDCABIAM2AgggAyABNgIMIAMgAjYCCAtBoNAAIAc2AgBBlNAAIAU2AgALIABBCGohAQsgCkEQaiQAIAELQwAgAEUEQD8AQRB0DwsCQCAAQf//A3ENACAAQQBIDQAgAEEQdkAAIgBBf0YEQEH80wBBMDYCAEF/DwsgAEEQdA8LAAsL3D8iAEGACAsJAQAAAAIAAAADAEGUCAsFBAAAAAUAQaQICwkGAAAABwAAAAgAQdwIC4otSW52YWxpZCBjaGFyIGluIHVybCBxdWVyeQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2JvZHkAQ29udGVudC1MZW5ndGggb3ZlcmZsb3cAQ2h1bmsgc2l6ZSBvdmVyZmxvdwBSZXNwb25zZSBvdmVyZmxvdwBJbnZhbGlkIG1ldGhvZCBmb3IgSFRUUC94LnggcmVxdWVzdABJbnZhbGlkIG1ldGhvZCBmb3IgUlRTUC94LnggcmVxdWVzdABFeHBlY3RlZCBTT1VSQ0UgbWV0aG9kIGZvciBJQ0UveC54IHJlcXVlc3QASW52YWxpZCBjaGFyIGluIHVybCBmcmFnbWVudCBzdGFydABFeHBlY3RlZCBkb3QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9zdGF0dXMASW52YWxpZCByZXNwb25zZSBzdGF0dXMASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucwBVc2VyIGNhbGxiYWNrIGVycm9yAGBvbl9yZXNldGAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2hlYWRlcmAgY2FsbGJhY2sgZXJyb3IAYG9uX21lc3NhZ2VfYmVnaW5gIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwBB+TULAQEAQZA2C+ABAQECAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAQf03CwEBAEGROAteAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgBB/TkLAQEAQZE6C14CAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAEHwOwsNbG9zZWVlcC1hbGl2ZQBBiTwLAQEAQaA8C+ABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAQYk+CwEBAEGgPgvnAQEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZABBsMAAC18BAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQBBkMIACyFlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AQcDCAAstcmFuc2Zlci1lbmNvZGluZ3BncmFkZQ0KDQoNClNNDQoNClRUUC9DRS9UU1AvAEH5wgALBQECAAEDAEGQwwAL4AEEAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+cQACwUBAgABAwBBkMUAC+ABBAEBBQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAQfnGAAsEAQAAAQBBkccAC98BAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var fb=A((xzt,_te)=>{"use strict";var wte=["GET","HEAD","POST"],sGe=new Set(wte),oGe=[101,204,205,304],Ite=[301,302,303,307,308],aGe=new Set(Ite),Ste=["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"],cGe=new Set(Ste),Bte=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],lGe=new Set(Bte),uGe=["follow","manual","error"],xte=["GET","HEAD","OPTIONS","TRACE"],dGe=new Set(xte),fGe=["navigate","same-origin","no-cors","cors"],hGe=["omit","same-origin","include"],pGe=["default","no-store","reload","no-cache","force-cache","only-if-cached"],AGe=["content-encoding","content-language","content-location","content-type","content-length"],mGe=["half"],vte=["CONNECT","TRACE","TRACK"],gGe=new Set(vte),Nte=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],yGe=new Set(Nte);_te.exports={subresource:Nte,forbiddenMethods:vte,requestBodyHeader:AGe,referrerPolicy:Bte,requestRedirect:uGe,requestMode:fGe,requestCredentials:hGe,requestCache:pGe,redirectStatus:Ite,corsSafeListedMethods:wte,nullBodyStatus:oGe,safeMethods:xte,badPorts:Ste,requestDuplex:mGe,subresourceSet:yGe,badPortsSet:cGe,redirectStatusSet:aGe,corsSafeListedMethodsSet:sGe,safeMethodsSet:dGe,forbiddenMethodsSet:gGe,referrerPolicySet:lGe}});var vF=A((vzt,Tte)=>{"use strict";var xF=Symbol.for("undici.globalOrigin.1");function EGe(){return globalThis[xF]}o(EGe,"getGlobalOrigin");function CGe(t){if(t===void 0){Object.defineProperty(globalThis,xF,{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,xF,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(CGe,"setGlobalOrigin");Tte.exports={getGlobalOrigin:EGe,setGlobalOrigin:CGe}});var gs=A((_zt,Lte)=>{"use strict";var Kx=require("node:assert"),bGe=new TextEncoder,hb=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,wGe=/[\u000A\u000D\u0009\u0020]/,IGe=/[\u0009\u000A\u000C\u000D\u0020]/g,SGe=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function BGe(t){Kx(t.protocol==="data:");let e=Qte(t,!0);e=e.slice(5);let r={position:0},n=Bm(",",e,r),i=n.length;if(n=RGe(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=kte(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=Ote(a);if(a=vGe(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=NF(n);return c==="failure"&&(c=NF("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(BGe,"dataURLProcessor");function Qte(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(Qte,"URLSerializer");function Xx(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(Xx,"collectASequenceOfCodePoints");function Bm(t,e,r){let n=e.indexOf(t,r.position),i=r.position;return n===-1?(r.position=e.length,e.slice(i)):(r.position=n,e.slice(i,r.position))}o(Bm,"collectASequenceOfCodePointsFast");function kte(t){let e=bGe.encode(t);return xGe(e)}o(kte,"stringPercentDecode");function Rte(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(Rte,"isHexCharByte");function Dte(t){return t>=48&&t<=57?t-48:(t&223)-55}o(Dte,"hexByteToNumber");function xGe(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;i<e;++i){let s=t[i];s!==37?r[n++]=s:s===37&&!(Rte(t[i+1])&&Rte(t[i+2]))?r[n++]=37:(r[n++]=Dte(t[i+1])<<4|Dte(t[i+2]),i+=2)}return e===n?r:r.subarray(0,n)}o(xGe,"percentDecode");function NF(t){t=Yx(t,!0,!0);let e={position:0},r=Bm("/",t,e);if(r.length===0||!hb.test(r)||e.position>t.length)return"failure";e.position++;let n=Bm(";",t,e);if(n=Yx(n,!1,!0),n.length===0||!hb.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.position<t.length;){e.position++,Xx(u=>wGe.test(u),t,e);let c=Xx(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let l=null;if(t[e.position]==='"')l=Pte(t,e,!0),Bm(";",t,e);else if(l=Bm(";",t,e),l=Yx(l,!1,!0),l.length===0)continue;c.length!==0&&hb.test(c)&&(l.length===0||SGe.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(NF,"parseMIMEType");function vGe(t){t=t.replace(IGe,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(vGe,"forgivingBase64");function Pte(t,e,r){let n=e.position,i="";for(Kx(t[e.position]==='"'),e.position++;i+=Xx(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Kx(s==='"');break}}return r?i:t.slice(n,e.position)}o(Pte,"collectAnHTTPQuotedString");function NGe(t){Kx(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",hb.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(NGe,"serializeAMimeType");function _Ge(t){return t===13||t===10||t===9||t===32}o(_Ge,"isHTTPWhiteSpace");function Yx(t,e=!0,r=!0){return _F(t,e,r,_Ge)}o(Yx,"removeHTTPWhitespace");function TGe(t){return t===13||t===10||t===9||t===12||t===32}o(TGe,"isASCIIWhitespace");function RGe(t,e=!0,r=!0){return _F(t,e,r,TGe)}o(RGe,"removeASCIIWhitespace");function _F(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t.charCodeAt(i));)i++;if(r)for(;s>0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(_F,"removeChars");function Ote(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;n<e;)n+i>e&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(Ote,"isomorphicDecode");function DGe(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(DGe,"minimizeSupportedMimeType");Lte.exports={dataURLProcessor:BGe,URLSerializer:Qte,collectASequenceOfCodePoints:Xx,collectASequenceOfCodePointsFast:Bm,stringPercentDecode:kte,parseMIMEType:NF,collectAnHTTPQuotedString:Pte,serializeAMimeType:NGe,removeChars:_F,removeHTTPWhitespace:Yx,minimizeSupportedMimeType:DGe,HTTP_TOKEN_CODEPOINTS:hb,isomorphicDecode:Ote}});var ai=A((Rzt,Fte)=>{"use strict";var{types:_c,inspect:QGe}=require("node:util"),{markAsUncloneable:kGe}=require("node:worker_threads"),{toUSVString:PGe}=at(),K={};K.converters={};K.util={};K.errors={};K.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};K.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 K.errors.exception({header:t.prefix,message:r})};K.errors.invalidArgument=function(t){return K.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};K.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};K.argumentLengthCheck=function({length:t},e,r){if(t<e)throw K.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};K.illegalConstructor=function(){throw K.errors.exception({header:"TypeError",message:"Illegal constructor"})};K.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"}};K.util.markAsUncloneable=kGe||(()=>{});K.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw K.errors.exception({header:"Integer conversion",message:`Could not convert ${K.util.Stringify(t)} to an integer.`});if(a=K.util.IntegerPart(a),a<s||a>i)throw K.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=K.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};K.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};K.util.Stringify=function(t){switch(K.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return QGe(t);case"String":return`"${t}"`;default:return`${t}`}};K.sequenceConverter=function(t){return(e,r,n,i)=>{if(K.util.Type(e)!=="Object")throw K.errors.exception({header:r,message:`${n} (${K.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw K.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:u}=s.next();if(l)break;a.push(t(u,r,`${n}[${c++}]`))}return a}};K.recordConverter=function(t,e){return(r,n,i)=>{if(K.util.Type(r)!=="Object")throw K.errors.exception({header:n,message:`${i} ("${K.util.Type(r)}") is not an Object.`});let s={};if(!_c.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,n,i),d=e(r[l],n,i);s[u]=d}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,n,i),d=e(r[c],n,i);s[u]=d}return s}};K.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw K.errors.exception({header:r,message:`Expected ${n} ("${K.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};K.dictionaryConverter=function(t){return(e,r,n)=>{let i=K.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw K.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:d}=a;if(u===!0&&!Object.hasOwn(e,c))throw K.errors.exception({header:r,message:`Missing required key "${c}".`});let f=e[c],h=Object.hasOwn(a,"defaultValue");if(h&&f!==null&&(f??=l()),u||h||f!==void 0){if(f=d(f,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(f))throw K.errors.exception({header:r,message:`${f} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=f}}return s}};K.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};K.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw K.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};K.converters.ByteString=function(t,e,r){let n=K.converters.DOMString(t,e,r);for(let i=0;i<n.length;i++)if(n.charCodeAt(i)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};K.converters.USVString=PGe;K.converters.boolean=function(t){return!!t};K.converters.any=function(t){return t};K.converters["long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"signed",void 0,e,r)};K.converters["unsigned long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};K.converters["unsigned long"]=function(t,e,r){return K.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};K.converters["unsigned short"]=function(t,e,r,n){return K.util.ConvertToInt(t,16,"unsigned",n,e,r)};K.converters.ArrayBuffer=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!_c.isAnyArrayBuffer(t))throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&_c.isSharedArrayBuffer(t))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.TypedArray=function(t,e,r,n,i){if(K.util.Type(t)!=="Object"||!_c.isTypedArray(t)||t.constructor.name!==e.name)throw K.errors.conversionFailed({prefix:r,argument:`${n} ("${K.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&_c.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.DataView=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!_c.isDataView(t))throw K.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&_c.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.BufferSource=function(t,e,r,n){if(_c.isAnyArrayBuffer(t))return K.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(_c.isTypedArray(t))return K.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(_c.isDataView(t))return K.converters.DataView(t,e,r,{...n,allowShared:!1});throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["BufferSource"]})};K.converters["sequence<ByteString>"]=K.sequenceConverter(K.converters.ByteString);K.converters["sequence<sequence<ByteString>>"]=K.sequenceConverter(K.converters["sequence<ByteString>"]);K.converters["record<ByteString, ByteString>"]=K.recordConverter(K.converters.ByteString,K.converters.ByteString);Fte.exports={webidl:K}});var js=A((Dzt,Xte)=>{"use strict";var{Transform:OGe}=require("node:stream"),Mte=require("node:zlib"),{redirectStatusSet:LGe,referrerPolicySet:FGe,badPortsSet:MGe}=fb(),{getGlobalOrigin:Ute}=vF(),{collectASequenceOfCodePoints:Dh,collectAnHTTPQuotedString:UGe,removeChars:qGe,parseMIMEType:GGe}=gs(),{performance:HGe}=require("node:perf_hooks"),{isBlobLike:VGe,ReadableStreamFrom:zGe,isValidHTTPToken:qte,normalizedMethodRecordsBase:$Ge}=at(),Qh=require("node:assert"),{isUint8Array:jGe}=require("node:util/types"),{webidl:pb}=ai(),Gte=[],ev;try{ev=require("node:crypto");let t=["sha256","sha384","sha512"];Gte=ev.getHashes().filter(e=>t.includes(e))}catch{}function Hte(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(Hte,"responseURL");function WGe(t,e){if(!LGe.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&zte(r)&&(Vte(r)||(r=JGe(r)),r=new URL(r,Hte(t))),r&&!r.hash&&(r.hash=e),r}o(WGe,"responseLocationURL");function Vte(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(Vte,"isValidEncodedURL");function JGe(t){return Buffer.from(t,"binary").toString("utf8")}o(JGe,"normalizeBinaryStringToUtf8");function mb(t){return t.urlList[t.urlList.length-1]}o(mb,"requestCurrentURL");function YGe(t){let e=mb(t);return Yte(e)&&MGe.has(e.port)?"blocked":"allowed"}o(YGe,"requestBadPort");function KGe(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(KGe,"isErrorLike");function XGe(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(XGe,"isValidReasonPhrase");var ZGe=qte;function zte(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
`)||t.includes("\r")||t.includes("\0"))===!1}o(zte,"isValidHeaderValue");function eHe(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(FGe.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(eHe,"setRequestReferrerPolicyOnRedirect");function tHe(){return"allowed"}o(tHe,"crossOriginResourcePolicyCheck");function rHe(){return"success"}o(rHe,"corsCheck");function nHe(){return"success"}o(nHe,"TAOCheck");function iHe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(iHe,"appendFetchMetadata");function sHe(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&&RF(t.origin)&&!RF(mb(t))&&(e=null);break;case"same-origin":tv(t,mb(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(sHe,"appendRequestOriginHeader");function xm(t,e){return t}o(xm,"coarsenTime");function oHe(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:xm(t.domainLookupStartTime,r),domainLookupEndTime:xm(t.domainLookupEndTime,r),connectionStartTime:xm(t.connectionStartTime,r),connectionEndTime:xm(t.connectionEndTime,r),secureConnectionStartTime:xm(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(oHe,"clampAndCoarsenConnectionTimingInfo");function aHe(t){return xm(HGe.now(),t)}o(aHe,"coarsenedSharedCurrentTime");function cHe(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(cHe,"createOpaqueTimingInfo");function $te(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o($te,"makePolicyContainer");function lHe(t){return{referrerPolicy:t.referrerPolicy}}o(lHe,"clonePolicyContainer");function uHe(t){let e=t.referrerPolicy;Qh(e);let r=null;if(t.referrer==="client"){let c=Ute();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=TF(r),i=TF(r,!0);n.toString().length>4096&&(n=i);let s=tv(t,n),a=Ab(n)&&!Ab(t.url);switch(e){case"origin":return i??TF(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=mb(t);return tv(n,c)?n:Ab(n)&&!Ab(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(uHe,"determineRequestsReferrer");function TF(t,e){return Qh(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(TF,"stripURLForReferrer");function Ab(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(Ab,"isURLPotentiallyTrustworthy");function dHe(t,e){if(ev===void 0)return!0;let r=jte(e);if(r==="no metadata"||r.length===0)return!0;let n=hHe(r),i=pHe(r,n);for(let s of i){let a=s.algo,c=s.hash,l=ev.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),AHe(l,c))return!0}return!1}o(dHe,"bytesMatch");var fHe=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function jte(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=fHe.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();Gte.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(jte,"parseMetadata");function hHe(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let n=t[r];if(n.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;n.algo[3]==="3"&&(e="sha384")}}return e}o(hHe,"getStrongestMetadata");function pHe(t,e){if(t.length===1)return t;let r=0;for(let n=0;n<t.length;++n)t[n].algo===e&&(t[r++]=t[n]);return t.length=r,t}o(pHe,"filterMetadataListByAlgorithm");function AHe(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(AHe,"compareBase64Mixed");function mHe(t){}o(mHe,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function tv(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(tv,"sameOrigin");function gHe(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}o(gHe,"createDeferredPromise");function yHe(t){return t.controller.state==="aborted"}o(yHe,"isAborted");function EHe(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(EHe,"isCancelled");function CHe(t){return $Ge[t.toLowerCase()]??t}o(CHe,"normalizeMethod");function bHe(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Qh(typeof e=="string"),e}o(bHe,"serializeJavascriptValueToJSONString");var wHe=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Wte(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#n;constructor(a,c){this.#e=a,this.#t=c,this.#n=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#n,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[n]:d}=c[a];this.#n=a+1;let f;switch(this.#t){case"key":f=u;break;case"value":f=d;break;case"key+value":f=[u,d];break}return{value:f,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,wHe),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(Wte,"createIterator");function IHe(t,e,r,n=0,i=1){let s=Wte(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return pb.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return pb.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return pb.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(pb.brandCheck(this,e),pb.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:d,1:f}of s(this,"key+value"))l.call(u,f,d,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(IHe,"iteratorMixin");async function SHe(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await Jte(s))}catch(a){i(a)}}o(SHe,"fullyReadBody");function BHe(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(BHe,"isReadableStreamLike");function xHe(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(xHe,"readableStreamClose");var vHe=/[^\x00-\xFF]/;function Zx(t){return Qh(!vHe.test(t)),t}o(Zx,"isomorphicEncode");async function Jte(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!jGe(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(Jte,"readAllBytes");function NHe(t){Qh("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(NHe,"urlIsLocal");function RF(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(RF,"urlHasHttpsScheme");function Yte(t){Qh("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(Yte,"urlIsHttpHttpsScheme");function _He(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Dh(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Dh(l=>l===" "||l===" ",r,n);let i=Dh(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&Dh(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Dh(l=>l===" "||l===" ",r,n);let a=Dh(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),c=a.length?Number(a):null;return n.position<r.length||c===null&&s===null||s>c?"failure":{rangeStartValue:s,rangeEndValue:c}}o(_He,"simpleRangeHeaderValue");function THe(t,e,r){let n="bytes ";return n+=Zx(`${t}`),n+="-",n+=Zx(`${e}`),n+="/",n+=Zx(`${r}`),n}o(THe,"buildContentRange");var DF=class extends OGe{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?Mte.createInflate(this.#e):Mte.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function RHe(t){return new DF(t)}o(RHe,"createInflate");function DHe(t){let e=null,r=null,n=null,i=Kte("content-type",t);if(i===null)return"failure";for(let s of i){let a=GGe(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(DHe,"extractMimeType");function QHe(t){let e=t,r={position:0},n=[],i="";for(;r.position<e.length;){if(i+=Dh(s=>s!=='"'&&s!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(i+=UGe(e,r),r.position<e.length)continue}else Qh(e.charCodeAt(r.position)===44),r.position++;i=qGe(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}o(QHe,"gettingDecodingSplitting");function Kte(t,e){let r=e.get(t,!0);return r===null?null:QHe(r)}o(Kte,"getDecodeSplit");var kHe=new TextDecoder;function PHe(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),kHe.decode(t))}o(PHe,"utf8DecodeBytes");var QF=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return Ute()}get origin(){return this.baseUrl?.origin}policyContainer=$te()},kF=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new QF},OHe=new kF;Xte.exports={isAborted:yHe,isCancelled:EHe,isValidEncodedURL:Vte,createDeferredPromise:gHe,ReadableStreamFrom:zGe,tryUpgradeRequestToAPotentiallyTrustworthyURL:mHe,clampAndCoarsenConnectionTimingInfo:oHe,coarsenedSharedCurrentTime:aHe,determineRequestsReferrer:uHe,makePolicyContainer:$te,clonePolicyContainer:lHe,appendFetchMetadata:iHe,appendRequestOriginHeader:sHe,TAOCheck:nHe,corsCheck:rHe,crossOriginResourcePolicyCheck:tHe,createOpaqueTimingInfo:cHe,setRequestReferrerPolicyOnRedirect:eHe,isValidHTTPToken:qte,requestBadPort:YGe,requestCurrentURL:mb,responseURL:Hte,responseLocationURL:WGe,isBlobLike:VGe,isURLPotentiallyTrustworthy:Ab,isValidReasonPhrase:XGe,sameOrigin:tv,normalizeMethod:CHe,serializeJavascriptValueToJSONString:bHe,iteratorMixin:IHe,createIterator:Wte,isValidHeaderName:ZGe,isValidHeaderValue:zte,isErrorLike:KGe,fullyReadBody:SHe,bytesMatch:dHe,isReadableStreamLike:BHe,readableStreamClose:xHe,isomorphicEncode:Zx,urlIsLocal:NHe,urlHasHttpsScheme:RF,urlIsHttpHttpsScheme:Yte,readAllBytes:Jte,simpleRangeHeaderValue:_He,buildContentRange:THe,parseMetadata:jte,createInflate:RHe,extractMimeType:DHe,getDecodeSplit:Kte,utf8DecodeBytes:PHe,environmentSettingsObject:OHe}});var Fd=A((kzt,Zte)=>{"use strict";Zte.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var OF=A((Pzt,ere)=>{"use strict";var{Blob:LHe,File:FHe}=require("node:buffer"),{kState:Iu}=Fd(),{webidl:Tc}=ai(),PF=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Iu]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return Tc.brandCheck(this,t),this[Iu].blobLike.stream(...e)}arrayBuffer(...e){return Tc.brandCheck(this,t),this[Iu].blobLike.arrayBuffer(...e)}slice(...e){return Tc.brandCheck(this,t),this[Iu].blobLike.slice(...e)}text(...e){return Tc.brandCheck(this,t),this[Iu].blobLike.text(...e)}get size(){return Tc.brandCheck(this,t),this[Iu].blobLike.size}get type(){return Tc.brandCheck(this,t),this[Iu].blobLike.type}get name(){return Tc.brandCheck(this,t),this[Iu].name}get lastModified(){return Tc.brandCheck(this,t),this[Iu].lastModified}get[Symbol.toStringTag](){return"File"}};Tc.converters.Blob=Tc.interfaceConverter(LHe);function MHe(t){return t instanceof FHe||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(MHe,"isFileLike");ere.exports={FileLike:PF,isFileLike:MHe}});var yb=A((Lzt,sre)=>{"use strict";var{isBlobLike:rv,iteratorMixin:UHe}=js(),{kState:qi}=Fd(),{kEnumerableProperty:vm}=at(),{FileLike:tre,isFileLike:qHe}=OF(),{webidl:Xt}=ai(),{File:ire}=require("node:buffer"),rre=require("node:util"),nre=globalThis.File??ire,gb=class t{static{o(this,"FormData")}constructor(e){if(Xt.util.markAsUncloneable(this),e!==void 0)throw Xt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[qi]=[]}append(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.append";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!rv(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=rv(r)?Xt.converters.Blob(r,i,"value",{strict:!1}):Xt.converters.USVString(r,i,"value"),n=arguments.length===3?Xt.converters.USVString(n,i,"filename"):void 0;let s=LF(e,r,n);this[qi].push(s)}delete(e){Xt.brandCheck(this,t);let r="FormData.delete";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[qi]=this[qi].filter(n=>n.name!==e)}get(e){Xt.brandCheck(this,t);let r="FormData.get";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name");let n=this[qi].findIndex(i=>i.name===e);return n===-1?null:this[qi][n].value}getAll(e){Xt.brandCheck(this,t);let r="FormData.getAll";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[qi].filter(n=>n.name===e).map(n=>n.value)}has(e){Xt.brandCheck(this,t);let r="FormData.has";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[qi].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.set";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!rv(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=rv(r)?Xt.converters.Blob(r,i,"name",{strict:!1}):Xt.converters.USVString(r,i,"name"),n=arguments.length===3?Xt.converters.USVString(n,i,"name"):void 0;let s=LF(e,r,n),a=this[qi].findIndex(c=>c.name===e);a!==-1?this[qi]=[...this[qi].slice(0,a),s,...this[qi].slice(a+1).filter(c=>c.name!==e)]:this[qi].push(s)}[rre.inspect.custom](e,r){let n=this[qi].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=rre.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};UHe("FormData",gb,qi,"name","value");Object.defineProperties(gb.prototype,{append:vm,delete:vm,get:vm,getAll:vm,has:vm,set:vm,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function LF(t,e,r){if(typeof e!="string"){if(qHe(e)||(e=e instanceof Blob?new nre([e],"blob",{type:e.type}):new tre(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof ire?new nre([e],r,n):new tre(e,r,n)}}return{name:t,value:e}}o(LF,"makeEntry");sre.exports={FormData:gb,makeEntry:LF}});var dre=A((Mzt,ure)=>{"use strict";var{isUSVString:ore,bufferToLowerCasedHeaderName:GHe}=at(),{utf8DecodeBytes:HHe}=js(),{HTTP_TOKEN_CODEPOINTS:VHe,isomorphicDecode:are}=gs(),{isFileLike:zHe}=OF(),{makeEntry:$He}=yb(),nv=require("node:assert"),{File:jHe}=require("node:buffer"),WHe=globalThis.File??jHe,JHe=Buffer.from('form-data; name="'),cre=Buffer.from("; filename"),YHe=Buffer.from("--"),KHe=Buffer.from(`--\r
`);function XHe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(XHe,"isAsciiString");function ZHe(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(ZHe,"validateBoundary");function e4e(t,e){nv(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&iv(t,YHe,s)||s.position===t.length-4&&iv(t,KHe,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=t4e(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:d,encoding:f}=c;s.position+=2;let h;{let m=t.indexOf(n.subarray(2),s.position);if(m===-1)return"failure";h=t.subarray(s.position,m-4),s.position+=h.length,f==="base64"&&(h=Buffer.from(h.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let p;u!==null?(d??="text/plain",XHe(d)||(d=""),p=new WHe([h],u,{type:d})):p=HHe(Buffer.from(h)),nv(ore(l)),nv(typeof p=="string"&&ore(p)||zHe(p)),i.push($He(l,p,u))}}o(e4e,"multipartFormDataParser");function t4e(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=Nm(c=>c!==10&&c!==13&&c!==58,t,e);if(a=FF(a,!0,!0,c=>c===9||c===32),!VHe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Nm(c=>c===32||c===9,t,e),GHe(a)){case"content-disposition":{if(r=n=null,!iv(t,JHe,e)||(e.position+=17,r=lre(t,e),r===null))return"failure";if(iv(t,cre,e)){let c=e.position+cre.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=lre(t,e),n===null))return"failure"}break}case"content-type":{let c=Nm(l=>l!==10&&l!==13,t,e);c=FF(c,!1,!0,l=>l===9||l===32),i=are(c);break}case"content-transfer-encoding":{let c=Nm(l=>l!==10&&l!==13,t,e);c=FF(c,!1,!0,l=>l===9||l===32),s=are(c);break}default:Nm(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(t4e,"parseMultipartFormDataHeaders");function lre(t,e){nv(t[e.position-1]===34);let r=Nm(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(lre,"parseMultipartFormDataName");function Nm(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(Nm,"collectASequenceOfBytes");function FF(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t[i]);)i++;if(r)for(;s>0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(FF,"removeChars");function iv(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}o(iv,"bufferStartsWith");ure.exports={multipartFormDataParser:e4e,validateBoundary:ZHe}});var Rm=A((qzt,bre)=>{"use strict";var Eb=at(),{ReadableStreamFrom:r4e,isBlobLike:fre,isReadableStreamLike:n4e,readableStreamClose:i4e,createDeferredPromise:s4e,fullyReadBody:o4e,extractMimeType:a4e,utf8DecodeBytes:Are}=js(),{FormData:hre}=yb(),{kState:Tm}=Fd(),{webidl:c4e}=ai(),{Blob:l4e}=require("node:buffer"),MF=require("node:assert"),{isErrored:mre,isDisturbed:u4e}=require("node:stream"),{isArrayBuffer:d4e}=require("node:util/types"),{serializeAMimeType:f4e}=gs(),{multipartFormDataParser:h4e}=dre(),UF;try{let t=require("node:crypto");UF=o(e=>t.randomInt(0,e),"random")}catch{UF=o(t=>Math.floor(Math.random(t)),"random")}var sv=new TextEncoder;function p4e(){}o(p4e,"noop");var gre=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,yre;gre&&(yre=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!u4e(e)&&!mre(e)&&e.cancel("Response object has been garbage collected").catch(p4e)}));function Ere(t,e=!1){let r=null;t instanceof ReadableStream?r=t:fre(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?sv.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>i4e(l))},start(){},type:"bytes"}),MF(n4e(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(d4e(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Eb.isFormDataLike(t)){let l=`----formdata-undici-0${`${UF(1e11)}`.padStart(11,"0")}`,u=`--${l}\r
Content-Disposition: form-data`;let d=o(E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),f=o(E=>E.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),h=[],p=new Uint8Array([13,10]);s=0;let m=!1;for(let[E,y]of t)if(typeof y=="string"){let C=sv.encode(u+`; name="${d(f(E))}"\r
\r
${f(y)}\r
`);h.push(C),s+=C.byteLength}else{let C=sv.encode(`${u}; name="${d(f(E))}"`+(y.name?`; filename="${d(y.name)}"`:"")+`\r
Content-Type: ${y.type||"application/octet-stream"}\r
\r
`);h.push(C,y,p),typeof y.size=="number"?s+=C.byteLength+y.size+p.byteLength:m=!0}let g=sv.encode(`--${l}--\r
`);h.push(g),s+=g.byteLength,m&&(s=null),i=t,n=o(async function*(){for(let E of h)E.stream?yield*E.stream():yield E},"action"),a=`multipart/form-data; boundary=${l}`}else if(fre(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Eb.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:r4e(t)}if((typeof i=="string"||Eb.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(u){let{value:d,done:f}=await l.next();if(f)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!mre(r)){let h=new Uint8Array(d);h.byteLength&&u.enqueue(h)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(Ere,"extractBody");function A4e(t,e=!1){return t instanceof ReadableStream&&(MF(!Eb.isDisturbed(t),"The body has already been consumed."),MF(!t.locked,"The stream is locked.")),Ere(t,e)}o(A4e,"safelyExtractBody");function m4e(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(m4e,"cloneBody");function g4e(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(g4e,"throwIfAborted");function y4e(t){return{blob(){return _m(this,r=>{let n=pre(this);return n===null?n="":n&&(n=f4e(n)),new l4e([r],{type:n})},t)},arrayBuffer(){return _m(this,r=>new Uint8Array(r).buffer,t)},text(){return _m(this,Are,t)},json(){return _m(this,C4e,t)},formData(){return _m(this,r=>{let n=pre(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=h4e(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new hre;return s[Tm]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new hre;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return _m(this,r=>new Uint8Array(r),t)}}}o(y4e,"bodyMixinMethods");function E4e(t){Object.assign(t.prototype,y4e(t))}o(E4e,"mixinBody");async function _m(t,e,r){if(c4e.brandCheck(t,r),Cre(t))throw new TypeError("Body is unusable: Body has already been read");g4e(t[Tm]);let n=s4e(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Tm].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await o4e(t[Tm].body,s,i),n.promise)}o(_m,"consumeBody");function Cre(t){let e=t[Tm].body;return e!=null&&(e.stream.locked||Eb.isDisturbed(e.stream))}o(Cre,"bodyUnusable");function C4e(t){return JSON.parse(Are(t))}o(C4e,"parseJSONFromBytes");function pre(t){let e=t[Tm].headersList,r=a4e(e);return r==="failure"?null:r}o(pre,"bodyMimeType");bre.exports={extractBody:Ere,safelyExtractBody:A4e,cloneBody:m4e,mixinBody:E4e,streamRegistry:yre,hasFinalizationRegistry:gre,bodyUnusable:Cre}});var Lre=A((Hzt,Ore)=>{"use strict";var Te=require("node:assert"),ke=at(),{channels:wre}=ym(),qF=wF(),{RequestContentLengthMismatchError:kh,ResponseContentLengthMismatchError:Ire,RequestAbortedError:Rre,InvalidArgumentError:b4e,HeadersTimeoutError:w4e,HeadersOverflowError:I4e,SocketError:Dm,InformationalError:Qm,BodyTimeoutError:S4e,HTTPParserError:B4e,ResponseExceededMaxSizeError:x4e}=Rt(),{kUrl:Dre,kReset:ys,kClient:lv,kParser:rr,kBlocking:wb,kRunning:An,kPending:Qre,kSize:Sre,kWriting:Md,kQueue:Ma,kNoRef:Cb,kKeepAliveDefaultTimeout:v4e,kHostHeader:N4e,kPendingIdx:_4e,kRunningIdx:Lo,kError:Gi,kPipelining:uv,kSocket:Oh,kKeepAliveTimeoutValue:fv,kMaxHeadersSize:GF,kKeepAliveMaxTimeout:T4e,kKeepAliveTimeoutThreshold:R4e,kHeadersTimeout:D4e,kBodyTimeout:Q4e,kStrictContentLength:zF,kMaxRequests:Bre,kCounter:k4e,kMaxResponseSize:P4e,kOnError:xre,kResume:Su,kHTTPContext:kre}=mr(),Ws=yte(),vre=Buffer.alloc(0),ov=Buffer[Symbol.species],av=ke.addListener,O4e=ke.removeAllListeners,Lh=Symbol("kIdleSocketValidation"),Ph=Symbol("kIdleSocketValidationTimeout"),JF=Symbol("kSocketUsed"),HF;async function L4e(){let t=process.env.JEST_WORKER_ID?BF():void 0,e;try{e=await WebAssembly.compile(bte())}catch{e=await WebAssembly.compile(t||BF())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,i)=>0,"wasm_on_url"),wasm_on_status:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Dc+Rc.byteOffset;return Qr.onStatus(new ov(Rc.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Te(Qr.ptr===r),Qr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Dc+Rc.byteOffset;return Qr.onHeaderField(new ov(Rc.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Dc+Rc.byteOffset;return Qr.onHeaderValue(new ov(Rc.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Te(Qr.ptr===r),Qr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Dc+Rc.byteOffset;return Qr.onBody(new ov(Rc.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Te(Qr.ptr===r),Qr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(L4e,"lazyllhttp");var VF=null,$F=L4e();$F.catch();var Qr=null,Rc=null,cv=0,Dc=null,F4e=0,bb=1,km=2|bb,dv=4|bb,jF=8|F4e,WF=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Te(Number.isFinite(e[GF])&&e[GF]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Ws.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[GF],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[P4e]}setTimeout(e,r){e!==this.timeoutValue||r&bb^this.timeoutType&bb?(this.timeout&&(qF.clearTimeout(this.timeout),this.timeout=null),e&&(r&bb?this.timeout=qF.setFastTimeout(Nre,e,new WeakRef(this)):(this.timeout=setTimeout(Nre,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||(Te(this.ptr!=null),Te(Qr==null),this.llhttp.llhttp_resume(this.ptr),Te(this.timeoutType===dv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||vre),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){Te(this.ptr!=null),Te(Qr==null),Te(!this.paused);let{socket:r,llhttp:n}=this;e.length>cv&&(Dc&&n.free(Dc),cv=Math.ceil(e.length/4096)*4096,Dc=n.malloc(cv)),new Uint8Array(n.memory.buffer,Dc,cv).set(e);try{let i;try{Rc=e,Qr=this,i=n.llhttp_execute(this.ptr,Dc,e.length)}catch(a){throw a}finally{Qr=null,Rc=null}let s=n.llhttp_get_error_pos(this.ptr)-Dc;if(i!==Ws.ERROR.OK){let a=e.subarray(s);if(i===Ws.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(i===Ws.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(i,a)}}catch(i){ke.destroy(r,i)}}finish(){Te(Qr===null),Te(this.ptr!=null),Te(!this.paused);let{llhttp:e}=this,r;try{Qr=this,r=e.llhttp_finish(this.ptr)}finally{Qr=null}return r===Ws.ERROR.OK?null:r===Ws.ERROR.PAUSED||r===Ws.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,vre)}createError(e,r){let{llhttp:n,contentLength:i,bytesRead:s}=this;if(i&&s!==parseInt(i,10))return new Ire;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new B4e(c,Ws.ERROR[e],r)}destroy(){Te(this.ptr!=null),Te(Qr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&qF.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[An]===0)return ke.destroy(e,new Dm("bad response",ke.getSocketInfo(e))),-1;let n=r[Ma][r[Lo]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=ke.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&ke.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ke.destroy(this.socket,new I4e)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Te(r),Te(n[Oh]===i),Te(!i.destroyed),Te(!this.paused),Te((s.length&1)===0);let c=n[Ma][n[Lo]];Te(c),Te(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[rr].destroy(),i[rr]=null,i[lv]=null,i[Gi]=null,O4e(i),n[Oh]=null,n[kre]=null,n[Ma][n[Lo]++]=null,n.emit("disconnect",n[Dre],[n],new Qm("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){ke.destroy(i,l)}n[Su]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;if(i[An]===0)return ke.destroy(s,new Dm("bad response",ke.getSocketInfo(s))),-1;let l=i[Ma][i[Lo]];if(!l)return-1;if(Te(!this.upgrade),Te(this.statusCode<200),e===100)return ke.destroy(s,new Dm("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new Dm("bad upgrade",ke.getSocketInfo(s))),-1;if(Te(this.timeoutType===km),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[ys]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let d=l.bodyTimeout!=null?l.bodyTimeout:i[Q4e];this.setTimeout(d,dv)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Te(i[An]===1),this.upgrade=!0,2;if(r)return Te(i[An]===1),this.upgrade=!0,2;if(Te((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[uv]){let d=this.keepAlive?ke.parseKeepAliveTimeout(this.keepAlive):null;if(d!=null){let f=Math.min(d-i[R4e],i[T4e]);f<=0?s[ys]=!0:i[fv]=f}else i[fv]=i[v4e]}else s[ys]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[wb]&&(s[wb]=!1,i[Su]()),u?Ws.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Ma][r[Lo]];if(Te(a),Te(this.timeoutType===dv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Te(i>=200),s>-1&&this.bytesRead+e.length>s)return ke.destroy(n,new x4e),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Ws.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;Te(n>=100),Te((this.headers.length&1)===0);let u=e[Ma][e[Lo]];if(Te(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return ke.destroy(r,new Ire),-1;if(u.onComplete(s),e[Ma][e[Lo]++]=null,r[JF]=!0,r[Md])return Te(e[An]===0),ke.destroy(r,new Qm("reset")),Ws.ERROR.PAUSED;if(l){if(r[ys]&&e[An]===0)return ke.destroy(r,new Qm("reset")),Ws.ERROR.PAUSED;e[uv]==null||e[uv]===1?setImmediate(()=>e[Su]()):e[Su]()}else return ke.destroy(r,new Qm("reset")),Ws.ERROR.PAUSED}}};function Nre(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===km?(!e[Md]||e.writableNeedDrain||n[An]>1)&&(Te(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new w4e)):r===dv?i||ke.destroy(e,new S4e):r===jF&&(Te(n[An]===0&&n[fv]),ke.destroy(e,new Qm("socket idle timeout")))}o(Nre,"onParserTimeout");async function M4e(t,e){t[Oh]=e,VF||(VF=await $F,$F=null),e[Cb]=!1,e[Md]=!1,e[ys]=!1,e[wb]=!1,e[Lh]=0,e[Ph]=null,e[JF]=!1,e[rr]=new WF(t,e,VF),av(e,"error",function(n){Te(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[rr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){let s=i.finish();s&&(this[Gi]=s,this[lv][xre](s));return}this[Gi]=n,this[lv][xre](n)}),av(e,"readable",function(){let n=this[rr];n&&n.readMore()}),av(e,"end",function(){let n=this[rr];if(n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&ke.destroy(this,i);return}ke.destroy(this,new Dm("other side closed",ke.getSocketInfo(this)))}),av(e,"close",function(){let n=this[lv],i=this[rr];Pre(this),i&&(!this[Gi]&&i.statusCode&&!i.shouldKeepAlive&&(this[Gi]=i.finish()||this[Gi]),this[rr].destroy(),this[rr]=null);let s=this[Gi]||new Dm("closed",ke.getSocketInfo(this));if(n[Oh]=null,n[kre]=null,n.destroyed){Te(n[Qre]===0);let a=n[Ma].splice(n[Lo]);for(let c=0;c<a.length;c++){let l=a[c];ke.errorRequest(n,l,s)}}else if(n[An]>0&&s.code!=="UND_ERR_INFO"){let a=n[Ma][n[Lo]];n[Ma][n[Lo]++]=null,ke.errorRequest(n,a,s)}n[_4e]=n[Lo],Te(n[An]===0),n.emit("disconnect",n[Dre],[n],s),n[Su]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return H4e(t,...n)},resume(){q4e(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[Md]||e[ys]||e[wb]||e[Lh]===1||n&&(t[An]>0&&!n.idempotent||t[An]>0&&(n.upgrade||n.method==="CONNECT")||t[An]>0&&ke.bodyLength(n.body)!==0&&(ke.isStream(n.body)||ke.isAsyncIterable(n.body)||ke.isFormDataLike(n.body))))}}}o(M4e,"connectH1");function Pre(t){t[Ph]&&(clearTimeout(t[Ph]),t[Ph]=null),t[Lh]=0}o(Pre,"clearIdleSocketValidation");function U4e(t,e){e[Lh]=1,e[Ph]=setTimeout(()=>{e[Ph]=null,e[Lh]=2,t[Oh]===e&&!e.destroyed&&t[Su]()},0),e[Ph].unref?.()}o(U4e,"scheduleIdleSocketValidation");function q4e(t){let e=t[Oh];if(e&&!e.destroyed){if(t[Sre]===0?!e[Cb]&&e.unref&&(e.unref(),e[Cb]=!0):e[Cb]&&e.ref&&(e.ref(),e[Cb]=!1),t[An]===0&&t[Qre]>0&&e[JF]){if(e[Lh]===0)return U4e(t,e),e[rr].readMore(),e.destroyed,void 0;if(e[Lh]===1)return e[rr].readMore(),e.destroyed,void 0}if(t[An]===0&&(e[rr].readMore(),e.destroyed))return;if(t[Sre]===0)e[rr].timeoutType!==jF&&e[rr].setTimeout(t[fv],jF);else if(t[An]>0&&e[rr].statusCode<200&&e[rr].timeoutType!==km){let r=t[Ma][t[Lo]],n=r.headersTimeout!=null?r.headersTimeout:t[D4e];e[rr].setTimeout(n,km)}}}o(q4e,"resumeH1");function G4e(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(G4e,"shouldSendContentLength");function H4e(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:d}=e,f=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(ke.isFormDataLike(l)){HF||(HF=Rm().extractBody);let[E,y]=HF(l);e.contentType==null&&u.push("content-type",y),l=E.stream,d=E.length}else if(ke.isBlobLike(l)&&e.contentType==null){let E=l.type;if(E){let y=`${E}`;if(!ke.isValidHeaderValue(y))return ke.errorRequest(t,e,new b4e("invalid content-type header")),!1;u.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let h=ke.bodyLength(l);if(d=h??d,d===null&&(d=e.contentLength),d===0&&!f&&(d=null),G4e(r)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[zF])return ke.errorRequest(t,e,new kh),!1;process.emitWarning(new kh)}let p=t[Oh];Pre(p);let m=o(E=>{e.aborted||e.completed||(ke.errorRequest(t,e,E||new Rre),ke.destroy(l),ke.destroy(p,new Qm("aborted")))},"abort");try{e.onConnect(m)}catch(E){ke.errorRequest(t,e,E)}if(e.aborted)return!1;r==="HEAD"&&(p[ys]=!0),(s||r==="CONNECT")&&(p[ys]=!0),c!=null&&(p[ys]=c),t[Bre]&&p[k4e]++>=t[Bre]&&(p[ys]=!0),a&&(p[wb]=!0);let g=`${r} ${n} HTTP/1.1\r
`;if(typeof i=="string"?g+=`host: ${i}\r
`:g+=t[N4e],s?g+=`connection: upgrade\r
upgrade: ${s}\r
`:t[uv]&&!p[ys]?g+=`connection: keep-alive\r
`:g+=`connection: close\r
`,Array.isArray(u))for(let E=0;E<u.length;E+=2){let y=u[E+0],C=u[E+1];if(Array.isArray(C))for(let w=0;w<C.length;w++)g+=`${y}: ${C[w]}\r
`;else g+=`${y}: ${C}\r
`}return wre.sendHeaders.hasSubscribers&&wre.sendHeaders.publish({request:e,headers:g,socket:p}),!l||h===0?_re(m,null,t,e,p,d,g,f):ke.isBuffer(l)?_re(m,l,t,e,p,d,g,f):ke.isBlobLike(l)?typeof l.stream=="function"?Tre(m,l.stream(),t,e,p,d,g,f):z4e(m,l,t,e,p,d,g,f):ke.isStream(l)?V4e(m,l,t,e,p,d,g,f):ke.isIterable(l)?Tre(m,l,t,e,p,d,g,f):Te(!1),!0}o(H4e,"writeH1");function V4e(t,e,r,n,i,s,a,c){Te(s!==0||r[An]===0,"stream body cannot be pipelined");let l=!1,u=new hv({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),d=o(function(m){if(!l)try{!u.write(m)&&this.pause&&this.pause()}catch(g){ke.destroy(this,g)}},"onData"),f=o(function(){l||e.resume&&e.resume()},"onDrain"),h=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let m=new Rre;queueMicrotask(()=>p(m))}},"onClose"),p=o(function(m){if(!l){if(l=!0,Te(i.destroyed||i[Md]&&r[An]<=1),i.off("drain",f).off("error",p),e.removeListener("data",d).removeListener("end",p).removeListener("close",h),!m)try{u.end()}catch(g){m=g}u.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?ke.destroy(e,m):ke.destroy(e)}},"onFinished");e.on("data",d).on("end",p).on("error",p).on("close",h),e.resume&&e.resume(),i.on("drain",f).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(h)}o(V4e,"writeStream");function _re(t,e,r,n,i,s,a,c){try{e?ke.isBuffer(e)&&(Te(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r
\r
`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[ys]=!0)):s===0?i.write(`${a}content-length: 0\r
\r
`,"latin1"):(Te(s===null,"no body must not have content length"),i.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[Su]()}catch(l){t(l)}}o(_re,"writeBuffer");async function z4e(t,e,r,n,i,s,a,c){Te(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new kh;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r
\r
`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[ys]=!0),r[Su]()}catch(l){t(l)}}o(z4e,"writeBlob");async function Tre(t,e,r,n,i,s,a,c){Te(s!==0||r[An]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let h=l;l=null,h()}}o(u,"onDrain");let d=o(()=>new Promise((h,p)=>{Te(l===null),i[Gi]?p(i[Gi]):l=h}),"waitForDrain");i.on("close",u).on("drain",u);let f=new hv({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let h of e){if(i[Gi])throw i[Gi];f.write(h)||await d()}f.end()}catch(h){f.destroy(h)}finally{i.off("close",u).off("drain",u)}}o(Tre,"writeIterable");var hv=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Md]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Gi])throw r[Gi];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(i!==null&&a+u>i){if(s[zF])throw new kh;process.emitWarning(new kh)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[ys]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${i}\r
\r
`,"latin1")),i===null&&r.write(`\r
${u.toString(16)}\r
`,"latin1"),this.bytesWritten+=u;let d=r.write(e);return r.uncork(),n.onBodySent(e),d||r[rr].timeout&&r[rr].timeoutType===km&&r[rr].timeout.refresh&&r[rr].timeout.refresh(),d}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[Md]=!1,e[Gi])throw e[Gi];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
`,"latin1"),r!==null&&i!==r){if(n[zF])throw new kh;process.emitWarning(new kh)}e[rr].timeout&&e[rr].timeoutType===km&&e[rr].timeout.refresh&&e[rr].timeout.refresh(),n[Su]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[Md]=!1,e&&(Te(n[An]<=1,"pipeline should only contain this request"),i(e))}};Ore.exports=M4e});var zre=A((zzt,Vre)=>{"use strict";var Fo=require("node:assert"),{pipeline:$4e}=require("node:stream"),At=at(),{RequestContentLengthMismatchError:YF,RequestAbortedError:Fre,SocketError:Ib,InformationalError:KF}=Rt(),{kUrl:pv,kReset:mv,kClient:Pm,kRunning:gv,kPending:j4e,kQueue:Ud,kPendingIdx:XF,kRunningIdx:Ua,kError:Ga,kSocket:Gn,kStrictContentLength:W4e,kOnError:ZF,kMaxConcurrentStreams:Hre,kHTTP2Session:qa,kResume:qd,kSize:J4e,kHTTPContext:Y4e}=mr(),Bu=Symbol("open streams"),Mre,Ure=!1,Av;try{Av=require("node:http2")}catch{Av={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:K4e,HTTP2_HEADER_METHOD:X4e,HTTP2_HEADER_PATH:Z4e,HTTP2_HEADER_SCHEME:eVe,HTTP2_HEADER_CONTENT_LENGTH:tVe,HTTP2_HEADER_EXPECT:rVe,HTTP2_HEADER_STATUS:nVe}}=Av;function iVe(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(iVe,"parseH2Headers");async function sVe(t,e){t[Gn]=e,Ure||(Ure=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Av.connect(t[pv],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[Hre]});r[Bu]=0,r[Pm]=t,r[Gn]=e,At.addListener(r,"error",aVe),At.addListener(r,"frameError",cVe),At.addListener(r,"end",lVe),At.addListener(r,"goaway",uVe),At.addListener(r,"close",function(){let{[Pm]:i}=this,{[Gn]:s}=i,a=this[Gn][Ga]||this[Ga]||new Ib("closed",At.getSocketInfo(s));if(i[qa]=null,i.destroyed){Fo(i[j4e]===0);let c=i[Ud].splice(i[Ua]);for(let l=0;l<c.length;l++){let u=c[l];At.errorRequest(i,u,a)}}}),r.unref(),t[qa]=r,e[qa]=r,At.addListener(e,"error",function(i){Fo(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ga]=i,this[Pm][ZF](i)}),At.addListener(e,"end",function(){At.destroy(this,new Ib("other side closed",At.getSocketInfo(this)))}),At.addListener(e,"close",function(){let i=this[Ga]||new Ib("closed",At.getSocketInfo(this));t[Gn]=null,this[qa]!=null&&this[qa].destroy(i),t[XF]=t[Ua],Fo(t[gv]===0),t.emit("disconnect",t[pv],[t],i),t[qd]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return fVe(t,...i)},resume(){oVe(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(sVe,"connectH2");function oVe(t){let e=t[Gn];e?.destroyed===!1&&(t[J4e]===0&&t[Hre]===0?(e.unref(),t[qa].unref()):(e.ref(),t[qa].ref()))}o(oVe,"resumeH2");function aVe(t){Fo(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gn][Ga]=t,this[Pm][ZF](t)}o(aVe,"onHttp2SessionError");function cVe(t,e,r){if(r===0){let n=new KF(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gn][Ga]=n,this[Pm][ZF](n)}}o(cVe,"onHttp2FrameError");function lVe(){let t=new Ib("other side closed",At.getSocketInfo(this[Gn]));this.destroy(t),At.destroy(this[Gn],t)}o(lVe,"onHttp2SessionEnd");function uVe(t){let e=this[Ga]||new Ib(`HTTP/2: "GOAWAY" frame received with code ${t}`,At.getSocketInfo(this)),r=this[Pm];if(r[Gn]=null,r[Y4e]=null,this[qa]!=null&&(this[qa].destroy(e),this[qa]=null),At.destroy(this[Gn],e),r[Ua]<r[Ud].length){let n=r[Ud][r[Ua]];r[Ud][r[Ua]++]=null,At.errorRequest(r,n,e),r[XF]=r[Ua]}Fo(r[gv]===0),r.emit("disconnect",r[pv],[r],e),r[qd]()}o(uVe,"onHTTP2GoAway");function dVe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(dVe,"shouldSendContentLength");function fVe(t,e){let r=t[qa],{method:n,path:i,host:s,upgrade:a,expectContinue:c,signal:l,headers:u}=e,{body:d}=e;if(a)return At.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let f={};for(let B=0;B<u.length;B+=2){let Q=u[B+0],q=u[B+1];if(Array.isArray(q))for(let v=0;v<q.length;v++)f[Q]?f[Q]+=`,${q[v]}`:f[Q]=q[v];else f[Q]=q}let h,{hostname:p,port:m}=t[pv];f[K4e]=s||`${p}${m?`:${m}`:""}`,f[X4e]=n;let g=o(B=>{e.aborted||e.completed||(B=B||new Fre,At.errorRequest(t,e,B),h!=null&&At.destroy(h,B),At.destroy(d,B),t[Ud][t[Ua]++]=null,t[qd]())},"abort");try{e.onConnect(g)}catch(B){At.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),h=r.request(f,{endStream:!1,signal:l}),h.id&&!h.pending?(e.onUpgrade(null,null,h),++r[Bu],t[Ud][t[Ua]++]=null):h.once("ready",()=>{e.onUpgrade(null,null,h),++r[Bu],t[Ud][t[Ua]++]=null}),h.once("close",()=>{r[Bu]-=1,r[Bu]===0&&r.unref()}),!0;f[Z4e]=i,f[eVe]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";d&&typeof d.read=="function"&&d.read(0);let y=At.bodyLength(d);if(At.isFormDataLike(d)){Mre??=Rm().extractBody;let[B,Q]=Mre(d);f["content-type"]=Q,d=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),dVe(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[W4e])return At.errorRequest(t,e,new YF),!1;process.emitWarning(new YF)}y!=null&&(Fo(d,"no body must not have content length"),f[tVe]=`${y}`),r.ref();let C=n==="GET"||n==="HEAD"||d===null;return c?(f[rVe]="100-continue",h=r.request(f,{endStream:C,signal:l}),h.once("continue",w)):(h=r.request(f,{endStream:C,signal:l}),w()),++r[Bu],h.once("response",B=>{let{[nVe]:Q,...q}=B;if(e.onResponseStarted(),e.aborted){let v=new Fre;At.errorRequest(t,e,v),At.destroy(h,v);return}e.onHeaders(Number(Q),iVe(q),h.resume.bind(h),"")===!1&&h.pause(),h.on("data",v=>{e.onData(v)===!1&&h.pause()})}),h.once("end",()=>{(h.state?.state==null||h.state.state<6)&&e.onComplete([]),r[Bu]===0&&r.unref(),g(new KF("HTTP/2: stream half-closed (remote)")),t[Ud][t[Ua]++]=null,t[XF]=t[Ua],t[qd]()}),h.once("close",()=>{r[Bu]-=1,r[Bu]===0&&r.unref()}),h.once("error",function(B){g(B)}),h.once("frameError",(B,Q)=>{g(new KF(`HTTP/2: "frameError" received - type ${B}, code ${Q}`))}),!0;function w(){!d||y===0?qre(g,h,null,t,e,t[Gn],y,E):At.isBuffer(d)?qre(g,h,d,t,e,t[Gn],y,E):At.isBlobLike(d)?typeof d.stream=="function"?Gre(g,h,d.stream(),t,e,t[Gn],y,E):pVe(g,h,d,t,e,t[Gn],y,E):At.isStream(d)?hVe(g,t[Gn],E,h,d,t,e,y):At.isIterable(d)?Gre(g,h,d,t,e,t[Gn],y,E):Fo(!1)}o(w,"writeBodyH2")}o(fVe,"writeH2");function qre(t,e,r,n,i,s,a,c){try{r!=null&&At.isBuffer(r)&&(Fo(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[mv]=!0),i.onRequestSent(),n[qd]()}catch(l){t(l)}}o(qre,"writeBuffer");function hVe(t,e,r,n,i,s,a,c){Fo(c!==0||s[gv]===0,"stream body cannot be pipelined");let l=$4e(i,n,d=>{d?(At.destroy(l,d),t(d)):(At.removeAllListeners(l),a.onRequestSent(),r||(e[mv]=!0),s[qd]())});At.addListener(l,"data",u);function u(d){a.onBodySent(d)}o(u,"onPipeData")}o(hVe,"writeStream");async function pVe(t,e,r,n,i,s,a,c){Fo(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new YF;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[mv]=!0),n[qd]()}catch(l){t(l)}}o(pVe,"writeBlob");async function Gre(t,e,r,n,i,s,a,c){Fo(a!==0||n[gv]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let f=l;l=null,f()}}o(u,"onDrain");let d=o(()=>new Promise((f,h)=>{Fo(l===null),s[Ga]?h(s[Ga]):l=f}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let f of r){if(s[Ga])throw s[Ga];let h=e.write(f);i.onBodySent(f),h||await d()}e.end(),i.onRequestSent(),c||(s[mv]=!0),n[qd]()}catch(f){t(f)}finally{e.off("close",u).off("drain",u)}}o(Gre,"writeIterable");Vre.exports=sVe});var Ev=A((jzt,Wre)=>{"use strict";var Qc=at(),{kBodyUsed:Sb}=mr(),tM=require("node:assert"),{InvalidArgumentError:AVe}=Rt(),mVe=require("node:events"),gVe=[300,301,302,303,307,308],$re=Symbol("body"),yv=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[$re]=e,this[Sb]=!1}async*[Symbol.asyncIterator](){tM(!this[Sb],"disturbed"),this[Sb]=!0,yield*this[$re]}},eM=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new AVe("maxRedirections must be a positive number");Qc.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,Qc.isStream(this.opts.body)?(Qc.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){tM(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Sb]=!1,mVe.prototype.on.call(this.opts.body,"data",function(){this[Sb]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new yv(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Qc.isIterable(this.opts.body)&&(this.opts.body=new yv(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||Qc.isDisturbed(this.opts.body)?null:yVe(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:a,search:c}=Qc.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=EVe(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function yVe(t,e){if(gVe.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&Qc.headerNameToString(e[r])==="location")return e[r+1]}o(yVe,"parseLocation");function jre(t,e,r){if(t.length===4)return Qc.headerNameToString(t)==="host";if(e&&Qc.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=Qc.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(jre,"shouldRemoveHeader");function EVe(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)jre(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))jre(i,e,r)||n.push(i,t[i]);else tM(t==null,"headers must be an object or an array");return n}o(EVe,"cleanRequestHeaders");Wre.exports=eM});var Cv=A((Jzt,Jre)=>{"use strict";var CVe=Ev();function bVe({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new CVe(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(bVe,"createRedirectInterceptor");Jre.exports=bVe});var Fm=A((Kzt,sne)=>{"use strict";var xu=require("node:assert"),tne=require("node:net"),wVe=require("node:http"),Fh=at(),{channels:Om}=ym(),IVe=ste(),SVe=wm(),{InvalidArgumentError:Yr,InformationalError:BVe,ClientDestroyedError:xVe}=Rt(),vVe=db(),{kUrl:kc,kServerName:Gd,kClient:NVe,kBusy:rM,kConnect:_Ve,kResuming:Mh,kRunning:_b,kPending:Tb,kSize:Nb,kQueue:Ha,kConnected:TVe,kConnecting:Lm,kNeedDrain:Vd,kKeepAliveDefaultTimeout:Yre,kHostHeader:RVe,kPendingIdx:Va,kRunningIdx:vu,kError:DVe,kPipelining:bv,kKeepAliveTimeoutValue:QVe,kMaxHeadersSize:kVe,kKeepAliveMaxTimeout:PVe,kKeepAliveTimeoutThreshold:OVe,kHeadersTimeout:LVe,kBodyTimeout:FVe,kStrictContentLength:MVe,kConnector:Bb,kMaxRedirections:UVe,kMaxRequests:nM,kCounter:qVe,kClose:GVe,kDestroy:HVe,kDispatch:VVe,kInterceptors:Kre,kLocalAddress:xb,kMaxResponseSize:zVe,kOnError:$Ve,kHTTPContext:Kr,kMaxConcurrentStreams:jVe,kResume:vb}=mr(),WVe=Lre(),JVe=zre(),Xre=!1,Hd=Symbol("kClosedResolve"),Zre=o(()=>{},"noop");function rne(t){return t[bv]??t[Kr]?.defaultPipelining??1}o(rne,"getPipelining");var iM=class extends SVe{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:d,keepAliveTimeout:f,maxKeepAliveTimeout:h,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:m,socketPath:g,pipelining:E,tls:y,strictContentLength:C,maxCachedSessions:w,maxRedirections:B,connect:Q,maxRequestsPerClient:q,localAddress:v,maxResponseSize:$,autoSelectFamily:R,autoSelectFamilyAttemptTimeout:H,maxConcurrentStreams:V,allowH2:J,webSocket:ee}={}){if(super({webSocket:ee}),d!==void 0)throw new Yr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Yr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Yr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new Yr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new Yr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Yr("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new Yr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Yr("invalid connectTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Yr("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new Yr("invalid keepAliveMaxTimeout");if(m!=null&&!Number.isFinite(m))throw new Yr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Yr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Yr("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new Yr("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new Yr("maxRedirections must be a positive number");if(q!=null&&(!Number.isInteger(q)||q<0))throw new Yr("maxRequestsPerClient must be a positive number");if(v!=null&&(typeof v!="string"||tne.isIP(v)===0))throw new Yr("localAddress must be valid string IP address");if($!=null&&(!Number.isInteger($)||$<-1))throw new Yr("maxResponseSize must be a positive number");if(H!=null&&(!Number.isInteger(H)||H<-1))throw new Yr("autoSelectFamilyAttemptTimeout must be a positive number");if(J!=null&&typeof J!="boolean")throw new Yr("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new Yr("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=vVe({...y,maxCachedSessions:w,allowH2:J,socketPath:g,timeout:c,...R?{autoSelectFamily:R,autoSelectFamilyAttemptTimeout:H}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[Kre]=r.Client,Xre||(Xre=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[Kre]=[YVe({maxRedirections:B})],this[kc]=Fh.parseOrigin(e),this[Bb]=Q,this[bv]=E??1,this[kVe]=n||wVe.maxHeaderSize,this[Yre]=f??4e3,this[PVe]=p??6e5,this[OVe]=m??2e3,this[QVe]=this[Yre],this[Gd]=null,this[xb]=v??null,this[Mh]=0,this[Vd]=0,this[RVe]=`host: ${this[kc].hostname}${this[kc].port?`:${this[kc].port}`:""}\r
`,this[FVe]=l??3e5,this[LVe]=i??3e5,this[MVe]=C??!0,this[UVe]=B,this[nM]=q,this[Hd]=null,this[zVe]=$>-1?$:-1,this[jVe]=V??100,this[Kr]=null,this[Ha]=[],this[vu]=0,this[Va]=0,this[vb]=ae=>sM(this,ae),this[$Ve]=ae=>nne(this,ae)}get pipelining(){return this[bv]}set pipelining(e){this[bv]=e,this[vb](!0)}get[Tb](){return this[Ha].length-this[Va]}get[_b](){return this[Va]-this[vu]}get[Nb](){return this[Ha].length-this[vu]}get[TVe](){return!!this[Kr]&&!this[Lm]&&!this[Kr].destroyed}get[rM](){return!!(this[Kr]?.busy(null)||this[Nb]>=(rne(this)||1)||this[Tb]>0)}[_Ve](e){ine(this),this.once("connect",e)}[VVe](e,r){let n=e.origin||this[kc].origin,i=new IVe(n,e,r);return this[Ha].push(i),this[Mh]||(Fh.bodyLength(i.body)==null&&Fh.isIterable(i.body)?(this[Mh]=1,queueMicrotask(()=>sM(this))):this[vb](!0)),this[Mh]&&this[Vd]!==2&&this[rM]&&(this[Vd]=2),this[Vd]<2}async[GVe](){return new Promise(e=>{this[Nb]?this[Hd]=e:e(null)})}async[HVe](e){return new Promise(r=>{let n=this[Ha].splice(this[Va]);for(let s=0;s<n.length;s++){let a=n[s];Fh.errorRequest(this,a,e)}let i=o(()=>{this[Hd]&&(this[Hd](),this[Hd]=null),r(null)},"callback");this[Kr]?(this[Kr].destroy(e,i),this[Kr]=null):queueMicrotask(i),this[vb]()})}},YVe=Cv();function nne(t,e){if(t[_b]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){xu(t[Va]===t[vu]);let r=t[Ha].splice(t[vu]);for(let n=0;n<r.length;n++){let i=r[n];Fh.errorRequest(t,i,e)}xu(t[Nb]===0)}}o(nne,"onError");async function ine(t){xu(!t[Lm]),xu(!t[Kr]);let{host:e,hostname:r,protocol:n,port:i}=t[kc];if(r[0]==="["){let s=r.indexOf("]");xu(s!==-1);let a=r.substring(1,s);xu(tne.isIP(a)),r=a}t[Lm]=!0,Om.beforeConnect.hasSubscribers&&Om.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[xb]},connector:t[Bb]});try{let s=await new Promise((a,c)=>{t[Bb]({host:e,hostname:r,protocol:n,port:i,servername:t[Gd],localAddress:t[xb]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Fh.destroy(s.on("error",Zre),new xVe);return}xu(s);try{t[Kr]=s.alpnProtocol==="h2"?await JVe(t,s):await WVe(t,s)}catch(a){throw s.destroy().on("error",Zre),a}t[Lm]=!1,s[qVe]=0,s[nM]=t[nM],s[NVe]=t,s[DVe]=null,Om.connected.hasSubscribers&&Om.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[xb]},connector:t[Bb],socket:s}),t.emit("connect",t[kc],[t])}catch(s){if(t.destroyed)return;if(t[Lm]=!1,Om.connectError.hasSubscribers&&Om.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[xb]},connector:t[Bb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(xu(t[_b]===0);t[Tb]>0&&t[Ha][t[Va]].servername===t[Gd];){let a=t[Ha][t[Va]++];Fh.errorRequest(t,a,s)}else nne(t,s);t.emit("connectionError",t[kc],[t],s)}t[vb]()}o(ine,"connect");function ene(t){t[Vd]=0,t.emit("drain",t[kc],[t])}o(ene,"emitDrain");function sM(t,e){t[Mh]!==2&&(t[Mh]=2,KVe(t,e),t[Mh]=0,t[vu]>256&&(t[Ha].splice(0,t[vu]),t[Va]-=t[vu],t[vu]=0))}o(sM,"resume");function KVe(t,e){for(;;){if(t.destroyed){xu(t[Tb]===0);return}if(t[Hd]&&!t[Nb]){t[Hd](),t[Hd]=null;return}if(t[Kr]&&t[Kr].resume(),t[rM])t[Vd]=2;else if(t[Vd]===2){e?(t[Vd]=1,queueMicrotask(()=>ene(t))):ene(t);continue}if(t[Tb]===0||t[_b]>=(rne(t)||1))return;let r=t[Ha][t[Va]];if(t[kc].protocol==="https:"&&t[Gd]!==r.servername){if(t[_b]>0)return;t[Gd]=r.servername,t[Kr]?.destroy(new BVe("servername changed"),()=>{t[Kr]=null,sM(t)})}if(t[Lm])return;if(!t[Kr]){ine(t);return}if(t[Kr].destroyed||t[Kr].busy(r))return;!r.aborted&&t[Kr].write(r)?t[Va]++:t[Ha].splice(t[Va],1)}}o(KVe,"_resume");sne.exports=iM});var oM=A((e$t,one)=>{"use strict";var wv=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};one.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new wv}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new wv),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var cne=A((r$t,ane)=>{var{kFree:XVe,kConnected:ZVe,kPending:e5e,kQueued:t5e,kRunning:r5e,kSize:n5e}=mr(),Uh=Symbol("pool"),aM=class{static{o(this,"PoolStats")}constructor(e){this[Uh]=e}get connected(){return this[Uh][ZVe]}get free(){return this[Uh][XVe]}get pending(){return this[Uh][e5e]}get queued(){return this[Uh][t5e]}get running(){return this[Uh][r5e]}get size(){return this[Uh][n5e]}};ane.exports=aM});var hM=A((i$t,yne)=>{"use strict";var i5e=wm(),s5e=oM(),{kConnected:cM,kSize:lne,kRunning:une,kPending:dne,kQueued:Rb,kBusy:o5e,kFree:a5e,kUrl:c5e,kClose:l5e,kDestroy:u5e,kDispatch:d5e}=mr(),f5e=cne(),Es=Symbol("clients"),Hi=Symbol("needDrain"),Db=Symbol("queue"),lM=Symbol("closed resolve"),uM=Symbol("onDrain"),fne=Symbol("onConnect"),hne=Symbol("onDisconnect"),pne=Symbol("onConnectionError"),dM=Symbol("get dispatcher"),mne=Symbol("add client"),gne=Symbol("remove client"),Ane=Symbol("stats"),fM=class extends i5e{static{o(this,"PoolBase")}constructor(e){super(e),this[Db]=new s5e,this[Es]=[],this[Rb]=0;let r=this;this[uM]=o(function(i,s){let a=r[Db],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[Rb]--,c=!this.dispatch(l.opts,l.handler)}this[Hi]=c,!this[Hi]&&r[Hi]&&(r[Hi]=!1,r.emit("drain",i,[r,...s])),r[lM]&&a.isEmpty()&&Promise.all(r[Es].map(l=>l.close())).then(r[lM])},"onDrain"),this[fne]=(n,i)=>{r.emit("connect",n,[r,...i])},this[hne]=(n,i,s)=>{r.emit("disconnect",n,[r,...i],s)},this[pne]=(n,i,s)=>{r.emit("connectionError",n,[r,...i],s)},this[Ane]=new f5e(this)}get[o5e](){return this[Hi]}get[cM](){return this[Es].filter(e=>e[cM]).length}get[a5e](){return this[Es].filter(e=>e[cM]&&!e[Hi]).length}get[dne](){let e=this[Rb];for(let{[dne]:r}of this[Es])e+=r;return e}get[une](){let e=0;for(let{[une]:r}of this[Es])e+=r;return e}get[lne](){let e=this[Rb];for(let{[lne]:r}of this[Es])e+=r;return e}get stats(){return this[Ane]}async[l5e](){this[Db].isEmpty()?await Promise.all(this[Es].map(e=>e.close())):await new Promise(e=>{this[lM]=e})}async[u5e](e){for(;;){let r=this[Db].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Es].map(r=>r.destroy(e)))}[d5e](e,r){let n=this[dM]();return n?n.dispatch(e,r)||(n[Hi]=!0,this[Hi]=!this[dM]()):(this[Hi]=!0,this[Db].push({opts:e,handler:r}),this[Rb]++),!this[Hi]}[mne](e){return e.on("drain",this[uM]).on("connect",this[fne]).on("disconnect",this[hne]).on("connectionError",this[pne]),this[Es].push(e),this[Hi]&&queueMicrotask(()=>{this[Hi]&&this[uM](e[c5e],[this,e])}),this}[gne](e){e.close(()=>{let r=this[Es].indexOf(e);r!==-1&&this[Es].splice(r,1)}),this[Hi]=this[Es].some(r=>!r[Hi]&&r.closed!==!0&&r.destroyed!==!0)}};yne.exports={PoolBase:fM,kClients:Es,kNeedDrain:Hi,kAddClient:mne,kRemoveClient:gne,kGetDispatcher:dM}});var Mm=A((o$t,wne)=>{"use strict";var{PoolBase:h5e,kClients:Iv,kNeedDrain:p5e,kAddClient:A5e,kGetDispatcher:m5e}=hM(),g5e=Fm(),{InvalidArgumentError:pM}=Rt(),Ene=at(),{kUrl:Cne,kInterceptors:y5e}=mr(),E5e=db(),AM=Symbol("options"),mM=Symbol("connections"),bne=Symbol("factory");function C5e(t,e){return new g5e(t,e)}o(C5e,"defaultFactory");var gM=class extends h5e{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=C5e,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d,allowH2:f,...h}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new pM("invalid connections");if(typeof n!="function")throw new pM("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new pM("connect must be a function or an object");typeof i!="function"&&(i=E5e({...a,maxCachedSessions:c,allowH2:f,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d}:void 0,...i})),super(h),this[y5e]=h.interceptors?.Pool&&Array.isArray(h.interceptors.Pool)?h.interceptors.Pool:[],this[mM]=r||null,this[Cne]=Ene.parseOrigin(e),this[AM]={...Ene.deepClone(h),connect:i,allowH2:f},this[AM].interceptors=h.interceptors?{...h.interceptors}:void 0,this[bne]=n,this.on("connectionError",(p,m,g)=>{for(let E of m){let y=this[Iv].indexOf(E);y!==-1&&this[Iv].splice(y,1)}})}[m5e](){for(let e of this[Iv])if(!e[p5e])return e;if(!this[mM]||this[Iv].length<this[mM]){let e=this[bne](this[Cne],this[AM]);return this[A5e](e),e}}};wne.exports=gM});var vne=A((c$t,xne)=>{"use strict";var{BalancedPoolMissingUpstreamError:b5e,InvalidArgumentError:w5e}=Rt(),{PoolBase:I5e,kClients:Si,kNeedDrain:Qb,kAddClient:S5e,kRemoveClient:B5e,kGetDispatcher:x5e}=hM(),v5e=Mm(),{kUrl:yM,kInterceptors:N5e}=mr(),{parseOrigin:Ine}=at(),Sne=Symbol("factory"),Sv=Symbol("options"),Bne=Symbol("kGreatestCommonDivisor"),qh=Symbol("kCurrentWeight"),Gh=Symbol("kIndex"),Mo=Symbol("kWeight"),Bv=Symbol("kMaxWeightPerServer"),xv=Symbol("kErrorPenalty");function _5e(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(_5e,"getGreatestCommonDivisor");function T5e(t,e){return new v5e(t,e)}o(T5e,"defaultFactory");var EM=class extends I5e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=T5e,...n}={}){if(super(),this[Sv]=n,this[Gh]=-1,this[qh]=0,this[Bv]=this[Sv].maxWeightPerServer||100,this[xv]=this[Sv].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new w5e("factory must be a function.");this[N5e]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Sne]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=Ine(e).origin;if(this[Si].find(i=>i[yM].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Sne](r,Object.assign({},this[Sv]));this[S5e](n),n.on("connect",()=>{n[Mo]=Math.min(this[Bv],n[Mo]+this[xv])}),n.on("connectionError",()=>{n[Mo]=Math.max(1,n[Mo]-this[xv]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Mo]=Math.max(1,n[Mo]-this[xv]),this._updateBalancedPoolStats())});for(let i of this[Si])i[Mo]=this[Bv];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Si].length;r++)e=_5e(this[Si][r][Mo],e);this[Bne]=e}removeUpstream(e){let r=Ine(e).origin,n=this[Si].find(i=>i[yM].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[B5e](n),this}get upstreams(){return this[Si].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[yM].origin)}[x5e](){if(this[Si].length===0)throw new b5e;if(!this[Si].find(s=>!s[Qb]&&s.closed!==!0&&s.destroyed!==!0)||this[Si].map(s=>s[Qb]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[Si].findIndex(s=>!s[Qb]);for(;n++<this[Si].length;){this[Gh]=(this[Gh]+1)%this[Si].length;let s=this[Si][this[Gh]];if(s[Mo]>this[Si][i][Mo]&&!s[Qb]&&(i=this[Gh]),this[Gh]===0&&(this[qh]=this[qh]-this[Bne],this[qh]<=0&&(this[qh]=this[Bv])),s[Mo]>=this[qh]&&!s[Qb])return s}return this[qh]=this[Si][i][Mo],this[Gh]=i,this[Si][i]}};xne.exports=EM});var Um=A((u$t,kne)=>{"use strict";var{InvalidArgumentError:vv}=Rt(),{kClients:zd,kRunning:Nne,kClose:R5e,kDestroy:D5e,kDispatch:Q5e,kInterceptors:k5e}=mr(),P5e=wm(),O5e=Mm(),L5e=Fm(),F5e=at(),M5e=Cv(),_ne=Symbol("onConnect"),Tne=Symbol("onDisconnect"),Rne=Symbol("onConnectionError"),U5e=Symbol("maxRedirections"),Dne=Symbol("onDrain"),Qne=Symbol("factory"),CM=Symbol("options");function q5e(t,e){return e&&e.connections===1?new L5e(t,e):new O5e(t,e)}o(q5e,"defaultFactory");var bM=class extends P5e{static{o(this,"Agent")}constructor({factory:e=q5e,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new vv("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new vv("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new vv("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),this[k5e]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[M5e({maxRedirections:r})],this[CM]={...F5e.deepClone(i),connect:n},this[CM].interceptors=i.interceptors?{...i.interceptors}:void 0,this[U5e]=r,this[Qne]=e,this[zd]=new Map,this[Dne]=(s,a)=>{this.emit("drain",s,[this,...a])},this[_ne]=(s,a)=>{this.emit("connect",s,[this,...a])},this[Tne]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[Rne]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[Nne](){let e=0;for(let r of this[zd].values())e+=r[Nne];return e}[Q5e](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new vv("opts.origin must be a non-empty string or URL.");let i=this[zd].get(n);return i||(i=this[Qne](e.origin,this[CM]).on("drain",this[Dne]).on("connect",this[_ne]).on("disconnect",this[Tne]).on("connectionError",this[Rne]),this[zd].set(n,i)),i.dispatch(e,r)}async[R5e](){let e=[];for(let r of this[zd].values())e.push(r.close());this[zd].clear(),await Promise.all(e)}async[D5e](e){let r=[];for(let n of this[zd].values())r.push(n.destroy(e));this[zd].clear(),await Promise.all(r)}};kne.exports=bM});var xM=A((f$t,zne)=>{"use strict";var{kProxy:wM,kClose:Une,kDestroy:qne,kDispatch:Pne,kInterceptors:G5e}=mr(),{URL:Hh}=require("node:url"),H5e=Um(),Gne=Mm(),Hne=wm(),{InvalidArgumentError:qm,RequestAbortedError:V5e,SecureProxyConnectionError:z5e}=Rt(),One=db(),Vne=Fm(),Nv=Symbol("proxy agent"),_v=Symbol("proxy client"),$d=Symbol("proxy headers"),IM=Symbol("request tls settings"),Lne=Symbol("proxy tls settings"),Fne=Symbol("connect endpoint function"),Mne=Symbol("tunnel proxy");function $5e(t){return t==="https:"?443:80}o($5e,"defaultProtocolPort");function j5e(t,e){return new Gne(t,e)}o(j5e,"defaultFactory");var W5e=o(()=>{},"noop");function J5e(t,e){return e.connections===1?new Vne(t,e):new Gne(t,e)}o(J5e,"defaultAgentFactory");var SM=class extends Hne{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new qm("Proxy URL is mandatory");this[$d]=r,i?this.#e=i(e,{connect:n}):this.#e=new Vne(e,{connect:n})}[Pne](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new qm("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,u)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new Hh(i);a.host=c}return e.headers={...this[$d],...a},this.#e[Pne](e,r)}async[Une](){return this.#e.close()}async[qne](e){return this.#e.destroy(e)}},BM=class extends Hne{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Hh)&&!e.uri)throw new qm("Proxy uri is mandatory");let{clientFactory:r=j5e}=e;if(typeof r!="function")throw new qm("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:u,password:d,hostname:f}=i;if(this[wM]={uri:s,protocol:l},this[G5e]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[IM]=e.requestTls,this[Lne]=e.proxyTls,this[$d]=e.headers||{},this[Mne]=n,e.auth&&e.token)throw new qm("opts.auth cannot be used in combination with opts.token");e.auth?this[$d]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[$d]["proxy-authorization"]=e.token:u&&d&&(this[$d]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(d)}`).toString("base64")}`);let h=One({...e.proxyTls});this[Fne]=One({...e.requestTls});let p=e.factory||J5e,m=o((g,E)=>{let{protocol:y}=new Hh(g);return!this[Mne]&&y==="http:"&&this[wM].protocol==="http:"?new SM(this[wM].uri,{headers:this[$d],connect:h,factory:p}):p(g,E)},"factory");this[_v]=r(i,{connect:h}),this[Nv]=new H5e({...e,factory:m,connect:o(async(g,E)=>{let y=g.host;g.port||(y+=`:${$5e(g.protocol)}`);try{let{socket:C,statusCode:w}=await this[_v].connect({origin:a,port:c,path:y,signal:g.signal,headers:{...this[$d],host:g.host},servername:this[Lne]?.servername||f});if(w!==200&&(C.on("error",W5e).destroy(),E(new V5e(`Proxy response (${w}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){E(null,C);return}let B;this[IM]?B=this[IM].servername:B=g.servername,this[Fne]({...g,servername:B,httpSocket:C},E)}catch(C){C.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new z5e(C)):E(C)}},"connect")})}dispatch(e,r){let n=Y5e(e.headers);if(K5e(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new Hh(e.origin);n.host=i}return this[Nv].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Hh(e):e instanceof Hh?e:new Hh(e.uri)}async[Une](){await this[Nv].close(),await this[_v].close()}async[qne](){await this[Nv].destroy(),await this[_v].destroy()}};function Y5e(t){if(Array.isArray(t)){let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}return t}o(Y5e,"buildHeaders");function K5e(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new qm("Proxy-Authorization should be sent in ProxyAgent constructor")}o(K5e,"throwIfProxyAuthIsSent");zne.exports=BM});var Kne=A((p$t,Yne)=>{"use strict";var X5e=wm(),{kClose:Z5e,kDestroy:eze,kClosed:$ne,kDestroyed:jne,kDispatch:tze,kNoProxyAgent:kb,kHttpProxyAgent:jd,kHttpsProxyAgent:Vh}=mr(),Wne=xM(),rze=Um(),nze={"http:":80,"https:":443},Jne=!1,vM=class extends X5e{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,Jne||(Jne=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[kb]=new rze(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[jd]=new Wne({...s,uri:a}):this[jd]=this[kb];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Vh]=new Wne({...s,uri:c}):this[Vh]=this[jd],this.#s()}[tze](e,r){let n=new URL(e.origin);return this.#r(n).dispatch(e,r)}async[Z5e](){await this[kb].close(),this[jd][$ne]||await this[jd].close(),this[Vh][$ne]||await this[Vh].close()}async[eze](e){await this[kb].destroy(e),this[jd][jne]||await this[jd].destroy(e),this[Vh][jne]||await this[Vh].destroy(e)}#r(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||nze[r]||0,this.#i(n,i)?r==="https:"?this[Vh]:this[jd]:this[kb]}#i(e,r){if(this.#l&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n<this.#t.length;n++){let i=this.#t[n];if(!(i.port&&i.port!==r)){if(/^[.*]/.test(i.hostname)){if(e.endsWith(i.hostname.replace(/^\*/,"")))return!1}else if(e===i.hostname)return!1}}return!0}#s(){let e=this.#n.noProxy??this.#a,r=e.split(/[,\s]/),n=[];for(let i=0;i<r.length;i++){let s=r[i];if(!s)continue;let a=s.match(/^(.+):(\d+)$/);n.push({hostname:(a?a[1]:s).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=n}get#l(){return this.#n.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};Yne.exports=vM});var Tv=A((m$t,rie)=>{"use strict";var Gm=require("node:assert"),{kRetryHandlerDefaultRetry:Xne}=mr(),{RequestRetryError:Hm}=Rt(),{isDisturbed:Zne,parseHeaders:ize,parseRangeHeader:eie,wrapRequestBody:sze}=at();function oze(t){let e=Date.now();return new Date(t).getTime()-e}o(oze,"calculateRetryAfterHeader");function tie(t,e,r,n){let i=t["content-length"];if(i==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let s=Number(i),a=e.end-e.start+1;return!Number.isFinite(s)||s!==a?new Hm("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(tie,"validatePartialResponseContentLength");var NM=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:d,errorCodes:f,retryAfter:h,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:sze(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[Xne],retryAfter:h??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:d??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:f??["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,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[Xne](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:u}=n,{maxRetries:d,minTimeout:f,maxTimeout:h,timeoutFactor:p,statusCodes:m,errorCodes:g,methods:E}=u,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!g.includes(a)){i(e);return}if(Array.isArray(E)&&!E.includes(l)){i(e);return}if(s!=null&&Array.isArray(m)&&!m.includes(s)){i(e);return}if(y>d){i(e);return}let C=c?.["retry-after"];C&&(C=Number(C),C=Number.isNaN(C)?oze(C):C*1e3);let w=C>0?Math.min(C,h):Math.min(f*p**(y-1),h);setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=ize(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new Hm("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Hm("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=eie(s["content-range"]);if(!c)return this.abort(new Hm("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Hm("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let l=tie(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;return Gm(this.start===u,"content-range mismatch"),Gm(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=eie(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let l=tie(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;Gm(u!=null&&Number.isFinite(u),"content-range mismatch"),Gm(f!=null&&Number.isFinite(f),"invalid content-length"),this.start=u,this.end=f}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return Gm(Number.isFinite(this.start)),Gm(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new Hm("Request failed",e,{headers:s,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||Zne(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||Zne(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};rie.exports=NM});var iie=A((y$t,nie)=>{"use strict";var aze=lb(),cze=Tv(),_M=class extends aze{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new cze({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};nie.exports=_M});var PM=A((C$t,hie)=>{"use strict";var lie=require("node:assert"),{Readable:lze}=require("node:stream"),{RequestAbortedError:uie,NotSupportedError:uze,InvalidArgumentError:dze,AbortError:TM}=Rt(),die=at(),{ReadableStreamFrom:fze}=at(),Js=Symbol("kConsume"),Pb=Symbol("kReading"),Wd=Symbol("kBody"),sie=Symbol("kAbort"),fie=Symbol("kContentType"),oie=Symbol("kContentLength"),hze=o(()=>{},"noop"),RM=class extends lze{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[sie]=r,this[Js]=null,this[Wd]=null,this[fie]=n,this[oie]=i,this[Pb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new uie),e&&this[sie](),super.destroy(e)}_destroy(e,r){this[Pb]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[Pb]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[Pb]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Js]&&e!==null?(QM(this[Js],e),this[Pb]?super.push(e):!0):super.push(e)}async text(){return Ob(this,"text")}async json(){return Ob(this,"json")}async blob(){return Ob(this,"blob")}async bytes(){return Ob(this,"bytes")}async arrayBuffer(){return Ob(this,"arrayBuffer")}async formData(){throw new uze}get bodyUsed(){return die.isDisturbed(this)}get body(){return this[Wd]||(this[Wd]=fze(this),this[Js]&&(this[Wd].getReader(),lie(this[Wd].locked))),this[Wd]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new dze("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[oie]>r&&this.destroy(new TM);let a=o(()=>{this.destroy(n.reason??new TM)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new TM):i(null)}).on("error",hze).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function pze(t){return t[Wd]&&t[Wd].locked===!0||t[Js]}o(pze,"isLocked");function Aze(t){return die.isDisturbed(t)||pze(t)}o(Aze,"isUnusable");async function Ob(t,e){return lie(!t[Js]),new Promise((r,n)=>{if(Aze(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Js]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){kM(this[Js],i)}).on("close",function(){this[Js].body!==null&&kM(this[Js],new uie)}),mze(t[Js])})})}o(Ob,"consume");function mze(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i<n;i++)QM(t,e.buffer[i])}else for(let r of e.buffer)QM(t,r);for(e.endEmitted?cie(this[Js]):t.stream.on("end",function(){cie(this[Js])}),t.stream.resume();t.stream.read()!=null;);}o(mze,"consumeStart");function DM(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),n=r.length,i=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(DM,"chunksDecode");function aie(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i<t.length;++i){let s=t[i];r.set(s,n),n+=s.length}return r}o(aie,"chunksConcat");function cie(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{e==="text"?n(DM(r,s)):e==="json"?n(JSON.parse(DM(r,s))):e==="arrayBuffer"?n(aie(r,s).buffer):e==="blob"?n(new Blob(r,{type:i[fie]})):e==="bytes"&&n(aie(r,s)),kM(t)}catch(a){i.destroy(a)}}o(cie,"consumeEnd");function QM(t,e){t.length+=e.length,t.body.push(e)}o(QM,"consumePush");function kM(t,e){t.body!==null&&(e?t.reject(e):t.resolve(),t.type=null,t.stream=null,t.resolve=null,t.reject=null,t.length=0,t.body=null)}o(kM,"consumeFinish");hie.exports={Readable:RM,chunksDecode:DM}});var OM=A((w$t,yie)=>{var gze=require("node:assert"),{ResponseStatusCodeError:pie}=Rt(),{chunksDecode:Aie}=PM(),yze=128*1024;async function Eze({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){gze(e);let a=[],c=0;try{for await(let f of e)if(a.push(f),c+=f.length,c>yze){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new pie(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let d;try{mie(r)?d=JSON.parse(Aie(a,c)):gie(r)&&(d=Aie(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new pie(l,n,s,d)))}o(Eze,"getResolveErrorBodyCallback");var mie=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),gie=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");yie.exports={getResolveErrorBodyCallback:Eze,isContentTypeApplicationJson:mie,isContentTypeText:gie}});var bie=A((S$t,LM)=>{"use strict";var Cze=require("node:assert"),{Readable:bze}=PM(),{InvalidArgumentError:Vm,RequestAbortedError:Eie}=Rt(),Ys=at(),{getResolveErrorBodyCallback:wze}=OM(),{AsyncResource:Ize}=require("node:async_hooks"),Rv=class extends Ize{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Vm("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:d}=e;try{if(typeof r!="function")throw new Vm("invalid callback");if(d&&(typeof d!="number"||d<0))throw new Vm("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Vm("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Vm("invalid method");if(c&&typeof c!="function")throw new Vm("invalid onInfo callback");super("UNDICI_REQUEST")}catch(f){throw Ys.isStream(a)&&Ys.destroy(a.on("error",Ys.nop),f),f}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=d,this.signal=n,this.reason=null,this.removeAbortListener=null,Ys.isStream(a)&&a.on("error",f=>{this.onError(f)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new Eie:this.removeAbortListener=Ys.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new Eie,this.res?Ys.destroy(this.res.on("error",Ys.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}Cze(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:d}=this,f=u==="raw"?Ys.parseRawHeaders(r):Ys.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:f});return}let h=u==="raw"?Ys.parseHeaders(r):f,p=h["content-type"],m=h["content-length"],g=new bze({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:d});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(wze,null,{callback:s,body:g,contentType:p,statusCode:e,statusMessage:i,headers:f}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:f,trailers:this.trailers,opaque:a,body:g,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Ys.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Ys.destroy(r,e)})),i&&(this.body=null,Ys.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function Cie(t,e){if(e===void 0)return new Promise((r,n)=>{Cie.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Rv(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Cie,"request");LM.exports=Cie;LM.exports.RequestHandler=Rv});var Lb=A((x$t,Sie)=>{var{addAbortListener:Sze}=at(),{RequestAbortedError:Bze}=Rt(),zm=Symbol("kListener"),Pc=Symbol("kSignal");function wie(t){t.abort?t.abort(t[Pc]?.reason):t.reason=t[Pc]?.reason??new Bze,Iie(t)}o(wie,"abort");function xze(t,e){if(t.reason=null,t[Pc]=null,t[zm]=null,!!e){if(e.aborted){wie(t);return}t[Pc]=e,t[zm]=()=>{wie(t)},Sze(t[Pc],t[zm])}}o(xze,"addSignal");function Iie(t){t[Pc]&&("removeEventListener"in t[Pc]?t[Pc].removeEventListener("abort",t[zm]):t[Pc].removeListener("abort",t[zm]),t[Pc]=null,t[zm]=null)}o(Iie,"removeSignal");Sie.exports={addSignal:xze,removeSignal:Iie}});var Nie=A((N$t,vie)=>{"use strict";var vze=require("node:assert"),{finished:Nze,PassThrough:_ze}=require("node:stream"),{InvalidArgumentError:$m,InvalidReturnValueError:Tze}=Rt(),za=at(),{getResolveErrorBodyCallback:Rze}=OM(),{AsyncResource:Dze}=require("node:async_hooks"),{addSignal:Qze,removeSignal:Bie}=Lb(),FM=class extends Dze{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new $m("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:d}=e;try{if(typeof n!="function")throw new $m("invalid callback");if(typeof r!="function")throw new $m("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new $m("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new $m("invalid method");if(l&&typeof l!="function")throw new $m("invalid onInfo callback");super("UNDICI_STREAM")}catch(f){throw za.isStream(c)&&za.destroy(c.on("error",za.nop),f),f}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=d||!1,za.isStream(c)&&c.on("error",f=>{this.onError(f)}),Qze(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}vze(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:u}=this,d=u==="raw"?za.parseRawHeaders(r):za.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}this.factory=null;let f;if(this.throwOnError&&e>=400){let m=(u==="raw"?za.parseHeaders(r):d)["content-type"];f=new _ze,this.callback=null,this.runInAsyncScope(Rze,null,{callback:l,body:f,contentType:m,statusCode:e,statusMessage:i,headers:d})}else{if(s===null)return;if(f=this.runInAsyncScope(s,null,{statusCode:e,headers:d,opaque:a,context:c}),!f||typeof f.write!="function"||typeof f.end!="function"||typeof f.on!="function")throw new Tze("expected Writable");Nze(f,{readable:!1},p=>{let{callback:m,res:g,opaque:E,trailers:y,abort:C}=this;this.res=null,(p||!g.readable)&&za.destroy(g,p),this.callback=null,this.runInAsyncScope(m,null,p||null,{opaque:E,trailers:y}),p&&C()})}return f.on("drain",n),this.res=f,(f.writableNeedDrain!==void 0?f.writableNeedDrain:f._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;Bie(this),r&&(this.trailers=za.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;Bie(this),this.factory=null,r?(this.res=null,za.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,za.destroy(s,e))}};function xie(t,e,r){if(r===void 0)return new Promise((n,i)=>{xie.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new FM(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(xie,"stream");vie.exports=xie});var Die=A((T$t,Rie)=>{"use strict";var{Readable:Tie,Duplex:kze,PassThrough:Pze}=require("node:stream"),{InvalidArgumentError:Fb,InvalidReturnValueError:Oze,RequestAbortedError:MM}=Rt(),Uo=at(),{AsyncResource:Lze}=require("node:async_hooks"),{addSignal:Fze,removeSignal:Mze}=Lb(),_ie=require("node:assert"),jm=Symbol("resume"),UM=class extends Tie{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[jm]=null}_read(){let{[jm]:e}=this;e&&(this[jm]=null,e())}_destroy(e,r){this._read(),r(e)}},qM=class extends Tie{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[jm]=e}_read(){this[jm]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new MM),r(e)}},GM=class extends Lze{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Fb("invalid opts");if(typeof r!="function")throw new Fb("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Fb("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Fb("invalid method");if(a&&typeof a!="function")throw new Fb("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new UM().on("error",Uo.nop),this.ret=new kze({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,d)=>{let{req:f}=this;f.push(l,u)||f._readableState.destroyed?d():f[jm]=d},"write"),destroy:o((l,u)=>{let{body:d,req:f,res:h,ret:p,abort:m}=this;!l&&!p._readableState.endEmitted&&(l=new MM),m&&l&&m(),Uo.destroy(d,l),Uo.destroy(f,l),Uo.destroy(h,l),Mze(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Fze(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}_ie(!i,"pipeline cannot be retried"),_ie(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?Uo.parseRawHeaders(r):Uo.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new qM(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Uo.parseRawHeaders(r):Uo.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",Uo.nop),l}if(!c||typeof c.on!="function")throw new Oze("expected Readable");c.on("data",l=>{let{ret:u,body:d}=this;!u.push(l)&&d.pause&&d.pause()}).on("error",l=>{let{ret:u}=this;Uo.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Uo.destroy(l,new MM)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,Uo.destroy(r,e)}};function Uze(t,e){try{let r=new GM(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Pze().destroy(r)}}o(Uze,"pipeline");Rie.exports=Uze});var Fie=A((D$t,Lie)=>{"use strict";var{InvalidArgumentError:HM,SocketError:qze}=Rt(),{AsyncResource:Gze}=require("node:async_hooks"),Qie=at(),{addSignal:Hze,removeSignal:kie}=Lb(),Pie=require("node:assert"),VM=class extends Gze{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new HM("invalid opts");if(typeof r!="function")throw new HM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new HM("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Hze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Pie(this.callback),this.abort=e,this.context=null}onHeaders(){throw new qze("bad upgrade",null)}onUpgrade(e,r,n){Pie(e===101);let{callback:i,opaque:s,context:a}=this;kie(this),this.callback=null;let c=this.responseHeaders==="raw"?Qie.parseRawHeaders(r):Qie.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;kie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function Oie(t,e){if(e===void 0)return new Promise((r,n)=>{Oie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new VM(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Oie,"upgrade");Lie.exports=Oie});var Hie=A((k$t,Gie)=>{"use strict";var Vze=require("node:assert"),{AsyncResource:zze}=require("node:async_hooks"),{InvalidArgumentError:zM,SocketError:$ze}=Rt(),Mie=at(),{addSignal:jze,removeSignal:Uie}=Lb(),$M=class extends zze{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new zM("invalid opts");if(typeof r!="function")throw new zM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new zM("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,jze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Vze(this.callback),this.abort=e,this.context=r}onHeaders(){throw new $ze("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;Uie(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?Mie.parseRawHeaders(r):Mie.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;Uie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function qie(t,e){if(e===void 0)return new Promise((r,n)=>{qie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new $M(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(qie,"connect");Gie.exports=qie});var Vie=A((O$t,Wm)=>{"use strict";Wm.exports.request=bie();Wm.exports.stream=Nie();Wm.exports.pipeline=Die();Wm.exports.upgrade=Fie();Wm.exports.connect=Hie()});var WM=A((L$t,$ie)=>{"use strict";var{UndiciError:Wze}=Rt(),zie=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),jM=class t extends Wze{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[zie]===!0}[zie]=!0};$ie.exports={MockNotMatchedError:jM}});var Jm=A((M$t,jie)=>{"use strict";jie.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 Mb=A((U$t,ise)=>{"use strict";var{MockNotMatchedError:zh}=WM(),{kDispatches:Dv,kMockAgent:Jze,kOriginalDispatch:Yze,kOrigin:Kze,kGetNetConnect:Xze}=Jm(),{buildURL:Zze}=at(),{STATUS_CODES:e$e}=require("node:http"),{types:{isPromise:t$e}}=require("node:util");function Nu(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Nu,"matchValue");function Jie(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(Jie,"lowerCaseEntries");function Yie(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):Jie(t)[e.toLocaleLowerCase()]}o(Yie,"getHeaderByName");function KM(t){let e=t.slice(),r=[];for(let n=0;n<e.length;n+=2)r.push([e[n],e[n+1]]);return Object.fromEntries(r)}o(KM,"buildHeadersFromArray");function Kie(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=KM(e)),t.headers(e?Jie(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=Yie(e,r);if(!Nu(n,i))return!1}return!0}o(Kie,"matchHeaders");function Wie(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(Wie,"safeUrl");function r$e(t,{path:e,method:r,body:n,headers:i}){let s=Nu(t.path,e),a=Nu(t.method,r),c=typeof t.body<"u"?Nu(t.body,n):!0,l=Kie(t,i);return s&&a&&c&&l}o(r$e,"matchKey");function Xie(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(Xie,"getResponseData");function Zie(t,e){let r=e.query?Zze(e.path,e.query):e.path,n=typeof r=="string"?Wie(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Nu(Wie(s),n));if(i.length===0)throw new zh(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Nu(s,e.method)),i.length===0)throw new zh(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Nu(s,e.body):!0),i.length===0)throw new zh(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>Kie(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new zh(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(Zie,"getMockDispatch");function n$e(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(n$e,"addMockDispatch");function JM(t,e){let r=t.findIndex(n=>n.consumed?r$e(n,e):!1);r!==-1&&t.splice(r,1)}o(JM,"deleteMockDispatch");function ese(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(ese,"buildKey");function YM(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let i=e[n],s=t[i],a=Buffer.from(`${i}`);if(Array.isArray(s))for(let c=0;c<s.length;++c)r.push(a,Buffer.from(`${s[c]}`));else r.push(a,Buffer.from(`${s}`))}return r}o(YM,"generateKeyValues");function tse(t){return e$e[t]||"unknown"}o(tse,"getStatusText");async function i$e(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(i$e,"getResponse");function rse(t,e){let r=ese(t),n=Zie(this[Dv],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:i,data:s,headers:a,trailers:c,error:l},delay:u,persist:d}=n,{timesInvoked:f,times:h}=n;if(n.consumed=!d&&f>=h,n.pending=f<h,l!==null)return JM(this[Dv],r),e.onError(l),!0;typeof u=="number"&&u>0?setTimeout(()=>{p(this[Dv])},u):p(this[Dv]);function p(g,E=s){let y=Array.isArray(t.headers)?KM(t.headers):t.headers,C=typeof E=="function"?E({...t,headers:y}):E;if(t$e(C)){C.then(q=>p(g,q));return}let w=Xie(C),B=YM(a),Q=YM(c);e.onConnect?.(q=>e.onError(q),null),e.onHeaders?.(i,B,m,tse(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(Q),JM(g,r)}o(p,"handleReply");function m(){}return o(m,"resume"),!0}o(rse,"mockDispatch");function s$e(){let t=this[Jze],e=this[Kze],r=this[Yze];return o(function(i,s){if(t.isMockActive)try{rse.call(this,i,s)}catch(a){if(a instanceof zh){let c=t[Xze]();if(c===!1)throw new zh(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(nse(c,e))r.call(this,i,s);else throw new zh(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)},"dispatch")}o(s$e,"buildMockDispatch");function nse(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Nu(n,r.host)))}o(nse,"checkNetConnect");function o$e(t){if(t){let{agent:e,...r}=t;return r}}o(o$e,"buildMockOptions");ise.exports={getResponseData:Xie,getMockDispatch:Zie,addMockDispatch:n$e,deleteMockDispatch:JM,buildKey:ese,generateKeyValues:YM,matchValue:Nu,getResponse:i$e,getStatusText:tse,mockDispatch:rse,buildMockDispatch:s$e,checkNetConnect:nse,buildMockOptions:o$e,getHeaderByName:Yie,buildHeadersFromArray:KM}});var iU=A((G$t,nU)=>{"use strict";var{getResponseData:a$e,buildKey:c$e,addMockDispatch:XM}=Mb(),{kDispatches:Qv,kDispatchKey:kv,kDefaultHeaders:ZM,kDefaultTrailers:eU,kContentLength:tU,kMockDispatch:Pv}=Jm(),{InvalidArgumentError:Oc}=Rt(),{buildURL:l$e}=at(),Ym=class{static{o(this,"MockScope")}constructor(e){this[Pv]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Oc("waitInMs must be a valid integer > 0");return this[Pv].delay=e,this}persist(){return this[Pv].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Oc("repeatTimes must be a valid integer > 0");return this[Pv].times=e,this}},rU=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Oc("opts must be an object");if(typeof e.path>"u")throw new Oc("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=l$e(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[kv]=c$e(e),this[Qv]=r,this[ZM]={},this[eU]={},this[tU]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=a$e(r),s=this[tU]?{"content-length":i.length}:{},a={...this[ZM],...s,...n.headers},c={...this[eU],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Oc("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Oc("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Oc("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=XM(this[Qv],this[kv],s);return new Ym(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=XM(this[Qv],this[kv],n);return new Ym(i)}replyWithError(e){if(typeof e>"u")throw new Oc("error must be defined");let r=XM(this[Qv],this[kv],{error:e});return new Ym(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Oc("headers must be defined");return this[ZM]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Oc("trailers must be defined");return this[eU]=e,this}replyContentLength(){return this[tU]=!0,this}};nU.exports.MockInterceptor=rU;nU.exports.MockScope=Ym});var aU=A((V$t,dse)=>{"use strict";var{promisify:u$e}=require("node:util"),d$e=Fm(),{buildMockDispatch:f$e}=Mb(),{kDispatches:sse,kMockAgent:ose,kClose:ase,kOriginalClose:cse,kOrigin:lse,kOriginalDispatch:h$e,kConnected:sU}=Jm(),{MockInterceptor:p$e}=iU(),use=mr(),{InvalidArgumentError:A$e}=Rt(),oU=class extends d$e{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new A$e("Argument opts.agent must implement Agent");this[ose]=r.agent,this[lse]=e,this[sse]=[],this[sU]=1,this[h$e]=this.dispatch,this[cse]=this.close.bind(this),this.dispatch=f$e.call(this),this.close=this[ase]}get[use.kConnected](){return this[sU]}intercept(e){return new p$e(e,this[sse])}async[ase](){await u$e(this[cse])(),this[sU]=0,this[ose][use.kClients].delete(this[lse])}};dse.exports=oU});var uU=A(($$t,yse)=>{"use strict";var{promisify:m$e}=require("node:util"),g$e=Mm(),{buildMockDispatch:y$e}=Mb(),{kDispatches:fse,kMockAgent:hse,kClose:pse,kOriginalClose:Ase,kOrigin:mse,kOriginalDispatch:E$e,kConnected:cU}=Jm(),{MockInterceptor:C$e}=iU(),gse=mr(),{InvalidArgumentError:b$e}=Rt(),lU=class extends g$e{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new b$e("Argument opts.agent must implement Agent");this[hse]=r.agent,this[mse]=e,this[fse]=[],this[cU]=1,this[E$e]=this.dispatch,this[Ase]=this.close.bind(this),this.dispatch=y$e.call(this),this.close=this[pse]}get[gse.kConnected](){return this[cU]}intercept(e){return new C$e(e,this[fse])}async[pse](){await m$e(this[Ase])(),this[cU]=0,this[hse][gse.kClients].delete(this[mse])}};yse.exports=lU});var Cse=A((J$t,Ese)=>{"use strict";var w$e={pronoun:"it",is:"is",was:"was",this:"this"},I$e={pronoun:"they",is:"are",was:"were",this:"these"};Ese.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?w$e:I$e,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var wse=A((X$t,bse)=>{"use strict";var{Transform:S$e}=require("node:stream"),{Console:B$e}=require("node:console"),x$e=process.versions.icu?"\u2705":"Y ",v$e=process.versions.icu?"\u274C":"N ";bse.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new S$e({transform(r,n,i){i(null,r)}}),this.logger=new B$e({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:n,Origin:u,Path:i,"Status code":s,Persistent:a?x$e:v$e,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var xse=A((ejt,Bse)=>{"use strict";var{kClients:$h}=mr(),N$e=Um(),{kAgent:dU,kMockAgentSet:Ov,kMockAgentGet:Ise,kDispatches:fU,kIsMockActive:Lv,kNetConnect:jh,kGetNetConnect:_$e,kOptions:Fv,kFactory:Mv}=Jm(),T$e=aU(),R$e=uU(),{matchValue:D$e,buildMockOptions:Q$e}=Mb(),{InvalidArgumentError:Sse,UndiciError:k$e}=Rt(),P$e=lb(),O$e=Cse(),L$e=wse(),hU=class extends P$e{static{o(this,"MockAgent")}constructor(e){if(super(e),this[jh]=!0,this[Lv]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new Sse("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new N$e(e);this[dU]=r,this[$h]=r[$h],this[Fv]=Q$e(e)}get(e){let r=this[Ise](e);return r||(r=this[Mv](e),this[Ov](e,r)),r}dispatch(e,r){return this.get(e.origin),this[dU].dispatch(e,r)}async close(){await this[dU].close(),this[$h].clear()}deactivate(){this[Lv]=!1}activate(){this[Lv]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[jh])?this[jh].push(e):this[jh]=[e];else if(typeof e>"u")this[jh]=!0;else throw new Sse("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[jh]=!1}get isMockActive(){return this[Lv]}[Ov](e,r){this[$h].set(e,r)}[Mv](e){let r=Object.assign({agent:this},this[Fv]);return this[Fv]&&this[Fv].connections===1?new T$e(e,r):new R$e(e,r)}[Ise](e){let r=this[$h].get(e);if(r)return r;if(typeof e!="string"){let n=this[Mv]("http://localhost:9999");return this[Ov](e,n),n}for(let[n,i]of Array.from(this[$h]))if(i&&typeof n!="string"&&D$e(n,e)){let s=this[Mv](e);return this[Ov](e,s),s[fU]=i[fU],s}}[_$e](){return this[jh]}pendingInterceptors(){let e=this[$h];return Array.from(e.entries()).flatMap(([r,n])=>n[fU].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new L$e}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new O$e("interceptor","interceptors").pluralize(r.length);throw new k$e(`
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
`.trim())}};Bse.exports=hU});var Uv=A((rjt,Tse)=>{"use strict";var vse=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:F$e}=Rt(),M$e=Um();_se()===void 0&&Nse(new M$e);function Nse(t){if(!t||typeof t.dispatch!="function")throw new F$e("Argument agent must implement Agent");Object.defineProperty(globalThis,vse,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(Nse,"setGlobalDispatcher");function _se(){return globalThis[vse]}o(_se,"getGlobalDispatcher");Tse.exports={setGlobalDispatcher:Nse,getGlobalDispatcher:_se}});var qv=A((sjt,Rse)=>{"use strict";Rse.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var Qse=A((ajt,Dse)=>{"use strict";var U$e=Ev();Dse.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new U$e(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var Pse=A((ljt,kse)=>{"use strict";var q$e=Tv();kse.exports=t=>e=>o(function(n,i){return e(n,new q$e({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var Lse=A((djt,Ose)=>{"use strict";var G$e=at(),{InvalidArgumentError:H$e,RequestAbortedError:V$e}=Rt(),z$e=qv(),pU=class extends z$e{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#n=!1;#r=!1;#i=0;#s=null;#l=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new H$e("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#l=r}onConnect(e){this.#t=e,this.#l.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#s=e}onHeaders(e,r,n,i){let a=G$e.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new V$e(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#l.onHeaders(e,r,n,i)}onError(e){this.#n||(e=this.#s??e,this.#l.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#n=!0,this.#r?this.#l.onError(this.#s):this.#l.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#l.onError(this.reason);return}this.#l.onComplete(e)}}};function $$e({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new pU({maxSize:s},i);return e(n,a)},"Intercept")}o($$e,"createDumpInterceptor");Ose.exports=$$e});var Use=A((hjt,Mse)=>{"use strict";var{isIP:j$e}=require("node:net"),{lookup:W$e}=require("node:dns"),J$e=qv(),{InvalidArgumentError:Km,InformationalError:Y$e}=Rt(),Fse=Math.pow(2,31)-1,AU=class{static{o(this,"DNSInstance")}#e=0;#t=0;#n=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.#r,this.pick=e.pick??this.#i}get full(){return this.#n.size===this.#t}runLookup(e,r,n){let i=this.#n.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new Y$e("No DNS entries found"));return}this.setRecords(e,c);let l=this.#n.get(e.hostname),u=this.pick(e,l,s.affinity),d;typeof u.port=="number"?d=`:${u.port}`:e.port!==""?d=`:${e.port}`:d="",n(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${d}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,n){W$e(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#i(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===Fse?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===Fse?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#n.set(e.hostname,i)}getHandler(e,r){return new mU(this,e,r)}},mU=class extends J$e{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#n=null;#r=null;#i=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#i=r,this.#r=n,this.#t={...s},this.#e=e,this.#n=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(r,n)=>{if(r)return this.#r.onError(r);let i={...this.#t,origin:n};this.#n(i,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#r.onError(e);break}}};Mse.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Km("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Km("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Km("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Km("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Km("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Km("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new AU(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return j$e(u.hostname)!==0?s(c,l):(i.runLookup(u,c,(d,f)=>{if(d)return l.onError(d);let h=null;h={...c,servername:u.hostname,origin:f,headers:{host:u.hostname,...c.headers}},s(h,i.getHandler({origin:u,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var Wh=A((Ajt,jse)=>{"use strict";var{kConstruct:K$e}=mr(),{kEnumerableProperty:Xm}=at(),{iteratorMixin:X$e,isValidHeaderName:Ub,isValidHeaderValue:Gse}=js(),{webidl:vt}=ai(),gU=require("node:assert"),Gv=require("node:util"),mn=Symbol("headers map"),Ks=Symbol("headers map sorted");function qse(t){return t===10||t===13||t===9||t===32}o(qse,"isHTTPWhiteSpaceCharCode");function Hse(t){let e=0,r=t.length;for(;r>e&&qse(t.charCodeAt(r-1));)--r;for(;r>e&&qse(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(Hse,"headerValueNormalize");function Vse(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw vt.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});yU(t,n[0],n[1])}else if(typeof e=="object"&&e!==null){let r=Object.keys(e);for(let n=0;n<r.length;++n)yU(t,r[n],e[r[n]])}else throw vt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(Vse,"fill");function yU(t,e,r){if(r=Hse(r),Ub(e)){if(!Gse(r))throw vt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw vt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if($se(t)==="immutable")throw new TypeError("immutable");return EU(t).append(e,r,!1)}o(yU,"appendHeader");function zse(t,e){return t[0]<e[0]?-1:1}o(zse,"compareHeaderName");var Hv=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[mn]=new Map(e[mn]),this[Ks]=e[Ks],this.cookies=e.cookies===null?null:[...e.cookies]):(this[mn]=new Map(e),this[Ks]=null)}contains(e,r){return this[mn].has(r?e:e.toLowerCase())}clear(){this[mn].clear(),this[Ks]=null,this.cookies=null}append(e,r,n){this[Ks]=null;let i=n?e:e.toLowerCase(),s=this[mn].get(i);if(s){let a=i==="cookie"?"; ":", ";this[mn].set(i,{name:s.name,value:`${s.value}${a}${r}`})}else this[mn].set(i,{name:e,value:r});i==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Ks]=null;let i=n?e:e.toLowerCase();i==="set-cookie"&&(this.cookies=[r]),this[mn].set(i,{name:e,value:r})}delete(e,r){this[Ks]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[mn].delete(e)}get(e,r){return this[mn].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[mn])yield[e,r]}get entries(){let e={};if(this[mn].size!==0)for(let{name:r,value:n}of this[mn].values())e[r]=n;return e}rawValues(){return this[mn].values()}get entriesList(){let e=[];if(this[mn].size!==0)for(let{0:r,1:{name:n,value:i}}of this[mn])if(r==="set-cookie")for(let s of this.cookies)e.push([n,s]);else e.push([n,i]);return e}toSortedArray(){let e=this[mn].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[mn][Symbol.iterator](),i=n.next().value;r[0]=[i[0],i[1].value],gU(i[1].value!==null);for(let s=1,a=0,c=0,l=0,u=0,d,f;s<e;++s){for(f=n.next().value,d=r[s]=[f[0],f[1].value],gU(d[1]!==null),l=0,c=s;l<c;)u=l+(c-l>>1),r[u][0]<=d[0]?l=u+1:c=u;if(s!==u){for(a=s;a>l;)r[a]=r[--a];r[l]=d}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[mn])r[n++]=[i,s],gU(s!==null);return r.sort(zse)}}},$a=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){vt.util.markAsUncloneable(this),e!==K$e&&(this.#t=new Hv,this.#e="none",e!==void 0&&(e=vt.converters.HeadersInit(e,"Headers contructor","init"),Vse(this,e)))}append(e,r){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=vt.converters.ByteString(e,n,"name"),r=vt.converters.ByteString(r,n,"value"),yU(this,e,r)}delete(e){if(vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.delete"),e=vt.converters.ByteString(e,"Headers.delete","name"),!Ub(e))throw vt.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){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=vt.converters.ByteString(e,r,"name"),!Ub(e))throw vt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=vt.converters.ByteString(e,r,"name"),!Ub(e))throw vt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=vt.converters.ByteString(e,n,"name"),r=vt.converters.ByteString(r,n,"value"),r=Hse(r),Ub(e)){if(!Gse(r))throw vt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw vt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){vt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Ks](){if(this.#t[Ks])return this.#t[Ks];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Ks]=r;for(let i=0;i<r.length;++i){let{0:s,1:a}=r[i];if(s==="set-cookie")for(let c=0;c<n.length;++c)e.push([s,n[c]]);else e.push([s,a])}return this.#t[Ks]=e}[Gv.inspect.custom](e,r){return r.depth??=e,`Headers ${Gv.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:$se,setHeadersGuard:Z$e,getHeadersList:EU,setHeadersList:eje}=$a;Reflect.deleteProperty($a,"getHeadersGuard");Reflect.deleteProperty($a,"setHeadersGuard");Reflect.deleteProperty($a,"getHeadersList");Reflect.deleteProperty($a,"setHeadersList");X$e("Headers",$a,Ks,0,1);Object.defineProperties($a.prototype,{append:Xm,delete:Xm,get:Xm,has:Xm,set:Xm,getSetCookie:Xm,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Gv.inspect.custom]:{enumerable:!1}});vt.converters.HeadersInit=function(t,e,r){if(vt.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!Gv.types.isProxy(t)&&n===$a.prototype.entries)try{return EU(t).entriesList}catch{}return typeof n=="function"?vt.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):vt.converters["record<ByteString, ByteString>"](t,e,r)}throw vt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};jse.exports={fill:Vse,compareHeaderName:zse,Headers:$a,HeadersList:Hv,getHeadersGuard:$se,setHeadersGuard:Z$e,setHeadersList:eje,getHeadersList:EU}});var Gb=A((gjt,soe)=>{"use strict";var{Headers:Zse,HeadersList:Wse,fill:tje,getHeadersGuard:rje,setHeadersGuard:eoe,setHeadersList:toe}=Wh(),{extractBody:Jse,cloneBody:nje,mixinBody:ije,hasFinalizationRegistry:roe,streamRegistry:noe,bodyUnusable:sje}=Rm(),CU=at(),Yse=require("node:util"),{kEnumerableProperty:Xs}=CU,{isValidReasonPhrase:oje,isCancelled:aje,isAborted:cje,isBlobLike:lje,serializeJavascriptValueToJSONString:uje,isErrorLike:dje,isomorphicEncode:fje,environmentSettingsObject:hje}=js(),{redirectStatusSet:pje,nullBodyStatus:Aje}=fb(),{kState:yr,kHeaders:_u}=Fd(),{webidl:tt}=ai(),{FormData:mje}=yb(),{URLSerializer:Kse}=gs(),{kConstruct:zv}=mr(),bU=require("node:assert"),{types:gje}=require("node:util"),yje=new TextEncoder("utf-8"),Jh=class t{static{o(this,"Response")}static error(){return qb($v(),"immutable")}static json(e,r={}){tt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=tt.converters.ResponseInit(r));let n=yje.encode(uje(e)),i=Jse(n),s=qb(Zm({}),"response");return Xse(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){tt.argumentLengthCheck(arguments,1,"Response.redirect"),e=tt.converters.USVString(e),r=tt.converters["unsigned short"](r);let n;try{n=new URL(e,hje.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!pje.has(r))throw new RangeError(`Invalid status code ${r}`);let i=qb(Zm({}),"immutable");i[yr].status=r;let s=fje(Kse(n));return i[yr].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(tt.util.markAsUncloneable(this),e===zv)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[yr]=Zm({}),this[_u]=new Zse(zv),eoe(this[_u],"response"),toe(this[_u],this[yr].headersList);let n=null;if(e!=null){let[i,s]=Jse(e);n={body:i,type:s}}Xse(this,r,n)}get type(){return tt.brandCheck(this,t),this[yr].type}get url(){tt.brandCheck(this,t);let e=this[yr].urlList,r=e[e.length-1]??null;return r===null?"":Kse(r,!0)}get redirected(){return tt.brandCheck(this,t),this[yr].urlList.length>1}get status(){return tt.brandCheck(this,t),this[yr].status}get ok(){return tt.brandCheck(this,t),this[yr].status>=200&&this[yr].status<=299}get statusText(){return tt.brandCheck(this,t),this[yr].statusText}get headers(){return tt.brandCheck(this,t),this[_u]}get body(){return tt.brandCheck(this,t),this[yr].body?this[yr].body.stream:null}get bodyUsed(){return tt.brandCheck(this,t),!!this[yr].body&&CU.isDisturbed(this[yr].body.stream)}clone(){if(tt.brandCheck(this,t),sje(this))throw tt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=wU(this[yr]);return roe&&this[yr].body?.stream&&noe.register(this,new WeakRef(this[yr].body.stream)),qb(e,rje(this[_u]))}[Yse.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${Yse.formatWithOptions(r,n)}`}};ije(Jh);Object.defineProperties(Jh.prototype,{type:Xs,url:Xs,status:Xs,ok:Xs,redirected:Xs,statusText:Xs,headers:Xs,clone:Xs,body:Xs,bodyUsed:Xs,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Jh,{json:Xs,redirect:Xs,error:Xs});function wU(t){if(t.internalResponse)return ioe(wU(t.internalResponse),t.type);let e=Zm({...t,body:null});return t.body!=null&&(e.body=nje(e,t.body)),e}o(wU,"cloneResponse");function Zm(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new Wse(t?.headersList):new Wse,urlList:t?.urlList?[...t.urlList]:[]}}o(Zm,"makeResponse");function $v(t){let e=dje(t);return Zm({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o($v,"makeNetworkError");function Eje(t){return t.type==="error"&&t.status===0}o(Eje,"isNetworkError");function Vv(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return bU(!(n in e)),r[n]=i,!0}})}o(Vv,"makeFilteredResponse");function ioe(t,e){if(e==="basic")return Vv(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Vv(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Vv(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Vv(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});bU(!1)}o(ioe,"filterResponse");function Cje(t,e=null){return bU(aje(t)),cje(t)?$v(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):$v(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Cje,"makeAppropriateNetworkError");function Xse(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&&!oje(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[yr].status=e.status),"statusText"in e&&e.statusText!=null&&(t[yr].statusText=e.statusText),"headers"in e&&e.headers!=null&&tje(t[_u],e.headers),r){if(Aje.includes(t.status))throw tt.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[yr].body=r.body,r.type!=null&&!t[yr].headersList.contains("content-type",!0)&&t[yr].headersList.append("content-type",r.type,!0)}}o(Xse,"initializeResponse");function qb(t,e){let r=new Jh(zv);return r[yr]=t,r[_u]=new Zse(zv),toe(r[_u],t.headersList),eoe(r[_u],e),roe&&t.body?.stream&&noe.register(r,new WeakRef(t.body.stream)),r}o(qb,"fromInnerResponse");tt.converters.ReadableStream=tt.interfaceConverter(ReadableStream);tt.converters.FormData=tt.interfaceConverter(mje);tt.converters.URLSearchParams=tt.interfaceConverter(URLSearchParams);tt.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?tt.converters.USVString(t,e,r):lje(t)?tt.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||gje.isArrayBuffer(t)?tt.converters.BufferSource(t,e,r):CU.isFormDataLike(t)?tt.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?tt.converters.URLSearchParams(t,e,r):tt.converters.DOMString(t,e,r)};tt.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?tt.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:tt.converters.XMLHttpRequestBodyInit(t,e,r)};tt.converters.ResponseInit=tt.dictionaryConverter([{key:"status",converter:tt.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:tt.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:tt.converters.HeadersInit}]);soe.exports={isNetworkError:Eje,makeNetworkError:$v,makeResponse:Zm,makeAppropriateNetworkError:Cje,filterResponse:ioe,Response:Jh,cloneResponse:wU,fromInnerResponse:qb}});var loe=A((Ejt,coe)=>{"use strict";var{kConnected:ooe,kSize:aoe}=mr(),IU=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[ooe]===0&&this.value[aoe]===0?void 0:this.value}},SU=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[ooe]===0&&e[aoe]===0&&this.finalizer(r)})}unregister(e){}};coe.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:IU,FinalizationRegistry:SU}):{WeakRef,FinalizationRegistry}}});var eg=A((bjt,Soe)=>{"use strict";var{extractBody:bje,mixinBody:wje,cloneBody:Ije,bodyUnusable:uoe}=Rm(),{Headers:Eoe,fill:Sje,HeadersList:Yv,setHeadersGuard:xU,getHeadersGuard:Bje,setHeadersList:Coe,getHeadersList:doe}=Wh(),{FinalizationRegistry:xje}=loe()(),Wv=at(),foe=require("node:util"),{isValidHTTPToken:vje,sameOrigin:hoe,environmentSettingsObject:jv}=js(),{forbiddenMethodsSet:Nje,corsSafeListedMethodsSet:_je,referrerPolicy:Tje,requestRedirect:Rje,requestMode:Dje,requestCredentials:Qje,requestCache:kje,requestDuplex:Pje}=fb(),{kEnumerableProperty:gn,normalizedMethodRecordsBase:Oje,normalizedMethodRecords:Lje}=Wv,{kHeaders:Zs,kSignal:Jv,kState:nr,kDispatcher:BU}=Fd(),{webidl:Me}=ai(),{URLSerializer:Fje}=gs(),{kConstruct:Kv}=mr(),Mje=require("node:assert"),{getMaxListeners:poe,setMaxListeners:Aoe,getEventListeners:Uje,defaultMaxListeners:moe}=require("node:events"),qje=Symbol("abortController"),boe=new xje(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Xv=new WeakMap;function goe(t){return e;function e(){let r=t.deref();if(r!==void 0){boe.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Xv.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}Xv.delete(r.signal)}}}}o(goe,"buildAbort");var yoe=!1,Jd=class t{static{o(this,"Request")}constructor(e,r={}){if(Me.util.markAsUncloneable(this),e===Kv)return;let n="Request constructor";Me.argumentLengthCheck(arguments,1,n),e=Me.converters.RequestInfo(e,n,"input"),r=Me.converters.RequestInit(r,n,"init");let i=null,s=null,a=jv.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[BU]=r.dispatcher;let y;try{y=new URL(e,a)}catch(C){throw new TypeError("Failed to parse URL from "+e,{cause:C})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=Zv({urlList:[y]}),s="cors"}else this[BU]=r.dispatcher||e[BU],Mje(e instanceof t),i=e[nr],c=e[Jv];let l=jv.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&hoe(i.window,l)&&(u=i.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),i=Zv({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:jv.settingsObject,window:u,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let d=Object.keys(r).length!==0;if(d&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")i.referrer="no-referrer";else{let C;try{C=new URL(y,a)}catch(w){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:w})}C.protocol==="about:"&&C.hostname==="client"||l&&!hoe(C,jv.settingsObject.baseUrl)?i.referrer="client":i.referrer=C}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let f;if(r.mode!==void 0?f=r.mode:f=s,f==="navigate")throw Me.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(f!=null&&(i.mode=f),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,C=Lje[y];if(C!==void 0)i.method=C;else{if(!vje(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let w=y.toUpperCase();if(Nje.has(w))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=Oje[w]??y,i.method=y}!yoe&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),yoe=!0)}r.signal!==void 0&&(c=r.signal),this[nr]=i;let h=new AbortController;if(this[Jv]=h.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)h.abort(c.reason);else{this[qje]=h;let y=new WeakRef(h),C=goe(y);try{(typeof poe=="function"&&poe(c)===moe||Uje(c,"abort").length>=moe)&&Aoe(1500,c)}catch{}Wv.addAbortListener(c,C),boe.register(h,{signal:c,abort:C},C)}}if(this[Zs]=new Eoe(Kv),Coe(this[Zs],i.headersList),xU(this[Zs],"request"),f==="no-cors"){if(!_je.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);xU(this[Zs],"request-no-cors")}if(d){let y=doe(this[Zs]),C=r.headers!==void 0?r.headers:new Yv(y);if(y.clear(),C instanceof Yv){for(let{name:w,value:B}of C.rawValues())y.append(w,B,!1);y.cookies=C.cookies}else Sje(this[Zs],C)}let p=e instanceof t?e[nr].body:null;if((r.body!=null||p!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let m=null;if(r.body!=null){let[y,C]=bje(r.body,i.keepalive);m=y,C&&!doe(this[Zs]).contains("content-type",!0)&&this[Zs].append("content-type",C)}let g=m??p;if(g!=null&&g.source==null){if(m!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let E=g;if(m==null&&p!=null){if(uoe(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),E={source:p.source,length:p.length,stream:y.readable}}this[nr].body=E}get method(){return Me.brandCheck(this,t),this[nr].method}get url(){return Me.brandCheck(this,t),Fje(this[nr].url)}get headers(){return Me.brandCheck(this,t),this[Zs]}get destination(){return Me.brandCheck(this,t),this[nr].destination}get referrer(){return Me.brandCheck(this,t),this[nr].referrer==="no-referrer"?"":this[nr].referrer==="client"?"about:client":this[nr].referrer.toString()}get referrerPolicy(){return Me.brandCheck(this,t),this[nr].referrerPolicy}get mode(){return Me.brandCheck(this,t),this[nr].mode}get credentials(){return this[nr].credentials}get cache(){return Me.brandCheck(this,t),this[nr].cache}get redirect(){return Me.brandCheck(this,t),this[nr].redirect}get integrity(){return Me.brandCheck(this,t),this[nr].integrity}get keepalive(){return Me.brandCheck(this,t),this[nr].keepalive}get isReloadNavigation(){return Me.brandCheck(this,t),this[nr].reloadNavigation}get isHistoryNavigation(){return Me.brandCheck(this,t),this[nr].historyNavigation}get signal(){return Me.brandCheck(this,t),this[Jv]}get body(){return Me.brandCheck(this,t),this[nr].body?this[nr].body.stream:null}get bodyUsed(){return Me.brandCheck(this,t),!!this[nr].body&&Wv.isDisturbed(this[nr].body.stream)}get duplex(){return Me.brandCheck(this,t),"half"}clone(){if(Me.brandCheck(this,t),uoe(this))throw new TypeError("unusable");let e=woe(this[nr]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Xv.get(this.signal);n===void 0&&(n=new Set,Xv.set(this.signal,n));let i=new WeakRef(r);n.add(i),Wv.addAbortListener(r.signal,goe(i))}return Ioe(e,r.signal,Bje(this[Zs]))}[foe.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${foe.formatWithOptions(r,n)}`}};wje(Jd);function Zv(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 Yv(t.headersList):new Yv}}o(Zv,"makeRequest");function woe(t){let e=Zv({...t,body:null});return t.body!=null&&(e.body=Ije(e,t.body)),e}o(woe,"cloneRequest");function Ioe(t,e,r){let n=new Jd(Kv);return n[nr]=t,n[Jv]=e,n[Zs]=new Eoe(Kv),Coe(n[Zs],t.headersList),xU(n[Zs],r),n}o(Ioe,"fromInnerRequest");Object.defineProperties(Jd.prototype,{method:gn,url:gn,headers:gn,redirect:gn,clone:gn,signal:gn,duplex:gn,destination:gn,body:gn,bodyUsed:gn,isHistoryNavigation:gn,isReloadNavigation:gn,keepalive:gn,integrity:gn,cache:gn,credentials:gn,attribute:gn,referrerPolicy:gn,referrer:gn,mode:gn,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Me.converters.Request=Me.interfaceConverter(Jd);Me.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Me.converters.USVString(t,e,r):t instanceof Jd?Me.converters.Request(t,e,r):Me.converters.USVString(t,e,r)};Me.converters.AbortSignal=Me.interfaceConverter(AbortSignal);Me.converters.RequestInit=Me.dictionaryConverter([{key:"method",converter:Me.converters.ByteString},{key:"headers",converter:Me.converters.HeadersInit},{key:"body",converter:Me.nullableConverter(Me.converters.BodyInit)},{key:"referrer",converter:Me.converters.USVString},{key:"referrerPolicy",converter:Me.converters.DOMString,allowedValues:Tje},{key:"mode",converter:Me.converters.DOMString,allowedValues:Dje},{key:"credentials",converter:Me.converters.DOMString,allowedValues:Qje},{key:"cache",converter:Me.converters.DOMString,allowedValues:kje},{key:"redirect",converter:Me.converters.DOMString,allowedValues:Rje},{key:"integrity",converter:Me.converters.DOMString},{key:"keepalive",converter:Me.converters.boolean},{key:"signal",converter:Me.nullableConverter(t=>Me.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Me.converters.any},{key:"duplex",converter:Me.converters.DOMString,allowedValues:Pje},{key:"dispatcher",converter:Me.converters.any}]);Soe.exports={Request:Jd,makeRequest:Zv,fromInnerRequest:Ioe,cloneRequest:woe}});var Vb=A((Ijt,Moe)=>{"use strict";var{makeNetworkError:Ht,makeAppropriateNetworkError:eN,filterResponse:vU,makeResponse:tN,fromInnerResponse:Gje}=Gb(),{HeadersList:Boe}=Wh(),{Request:Hje,cloneRequest:Vje}=eg(),Yd=require("node:zlib"),{bytesMatch:zje,makePolicyContainer:$je,clonePolicyContainer:jje,requestBadPort:Wje,TAOCheck:Jje,appendRequestOriginHeader:Yje,responseLocationURL:Kje,requestCurrentURL:Lc,setRequestReferrerPolicyOnRedirect:Xje,tryUpgradeRequestToAPotentiallyTrustworthyURL:Zje,createOpaqueTimingInfo:DU,appendFetchMetadata:e8e,corsCheck:t8e,crossOriginResourcePolicyCheck:r8e,determineRequestsReferrer:n8e,coarsenedSharedCurrentTime:Hb,createDeferredPromise:i8e,isBlobLike:s8e,sameOrigin:RU,isCancelled:Yh,isAborted:xoe,isErrorLike:o8e,fullyReadBody:a8e,readableStreamClose:c8e,isomorphicEncode:rN,urlIsLocal:l8e,urlIsHttpHttpsScheme:QU,urlHasHttpsScheme:u8e,clampAndCoarsenConnectionTimingInfo:d8e,simpleRangeHeaderValue:f8e,buildContentRange:h8e,createInflate:p8e,extractMimeType:A8e}=js(),{kState:Toe,kDispatcher:m8e}=Fd(),Kh=require("node:assert"),{safelyExtractBody:kU,extractBody:voe}=Rm(),{redirectStatusSet:Roe,nullBodyStatus:Doe,safeMethodsSet:g8e,requestBodyHeader:y8e,subresourceSet:E8e}=fb(),C8e=require("node:events"),{Readable:b8e,pipeline:w8e,finished:I8e}=require("node:stream"),{addAbortListener:S8e,isErrored:B8e,isReadable:nN,bufferToLowerCasedHeaderName:Noe}=at(),{dataURLProcessor:x8e,serializeAMimeType:v8e,minimizeSupportedMimeType:N8e}=gs(),{getGlobalDispatcher:_8e}=Uv(),{webidl:T8e}=ai(),{STATUS_CODES:R8e}=require("node:http"),D8e=["GET","HEAD"],Q8e=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",NU,iN=class extends C8e{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function k8e(t){Qoe(t,"fetch")}o(k8e,"handleFetchDone");function P8e(t,e=void 0){T8e.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=i8e(),n;try{n=new Hje(t,e)}catch(d){return r.reject(d),r.promise}let i=n[Toe];if(n.signal.aborted)return _U(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return S8e(n.signal,()=>{c=!0,Kh(l!=null),l.abort(n.signal.reason);let d=a?.deref();_U(r,i,d,n.signal.reason)}),l=Poe({request:i,processResponseEndOfBody:k8e,processResponse:o(d=>{if(!c){if(d.aborted){_U(r,i,a,l.serializedAbortReason);return}if(d.type==="error"){r.reject(new TypeError("fetch failed",{cause:d.error}));return}a=new WeakRef(Gje(d,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[m8e]}),r.promise}o(P8e,"fetch");function Qoe(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;QU(r)&&n!==null&&(t.timingAllowPassed||(n=DU({startTime:n.startTime}),i=""),n.endTime=Hb(),t.timingInfo=n,koe(n,r.href,e,globalThis,i))}o(Qoe,"finalizeAndReportTiming");var koe=performance.markResourceTiming;function _U(t,e,r,n){if(t&&t.reject(n),e.body!=null&&nN(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[Toe];i.body!=null&&nN(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(_U,"abortFetch");function Poe({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=_8e()}){Kh(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let d=Hb(u),f=DU({startTime:d}),h={controller:new iN(c),request:t,timingInfo:f,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:u};return Kh(!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=jje(t.client.policyContainer):t.policyContainer=$je()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,E8e.has(t.destination),Ooe(h).catch(p=>{h.controller.terminate(p)}),h.controller}o(Poe,"fetching");async function Ooe(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!l8e(Lc(r))&&(n=Ht("local URLs only")),Zje(r),Wje(r)==="blocked"&&(n=Ht("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=n8e(r)),n===null&&(n=await(async()=>{let s=Lc(r);return RU(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await _oe(t)):r.mode==="same-origin"?Ht('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Ht('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await _oe(t)):QU(Lc(r))?(r.responseTainting="cors",await Loe(t)):Ht("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=vU(n,"basic"):r.responseTainting==="cors"?n=vU(n,"cors"):r.responseTainting==="opaque"?n=vU(n,"opaque"):Kh(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=Ht()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Doe.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>TU(t,Ht(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!zje(c,r.integrity)){s("integrity mismatch");return}n.body=kU(c)[0],TU(t,n)},"processBody");await a8e(n.body,a,s)}else TU(t,n)}o(Ooe,"mainFetch");function _oe(t){if(Yh(t)&&t.request.redirectCount===0)return Promise.resolve(eN(t));let{request:e}=t,{protocol:r}=Lc(e);switch(r){case"about:":return Promise.resolve(Ht("about scheme is not supported"));case"blob:":{NU||(NU=require("node:buffer").resolveObjectURL);let n=Lc(e);if(n.search.length!==0)return Promise.resolve(Ht("NetworkError when attempting to fetch resource."));let i=NU(n.toString());if(e.method!=="GET"||!s8e(i))return Promise.resolve(Ht("invalid method"));let s=tN(),a=i.size,c=rN(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),d=f8e(u,!0);if(d==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let{rangeStartValue:f,rangeEndValue:h}=d;if(f===null)f=a-h,h=f+h-1;else{if(f>=a)return Promise.resolve(Ht("Range start is greater than the blob's size."));(h===null||h>=a)&&(h=a-1)}let p=i.slice(f,h,l),m=voe(p);s.body=m[0];let g=rN(`${p.size}`),E=h8e(f,h,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",g,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",E,!0)}else{let u=voe(i);s.statusText="OK",s.body=u[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Lc(e),i=x8e(n);if(i==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let s=v8e(i.mimeType);return Promise.resolve(tN({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:kU(i.body)[0]}))}case"file:":return Promise.resolve(Ht("not implemented... yet..."));case"http:":case"https:":return Loe(t).catch(n=>Ht(n));default:return Promise.resolve(Ht("unknown scheme"))}}o(_oe,"schemeFetch");function O8e(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(O8e,"finalizeResponse");function TU(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=DU(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let d=A8e(e.headersList);d!=="failure"&&(l.contentType=N8e(d))}t.request.initiatorType!=null&&koe(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():I8e(i.body.stream,()=>{n()})}o(TU,"fetchFinale");async function Loe(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await Foe(t),e.responseTainting==="cors"&&t8e(e,r)==="failure")return Ht("cors failure");Jje(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&r8e(e.origin,e.client,e.destination,n)==="blocked"?Ht("blocked"):(Roe.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Ht("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await L8e(t,r):Kh(!1)),r.timingInfo=i,r)}o(Loe,"httpFetch");function L8e(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Kje(n,Lc(r).hash),i==null)return e}catch(a){return Promise.resolve(Ht(a))}if(!QU(i))return Promise.resolve(Ht("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Ht("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!RU(r,i))return Promise.resolve(Ht('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Ht('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Ht());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!D8e.includes(r.method)){r.method="GET",r.body=null;for(let a of y8e)r.headersList.delete(a)}RU(Lc(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Kh(r.body.source!=null),r.body=kU(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=Hb(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Xje(r,n),Ooe(t,!0)}o(L8e,"httpRedirectFetch");async function Foe(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=Vje(n),i={...t},i.request=s);let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",d=s.body?s.body.length:null,f=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(f="0"),d!=null&&(f=rN(`${d}`)),f!=null&&s.headersList.append("content-length",f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",rN(s.referrer.href),!0),Yje(s),e8e(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",Q8e),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(u8e(Lc(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return Ht("only if cached");let h=await F8e(i,u,r);!g8e.has(s.method)&&h.status>=200&&h.status<=399,l&&h.status,a==null&&(a=h)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return n.window==="no-window"?Ht():Yh(t)?eN(t):Ht("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Yh(t))return eN(t);t.controller.connection.destroy(),a=await Foe(t,e,!0)}return a}o(Foe,"httpNetworkOrCacheFetch");async function F8e(t,e=!1,r=!1){Kh(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(m,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(m??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let m=o(async function*(y){Yh(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),g=o(()=>{Yh(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),E=o(y=>{Yh(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*m(y);g()}catch(y){E(y)}})()}try{let{body:m,status:g,statusText:E,headersList:y,socket:C}=await p({body:l});if(C)i=tN({status:g,statusText:E,headersList:y,socket:C});else{let w=m[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=tN({status:g,statusText:E,headersList:y})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),eN(t,m)):Ht(m)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),d=o(m=>{Yh(t)||t.controller.abort(m)},"cancelAlgorithm"),f=new ReadableStream({async start(m){t.controller.controller=m},async pull(m){await u(m)},async cancel(m){await d(m)},type:"bytes"});i.body={stream:f,source:null,length:null},t.controller.onAborted=h,t.controller.on("terminated",h),t.controller.resume=async()=>{for(;;){let m,g;try{let{done:y,value:C}=await t.controller.next();if(xoe(t))break;m=y?void 0:C}catch(y){t.controller.ended&&!s.encodedBodySize?m=void 0:(m=y,g=!0)}if(m===void 0){c8e(t.controller.controller),O8e(t,i);return}if(s.decodedBodySize+=m?.byteLength??0,g){t.controller.terminate(m);return}let E=new Uint8Array(m);if(E.byteLength&&t.controller.controller.enqueue(E),B8e(f)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function h(m){xoe(t)?(i.aborted=!0,nN(f)&&t.controller.controller.error(t.controller.serializedAbortReason)):nN(f)&&t.controller.controller.error(new TypeError("terminated",{cause:o8e(m)?m:void 0})),t.controller.connection.destroy()}return o(h,"onAborted"),i;function p({body:m}){let g=Lc(n),E=t.controller.dispatcher;return new Promise((y,C)=>E.dispatch({path:g.pathname+g.search,origin:g.origin,method:n.method,body:E.isMockActive?n.body&&(n.body.source||n.body.stream):m,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(w){let{connection:B}=t.controller;s.finalConnectionTimingInfo=d8e(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?w(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",w),this.abort=B.abort=w),s.finalNetworkRequestStartTime=Hb(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=Hb(t.crossOriginIsolatedCapability)},onHeaders(w,B,Q,q){if(w<200)return;let v="",$=new Boe;for(let J=0;J<B.length;J+=2)$.append(Noe(B[J]),B[J+1].toString("latin1"),!0);v=$.get("location",!0),this.body=new b8e({read:Q});let R=[],H=v&&n.redirect==="follow"&&Roe.has(w);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Doe.includes(w)&&!H){let J=$.get("content-encoding",!0),ee=J?J.toLowerCase().split(","):[],ae=5;if(ee.length>ae)return C(new Error(`too many content-encodings in response: ${ee.length}, maximum allowed is ${ae}`)),!0;for(let Ae=ee.length-1;Ae>=0;--Ae){let Y=ee[Ae].trim();if(Y==="x-gzip"||Y==="gzip")R.push(Yd.createGunzip({flush:Yd.constants.Z_SYNC_FLUSH,finishFlush:Yd.constants.Z_SYNC_FLUSH}));else if(Y==="deflate")R.push(p8e({flush:Yd.constants.Z_SYNC_FLUSH,finishFlush:Yd.constants.Z_SYNC_FLUSH}));else if(Y==="br")R.push(Yd.createBrotliDecompress({flush:Yd.constants.BROTLI_OPERATION_FLUSH,finishFlush:Yd.constants.BROTLI_OPERATION_FLUSH}));else{R.length=0;break}}}let V=this.onError.bind(this);return y({status:w,statusText:q,headersList:$,body:R.length?w8e(this.body,...R,J=>{J&&this.onError(J)}).on("error",V):this.body.on("error",V)}),!0},onData(w){if(t.controller.dump)return;let B=w;return s.encodedBodySize+=B.byteLength,this.body.push(B)},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(w){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(w),t.controller.terminate(w),C(w)},onUpgrade(w,B,Q){if(w!==101)return;let q=new Boe;for(let v=0;v<B.length;v+=2)q.append(Noe(B[v]),B[v+1].toString("latin1"),!0);return y({status:w,statusText:R8e[w],headersList:q,socket:Q}),!0}}))}o(p,"dispatch")}o(F8e,"httpNetworkFetch");Moe.exports={fetch:P8e,Fetch:iN,fetching:Poe,finalizeAndReportTiming:Qoe}});var PU=A((Bjt,Uoe)=>{"use strict";Uoe.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 Goe=A((xjt,qoe)=>{"use strict";var{webidl:eo}=ai(),sN=Symbol("ProgressEvent state"),OU=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=eo.converters.DOMString(e,"ProgressEvent constructor","type"),r=eo.converters.ProgressEventInit(r??{}),super(e,r),this[sN]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return eo.brandCheck(this,t),this[sN].lengthComputable}get loaded(){return eo.brandCheck(this,t),this[sN].loaded}get total(){return eo.brandCheck(this,t),this[sN].total}};eo.converters.ProgressEventInit=eo.dictionaryConverter([{key:"lengthComputable",converter:eo.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:eo.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:eo.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:eo.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:eo.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:eo.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);qoe.exports={ProgressEvent:OU}});var Voe=A((Njt,Hoe)=>{"use strict";function M8e(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}o(M8e,"getEncoding");Hoe.exports={getEncoding:M8e}});var Xoe=A((Tjt,Koe)=>{"use strict";var{kState:tg,kError:LU,kResult:zoe,kAborted:zb,kLastProgressEventFired:FU}=PU(),{ProgressEvent:U8e}=Goe(),{getEncoding:$oe}=Voe(),{serializeAMimeType:q8e,parseMIMEType:joe}=gs(),{types:G8e}=require("node:util"),{StringDecoder:Woe}=require("string_decoder"),{btoa:Joe}=require("node:buffer"),H8e={enumerable:!0,writable:!1,configurable:!1};function V8e(t,e,r,n){if(t[tg]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[tg]="loading",t[zoe]=null,t[LU]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[zb];)try{let{done:u,value:d}=await c;if(l&&!t[zb]&&queueMicrotask(()=>{Kd("loadstart",t)}),l=!1,!u&&G8e.isUint8Array(d))a.push(d),(t[FU]===void 0||Date.now()-t[FU]>=50)&&!t[zb]&&(t[FU]=Date.now(),queueMicrotask(()=>{Kd("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[tg]="done";try{let f=z8e(a,r,e.type,n);if(t[zb])return;t[zoe]=f,Kd("load",t)}catch(f){t[LU]=f,Kd("error",t)}t[tg]!=="loading"&&Kd("loadend",t)});break}}catch(u){if(t[zb])return;queueMicrotask(()=>{t[tg]="done",t[LU]=u,Kd("error",t),t[tg]!=="loading"&&Kd("loadend",t)});break}})()}o(V8e,"readOperation");function Kd(t,e){let r=new U8e(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Kd,"fireAProgressEvent");function z8e(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=joe(r||"application/octet-stream");s!=="failure"&&(i+=q8e(s)),i+=";base64,";let a=new Woe("latin1");for(let c of t)i+=Joe(a.write(c));return i+=Joe(a.end()),i}case"Text":{let i="failure";if(n&&(i=$oe(n)),i==="failure"&&r){let s=joe(r);s!=="failure"&&(i=$oe(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),$8e(t,i)}case"ArrayBuffer":return Yoe(t).buffer;case"BinaryString":{let i="",s=new Woe("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(z8e,"packageData");function $8e(t,e){let r=Yoe(t),n=j8e(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o($8e,"decode");function j8e(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(j8e,"BOMSniffing");function Yoe(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(Yoe,"combineByteSequences");Koe.exports={staticPropertyDescriptors:H8e,readOperation:V8e,fireAProgressEvent:Kd}});var rae=A((Djt,tae)=>{"use strict";var{staticPropertyDescriptors:rg,readOperation:oN,fireAProgressEvent:Zoe}=Xoe(),{kState:Xh,kError:eae,kResult:aN,kEvents:Ot,kAborted:W8e}=PU(),{webidl:zt}=ai(),{kEnumerableProperty:Cs}=at(),ja=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Xh]="empty",this[aN]=null,this[eae]=null,this[Ot]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=zt.converters.Blob(e,{strict:!1}),oN(this,e,"ArrayBuffer")}readAsBinaryString(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=zt.converters.Blob(e,{strict:!1}),oN(this,e,"BinaryString")}readAsText(e,r=void 0){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=zt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=zt.converters.DOMString(r,"FileReader.readAsText","encoding")),oN(this,e,"Text",r)}readAsDataURL(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=zt.converters.Blob(e,{strict:!1}),oN(this,e,"DataURL")}abort(){if(this[Xh]==="empty"||this[Xh]==="done"){this[aN]=null;return}this[Xh]==="loading"&&(this[Xh]="done",this[aN]=null),this[W8e]=!0,Zoe("abort",this),this[Xh]!=="loading"&&Zoe("loadend",this)}get readyState(){switch(zt.brandCheck(this,t),this[Xh]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return zt.brandCheck(this,t),this[aN]}get error(){return zt.brandCheck(this,t),this[eae]}get onloadend(){return zt.brandCheck(this,t),this[Ot].loadend}set onloadend(e){zt.brandCheck(this,t),this[Ot].loadend&&this.removeEventListener("loadend",this[Ot].loadend),typeof e=="function"?(this[Ot].loadend=e,this.addEventListener("loadend",e)):this[Ot].loadend=null}get onerror(){return zt.brandCheck(this,t),this[Ot].error}set onerror(e){zt.brandCheck(this,t),this[Ot].error&&this.removeEventListener("error",this[Ot].error),typeof e=="function"?(this[Ot].error=e,this.addEventListener("error",e)):this[Ot].error=null}get onloadstart(){return zt.brandCheck(this,t),this[Ot].loadstart}set onloadstart(e){zt.brandCheck(this,t),this[Ot].loadstart&&this.removeEventListener("loadstart",this[Ot].loadstart),typeof e=="function"?(this[Ot].loadstart=e,this.addEventListener("loadstart",e)):this[Ot].loadstart=null}get onprogress(){return zt.brandCheck(this,t),this[Ot].progress}set onprogress(e){zt.brandCheck(this,t),this[Ot].progress&&this.removeEventListener("progress",this[Ot].progress),typeof e=="function"?(this[Ot].progress=e,this.addEventListener("progress",e)):this[Ot].progress=null}get onload(){return zt.brandCheck(this,t),this[Ot].load}set onload(e){zt.brandCheck(this,t),this[Ot].load&&this.removeEventListener("load",this[Ot].load),typeof e=="function"?(this[Ot].load=e,this.addEventListener("load",e)):this[Ot].load=null}get onabort(){return zt.brandCheck(this,t),this[Ot].abort}set onabort(e){zt.brandCheck(this,t),this[Ot].abort&&this.removeEventListener("abort",this[Ot].abort),typeof e=="function"?(this[Ot].abort=e,this.addEventListener("abort",e)):this[Ot].abort=null}};ja.EMPTY=ja.prototype.EMPTY=0;ja.LOADING=ja.prototype.LOADING=1;ja.DONE=ja.prototype.DONE=2;Object.defineProperties(ja.prototype,{EMPTY:rg,LOADING:rg,DONE:rg,readAsArrayBuffer:Cs,readAsBinaryString:Cs,readAsText:Cs,readAsDataURL:Cs,abort:Cs,readyState:Cs,result:Cs,error:Cs,onloadstart:Cs,onprogress:Cs,onload:Cs,onabort:Cs,onerror:Cs,onloadend:Cs,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(ja,{EMPTY:rg,LOADING:rg,DONE:rg});tae.exports={FileReader:ja}});var cN=A((kjt,nae)=>{"use strict";nae.exports={kConstruct:mr().kConstruct}});var oae=A((Pjt,sae)=>{"use strict";var J8e=require("node:assert"),{URLSerializer:iae}=gs(),{isValidHeaderName:Y8e}=js();function K8e(t,e,r=!1){let n=iae(t,r),i=iae(e,r);return n===i}o(K8e,"urlEquals");function X8e(t){J8e(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Y8e(r)&&e.push(r);return e}o(X8e,"getFieldValues");sae.exports={urlEquals:K8e,getFieldValues:X8e}});var lae=A((Ljt,cae)=>{"use strict";var{kConstruct:Z8e}=cN(),{urlEquals:e6e,getFieldValues:MU}=oae(),{kEnumerableProperty:Zh,isDisturbed:t6e}=at(),{webidl:ve}=ai(),{Response:r6e,cloneResponse:n6e,fromInnerResponse:i6e}=Gb(),{Request:Tu,fromInnerRequest:s6e}=eg(),{kState:Wa}=Fd(),{fetching:o6e}=Vb(),{urlIsHttpHttpsScheme:lN,createDeferredPromise:ng,readAllBytes:a6e}=js(),UU=require("node:assert"),uN=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Z8e&&ve.illegalConstructor(),ve.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){ve.brandCheck(this,t);let n="Cache.match";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.CacheQueryOptions(r,n,"options");let i=this.#i(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){ve.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=ve.converters.RequestInfo(e,n,"request")),r=ve.converters.CacheQueryOptions(r,n,"options"),this.#i(e,r)}async add(e){ve.brandCheck(this,t);let r="Cache.add";ve.argumentLengthCheck(arguments,1,r),e=ve.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){ve.brandCheck(this,t);let r="Cache.addAll";ve.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let h of e){if(h===void 0)throw ve.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(h=ve.converters.RequestInfo(h),typeof h=="string")continue;let p=h[Wa];if(!lN(p.url)||p.method!=="GET")throw ve.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let h of e){let p=new Tu(h)[Wa];if(!lN(p.url))throw ve.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let m=ng();s.push(o6e({request:p,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)m.reject(ve.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let E=MU(g.headersList.get("vary"));for(let y of E)if(y==="*"){m.reject(ve.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of s)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){m.reject(new DOMException("aborted","AbortError"));return}m.resolve(g)}})),n.push(m.promise)}let c=await Promise.all(n),l=[],u=0;for(let h of c){let p={type:"put",request:i[u],response:h};l.push(p),u++}let d=ng(),f=null;try{this.#t(l)}catch(h){f=h}return queueMicrotask(()=>{f===null?d.resolve(void 0):d.reject(f)}),d.promise}async put(e,r){ve.brandCheck(this,t);let n="Cache.put";ve.argumentLengthCheck(arguments,2,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.Response(r,n,"response");let i=null;if(e instanceof Tu?i=e[Wa]:i=new Tu(e)[Wa],!lN(i.url)||i.method!=="GET")throw ve.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Wa];if(s.status===206)throw ve.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let p=MU(s.headersList.get("vary"));for(let m of p)if(m==="*")throw ve.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(t6e(s.body.stream)||s.body.stream.locked))throw ve.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=n6e(s),c=ng();if(s.body!=null){let m=s.body.stream.getReader();a6e(m).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:i,response:a};l.push(u);let d=await c.promise;a.body!=null&&(a.body.source=d);let f=ng(),h=null;try{this.#t(l)}catch(p){h=p}return queueMicrotask(()=>{h===null?f.resolve():f.reject(h)}),f.promise}async delete(e,r={}){ve.brandCheck(this,t);let n="Cache.delete";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof Tu){if(i=e[Wa],i.method!=="GET"&&!r.ignoreMethod)return!1}else UU(typeof e=="string"),i=new Tu(e)[Wa];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=ng(),l=null,u;try{u=this.#t(s)}catch(d){l=d}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){ve.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=ve.converters.RequestInfo(e,n,"request")),r=ve.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof Tu){if(i=e[Wa],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Tu(e)[Wa]);let s=ng(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#n(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=s6e(l,new AbortController().signal,"immutable");c.push(u)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#n(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);UU(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!lN(l.url))throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let u of c){let d=r.indexOf(u);UU(d!==-1),r.splice(d,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#n(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#r(e,c,l,r)&&i.push(a)}return i}#r(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!e6e(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=MU(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),d=e.headersList.get(l);if(u!==d)return!1}return!0}#i(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof Tu){if(i=e[Wa],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Tu(e)[Wa]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#n(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=i6e(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(uN.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Zh,matchAll:Zh,add:Zh,addAll:Zh,put:Zh,delete:Zh,keys:Zh});var aae=[{key:"ignoreSearch",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];ve.converters.CacheQueryOptions=ve.dictionaryConverter(aae);ve.converters.MultiCacheQueryOptions=ve.dictionaryConverter([...aae,{key:"cacheName",converter:ve.converters.DOMString}]);ve.converters.Response=ve.interfaceConverter(r6e);ve.converters["sequence<RequestInfo>"]=ve.sequenceConverter(ve.converters.RequestInfo);cae.exports={Cache:uN}});var dae=A((Mjt,uae)=>{"use strict";var{kConstruct:$b}=cN(),{Cache:dN}=lae(),{webidl:Bi}=ai(),{kEnumerableProperty:jb}=at(),fN=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==$b&&Bi.illegalConstructor(),Bi.util.markAsUncloneable(this)}async match(e,r={}){if(Bi.brandCheck(this,t),Bi.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Bi.converters.RequestInfo(e),r=Bi.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new dN($b,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new dN($b,n).match(e,r);if(s!==void 0)return s}}async has(e){Bi.brandCheck(this,t);let r="CacheStorage.has";return Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Bi.brandCheck(this,t);let r="CacheStorage.open";if(Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new dN($b,i)}let n=[];return this.#e.set(e,n),new dN($b,n)}async delete(e){Bi.brandCheck(this,t);let r="CacheStorage.delete";return Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Bi.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(fN.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:jb,has:jb,open:jb,delete:jb,keys:jb});uae.exports={CacheStorage:fN}});var hae=A((qjt,fae)=>{"use strict";fae.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var HU=A((Gjt,gae)=>{"use strict";function c6e(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(c6e,"isCTLExcludingHtab");function qU(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(qU,"validateCookieName");function GU(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r<e;){let n=t.charCodeAt(r++);if(n<33||n>126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(GU,"validateCookieValue");function Aae(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r>126||r===59)throw new Error("Invalid cookie path")}}o(Aae,"validateCookiePath");function pae(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(pae,"isLetterOrDigit");function l6e(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r<t.length;++r){let n=t.charCodeAt(r);if(n===46){if(e===0)throw new Error("Invalid cookie domain");if(t.charCodeAt(r-1)===45)throw new Error("Invalid cookie domain");e=0;continue}if(e===0&&!pae(n))throw new Error("Invalid cookie domain");if(!pae(n)&&n!==45)throw new Error("Invalid cookie domain");if(++e>63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(l6e,"validateCookieDomain");var u6e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],d6e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],hN=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function mae(t){return typeof t=="number"&&(t=new Date(t)),`${u6e[t.getUTCDay()]}, ${hN[t.getUTCDate()]} ${d6e[t.getUTCMonth()]} ${t.getUTCFullYear()} ${hN[t.getUTCHours()]}:${hN[t.getUTCMinutes()]}:${hN[t.getUTCSeconds()]} GMT`}o(mae,"toIMFDate");function f6e(t){if(t<0)throw new Error("Invalid cookie max-age")}o(f6e,"validateCookieMaxAge");function h6e(t){if(t.name.length===0)return null;qU(t.name),GU(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"&&(f6e(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(l6e(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Aae(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${mae(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("="),s=n.trim(),a=i.join("=");qU(s),GU(a),e.push(`${s}=${a}`)}return e.join("; ")}o(h6e,"stringify");gae.exports={isCTLExcludingHtab:c6e,validateCookieName:qU,validateCookiePath:Aae,validateCookieValue:GU,toIMFDate:mae,stringify:h6e}});var Eae=A((Vjt,yae)=>{"use strict";var{maxNameValuePairSize:p6e,maxAttributeValueSize:A6e}=hae(),{isCTLExcludingHtab:m6e}=HU(),{collectASequenceOfCodePointsFast:pN}=gs(),g6e=require("node:assert");function y6e(t){if(m6e(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=pN(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=pN("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>p6e?null:{name:n,value:i,...ig(r)}}o(y6e,"parseSetCookie");function ig(t,e={}){if(t.length===0)return e;g6e(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=pN(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=pN("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>A6e)return ig(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return ig(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a=i.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return ig(t,e)}o(ig,"parseUnparsedAttributes");yae.exports={parseSetCookie:y6e,parseUnparsedAttributes:ig}});var wae=A(($jt,bae)=>{"use strict";var{parseSetCookie:E6e}=Eae(),{stringify:C6e}=HU(),{webidl:mt}=ai(),{Headers:AN}=Wh();function b6e(t){mt.argumentLengthCheck(arguments,1,"getCookies"),mt.brandCheck(t,AN,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(b6e,"getCookies");function w6e(t,e,r){mt.brandCheck(t,AN,{strict:!1});let n="deleteCookie";mt.argumentLengthCheck(arguments,2,n),e=mt.converters.DOMString(e,n,"name"),r=mt.converters.DeleteCookieAttributes(r),Cae(t,{name:e,value:"",expires:new Date(0),...r})}o(w6e,"deleteCookie");function I6e(t){mt.argumentLengthCheck(arguments,1,"getSetCookies"),mt.brandCheck(t,AN,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>E6e(r)):[]}o(I6e,"getSetCookies");function Cae(t,e){mt.argumentLengthCheck(arguments,2,"setCookie"),mt.brandCheck(t,AN,{strict:!1}),e=mt.converters.Cookie(e);let r=C6e(e);r&&t.append("Set-Cookie",r)}o(Cae,"setCookie");mt.converters.DeleteCookieAttributes=mt.dictionaryConverter([{converter:mt.nullableConverter(mt.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);mt.converters.Cookie=mt.dictionaryConverter([{converter:mt.converters.DOMString,key:"name"},{converter:mt.converters.DOMString,key:"value"},{converter:mt.nullableConverter(t=>typeof t=="number"?mt.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:mt.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:mt.sequenceConverter(mt.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);bae.exports={getCookies:b6e,deleteCookie:w6e,getSetCookies:I6e,setCookie:Cae}});var og=A((Wjt,Sae)=>{"use strict";var{webidl:xe}=ai(),{kEnumerableProperty:bs}=at(),{kConstruct:Iae}=mr(),{MessagePort:S6e}=require("node:worker_threads"),sg=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Iae){super(arguments[1],arguments[2]),xe.util.markAsUncloneable(this);return}let n="MessageEvent constructor";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,xe.util.markAsUncloneable(this)}get data(){return xe.brandCheck(this,t),this.#e.data}get origin(){return xe.brandCheck(this,t),this.#e.origin}get lastEventId(){return xe.brandCheck(this,t),this.#e.lastEventId}get source(){return xe.brandCheck(this,t),this.#e.source}get ports(){return xe.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(Iae,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:B6e}=sg;delete sg.createFastMessageEvent;var mN=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.CloseEventInit(r),super(e,r),this.#e=r,xe.util.markAsUncloneable(this)}get wasClean(){return xe.brandCheck(this,t),this.#e.wasClean}get code(){return xe.brandCheck(this,t),this.#e.code}get reason(){return xe.brandCheck(this,t),this.#e.reason}},gN=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";xe.argumentLengthCheck(arguments,1,n),super(e,r),xe.util.markAsUncloneable(this),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return xe.brandCheck(this,t),this.#e.message}get filename(){return xe.brandCheck(this,t),this.#e.filename}get lineno(){return xe.brandCheck(this,t),this.#e.lineno}get colno(){return xe.brandCheck(this,t),this.#e.colno}get error(){return xe.brandCheck(this,t),this.#e.error}};Object.defineProperties(sg.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:bs,origin:bs,lastEventId:bs,source:bs,ports:bs,initMessageEvent:bs});Object.defineProperties(mN.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:bs,code:bs,wasClean:bs});Object.defineProperties(gN.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:bs,filename:bs,lineno:bs,colno:bs,error:bs});xe.converters.MessagePort=xe.interfaceConverter(S6e);xe.converters["sequence<MessagePort>"]=xe.sequenceConverter(xe.converters.MessagePort);var VU=[{key:"bubbles",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];xe.converters.MessageEventInit=xe.dictionaryConverter([...VU,{key:"data",converter:xe.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:xe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:xe.nullableConverter(xe.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:xe.converters["sequence<MessagePort>"],defaultValue:o(()=>new Array(0),"defaultValue")}]);xe.converters.CloseEventInit=xe.dictionaryConverter([...VU,{key:"wasClean",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:xe.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);xe.converters.ErrorEventInit=xe.dictionaryConverter([...VU,{key:"message",converter:xe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:xe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:xe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:xe.converters.any}]);Sae.exports={MessageEvent:sg,CloseEvent:mN,ErrorEvent:gN,createFastMessageEvent:B6e}});var ep=A((Yjt,Bae)=>{"use strict";var x6e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",v6e={enumerable:!0,writable:!1,configurable:!1},N6e={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},_6e={NOT_SENT:0,PROCESSING:1,SENT:2},T6e={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},R6e=2**16-1,D6e={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Q6e=Buffer.allocUnsafe(0),k6e={string:1,typedArray:2,arrayBuffer:3,blob:4};Bae.exports={uid:x6e,sentCloseFrameState:_6e,staticPropertyDescriptors:v6e,states:N6e,opcodes:T6e,maxUnsigned16Bit:R6e,parserStates:D6e,emptyBuffer:Q6e,sendHints:k6e}});var Wb=A((Kjt,xae)=>{"use strict";xae.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 Kb=A((Xjt,Pae)=>{"use strict";var{kReadyState:Jb,kController:P6e,kResponse:O6e,kBinaryType:L6e,kWebSocketURL:F6e}=Wb(),{states:Yb,opcodes:Xd}=ep(),{ErrorEvent:M6e,createFastMessageEvent:U6e}=og(),{isUtf8:q6e}=require("node:buffer"),{collectASequenceOfCodePointsFast:G6e,removeHTTPWhitespace:vae}=gs();function H6e(t){return t[Jb]===Yb.CONNECTING}o(H6e,"isConnecting");function V6e(t){return t[Jb]===Yb.OPEN}o(V6e,"isEstablished");function z6e(t){return t[Jb]===Yb.CLOSING}o(z6e,"isClosing");function $6e(t){return t[Jb]===Yb.CLOSED}o($6e,"isClosed");function zU(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(zU,"fireEvent");function j6e(t,e,r){if(t[Jb]!==Yb.OPEN)return;let n;if(e===Xd.TEXT)try{n=kae(r)}catch{_ae(t,"Received invalid UTF-8 in text frame.");return}else e===Xd.BINARY&&(t[L6e]==="blob"?n=new Blob([r]):n=W6e(r));zU("message",t,U6e,{origin:t[F6e].origin,data:n})}o(j6e,"websocketMessageReceived");function W6e(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(W6e,"toArrayBuffer");function J6e(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(J6e,"isValidSubprotocol");function Y6e(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Y6e,"isValidStatusCode");function _ae(t,e){let{[P6e]:r,[O6e]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&zU("error",t,(i,s)=>new M6e(i,s),{error:new Error(e),message:e})}o(_ae,"failWebsocketConnection");function Tae(t){return t===Xd.CLOSE||t===Xd.PING||t===Xd.PONG}o(Tae,"isControlFrame");function Rae(t){return t===Xd.CONTINUATION}o(Rae,"isContinuationFrame");function Dae(t){return t===Xd.TEXT||t===Xd.BINARY}o(Dae,"isTextBinaryFrame");function K6e(t){return Dae(t)||Rae(t)||Tae(t)}o(K6e,"isValidOpcode");function X6e(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=G6e(";",t,e),[i,s=""]=n.split("=");r.set(vae(i,!0,!1),vae(s,!1,!0)),e.position++}return r}o(X6e,"parseExtensions");function Z6e(t){if(t.length===0)return!1;for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(n<48||n>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Z6e,"isValidClientWindowBits");var Qae=typeof process.versions.icu=="string",Nae=Qae?new TextDecoder("utf-8",{fatal:!0}):void 0,kae=Qae?Nae.decode.bind(Nae):function(t){if(q6e(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Pae.exports={isConnecting:H6e,isEstablished:V6e,isClosing:z6e,isClosed:$6e,fireEvent:zU,isValidSubprotocol:J6e,isValidStatusCode:Y6e,failWebsocketConnection:_ae,websocketMessageReceived:j6e,utf8Decode:kae,isControlFrame:Tae,isContinuationFrame:Rae,isTextBinaryFrame:Dae,isValidOpcode:K6e,parseExtensions:X6e,isValidClientWindowBits:Z6e}});var EN=A((e8t,Oae)=>{"use strict";var{maxUnsigned16Bit:eWe}=ep(),yN=16386,$U,Xb=null,ag=yN;try{$U=require("node:crypto")}catch{$U={randomFillSync:o(function(e,r,n){for(let i=0;i<e.length;++i)e[i]=Math.random()*255|0;return e},"randomFillSync")}}function tWe(){return ag===yN&&(ag=0,$U.randomFillSync(Xb??=Buffer.allocUnsafe(yN),0,yN)),[Xb[ag++],Xb[ag++],Xb[ag++],Xb[ag++]]}o(tWe,"generateMask");var jU=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=tWe(),i=r?.byteLength??0,s=i,a=6;i>eWe?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l<i;++l)c[a+l]=r[l]^n[l&3];return c}};Oae.exports={WebsocketFrameSend:jU}});var JU=A((r8t,Hae)=>{"use strict";var{uid:rWe,states:Zb,sentCloseFrameState:CN,emptyBuffer:nWe,opcodes:iWe}=ep(),{kReadyState:e0,kSentClose:bN,kByteParser:Fae,kReceivedClose:Lae,kResponse:Mae}=Wb(),{fireEvent:sWe,failWebsocketConnection:Zd,isClosing:oWe,isClosed:aWe,isEstablished:cWe,parseExtensions:lWe}=Kb(),{channels:cg}=ym(),{CloseEvent:uWe}=og(),{makeRequest:dWe}=eg(),{fetching:fWe}=Vb(),{Headers:hWe,getHeadersList:pWe}=Wh(),{getDecodeSplit:AWe}=js(),{WebsocketFrameSend:mWe}=EN(),WU;try{WU=require("node:crypto")}catch{}function gWe(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=dWe({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let f=pWe(new hWe(s.headers));c.headersList=f}let l=WU.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let f of e)c.headersList.append("sec-websocket-protocol",f);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),fWe({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(f){if(f.type==="error"||f.status!==101){Zd(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Zd(n,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Zd(n,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Zd(n,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),p=WU.createHash("sha1").update(l+rWe).digest("base64");if(h!==p){Zd(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let m=f.headersList.get("Sec-WebSocket-Extensions"),g;if(m!==null&&(g=lWe(m),!g.has("permessage-deflate"))){Zd(n,"Sec-WebSocket-Extensions header does not match.");return}let E=f.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!AWe("sec-websocket-protocol",c.headersList).includes(E)){Zd(n,"Protocol was not set in the opening handshake.");return}f.socket.on("data",Uae),f.socket.on("close",qae),f.socket.on("error",Gae),cg.open.hasSubscribers&&cg.open.publish({address:f.socket.address(),protocol:E,extensions:m}),i(f,g)}})}o(gWe,"establishWebSocketConnection");function yWe(t,e,r,n){if(!(oWe(t)||aWe(t)))if(!cWe(t))Zd(t,"Connection was closed before it was established."),t[e0]=Zb.CLOSING;else if(t[bN]===CN.NOT_SENT){t[bN]=CN.PROCESSING;let i=new mWe;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=nWe,t[Mae].socket.write(i.createFrame(iWe.CLOSE)),t[bN]=CN.SENT,t[e0]=Zb.CLOSING}else t[e0]=Zb.CLOSING}o(yWe,"closeWebSocketConnection");function Uae(t){this.ws[Fae].write(t)||this.pause()}o(Uae,"onSocketData");function qae(){let{ws:t}=this,{[Mae]:e}=t;e.socket.off("data",Uae),e.socket.off("close",qae),e.socket.off("error",Gae);let r=t[bN]===CN.SENT&&t[Lae],n=1005,i="",s=t[Fae].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[Lae]||(n=1006),t[e0]=Zb.CLOSED,sWe("close",t,(a,c)=>new uWe(a,c),{wasClean:r,code:n,reason:i}),cg.close.hasSubscribers&&cg.close.publish({websocket:t,code:n,reason:i})}o(qae,"onSocketClose");function Gae(t){let{ws:e}=this;e[e0]=Zb.CLOSING,cg.socketError.hasSubscribers&&cg.socketError.publish(t),this.destroy()}o(Gae,"onSocketError");Hae.exports={establishWebSocketConnection:gWe,closeWebSocketConnection:yWe}});var zae=A((i8t,Vae)=>{"use strict";var{createInflateRaw:EWe,Z_DEFAULT_WINDOWBITS:CWe}=require("node:zlib"),{isValidClientWindowBits:bWe}=Kb(),{MessageSizeExceededError:wWe}=Rt(),IWe=Buffer.from([0,0,255,255]),wN=Symbol("kBuffer"),t0=Symbol("kLength"),YU=class{static{o(this,"PerMessageDeflate")}#e;#t={};#n=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#n=r.maxPayloadSize}decompress(e,r,n){if(!this.#e){let i=CWe;if(this.#t.serverMaxWindowBits){if(!bWe(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=EWe({windowBits:i})}catch(s){n(s);return}this.#e[wN]=[],this.#e[t0]=0,this.#e.on("data",s=>{if(this.#e[t0]+=s.length,this.#n>0&&this.#e[t0]>this.#n){n(new wWe),this.#e.removeAllListeners(),this.#e=null;return}this.#e[wN].push(s)}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(IWe),this.#e.flush(()=>{if(!this.#e)return;let i=Buffer.concat(this.#e[wN],this.#e[t0]);this.#e[wN].length=0,this.#e[t0]=0,n(null,i)})}};Vae.exports={PerMessageDeflate:YU}});var tce=A((o8t,ece)=>{"use strict";var{Writable:SWe}=require("node:stream"),BWe=require("node:assert"),{parserStates:ws,opcodes:lg,states:xWe,emptyBuffer:$ae,sentCloseFrameState:jae}=ep(),{kReadyState:vWe,kSentClose:Wae,kResponse:Jae,kReceivedClose:Yae}=Wb(),{channels:IN}=ym(),{isValidStatusCode:NWe,isValidOpcode:_We,failWebsocketConnection:to,websocketMessageReceived:Kae,utf8Decode:TWe,isControlFrame:KU,isTextBinaryFrame:XU,isContinuationFrame:RWe}=Kb(),{WebsocketFrameSend:Xae}=EN(),{closeWebSocketConnection:Zae}=JU(),{PerMessageDeflate:DWe}=zae(),{MessageSizeExceededError:ZU}=Rt();function r0(t,e,r){Zae(t,e,r,Buffer.byteLength(r)),to(t,r)}o(r0,"failWebsocketConnectionWithCode");var eq=class extends SWe{static{o(this,"ByteParser")}#e=[];#t=0;#n=0;#r=!1;#i=ws.INFO;#s={};#l=[];#a;#c;#o;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#c=n.maxFragments??0,this.#o=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new DWe(r,n))}_write(e,r,n){this.#e.push(e),this.#n+=e.length,this.#r=!0,this.run(n)}#f(){return this.#o>0&&!KU(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#o?(r0(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#i===ws.INFO){if(this.#n<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==lg.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,d=r[0]&16;if(!_We(i))return to(this.ws,"Invalid opcode received"),e();if(s)return to(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){to(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||d!==0){to(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!XU(i)){to(this.ws,"Invalid frame type was fragmented.");return}if(XU(i)&&this.#l.length>0){to(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){to(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&KU(i)){to(this.ws,"Control frame either too large or fragmented");return}if(RWe(i)&&this.#l.length===0&&!this.#s.compressed){to(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.payloadLength=c,this.#i=ws.READ_DATA,!this.#f())return}else c===126?this.#i=ws.PAYLOADLENGTH_16:c===127&&(this.#i=ws.PAYLOADLENGTH_64);XU(i)&&(this.#s.binaryType=i,this.#s.compressed=l!==0),this.#s.opcode=i,this.#s.masked=s,this.#s.fin=n,this.#s.fragmented=a}else if(this.#i===ws.PAYLOADLENGTH_16){if(this.#n<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#i=ws.READ_DATA,!this.#f())return}else if(this.#i===ws.PAYLOADLENGTH_64){if(this.#n<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),i=r.readUInt32BE(4);if(n!==0||i>2**31-1){to(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=i,this.#i=ws.READ_DATA,!this.#f())return}else if(this.#i===ws.READ_DATA){if(this.#n<this.#s.payloadLength)return e();let r=this.consume(this.#s.payloadLength);if(KU(this.#s.opcode))this.#r=this.parseControlFrame(r),this.#i=ws.INFO;else if(this.#s.compressed){this.#a.get("permessage-deflate").decompress(r,this.#s.fin,(n,i)=>{if(n){let s=n instanceof ZU?1009:1007;r0(this.ws,s,n.message);return}if(this.writeFragments(i)){if(this.#o>0&&this.#t>this.#o){r0(this.ws,1009,new ZU().message);return}if(!this.#s.fin){this.#i=ws.INFO,this.#r=!0,this.run(e);return}Kae(this.ws,this.#s.binaryType,this.consumeFragments()),this.#r=!0,this.#i=ws.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#o>0&&this.#t>this.#o){r0(this.ws,1009,new ZU().message);return}!this.#s.fragmented&&this.#s.fin&&Kae(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=ws.INFO}}}consume(e){if(e>this.#n)throw new Error("Called consume() before buffers satiated.");if(e===0)return $ae;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#n-=e,r}writeFragments(e){return this.#c>0&&this.#l.length===this.#c?(r0(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#l.push(e),!0)}consumeFragments(){let e=this.#l;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#l=[],this.#t=0,r}parseCloseBody(e){BWe(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!NWe(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=TWe(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#s;if(r===lg.CLOSE){if(n===1)return to(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:i,reason:s}=this.#s.closeInfo;return Zae(this.ws,i,s,s.length),to(this.ws,s),!1}if(this.ws[Wae]!==jae.SENT){let i=$ae;this.#s.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#s.closeInfo.code,0));let s=new Xae(i);this.ws[Jae].socket.write(s.createFrame(lg.CLOSE),a=>{a||(this.ws[Wae]=jae.SENT)})}return this.ws[vWe]=xWe.CLOSING,this.ws[Yae]=!0,!1}else if(r===lg.PING){if(!this.ws[Yae]){let i=new Xae(e);this.ws[Jae].socket.write(i.createFrame(lg.PONG)),IN.ping.hasSubscribers&&IN.ping.publish({payload:e})}}else r===lg.PONG&&IN.pong.hasSubscribers&&IN.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};ece.exports={ByteParser:eq}});var oce=A((c8t,sce)=>{"use strict";var{WebsocketFrameSend:QWe}=EN(),{opcodes:rce,sendHints:ug}=ep(),kWe=oM(),nce=Buffer[Symbol.species],tq=class{static{o(this,"SendQueue")}#e=new kWe;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==ug.blob){let s=ice(e,n);if(!this.#t)this.#n.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=ice(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#n.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function ice(t,e){return new QWe(PWe(t,e)).createFrame(e===ug.string?rce.TEXT:rce.BINARY)}o(ice,"createFrame");function PWe(t,e){switch(e){case ug.string:return Buffer.from(t);case ug.arrayBuffer:case ug.blob:return new nce(t);case ug.typedArray:return new nce(t.buffer,t.byteOffset,t.byteLength)}}o(PWe,"toBuffer");sce.exports={SendQueue:tq}});var mce=A((u8t,Ace)=>{"use strict";var{webidl:He}=ai(),{URLSerializer:OWe}=gs(),{environmentSettingsObject:ace}=js(),{staticPropertyDescriptors:ef,states:n0,sentCloseFrameState:LWe,sendHints:SN}=ep(),{kWebSocketURL:cce,kReadyState:rq,kController:lce,kBinaryType:BN,kResponse:uce,kSentClose:FWe,kByteParser:MWe}=Wb(),{isConnecting:UWe,isEstablished:qWe,isClosing:GWe,isValidSubprotocol:HWe,fireEvent:dce}=Kb(),{establishWebSocketConnection:VWe,closeWebSocketConnection:fce}=JU(),{ByteParser:zWe}=tce(),{kEnumerableProperty:qo,isBlobLike:hce}=at(),{getGlobalDispatcher:$We}=Uv(),{types:pce}=require("node:util"),{ErrorEvent:jWe,CloseEvent:WWe}=og(),{SendQueue:JWe}=oce(),ro=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#n="";#r="";#i;constructor(e,r=[]){super(),He.util.markAsUncloneable(this);let n="WebSocket constructor";He.argumentLengthCheck(arguments,1,n);let i=He.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=He.converters.USVString(e,n,"url"),r=i.protocols;let s=ace.settingsObject.baseUrl,a;try{a=new URL(e,s)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>HWe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[cce]=new URL(a.href);let c=ace.settingsObject;this[lce]=VWe(a,r,c,this,(l,u)=>this.#s(l,u),i),this[rq]=t.CONNECTING,this[FWe]=LWe.NOT_SENT,this[BN]="blob"}close(e=void 0,r=void 0){He.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=He.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=He.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");fce(this,e,r,i)}send(e){He.brandCheck(this,t);let r="WebSocket.send";if(He.argumentLengthCheck(arguments,1,r),e=He.converters.WebSocketSendData(e,r,"data"),UWe(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!qWe(this)||GWe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},SN.string)}else pce.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},SN.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},SN.typedArray)):hce(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},SN.blob))}get readyState(){return He.brandCheck(this,t),this[rq]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),OWe(this[cce])}get extensions(){return He.brandCheck(this,t),this.#r}get protocol(){return He.brandCheck(this,t),this.#n}get onopen(){return He.brandCheck(this,t),this.#e.open}set onopen(e){He.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 He.brandCheck(this,t),this.#e.error}set onerror(e){He.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 He.brandCheck(this,t),this.#e.close}set onclose(e){He.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 He.brandCheck(this,t),this.#e.message}set onmessage(e){He.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 He.brandCheck(this,t),this[BN]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[BN]="blob":this[BN]=e}#s(e,r){this[uce]=e;let n=this[lce]?.dispatcher?.webSocketOptions,i=n?.maxFragments,s=n?.maxPayloadSize,a=new zWe(this,r,{maxFragments:i,maxPayloadSize:s});a.on("drain",YWe),a.on("error",KWe.bind(this)),e.socket.ws=this,this[MWe]=a,this.#i=new JWe(e.socket),this[rq]=n0.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#r=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#n=l),dce("open",this)}};ro.CONNECTING=ro.prototype.CONNECTING=n0.CONNECTING;ro.OPEN=ro.prototype.OPEN=n0.OPEN;ro.CLOSING=ro.prototype.CLOSING=n0.CLOSING;ro.CLOSED=ro.prototype.CLOSED=n0.CLOSED;Object.defineProperties(ro.prototype,{CONNECTING:ef,OPEN:ef,CLOSING:ef,CLOSED:ef,url:qo,readyState:qo,bufferedAmount:qo,onopen:qo,onerror:qo,onclose:qo,close:qo,onmessage:qo,binaryType:qo,send:qo,extensions:qo,protocol:qo,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(ro,{CONNECTING:ef,OPEN:ef,CLOSING:ef,CLOSED:ef});He.converters["sequence<DOMString>"]=He.sequenceConverter(He.converters.DOMString);He.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return He.util.Type(t)==="Object"&&Symbol.iterator in t?He.converters["sequence<DOMString>"](t):He.converters.DOMString(t,e,r)};He.converters.WebSocketInit=He.dictionaryConverter([{key:"protocols",converter:He.converters["DOMString or sequence<DOMString>"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:He.converters.any,defaultValue:o(()=>$We(),"defaultValue")},{key:"headers",converter:He.nullableConverter(He.converters.HeadersInit)}]);He.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return He.util.Type(t)==="Object"&&!(Symbol.iterator in t)?He.converters.WebSocketInit(t):{protocols:He.converters["DOMString or sequence<DOMString>"](t)}};He.converters.WebSocketSendData=function(t){if(He.util.Type(t)==="Object"){if(hce(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||pce.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function YWe(){this.ws[uce].socket.resume()}o(YWe,"onParserDrain");function KWe(t){let e,r;t instanceof WWe?(e=t.reason,r=t.code):e=t.message,dce("error",this,()=>new jWe("error",{error:t,message:e})),fce(this,r)}o(KWe,"onParserError");Ace.exports={WebSocket:ro}});var nq=A((f8t,gce)=>{"use strict";function XWe(t){return t.indexOf("\0")===-1}o(XWe,"isValidLastEventId");function ZWe(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}o(ZWe,"isASCIINumber");function eJe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(eJe,"delay");gce.exports={isValidLastEventId:XWe,isASCIINumber:ZWe,delay:eJe}});var bce=A((p8t,Cce)=>{"use strict";var{Transform:tJe}=require("node:stream"),{isASCIINumber:yce,isValidLastEventId:Ece}=nq(),Ru=[239,187,191],iq=10,xN=13,rJe=58,nJe=32,sq=class extends tJe{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Ru[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Ru[0]&&this.buffer[1]===Ru[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ru[0]&&this.buffer[1]===Ru[1]&&this.buffer[2]===Ru[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Ru[0]&&this.buffer[1]===Ru[1]&&this.buffer[2]===Ru[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]===iq){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===iq||this.buffer[this.pos]===xN){this.buffer[this.pos]===xN&&(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]===iq||this.buffer[this.pos]===xN){this.buffer[this.pos]===xN&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}n()}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(rJe);if(n===0)return;let i="",s="";if(n!==-1){i=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===nJe&&++a,s=e.subarray(a).toString("utf8")}else i=e.toString("utf8"),s="";switch(i){case"data":r[i]===void 0?r[i]=s:r[i]+=`
${s}`;break;case"retry":yce(s)&&(r[i]=s);break;case"id":Ece(s)&&(r[i]=s);break;case"event":s.length>0&&(r[i]=s);break}}processEvent(e){e.retry&&yce(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Ece(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}}};Cce.exports={EventSourceStream:sq}});var _ce=A((m8t,Nce)=>{"use strict";var{pipeline:iJe}=require("node:stream"),{fetching:sJe}=Vb(),{makeRequest:oJe}=eg(),{webidl:Du}=ai(),{EventSourceStream:aJe}=bce(),{parseMIMEType:cJe}=gs(),{createFastMessageEvent:lJe}=og(),{isNetworkError:wce}=Gb(),{delay:uJe}=nq(),{kEnumerableProperty:tp}=at(),{environmentSettingsObject:Ice}=js(),Sce=!1,Bce=3e3,i0=0,xce=1,s0=2,dJe="anonymous",fJe="use-credentials",dg=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=i0;#i=null;#s=null;#l;#a;constructor(e,r={}){super(),Du.util.markAsUncloneable(this);let n="EventSource constructor";Du.argumentLengthCheck(arguments,1,n),Sce||(Sce=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Du.converters.USVString(e,n,"url"),r=Du.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#l=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Bce};let i=Ice,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=dJe;r.withCredentials&&(a=fJe,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Ice.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#i=oJe(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===s0)return;this.#r=i0;let e={request:this.#i,dispatcher:this.#l},r=o(n=>{wce(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#o()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(wce(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#o();return}let i=n.headersList.get("content-type",!0),s=i!==null?cJe(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=xce,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new aJe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(lJe(l.type,l.options))},"push")});iJe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=sJe(e)}async#o(){this.#r!==s0&&(this.#r=i0,this.dispatchEvent(new Event("error")),await uJe(this.#a.reconnectionTime),this.#r===i0&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Du.brandCheck(this,t),this.#r!==s0&&(this.#r=s0,this.#s.abort(),this.#i=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},vce={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:i0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:xce,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:s0,writable:!1}};Object.defineProperties(dg,vce);Object.defineProperties(dg.prototype,vce);Object.defineProperties(dg.prototype,{close:tp,onerror:tp,onmessage:tp,onopen:tp,readyState:tp,url:tp,withCredentials:tp});Du.converters.EventSourceInitDict=Du.dictionaryConverter([{key:"withCredentials",converter:Du.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Du.converters.any}]);Nce.exports={EventSource:dg,defaultReconnectionTime:Bce}});var tf=A((y8t,Ue)=>{"use strict";var hJe=Fm(),Tce=lb(),pJe=Mm(),AJe=vne(),mJe=Um(),gJe=xM(),yJe=Kne(),EJe=iie(),Rce=Rt(),NN=at(),{InvalidArgumentError:vN}=Rce,fg=Vie(),CJe=db(),bJe=aU(),wJe=xse(),IJe=uU(),SJe=WM(),BJe=Tv(),{getGlobalDispatcher:Dce,setGlobalDispatcher:xJe}=Uv(),vJe=qv(),NJe=Ev(),_Je=Cv();Object.assign(Tce.prototype,fg);Ue.exports.Dispatcher=Tce;Ue.exports.Client=hJe;Ue.exports.Pool=pJe;Ue.exports.BalancedPool=AJe;Ue.exports.Agent=mJe;Ue.exports.ProxyAgent=gJe;Ue.exports.EnvHttpProxyAgent=yJe;Ue.exports.RetryAgent=EJe;Ue.exports.RetryHandler=BJe;Ue.exports.DecoratorHandler=vJe;Ue.exports.RedirectHandler=NJe;Ue.exports.createRedirectInterceptor=_Je;Ue.exports.interceptors={redirect:Qse(),retry:Pse(),dump:Lse(),dns:Use()};Ue.exports.buildConnector=CJe;Ue.exports.errors=Rce;Ue.exports.util={parseHeaders:NN.parseHeaders,headerNameToString:NN.headerNameToString};function o0(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new vN("invalid url");if(r!=null&&typeof r!="object")throw new vN("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new vN("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(NN.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=NN.parseURL(e);let{agent:i,dispatcher:s=Dce()}=r;if(i)throw new vN("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(o0,"makeDispatcher");Ue.exports.setGlobalDispatcher=xJe;Ue.exports.getGlobalDispatcher=Dce;var TJe=Vb().fetch;Ue.exports.fetch=o(async function(e,r=void 0){try{return await TJe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ue.exports.Headers=Wh().Headers;Ue.exports.Response=Gb().Response;Ue.exports.Request=eg().Request;Ue.exports.FormData=yb().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=rae().FileReader;var{setGlobalOrigin:RJe,getGlobalOrigin:DJe}=vF();Ue.exports.setGlobalOrigin=RJe;Ue.exports.getGlobalOrigin=DJe;var{CacheStorage:QJe}=dae(),{kConstruct:kJe}=cN();Ue.exports.caches=new QJe(kJe);var{deleteCookie:PJe,getCookies:OJe,getSetCookies:LJe,setCookie:FJe}=wae();Ue.exports.deleteCookie=PJe;Ue.exports.getCookies=OJe;Ue.exports.getSetCookies=LJe;Ue.exports.setCookie=FJe;var{parseMIMEType:MJe,serializeAMimeType:UJe}=gs();Ue.exports.parseMIMEType=MJe;Ue.exports.serializeAMimeType=UJe;var{CloseEvent:qJe,ErrorEvent:GJe,MessageEvent:HJe}=og();Ue.exports.WebSocket=mce().WebSocket;Ue.exports.CloseEvent=qJe;Ue.exports.ErrorEvent=GJe;Ue.exports.MessageEvent=HJe;Ue.exports.request=o0(fg.request);Ue.exports.stream=o0(fg.stream);Ue.exports.pipeline=o0(fg.pipeline);Ue.exports.connect=o0(fg.connect);Ue.exports.upgrade=o0(fg.upgrade);Ue.exports.MockClient=bJe;Ue.exports.MockPool=IJe;Ue.exports.MockAgent=wJe;Ue.exports.mockErrors=SJe;var{EventSource:VJe}=_ce();Ue.exports.EventSource=VJe});var p0=A((G6t,ule)=>{"use strict";var m9e="2.0.0",g9e=Number.MAX_SAFE_INTEGER||9007199254740991,y9e=16,E9e=250,C9e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ule.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:y9e,MAX_SAFE_BUILD_LENGTH:E9e,MAX_SAFE_INTEGER:g9e,RELEASE_TYPES:C9e,SEMVER_SPEC_VERSION:m9e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var A0=A((H6t,dle)=>{"use strict";var b9e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};dle.exports=b9e});var yg=A((qc,fle)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:_q,MAX_SAFE_BUILD_LENGTH:w9e,MAX_LENGTH:I9e}=p0(),S9e=A0();qc=fle.exports={};var B9e=qc.re=[],x9e=qc.safeRe=[],ce=qc.src=[],v9e=qc.safeSrc=[],le=qc.t={},N9e=0,Tq="[a-zA-Z0-9-]",_9e=[["\\s",1],["\\d",I9e],[Tq,w9e]],T9e=o(t=>{for(let[e,r]of _9e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),je=o((t,e,r)=>{let n=T9e(e),i=N9e++;S9e(t,i,e),le[t]=i,ce[i]=e,v9e[i]=n,B9e[i]=new RegExp(e,r?"g":void 0),x9e[i]=new RegExp(n,r?"g":void 0)},"createToken");je("NUMERICIDENTIFIER","0|[1-9]\\d*");je("NUMERICIDENTIFIERLOOSE","\\d+");je("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Tq}*`);je("MAINVERSION",`(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})`);je("MAINVERSIONLOOSE",`(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})`);je("PRERELEASEIDENTIFIER",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIER]})`);je("PRERELEASEIDENTIFIERLOOSE",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIERLOOSE]})`);je("PRERELEASE",`(?:-(${ce[le.PRERELEASEIDENTIFIER]}(?:\\.${ce[le.PRERELEASEIDENTIFIER]})*))`);je("PRERELEASELOOSE",`(?:-?(${ce[le.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ce[le.PRERELEASEIDENTIFIERLOOSE]})*))`);je("BUILDIDENTIFIER",`${Tq}+`);je("BUILD",`(?:\\+(${ce[le.BUILDIDENTIFIER]}(?:\\.${ce[le.BUILDIDENTIFIER]})*))`);je("FULLPLAIN",`v?${ce[le.MAINVERSION]}${ce[le.PRERELEASE]}?${ce[le.BUILD]}?`);je("FULL",`^${ce[le.FULLPLAIN]}$`);je("LOOSEPLAIN",`[v=\\s]*${ce[le.MAINVERSIONLOOSE]}${ce[le.PRERELEASELOOSE]}?${ce[le.BUILD]}?`);je("LOOSE",`^${ce[le.LOOSEPLAIN]}$`);je("GTLT","((?:<|>)?=?)");je("XRANGEIDENTIFIERLOOSE",`${ce[le.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);je("XRANGEIDENTIFIER",`${ce[le.NUMERICIDENTIFIER]}|x|X|\\*`);je("XRANGEPLAIN",`[v=\\s]*(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:${ce[le.PRERELEASE]})?${ce[le.BUILD]}?)?)?`);je("XRANGEPLAINLOOSE",`[v=\\s]*(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:${ce[le.PRERELEASELOOSE]})?${ce[le.BUILD]}?)?)?`);je("XRANGE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAIN]}$`);je("XRANGELOOSE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAINLOOSE]}$`);je("COERCEPLAIN",`(^|[^\\d])(\\d{1,${_q}})(?:\\.(\\d{1,${_q}}))?(?:\\.(\\d{1,${_q}}))?`);je("COERCE",`${ce[le.COERCEPLAIN]}(?:$|[^\\d])`);je("COERCEFULL",ce[le.COERCEPLAIN]+`(?:${ce[le.PRERELEASE]})?(?:${ce[le.BUILD]})?(?:$|[^\\d])`);je("COERCERTL",ce[le.COERCE],!0);je("COERCERTLFULL",ce[le.COERCEFULL],!0);je("LONETILDE","(?:~>?)");je("TILDETRIM",`(\\s*)${ce[le.LONETILDE]}\\s+`,!0);qc.tildeTrimReplace="$1~";je("TILDE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAIN]}$`);je("TILDELOOSE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAINLOOSE]}$`);je("LONECARET","(?:\\^)");je("CARETTRIM",`(\\s*)${ce[le.LONECARET]}\\s+`,!0);qc.caretTrimReplace="$1^";je("CARET",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAIN]}$`);je("CARETLOOSE",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAINLOOSE]}$`);je("COMPARATORLOOSE",`^${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]})$|^$`);je("COMPARATOR",`^${ce[le.GTLT]}\\s*(${ce[le.FULLPLAIN]})$|^$`);je("COMPARATORTRIM",`(\\s*)${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]}|${ce[le.XRANGEPLAIN]})`,!0);qc.comparatorTrimReplace="$1$2$3";je("HYPHENRANGE",`^\\s*(${ce[le.XRANGEPLAIN]})\\s+-\\s+(${ce[le.XRANGEPLAIN]})\\s*$`);je("HYPHENRANGELOOSE",`^\\s*(${ce[le.XRANGEPLAINLOOSE]})\\s+-\\s+(${ce[le.XRANGEPLAINLOOSE]})\\s*$`);je("STAR","(<|>)?=?\\s*\\*");je("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");je("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ON=A((z6t,hle)=>{"use strict";var R9e=Object.freeze({loose:!0}),D9e=Object.freeze({}),Q9e=o(t=>t?typeof t!="object"?R9e:t:D9e,"parseOptions");hle.exports=Q9e});var Rq=A((j6t,mle)=>{"use strict";var ple=/^[0-9]+$/,Ale=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=ple.test(t),n=ple.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),k9e=o((t,e)=>Ale(e,t),"rcompareIdentifiers");mle.exports={compareIdentifiers:Ale,rcompareIdentifiers:k9e}});var xi=A((J6t,yle)=>{"use strict";var LN=A0(),{MAX_LENGTH:gle,MAX_SAFE_INTEGER:FN}=p0(),{safeRe:MN,t:UN}=yg(),P9e=ON(),{compareIdentifiers:Dq}=Rq(),Qq=class t{static{o(this,"SemVer")}constructor(e,r){if(r=P9e(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>gle)throw new TypeError(`version is longer than ${gle} characters`);LN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?MN[UN.LOOSE]:MN[UN.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>FN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>FN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>FN||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<FN)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(LN("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=e.prerelease[r];if(LN("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Dq(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(LN("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Dq(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?MN[UN.PRERELEASELOOSE]:MN[UN.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),Dq(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};yle.exports=Qq});var op=A((K6t,Cle)=>{"use strict";var Ele=xi(),O9e=o((t,e,r=!1)=>{if(t instanceof Ele)return t;try{return new Ele(t,e)}catch(n){if(!r)return null;throw n}},"parse");Cle.exports=O9e});var wle=A((Z6t,ble)=>{"use strict";var L9e=op(),F9e=o((t,e)=>{let r=L9e(t,e);return r?r.version:null},"valid");ble.exports=F9e});var Sle=A((tWt,Ile)=>{"use strict";var M9e=op(),U9e=o((t,e)=>{let r=M9e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Ile.exports=U9e});var vle=A((nWt,xle)=>{"use strict";var Ble=xi(),q9e=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Ble(t instanceof Ble?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");xle.exports=q9e});var Tle=A((sWt,_le)=>{"use strict";var Nle=op(),G9e=o((t,e)=>{let r=Nle(t,null,!0),n=Nle(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");_le.exports=G9e});var Dle=A((aWt,Rle)=>{"use strict";var H9e=xi(),V9e=o((t,e)=>new H9e(t,e).major,"major");Rle.exports=V9e});var kle=A((lWt,Qle)=>{"use strict";var z9e=xi(),$9e=o((t,e)=>new z9e(t,e).minor,"minor");Qle.exports=$9e});var Ole=A((dWt,Ple)=>{"use strict";var j9e=xi(),W9e=o((t,e)=>new j9e(t,e).patch,"patch");Ple.exports=W9e});var Fle=A((hWt,Lle)=>{"use strict";var J9e=op(),Y9e=o((t,e)=>{let r=J9e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");Lle.exports=Y9e});var Ho=A((AWt,Ule)=>{"use strict";var Mle=xi(),K9e=o((t,e,r)=>new Mle(t,r).compare(new Mle(e,r)),"compare");Ule.exports=K9e});var Gle=A((gWt,qle)=>{"use strict";var X9e=Ho(),Z9e=o((t,e,r)=>X9e(e,t,r),"rcompare");qle.exports=Z9e});var Vle=A((EWt,Hle)=>{"use strict";var eYe=Ho(),tYe=o((t,e)=>eYe(t,e,!0),"compareLoose");Hle.exports=tYe});var qN=A((bWt,$le)=>{"use strict";var zle=xi(),rYe=o((t,e,r)=>{let n=new zle(t,r),i=new zle(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");$le.exports=rYe});var Wle=A((IWt,jle)=>{"use strict";var nYe=qN(),iYe=o((t,e)=>t.sort((r,n)=>nYe(r,n,e)),"sort");jle.exports=iYe});var Yle=A((BWt,Jle)=>{"use strict";var sYe=qN(),oYe=o((t,e)=>t.sort((r,n)=>sYe(n,r,e)),"rsort");Jle.exports=oYe});var m0=A((vWt,Kle)=>{"use strict";var aYe=Ho(),cYe=o((t,e,r)=>aYe(t,e,r)>0,"gt");Kle.exports=cYe});var GN=A((_Wt,Xle)=>{"use strict";var lYe=Ho(),uYe=o((t,e,r)=>lYe(t,e,r)<0,"lt");Xle.exports=uYe});var kq=A((RWt,Zle)=>{"use strict";var dYe=Ho(),fYe=o((t,e,r)=>dYe(t,e,r)===0,"eq");Zle.exports=fYe});var Pq=A((QWt,eue)=>{"use strict";var hYe=Ho(),pYe=o((t,e,r)=>hYe(t,e,r)!==0,"neq");eue.exports=pYe});var HN=A((PWt,tue)=>{"use strict";var AYe=Ho(),mYe=o((t,e,r)=>AYe(t,e,r)>=0,"gte");tue.exports=mYe});var VN=A((LWt,rue)=>{"use strict";var gYe=Ho(),yYe=o((t,e,r)=>gYe(t,e,r)<=0,"lte");rue.exports=yYe});var Oq=A((MWt,nue)=>{"use strict";var EYe=kq(),CYe=Pq(),bYe=m0(),wYe=HN(),IYe=GN(),SYe=VN(),BYe=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return EYe(t,r,n);case"!=":return CYe(t,r,n);case">":return bYe(t,r,n);case">=":return wYe(t,r,n);case"<":return IYe(t,r,n);case"<=":return SYe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");nue.exports=BYe});var sue=A((qWt,iue)=>{"use strict";var xYe=xi(),vYe=op(),{safeRe:zN,t:$N}=yg(),NYe=o((t,e)=>{if(t instanceof xYe)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?zN[$N.COERCEFULL]:zN[$N.COERCE]);else{let l=e.includePrerelease?zN[$N.COERCERTLFULL]:zN[$N.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return vYe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");iue.exports=NYe});var aue=A((HWt,oue)=>{"use strict";var Lq=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};oue.exports=Lq});var Vo=A((zWt,due)=>{"use strict";var _Ye=/\s+/g,Fq=class t{static{o(this,"Range")}constructor(e,r){if(r=RYe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Mq)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(_Ye," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!lue(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&FYe(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&OYe)|(this.options.loose&&LYe))+":"+e,i=cue.get(n);if(i)return i;let s=this.options.loose,a=s?zi[vi.HYPHENRANGELOOSE]:zi[vi.HYPHENRANGE];e=e.replace(a,WYe(this.options.includePrerelease)),ir("hyphen replace",e),e=e.replace(zi[vi.COMPARATORTRIM],QYe),ir("comparator trim",e),e=e.replace(zi[vi.TILDETRIM],kYe),ir("tilde trim",e),e=e.replace(zi[vi.CARETTRIM],PYe),ir("caret trim",e);let c=e.split(" ").map(f=>MYe(f,this.options)).join(" ").split(/\s+/).map(f=>jYe(f,this.options));s&&(c=c.filter(f=>(ir("loose invalid filter",f,this.options),!!f.match(zi[vi.COMPARATORLOOSE])))),ir("range list",c);let l=new Map,u=c.map(f=>new Mq(f,this.options));for(let f of u){if(lue(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return cue.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>uue(n,r)&&e.set.some(i=>uue(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new DYe(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(JYe(this.set[r],e,this.options))return!0;return!1}};due.exports=Fq;var TYe=aue(),cue=new TYe,RYe=ON(),Mq=g0(),ir=A0(),DYe=xi(),{safeRe:zi,t:vi,comparatorTrimReplace:QYe,tildeTrimReplace:kYe,caretTrimReplace:PYe}=yg(),{FLAG_INCLUDE_PRERELEASE:OYe,FLAG_LOOSE:LYe}=p0(),lue=o(t=>t.value==="<0.0.0-0","isNullSet"),FYe=o(t=>t.value==="","isAny"),uue=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),MYe=o((t,e)=>(t=t.replace(zi[vi.BUILD],""),ir("comp",t,e),t=GYe(t,e),ir("caret",t),t=UYe(t,e),ir("tildes",t),t=VYe(t,e),ir("xrange",t),t=$Ye(t,e),ir("stars",t),t),"parseComparator"),$i=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),UYe=o((t,e)=>t.trim().split(/\s+/).map(r=>qYe(r,e)).join(" "),"replaceTildes"),qYe=o((t,e)=>{let r=e.loose?zi[vi.TILDELOOSE]:zi[vi.TILDE];return t.replace(r,(n,i,s,a,c)=>{ir("tilde",t,n,i,s,a,c);let l;return $i(i)?l="":$i(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:$i(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(ir("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,ir("tilde return",l),l})},"replaceTilde"),GYe=o((t,e)=>t.trim().split(/\s+/).map(r=>HYe(r,e)).join(" "),"replaceCarets"),HYe=o((t,e)=>{ir("caret",t,e);let r=e.loose?zi[vi.CARETLOOSE]:zi[vi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{ir("caret",t,i,s,a,c,l);let u;return $i(s)?u="":$i(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:$i(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(ir("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(ir("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),ir("caret return",u),u})},"replaceCaret"),VYe=o((t,e)=>(ir("replaceXRanges",t,e),t.split(/\s+/).map(r=>zYe(r,e)).join(" ")),"replaceXRanges"),zYe=o((t,e)=>{t=t.trim();let r=e.loose?zi[vi.XRANGELOOSE]:zi[vi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{ir("xRange",t,n,i,s,a,c,l);let u=$i(s),d=u||$i(a),f=d||$i(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),ir("xRange return",n),n})},"replaceXRange"),$Ye=o((t,e)=>(ir("replaceStars",t,e),t.trim().replace(zi[vi.STAR],"")),"replaceStars"),jYe=o((t,e)=>(ir("replaceGTE0",t,e),t.trim().replace(zi[e.includePrerelease?vi.GTE0PRE:vi.GTE0],"")),"replaceGTE0"),WYe=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>($i(n)?r="":$i(i)?r=`>=${n}.0.0${t?"-0":""}`:$i(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,$i(u)?l="":$i(d)?l=`<${+u+1}.0.0-0`:$i(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),JYe=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(ir(t[n].semver),t[n].semver!==Mq.ANY&&t[n].semver.prerelease.length>0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var g0=A((jWt,gue)=>{"use strict";var y0=Symbol("SemVer ANY"),Gq=class t{static{o(this,"Comparator")}static get ANY(){return y0}constructor(e,r){if(r=fue(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),qq("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===y0?this.value="":this.value=this.operator+this.semver.version,qq("comp",this)}parse(e){let r=this.options.loose?hue[pue.COMPARATORLOOSE]:hue[pue.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Aue(n[2],this.options.loose):this.semver=y0}toString(){return this.value}test(e){if(qq("Comparator.test",e,this.options.loose),this.semver===y0||e===y0)return!0;if(typeof e=="string")try{e=new Aue(e,this.options)}catch{return!1}return Uq(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 mue(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new mue(this.value,r).test(e.semver):(r=fue(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("=")||Uq(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Uq(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};gue.exports=Gq;var fue=ON(),{safeRe:hue,t:pue}=yg(),Uq=Oq(),qq=A0(),Aue=xi(),mue=Vo()});var E0=A((JWt,yue)=>{"use strict";var YYe=Vo(),KYe=o((t,e,r)=>{try{e=new YYe(e,r)}catch{return!1}return e.test(t)},"satisfies");yue.exports=KYe});var Cue=A((KWt,Eue)=>{"use strict";var XYe=Vo(),ZYe=o((t,e)=>new XYe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Eue.exports=ZYe});var wue=A((ZWt,bue)=>{"use strict";var eKe=xi(),tKe=Vo(),rKe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new tKe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new eKe(n,r))}),n},"maxSatisfying");bue.exports=rKe});var Sue=A((tJt,Iue)=>{"use strict";var nKe=xi(),iKe=Vo(),sKe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new iKe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new nKe(n,r))}),n},"minSatisfying");Iue.exports=sKe});var vue=A((nJt,xue)=>{"use strict";var Hq=xi(),oKe=Vo(),Bue=m0(),aKe=o((t,e)=>{t=new oKe(t,e);let r=new Hq("0.0.0");if(t.test(r)||(r=new Hq("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let i=t.set[n],s=null;i.forEach(a=>{let c=new Hq(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Bue(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Bue(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");xue.exports=aKe});var _ue=A((sJt,Nue)=>{"use strict";var cKe=Vo(),lKe=o((t,e)=>{try{return new cKe(t,e).range||"*"}catch{return null}},"validRange");Nue.exports=lKe});var jN=A((aJt,Que)=>{"use strict";var uKe=xi(),Due=g0(),{ANY:dKe}=Due,fKe=Vo(),hKe=E0(),Tue=m0(),Rue=GN(),pKe=VN(),AKe=HN(),mKe=o((t,e,r,n)=>{t=new uKe(t,n),e=new fKe(e,n);let i,s,a,c,l;switch(r){case">":i=Tue,s=pKe,a=Rue,c=">",l=">=";break;case"<":i=Rue,s=AKe,a=Tue,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hKe(t,e,n))return!1;for(let u=0;u<e.set.length;++u){let d=e.set[u],f=null,h=null;if(d.forEach(p=>{p.semver===dKe&&(p=new Due(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");Que.exports=mKe});var Pue=A((lJt,kue)=>{"use strict";var gKe=jN(),yKe=o((t,e,r)=>gKe(t,e,">",r),"gtr");kue.exports=yKe});var Lue=A((dJt,Oue)=>{"use strict";var EKe=jN(),CKe=o((t,e,r)=>EKe(t,e,"<",r),"ltr");Oue.exports=CKe});var Uue=A((hJt,Mue)=>{"use strict";var Fue=Vo(),bKe=o((t,e,r)=>(t=new Fue(t,r),e=new Fue(e,r),t.intersects(e,r)),"intersects");Mue.exports=bKe});var Gue=A((AJt,que)=>{"use strict";var wKe=E0(),IKe=Ho();que.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>IKe(d,f,r));for(let d of a)wKe(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length<u.length?l:e}});var Wue=A((mJt,jue)=>{"use strict";var Hue=Vo(),zq=g0(),{ANY:Vq}=zq,C0=E0(),$q=Ho(),SKe=o((t,e,r={})=>{if(t===e)return!0;t=new Hue(t,r),e=new Hue(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=xKe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),BKe=[new zq(">=0.0.0-0")],Vue=[new zq(">=0.0.0")],xKe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Vq){if(e.length===1&&e[0].semver===Vq)return!0;r.includePrerelease?t=BKe:t=Vue}if(e.length===1&&e[0].semver===Vq){if(r.includePrerelease)return!0;e=Vue}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=zue(i,p,r):p.operator==="<"||p.operator==="<="?s=$ue(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=$q(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!C0(p,String(i),r)||s&&!C0(p,String(s),r))return null;for(let m of e)if(!C0(p,String(m),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=zue(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!C0(i.semver,String(p),r))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=$ue(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!C0(s.semver,String(p),r))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),zue=o((t,e,r)=>{if(!t)return e;let n=$q(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),$ue=o((t,e,r)=>{if(!t)return e;let n=$q(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");jue.exports=SKe});var Wq=A((yJt,Kue)=>{"use strict";var jq=yg(),Jue=p0(),vKe=xi(),Yue=Rq(),NKe=op(),_Ke=wle(),TKe=Sle(),RKe=vle(),DKe=Tle(),QKe=Dle(),kKe=kle(),PKe=Ole(),OKe=Fle(),LKe=Ho(),FKe=Gle(),MKe=Vle(),UKe=qN(),qKe=Wle(),GKe=Yle(),HKe=m0(),VKe=GN(),zKe=kq(),$Ke=Pq(),jKe=HN(),WKe=VN(),JKe=Oq(),YKe=sue(),KKe=g0(),XKe=Vo(),ZKe=E0(),e7e=Cue(),t7e=wue(),r7e=Sue(),n7e=vue(),i7e=_ue(),s7e=jN(),o7e=Pue(),a7e=Lue(),c7e=Uue(),l7e=Gue(),u7e=Wue();Kue.exports={parse:NKe,valid:_Ke,clean:TKe,inc:RKe,diff:DKe,major:QKe,minor:kKe,patch:PKe,prerelease:OKe,compare:LKe,rcompare:FKe,compareLoose:MKe,compareBuild:UKe,sort:qKe,rsort:GKe,gt:HKe,lt:VKe,eq:zKe,neq:$Ke,gte:jKe,lte:WKe,cmp:JKe,coerce:YKe,Comparator:KKe,Range:XKe,satisfies:ZKe,toComparators:e7e,maxSatisfying:t7e,minSatisfying:r7e,minVersion:n7e,validRange:i7e,outside:s7e,gtr:o7e,ltr:a7e,intersects:c7e,simplifyRange:l7e,subset:u7e,SemVer:vKe,re:jq.re,src:jq.src,tokens:jq.t,SEMVER_SPEC_VERSION:Jue.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jue.RELEASE_TYPES,compareIdentifiers:Yue.compareIdentifiers,rcompareIdentifiers:Yue.rcompareIdentifiers}});var Ede=A((E9t,yde)=>{yde.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);_7e(i)?r.push.apply(r,i):r.push(i)}return r};var _7e=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var o3=A((C9t,Ide)=>{"use strict";Ide.exports=bde;function bde(t,e,r){t instanceof RegExp&&(t=Cde(t,r)),e instanceof RegExp&&(e=Cde(e,r));var n=wde(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(bde,"balanced");function Cde(t,e){var r=e.match(t);return r?r[0]:null}o(Cde,"maybeMatch");bde.range=wde;function wde(t,e,r){var n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),d=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;d>=0&&!c;)d==l?(n.push(d),l=r.indexOf(t,d+1)):n.length==1?c=[n.pop(),u]:(i=n.pop(),i<s&&(s=i,a=u),u=r.indexOf(e,d+1)),d=l<u&&l>=0?l:u;n.length&&(c=[s,a])}return c}o(wde,"range")});var Rde=A((I9t,Tde)=>{var w9t=Ede(),Sde=o3();Tde.exports=k7e;var Bde="\0SLASH"+Math.random()+"\0",xde="\0OPEN"+Math.random()+"\0",l3="\0CLOSE"+Math.random()+"\0",vde="\0COMMA"+Math.random()+"\0",Nde="\0PERIOD"+Math.random()+"\0",T7e=1e5,R7e=4e6;function a3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(a3,"numeric");function D7e(t){return t.split("\\\\").join(Bde).split("\\{").join(xde).split("\\}").join(l3).split("\\,").join(vde).split("\\.").join(Nde)}o(D7e,"escapeBraces");function Q7e(t){return t.split(Bde).join("\\").split(xde).join("{").split(l3).join("}").split(vde).join(",").split(Nde).join(".")}o(Q7e,"unescapeBraces");function _de(t){if(!t)return[""];var e=[],r=Sde("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=_de(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(_de,"parseCommaParts");function k7e(t,e){if(!t)return[];e=e||{};var r=e.max==null?T7e:e.max,n=e.maxLength==null?R7e:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),c3(D7e(t),r,n,!0).map(Q7e)}o(k7e,"expandTop");function P7e(t){return"{"+t+"}"}o(P7e,"embrace");function O7e(t){return/^-?0\d/.test(t)}o(O7e,"isPadded");function L7e(t,e){return t<=e}o(L7e,"lte");function F7e(t,e){return t>=e}o(F7e,"gte");function B0(t,e,r,n,i,s,a,c){for(var l=[],u=0,d=0;d<t.length;d++)for(var f=0;f<n.length;f++){if(l.length>=i)return l;var h=t[d]+r+n[f];if(!(a&&h.length===e[d])){if(u+h.length>s)return l;l.push(h),c.push(e[d]),u+=h.length}}return l}o(B0,"combine");function M7e(t,e,r,n){var i=t.split(/\.\./),s=[];if(i[0]===void 0||i[1]===void 0)return s;var a=a3(i[0]),c=a3(i[1]),l=Math.max(i[0].length,i[1].length),u=i.length===3&&i[2]!==void 0?Math.max(Math.abs(a3(i[2])),1):1,d=L7e,f=c<a;f&&(u*=-1,d=F7e);for(var h=i.some(O7e),p=0,m=a;d(m,c)&&s.length<r;m+=u){var g;if(e)g=String.fromCharCode(m),g==="\\"&&(g="");else if(g=String(m),h){var E=l-g.length;if(E>0){var y=new Array(E+1).join("0");m<0?g="-"+y+g.slice(1):g=y+g}}if(p+g.length>n)break;s.push(g),p+=g.length}return s}o(M7e,"expandSequence");function c3(t,e,r,n){for(var i=[""],s=[0],a=!1,c=!0,l;;){var u=Sde("{","}",t);if(!u)return B0(i,s,t,[""],e,r,a,[]);var d=u.pre;if(/\$$/.test(d))return B0(i,s,t,[""],e,r,a,[]);var f=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(u.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(u.body),p=f||h,m=u.body.indexOf(",")>=0;if(!p&&!m){if(u.post.match(/,(?!,).*\}/)){t=u.pre+"{"+u.body+l3+u.post,n=!0,c=!0,a=!1,s=[];for(var g=0;g<i.length;g++)s.push(i[g].length);continue}return B0(i,s,d+"{"+u.body+"}"+u.post,[""],e,r,a,[])}c&&(a=n&&!p,c=!1);var E;if(p)E=M7e(u.body,h,e,r);else{var y=_de(u.body);if(y.length===1&&y[0]!==void 0&&(y=c3(y[0],e,r,!1).map(P7e),y.length===1)){if(l=[],i=B0(i,s,d+y[0],[""],e,r,a&&!u.post.length,l),s=l,!u.post.length)break;t=u.post;continue}for(var C=a&&!u.post.length&&!d,w=0;C&&w<i.length;w++)i[w].length!==s[w]&&(C=!1);E=[];var B=0;e:for(var Q=0;Q<y.length;Q++)for(var q=c3(y[Q],e,r,!1),v=0;v<q.length;v++){var $=q[v];if(!(C&&!$)){if(E.length>=e||B+$.length>r)break e;E.push($),B+=$.length}}}if(l=[],i=B0(i,s,d,E,e,r,a&&!u.post.length,l),s=l,!u.post.length)break;t=u.post}return i}o(c3,"expand")});var Lde=A((B9t,Ode)=>{Ode.exports=so;so.Minimatch=yn;var x0=(function(){try{return require("path")}catch{}})()||{sep:"/"};so.sep=x0.sep;var ap=so.GLOBSTAR=yn.GLOBSTAR={},U7e=Rde(),Dde={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},u3="[^/]",d3=u3+"*?",q7e="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",G7e="(?:(?!(?:\\/|^)\\.).)*?",Qde=H7e("().*{}+?[]^$\\!");function H7e(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(H7e,"charSet");var kde=/\/+/;so.filter=V7e;function V7e(t,e){return e=e||{},function(r,n,i){return so(r,t,e)}}o(V7e,"filter");function cf(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(cf,"ext");so.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return so;var e=so,r=o(function(i,s,a){return e(i,s,cf(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,cf(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(cf(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,cf(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(cf(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,cf(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,cf(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,cf(t,s))},r};yn.defaults=function(t){return so.defaults(t).Minimatch};function so(t,e,r){return e_(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new yn(e,r).match(t)}o(so,"minimatch");function yn(t,e){if(!(this instanceof yn))return new yn(t,e);e_(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&x0.sep!=="/"&&(t=t.split(x0.sep).join("/")),this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion!==void 0?e.maxGlobstarRecursion:200,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(yn,"Minimatch");yn.prototype.debug=function(){};yn.prototype.make=z7e;function z7e(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(kde)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(z7e,"make");yn.prototype.parseNegate=$7e;function $7e(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i<s&&t.charAt(i)==="!";i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}o($7e,"parseNegate");so.braceExpand=function(t,e){return Pde(t,e)};yn.prototype.braceExpand=Pde;function Pde(t,e){return e||(this instanceof yn?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,e_(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:U7e(t)}o(Pde,"braceExpand");var j7e=1024*64,e_=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>j7e)throw new TypeError("pattern is too long")},"assertValidPattern");yn.prototype.parse=W7e;var ZN={};function W7e(t,e){e_(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return ap;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,u=!1,d=-1,f=-1,h=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function m(){if(l){switch(l){case"*":n+=d3,i=!0;break;case"?":n+=u3,i=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(m,"clearStateChar");for(var g=0,E=t.length,y;g<E&&(y=t.charAt(g));g++){if(this.debug("%s %s %s %j",t,g,n,y),s&&Qde[y]){n+="\\"+y,s=!1;continue}switch(y){case"/":return!1;case"\\":m(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,g,n,y),u){this.debug(" in class"),y==="!"&&g===f+1&&(y="^"),n+=y;continue}if(y==="*"&&l==="*")continue;p.debug("call clearStateChar %j",l),m(),l=y,r.noext&&m();continue;case"(":if(u){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:g-1,reStart:n.length,open:Dde[l].open,close:Dde[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(u||!a.length){n+="\\)";continue}m(),i=!0;var C=a.pop();n+=C.close,C.type==="!"&&c.push(C),C.reEnd=n.length;continue;case"|":if(u||!a.length||s){n+="\\|",s=!1;continue}m(),n+="|";continue;case"[":if(m(),u){n+="\\"+y;continue}u=!0,f=g,d=n.length,n+=y;continue;case"]":if(g===f+1||!u){n+="\\"+y,s=!1;continue}var w=t.substring(f+1,g);try{RegExp("["+w+"]")}catch{var B=this.parse(w,ZN);n=n.substr(0,d)+"\\["+B[0]+"\\]",i=i||B[1],u=!1;continue}i=!0,u=!1,n+=y;continue;default:m(),s?s=!1:Qde[y]&&!(y==="^"&&u)&&(n+="\\"),n+=y}}for(u&&(w=t.substr(f+1),B=this.parse(w,ZN),n=n.substr(0,d)+"\\["+B[0],i=i||B[1]),C=a.pop();C;C=a.pop()){var Q=n.slice(C.reStart+C.open.length);this.debug("setting tail",n,C),Q=Q.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(st,bt,hr){return hr||(hr="\\"),bt+bt+hr+"|"}),this.debug(`tail=%j
%s`,Q,Q,C,n);var q=C.type==="*"?d3:C.type==="?"?u3:"\\"+C.type;i=!0,n=n.slice(0,C.reStart)+q+"\\("+Q}m(),s&&(n+="\\\\");var v=!1;switch(n.charAt(0)){case"[":case".":case"(":v=!0}for(var $=c.length-1;$>-1;$--){var R=c[$],H=n.slice(0,R.reStart),V=n.slice(R.reStart,R.reEnd-8),J=n.slice(R.reEnd-8,R.reEnd),ee=n.slice(R.reEnd);J+=ee;var ae=H.split("(").length-1,Ae=ee;for(g=0;g<ae;g++)Ae=Ae.replace(/\)[+*?]?/,"");ee=Ae;var Y="";ee===""&&e!==ZN&&(Y="$");var z=H+V+ee+Y+J;n=z}if(n!==""&&i&&(n="(?=.)"+n),v&&(n=h+n),e===ZN)return[n,i];if(!i)return Y7e(t);var Ie=r.nocase?"i":"";try{var Be=new RegExp("^"+n+"$",Ie)}catch{return new RegExp("$.")}return Be._glob=t,Be._src=n,Be}o(W7e,"parse");so.makeRe=function(t,e){return new yn(t,e||{}).makeRe()};yn.prototype.makeRe=J7e;function J7e(){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?d3:e.dot?q7e:G7e,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(a){return a===ap?r:typeof a=="string"?K7e(a):a._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}o(J7e,"makeRe");so.match=function(t,e,r){r=r||{};var n=new yn(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};yn.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;x0.sep!=="/"&&(e=e.split(x0.sep).join("/")),e=e.split(kde),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a<i.length;a++){var c=i[a],l=e;n.matchBase&&c.length===1&&(l=[s]);var u=this.matchOne(l,c,r);if(u)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");yn.prototype.matchOne=function(t,e,r){return e.indexOf(ap)!==-1?this._matchGlobstar(t,e,r,0,0):this._matchOne(t,e,r,0,0)};yn.prototype._matchGlobstar=function(t,e,r,n,i){var s,a=-1;for(s=i;s<e.length;s++)if(e[s]===ap){a=s;break}var c=-1;for(s=e.length-1;s>=0;s--)if(e[s]===ap){c=s;break}var l=e.slice(i,a),u=r?e.slice(a+1):e.slice(a+1,c),d=r?[]:e.slice(c+1);if(l.length){var f=t.slice(n,n+l.length);if(!this._matchOne(f,l,r,0,0))return!1;n+=l.length}var h=0;if(d.length){if(d.length+n>t.length)return!1;var p=t.length-d.length;if(this._matchOne(t,d,r,p,0))h=d.length;else{if(t[t.length-1]!==""||n+d.length===t.length||(p--,!this._matchOne(t,d,r,p,0)))return!1;h=d.length+1}}if(!u.length){var m=!!h;for(s=n;s<t.length-h;s++){var g=String(t[s]);if(m=!0,g==="."||g===".."||!this.options.dot&&g.charAt(0)===".")return!1}return r||m}for(var E=[[[],0]],y=E[0],C=0,w=[0],B=0;B<u.length;B++){var Q=u[B];Q===ap?(w.push(C),y=[[],0],E.push(y)):(y[0].push(Q),C++)}for(var q=E.length-1,v=t.length-h,$=0;$<E.length;$++)E[$][1]=v-(w[q--]+E[$][0].length);return!!this._matchGlobStarBodySections(t,E,n,0,r,0,!!h)};yn.prototype._matchGlobStarBodySections=function(t,e,r,n,i,s,a){var c=e[n];if(!c){for(var l=r;l<t.length;l++){a=!0;var u=t[l];if(u==="."||u===".."||!this.options.dot&&u.charAt(0)===".")return!1}return a}for(var d=c[0],f=c[1];r<=f;){var h=this._matchOne(t.slice(0,r+d.length),d,i,r,0);if(h&&s<this.maxGlobstarRecursion){var p=this._matchGlobStarBodySections(t,e,r+d.length,n+1,i,s+1,a);if(p!==!1)return p}var u=t[r];if(u==="."||u===".."||!this.options.dot&&u.charAt(0)===".")return!1;r++}return i||null};yn.prototype._matchOne=function(t,e,r,n,i){var s,a,c,l;for(s=n,a=i,c=t.length,l=e.length;s<c&&a<l;s++,a++){this.debug("matchOne loop");var u=e[a],d=t[s];if(this.debug(e,u,d),u===!1||u===ap)return!1;var f;if(typeof u=="string"?(f=d===u,this.debug("string match",u,d,f)):(f=d.match(u),this.debug("pattern match",u,d,f)),!f)return!1}if(s===c&&a===l)return!0;if(s===c)return r;if(a===l)return s===c-1&&t[s]==="";throw new Error("wtf?")};function Y7e(t){return t.replace(/\\(.)/g,"$1")}o(Y7e,"globUnescape");function K7e(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(K7e,"regExpEscape")});var Sg=A((j9t,qde)=>{"use strict";var sXe="2.0.0",oXe=Number.MAX_SAFE_INTEGER||9007199254740991,aXe=16,cXe=250,lXe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];qde.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:aXe,MAX_SAFE_BUILD_LENGTH:cXe,MAX_SAFE_INTEGER:oXe,RELEASE_TYPES:lXe,SEMVER_SPEC_VERSION:sXe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var _0=A((W9t,Gde)=>{"use strict";var uXe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Gde.exports=uXe});var Bg=A((Hc,Hde)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:h3,MAX_SAFE_BUILD_LENGTH:dXe,MAX_LENGTH:fXe}=Sg(),hXe=_0();Hc=Hde.exports={};var pXe=Hc.re=[],AXe=Hc.safeRe=[],ue=Hc.src=[],mXe=Hc.safeSrc=[],de=Hc.t={},gXe=0,p3="[a-zA-Z0-9-]",yXe=[["\\s",1],["\\d",fXe],[p3,dXe]],EXe=o(t=>{for(let[e,r]of yXe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),We=o((t,e,r)=>{let n=EXe(e),i=gXe++;hXe(t,i,e),de[t]=i,ue[i]=e,mXe[i]=n,pXe[i]=new RegExp(e,r?"g":void 0),AXe[i]=new RegExp(n,r?"g":void 0)},"createToken");We("NUMERICIDENTIFIER","0|[1-9]\\d*");We("NUMERICIDENTIFIERLOOSE","\\d+");We("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p3}*`);We("MAINVERSION",`(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})`);We("MAINVERSIONLOOSE",`(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASEIDENTIFIER",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIER]})`);We("PRERELEASEIDENTIFIERLOOSE",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASE",`(?:-(${ue[de.PRERELEASEIDENTIFIER]}(?:\\.${ue[de.PRERELEASEIDENTIFIER]})*))`);We("PRERELEASELOOSE",`(?:-?(${ue[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ue[de.PRERELEASEIDENTIFIERLOOSE]})*))`);We("BUILDIDENTIFIER",`${p3}+`);We("BUILD",`(?:\\+(${ue[de.BUILDIDENTIFIER]}(?:\\.${ue[de.BUILDIDENTIFIER]})*))`);We("FULLPLAIN",`v?${ue[de.MAINVERSION]}${ue[de.PRERELEASE]}?${ue[de.BUILD]}?`);We("FULL",`^${ue[de.FULLPLAIN]}$`);We("LOOSEPLAIN",`[v=\\s]*${ue[de.MAINVERSIONLOOSE]}${ue[de.PRERELEASELOOSE]}?${ue[de.BUILD]}?`);We("LOOSE",`^${ue[de.LOOSEPLAIN]}$`);We("GTLT","((?:<|>)?=?)");We("XRANGEIDENTIFIERLOOSE",`${ue[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);We("XRANGEIDENTIFIER",`${ue[de.NUMERICIDENTIFIER]}|x|X|\\*`);We("XRANGEPLAIN",`[v=\\s]*(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:${ue[de.PRERELEASE]})?${ue[de.BUILD]}?)?)?`);We("XRANGEPLAINLOOSE",`[v=\\s]*(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:${ue[de.PRERELEASELOOSE]})?${ue[de.BUILD]}?)?)?`);We("XRANGE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAIN]}$`);We("XRANGELOOSE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAINLOOSE]}$`);We("COERCEPLAIN",`(^|[^\\d])(\\d{1,${h3}})(?:\\.(\\d{1,${h3}}))?(?:\\.(\\d{1,${h3}}))?`);We("COERCE",`${ue[de.COERCEPLAIN]}(?:$|[^\\d])`);We("COERCEFULL",ue[de.COERCEPLAIN]+`(?:${ue[de.PRERELEASE]})?(?:${ue[de.BUILD]})?(?:$|[^\\d])`);We("COERCERTL",ue[de.COERCE],!0);We("COERCERTLFULL",ue[de.COERCEFULL],!0);We("LONETILDE","(?:~>?)");We("TILDETRIM",`(\\s*)${ue[de.LONETILDE]}\\s+`,!0);Hc.tildeTrimReplace="$1~";We("TILDE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAIN]}$`);We("TILDELOOSE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAINLOOSE]}$`);We("LONECARET","(?:\\^)");We("CARETTRIM",`(\\s*)${ue[de.LONECARET]}\\s+`,!0);Hc.caretTrimReplace="$1^";We("CARET",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAIN]}$`);We("CARETLOOSE",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAINLOOSE]}$`);We("COMPARATORLOOSE",`^${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]})$|^$`);We("COMPARATOR",`^${ue[de.GTLT]}\\s*(${ue[de.FULLPLAIN]})$|^$`);We("COMPARATORTRIM",`(\\s*)${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]}|${ue[de.XRANGEPLAIN]})`,!0);Hc.comparatorTrimReplace="$1$2$3";We("HYPHENRANGE",`^\\s*(${ue[de.XRANGEPLAIN]})\\s+-\\s+(${ue[de.XRANGEPLAIN]})\\s*$`);We("HYPHENRANGELOOSE",`^\\s*(${ue[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ue[de.XRANGEPLAINLOOSE]})\\s*$`);We("STAR","(<|>)?=?\\s*\\*");We("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");We("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var n_=A((Y9t,Vde)=>{"use strict";var CXe=Object.freeze({loose:!0}),bXe=Object.freeze({}),wXe=o(t=>t?typeof t!="object"?CXe:t:bXe,"parseOptions");Vde.exports=wXe});var A3=A((X9t,jde)=>{"use strict";var zde=/^[0-9]+$/,$de=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=zde.test(t),n=zde.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),IXe=o((t,e)=>$de(e,t),"rcompareIdentifiers");jde.exports={compareIdentifiers:$de,rcompareIdentifiers:IXe}});var ui=A((eYt,Jde)=>{"use strict";var i_=_0(),{MAX_LENGTH:Wde,MAX_SAFE_INTEGER:s_}=Sg(),{safeRe:o_,t:a_}=Bg(),SXe=n_(),{compareIdentifiers:m3}=A3(),g3=class t{static{o(this,"SemVer")}constructor(e,r){if(r=SXe(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>Wde)throw new TypeError(`version is longer than ${Wde} characters`);i_("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?o_[a_.LOOSE]:o_[a_.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s_||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<s_)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(i_("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=e.prerelease[r];if(i_("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return m3(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(i_("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return m3(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?o_[a_.PRERELEASELOOSE]:o_[a_.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),m3(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Jde.exports=g3});var df=A((rYt,Kde)=>{"use strict";var Yde=ui(),BXe=o((t,e,r=!1)=>{if(t instanceof Yde)return t;try{return new Yde(t,e)}catch(n){if(!r)return null;throw n}},"parse");Kde.exports=BXe});var Zde=A((iYt,Xde)=>{"use strict";var xXe=df(),vXe=o((t,e)=>{let r=xXe(t,e);return r?r.version:null},"valid");Xde.exports=vXe});var tfe=A((oYt,efe)=>{"use strict";var NXe=df(),_Xe=o((t,e)=>{let r=NXe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");efe.exports=_Xe});var ife=A((cYt,nfe)=>{"use strict";var rfe=ui(),TXe=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new rfe(t instanceof rfe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");nfe.exports=TXe});var afe=A((uYt,ofe)=>{"use strict";var sfe=df(),RXe=o((t,e)=>{let r=sfe(t,null,!0),n=sfe(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");ofe.exports=RXe});var lfe=A((fYt,cfe)=>{"use strict";var DXe=ui(),QXe=o((t,e)=>new DXe(t,e).major,"major");cfe.exports=QXe});var dfe=A((pYt,ufe)=>{"use strict";var kXe=ui(),PXe=o((t,e)=>new kXe(t,e).minor,"minor");ufe.exports=PXe});var hfe=A((mYt,ffe)=>{"use strict";var OXe=ui(),LXe=o((t,e)=>new OXe(t,e).patch,"patch");ffe.exports=LXe});var Afe=A((yYt,pfe)=>{"use strict";var FXe=df(),MXe=o((t,e)=>{let r=FXe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");pfe.exports=MXe});var Wo=A((CYt,gfe)=>{"use strict";var mfe=ui(),UXe=o((t,e,r)=>new mfe(t,r).compare(new mfe(e,r)),"compare");gfe.exports=UXe});var Efe=A((wYt,yfe)=>{"use strict";var qXe=Wo(),GXe=o((t,e,r)=>qXe(e,t,r),"rcompare");yfe.exports=GXe});var bfe=A((SYt,Cfe)=>{"use strict";var HXe=Wo(),VXe=o((t,e)=>HXe(t,e,!0),"compareLoose");Cfe.exports=VXe});var c_=A((xYt,Ife)=>{"use strict";var wfe=ui(),zXe=o((t,e,r)=>{let n=new wfe(t,r),i=new wfe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Ife.exports=zXe});var Bfe=A((NYt,Sfe)=>{"use strict";var $Xe=c_(),jXe=o((t,e)=>t.sort((r,n)=>$Xe(r,n,e)),"sort");Sfe.exports=jXe});var vfe=A((TYt,xfe)=>{"use strict";var WXe=c_(),JXe=o((t,e)=>t.sort((r,n)=>WXe(n,r,e)),"rsort");xfe.exports=JXe});var T0=A((DYt,Nfe)=>{"use strict";var YXe=Wo(),KXe=o((t,e,r)=>YXe(t,e,r)>0,"gt");Nfe.exports=KXe});var l_=A((kYt,_fe)=>{"use strict";var XXe=Wo(),ZXe=o((t,e,r)=>XXe(t,e,r)<0,"lt");_fe.exports=ZXe});var y3=A((OYt,Tfe)=>{"use strict";var eZe=Wo(),tZe=o((t,e,r)=>eZe(t,e,r)===0,"eq");Tfe.exports=tZe});var E3=A((FYt,Rfe)=>{"use strict";var rZe=Wo(),nZe=o((t,e,r)=>rZe(t,e,r)!==0,"neq");Rfe.exports=nZe});var u_=A((UYt,Dfe)=>{"use strict";var iZe=Wo(),sZe=o((t,e,r)=>iZe(t,e,r)>=0,"gte");Dfe.exports=sZe});var d_=A((GYt,Qfe)=>{"use strict";var oZe=Wo(),aZe=o((t,e,r)=>oZe(t,e,r)<=0,"lte");Qfe.exports=aZe});var C3=A((VYt,kfe)=>{"use strict";var cZe=y3(),lZe=E3(),uZe=T0(),dZe=u_(),fZe=l_(),hZe=d_(),pZe=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return cZe(t,r,n);case"!=":return lZe(t,r,n);case">":return uZe(t,r,n);case">=":return dZe(t,r,n);case"<":return fZe(t,r,n);case"<=":return hZe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");kfe.exports=pZe});var Ofe=A(($Yt,Pfe)=>{"use strict";var AZe=ui(),mZe=df(),{safeRe:f_,t:h_}=Bg(),gZe=o((t,e)=>{if(t instanceof AZe)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?f_[h_.COERCEFULL]:f_[h_.COERCE]);else{let l=e.includePrerelease?f_[h_.COERCERTLFULL]:f_[h_.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return mZe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");Pfe.exports=gZe});var Ffe=A((WYt,Lfe)=>{"use strict";var yZe=df(),EZe=Sg(),CZe=ui(),bZe=o((t,e,r)=>{if(!EZe.RELEASE_TYPES.includes(e))return null;let n=wZe(t,r);return n&&IZe(n,e)},"truncate"),wZe=o((t,e)=>{let r=t instanceof CZe?t.version:t;return yZe(r,e)},"cloneInputVersion"),IZe=o((t,e)=>{if(SZe(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()},"doTruncation"),SZe=o(t=>t.startsWith("pre"),"isPrerelease");Lfe.exports=bZe});var Ufe=A((YYt,Mfe)=>{"use strict";var b3=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};Mfe.exports=b3});var Jo=A((XYt,Vfe)=>{"use strict";var BZe=/\s+/g,w3=class t{static{o(this,"Range")}constructor(e,r){if(r=vZe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof I3)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(BZe," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!Gfe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&OZe(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(PZe,"");let n=((this.options.includePrerelease&&QZe)|(this.options.loose&&kZe))+":"+e,i=qfe.get(n);if(i)return i;let s=this.options.loose,a=s?ji[di.HYPHENRANGELOOSE]:ji[di.HYPHENRANGE];e=e.replace(a,$Ze(this.options.includePrerelease)),sr("hyphen replace",e),e=e.replace(ji[di.COMPARATORTRIM],TZe),sr("comparator trim",e),e=e.replace(ji[di.TILDETRIM],RZe),sr("tilde trim",e),e=e.replace(ji[di.CARETTRIM],DZe),sr("caret trim",e);let c=e.split(" ").map(f=>LZe(f,this.options)).join(" ").split(/\s+/).map(f=>zZe(f,this.options));s&&(c=c.filter(f=>(sr("loose invalid filter",f,this.options),!!f.match(ji[di.COMPARATORLOOSE])))),sr("range list",c);let l=new Map,u=c.map(f=>new I3(f,this.options));for(let f of u){if(Gfe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return qfe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Hfe(n,r)&&e.set.some(i=>Hfe(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new NZe(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(jZe(this.set[r],e,this.options))return!0;return!1}};Vfe.exports=w3;var xZe=Ufe(),qfe=new xZe,vZe=n_(),I3=R0(),sr=_0(),NZe=ui(),{safeRe:ji,src:_Ze,t:di,comparatorTrimReplace:TZe,tildeTrimReplace:RZe,caretTrimReplace:DZe}=Bg(),{FLAG_INCLUDE_PRERELEASE:QZe,FLAG_LOOSE:kZe}=Sg(),PZe=new RegExp(_Ze[di.BUILD],"g"),Gfe=o(t=>t.value==="<0.0.0-0","isNullSet"),OZe=o(t=>t.value==="","isAny"),Hfe=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),LZe=o((t,e)=>(t=t.replace(ji[di.BUILD],""),sr("comp",t,e),t=UZe(t,e),sr("caret",t),t=FZe(t,e),sr("tildes",t),t=GZe(t,e),sr("xrange",t),t=VZe(t,e),sr("stars",t),t),"parseComparator"),Wi=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),FZe=o((t,e)=>t.trim().split(/\s+/).map(r=>MZe(r,e)).join(" "),"replaceTildes"),MZe=o((t,e)=>{let r=e.loose?ji[di.TILDELOOSE]:ji[di.TILDE];return t.replace(r,(n,i,s,a,c)=>{sr("tilde",t,n,i,s,a,c);let l;return Wi(i)?l="":Wi(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:Wi(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(sr("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,sr("tilde return",l),l})},"replaceTilde"),UZe=o((t,e)=>t.trim().split(/\s+/).map(r=>qZe(r,e)).join(" "),"replaceCarets"),qZe=o((t,e)=>{sr("caret",t,e);let r=e.loose?ji[di.CARETLOOSE]:ji[di.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{sr("caret",t,i,s,a,c,l);let u;return Wi(s)?u="":Wi(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Wi(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(sr("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(sr("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),sr("caret return",u),u})},"replaceCaret"),GZe=o((t,e)=>(sr("replaceXRanges",t,e),t.split(/\s+/).map(r=>HZe(r,e)).join(" ")),"replaceXRanges"),HZe=o((t,e)=>{t=t.trim();let r=e.loose?ji[di.XRANGELOOSE]:ji[di.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{sr("xRange",t,n,i,s,a,c,l);let u=Wi(s),d=u||Wi(a),f=d||Wi(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),sr("xRange return",n),n})},"replaceXRange"),VZe=o((t,e)=>(sr("replaceStars",t,e),t.trim().replace(ji[di.STAR],"")),"replaceStars"),zZe=o((t,e)=>(sr("replaceGTE0",t,e),t.trim().replace(ji[e.includePrerelease?di.GTE0PRE:di.GTE0],"")),"replaceGTE0"),$Ze=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(Wi(n)?r="":Wi(i)?r=`>=${n}.0.0${t?"-0":""}`:Wi(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Wi(u)?l="":Wi(d)?l=`<${+u+1}.0.0-0`:Wi(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),jZe=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(sr(t[n].semver),t[n].semver!==I3.ANY&&t[n].semver.prerelease.length>0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var R0=A((eKt,Yfe)=>{"use strict";var D0=Symbol("SemVer ANY"),x3=class t{static{o(this,"Comparator")}static get ANY(){return D0}constructor(e,r){if(r=zfe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),B3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===D0?this.value="":this.value=this.operator+this.semver.version,B3("comp",this)}parse(e){let r=this.options.loose?$fe[jfe.COMPARATORLOOSE]:$fe[jfe.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Wfe(n[2],this.options.loose):this.semver=D0}toString(){return this.value}test(e){if(B3("Comparator.test",e,this.options.loose),this.semver===D0||e===D0)return!0;if(typeof e=="string")try{e=new Wfe(e,this.options)}catch{return!1}return S3(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 Jfe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Jfe(this.value,r).test(e.semver):(r=zfe(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("=")||S3(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||S3(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Yfe.exports=x3;var zfe=n_(),{safeRe:$fe,t:jfe}=Bg(),S3=C3(),B3=_0(),Wfe=ui(),Jfe=Jo()});var Q0=A((rKt,Kfe)=>{"use strict";var WZe=Jo(),JZe=o((t,e,r)=>{try{e=new WZe(e,r)}catch{return!1}return e.test(t)},"satisfies");Kfe.exports=JZe});var Zfe=A((iKt,Xfe)=>{"use strict";var YZe=Jo(),KZe=o((t,e)=>new YZe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Xfe.exports=KZe});var the=A((oKt,ehe)=>{"use strict";var XZe=ui(),ZZe=Jo(),eet=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new ZZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new XZe(n,r))}),n},"maxSatisfying");ehe.exports=eet});var nhe=A((cKt,rhe)=>{"use strict";var tet=ui(),ret=Jo(),net=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new ret(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new tet(n,r))}),n},"minSatisfying");rhe.exports=net});var ohe=A((uKt,she)=>{"use strict";var v3=ui(),iet=Jo(),ihe=T0(),set=o((t,e)=>{t=new iet(t,e);let r=new v3("0.0.0");if(t.test(r)||(r=new v3("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let i=t.set[n],s=null;i.forEach(a=>{let c=new v3(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||ihe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||ihe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");she.exports=set});var che=A((fKt,ahe)=>{"use strict";var oet=Jo(),aet=o((t,e)=>{try{return new oet(t,e).range||"*"}catch{return null}},"validRange");ahe.exports=aet});var p_=A((pKt,fhe)=>{"use strict";var cet=ui(),dhe=R0(),{ANY:uet}=dhe,det=Jo(),fet=Q0(),lhe=T0(),uhe=l_(),het=d_(),pet=u_(),Aet=o((t,e,r,n)=>{t=new cet(t,n),e=new det(e,n);let i,s,a,c,l;switch(r){case">":i=lhe,s=het,a=uhe,c=">",l=">=";break;case"<":i=uhe,s=pet,a=lhe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(fet(t,e,n))return!1;for(let u=0;u<e.set.length;++u){let d=e.set[u],f=null,h=null;if(d.forEach(p=>{p.semver===uet&&(p=new dhe(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");fhe.exports=Aet});var phe=A((mKt,hhe)=>{"use strict";var met=p_(),get=o((t,e,r)=>met(t,e,">",r),"gtr");hhe.exports=get});var mhe=A((yKt,Ahe)=>{"use strict";var yet=p_(),Eet=o((t,e,r)=>yet(t,e,"<",r),"ltr");Ahe.exports=Eet});var Ehe=A((CKt,yhe)=>{"use strict";var ghe=Jo(),Cet=o((t,e,r)=>(t=new ghe(t,r),e=new ghe(e,r),t.intersects(e,r)),"intersects");yhe.exports=Cet});var bhe=A((wKt,Che)=>{"use strict";var bet=Q0(),wet=Wo();Che.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>wet(d,f,r));for(let d of a)bet(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length<u.length?l:e}});var vhe=A((IKt,xhe)=>{"use strict";var whe=Jo(),T3=R0(),{ANY:N3}=T3,_3=Q0(),R3=Wo(),Iet=o((t,e,r={})=>{if(t===e)return!0;t=new whe(t,r),e=new whe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=xet(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Bet=[new T3(">=0.0.0-0")],Ihe=[new T3(">=0.0.0")],xet=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===N3){if(e.length===1&&e[0].semver===N3)return!0;r.includePrerelease?t=Bet:t=Ihe}if(e.length===1&&e[0].semver===N3){if(r.includePrerelease)return!0;e=Ihe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=She(i,p,r):p.operator==="<"||p.operator==="<="?s=Bhe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=R3(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!_3(p,String(i),r)||s&&!_3(p,String(s),r))return null;for(let m of e)if(!_3(p,String(m),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=She(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=Bhe(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),She=o((t,e,r)=>{if(!t)return e;let n=R3(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Bhe=o((t,e,r)=>{if(!t)return e;let n=R3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");xhe.exports=Iet});var Rhe=A((BKt,The)=>{"use strict";var D3=Bg(),Nhe=Sg(),vet=ui(),_he=A3(),Net=df(),_et=Zde(),Tet=tfe(),Ret=ife(),Det=afe(),Qet=lfe(),ket=dfe(),Pet=hfe(),Oet=Afe(),Let=Wo(),Fet=Efe(),Met=bfe(),Uet=c_(),qet=Bfe(),Get=vfe(),Het=T0(),Vet=l_(),zet=y3(),$et=E3(),jet=u_(),Wet=d_(),Jet=C3(),Yet=Ofe(),Ket=Ffe(),Xet=R0(),Zet=Jo(),ett=Q0(),ttt=Zfe(),rtt=the(),ntt=nhe(),itt=ohe(),stt=che(),ott=p_(),att=phe(),ctt=mhe(),ltt=Ehe(),utt=bhe(),dtt=vhe();The.exports={parse:Net,valid:_et,clean:Tet,inc:Ret,diff:Det,major:Qet,minor:ket,patch:Pet,prerelease:Oet,compare:Let,rcompare:Fet,compareLoose:Met,compareBuild:Uet,sort:qet,rsort:Get,gt:Het,lt:Vet,eq:zet,neq:$et,gte:jet,lte:Wet,cmp:Jet,coerce:Yet,truncate:Ket,Comparator:Xet,Range:Zet,satisfies:ett,toComparators:ttt,maxSatisfying:rtt,minSatisfying:ntt,minVersion:itt,validRange:stt,outside:ott,gtr:att,ltr:ctt,intersects:ltt,simplifyRange:utt,subset:dtt,SemVer:vet,re:D3.re,src:D3.src,tokens:D3.t,SEMVER_SPEC_VERSION:Nhe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Nhe.RELEASE_TYPES,compareIdentifiers:_he.compareIdentifiers,rcompareIdentifiers:_he.rcompareIdentifiers}});var Epe=A((TXt,ype)=>{var Dg=1e3,Qg=Dg*60,kg=Qg*60,mp=kg*24,jtt=mp*7,Wtt=mp*365.25;ype.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Jtt(t);if(r==="number"&&isFinite(t))return e.long?Ktt(t):Ytt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Jtt(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Wtt;case"weeks":case"week":case"w":return r*jtt;case"days":case"day":case"d":return r*mp;case"hours":case"hour":case"hrs":case"hr":case"h":return r*kg;case"minutes":case"minute":case"mins":case"min":case"m":return r*Qg;case"seconds":case"second":case"secs":case"sec":case"s":return r*Dg;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Jtt,"parse");function Ytt(t){var e=Math.abs(t);return e>=mp?Math.round(t/mp)+"d":e>=kg?Math.round(t/kg)+"h":e>=Qg?Math.round(t/Qg)+"m":e>=Dg?Math.round(t/Dg)+"s":t+"ms"}o(Ytt,"fmtShort");function Ktt(t){var e=Math.abs(t);return e>=mp?U_(t,e,mp,"day"):e>=kg?U_(t,e,kg,"hour"):e>=Qg?U_(t,e,Qg,"minute"):e>=Dg?U_(t,e,Dg,"second"):t+" ms"}o(Ktt,"fmtLong");function U_(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(U_,"plural")});var nG=A((DXt,Cpe)=>{function Xtt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Epe(),r.destroy=u,Object.keys(t).forEach(d=>{r[d]=t[d]}),r.names=[],r.skips=[],r.formatters={};function e(d){let f=0;for(let h=0;h<d.length;h++)f=(f<<5)-f+d.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(d){let f,h=null,p,m;function g(...E){if(!g.enabled)return;let y=g,C=Number(new Date),w=C-(f||C);y.diff=w,y.prev=f,y.curr=C,f=C,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let B=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(q,v)=>{if(q==="%%")return"%";B++;let $=r.formatters[v];if(typeof $=="function"){let R=E[B];q=$.call(y,R),E.splice(B,1),B--}return q}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}o(r,"createDebug");function n(d,f){let h=r(this.namespace+(typeof f>"u"?":":f)+d);return h.log=this.log,h}o(n,"extend");function i(d){r.save(d),r.namespaces=d,r.names=[],r.skips=[];let f,h=(typeof d=="string"?d:"").split(/[\s,]+/),p=h.length;for(f=0;f<p;f++)h[f]&&(d=h[f].replace(/\*/g,".*?"),d[0]==="-"?r.skips.push(new RegExp("^"+d.slice(1)+"$")):r.names.push(new RegExp("^"+d+"$")))}o(i,"enable");function s(){let d=[...r.names.map(c),...r.skips.map(c).map(f=>"-"+f)].join(",");return r.enable(""),d}o(s,"disable");function a(d){if(d[d.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f<h;f++)if(r.skips[f].test(d))return!1;for(f=0,h=r.names.length;f<h;f++)if(r.names[f].test(d))return!0;return!1}o(a,"enabled");function c(d){return d.toString().substring(2,d.toString().length-2).replace(/\.\*\?$/,"*")}o(c,"toNamespace");function l(d){return d instanceof Error?d.stack||d.message:d}o(l,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(u,"destroy"),r.enable(r.load()),r}o(Xtt,"setup");Cpe.exports=Xtt});var bpe=A((co,q_)=>{co.formatArgs=ert;co.save=trt;co.load=rrt;co.useColors=Ztt;co.storage=nrt();co.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`."))}})();co.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 Ztt(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(Ztt,"useColors");function ert(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+q_.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(ert,"formatArgs");co.log=console.debug||console.log||(()=>{});function trt(t){try{t?co.storage.setItem("debug",t):co.storage.removeItem("debug")}catch{}}o(trt,"save");function rrt(){let t;try{t=co.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(rrt,"load");function nrt(){try{return localStorage}catch{}}o(nrt,"localstorage");q_.exports=nG()(co);var{formatters:irt}=q_.exports;irt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Ipe=A((PXt,wpe)=>{"use strict";wpe.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var oG=A((OXt,Bpe)=>{"use strict";var srt=require("os"),Spe=require("tty"),Ko=Ipe(),{env:Vn}=process,pf;Ko("no-color")||Ko("no-colors")||Ko("color=false")||Ko("color=never")?pf=0:(Ko("color")||Ko("colors")||Ko("color=true")||Ko("color=always"))&&(pf=1);"FORCE_COLOR"in Vn&&(Vn.FORCE_COLOR==="true"?pf=1:Vn.FORCE_COLOR==="false"?pf=0:pf=Vn.FORCE_COLOR.length===0?1:Math.min(parseInt(Vn.FORCE_COLOR,10),3));function iG(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(iG,"translateLevel");function sG(t,e){if(pf===0)return 0;if(Ko("color=16m")||Ko("color=full")||Ko("color=truecolor"))return 3;if(Ko("color=256"))return 2;if(t&&!e&&pf===void 0)return 0;let r=pf||0;if(Vn.TERM==="dumb")return r;if(process.platform==="win32"){let n=srt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Vn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Vn)||Vn.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Vn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Vn.TEAMCITY_VERSION)?1:0;if(Vn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Vn){let n=parseInt((Vn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Vn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Vn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Vn.TERM)||"COLORTERM"in Vn?1:r}o(sG,"supportsColor");function ort(t){let e=sG(t,t&&t.isTTY);return iG(e)}o(ort,"getSupportLevel");Bpe.exports={supportsColor:ort,stdout:iG(sG(!0,Spe.isatty(1))),stderr:iG(sG(!0,Spe.isatty(2)))}});var vpe=A((fi,H_)=>{var art=require("tty"),G_=require("util");fi.init=prt;fi.log=drt;fi.formatArgs=lrt;fi.save=frt;fi.load=hrt;fi.useColors=crt;fi.destroy=G_.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");fi.colors=[6,2,3,4,5,1];try{let t=oG();t&&(t.stderr||t).level>=2&&(fi.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{}fi.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function crt(){return"colors"in fi.inspectOpts?!!fi.inspectOpts.colors:art.isatty(process.stderr.fd)}o(crt,"useColors");function lrt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
`).join(`
`+s),t.push(i+"m+"+H_.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=urt()+e+" "+t[0]}o(lrt,"formatArgs");function urt(){return fi.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(urt,"getDate");function drt(...t){return process.stderr.write(G_.format(...t)+`
`)}o(drt,"log");function frt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(frt,"save");function hrt(){return process.env.DEBUG}o(hrt,"load");function prt(t){t.inspectOpts={};let e=Object.keys(fi.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=fi.inspectOpts[e[r]]}o(prt,"init");H_.exports=nG()(fi);var{formatters:xpe}=H_.exports;xpe.o=function(t){return this.inspectOpts.colors=this.useColors,G_.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};xpe.O=function(t){return this.inspectOpts.colors=this.useColors,G_.inspect(t,this.inspectOpts)}});var V_=A((MXt,aG)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?aG.exports=bpe():aG.exports=vpe()});var Tpe=A(Ss=>{"use strict";var Art=Ss&&Ss.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),mrt=Ss&&Ss.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Npe=Ss&&Ss.__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)&&Art(e,t,r);return mrt(e,t),e};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.req=Ss.json=Ss.toBuffer=void 0;var grt=Npe(require("http")),yrt=Npe(require("https"));async function _pe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(_pe,"toBuffer");Ss.toBuffer=_pe;async function Ert(t){let r=(await _pe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Ert,"json");Ss.json=Ert;function Crt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?yrt:grt).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(Crt,"req");Ss.req=Crt});var kpe=A(lo=>{"use strict";var Dpe=lo&&lo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),brt=lo&&lo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Qpe=lo&&lo.__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)&&Dpe(e,t,r);return brt(e,t),e},wrt=lo&&lo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Dpe(e,t,r)};Object.defineProperty(lo,"__esModule",{value:!0});lo.Agent=void 0;var Irt=Qpe(require("net")),Rpe=Qpe(require("http")),Srt=require("https");wrt(Tpe(),lo);var jc=Symbol("AgentBaseInternalState"),cG=class extends Rpe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[jc]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Irt.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?Srt.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof Rpe.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[jc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[jc].currentSocket;if(this[jc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[jc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[jc]&&(this[jc].defaultPort=e)}get protocol(){return this[jc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[jc]&&(this[jc].protocol=e)}};lo.Agent=cG});var Ppe=A(Pg=>{"use strict";var Brt=Pg&&Pg.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Pg,"__esModule",{value:!0});Pg.parseProxyResponse=void 0;var xrt=Brt(V_()),z_=(0,xrt.default)("https-proxy-agent:parse-proxy-response");function vrt(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let d=t.read();d?u(d):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),z_("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),z_("onerror %o",d),r(d)}o(l,"onerror");function u(d){i.push(d),n+=d.length;let f=Buffer.concat(i,n),h=f.indexOf(`\r
\r
`);if(h===-1){z_("have not received end of HTTP headers yet..."),s();return}let p=f.slice(0,h).toString("ascii").split(`\r
`),m=p.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=m.split(" "),E=+g[1],y=g.slice(2).join(" "),C={};for(let w of p){if(!w)continue;let B=w.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let Q=w.slice(0,B).toLowerCase(),q=w.slice(B+1).trimStart(),v=C[Q];typeof v=="string"?C[Q]=[v,q]:Array.isArray(v)?v.push(q):C[Q]=q}z_("got proxy server response: %o %o",m,C),a(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:f})}o(u,"ondata"),t.on("error",l),t.on("end",c),s()})}o(vrt,"parseProxyResponse");Pg.parseProxyResponse=vrt});var qpe=A(Xo=>{"use strict";var Nrt=Xo&&Xo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),_rt=Xo&&Xo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Mpe=Xo&&Xo.__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)&&Nrt(e,t,r);return _rt(e,t),e},Upe=Xo&&Xo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.HttpsProxyAgent=void 0;var $_=Mpe(require("net")),Ope=Mpe(require("tls")),Trt=Upe(require("assert")),Rrt=Upe(V_()),Drt=kpe(),Qrt=require("url"),krt=Ppe(),V0=(0,Rrt.default)("https-proxy-agent"),Lpe=o(t=>t.servername===void 0&&t.host&&!$_.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),j_=class extends Drt.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Qrt.URL(e):e,this.proxyHeaders=r?.headers??{},V0("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?Fpe(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(V0("Creating `tls.Socket`: %o",this.connectOpts),i=Ope.connect(Lpe(this.connectOpts))):(V0("Creating `net.Socket`: %o",this.connectOpts),i=$_.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=$_.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let h=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(h).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let h of Object.keys(s))c+=`${h}: ${s[h]}\r
`;let l=(0,krt.parseProxyResponse)(i);i.write(`${c}\r
`);let{connect:u,buffered:d}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",Prt),r.secureEndpoint?(V0("Upgrading socket connection to TLS"),Ope.connect({...Fpe(Lpe(r),"host","path","port"),socket:i})):i;i.destroy();let f=new $_.Socket({writable:!1});return f.readable=!0,e.once("socket",h=>{V0("Replaying proxy buffer for failed request"),(0,Trt.default)(h.listenerCount("data")>0),h.push(d),h.push(null)}),f}};j_.protocols=["http","https"];Xo.HttpsProxyAgent=j_;function Prt(t){t.resume()}o(Prt,"resume");function Fpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Fpe,"omit")});var Vpe=A(Bs=>{"use strict";var Ort=Bs&&Bs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Lrt=Bs&&Bs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Gpe=Bs&&Bs.__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)&&Ort(e,t,r);return Lrt(e,t),e};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.req=Bs.json=Bs.toBuffer=void 0;var Frt=Gpe(require("http")),Mrt=Gpe(require("https"));async function Hpe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(Hpe,"toBuffer");Bs.toBuffer=Hpe;async function Urt(t){let r=(await Hpe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Urt,"json");Bs.json=Urt;function qrt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Mrt:Frt).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(qrt,"req");Bs.req=qrt});var Wpe=A(uo=>{"use strict";var $pe=uo&&uo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Grt=uo&&uo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jpe=uo&&uo.__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)&&$pe(e,t,r);return Grt(e,t),e},Hrt=uo&&uo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&$pe(e,t,r)};Object.defineProperty(uo,"__esModule",{value:!0});uo.Agent=void 0;var Vrt=jpe(require("net")),zpe=jpe(require("http")),zrt=require("https");Hrt(Vpe(),uo);var Wc=Symbol("AgentBaseInternalState"),lG=class extends zpe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Wc]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Vrt.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?zrt.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof zpe.Agent)return c.addRequest(e,i);this[Wc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Wc].currentSocket;if(this[Wc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Wc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Wc]&&(this[Wc].defaultPort=e)}get protocol(){return this[Wc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Wc]&&(this[Wc].protocol=e)}};uo.Agent=lG});var Kpe=A(Zo=>{"use strict";var $rt=Zo&&Zo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),jrt=Zo&&Zo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ype=Zo&&Zo.__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)&&$rt(e,t,r);return jrt(e,t),e},Wrt=Zo&&Zo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.HttpProxyAgent=void 0;var Jrt=Ype(require("net")),Yrt=Ype(require("tls")),Krt=Wrt(V_()),Xrt=require("events"),Zrt=Wpe(),Jpe=require("url"),Og=(0,Krt.default)("http-proxy-agent"),W_=class extends Zrt.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new Jpe.URL(e):e,this.proxyHeaders=r?.headers??{},Og("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?ent(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new Jpe.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let u=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let d=l[u];d&&e.setHeader(u,d)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Og("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Og("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+n.substring(i),Og("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Og("Creating `tls.Socket`: %o",this.connectOpts),s=Yrt.connect(this.connectOpts)):(Og("Creating `net.Socket`: %o",this.connectOpts),s=Jrt.connect(this.connectOpts)),await(0,Xrt.once)(s,"connect"),s}};W_.protocols=["http","https"];Zo.HttpProxyAgent=W_;function ent(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(ent,"omit")});var EAe=A(cT=>{"use strict";Object.defineProperty(cT,"__esModule",{value:!0});cT.state=void 0;cT.state={instrumenterImplementation:void 0}});var OAe=A(hT=>{"use strict";Object.defineProperty(hT,"__esModule",{value:!0});hT.state=void 0;hT.state={operationRequestMap:new WeakMap}});var fye=A(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});var qct=require("os"),Gct=require("util");function Hct(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Hct,"_interopDefaultLegacy");var Vct=Hct(Gct);function zct(t,...e){process.stderr.write(`${Vct.default.format(t,...e)}${qct.EOL}`)}o(zct,"log");var rye=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,iye,W5=[],J5=[],kR=[];rye&&Y5(rye);var sye=Object.assign(t=>oye(t),{enable:Y5,enabled:K5,disable:$ct,log:zct});function Y5(t){iye=t,W5=[],J5=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?J5.push(new RegExp(`^${n.substr(1)}$`)):W5.push(new RegExp(`^${n}$`));for(let n of kR)n.enabled=K5(n.namespace)}o(Y5,"enable");function K5(t){if(t.endsWith("*"))return!0;for(let e of J5)if(e.test(t))return!1;for(let e of W5)if(e.test(t))return!0;return!1}o(K5,"enabled");function $ct(){let t=iye||"";return Y5(""),t}o($ct,"disable");function oye(t){let e=Object.assign(r,{enabled:K5(t),destroy:jct,log:sye.log,namespace:t,extend:Wct});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),kR.push(e),e}o(oye,"createDebugger");function jct(){let t=kR.indexOf(this);return t>=0?(kR.splice(t,1),!0):!1}o(jct,"destroy");function Wct(t){let e=oye(`${this.namespace}:${t}`);return e.log=this.log,e}o(Wct,"extend");var kw=sye,aye=new Set,DR=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,PR,OR=kw("azure");OR.log=(...t)=>{kw.log(...t)};var X5=["verbose","info","warning","error"];DR&&(dye(DR)?cye(DR):console.error(`AZURE_LOG_LEVEL set to unknown log level '${DR}'; logging is not enabled. Acceptable values: ${X5.join(", ")}.`));function cye(t){if(t&&!dye(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${X5.join(",")}`);PR=t;let e=[];for(let r of aye)uye(r)&&e.push(r.namespace);kw.enable(e.join(","))}o(cye,"setLogLevel");function Jct(){return PR}o(Jct,"getLogLevel");var nye={verbose:400,info:300,warning:200,error:100};function Yct(t){let e=OR.extend(t);return lye(OR,e),{error:QR(e,"error"),warning:QR(e,"warning"),info:QR(e,"info"),verbose:QR(e,"verbose")}}o(Yct,"createClientLogger");function lye(t,e){e.log=(...r)=>{t.log(...r)}}o(lye,"patchLogMethod");function QR(t,e){let r=Object.assign(t.extend(e),{level:e});if(lye(t,r),uye(r)){let n=kw.disable();kw.enable(n+","+r.namespace)}return aye.add(r),r}o(QR,"createLogger");function uye(t){return!!(PR&&nye[t.level]<=nye[PR])}o(uye,"shouldEnable");function dye(t){return X5.includes(t)}o(dye,"isAzureLogLevel");ny.AzureLogger=OR;ny.createClientLogger=Yct;ny.getLogLevel=Jct;ny.setLogLevel=cye});var tz=A(Ow=>{"use strict";Object.defineProperty(Ow,"__esModule",{value:!0});var iy=new WeakMap,LR=new WeakMap,Pw=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,iy.set(this,[]),LR.set(this,!1)}get aborted(){if(!LR.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return LR.get(this)}static get none(){return new t}addEventListener(e,r){if(!iy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");iy.get(this).push(r)}removeEventListener(e,r){if(!iy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=iy.get(this),i=n.indexOf(r);i>-1&&n.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function hye(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=iy.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),LR.set(t,!0)}o(hye,"abortSignal");var Z5=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},ez=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Pw,!!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(){hye(this._signal)}static timeout(e){let r=new Pw,n=setTimeout(hye,e,r);return typeof n.unref=="function"&&n.unref(),r}};Ow.AbortController=ez;Ow.AbortError=Z5;Ow.AbortSignal=Pw});var yye=A(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});var Kct=tz(),cz=require("crypto");function pye(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new Kct.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(d=>{l(),s(d)},d=>{l(),a(d)})}catch(d){a(d)}n?.addEventListener("abort",u)})}o(pye,"createAbortablePromise");var Xct="The delay was aborted.";function Zct(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return pye(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Xct})}o(Zct,"delay");function elt(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(elt,"getRandomIntegerInclusive");function Aye(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Aye,"isObject");function mye(t){if(Aye(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(mye,"isError");function tlt(t){if(mye(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(tlt,"getErrorMessage");async function rlt(t,e,r){let n=Buffer.from(t,"base64");return cz.createHmac("sha256",n).update(e).digest(r)}o(rlt,"computeSha256Hmac");async function nlt(t,e){return cz.createHash("sha256").update(t).digest(e)}o(nlt,"computeSha256Hash");function lz(t){return typeof t<"u"&&t!==null}o(lz,"isDefined");function ilt(t,e){if(!lz(t)||typeof t!="object")return!1;for(let r of e)if(!gye(t,r))return!1;return!0}o(ilt,"isObjectWithProperties");function gye(t,e){return lz(t)&&typeof t=="object"&&e in t}o(gye,"objectHasProperty");function slt(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(slt,"generateUUID");var rz,az=typeof((rz=globalThis?.crypto)===null||rz===void 0?void 0:rz.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):cz.randomUUID;az||(az=slt);function olt(){return az()}o(olt,"randomUUID");var nz,iz,sz,oz,alt=typeof window<"u"&&typeof window.document<"u",clt=typeof self=="object"&&typeof self?.importScripts=="function"&&(((nz=self.constructor)===null||nz===void 0?void 0:nz.name)==="DedicatedWorkerGlobalScope"||((iz=self.constructor)===null||iz===void 0?void 0:iz.name)==="ServiceWorkerGlobalScope"||((sz=self.constructor)===null||sz===void 0?void 0:sz.name)==="SharedWorkerGlobalScope"),llt=typeof process<"u"&&!!process.version&&!!(!((oz=process.versions)===null||oz===void 0)&&oz.node),ult=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",dlt=typeof Bun<"u"&&typeof Bun.version<"u",flt=typeof navigator<"u"&&navigator?.product==="ReactNative";function hlt(t,e){switch(e){case"utf-8":return glt(t);case"base64":return Alt(t);case"base64url":return mlt(t)}}o(hlt,"uint8ArrayToString");function plt(t,e){switch(e){case"utf-8":return ylt(t);case"base64":return Elt(t);case"base64url":return Clt(t)}}o(plt,"stringToUint8Array");function Alt(t){return Buffer.from(t).toString("base64")}o(Alt,"uint8ArrayToBase64");function mlt(t){return Buffer.from(t).toString("base64url")}o(mlt,"uint8ArrayToBase64Url");function glt(t){return Buffer.from(t).toString("utf-8")}o(glt,"uint8ArrayToUtf8String");function ylt(t){return Buffer.from(t)}o(ylt,"utf8StringToUint8Array");function Elt(t){return Buffer.from(t,"base64")}o(Elt,"base64ToUint8Array");function Clt(t){return Buffer.from(t,"base64url")}o(Clt,"base64UrlToUint8Array");Ur.computeSha256Hash=nlt;Ur.computeSha256Hmac=rlt;Ur.createAbortablePromise=pye;Ur.delay=Zct;Ur.getErrorMessage=tlt;Ur.getRandomIntegerInclusive=elt;Ur.isBrowser=alt;Ur.isBun=dlt;Ur.isDefined=lz;Ur.isDeno=ult;Ur.isError=mye;Ur.isNode=llt;Ur.isObject=Aye;Ur.isObjectWithProperties=ilt;Ur.isReactNative=flt;Ur.isWebWorker=clt;Ur.objectHasProperty=gye;Ur.randomUUID=olt;Ur.stringToUint8Array=plt;Ur.uint8ArrayToString=hlt});var Mye=A(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});var blt=fye(),Eye=tz(),wlt=yye(),Fp=blt.createClientLogger("core-lro"),bye=2e3,wye=["succeeded","canceled","failed"];function Iye(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(Iye,"deserializeState");function Cye(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(Cye,"setStateError");function Ilt(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Ilt,"appendReadableErrorMessage");function Slt(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=Ilt(e,n.message);return{code:r,message:e}}o(Slt,"simplifyError");function Sye(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),d="";if(u){let{code:h,message:p}=Slt(u);d=`. ${h}. ${p}`}let f=`The long-running operation has failed${d}`;r.setError(e,new Error(f)),r.setFailed(e),Fp.warning(f);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,Blt({response:c,state:e,processResult:s}))}o(Sye,"processOperationStatus");function Blt(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Blt,"buildResult");async function Bye(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:d}=await e();c&&s?.(c,!1);let f={metadata:u,operationLocation:c,resourceLocation:l};Fp.verbose("LRO: Operation description:",f);let h=r.initState(f),p=i({response:d,state:h,operationLocation:c});return Sye({state:h,status:p,stateProxy:r,response:d,setErrorAsResult:a,processResult:n}),h}o(Bye,"initOperation");async function xlt(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(i,l).catch(Cye({state:r,stateProxy:n,isOperationError:c})),d=s(u,r);if(Fp.verbose(`LRO: Status:
Polling from: ${r.config.operationLocation}
Operation status: ${d}
Polling status: ${wye.includes(d)?"Stopped":"Running"}`),d==="succeeded"){let f=a(u,r);if(f!==void 0)return{response:await e(f).catch(Cye({state:r,stateProxy:n,isOperationError:c})),status:d}}return{response:u,status:d}}o(xlt,"pollOperationHelper");async function xye(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:d,processResult:f,getError:h,updateState:p,setDelay:m,isDone:g,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await xlt({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(Sye({status:w,response:C,state:r,stateProxy:n,isDone:g,processResult:f,getError:h,setErrorAsResult:E}),!wye.includes(w)){let B=d?.(C);B&&m(B);let Q=c?.(C,r);if(Q!==void 0){let q=y!==Q;r.config.operationLocation=Q,u?.(Q,q)}else u?.(y,!1)}p?.(r,C)}}o(xye,"pollOperation");function vye(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(vye,"getOperationLocationPollingUrl");function Nye(t){return t.headers.location}o(Nye,"getLocationHeader");function _ye(t){return t.headers["operation-location"]}o(_ye,"getOperationLocationHeader");function Tye(t){return t.headers["azure-asyncoperation"]}o(Tye,"getAzureAsyncOperationHeader");function vlt(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}o(a,"getDefault")}o(vlt,"findResourceLocation");function Rye(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=_ye(e),a=Tye(e),c=vye({operationLocation:s,azureAsyncOperation:a}),l=Nye(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:vlt({requestMethod:u,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(Rye,"inferLroMode");function Dye(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 fz(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 Fp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(Dye,"transformStatus");function Nlt(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return Dye({status:r,statusCode:t.statusCode})}o(Nlt,"getStatus");function _lt(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return Dye({status:s,statusCode:t.statusCode})}o(_lt,"getProvisioningState");function fz(t){return t===202?"running":t<300?"succeeded":"failed"}o(fz,"toOperationStatus");function Qye({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Tlt(new Date(e)):r*1e3}}o(Qye,"parseRetryAfter");function kye(t){let e=t.flatResponse.error;if(!e){Fp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Fp.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(kye,"getErrorFromResponse");function Tlt(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(Tlt,"calculatePollingIntervalFromDate");function Pye(t){let{response:e,state:r,operationLocation:n}=t;function i(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return fz(e.rawResponse.statusCode);case"Body":return hz(e,r);default:return"running"}}o(i,"helper");let s=i();return s==="running"&&n===void 0?"succeeded":s}o(Pye,"getStatusFromInitialResponse");async function Rlt(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return Bye({init:o(async()=>{let a=await i.sendInitialRequest(),c=Rye({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:Pye,setErrorAsResult:s})}o(Rlt,"initHttpOperation");function Oye({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return vye({operationLocation:_ye(t),azureAsyncOperation:Tye(t)});case"ResourceLocation":return Nye(t);default:return}}o(Oye,"getOperationLocation");function hz({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return Nlt(t);case"ResourceLocation":return fz(t.statusCode);case"Body":return _lt(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(hz,"getOperationStatus");function Lye({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(Lye,"getResourceLocation");function Fye(t){return t.name==="RestError"}o(Fye,"isOperationError");async function Dlt(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return xye({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u,getError:kye,updateState:s,getPollingInterval:Qye,getOperationLocation:Oye,getOperationStatus:hz,isOperationError:Fye,getResourceLocation:Lye,options:n,poll:o(async(u,d)=>e.sendPollRequest(u,d),"poll"),setErrorAsResult:l})}o(Dlt,"pollHttpOperation");var Qlt=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy$1");function klt(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:d},f)=>{let{processResult:h,updateState:p,withOperationLocation:m,intervalInMs:g=bye,restoreFrom:E}=f||{},y=Qlt(),C=m?(()=>{let V=!1;return(J,ee)=>{ee?m(J):V||m(J),V=!0}})():void 0,w=E?Iye(E):await Bye({init:u,stateProxy:y,processResult:h,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!l}),B,Q=new Eye.AbortController,q=new Map,v=o(async()=>q.forEach(V=>V(w)),"handleProgressEvents"),$="Operation was canceled",R=g,H={getOperationState:o(()=>w,"getOperationState"),getResult:o(()=>w.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(w.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{Q.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:w}),"toString"),onProgress:o(V=>{let J=Symbol();return q.set(J,V),()=>q.delete(J)},"onProgress"),pollUntilDone:o(V=>B??(B=(async()=>{let{abortSignal:J}=V||{},{signal:ee}=J?new Eye.AbortController([J,Q.signal]):Q;if(!H.isDone())for(await H.poll({abortSignal:ee});!H.isDone();)await wlt.delay(R,{abortSignal:ee}),await H.poll({abortSignal:ee});if(l)return H.getResult();switch(w.status){case"succeeded":return H.getResult();case"canceled":throw new Error($);case"failed":throw w.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(V){if(l){if(H.isDone())return}else switch(w.status){case"succeeded":return;case"canceled":throw new Error($);case"failed":throw w.error}if(await xye({poll:d,state:w,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:C,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:h,getError:c,updateState:p,options:V,setDelay:o(J=>{R=J},"setDelay"),setErrorAsResult:!l}),await v(),!l)switch(w.status){case"canceled":throw new Error($);case"failed":throw w.error}}};return H}}o(klt,"buildCreatePoller");async function Plt(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return klt({getStatusFromInitialResponse:Pye,getStatusFromPollResponse:hz,isOperationError:Fye,getOperationLocation:Oye,getResourceLocation:Lye,getPollingInterval:Qye,getError:kye,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),d=Rye({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:d?.operationLocation,resourceLocation:d?.resourceLocation},d?.mode?{metadata:{mode:d.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u})}o(Plt,"createHttpPoller");var Olt=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),uz=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=Olt();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Rlt({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await Dlt({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Fp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},FR=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},MR=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},UR=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new MR("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 FR("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()}},dz=class extends UR{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=bye,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},d=i?Iye(i):{},f=new uz(d,e,!s,c,l,u,a);super(f),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},f.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Mp.LroEngine=dz;Mp.Poller=UR;Mp.PollerCancelledError=MR;Mp.PollerStoppedError=FR;Mp.createHttpPoller=Plt});var aEe=A((Gyr,nut)=>{nut.exports={name:"@actions/cache",version:"6.2.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var lEe=A((Hyr,cEe)=>{var iut=aEe();cEe.exports={version:iut.version}});var ZR=A(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.isJsonObject=ly.typeofJsonValue=void 0;function fut(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(fut,"typeofJsonValue");ly.typeofJsonValue=fut;function hut(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(hut,"isJsonObject");ly.isJsonObject=hut});var t2=A(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.base64encode=uy.base64decode=void 0;var Xu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),e2=[];for(let t=0;t<Xu.length;t++)e2[Xu[t].charCodeAt(0)]=t;e2[45]=Xu.indexOf("+");e2[95]=Xu.indexOf("/");function put(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),n=0,i=0,s,a=0;for(let c=0;c<t.length;c++){if(s=e2[t.charCodeAt(c)],s===void 0)switch(t[c]){case"=":i=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:a=s,i=1;break;case 1:r[n++]=a<<2|(s&48)>>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(put,"base64decode");uy.base64decode=put;function Aut(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=Xu[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=Xu[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=Xu[i|n>>6],e+=Xu[n&63],r=0;break}return r&&(e+=Xu[i],e+="=",r==1&&(e+="=")),e}o(Aut,"base64encode");uy.base64encode=Aut});var AEe=A(r2=>{"use strict";Object.defineProperty(r2,"__esModule",{value:!0});r2.utf8read=void 0;var Sz=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function mut(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e<a;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(Sz(n)),i=0);return r.length?(i&&r.push(Sz(n.slice(0,i))),r.join("")):Sz(n.slice(0,i))}o(mut,"utf8read");r2.utf8read=mut});var Vw=A(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.WireType=bl.mergeBinaryOptions=bl.UnknownFieldHandler=void 0;var gut;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(gut=bl.UnknownFieldHandler||(bl.UnknownFieldHandler={}));function yut(t,e){return Object.assign(Object.assign({},t),e)}o(yut,"mergeBinaryOptions");bl.mergeBinaryOptions=yut;var Eut;(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"})(Eut=bl.WireType||(bl.WireType={}))});var i2=A(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.varint32read=Ds.varint32write=Ds.int64toString=Ds.int64fromString=Ds.varint64write=Ds.varint64read=void 0;function Cut(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(Cut,"varint64read");Ds.varint64read=Cut;function but(t,e,r){for(let s=0;s<28;s=s+7){let a=t>>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(but,"varint64write");Ds.varint64write=but;var n2=65536*65536;function wut(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=n2&&(i=i+(n/n2|0),n=n%n2)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(wut,"int64fromString");Ds.int64fromString=wut;function Iut(t,e){if(e>>>0<=2097151)return""+(n2*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(d,f){let h=d?String(d):"";return f?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(Iut,"int64toString");Ds.int64toString=Iut;function Sut(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(Sut,"varint32write");Ds.varint32write=Sut;function But(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(But,"varint32read");Ds.varint32read=But});var xf=A(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.PbLong=Bf.PbULong=Bf.detectBi=void 0;var zw=i2(),Wt;function mEe(){let t=new DataView(new ArrayBuffer(8));Wt=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(mEe,"detectBi");Bf.detectBi=mEe;mEe();function gEe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(gEe,"assertBi");var yEe=/^-?[0-9]+$/,o2=4294967296,s2=2147483648,a2=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*o2+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},$w=class t extends a2{static{o(this,"PbULong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(e<Wt.UMIN)throw new Error("signed value for ulong");if(e>Wt.UMAX)throw new Error("ulong too large");return Wt.V.setBigUint64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!yEe.test(e))throw new Error("string is no integer");let[r,n,i]=zw.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/o2)}throw new Error("unknown value "+typeof e)}toString(){return Wt?this.toBigInt().toString():zw.int64toString(this.lo,this.hi)}toBigInt(){return gEe(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigUint64(0,!0)}};Bf.PbULong=$w;$w.ZERO=new $w(0,0);var jw=class t extends a2{static{o(this,"PbLong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(e<Wt.MIN)throw new Error("signed long too small");if(e>Wt.MAX)throw new Error("signed long too large");return Wt.V.setBigInt64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!yEe.test(e))throw new Error("string is no integer");let[r,n,i]=zw.int64fromString(e);if(r){if(i>s2||i==s2&&n!=0)throw new Error("signed long too small")}else if(i>=s2)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/o2):new t(-e,-e/o2).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&s2)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Wt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+zw.int64toString(e.lo,e.hi)}return zw.int64toString(this.lo,this.hi)}toBigInt(){return gEe(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigInt64(0,!0)}};Bf.PbLong=jw;jw.ZERO=new jw(0,0)});var Bz=A(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.BinaryReader=fy.binaryReadOptions=void 0;var dy=Vw(),Ww=xf(),EEe=i2(),CEe={readUnknownField:!0,readerFactory:o(t=>new c2(t),"readerFactory")};function xut(t){return t?Object.assign(Object.assign({},CEe),t):CEe}o(xut,"binaryReadOptions");fy.binaryReadOptions=xut;var c2=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=EEe.varint64read,this.uint32=EEe.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case dy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case dy.WireType.Bit64:this.pos+=4;case dy.WireType.Bit32:this.pos+=4;break;case dy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case dy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==dy.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new Ww.PbLong(...this.varint64())}uint64(){return new Ww.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new Ww.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 Ww.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Ww.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())}};fy.BinaryReader=c2});var hy=A(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.assertFloat32=oa.assertUInt32=oa.assertInt32=oa.assertNever=oa.assert=void 0;function vut(t,e){if(!t)throw new Error(e)}o(vut,"assert");oa.assert=vut;function Nut(t,e){throw new Error(e??"Unexpected object: "+t)}o(Nut,"assertNever");oa.assertNever=Nut;var _ut=34028234663852886e22,Tut=-34028234663852886e22,Rut=4294967295,Dut=2147483647,Qut=-2147483648;function kut(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Dut||t<Qut)throw new Error("invalid int 32: "+t)}o(kut,"assertInt32");oa.assertInt32=kut;function Put(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>Rut||t<0)throw new Error("invalid uint 32: "+t)}o(Put,"assertUInt32");oa.assertUInt32=Put;function Out(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>_ut||t<Tut))throw new Error("invalid float 32: "+t)}o(Out,"assertFloat32");oa.assertFloat32=Out});var xz=A(Ay=>{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.BinaryWriter=Ay.binaryWriteOptions=void 0;var Jw=xf(),Yw=i2(),py=hy(),bEe={writeUnknownFields:!0,writerFactory:o(()=>new l2,"writerFactory")};function Lut(t){return t?Object.assign(Object.assign({},bEe),t):bEe}o(Lut,"binaryWriteOptions");Ay.binaryWriteOptions=Lut;var l2=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].length;return this.chunks=[],r}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),r=this.stack.pop();if(!r)throw new Error("invalid state, fork stack empty");return this.chunks=r.chunks,this.buf=r.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,r){return this.uint32((e<<3|r)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(py.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return py.assertInt32(e),Yw.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){py.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){py.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){py.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return py.assertInt32(e),e=(e<<1^e>>31)>>>0,Yw.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Jw.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Jw.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Jw.PbLong.from(e);return Yw.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Jw.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Yw.varint64write(i,s,this.buf),this}uint64(e){let r=Jw.PbULong.from(e);return Yw.varint64write(r.lo,r.hi,this.buf),this}};Ay.BinaryWriter=l2});var vz=A(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.mergeJsonOptions=vf.jsonWriteOptions=vf.jsonReadOptions=void 0;var wEe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},IEe={ignoreUnknownFields:!1};function Fut(t){return t?Object.assign(Object.assign({},IEe),t):IEe}o(Fut,"jsonReadOptions");vf.jsonReadOptions=Fut;function Mut(t){return t?Object.assign(Object.assign({},wEe),t):wEe}o(Mut,"jsonWriteOptions");vf.jsonWriteOptions=Mut;function Uut(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(Uut,"mergeJsonOptions");vf.mergeJsonOptions=Uut});var Kw=A(u2=>{"use strict";Object.defineProperty(u2,"__esModule",{value:!0});u2.MESSAGE_TYPE=void 0;u2.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Nz=A(d2=>{"use strict";Object.defineProperty(d2,"__esModule",{value:!0});d2.lowerCamelCase=void 0;function qut(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}o(qut,"lowerCamelCase");d2.lowerCamelCase=qut});var ac=A(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.readMessageOption=Rn.readFieldOption=Rn.readFieldOptions=Rn.normalizeFieldInfo=Rn.RepeatType=Rn.LongType=Rn.ScalarType=void 0;var SEe=Nz(),Gut;(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"})(Gut=Rn.ScalarType||(Rn.ScalarType={}));var Hut;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(Hut=Rn.LongType||(Rn.LongType={}));var BEe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(BEe=Rn.RepeatType||(Rn.RepeatType={}));function Vut(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:SEe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:SEe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:BEe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(Vut,"normalizeFieldInfo");Rn.normalizeFieldInfo=Vut;function zut(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(zut,"readFieldOptions");Rn.readFieldOptions=zut;function $ut(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o($ut,"readFieldOption");Rn.readFieldOption=$ut;function jut(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(jut,"readMessageOption");Rn.readMessageOption=jut});var _z=A(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.getSelectedOneofValue=Qs.clearOneofValue=Qs.setUnknownOneofValue=Qs.setOneofValue=Qs.getOneofValue=Qs.isOneofGroup=void 0;function Wut(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(Wut,"isOneofGroup");Qs.isOneofGroup=Wut;function Jut(t,e){return t[e]}o(Jut,"getOneofValue");Qs.getOneofValue=Jut;function Yut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(Yut,"setOneofValue");Qs.setOneofValue=Yut;function Kut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Kut,"setUnknownOneofValue");Qs.setUnknownOneofValue=Kut;function Xut(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(Xut,"clearOneofValue");Qs.clearOneofValue=Xut;function Zut(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Zut,"getSelectedOneofValue");Qs.getSelectedOneofValue=Zut});var Rz=A(f2=>{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});f2.ReflectionTypeCheck=void 0;var qr=ac(),edt=_z(),Tz=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(a=>!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!edt.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,qr.ScalarType.INT32,i):this.scalar(e,qr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),qr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case qr.ScalarType.UINT64:case qr.ScalarType.FIXED64:case qr.ScalarType.INT64:case qr.ScalarType.SFIXED64:case qr.ScalarType.SINT64:switch(n){case qr.LongType.BIGINT:return i=="bigint";case qr.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case qr.ScalarType.BOOL:return i=="boolean";case qr.ScalarType.STRING:return i=="string";case qr.ScalarType.BYTES:return e instanceof Uint8Array;case qr.ScalarType.DOUBLE:case qr.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case qr.ScalarType.INT32:case qr.ScalarType.FIXED32:case qr.ScalarType.SFIXED32:case qr.ScalarType.SINT32:case qr.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case qr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,qr.LongType.STRING)}}};f2.ReflectionTypeCheck=Tz});var p2=A(h2=>{"use strict";Object.defineProperty(h2,"__esModule",{value:!0});h2.reflectionLongConvert=void 0;var xEe=ac();function tdt(t,e){switch(e){case xEe.LongType.BIGINT:return t.toBigInt();case xEe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(tdt,"reflectionLongConvert");h2.reflectionLongConvert=tdt});var Qz=A(g2=>{"use strict";Object.defineProperty(g2,"__esModule",{value:!0});g2.ReflectionJsonReader=void 0;var vEe=ZR(),rdt=t2(),Dn=ac(),A2=xf(),qp=hy(),m2=p2(),Dz=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=vEe.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(vEe.isJsonObject(a),c.name,a);let d=u[l];for(let[f,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let m=f;c.K==Dn.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,Dn.LongType.STRING,c.name).toString(),d[m]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let d=u[l];for(let f of a){this.assert(f!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(f,n);break;case"enum":if(h=this.enum(c.T(),f,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(f,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),d.push(h)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,n,u[l]);break;case"enum":if(a===null)continue;let d=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(d===!1)continue;u[l]=d;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&qp.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return qp.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(qp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}qp.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Dn.ScalarType.DOUBLE:case Dn.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Dn.ScalarType.FLOAT&&qp.assertFloat32(a),a;case Dn.ScalarType.INT32:case Dn.ScalarType.FIXED32:case Dn.ScalarType.SFIXED32:case Dn.ScalarType.SINT32:case Dn.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Dn.ScalarType.UINT32?qp.assertUInt32(c):qp.assertInt32(c),c;case Dn.ScalarType.INT64:case Dn.ScalarType.SFIXED64:case Dn.ScalarType.SINT64:if(e===null)return m2.reflectionLongConvert(A2.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return m2.reflectionLongConvert(A2.PbLong.from(e),n);case Dn.ScalarType.FIXED64:case Dn.ScalarType.UINT64:if(e===null)return m2.reflectionLongConvert(A2.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return m2.reflectionLongConvert(A2.PbULong.from(e),n);case Dn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Dn.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Dn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return rdt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};g2.ReflectionJsonReader=Dz});var Pz=A(y2=>{"use strict";Object.defineProperty(y2,"__esModule",{value:!0});y2.ReflectionJsonWriter=void 0;var ndt=t2(),NEe=xf(),es=ac(),br=hy(),kz=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);br.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){br.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let d=this.scalar(e.V.T,u,e.name,!1,!0);br.assert(d!==void 0),s[l.toString()]=d}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let d=this.message(a,u,e.name,n);br.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){br.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);br.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){br.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l<r.length;l++){let u=this.scalar(e.T,r[l],e.name,e.opt,!0);br.assert(u!==void 0),s.push(u)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){br.assert(r[l]===void 0||typeof r[l]=="number");let u=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);br.assert(u!==void 0),s.push(u)}break;case"message":let c=e.T();for(let l=0;l<r.length;l++){let u=this.message(c,r[l],e.name,n);br.assert(u!==void 0),s.push(u)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){br.assert(i);return}if(!(r===0&&!s&&!i))return br.assert(typeof r=="number"),br.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){br.assert(i);return}let a=s||i;switch(e){case es.ScalarType.INT32:case es.ScalarType.SFIXED32:case es.ScalarType.SINT32:return r===0?a?0:void 0:(br.assertInt32(r),r);case es.ScalarType.FIXED32:case es.ScalarType.UINT32:return r===0?a?0:void 0:(br.assertUInt32(r),r);case es.ScalarType.FLOAT:br.assertFloat32(r);case es.ScalarType.DOUBLE:return r===0?a?0:void 0:(br.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case es.ScalarType.STRING:return r===""?a?"":void 0:(br.assert(typeof r=="string"),r);case es.ScalarType.BOOL:return r===!1?a?!1:void 0:(br.assert(typeof r=="boolean"),r);case es.ScalarType.UINT64:case es.ScalarType.FIXED64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=NEe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case es.ScalarType.INT64:case es.ScalarType.SFIXED64:case es.ScalarType.SINT64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=NEe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case es.ScalarType.BYTES:return br.assert(r instanceof Uint8Array),r.byteLength?ndt.base64encode(r):a?"":void 0}}};y2.ReflectionJsonWriter=kz});var C2=A(E2=>{"use strict";Object.defineProperty(E2,"__esModule",{value:!0});E2.reflectionScalarDefault=void 0;var cc=ac(),_Ee=p2(),TEe=xf();function idt(t,e=cc.LongType.STRING){switch(t){case cc.ScalarType.BOOL:return!1;case cc.ScalarType.UINT64:case cc.ScalarType.FIXED64:return _Ee.reflectionLongConvert(TEe.PbULong.ZERO,e);case cc.ScalarType.INT64:case cc.ScalarType.SFIXED64:case cc.ScalarType.SINT64:return _Ee.reflectionLongConvert(TEe.PbLong.ZERO,e);case cc.ScalarType.DOUBLE:case cc.ScalarType.FLOAT:return 0;case cc.ScalarType.BYTES:return new Uint8Array(0);case cc.ScalarType.STRING:return"";default:return 0}}o(idt,"reflectionScalarDefault");E2.reflectionScalarDefault=idt});var Lz=A(b2=>{"use strict";Object.defineProperty(b2,"__esModule",{value:!0});b2.ReflectionBinaryReader=void 0;var REe=Vw(),rn=ac(),Xw=p2(),DEe=C2(),Oz=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let h=n.readUnknownField;if(h=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let p=e.skip(c);h!==!1&&(h===!0?REe.UnknownFieldHandler.onRead:h)(this.info.typeName,r,a,c,p);continue}let u=r,d=l.repeat,f=l.localName;switch(l.oneof&&(u=u[l.oneof],u.oneofKind!==f&&(u=r[l.oneof]={oneofKind:f})),l.kind){case"scalar":case"enum":let h=l.kind=="enum"?rn.ScalarType.INT32:l.T,p=l.kind=="scalar"?l.L:void 0;if(d){let E=u[f];if(c==REe.WireType.LengthDelimited&&h!=rn.ScalarType.STRING&&h!=rn.ScalarType.BYTES){let y=e.uint32()+e.pos;for(;e.pos<y;)E.push(this.scalar(e,h,p))}else E.push(this.scalar(e,h,p))}else u[f]=this.scalar(e,h,p);break;case"message":if(d){let E=u[f],y=l.T().internalBinaryRead(e,e.uint32(),n);E.push(y)}else u[f]=l.T().internalBinaryRead(e,e.uint32(),n,u[f]);break;case"map":let[m,g]=this.mapEntry(l,e,n);u[f][m]=g;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,a,c;for(;r.pos<s;){let[l,u]=r.tag();switch(l){case 1:e.K==rn.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,rn.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(r,e.V.T,e.V.L);break;case"enum":c=r.int32();break;case"message":c=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${l} (wire type ${u}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===void 0){let l=DEe.reflectionScalarDefault(e.K);a=e.K==rn.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=DEe.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,r,n){switch(r){case rn.ScalarType.INT32:return e.int32();case rn.ScalarType.STRING:return e.string();case rn.ScalarType.BOOL:return e.bool();case rn.ScalarType.DOUBLE:return e.double();case rn.ScalarType.FLOAT:return e.float();case rn.ScalarType.INT64:return Xw.reflectionLongConvert(e.int64(),n);case rn.ScalarType.UINT64:return Xw.reflectionLongConvert(e.uint64(),n);case rn.ScalarType.FIXED64:return Xw.reflectionLongConvert(e.fixed64(),n);case rn.ScalarType.FIXED32:return e.fixed32();case rn.ScalarType.BYTES:return e.bytes();case rn.ScalarType.UINT32:return e.uint32();case rn.ScalarType.SFIXED32:return e.sfixed32();case rn.ScalarType.SFIXED64:return Xw.reflectionLongConvert(e.sfixed64(),n);case rn.ScalarType.SINT32:return e.sint32();case rn.ScalarType.SINT64:return Xw.reflectionLongConvert(e.sint64(),n)}}};b2.ReflectionBinaryReader=Oz});var Mz=A(w2=>{"use strict";Object.defineProperty(w2,"__esModule",{value:!0});w2.ReflectionBinaryWriter=void 0;var yo=Vw(),er=ac(),my=hy(),Zw=xf(),Fz=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let d=e[s.oneof];if(d.oneofKind!==u)continue;a=d[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let d=s.kind=="enum"?er.ScalarType.INT32:s.T;if(l)if(my.assert(Array.isArray(a)),l==er.RepeatType.PACKED)this.packed(r,d,s.no,a);else for(let f of a)this.scalar(r,d,s.no,f,!0);else a===void 0?my.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){my.assert(Array.isArray(a));for(let f of a)this.message(r,n,s.T(),s.no,f)}else this.message(r,n,s.T(),s.no,a);break;case"map":my.assert(typeof a=="object"&&a!==null);for(let[f,h]of Object.entries(a))this.mapEntry(r,n,s,f,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?yo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,yo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case er.ScalarType.INT32:case er.ScalarType.FIXED32:case er.ScalarType.UINT32:case er.ScalarType.SFIXED32:case er.ScalarType.SINT32:a=Number.parseInt(i);break;case er.ScalarType.BOOL:my.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,er.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,yo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;my.assert(r!==er.ScalarType.BYTES&&r!==er.ScalarType.STRING),e.tag(n,yo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a<i.length;a++)e[s](i[a]);e.join()}scalarInfo(e,r){let n=yo.WireType.Varint,i,s=r===void 0,a=r===0;switch(e){case er.ScalarType.INT32:i="int32";break;case er.ScalarType.STRING:a=s||!r.length,n=yo.WireType.LengthDelimited,i="string";break;case er.ScalarType.BOOL:a=r===!1,i="bool";break;case er.ScalarType.UINT32:i="uint32";break;case er.ScalarType.DOUBLE:n=yo.WireType.Bit64,i="double";break;case er.ScalarType.FLOAT:n=yo.WireType.Bit32,i="float";break;case er.ScalarType.INT64:a=s||Zw.PbLong.from(r).isZero(),i="int64";break;case er.ScalarType.UINT64:a=s||Zw.PbULong.from(r).isZero(),i="uint64";break;case er.ScalarType.FIXED64:a=s||Zw.PbULong.from(r).isZero(),n=yo.WireType.Bit64,i="fixed64";break;case er.ScalarType.BYTES:a=s||!r.byteLength,n=yo.WireType.LengthDelimited,i="bytes";break;case er.ScalarType.FIXED32:n=yo.WireType.Bit32,i="fixed32";break;case er.ScalarType.SFIXED32:n=yo.WireType.Bit32,i="sfixed32";break;case er.ScalarType.SFIXED64:a=s||Zw.PbLong.from(r).isZero(),n=yo.WireType.Bit64,i="sfixed64";break;case er.ScalarType.SINT32:i="sint32";break;case er.ScalarType.SINT64:a=s||Zw.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};w2.ReflectionBinaryWriter=Fz});var Uz=A(I2=>{"use strict";Object.defineProperty(I2,"__esModule",{value:!0});I2.reflectionCreate=void 0;var sdt=C2(),odt=Kw();function adt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},odt.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=sdt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(adt,"reflectionCreate");I2.reflectionCreate=adt});var qz=A(S2=>{"use strict";Object.defineProperty(S2,"__esModule",{value:!0});S2.reflectionMergePartial=void 0;function cdt(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u<n.length;u++)s[c][u]=n[u];else s[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let u=0;u<n.length;u++)s[c][u]=l.create(n[u]);else s[c]===void 0?s[c]=l.create(n):l.mergePartial(s[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(s[c],n);break;case"message":let u=a.V.T();for(let d of Object.keys(n))s[c][d]=u.create(n[d]);break}break}}}o(cdt,"reflectionMergePartial");S2.reflectionMergePartial=cdt});var Hz=A(x2=>{"use strict";Object.defineProperty(x2,"__esModule",{value:!0});x2.reflectionEquals=void 0;var Gz=ac();function ldt(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?Gz.ScalarType.INT32:n.T;if(!(n.repeat?QEe(c,s,a):PEe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?kEe(n.V.T(),B2(s),B2(a)):QEe(n.V.kind=="enum"?Gz.ScalarType.INT32:n.V.T,B2(s),B2(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?kEe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(ldt,"reflectionEquals");x2.reflectionEquals=ldt;var B2=Object.values;function PEe(t,e,r){if(e===r)return!0;if(t!==Gz.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}o(PEe,"primitiveEq");function QEe(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!PEe(t,e[n],r[n]))return!1;return!0}o(QEe,"repeatedPrimitiveEq");function kEe(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t.equals(e[n],r[n]))return!1;return!0}o(kEe,"repeatedMsgEq")});var FEe=A(v2=>{"use strict";Object.defineProperty(v2,"__esModule",{value:!0});v2.MessageType=void 0;var udt=Kw(),ddt=ac(),fdt=Rz(),hdt=Qz(),pdt=Pz(),Adt=Lz(),mdt=Mz(),gdt=Uz(),Vz=qz(),ydt=ZR(),OEe=vz(),Edt=Hz(),Cdt=xz(),bdt=Bz(),LEe=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),wdt=LEe[udt.MESSAGE_TYPE]={},zz=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(ddt.normalizeFieldInfo),this.options=n??{},wdt.value=this,this.messagePrototype=Object.create(null,LEe),this.refTypeCheck=new fdt.ReflectionTypeCheck(this),this.refJsonReader=new hdt.ReflectionJsonReader(this),this.refJsonWriter=new pdt.ReflectionJsonWriter(this),this.refBinReader=new Adt.ReflectionBinaryReader(this),this.refBinWriter=new mdt.ReflectionBinaryWriter(this)}create(e){let r=gdt.reflectionCreate(this);return e!==void 0&&Vz.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Vz.reflectionMergePartial(this,r,e),r}equals(e,r){return Edt.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){Vz.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=bdt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,OEe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,OEe.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=Cdt.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${ydt.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};v2.MessageType=zz});var MEe=A(N2=>{"use strict";Object.defineProperty(N2,"__esModule",{value:!0});N2.containsMessageType=void 0;var Idt=Kw();function Sdt(t){return t[Idt.MESSAGE_TYPE]!=null}o(Sdt,"containsMessageType");N2.containsMessageType=Sdt});var qEe=A(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.listEnumNumbers=wl.listEnumNames=wl.listEnumValues=wl.isEnumObject=void 0;function UEe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(UEe,"isEnumObject");wl.isEnumObject=UEe;function $z(t){if(!UEe(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o($z,"listEnumValues");wl.listEnumValues=$z;function Bdt(t){return $z(t).map(e=>e.name)}o(Bdt,"listEnumNames");wl.listEnumNames=Bdt;function xdt(t){return $z(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(xdt,"listEnumNumbers");wl.listEnumNumbers=xdt});var nn=A(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});var GEe=ZR();Object.defineProperty(Re,"typeofJsonValue",{enumerable:!0,get:o(function(){return GEe.typeofJsonValue},"get")});Object.defineProperty(Re,"isJsonObject",{enumerable:!0,get:o(function(){return GEe.isJsonObject},"get")});var HEe=t2();Object.defineProperty(Re,"base64decode",{enumerable:!0,get:o(function(){return HEe.base64decode},"get")});Object.defineProperty(Re,"base64encode",{enumerable:!0,get:o(function(){return HEe.base64encode},"get")});var vdt=AEe();Object.defineProperty(Re,"utf8read",{enumerable:!0,get:o(function(){return vdt.utf8read},"get")});var jz=Vw();Object.defineProperty(Re,"WireType",{enumerable:!0,get:o(function(){return jz.WireType},"get")});Object.defineProperty(Re,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return jz.mergeBinaryOptions},"get")});Object.defineProperty(Re,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return jz.UnknownFieldHandler},"get")});var VEe=Bz();Object.defineProperty(Re,"BinaryReader",{enumerable:!0,get:o(function(){return VEe.BinaryReader},"get")});Object.defineProperty(Re,"binaryReadOptions",{enumerable:!0,get:o(function(){return VEe.binaryReadOptions},"get")});var zEe=xz();Object.defineProperty(Re,"BinaryWriter",{enumerable:!0,get:o(function(){return zEe.BinaryWriter},"get")});Object.defineProperty(Re,"binaryWriteOptions",{enumerable:!0,get:o(function(){return zEe.binaryWriteOptions},"get")});var $Ee=xf();Object.defineProperty(Re,"PbLong",{enumerable:!0,get:o(function(){return $Ee.PbLong},"get")});Object.defineProperty(Re,"PbULong",{enumerable:!0,get:o(function(){return $Ee.PbULong},"get")});var Wz=vz();Object.defineProperty(Re,"jsonReadOptions",{enumerable:!0,get:o(function(){return Wz.jsonReadOptions},"get")});Object.defineProperty(Re,"jsonWriteOptions",{enumerable:!0,get:o(function(){return Wz.jsonWriteOptions},"get")});Object.defineProperty(Re,"mergeJsonOptions",{enumerable:!0,get:o(function(){return Wz.mergeJsonOptions},"get")});var Ndt=Kw();Object.defineProperty(Re,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return Ndt.MESSAGE_TYPE},"get")});var _dt=FEe();Object.defineProperty(Re,"MessageType",{enumerable:!0,get:o(function(){return _dt.MessageType},"get")});var Gp=ac();Object.defineProperty(Re,"ScalarType",{enumerable:!0,get:o(function(){return Gp.ScalarType},"get")});Object.defineProperty(Re,"LongType",{enumerable:!0,get:o(function(){return Gp.LongType},"get")});Object.defineProperty(Re,"RepeatType",{enumerable:!0,get:o(function(){return Gp.RepeatType},"get")});Object.defineProperty(Re,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Gp.normalizeFieldInfo},"get")});Object.defineProperty(Re,"readFieldOptions",{enumerable:!0,get:o(function(){return Gp.readFieldOptions},"get")});Object.defineProperty(Re,"readFieldOption",{enumerable:!0,get:o(function(){return Gp.readFieldOption},"get")});Object.defineProperty(Re,"readMessageOption",{enumerable:!0,get:o(function(){return Gp.readMessageOption},"get")});var Tdt=Rz();Object.defineProperty(Re,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return Tdt.ReflectionTypeCheck},"get")});var Rdt=Uz();Object.defineProperty(Re,"reflectionCreate",{enumerable:!0,get:o(function(){return Rdt.reflectionCreate},"get")});var Ddt=C2();Object.defineProperty(Re,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return Ddt.reflectionScalarDefault},"get")});var Qdt=qz();Object.defineProperty(Re,"reflectionMergePartial",{enumerable:!0,get:o(function(){return Qdt.reflectionMergePartial},"get")});var kdt=Hz();Object.defineProperty(Re,"reflectionEquals",{enumerable:!0,get:o(function(){return kdt.reflectionEquals},"get")});var Pdt=Lz();Object.defineProperty(Re,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Pdt.ReflectionBinaryReader},"get")});var Odt=Mz();Object.defineProperty(Re,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Odt.ReflectionBinaryWriter},"get")});var Ldt=Qz();Object.defineProperty(Re,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Ldt.ReflectionJsonReader},"get")});var Fdt=Pz();Object.defineProperty(Re,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Fdt.ReflectionJsonWriter},"get")});var Mdt=MEe();Object.defineProperty(Re,"containsMessageType",{enumerable:!0,get:o(function(){return Mdt.containsMessageType},"get")});var eI=_z();Object.defineProperty(Re,"isOneofGroup",{enumerable:!0,get:o(function(){return eI.isOneofGroup},"get")});Object.defineProperty(Re,"setOneofValue",{enumerable:!0,get:o(function(){return eI.setOneofValue},"get")});Object.defineProperty(Re,"getOneofValue",{enumerable:!0,get:o(function(){return eI.getOneofValue},"get")});Object.defineProperty(Re,"clearOneofValue",{enumerable:!0,get:o(function(){return eI.clearOneofValue},"get")});Object.defineProperty(Re,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return eI.getSelectedOneofValue},"get")});var _2=qEe();Object.defineProperty(Re,"listEnumValues",{enumerable:!0,get:o(function(){return _2.listEnumValues},"get")});Object.defineProperty(Re,"listEnumNames",{enumerable:!0,get:o(function(){return _2.listEnumNames},"get")});Object.defineProperty(Re,"listEnumNumbers",{enumerable:!0,get:o(function(){return _2.listEnumNumbers},"get")});Object.defineProperty(Re,"isEnumObject",{enumerable:!0,get:o(function(){return _2.isEnumObject},"get")});var Udt=Nz();Object.defineProperty(Re,"lowerCamelCase",{enumerable:!0,get:o(function(){return Udt.lowerCamelCase},"get")});var tI=hy();Object.defineProperty(Re,"assert",{enumerable:!0,get:o(function(){return tI.assert},"get")});Object.defineProperty(Re,"assertNever",{enumerable:!0,get:o(function(){return tI.assertNever},"get")});Object.defineProperty(Re,"assertInt32",{enumerable:!0,get:o(function(){return tI.assertInt32},"get")});Object.defineProperty(Re,"assertUInt32",{enumerable:!0,get:o(function(){return tI.assertUInt32},"get")});Object.defineProperty(Re,"assertFloat32",{enumerable:!0,get:o(function(){return tI.assertFloat32},"get")})});var Jz=A(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.readServiceOption=Il.readMethodOption=Il.readMethodOptions=Il.normalizeMethodInfo=void 0;var qdt=nn();function Gdt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:qdt.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(Gdt,"normalizeMethodInfo");Il.normalizeMethodInfo=Gdt;function Hdt(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(Hdt,"readMethodOptions");Il.readMethodOptions=Hdt;function Vdt(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(Vdt,"readMethodOption");Il.readMethodOption=Vdt;function zdt(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(zdt,"readServiceOption");Il.readServiceOption=zdt});var jEe=A(T2=>{"use strict";Object.defineProperty(T2,"__esModule",{value:!0});T2.ServiceType=void 0;var $dt=Jz(),Yz=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>$dt.normalizeMethodInfo(i,this)),this.options=n??{}}};T2.ServiceType=Yz});var Xz=A(R2=>{"use strict";Object.defineProperty(R2,"__esModule",{value:!0});R2.RpcError=void 0;var Kz=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(`
`)}};R2.RpcError=Kz});var Zz=A(Q2=>{"use strict";Object.defineProperty(Q2,"__esModule",{value:!0});Q2.mergeRpcOptions=void 0;var WEe=nn();function jdt(t,e){if(!e)return t;let r={};D2(t,r),D2(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=WEe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=WEe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},D2(t.meta,r.meta),D2(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(jdt,"mergeRpcOptions");Q2.mergeRpcOptions=jdt;function D2(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(D2,"copy")});var t$=A(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.Deferred=Hp.DeferredState=void 0;var Sl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Sl=Hp.DeferredState||(Hp.DeferredState={}));var e$=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Sl.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Sl.PENDING)throw new Error(`cannot resolve ${Sl[this.state].toLowerCase()}`);this._resolve(e),this._state=Sl.RESOLVED}reject(e){if(this.state!==Sl.PENDING)throw new Error(`cannot reject ${Sl[this.state].toLowerCase()}`);this._reject(e),this._state=Sl.REJECTED}resolvePending(e){this._state===Sl.PENDING&&this.resolve(e)}rejectPending(e){this._state===Sl.PENDING&&this.reject(e)}};Hp.Deferred=e$});var n$=A(k2=>{"use strict";Object.defineProperty(k2,"__esModule",{value:!0});k2.RpcOutputStreamController=void 0;var JEe=t$(),Vp=nn(),r$=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Vp.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Vp.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){Vp.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(){Vp.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;Vp.assert(e,"bad state"),Vp.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 JEe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Vp.assert(n.state==JEe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};k2.RpcOutputStreamController=r$});var s$=A(gy=>{"use strict";var Wdt=gy&&gy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(gy,"__esModule",{value:!0});gy.UnaryCall=void 0;var i$=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Wdt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};gy.UnaryCall=i$});var a$=A(yy=>{"use strict";var Jdt=yy&&yy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(yy,"__esModule",{value:!0});yy.ServerStreamingCall=void 0;var o$=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Jdt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};yy.ServerStreamingCall=o$});var l$=A(Ey=>{"use strict";var Ydt=Ey&&Ey.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ey,"__esModule",{value:!0});Ey.ClientStreamingCall=void 0;var c$=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Ydt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};Ey.ClientStreamingCall=c$});var d$=A(Cy=>{"use strict";var Kdt=Cy&&Cy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Cy,"__esModule",{value:!0});Cy.DuplexStreamingCall=void 0;var u$=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Kdt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Cy.DuplexStreamingCall=u$});var KEe=A(Iy=>{"use strict";var Xdt=Iy&&Iy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Iy,"__esModule",{value:!0});Iy.TestTransport=void 0;var aa=Xz(),P2=nn(),YEe=n$(),Zdt=Zz(),eft=s$(),tft=a$(),rft=l$(),nft=d$(),wy=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof by?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof by?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 aa.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof aa.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(P2.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),P2.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Xdt(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)P2.assert(e.O.is(s)),i.push(s);else this.data.response instanceof aa.RpcError||(P2.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Jn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof aa.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Jn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof aa.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof aa.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 aa.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 aa.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Zdt.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jn(this.headerDelay,n.abort)),c=a.catch(d=>{}).then(Jn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Jn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Jn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new eft.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jn(this.headerDelay,n.abort)),c=new YEe.RpcOutputStreamController,l=a.then(Jn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Jn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),d=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,d),this.lastInput={single:r},new tft.ServerStreamingCall(e,s,r,a,c,u,d)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Jn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Jn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Jn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new by(this.data,r.abort),new rft.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jn(this.headerDelay,r.abort)),a=new YEe.RpcOutputStreamController,c=s.then(Jn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new by(this.data,r.abort),new nft.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};Iy.TestTransport=wy;wy.defaultHeaders={responseHeader:"test"};wy.defaultStatus={code:"OK",detail:"all good"};wy.defaultTrailers={responseTrailer:"test"};function Jn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new aa.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new aa.RpcError("user cancel","CANCELLED"))})}})}o(Jn,"delay");var by=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof aa.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(Jn(r,this.abort))}complete(){if(this.data.inputComplete instanceof aa.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(Jn(e,this.abort))}}});var XEe=A(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.stackDuplexStreamingInterceptors=ca.stackClientStreamingInterceptors=ca.stackServerStreamingInterceptors=ca.stackUnaryInterceptors=ca.stackIntercept=void 0;var ift=nn();function rI(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((d,f,h)=>e.unary(d,f,h),"tail");for(let d of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(f=>f.interceptUnary).reverse()){let f=u;u=o((h,p,m)=>d.interceptUnary(f,h,p,m),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((d,f,h)=>e.serverStreaming(d,f,h),"tail");for(let d of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(f=>f.interceptServerStreaming).reverse()){let f=u;u=o((h,p,m)=>d.interceptServerStreaming(f,h,p,m),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((d,f)=>e.clientStreaming(d,f),"tail");for(let d of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(f=>f.interceptClientStreaming).reverse()){let f=u;u=o((h,p)=>d.interceptClientStreaming(f,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((d,f)=>e.duplex(d,f),"tail");for(let d of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(f=>f.interceptDuplex).reverse()){let f=u;u=o((h,p)=>d.interceptDuplex(f,h,p),"tail")}return u(r,n)}ift.assertNever(t)}o(rI,"stackIntercept");ca.stackIntercept=rI;function sft(t,e,r,n){return rI("unary",t,e,n,r)}o(sft,"stackUnaryInterceptors");ca.stackUnaryInterceptors=sft;function oft(t,e,r,n){return rI("serverStreaming",t,e,n,r)}o(oft,"stackServerStreamingInterceptors");ca.stackServerStreamingInterceptors=oft;function aft(t,e,r){return rI("clientStreaming",t,e,r)}o(aft,"stackClientStreamingInterceptors");ca.stackClientStreamingInterceptors=aft;function cft(t,e,r){return rI("duplex",t,e,r)}o(cft,"stackDuplexStreamingInterceptors");ca.stackDuplexStreamingInterceptors=cft});var ZEe=A(O2=>{"use strict";Object.defineProperty(O2,"__esModule",{value:!0});O2.ServerCallContextController=void 0;var f$=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};O2.ServerCallContextController=f$});var tCe=A(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var lft=jEe();Object.defineProperty(Gr,"ServiceType",{enumerable:!0,get:o(function(){return lft.ServiceType},"get")});var h$=Jz();Object.defineProperty(Gr,"readMethodOptions",{enumerable:!0,get:o(function(){return h$.readMethodOptions},"get")});Object.defineProperty(Gr,"readMethodOption",{enumerable:!0,get:o(function(){return h$.readMethodOption},"get")});Object.defineProperty(Gr,"readServiceOption",{enumerable:!0,get:o(function(){return h$.readServiceOption},"get")});var uft=Xz();Object.defineProperty(Gr,"RpcError",{enumerable:!0,get:o(function(){return uft.RpcError},"get")});var dft=Zz();Object.defineProperty(Gr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return dft.mergeRpcOptions},"get")});var fft=n$();Object.defineProperty(Gr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return fft.RpcOutputStreamController},"get")});var hft=KEe();Object.defineProperty(Gr,"TestTransport",{enumerable:!0,get:o(function(){return hft.TestTransport},"get")});var eCe=t$();Object.defineProperty(Gr,"Deferred",{enumerable:!0,get:o(function(){return eCe.Deferred},"get")});Object.defineProperty(Gr,"DeferredState",{enumerable:!0,get:o(function(){return eCe.DeferredState},"get")});var pft=d$();Object.defineProperty(Gr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return pft.DuplexStreamingCall},"get")});var Aft=l$();Object.defineProperty(Gr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return Aft.ClientStreamingCall},"get")});var mft=a$();Object.defineProperty(Gr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return mft.ServerStreamingCall},"get")});var gft=s$();Object.defineProperty(Gr,"UnaryCall",{enumerable:!0,get:o(function(){return gft.UnaryCall},"get")});var nI=XEe();Object.defineProperty(Gr,"stackIntercept",{enumerable:!0,get:o(function(){return nI.stackIntercept},"get")});Object.defineProperty(Gr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return nI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return nI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return nI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return nI.stackUnaryInterceptors},"get")});var yft=ZEe();Object.defineProperty(Gr,"ServerCallContextController",{enumerable:!0,get:o(function(){return yft.ServerCallContextController},"get")})});var By=A((Abr,yCe)=>{"use strict";var Tft="2.0.0",Rft=Number.MAX_SAFE_INTEGER||9007199254740991,Dft=16,Qft=250,kft=["major","premajor","minor","preminor","patch","prepatch","prerelease"];yCe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Dft,MAX_SAFE_BUILD_LENGTH:Qft,MAX_SAFE_INTEGER:Rft,RELEASE_TYPES:kft,SEMVER_SPEC_VERSION:Tft,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var aI=A((mbr,ECe)=>{"use strict";var Pft=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};ECe.exports=Pft});var xy=A((xl,CCe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:V$,MAX_SAFE_BUILD_LENGTH:Oft,MAX_LENGTH:Lft}=By(),Fft=aI();xl=CCe.exports={};var Mft=xl.re=[],Uft=xl.safeRe=[],fe=xl.src=[],qft=xl.safeSrc=[],he=xl.t={},Gft=0,z$="[a-zA-Z0-9-]",Hft=[["\\s",1],["\\d",Lft],[z$,Oft]],Vft=o(t=>{for(let[e,r]of Hft)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=Vft(e),i=Gft++;Fft(t,i,e),he[t]=i,fe[i]=e,qft[i]=n,Mft[i]=new RegExp(e,r?"g":void 0),Uft[i]=new RegExp(n,r?"g":void 0)},"createToken");Ke("NUMERICIDENTIFIER","0|[1-9]\\d*");Ke("NUMERICIDENTIFIERLOOSE","\\d+");Ke("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${z$}*`);Ke("MAINVERSION",`(${fe[he.NUMERICIDENTIFIER]})\\.(${fe[he.NUMERICIDENTIFIER]})\\.(${fe[he.NUMERICIDENTIFIER]})`);Ke("MAINVERSIONLOOSE",`(${fe[he.NUMERICIDENTIFIERLOOSE]})\\.(${fe[he.NUMERICIDENTIFIERLOOSE]})\\.(${fe[he.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASEIDENTIFIER",`(?:${fe[he.NONNUMERICIDENTIFIER]}|${fe[he.NUMERICIDENTIFIER]})`);Ke("PRERELEASEIDENTIFIERLOOSE",`(?:${fe[he.NONNUMERICIDENTIFIER]}|${fe[he.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASE",`(?:-(${fe[he.PRERELEASEIDENTIFIER]}(?:\\.${fe[he.PRERELEASEIDENTIFIER]})*))`);Ke("PRERELEASELOOSE",`(?:-?(${fe[he.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${fe[he.PRERELEASEIDENTIFIERLOOSE]})*))`);Ke("BUILDIDENTIFIER",`${z$}+`);Ke("BUILD",`(?:\\+(${fe[he.BUILDIDENTIFIER]}(?:\\.${fe[he.BUILDIDENTIFIER]})*))`);Ke("FULLPLAIN",`v?${fe[he.MAINVERSION]}${fe[he.PRERELEASE]}?${fe[he.BUILD]}?`);Ke("FULL",`^${fe[he.FULLPLAIN]}$`);Ke("LOOSEPLAIN",`[v=\\s]*${fe[he.MAINVERSIONLOOSE]}${fe[he.PRERELEASELOOSE]}?${fe[he.BUILD]}?`);Ke("LOOSE",`^${fe[he.LOOSEPLAIN]}$`);Ke("GTLT","((?:<|>)?=?)");Ke("XRANGEIDENTIFIERLOOSE",`${fe[he.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Ke("XRANGEIDENTIFIER",`${fe[he.NUMERICIDENTIFIER]}|x|X|\\*`);Ke("XRANGEPLAIN",`[v=\\s]*(${fe[he.XRANGEIDENTIFIER]})(?:\\.(${fe[he.XRANGEIDENTIFIER]})(?:\\.(${fe[he.XRANGEIDENTIFIER]})(?:${fe[he.PRERELEASE]})?${fe[he.BUILD]}?)?)?`);Ke("XRANGEPLAINLOOSE",`[v=\\s]*(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:${fe[he.PRERELEASELOOSE]})?${fe[he.BUILD]}?)?)?`);Ke("XRANGE",`^${fe[he.GTLT]}\\s*${fe[he.XRANGEPLAIN]}$`);Ke("XRANGELOOSE",`^${fe[he.GTLT]}\\s*${fe[he.XRANGEPLAINLOOSE]}$`);Ke("COERCEPLAIN",`(^|[^\\d])(\\d{1,${V$}})(?:\\.(\\d{1,${V$}}))?(?:\\.(\\d{1,${V$}}))?`);Ke("COERCE",`${fe[he.COERCEPLAIN]}(?:$|[^\\d])`);Ke("COERCEFULL",fe[he.COERCEPLAIN]+`(?:${fe[he.PRERELEASE]})?(?:${fe[he.BUILD]})?(?:$|[^\\d])`);Ke("COERCERTL",fe[he.COERCE],!0);Ke("COERCERTLFULL",fe[he.COERCEFULL],!0);Ke("LONETILDE","(?:~>?)");Ke("TILDETRIM",`(\\s*)${fe[he.LONETILDE]}\\s+`,!0);xl.tildeTrimReplace="$1~";Ke("TILDE",`^${fe[he.LONETILDE]}${fe[he.XRANGEPLAIN]}$`);Ke("TILDELOOSE",`^${fe[he.LONETILDE]}${fe[he.XRANGEPLAINLOOSE]}$`);Ke("LONECARET","(?:\\^)");Ke("CARETTRIM",`(\\s*)${fe[he.LONECARET]}\\s+`,!0);xl.caretTrimReplace="$1^";Ke("CARET",`^${fe[he.LONECARET]}${fe[he.XRANGEPLAIN]}$`);Ke("CARETLOOSE",`^${fe[he.LONECARET]}${fe[he.XRANGEPLAINLOOSE]}$`);Ke("COMPARATORLOOSE",`^${fe[he.GTLT]}\\s*(${fe[he.LOOSEPLAIN]})$|^$`);Ke("COMPARATOR",`^${fe[he.GTLT]}\\s*(${fe[he.FULLPLAIN]})$|^$`);Ke("COMPARATORTRIM",`(\\s*)${fe[he.GTLT]}\\s*(${fe[he.LOOSEPLAIN]}|${fe[he.XRANGEPLAIN]})`,!0);xl.comparatorTrimReplace="$1$2$3";Ke("HYPHENRANGE",`^\\s*(${fe[he.XRANGEPLAIN]})\\s+-\\s+(${fe[he.XRANGEPLAIN]})\\s*$`);Ke("HYPHENRANGELOOSE",`^\\s*(${fe[he.XRANGEPLAINLOOSE]})\\s+-\\s+(${fe[he.XRANGEPLAINLOOSE]})\\s*$`);Ke("STAR","(<|>)?=?\\s*\\*");Ke("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Ke("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var V2=A((ybr,bCe)=>{"use strict";var zft=Object.freeze({loose:!0}),$ft=Object.freeze({}),jft=o(t=>t?typeof t!="object"?zft:t:$ft,"parseOptions");bCe.exports=jft});var $$=A((Cbr,SCe)=>{"use strict";var wCe=/^[0-9]+$/,ICe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=wCe.test(t),n=wCe.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),Wft=o((t,e)=>ICe(e,t),"rcompareIdentifiers");SCe.exports={compareIdentifiers:ICe,rcompareIdentifiers:Wft}});var pi=A((wbr,xCe)=>{"use strict";var z2=aI(),{MAX_LENGTH:BCe,MAX_SAFE_INTEGER:$2}=By(),{safeRe:j2,t:W2}=xy(),Jft=V2(),{compareIdentifiers:j$}=$$(),Yft=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let n=0;n<r.length;n++)if(j$(t[n],r[n])!==0)return!1;return!0},"isPrereleaseIdentifier"),W$=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Jft(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>BCe)throw new TypeError(`version is longer than ${BCe} characters`);z2("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?j2[W2.LOOSE]:j2[W2.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>$2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>$2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>$2||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<$2)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(z2("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=e.prerelease[r];if(z2("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return j$(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(z2("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return j$(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?j2[W2.PRERELEASELOOSE]:j2[W2.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];if(n===!1&&(s=[r]),Yft(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=s)}else this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};xCe.exports=W$});var _f=A((Sbr,NCe)=>{"use strict";var vCe=pi(),Kft=o((t,e,r=!1)=>{if(t instanceof vCe)return t;try{return new vCe(t,e)}catch(n){if(!r)return null;throw n}},"parse");NCe.exports=Kft});var TCe=A((xbr,_Ce)=>{"use strict";var Xft=_f(),Zft=o((t,e)=>{let r=Xft(t,e);return r?r.version:null},"valid");_Ce.exports=Zft});var DCe=A((Nbr,RCe)=>{"use strict";var eht=_f(),tht=o((t,e)=>{let r=eht(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");RCe.exports=tht});var PCe=A((Tbr,kCe)=>{"use strict";var QCe=pi(),rht=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new QCe(t instanceof QCe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");kCe.exports=rht});var FCe=A((Dbr,LCe)=>{"use strict";var OCe=_f(),nht=o((t,e)=>{let r=OCe(t,null,!0),n=OCe(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");LCe.exports=nht});var UCe=A((kbr,MCe)=>{"use strict";var iht=pi(),sht=o((t,e)=>new iht(t,e).major,"major");MCe.exports=sht});var GCe=A((Obr,qCe)=>{"use strict";var oht=pi(),aht=o((t,e)=>new oht(t,e).minor,"minor");qCe.exports=aht});var VCe=A((Fbr,HCe)=>{"use strict";var cht=pi(),lht=o((t,e)=>new cht(t,e).patch,"patch");HCe.exports=lht});var $Ce=A((Ubr,zCe)=>{"use strict";var uht=_f(),dht=o((t,e)=>{let r=uht(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");zCe.exports=dht});var la=A((Gbr,WCe)=>{"use strict";var jCe=pi(),fht=o((t,e,r)=>new jCe(t,r).compare(new jCe(e,r)),"compare");WCe.exports=fht});var YCe=A((Vbr,JCe)=>{"use strict";var hht=la(),pht=o((t,e,r)=>hht(e,t,r),"rcompare");JCe.exports=pht});var XCe=A(($br,KCe)=>{"use strict";var Aht=la(),mht=o((t,e)=>Aht(t,e,!0),"compareLoose");KCe.exports=mht});var J2=A((Wbr,ebe)=>{"use strict";var ZCe=pi(),ght=o((t,e,r)=>{let n=new ZCe(t,r),i=new ZCe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");ebe.exports=ght});var rbe=A((Ybr,tbe)=>{"use strict";var yht=J2(),Eht=o((t,e)=>t.sort((r,n)=>yht(r,n,e)),"sort");tbe.exports=Eht});var ibe=A((Xbr,nbe)=>{"use strict";var Cht=J2(),bht=o((t,e)=>t.sort((r,n)=>Cht(n,r,e)),"rsort");nbe.exports=bht});var cI=A((e0r,sbe)=>{"use strict";var wht=la(),Iht=o((t,e,r)=>wht(t,e,r)>0,"gt");sbe.exports=Iht});var Y2=A((r0r,obe)=>{"use strict";var Sht=la(),Bht=o((t,e,r)=>Sht(t,e,r)<0,"lt");obe.exports=Bht});var J$=A((i0r,abe)=>{"use strict";var xht=la(),vht=o((t,e,r)=>xht(t,e,r)===0,"eq");abe.exports=vht});var Y$=A((o0r,cbe)=>{"use strict";var Nht=la(),_ht=o((t,e,r)=>Nht(t,e,r)!==0,"neq");cbe.exports=_ht});var K2=A((c0r,lbe)=>{"use strict";var Tht=la(),Rht=o((t,e,r)=>Tht(t,e,r)>=0,"gte");lbe.exports=Rht});var X2=A((u0r,ube)=>{"use strict";var Dht=la(),Qht=o((t,e,r)=>Dht(t,e,r)<=0,"lte");ube.exports=Qht});var K$=A((f0r,dbe)=>{"use strict";var kht=J$(),Pht=Y$(),Oht=cI(),Lht=K2(),Fht=Y2(),Mht=X2(),Uht=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return kht(t,r,n);case"!=":return Pht(t,r,n);case">":return Oht(t,r,n);case">=":return Lht(t,r,n);case"<":return Fht(t,r,n);case"<=":return Mht(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");dbe.exports=Uht});var hbe=A((p0r,fbe)=>{"use strict";var qht=pi(),Ght=_f(),{safeRe:Z2,t:eD}=xy(),Hht=o((t,e)=>{if(t instanceof qht)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?Z2[eD.COERCEFULL]:Z2[eD.COERCE]);else{let l=e.includePrerelease?Z2[eD.COERCERTLFULL]:Z2[eD.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Ght(`${n}.${i}.${s}${a}${c}`,e)},"coerce");fbe.exports=Hht});var Abe=A((m0r,pbe)=>{"use strict";var Vht=_f(),zht=By(),$ht=pi(),jht=o((t,e,r)=>{if(!zht.RELEASE_TYPES.includes(e))return null;let n=Wht(t,r);return n&&Jht(n,e)},"truncate"),Wht=o((t,e)=>{let r=t instanceof $ht?t.version:t;return Vht(r,e)},"cloneInputVersion"),Jht=o((t,e)=>{if(Yht(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()},"doTruncation"),Yht=o(t=>t.startsWith("pre"),"isPrerelease");pbe.exports=jht});var gbe=A((y0r,mbe)=>{"use strict";var X$=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};mbe.exports=X$});var ua=A((C0r,bbe)=>{"use strict";var Kht=/\s+/g,Z$=class t{static{o(this,"Range")}constructor(e,r){if(r=Zht(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof ej)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(Kht," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!Ebe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&cpt(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(apt,"");let n=((this.options.includePrerelease&&spt)|(this.options.loose&&opt))+":"+e,i=ybe.get(n);if(i)return i;let s=this.options.loose,a=s?ts[Ai.HYPHENRANGELOOSE]:ts[Ai.HYPHENRANGE];e=e.replace(a,Ept(this.options.includePrerelease)),or("hyphen replace",e),e=e.replace(ts[Ai.COMPARATORTRIM],rpt),or("comparator trim",e),e=e.replace(ts[Ai.TILDETRIM],npt),or("tilde trim",e),e=e.replace(ts[Ai.CARETTRIM],ipt),or("caret trim",e);let c=e.split(" ").map(f=>lpt(f,this.options)).join(" ").split(/\s+/).map(f=>ypt(f,this.options));s&&(c=c.filter(f=>(or("loose invalid filter",f,this.options),!!f.match(ts[Ai.COMPARATORLOOSE])))),or("range list",c);let l=new Map,u=c.map(f=>new ej(f,this.options));for(let f of u){if(Ebe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return ybe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Cbe(n,r)&&e.set.some(i=>Cbe(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ept(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Cpt(this.set[r],e,this.options))return!0;return!1}};bbe.exports=Z$;var Xht=gbe(),ybe=new Xht,Zht=V2(),ej=lI(),or=aI(),ept=pi(),{safeRe:ts,src:tpt,t:Ai,comparatorTrimReplace:rpt,tildeTrimReplace:npt,caretTrimReplace:ipt}=xy(),{FLAG_INCLUDE_PRERELEASE:spt,FLAG_LOOSE:opt}=By(),apt=new RegExp(tpt[Ai.BUILD],"g"),Ebe=o(t=>t.value==="<0.0.0-0","isNullSet"),cpt=o(t=>t.value==="","isAny"),Cbe=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),lpt=o((t,e)=>(t=t.replace(ts[Ai.BUILD],""),or("comp",t,e),t=hpt(t,e),or("caret",t),t=dpt(t,e),or("tildes",t),t=Apt(t,e),or("xrange",t),t=gpt(t,e),or("stars",t),t),"parseComparator"),Qn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),upt=o((t,e,r)=>Qn(t)&&!Qn(e)||Qn(e)&&r&&!Qn(r),"invalidXRangeOrder"),dpt=o((t,e)=>t.trim().split(/\s+/).map(r=>fpt(r,e)).join(" "),"replaceTildes"),fpt=o((t,e)=>{let r=e.loose?ts[Ai.TILDELOOSE]:ts[Ai.TILDE],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("tilde",t,i,s,a,c,l);let u;return Qn(s)?u="":Qn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Qn(c)?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:l?(or("replaceTilde pr",l),u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`):u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`,or("tilde return",u),u})},"replaceTilde"),hpt=o((t,e)=>t.trim().split(/\s+/).map(r=>ppt(r,e)).join(" "),"replaceCarets"),ppt=o((t,e)=>{or("caret",t,e);let r=e.loose?ts[Ai.CARETLOOSE]:ts[Ai.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("caret",t,i,s,a,c,l);let u;return Qn(s)?u="":Qn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Qn(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(or("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(or("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),or("caret return",u),u})},"replaceCaret"),Apt=o((t,e)=>(or("replaceXRanges",t,e),t.split(/\s+/).map(r=>mpt(r,e)).join(" ")),"replaceXRanges"),mpt=o((t,e)=>{t=t.trim();let r=e.loose?ts[Ai.XRANGELOOSE]:ts[Ai.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{if(or("xRange",t,n,i,s,a,c,l),upt(s,a,c))return t;let u=Qn(s),d=u||Qn(a),f=d||Qn(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),or("xRange return",n),n})},"replaceXRange"),gpt=o((t,e)=>(or("replaceStars",t,e),t.trim().replace(ts[Ai.STAR],"")),"replaceStars"),ypt=o((t,e)=>(or("replaceGTE0",t,e),t.trim().replace(ts[e.includePrerelease?Ai.GTE0PRE:Ai.GTE0],"")),"replaceGTE0"),Ept=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(Qn(n)?r="":Qn(i)?r=`>=${n}.0.0${t?"-0":""}`:Qn(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Qn(u)?l="":Qn(d)?l=`<${+u+1}.0.0-0`:Qn(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Cpt=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(or(t[n].semver),t[n].semver!==ej.ANY&&t[n].semver.prerelease.length>0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var lI=A((w0r,vbe)=>{"use strict";var uI=Symbol("SemVer ANY"),nj=class t{static{o(this,"Comparator")}static get ANY(){return uI}constructor(e,r){if(r=wbe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),rj("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===uI?this.value="":this.value=this.operator+this.semver.version,rj("comp",this)}parse(e){let r=this.options.loose?Ibe[Sbe.COMPARATORLOOSE]:Ibe[Sbe.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Bbe(n[2],this.options.loose):this.semver=uI}toString(){return this.value}test(e){if(rj("Comparator.test",e,this.options.loose),this.semver===uI||e===uI)return!0;if(typeof e=="string")try{e=new Bbe(e,this.options)}catch{return!1}return tj(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 xbe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new xbe(this.value,r).test(e.semver):(r=wbe(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("=")||tj(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||tj(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};vbe.exports=nj;var wbe=V2(),{safeRe:Ibe,t:Sbe}=xy(),tj=K$(),rj=aI(),Bbe=pi(),xbe=ua()});var dI=A((S0r,Nbe)=>{"use strict";var bpt=ua(),wpt=o((t,e,r)=>{try{e=new bpt(e,r)}catch{return!1}return e.test(t)},"satisfies");Nbe.exports=wpt});var Tbe=A((x0r,_be)=>{"use strict";var Ipt=ua(),Spt=o((t,e)=>new Ipt(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");_be.exports=Spt});var Dbe=A((N0r,Rbe)=>{"use strict";var Bpt=pi(),xpt=ua(),vpt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new xpt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Bpt(n,r))}),n},"maxSatisfying");Rbe.exports=vpt});var kbe=A((T0r,Qbe)=>{"use strict";var Npt=pi(),_pt=ua(),Tpt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new _pt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Npt(n,r))}),n},"minSatisfying");Qbe.exports=Tpt});var Lbe=A((D0r,Obe)=>{"use strict";var ij=pi(),Rpt=ua(),Pbe=cI(),Dpt=o((t,e)=>{t=new Rpt(t,e);let r=new ij("0.0.0");if(t.test(r)||(r=new ij("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let i=t.set[n],s=null;i.forEach(a=>{let c=new ij(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Pbe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Pbe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Obe.exports=Dpt});var Mbe=A((k0r,Fbe)=>{"use strict";var Qpt=ua(),kpt=o((t,e)=>{try{return new Qpt(t,e).range||"*"}catch{return null}},"validRange");Fbe.exports=kpt});var tD=A((O0r,Hbe)=>{"use strict";var Ppt=pi(),Gbe=lI(),{ANY:Opt}=Gbe,Lpt=ua(),Fpt=dI(),Ube=cI(),qbe=Y2(),Mpt=X2(),Upt=K2(),qpt=o((t,e,r,n)=>{t=new Ppt(t,n),e=new Lpt(e,n);let i,s,a,c,l;switch(r){case">":i=Ube,s=Mpt,a=qbe,c=">",l=">=";break;case"<":i=qbe,s=Upt,a=Ube,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Fpt(t,e,n))return!1;for(let u=0;u<e.set.length;++u){let d=e.set[u],f=null,h=null;if(d.forEach(p=>{p.semver===Opt&&(p=new Gbe(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");Hbe.exports=qpt});var zbe=A((F0r,Vbe)=>{"use strict";var Gpt=tD(),Hpt=o((t,e,r)=>Gpt(t,e,">",r),"gtr");Vbe.exports=Hpt});var jbe=A((U0r,$be)=>{"use strict";var Vpt=tD(),zpt=o((t,e,r)=>Vpt(t,e,"<",r),"ltr");$be.exports=zpt});var Ybe=A((G0r,Jbe)=>{"use strict";var Wbe=ua(),$pt=o((t,e,r)=>(t=new Wbe(t,r),e=new Wbe(e,r),t.intersects(e,r)),"intersects");Jbe.exports=$pt});var Xbe=A((V0r,Kbe)=>{"use strict";var jpt=dI(),Wpt=la();Kbe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>Wpt(d,f,r));for(let d of a)jpt(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length<u.length?l:e}});var i0e=A((z0r,n0e)=>{"use strict";var Zbe=ua(),aj=lI(),{ANY:sj}=aj,oj=dI(),cj=la(),Jpt=o((t,e,r={})=>{if(t===e)return!0;t=new Zbe(t,r),e=new Zbe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=Kpt(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Ypt=[new aj(">=0.0.0-0")],e0e=[new aj(">=0.0.0")],Kpt=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===sj){if(e.length===1&&e[0].semver===sj)return!0;r.includePrerelease?t=Ypt:t=e0e}if(e.length===1&&e[0].semver===sj){if(r.includePrerelease)return!0;e=e0e}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=t0e(i,p,r):p.operator==="<"||p.operator==="<="?s=r0e(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=cj(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!oj(p,String(i),r)||s&&!oj(p,String(s),r))return null;for(let m of e)if(!oj(p,String(m),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=t0e(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=r0e(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),t0e=o((t,e,r)=>{if(!t)return e;let n=cj(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),r0e=o((t,e,r)=>{if(!t)return e;let n=cj(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");n0e.exports=Jpt});var uc=A((j0r,a0e)=>{"use strict";var lj=xy(),s0e=By(),Xpt=pi(),o0e=$$(),Zpt=_f(),eAt=TCe(),tAt=DCe(),rAt=PCe(),nAt=FCe(),iAt=UCe(),sAt=GCe(),oAt=VCe(),aAt=$Ce(),cAt=la(),lAt=YCe(),uAt=XCe(),dAt=J2(),fAt=rbe(),hAt=ibe(),pAt=cI(),AAt=Y2(),mAt=J$(),gAt=Y$(),yAt=K2(),EAt=X2(),CAt=K$(),bAt=hbe(),wAt=Abe(),IAt=lI(),SAt=ua(),BAt=dI(),xAt=Tbe(),vAt=Dbe(),NAt=kbe(),_At=Lbe(),TAt=Mbe(),RAt=tD(),DAt=zbe(),QAt=jbe(),kAt=Ybe(),PAt=Xbe(),OAt=i0e();a0e.exports={parse:Zpt,valid:eAt,clean:tAt,inc:rAt,diff:nAt,major:iAt,minor:sAt,patch:oAt,prerelease:aAt,compare:cAt,rcompare:lAt,compareLoose:uAt,compareBuild:dAt,sort:fAt,rsort:hAt,gt:pAt,lt:AAt,eq:mAt,neq:gAt,gte:yAt,lte:EAt,cmp:CAt,coerce:bAt,truncate:wAt,Comparator:IAt,Range:SAt,satisfies:BAt,toComparators:xAt,maxSatisfying:vAt,minSatisfying:NAt,minVersion:_At,validRange:TAt,outside:RAt,gtr:DAt,ltr:QAt,intersects:kAt,simplifyRange:PAt,subset:OAt,SemVer:Xpt,re:lj.re,src:lj.src,tokens:lj.t,SEMVER_SPEC_VERSION:s0e.SEMVER_SPEC_VERSION,RELEASE_TYPES:s0e.RELEASE_TYPES,compareIdentifiers:o0e.compareIdentifiers,rcompareIdentifiers:o0e.rcompareIdentifiers}});var l0e=A((Y0r,c0e)=>{function da(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(da,"RetryOperation");c0e.exports=da;da.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};da.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};da.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};da.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)};da.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};da.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};da.prototype.start=da.prototype.try;da.prototype.errors=function(){return this._errors};da.prototype.attempts=function(){return this._attempts};da.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,a=(t[s]||0)+1;t[s]=a,a>=r&&(e=i,r=a)}return e}});var u0e=A(Jp=>{var LAt=l0e();Jp.operation=function(t){var e=Jp.timeouts(t);return new LAt(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Jp.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(s,a){return s-a}),n};Jp.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};Jp.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],a=t[s];t[s]=o(function(l){var u=Jp.operation(e),d=Array.prototype.slice.call(arguments,1),f=d.pop();d.push(function(h){u.retry(h)||(h&&(arguments[0]=u.mainError()),f.apply(this,arguments))}),u.attempt(function(){l.apply(t,d)})},"retryWrapper").bind(t,a),t[s].options=e}}});var f0e=A((ewr,d0e)=>{d0e.exports=u0e()});var p0e=A((twr,h0e)=>{var FAt=f0e();function MAt(t,e){function r(n,i){var s=e||{},a;"randomize"in s||(s.randomize=!0),a=FAt.operation(s);function c(d){i(d||new Error("Aborted"))}o(c,"bail");function l(d,f){if(d.bail){c(d);return}a.retry(d)?s.onRetry&&s.onRetry(d,f):i(a.mainError())}o(l,"onError");function u(d){var f;try{f=t(c,d)}catch(h){l(h,d);return}Promise.resolve(f).then(n).catch(o(function(p){l(p,d)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(MAt,"retry");h0e.exports=MAt});var D0e=A((nwr,ed)=>{var $t=require("fs"),iD=require("os"),kn=require("path"),A0e=require("crypto"),vl={fs:$t.constants,os:iD.constants},m0e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",C0e=/XXXXXX/,UAt=3,b0e=(vl.O_CREAT||vl.fs.O_CREAT)|(vl.O_EXCL||vl.fs.O_EXCL)|(vl.O_RDWR||vl.fs.O_RDWR),qAt=iD.platform()==="win32",GAt=vl.EBADF||vl.os.errno.EBADF,HAt=vl.ENOENT||vl.os.errno.ENOENT,w0e=448,I0e=384,VAt="exit",vy=[],S0e=$t.rmdirSync.bind($t),B0e=!1;function zAt(t,e){return $t.rm(t,{recursive:!0},e)}o(zAt,"rimraf");function x0e(t){return $t.rmSync(t,{recursive:!0})}o(x0e,"FN_RIMRAF_SYNC");function hj(t,e){let r=Ny(t,e),n=r[0],i=r[1];tmt(n,function(s,a){if(s)return i(s);let c=a.tries;o((function l(){try{let u=N0e(a);$t.stat(u,function(d){if(!d)return c-- >0?l():i(new Error("Could not get a unique tmp filename, max tries reached "+u));i(null,u)})}catch(u){i(u)}}),"_getUniqueName")()})}o(hj,"tmpName");function pj(t){let e=Ny(t),r=e[0],n=rmt(r),i=n.tries;do{let s=N0e(n);try{$t.statSync(s)}catch{return s}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(pj,"tmpNameSync");function $At(t,e){let r=Ny(t,e),n=r[0],i=r[1];hj(n,o(function(a,c){if(a)return i(a);$t.open(c,b0e,n.mode||I0e,o(function(u,d){if(u)return i(u);if(n.discardDescriptor)return $t.close(d,o(function(h){return i(h,c,void 0,dj(c,-1,n,!1))},"_discardCallback"));{let f=n.discardDescriptor||n.detachDescriptor;i(null,c,d,dj(c,f?-1:d,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o($At,"file");function jAt(t){let e=Ny(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,i=pj(r),s=$t.openSync(i,b0e,r.mode||I0e);return r.discardDescriptor&&($t.closeSync(s),s=void 0),{name:i,fd:s,removeCallback:dj(i,n?-1:s,r,!0)}}o(jAt,"fileSync");function WAt(t,e){let r=Ny(t,e),n=r[0],i=r[1];hj(n,o(function(a,c){if(a)return i(a);$t.mkdir(c,n.mode||w0e,o(function(u){if(u)return i(u);i(null,c,v0e(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(WAt,"dir");function JAt(t){let e=Ny(t),r=e[0],n=pj(r);return $t.mkdirSync(n,r.mode||w0e),{name:n,removeCallback:v0e(n,r,!0)}}o(JAt,"dirSync");function YAt(t,e){let r=o(function(n){if(n&&!fj(n))return e(n);e()},"_handler");0<=t[0]?$t.close(t[0],function(){$t.unlink(t[1],r)}):$t.unlink(t[1],r)}o(YAt,"_removeFileAsync");function KAt(t){let e=null;try{0<=t[0]&&$t.closeSync(t[0])}catch(r){if(!nmt(r)&&!fj(r))throw r}finally{try{$t.unlinkSync(t[1])}catch(r){fj(r)||(e=r)}}if(e!==null)throw e}o(KAt,"_removeFileSync");function dj(t,e,r,n){let i=nD(KAt,[e,t],n),s=nD(YAt,[e,t],n,i);return r.keep||vy.unshift(i),n?i:s}o(dj,"_prepareTmpFileRemoveCallback");function v0e(t,e,r){let n=e.unsafeCleanup?zAt:$t.rmdir.bind($t),i=e.unsafeCleanup?x0e:S0e,s=nD(i,t,r),a=nD(n,t,r,s);return e.keep||vy.unshift(s),r?s:a}o(v0e,"_prepareTmpDirRemoveCallback");function nD(t,e,r,n){let i=!1;return o(function s(a){if(!i){let c=n||s,l=vy.indexOf(c);return l>=0&&vy.splice(l,1),i=!0,r||t===S0e||t===x0e?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(nD,"_prepareRemoveCallback");function XAt(){if(B0e)for(;vy.length;)try{vy[0]()}catch{}}o(XAt,"_garbageCollector");function g0e(t){let e=[],r=null;try{r=A0e.randomBytes(t)}catch{r=A0e.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(m0e[r[n]%m0e.length]);return e.join("")}o(g0e,"_randomChars");function ks(t){return typeof t>"u"}o(ks,"_isUndefined");function Ny(t,e){if(typeof t=="function")return[{},t];if(ks(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(Ny,"_parseArguments");function ZAt(t,e,r){let n=kn.isAbsolute(t)?t:kn.join(e,t);$t.stat(n,function(i){i?$t.realpath(kn.dirname(n),function(s,a){if(s)return r(s);r(null,kn.join(a,kn.basename(n)))}):$t.realpath(n,r)})}o(ZAt,"_resolvePath");function emt(t,e){let r=kn.isAbsolute(t)?t:kn.join(e,t);try{return $t.statSync(r),$t.realpathSync(r)}catch{let i=$t.realpathSync(kn.dirname(r));return kn.join(i,kn.basename(r))}}o(emt,"_resolvePathSync");function N0e(t){let e=t.tmpdir;if(!ks(t.name))return kn.join(e,t.dir,t.name);if(!ks(t.template))return kn.join(e,t.dir,t.template).replace(C0e,g0e(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",g0e(12),t.postfix?"-"+t.postfix:""].join("");return kn.join(e,t.dir,r)}o(N0e,"_generateTmpName");function uj(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(uj,"_assertPath");function _0e(t){if(!ks(t.name)){let e=t.name;if(kn.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=kn.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!ks(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(C0e))throw new Error(`Invalid template, found "${t.template}".`)}if(!ks(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=ks(t.name)?t.tries||UAt:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=ks(t.prefix)?"":uj("prefix",t.prefix),t.postfix=ks(t.postfix)?"":uj("postfix",t.postfix),t.template=ks(t.template)?void 0:uj("template",t.template)}o(_0e,"_assertOptionsBase");function y0e(t,e,r,n){if(ks(e))return n(null);ZAt(e,r,function(i,s){if(i)return n(i);let a=kn.relative(r,s);if(a.startsWith("..")||kn.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(y0e,"_getRelativePath");function E0e(t,e,r){if(ks(e))return;let n=emt(e,r),i=kn.relative(r,n);if(i.startsWith("..")||kn.isAbsolute(i))throw new Error(`${t} option must be relative to "${r}", found "${i}".`);return i}o(E0e,"_getRelativePathSync");function tmt(t,e){smt(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{_0e(t,n)}catch(i){return e(i)}y0e("dir",t.dir,n,function(i,s){if(i)return e(i);t.dir=ks(s)?"":s,y0e("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(tmt,"_assertAndSanitizeOptions");function rmt(t){let e=t.tmpdir=R0e(t);_0e(t,e);let r=E0e("dir",t.dir,e);return t.dir=ks(r)?"":r,t.template=E0e("template",t.template,e),t}o(rmt,"_assertAndSanitizeOptionsSync");function nmt(t){return T0e(t,-GAt,"EBADF")}o(nmt,"_isEBADF");function fj(t){return T0e(t,-HAt,"ENOENT")}o(fj,"_isENOENT");function T0e(t,e,r){return qAt?t.code===r:t.code===r&&t.errno===e}o(T0e,"_isExpectedError");function imt(){B0e=!0}o(imt,"setGracefulCleanup");function smt(t,e){return $t.realpath(t&&t.tmpdir||iD.tmpdir(),e)}o(smt,"_getTmpDir");function R0e(t){return $t.realpathSync(t&&t.tmpdir||iD.tmpdir())}o(R0e,"_getTmpDirSync");process.addListener(VAt,XAt);Object.defineProperty(ed.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return R0e()},"get")});ed.exports.dir=WAt;ed.exports.dirSync=JAt;ed.exports.file=$At;ed.exports.fileSync=jAt;ed.exports.tmpName=hj;ed.exports.tmpNameSync=pj;ed.exports.setGracefulCleanup=imt});var rs=A(bo=>{"use strict";bo.__esModule=!0;bo.extend=O0e;bo.indexOf=umt;bo.escapeExpression=dmt;bo.isEmpty=fmt;bo.createFrame=hmt;bo.blockParams=pmt;bo.appendContextPath=Amt;var omt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},amt=/[&<>"'`=]/g,cmt=/[&<>"'`=]/;function lmt(t){return omt[t]}o(lmt,"escapeChar");function O0e(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}o(O0e,"extend");var gj=Object.prototype.toString;bo.toString=gj;var mj=o(function(e){return typeof e=="function"},"isFunction");mj(/x/)&&(bo.isFunction=mj=o(function(t){return typeof t=="function"&&gj.call(t)==="[object Function]"},"isFunction"));bo.isFunction=mj;var L0e=Array.isArray||function(t){return t&&typeof t=="object"?gj.call(t)==="[object Array]":!1};bo.isArray=L0e;function umt(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(umt,"indexOf");function dmt(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return cmt.test(t)?t.replace(amt,lmt):t}o(dmt,"escapeExpression");function fmt(t){return!t&&t!==0?!0:!!(L0e(t)&&t.length===0)}o(fmt,"isEmpty");function hmt(t){var e=O0e({},t);return e._parent=t,e}o(hmt,"createFrame");function pmt(t,e){return t.path=e,t}o(pmt,"blockParams");function Amt(t,e){return(t?t+".":"")+e}o(Amt,"appendContextPath")});var wo=A((sD,F0e)=>{"use strict";sD.__esModule=!0;var yj=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Ej(t,e){var r=e&&e.loc,n=void 0,i=void 0,s=void 0,a=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,a=r.end.column,t+=" - "+n+":"+s);for(var c=Error.prototype.constructor.call(this,t),l=0;l<yj.length;l++)this[yj[l]]=c[yj[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Ej);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=s,this.endColumn=a))}catch{}}o(Ej,"Exception");Ej.prototype=new Error;sD.default=Ej;F0e.exports=sD.default});var U0e=A((oD,M0e)=>{"use strict";oD.__esModule=!0;var Cj=rs();oD.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(Cj.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var s=Cj.createFrame(r.data);s.contextPath=Cj.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};M0e.exports=oD.default});var G0e=A((aD,q0e)=>{"use strict";aD.__esModule=!0;function mmt(t){return t&&t.__esModule?t:{default:t}}o(mmt,"_interopRequireDefault");var fI=rs(),gmt=wo(),ymt=mmt(gmt);aD.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new ymt.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=fI.appendContextPath(r.data.contextPath,r.ids[0])+"."),fI.isFunction(e)&&(e=e.call(this)),r.data&&(c=fI.createFrame(r.data));function u(m,g,E){c&&(c.key=m,c.index=g,c.first=g===0,c.last=!!E,l&&(c.contextPath=l+m)),a=a+n(e[m],{data:c,blockParams:fI.blockParams([e[m],m],[l+m,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(fI.isArray(e))for(var d=e.length;s<d;s++)s in e&&u(s,s,s===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var f=[],h=e[Symbol.iterator](),p=h.next();!p.done;p=h.next())f.push(p.value);e=f;for(var d=e.length;s<d;s++)u(s,s,s===e.length-1)}else(function(){var m=void 0;Object.keys(e).forEach(function(g){m!==void 0&&u(m,s-1),m=g,s++}),m!==void 0&&u(m,s-1,!0)})();return s===0&&(a=i(this)),a})};q0e.exports=aD.default});var V0e=A((cD,H0e)=>{"use strict";cD.__esModule=!0;function Emt(t){return t&&t.__esModule?t:{default:t}}o(Emt,"_interopRequireDefault");var Cmt=wo(),bmt=Emt(Cmt);cD.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new bmt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};H0e.exports=cD.default});var W0e=A((lD,j0e)=>{"use strict";lD.__esModule=!0;function wmt(t){return t&&t.__esModule?t:{default:t}}o(wmt,"_interopRequireDefault");var z0e=rs(),Imt=wo(),$0e=wmt(Imt);lD.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new $0e.default("#if requires exactly one argument");return z0e.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||z0e.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new $0e.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};j0e.exports=lD.default});var Y0e=A((uD,J0e)=>{"use strict";uD.__esModule=!0;uD.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),e[0]=i,t.log.apply(t,e)})};J0e.exports=uD.default});var X0e=A((dD,K0e)=>{"use strict";dD.__esModule=!0;dD.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};K0e.exports=dD.default});var ewe=A((fD,Z0e)=>{"use strict";fD.__esModule=!0;function Smt(t){return t&&t.__esModule?t:{default:t}}o(Smt,"_interopRequireDefault");var hI=rs(),Bmt=wo(),xmt=Smt(Bmt);fD.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new xmt.default("#with requires exactly one argument");hI.isFunction(e)&&(e=e.call(this));var n=r.fn;if(hI.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=hI.createFrame(r.data),i.contextPath=hI.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:hI.blockParams([e],[i&&i.contextPath])})})};Z0e.exports=fD.default});var bj=A(hD=>{"use strict";hD.__esModule=!0;hD.registerDefaultHelpers=qmt;hD.moveHelperToHooks=Gmt;function Yp(t){return t&&t.__esModule?t:{default:t}}o(Yp,"_interopRequireDefault");var vmt=U0e(),Nmt=Yp(vmt),_mt=G0e(),Tmt=Yp(_mt),Rmt=V0e(),Dmt=Yp(Rmt),Qmt=W0e(),kmt=Yp(Qmt),Pmt=Y0e(),Omt=Yp(Pmt),Lmt=X0e(),Fmt=Yp(Lmt),Mmt=ewe(),Umt=Yp(Mmt);function qmt(t){Nmt.default(t),Tmt.default(t),Dmt.default(t),kmt.default(t),Omt.default(t),Fmt.default(t),Umt.default(t)}o(qmt,"registerDefaultHelpers");function Gmt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Gmt,"moveHelperToHooks")});var rwe=A((pD,twe)=>{"use strict";pD.__esModule=!0;var Hmt=rs();pD.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var s=e;return r.partials||(r.partials={},s=o(function(a,c){var l=n.partials;n.partials=Hmt.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};twe.exports=pD.default});var nwe=A(wj=>{"use strict";wj.__esModule=!0;wj.registerDefaultDecorators=jmt;function Vmt(t){return t&&t.__esModule?t:{default:t}}o(Vmt,"_interopRequireDefault");var zmt=rwe(),$mt=Vmt(zmt);function jmt(t){$mt.default(t)}o(jmt,"registerDefaultDecorators")});var Ij=A((AD,iwe)=>{"use strict";AD.__esModule=!0;var Wmt=rs(),_y={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Wmt.indexOf(_y.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=_y.lookupLevel(e),typeof console<"u"&&_y.lookupLevel(_y.level)<=e){var r=_y.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];console[r].apply(console,i)}},"log")};AD.default=_y;iwe.exports=AD.default});var Sj=A(pI=>{"use strict";pI.__esModule=!0;pI.createProtoAccessControl=Xmt;pI.resultIsAllowed=Zmt;pI.resetLoggedProperties=tgt;function Jmt(t){return t&&t.__esModule?t:{default:t}}o(Jmt,"_interopRequireDefault");var swe=rs(),Ymt=Ij(),Kmt=Jmt(Ymt),mD=Object.create(null);function Xmt(t){var e=Object.create(null);e.__proto__=!1,swe.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,swe.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(Xmt,"createProtoAccessControl");function Zmt(t,e,r){return owe(typeof t=="function"?e.methods:e.properties,r)}o(Zmt,"resultIsAllowed");function owe(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(egt(e),!1)}o(owe,"checkWhiteList");function egt(t){mD[t]!==!0&&(mD[t]=!0,Kmt.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(egt,"logUnexpecedPropertyAccessOnce");function tgt(){Object.keys(mD).forEach(function(t){delete mD[t]})}o(tgt,"resetLoggedProperties")});var yD=A(Nl=>{"use strict";Nl.__esModule=!0;Nl.HandlebarsEnvironment=vj;function awe(t){return t&&t.__esModule?t:{default:t}}o(awe,"_interopRequireDefault");var Kp=rs(),rgt=wo(),Bj=awe(rgt),ngt=bj(),igt=nwe(),sgt=Ij(),gD=awe(sgt),ogt=Sj(),agt="4.7.9";Nl.VERSION=agt;var cgt=8;Nl.COMPILER_REVISION=cgt;var lgt=7;Nl.LAST_COMPATIBLE_COMPILER_REVISION=lgt;var ugt={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"};Nl.REVISION_CHANGES=ugt;var xj="[object Object]";function vj(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},ngt.registerDefaultHelpers(this),igt.registerDefaultDecorators(this)}o(vj,"HandlebarsEnvironment");vj.prototype={constructor:vj,logger:gD.default,log:gD.default.log,registerHelper:o(function(e,r){if(Kp.toString.call(e)===xj){if(r)throw new Bj.default("Arg not supported with multiple helpers");Kp.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Kp.toString.call(e)===xj)Kp.extend(this.partials,e);else{if(typeof r>"u")throw new Bj.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Kp.toString.call(e)===xj){if(r)throw new Bj.default("Arg not supported with multiple decorators");Kp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){ogt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var dgt=gD.default.log;Nl.log=dgt;Nl.createFrame=Kp.createFrame;Nl.logger=gD.default});var lwe=A((ED,cwe)=>{"use strict";ED.__esModule=!0;function Nj(t){this.string=t}o(Nj,"SafeString");Nj.prototype.toString=Nj.prototype.toHTML=function(){return""+this.string};ED.default=Nj;cwe.exports=ED.default});var uwe=A(_j=>{"use strict";_j.__esModule=!0;_j.wrapHelper=fgt;function fgt(t,e){if(typeof t!="function")return t;var r=o(function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)},"wrapper");return r}o(fgt,"wrapHelper")});var mwe=A(Tf=>{"use strict";Tf.__esModule=!0;Tf.checkRevision=ygt;Tf.template=Egt;Tf.wrapProgram=CD;Tf.resolvePartial=Cgt;Tf.invokePartial=bgt;Tf.noop=pwe;function hgt(t){return t&&t.__esModule?t:{default:t}}o(hgt,"_interopRequireDefault");function pgt(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(pgt,"_interopRequireWildcard");var Agt=rs(),Ty=pgt(Agt),mgt=wo(),td=hgt(mgt),rd=yD(),dwe=bj(),ggt=uwe(),fwe=Sj();function ygt(t){var e=t&&t[0]||1,r=rd.COMPILER_REVISION;if(!(e>=rd.LAST_COMPATIBLE_COMPILER_REVISION&&e<=rd.COMPILER_REVISION))if(e<rd.LAST_COMPATIBLE_COMPILER_REVISION){var n=rd.REVISION_CHANGES[r],i=rd.REVISION_CHANGES[e];throw new td.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+i+").")}else throw new td.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(ygt,"checkRevision");function Egt(t,e){if(!e)throw new td.default("No environment passed to template");if(!t||!t.main)throw new td.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,c,l){l.hash&&(c=Ty.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var u=e.VM.invokePartial.call(this,a,c,l);if(u==null&&e.compile&&(l.partials[l.name]=e.compile(a,t.compilerOptions,e),u=l.partials[l.name](c,l)),u!=null){if(l.indent){for(var d=u.split(`
`),f=0,h=d.length;f<h&&!(!d[f]&&f+1===h);f++)d[f]=l.indent+d[f];u=d.join(`
`)}return u}else throw new td.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(n,"invokePartialWrapper");var i={strict:o(function(c,l,u){if(!c||!(l in c))throw new td.default('"'+l+'" not defined in '+c,{loc:u});return i.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)||fwe.resultIsAllowed(u,i.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,d=0;d<u;d++){var f=c[d]&&i.lookupProperty(c[d],l);if(f!=null)return f}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:Ty.escapeExpression,invokePartial:n,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,u,d,f){var h=this.programs[c],p=this.fn(c);return l||f||d||u?h=CD(this,c,p,l,u,d,f):h||(h=this.programs[c]=CD(this,c,p)),h},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var u=c||l;return c&&l&&c!==l&&(u=Ty.extend({},l,c)),u},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function s(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;s._setup(c),!c.partial&&t.useData&&(l=wgt(a,l));var u=void 0,d=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?u=a!=c.depths[0]?[a].concat(c.depths):c.depths:u=[a]);function f(h){return""+t.main(i,h,i.helpers,i.partials,l,d,u)}return o(f,"main"),f=Awe(t.main,f,i,c.depths||[],l,d),f(a,c)}return o(s,"ret"),s.isTop=!0,s._setup=function(a){if(a.partial)i.protoAccessControl=a.protoAccessControl,i.helpers=a.helpers,i.partials=a.partials,i.decorators=a.decorators,i.hooks=a.hooks;else{var c={};hwe(c,e.helpers,i),hwe(c,a.helpers,i),i.helpers=c,t.usePartial&&(i.partials=i.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=Ty.extend({},e.decorators,a.decorators)),i.hooks={},i.protoAccessControl=fwe.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;dwe.moveHelperToHooks(i,"helperMissing",l),dwe.moveHelperToHooks(i,"blockHelperMissing",l)}},s._child=function(a,c,l,u){if(t.useBlockParams&&!l)throw new td.default("must pass block params");if(t.useDepths&&!u)throw new td.default("must pass parent depths");return CD(i,a,t[a],c,0,l,u)},s}o(Egt,"template");function CD(t,e,r,n,i,s,a){function c(l){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],d=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(d=[l].concat(a)),r(t,l,t.helpers,t.partials,u.data||n,s&&[u.blockParams].concat(s),d)}return o(c,"prog"),c=Awe(r,c,t,a,n,s),c.program=e,c.depth=a?a.length:0,c.blockParams=i||0,c}o(CD,"wrapProgram");function Cgt(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=bD(r.partials,t)):r.name==="@partial-block"?t=bD(r.data,"partial-block"):t=bD(r.partials,r.name),t}o(Cgt,"resolvePartial");function bgt(t,e,r){var n=bD(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==pwe&&(function(){r.data=rd.createFrame(r.data);var s=r.fn;i=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=rd.createFrame(l.data),l.data["partial-block"]=n,s(c,l)},"partialBlockWrapper"),s.partials&&(r.partials=Ty.extend({},r.partials,s.partials))})(),t===void 0&&i&&(t=i),t===void 0)throw new td.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(bgt,"invokePartial");function pwe(){return""}o(pwe,"noop");function bD(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(bD,"lookupOwnProperty");function wgt(t,e){return(!e||!("root"in e))&&(e=e?rd.createFrame(e):{},e.root=t),e}o(wgt,"initData");function Awe(t,e,r,n,i,s){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],i,s,n),Ty.extend(e,a)}return e}o(Awe,"executeDecorators");function hwe(t,e,r){e&&Object.keys(e).forEach(function(n){var i=e[n];t[n]=Igt(i,r)})}o(hwe,"addHelpers");function Igt(t,e){var r=e.lookupProperty;return ggt.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(Igt,"passLookupPropertyOption")});var Tj=A((wD,gwe)=>{"use strict";wD.__esModule=!0;wD.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}};gwe.exports=wD.default});var wwe=A((ID,bwe)=>{"use strict";ID.__esModule=!0;function Dj(t){return t&&t.__esModule?t:{default:t}}o(Dj,"_interopRequireDefault");function Qj(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(Qj,"_interopRequireWildcard");var Sgt=yD(),ywe=Qj(Sgt),Bgt=lwe(),xgt=Dj(Bgt),vgt=wo(),Ngt=Dj(vgt),_gt=rs(),Rj=Qj(_gt),Tgt=mwe(),Ewe=Qj(Tgt),Rgt=Tj(),Dgt=Dj(Rgt);function Cwe(){var t=new ywe.HandlebarsEnvironment;return Rj.extend(t,ywe),t.SafeString=xgt.default,t.Exception=Ngt.default,t.Utils=Rj,t.escapeExpression=Rj.escapeExpression,t.VM=Ewe,t.template=function(e){return Ewe.template(e,t)},t}o(Cwe,"create");var AI=Cwe();AI.create=Cwe;Dgt.default(AI);AI.default=AI;ID.default=AI;bwe.exports=ID.default});var kj=A((SD,Swe)=>{"use strict";SD.__esModule=!0;var Iwe={helpers:{helperExpression:o(function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},"helperExpression"),scopedId:o(function(e){return/^\.|this\b/.test(e.original)},"scopedId"),simpleId:o(function(e){return e.parts.length===1&&!Iwe.helpers.scopedId(e)&&!e.depth},"simpleId")}};SD.default=Iwe;Swe.exports=SD.default});var xwe=A((BD,Bwe)=>{"use strict";BD.__esModule=!0;var Qgt=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(i,s,a,c,l,u,d){var f=u.length-1;switch(l){case 1:return u[f-1];case 2:this.$=c.prepareProgram(u[f]);break;case 3:this.$=u[f];break;case 4:this.$=u[f];break;case 5:this.$=u[f];break;case 6:this.$=u[f];break;case 7:this.$=u[f];break;case 8:this.$=u[f];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[f]),strip:c.stripFlags(u[f],u[f]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[f],value:u[f],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[f-2],u[f-1],u[f],this._$);break;case 12:this.$={path:u[f-3],params:u[f-2],hash:u[f-1]};break;case 13:this.$=c.prepareBlock(u[f-3],u[f-2],u[f-1],u[f],!1,this._$);break;case 14:this.$=c.prepareBlock(u[f-3],u[f-2],u[f-1],u[f],!0,this._$);break;case 15:this.$={open:u[f-5],path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 16:this.$={path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 17:this.$={path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 18:this.$={strip:c.stripFlags(u[f-1],u[f-1]),program:u[f]};break;case 19:var h=c.prepareBlock(u[f-2],u[f-1],u[f],u[f],!1,this._$),p=c.prepareProgram([h],u[f-1].loc);p.chained=!0,this.$={strip:u[f-2].strip,program:p,chain:!0};break;case 20:this.$=u[f];break;case 21:this.$={path:u[f-1],strip:c.stripFlags(u[f-2],u[f])};break;case 22:this.$=c.prepareMustache(u[f-3],u[f-2],u[f-1],u[f-4],c.stripFlags(u[f-4],u[f]),this._$);break;case 23:this.$=c.prepareMustache(u[f-3],u[f-2],u[f-1],u[f-4],c.stripFlags(u[f-4],u[f]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[f-3],params:u[f-2],hash:u[f-1],indent:"",strip:c.stripFlags(u[f-4],u[f]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[f-2],u[f-1],u[f],this._$);break;case 26:this.$={path:u[f-3],params:u[f-2],hash:u[f-1],strip:c.stripFlags(u[f-4],u[f])};break;case 27:this.$=u[f];break;case 28:this.$=u[f];break;case 29:this.$={type:"SubExpression",path:u[f-3],params:u[f-2],hash:u[f-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[f],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[f-2]),value:u[f],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[f-1]);break;case 33:this.$=u[f];break;case 34:this.$=u[f];break;case 35:this.$={type:"StringLiteral",value:u[f],original:u[f],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[f]),original:Number(u[f]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[f]==="true",original:u[f]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=u[f];break;case 41:this.$=u[f];break;case 42:this.$=c.preparePath(!0,u[f],this._$);break;case 43:this.$=c.preparePath(!1,u[f],this._$);break;case 44:u[f-2].push({part:c.id(u[f]),original:u[f],separator:u[f-1]}),this.$=u[f-2];break;case 45:this.$=[{part:c.id(u[f]),original:u[f]}];break;case 46:this.$=[];break;case 47:u[f-1].push(u[f]);break;case 48:this.$=[];break;case 49:u[f-1].push(u[f]);break;case 50:this.$=[];break;case 51:u[f-1].push(u[f]);break;case 58:this.$=[];break;case 59:u[f-1].push(u[f]);break;case 64:this.$=[];break;case 65:u[f-1].push(u[f]);break;case 70:this.$=[];break;case 71:u[f-1].push(u[f]);break;case 78:this.$=[];break;case 79:u[f-1].push(u[f]);break;case 82:this.$=[];break;case 83:u[f-1].push(u[f]);break;case 86:this.$=[];break;case 87:u[f-1].push(u[f]);break;case 90:this.$=[];break;case 91:u[f-1].push(u[f]);break;case 94:this.$=[];break;case 95:u[f-1].push(u[f]);break;case 98:this.$=[u[f]];break;case 99:u[f-1].push(u[f]);break;case 100:this.$=[u[f]];break;case 101:u[f-1].push(u[f]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(i,s){throw new Error(i)},"parseError"),parse:o(function(i){var s=this,a=[0],c=[null],l=[],u=this.table,d="",f=0,h=0,p=0,m=2,g=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;l.push(E);var y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function C(Y){a.length=a.length-2*Y,c.length=c.length-Y,l.length=l.length-Y}o(C,"popStack");function w(){var Y;return Y=s.lexer.lex()||1,typeof Y!="number"&&(Y=s.symbols_[Y]||Y),Y}o(w,"lex");for(var B,Q,q,v,$,R,H={},V,J,ee,ae;;){if(q=a[a.length-1],this.defaultActions[q]?v=this.defaultActions[q]:((B===null||typeof B>"u")&&(B=w()),v=u[q]&&u[q][B]),typeof v>"u"||!v.length||!v[0]){var Ae="";if(!p){ae=[];for(V in u[q])this.terminals_[V]&&V>2&&ae.push("'"+this.terminals_[V]+"'");this.lexer.showPosition?Ae="Parse error on line "+(f+1)+`:
`+this.lexer.showPosition()+`
Expecting `+ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ae="Parse error on line "+(f+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ae,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:E,expected:ae})}}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+B);switch(v[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(v[1]),B=null,Q?(B=Q,Q=null):(h=this.lexer.yyleng,d=this.lexer.yytext,f=this.lexer.yylineno,E=this.lexer.yylloc,p>0&&p--);break;case 2:if(J=this.productions_[v[1]][1],H.$=c[c.length-J],H._$={first_line:l[l.length-(J||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(J||1)].first_column,last_column:l[l.length-1].last_column},y&&(H._$.range=[l[l.length-(J||1)].range[0],l[l.length-1].range[1]]),R=this.performAction.call(H,d,h,f,this.yy,v[1],c,l),typeof R<"u")return R;J&&(a=a.slice(0,-1*J*2),c=c.slice(0,-1*J),l=l.slice(0,-1*J)),a.push(this.productions_[v[1]][0]),c.push(H.$),l.push(H._$),ee=u[a[a.length-2]][a[a.length-1]],a.push(ee);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(s,a){if(this.yy.parser)this.yy.parser.parseError(s,a);else throw new Error(s)},"parseError"),setInput:o(function(s){return this._input=s,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,l,u,d;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),h=0;h<f.length&&(c=this._input.match(this.rules[f[h]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=h,!this.options.flex)));h++);return a?(d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],s=this.performAction.call(this,this.yy,this,f[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return typeof s<"u"?s:this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(s){this.begin(s)},"begin")};return n.options={},n.performAction=o(function(s,a,c,l){function u(f,h){return a.yytext=a.yytext.substring(f,a.yyleng-h+f)}o(u,"strip");var d=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();BD.default=Qgt;Bwe.exports=BD.default});var _D=A((ND,_we)=>{"use strict";ND.__esModule=!0;function kgt(t){return t&&t.__esModule?t:{default:t}}o(kgt,"_interopRequireDefault");var Pgt=wo(),Pj=kgt(Pgt);function xD(){this.parents=[]}o(xD,"Visitor");xD.prototype={constructor:xD,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!xD.prototype[n.type])throw new Pj.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new Pj.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},"acceptArray"),accept:o(function(e){if(e){if(!this[e.type])throw new Pj.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},"accept"),Program:o(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:vD,Decorator:vD,BlockStatement:vwe,DecoratorBlock:vwe,PartialStatement:Nwe,PartialBlockStatement:o(function(e){Nwe.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:vD,PathExpression:o(function(){},"PathExpression"),StringLiteral:o(function(){},"StringLiteral"),NumberLiteral:o(function(){},"NumberLiteral"),BooleanLiteral:o(function(){},"BooleanLiteral"),UndefinedLiteral:o(function(){},"UndefinedLiteral"),NullLiteral:o(function(){},"NullLiteral"),Hash:o(function(e){this.acceptArray(e.pairs)},"Hash"),HashPair:o(function(e){this.acceptRequired(e,"value")},"HashPair")};function vD(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(vD,"visitSubExpression");function vwe(t){vD.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}o(vwe,"visitBlock");function Nwe(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(Nwe,"visitPartial");ND.default=xD;_we.exports=ND.default});var Rwe=A((TD,Twe)=>{"use strict";TD.__esModule=!0;function Ogt(t){return t&&t.__esModule?t:{default:t}}o(Ogt,"_interopRequireDefault");var Lgt=_D(),Fgt=Ogt(Lgt);function _l(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(_l,"WhitespaceControl");_l.prototype=new Fgt.default;_l.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,s=n.length;i<s;i++){var a=n[i],c=this.accept(a);if(c){var l=Oj(n,i,r),u=Lj(n,i,r),d=c.openStandalone&&l,f=c.closeStandalone&&u,h=c.inlineStandalone&&l&&u;c.close&&Xp(n,i,!0),c.open&&Rf(n,i,!0),e&&h&&(Xp(n,i),Rf(n,i)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&d&&(Xp((a.program||a.inverse).body),Rf(n,i)),e&&f&&(Xp(n,i),Rf((a.inverse||a.program).body))}}return t};_l.prototype.BlockStatement=_l.prototype.DecoratorBlock=_l.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var s={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:Lj(e.body),closeStandalone:Oj((n||e).body)};if(t.openStrip.close&&Xp(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Rf(e.body,null,!0),a.close&&Xp(n.body,null,!0),t.closeStrip.open&&Rf(i.body,null,!0),!this.options.ignoreStandalone&&Oj(e.body)&&Lj(n.body)&&(Rf(e.body),Xp(n.body))}else t.closeStrip.open&&Rf(e.body,null,!0);return s};_l.prototype.Decorator=_l.prototype.MustacheStatement=function(t){return t.strip};_l.prototype.PartialStatement=_l.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function Oj(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],i=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}o(Oj,"isPrevWhitespace");function Lj(t,e,r){e===void 0&&(e=-1);var n=t[e+1],i=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}o(Lj,"isNextWhitespace");function Xp(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}o(Xp,"omitRight");function Rf(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}o(Rf,"omitLeft");TD.default=_l;Twe.exports=TD.default});var Dwe=A(fa=>{"use strict";fa.__esModule=!0;fa.SourceLocation=qgt;fa.id=Ggt;fa.stripFlags=Hgt;fa.stripComment=Vgt;fa.preparePath=zgt;fa.prepareMustache=$gt;fa.prepareRawBlock=jgt;fa.prepareBlock=Wgt;fa.prepareProgram=Jgt;fa.preparePartialBlock=Ygt;function Mgt(t){return t&&t.__esModule?t:{default:t}}o(Mgt,"_interopRequireDefault");var Ugt=wo(),Fj=Mgt(Ugt);function Mj(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Fj.default(t.path.original+" doesn't match "+e,r)}}o(Mj,"validateClose");function qgt(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(qgt,"SourceLocation");function Ggt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Ggt,"id");function Hgt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(Hgt,"stripFlags");function Vgt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Vgt,"stripComment");function zgt(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a<c;a++){var l=e[a].part,u=e[a].original!==l;if(n+=(e[a].separator||"")+l,!u&&(l===".."||l==="."||l==="this")){if(i.length>0)throw new Fj.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}o(zgt,"preparePath");function $gt(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:i,loc:this.locInfo(s)}}o($gt,"prepareMustache");function jgt(t,e,r,n){Mj(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(jgt,"prepareRawBlock");function Wgt(t,e,r,n,i,s){n&&n.path&&Mj(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new Fj.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return i&&(i=c,c=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}o(Wgt,"prepareBlock");function Jgt(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(Jgt,"prepareProgram");function Ygt(t,e,r,n){return Mj(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}o(Ygt,"preparePartialBlock")});var kwe=A(gI=>{"use strict";gI.__esModule=!0;gI.parseWithoutProcessing=Qwe;gI.parse=syt;function Kgt(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(Kgt,"_interopRequireWildcard");function Gj(t){return t&&t.__esModule?t:{default:t}}o(Gj,"_interopRequireDefault");var Xgt=xwe(),Uj=Gj(Xgt),Zgt=Rwe(),eyt=Gj(Zgt),tyt=Dwe(),ryt=Kgt(tyt),nyt=wo(),mI=Gj(nyt),iyt=rs();gI.parser=Uj.default;var RD={};iyt.extend(RD,ryt);function Qwe(t,e){if(t.type==="Program")return oyt(t),t;Uj.default.yy=RD,RD.locInfo=function(n){return new RD.SourceLocation(e&&e.srcName,n)};var r=Uj.default.parse(t);return r}o(Qwe,"parseWithoutProcessing");function syt(t,e){var r=Qwe(t,e),n=new eyt.default(e);return n.accept(r)}o(syt,"parse");function oyt(t){qj(t)}o(oyt,"validateInputAst");function qj(t){if(t!=null){if(Array.isArray(t)){t.forEach(qj);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!ayt(t.depth))throw new mI.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new mI.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 mI.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new mI.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new mI.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&qj(t[r])})}}}o(qj,"validateAstNode");function ayt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(ayt,"isValidDepth")});var Fwe=A(bI=>{"use strict";bI.__esModule=!0;bI.Compiler=Hj;bI.precompile=dyt;bI.compile=fyt;function Owe(t){return t&&t.__esModule?t:{default:t}}o(Owe,"_interopRequireDefault");var cyt=wo(),EI=Owe(cyt),CI=rs(),lyt=kj(),yI=Owe(lyt),uyt=[].slice;function Hj(){}o(Hj,"Compiler");Hj.prototype={compiler:Hj,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var i=this.opcodes[n],s=e.opcodes[n];if(i.opcode!==s.opcode||!Lwe(i.args,s.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},"equals"),guid:0,compile:o(function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=CI.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},"compile"),compileProgram:o(function(e){var r=new this.compiler,n=r.compile(e,this.options),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},"compileProgram"),accept:o(function(e){if(!this[e.type])throw new EI.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},"accept"),Program:o(function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,i=0;i<n;i++)this.accept(r[i]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},"Program"),BlockStatement:o(function(e){Pwe(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);i==="helper"?this.helperSexpr(e,r,n):i==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},"BlockStatement"),DecoratorBlock:o(function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},"DecoratorBlock"),PartialStatement:o(function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new EI.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,s=e.name.type==="SubExpression";s&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",s,i,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){Pwe(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,n){var i=e.path,s=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,n){var i=this.setupFullMustacheParams(e,r,n),s=e.path,a=s.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new EI.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,yI.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=yI.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"BooleanLiteral"),UndefinedLiteral:o(function(){this.opcode("pushLiteral","undefined")},"UndefinedLiteral"),NullLiteral:o(function(){this.opcode("pushLiteral","null")},"NullLiteral"),Hash:o(function(e){var r=e.pairs,n=0,i=r.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},"Hash"),opcode:o(function(e){this.opcodes.push({opcode:e,args:uyt.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=yI.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&yI.default.helpers.helperExpression(e),s=!n&&(i||r);if(s&&!i){var a=e.path.parts[0],c=this.options;c.knownHelpers[a]?i=!0:c.knownHelpersOnly&&(s=!1)}return i?"helper":s?"ambiguous":"simple"},"classifySexpr"),pushParams:o(function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},"pushParams"),pushParam:o(function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!yI.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},"pushParam"),setupFullMustacheParams:o(function(e,r,n,i){var s=e.params;return this.pushParams(s),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),s},"setupFullMustacheParams"),blockParamIndex:o(function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],s=i&&CI.indexOf(i,e);if(i&&s>=0)return[r,s]}},"blockParamIndex")};function dyt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new EI.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}o(dyt,"precompile");function fyt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new EI.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=CI.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(i,"compileInput");function s(a,c){return n||(n=i()),n.call(this,a,c)}return o(s,"ret"),s._setup=function(a){return n||(n=i()),n._setup(a)},s._child=function(a,c,l,u){return n||(n=i()),n._child(a,c,l,u)},s}o(fyt,"compile");function Lwe(t,e){if(t===e)return!0;if(CI.isArray(t)&&CI.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Lwe(t[r],e[r]))return!1;return!0}}o(Lwe,"argEquals");function Pwe(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}o(Pwe,"transformLiteralToPath")});var Uwe=A(Vj=>{var Mwe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Vj.encode=function(t){if(0<=t&&t<Mwe.length)return Mwe[t];throw new TypeError("Must be between 0 and 63: "+t)};Vj.decode=function(t){var e=65,r=90,n=97,i=122,s=48,a=57,c=43,l=47,u=26,d=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+u:s<=t&&t<=a?t-s+d:t==c?62:t==l?63:-1}});var jj=A($j=>{var qwe=Uwe(),zj=5,Gwe=1<<zj,Hwe=Gwe-1,Vwe=Gwe;function hyt(t){return t<0?(-t<<1)+1:(t<<1)+0}o(hyt,"toVLQSigned");function pyt(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(pyt,"fromVLQSigned");$j.encode=o(function(e){var r="",n,i=hyt(e);do n=i&Hwe,i>>>=zj,i>0&&(n|=Vwe),r+=qwe.encode(n);while(i>0);return r},"base64VLQ_encode");$j.decode=o(function(e,r,n){var i=e.length,s=0,a=0,c,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=qwe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&Vwe),l&=Hwe,s=s+(l<<a),a+=zj}while(c);n.value=pyt(s),n.rest=r},"base64VLQ_decode")});var Qy=A(Ti=>{function Ayt(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}o(Ayt,"getArg");Ti.getArg=Ayt;var zwe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,myt=/^data:.+\,.+$/;function wI(t){var e=t.match(zwe);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(wI,"urlParse");Ti.urlParse=wI;function Ry(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}o(Ry,"urlGenerate");Ti.urlGenerate=Ry;function Wj(t){var e=t,r=wI(t);if(r){if(!r.path)return t;e=r.path}for(var n=Ti.isAbsolute(e),i=e.split(/\/+/),s,a=0,c=i.length-1;c>=0;c--)s=i[c],s==="."?i.splice(c,1):s===".."?a++:a>0&&(s===""?(i.splice(c+1,a),a=0):(i.splice(c,2),a--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,Ry(r)):e}o(Wj,"normalize");Ti.normalize=Wj;function $we(t,e){t===""&&(t="."),e===""&&(e=".");var r=wI(e),n=wI(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Ry(r);if(r||e.match(myt))return e;if(n&&!n.host&&!n.path)return n.host=e,Ry(n);var i=e.charAt(0)==="/"?e:Wj(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Ry(n)):i}o($we,"join");Ti.join=$we;Ti.isAbsolute=function(t){return t.charAt(0)==="/"||zwe.test(t)};function gyt(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(gyt,"relative");Ti.relative=gyt;var jwe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Wwe(t){return t}o(Wwe,"identity");function yyt(t){return Jwe(t)?"$"+t:t}o(yyt,"toSetString");Ti.toSetString=jwe?Wwe:yyt;function Eyt(t){return Jwe(t)?t.slice(1):t}o(Eyt,"fromSetString");Ti.fromSetString=jwe?Wwe:Eyt;function Jwe(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}o(Jwe,"isProtoString");function Cyt(t,e,r){var n=Dy(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:Dy(t.name,e.name)}o(Cyt,"compareByOriginalPositions");Ti.compareByOriginalPositions=Cyt;function byt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=Dy(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:Dy(t.name,e.name)}o(byt,"compareByGeneratedPositionsDeflated");Ti.compareByGeneratedPositionsDeflated=byt;function Dy(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(Dy,"strcmp");function wyt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=Dy(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Dy(t.name,e.name)}o(wyt,"compareByGeneratedPositionsInflated");Ti.compareByGeneratedPositionsInflated=wyt;function Iyt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Iyt,"parseSourceMapInput");Ti.parseSourceMapInput=Iyt;function Syt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=wI(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=$we(Ry(n),e)}return Wj(e)}o(Syt,"computeSourceURL");Ti.computeSourceURL=Syt});var Kj=A(Ywe=>{var Jj=Qy(),Yj=Object.prototype.hasOwnProperty,Zp=typeof Map<"u";function nd(){this._array=[],this._set=Zp?new Map:Object.create(null)}o(nd,"ArraySet");nd.fromArray=o(function(e,r){for(var n=new nd,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n},"ArraySet_fromArray");nd.prototype.size=o(function(){return Zp?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");nd.prototype.add=o(function(e,r){var n=Zp?e:Jj.toSetString(e),i=Zp?this.has(e):Yj.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Zp?this._set.set(e,s):this._set[n]=s)},"ArraySet_add");nd.prototype.has=o(function(e){if(Zp)return this._set.has(e);var r=Jj.toSetString(e);return Yj.call(this._set,r)},"ArraySet_has");nd.prototype.indexOf=o(function(e){if(Zp){var r=this._set.get(e);if(r>=0)return r}else{var n=Jj.toSetString(e);if(Yj.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");nd.prototype.at=o(function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},"ArraySet_at");nd.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray");Ywe.ArraySet=nd});var Zwe=A(Xwe=>{var Kwe=Qy();function Byt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||Kwe.compareByGeneratedPositionsInflated(t,e)<=0}o(Byt,"generatedPositionAfter");function DD(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(DD,"MappingList");DD.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");DD.prototype.add=o(function(e){Byt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");DD.prototype.toArray=o(function(){return this._sorted||(this._array.sort(Kwe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");Xwe.MappingList=DD});var Xj=A(eIe=>{var II=jj(),Cn=Qy(),QD=Kj().ArraySet,xyt=Zwe().MappingList;function ha(t){t||(t={}),this._file=Cn.getArg(t,"file",null),this._sourceRoot=Cn.getArg(t,"sourceRoot",null),this._skipValidation=Cn.getArg(t,"skipValidation",!1),this._sources=new QD,this._names=new QD,this._mappings=new xyt,this._sourcesContents=null}o(ha,"SourceMapGenerator");ha.prototype._version=3;ha.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new ha({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Cn.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=Cn.relative(r,i)),n._sources.has(s)||n._sources.add(s);var a=e.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n},"SourceMapGenerator_fromSourceMap");ha.prototype.addMapping=o(function(e){var r=Cn.getArg(e,"generated"),n=Cn.getArg(e,"original",null),i=Cn.getArg(e,"source",null),s=Cn.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})},"SourceMapGenerator_addMapping");ha.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=Cn.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Cn.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Cn.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");ha.prototype.applySourceMap=o(function(e,r,n){var i=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.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=Cn.relative(s,i));var a=new QD,c=new QD;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,n!=null&&(l.source=Cn.join(n,l.source)),s!=null&&(l.source=Cn.relative(s,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var d=l.source;d!=null&&!a.has(d)&&a.add(d);var f=l.name;f!=null&&!c.has(f)&&c.add(f)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(n!=null&&(l=Cn.join(n,l)),s!=null&&(l=Cn.relative(s,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");ha.prototype._validateMapping=o(function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}},"SourceMapGenerator_validateMapping");ha.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,i=0,s=0,a=0,c="",l,u,d,f,h=this._mappings.toArray(),p=0,m=h.length;p<m;p++){if(u=h[p],l="",u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=";",r++;else if(p>0){if(!Cn.compareByGeneratedPositionsInflated(u,h[p-1]))continue;l+=","}l+=II.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=II.encode(f-a),a=f,l+=II.encode(u.originalLine-1-i),i=u.originalLine-1,l+=II.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=II.encode(d-s),s=d)),c+=l}return c},"SourceMapGenerator_serializeMappings");ha.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Cn.relative(r,n));var i=Cn.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},"SourceMapGenerator_generateSourcesContent");ha.prototype.toJSON=o(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");ha.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");eIe.SourceMapGenerator=ha});var tIe=A(eA=>{eA.GREATEST_LOWER_BOUND=1;eA.LEAST_UPPER_BOUND=2;function Zj(t,e,r,n,i,s){var a=Math.floor((e-t)/2)+t,c=i(r,n[a],!0);return c===0?a:c>0?e-a>1?Zj(a,e,r,n,i,s):s==eA.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?Zj(t,a,r,n,i,s):s==eA.LEAST_UPPER_BOUND?a:t<0?-1:t}o(Zj,"recursiveSearch");eA.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=Zj(-1,r.length,e,r,n,i||eA.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s},"search")});var nIe=A(rIe=>{function e8(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(e8,"swap");function vyt(t,e){return Math.round(t+Math.random()*(e-t))}o(vyt,"randomIntInRange");function t8(t,e,r,n){if(r<n){var i=vyt(r,n),s=r-1;e8(t,i,n);for(var a=t[n],c=r;c<n;c++)e(t[c],a)<=0&&(s+=1,e8(t,s,c));e8(t,s+1,c);var l=s+1;t8(t,e,r,l-1),t8(t,e,l+1,n)}}o(t8,"doQuickSort");rIe.quickSort=function(t,e){t8(t,e,0,t.length-1)}});var sIe=A(kD=>{var Ee=Qy(),r8=tIe(),ky=Kj().ArraySet,Nyt=jj(),SI=nIe().quickSort;function ar(t,e){var r=t;return typeof t=="string"&&(r=Ee.parseSourceMapInput(t)),r.sections!=null?new dc(r,e):new mi(r,e)}o(ar,"SourceMapConsumer");ar.fromSourceMap=function(t,e){return mi.fromSourceMap(t,e)};ar.prototype._version=3;ar.prototype.__generatedMappings=null;Object.defineProperty(ar.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});ar.prototype.__originalMappings=null;Object.defineProperty(ar.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});ar.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");ar.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");ar.GENERATED_ORDER=1;ar.ORIGINAL_ORDER=2;ar.GREATEST_LOWER_BOUND=1;ar.LEAST_UPPER_BOUND=2;ar.prototype.eachMapping=o(function(e,r,n){var i=r||null,s=n||ar.GENERATED_ORDER,a;switch(s){case ar.GENERATED_ORDER:a=this._generatedMappings;break;case ar.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=Ee.computeSourceURL(c,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)},"SourceMapConsumer_eachMapping");ar.prototype.allGeneratedPositionsFor=o(function(e){var r=Ee.getArg(e,"line"),n={source:Ee.getArg(e,"source"),originalLine:r,originalColumn:Ee.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,r8.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return i},"SourceMapConsumer_allGeneratedPositionsFor");kD.SourceMapConsumer=ar;function mi(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sources"),s=Ee.getArg(r,"names",[]),a=Ee.getArg(r,"sourceRoot",null),c=Ee.getArg(r,"sourcesContent",null),l=Ee.getArg(r,"mappings"),u=Ee.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=Ee.normalize(a)),i=i.map(String).map(Ee.normalize).map(function(d){return a&&Ee.isAbsolute(a)&&Ee.isAbsolute(d)?Ee.relative(a,d):d}),this._names=ky.fromArray(s.map(String),!0),this._sources=ky.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(d){return Ee.computeSourceURL(a,d,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(mi,"BasicSourceMapConsumer");mi.prototype=Object.create(ar.prototype);mi.prototype.consumer=ar;mi.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ee.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};mi.fromSourceMap=o(function(e,r){var n=Object.create(mi.prototype),i=n._names=ky.fromArray(e._names.toArray(),!0),s=n._sources=ky.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return Ee.computeSourceURL(n.sourceRoot,p,r)});for(var a=e._mappings.toArray().slice(),c=n.__generatedMappings=[],l=n.__originalMappings=[],u=0,d=a.length;u<d;u++){var f=a[u],h=new iIe;h.generatedLine=f.generatedLine,h.generatedColumn=f.generatedColumn,f.source&&(h.source=s.indexOf(f.source),h.originalLine=f.originalLine,h.originalColumn=f.originalColumn,f.name&&(h.name=i.indexOf(f.name)),l.push(h)),c.push(h)}return SI(n.__originalMappings,Ee.compareByOriginalPositions),n},"SourceMapConsumer_fromSourceMap");mi.prototype._version=3;Object.defineProperty(mi.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function iIe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(iIe,"Mapping");mi.prototype._parseMappings=o(function(e,r){for(var n=1,i=0,s=0,a=0,c=0,l=0,u=e.length,d=0,f={},h={},p=[],m=[],g,E,y,C,w;d<u;)if(e.charAt(d)===";")n++,d++,i=0;else if(e.charAt(d)===",")d++;else{for(g=new iIe,g.generatedLine=n,C=d;C<u&&!this._charIsMappingSeparator(e,C);C++);if(E=e.slice(d,C),y=f[E],y)d+=E.length;else{for(y=[];d<C;)Nyt.decode(e,d,h),w=h.value,d=h.rest,y.push(w);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");f[E]=y}g.generatedColumn=i+y[0],i=g.generatedColumn,y.length>1&&(g.source=c+y[1],c+=y[1],g.originalLine=s+y[2],s=g.originalLine,g.originalLine+=1,g.originalColumn=a+y[3],a=g.originalColumn,y.length>4&&(g.name=l+y[4],l+=y[4])),m.push(g),typeof g.originalLine=="number"&&p.push(g)}SI(m,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,SI(p,Ee.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");mi.prototype._findMapping=o(function(e,r,n,i,s,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return r8.search(e,r,s,a)},"SourceMapConsumer_findMapping");mi.prototype.computeColumnSpans=o(function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}},"SourceMapConsumer_computeColumnSpans");mi.prototype.originalPositionFor=o(function(e){var r={generatedLine:Ee.getArg(e,"line"),generatedColumn:Ee.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Ee.compareByGeneratedPositionsDeflated,Ee.getArg(e,"bias",ar.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=Ee.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=Ee.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=Ee.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:Ee.getArg(i,"originalLine",null),column:Ee.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");mi.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");mi.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=Ee.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=Ee.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");mi.prototype.generatedPositionFor=o(function(e){var r=Ee.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Ee.getArg(e,"line"),originalColumn:Ee.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,Ee.getArg(e,"bias",ar.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:Ee.getArg(s,"generatedLine",null),column:Ee.getArg(s,"generatedColumn",null),lastColumn:Ee.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");kD.BasicSourceMapConsumer=mi;function dc(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new ky,this._names=new ky;var s={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=Ee.getArg(a,"offset"),l=Ee.getArg(c,"line"),u=Ee.getArg(c,"column");if(l<s.line||l===s.line&&u<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=c,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new ar(Ee.getArg(a,"map"),e)}})}o(dc,"IndexedSourceMapConsumer");dc.prototype=Object.create(ar.prototype);dc.prototype.constructor=ar;dc.prototype._version=3;Object.defineProperty(dc.prototype,"sources",{get:o(function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t},"get")});dc.prototype.originalPositionFor=o(function(e){var r={generatedLine:Ee.getArg(e,"line"),generatedColumn:Ee.getArg(e,"column")},n=r8.search(r,this._sections,function(s,a){var c=s.generatedLine-a.generatedOffset.generatedLine;return c||s.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},"IndexedSourceMapConsumer_originalPositionFor");dc.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");dc.prototype.sourceContentFor=o(function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')},"IndexedSourceMapConsumer_sourceContentFor");dc.prototype.generatedPositionFor=o(function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(Ee.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}},"IndexedSourceMapConsumer_generatedPositionFor");dc.prototype._parseMappings=o(function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],s=i.consumer._generatedMappings,a=0;a<s.length;a++){var c=s[a],l=i.consumer._sources.at(c.source);l=Ee.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine=="number"&&this.__originalMappings.push(d)}SI(this.__generatedMappings,Ee.compareByGeneratedPositionsDeflated),SI(this.__originalMappings,Ee.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");kD.IndexedSourceMapConsumer=dc});var aIe=A(oIe=>{var _yt=Xj().SourceMapGenerator,PD=Qy(),Tyt=/(\r?\n)/,Ryt=10,Py="$$$isSourceNode$$$";function Io(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[Py]=!0,n!=null&&this.add(n)}o(Io,"SourceNode");Io.fromStringWithSourceMap=o(function(e,r,n){var i=new Io,s=e.split(Tyt),a=0,c=o(function(){var h=m(),p=m()||"";return h+p;function m(){return a<s.length?s[a++]:void 0}},"shiftNextLine"),l=1,u=0,d=null;return r.eachMapping(function(h){if(d!==null)if(l<h.generatedLine)f(d,c()),l++,u=0;else{var p=s[a]||"",m=p.substr(0,h.generatedColumn-u);s[a]=p.substr(h.generatedColumn-u),u=h.generatedColumn,f(d,m),d=h;return}for(;l<h.generatedLine;)i.add(c()),l++;if(u<h.generatedColumn){var p=s[a]||"";i.add(p.substr(0,h.generatedColumn)),s[a]=p.substr(h.generatedColumn),u=h.generatedColumn}d=h},this),a<s.length&&(d&&f(d,c()),i.add(s.splice(a).join(""))),r.sources.forEach(function(h){var p=r.sourceContentFor(h);p!=null&&(n!=null&&(h=PD.join(n,h)),i.setSourceContent(h,p))}),i;function f(h,p){if(h===null||h.source===void 0)i.add(p);else{var m=n?PD.join(n,h.source):h.source;i.add(new Io(h.originalLine,h.originalColumn,m,p,h.name))}}o(f,"addMappingWithCode")},"SourceNode_fromStringWithSourceMap");Io.prototype.add=o(function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[Py]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_add");Io.prototype.prepend=o(function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[Py]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");Io.prototype.walk=o(function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[Py]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk");Io.prototype.join=o(function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this},"SourceNode_join");Io.prototype.replaceRight=o(function(e,r){var n=this.children[this.children.length-1];return n[Py]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this},"SourceNode_replaceRight");Io.prototype.setSourceContent=o(function(e,r){this.sourceContents[PD.toSetString(e)]=r},"SourceNode_setSourceContent");Io.prototype.walkSourceContents=o(function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][Py]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(PD.fromSetString(i[r]),this.sourceContents[i[r]])},"SourceNode_walkSourceContents");Io.prototype.toString=o(function(){var e="";return this.walk(function(r){e+=r}),e},"SourceNode_toString");Io.prototype.toStringWithSourceMap=o(function(e){var r={code:"",line:1,column:0},n=new _yt(e),i=!1,s=null,a=null,c=null,l=null;return this.walk(function(u,d){r.code+=u,d.source!==null&&d.line!==null&&d.column!==null?((s!==d.source||a!==d.line||c!==d.column||l!==d.name)&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name}),s=d.source,a=d.line,c=d.column,l=d.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),s=null,i=!1);for(var f=0,h=u.length;f<h;f++)u.charCodeAt(f)===Ryt?(r.line++,r.column=0,f+1===h?(s=null,i=!1):i&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name})):r.column++}),this.walkSourceContents(function(u,d){n.setSourceContent(u,d)}),{code:r.code,map:n}},"SourceNode_toStringWithSourceMap");oIe.SourceNode=Io});var cIe=A(OD=>{OD.SourceMapGenerator=Xj().SourceMapGenerator;OD.SourceMapConsumer=sIe().SourceMapConsumer;OD.SourceNode=aIe().SourceNode});var fIe=A((LD,dIe)=>{"use strict";LD.__esModule=!0;var i8=rs(),tA=void 0;try{(typeof define!="function"||!define.amd)&&(lIe=cIe(),tA=lIe.SourceNode)}catch{}var lIe;tA||(tA=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),tA.prototype={add:o(function(e){i8.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){i8.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function n8(t,e,r){if(i8.isArray(t)){for(var n=[],i=0,s=t.length;i<s;i++)n.push(e.wrap(t[i],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}o(n8,"castChunk");function uIe(t){this.srcFile=t,this.source=[]}o(uIe,"CodeGen");uIe.prototype={isEmpty:o(function(){return!this.source.length},"isEmpty"),prepend:o(function(e,r){this.source.unshift(this.wrap(e,r))},"prepend"),push:o(function(e,r){this.source.push(this.wrap(e,r))},"push"),merge:o(function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
`])}),e},"merge"),each:o(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new tA(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof tA?e:(e=n8(e,this,r),new tA(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,n=[];Object.keys(e).forEach(function(s){var a=n8(e[s],r);a!=="undefined"&&n.push([r.quotedString(s),":",a])});var i=this.generateList(n);return i.prepend("{"),i.add("}"),i},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),n=0,i=e.length;n<i;n++)n&&r.add(","),r.add(n8(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};LD.default=uIe;dIe.exports=LD.default});var gIe=A((FD,mIe)=>{"use strict";FD.__esModule=!0;function AIe(t){return t&&t.__esModule?t:{default:t}}o(AIe,"_interopRequireDefault");var hIe=yD(),Dyt=wo(),s8=AIe(Dyt),Qyt=rs(),kyt=fIe(),pIe=AIe(kyt);function Oy(t){this.value=t}o(Oy,"Literal");function Ly(){}o(Ly,"JavaScriptCompiler");Ly.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=hIe.COMPILER_REVISION,r=hIe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Qyt.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var s=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=s.length;l<u;l++)a=s[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new s8.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;"),i?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 d=this.createFunctionContext(i);if(this.isChild)return d;var f={compiler:this.compilerInfo(),main:d};this.decorators&&(f.main_d=this.decorators,f.useDecorators=!0);var h=this.context,p=h.programs,m=h.decorators;for(l=0,u=p.length;l<u;l++)f[l]=p[l],m[l]&&(f[l+"_d"]=m[l],f.useDecorators=!0);return this.environment.usePartial&&(f.usePartial=!0),this.options.data&&(f.useData=!0),this.useDepths&&(f.useDepths=!0),this.useBlockParams&&(f.useBlockParams=!0),this.options.compat&&(f.compat=!0),i?f.compilerOptions=this.options:(f.compiler=JSON.stringify(f.compiler),this.source.currentLocation={start:{line:1,column:0}},f=this.objectLiteral(f),r.srcName?(f=f.toStringWithSourceMap({file:r.destName}),f.map=f.map&&f.map.toString()):f=f.toString()),f},"compile"),preamble:o(function(){this.lastContext=0,this.source=new pIe.default(this.options.srcName),this.decorators=new pIe.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,n="",i=this.stackVars.concat(this.registers.list);i.length>0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(n+=", alias"+ ++s+"="+l,u.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,n=!this.forceBuffer,i=void 0,s=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(s?a.prepend("buffer += "):i=!0,c.add(";"),a=c=void 0),s=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):s||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,n,i){var s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[s++])):this.pushContext(),this.resolvePath("context",e,s,r,n)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,i,s){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Pyt(this.options.strict&&s,this,r,n,e));return}for(var c=r.length,l=o(function(d){a.replaceStack(function(f){var h=a.nameLookup(f,r[d],e);return i?[" && ",h]:[" != null ? ",h," : ",f]})},"_loop"),u=n;u<c;u++)l(u)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var n=this.nameLookup("decorators",r,"decorator"),i=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",n,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",i])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,n){var i=this.popStack(),s=this.setupHelper(e,r),a=[];n&&a.push(s.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",s.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(r,e[i]);return n},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,r),s=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",s," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},"invokeAmbiguous"),invokePartial:o(function(e,r,n){var i=[],s=this.setupParams(r,1,i);e&&(r=this.popStack(),delete s.name),n&&(s.indent=JSON.stringify(n)),s.helpers="helpers",s.partials="partials",s.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(s.depths="depths"),s=this.objectLiteral(s),i.push(s),this.push(this.source.functionCall("container.invokePartial","",i))},"invokePartial"),assignToHash:o(function(e){var r=this.popStack(),n=void 0,i=void 0,s=void 0;this.trackIds&&(s=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),i&&(a.types[e]=i),s&&(a.ids[e]=s),a.values[e]=r},"assignToHash"),pushId:o(function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},"pushId"),compiler:Ly,compileChildren:o(function(e,r){for(var n=e.children,i=void 0,s=void 0,a=0,c=n.length;a<c;a++){i=n[a],s=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){var u=this.context.programs.push("")-1;i.index=u,i.name="program"+u,this.context.programs[u]=s.compile(i,r,this.context,!this.precompile),this.context.decorators[u]=s.decorators,this.context.environments[u]=i,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=l.index,i.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},"compileChildren"),matchExistingProgram:o(function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(e))return i}},"matchExistingProgram"),programExpression:o(function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},"programExpression"),useRegister:o(function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},"useRegister"),push:o(function(e){return e instanceof Oy||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new Oy(e))},"pushStackLiteral"),pushSource:o(function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},"pushSource"),replaceStack:o(function(e){var r=["("],n=void 0,i=void 0,s=void 0;if(!this.isInline())throw new s8.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof Oy)n=[a.value],r=["(",n],s=!0;else{i=!0;var c=this.incrStack();r=["((",this.push(c)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);s||this.popStack(),i&&this.stackSlot--,this.push(r.concat(l,")"))},"replaceStack"),incrStack:o(function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i instanceof Oy)this.compileStack.push(i);else{var s=this.incrStack();this.pushSource([s," = ",i,";"]),this.compileStack.push(s)}}},"flushInline"),isInline:o(function(){return this.inlineStack.length},"isInline"),popStack:o(function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof Oy)return n.value;if(!r){if(!this.stackSlot)throw new s8.default("Invalid stack pop");this.stackSlot--}return n},"popStack"),topStack:o(function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof Oy?r.value:r},"topStack"),contextName:o(function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},"contextName"),quotedString:o(function(e){return this.source.quotedString(e)},"quotedString"),objectLiteral:o(function(e){return this.source.objectLiteral(e)},"objectLiteral"),aliasable:o(function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},"aliasable"),setupHelper:o(function(e,r,n){var i=[],s=this.setupHelperArgs(r,e,i,n),a=this.nameLookup("helpers",r,"helper"),c=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:s,name:a,callParams:[c].concat(i)}},"setupHelper"),setupParams:o(function(e,r,n){var i={},s=[],a=[],c=[],l=!n,u=void 0;l&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var d=this.popStack(),f=this.popStack();(f||d)&&(i.fn=f||"container.noop",i.inverse=d||"container.noop");for(var h=r;h--;)u=this.popStack(),n[h]=u,this.trackIds&&(c[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),s[h]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(c)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(s)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},"setupParams"),setupHelperArgs:o(function(e,r,n,i){var s=this.setupParams(e,r,n);return s.loc=JSON.stringify(this.source.currentLocation),s=this.objectLiteral(s),i?(this.useRegister("options"),n.push("options"),["options=",s]):n?(n.push(s),""):s},"setupHelperArgs")};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=Ly.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();Ly.isValidJavaScriptVariableName=function(t){return!Ly.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function Pyt(t,e,r,n,i){var s=e.popStack(),a=r.length;t&&a--;for(var c=n;c<a;c++)s=e.nameLookup(s,r[c],i);return t?[e.aliasable("container.strict"),"(",s,", ",e.quotedString(r[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:s}o(Pyt,"strictLookup");FD.default=Ly;mIe.exports=FD.default});var CIe=A((MD,EIe)=>{"use strict";MD.__esModule=!0;function BI(t){return t&&t.__esModule?t:{default:t}}o(BI,"_interopRequireDefault");var Oyt=wwe(),Lyt=BI(Oyt),Fyt=kj(),Myt=BI(Fyt),o8=kwe(),a8=Fwe(),Uyt=gIe(),qyt=BI(Uyt),Gyt=_D(),Hyt=BI(Gyt),Vyt=Tj(),zyt=BI(Vyt),$yt=Lyt.default.create;function yIe(){var t=$yt();return t.compile=function(e,r){return a8.compile(e,r,t)},t.precompile=function(e,r){return a8.precompile(e,r,t)},t.AST=Myt.default,t.Compiler=a8.Compiler,t.JavaScriptCompiler=qyt.default,t.Parser=o8.parser,t.parse=o8.parse,t.parseWithoutProcessing=o8.parseWithoutProcessing,t}o(yIe,"create");var Fy=yIe();Fy.create=yIe;zyt.default(Fy);Fy.Visitor=Hyt.default;Fy.default=Fy;MD.default=Fy;EIe.exports=MD.default});var bIe=A(UD=>{"use strict";UD.__esModule=!0;UD.print=Yyt;UD.PrintVisitor=Hr;function jyt(t){return t&&t.__esModule?t:{default:t}}o(jyt,"_interopRequireDefault");var Wyt=_D(),Jyt=jyt(Wyt);function Yyt(t){return new Hr().accept(t)}o(Yyt,"print");function Hr(){this.padding=0}o(Hr,"PrintVisitor");Hr.prototype=new Jyt.default;Hr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
`,e};Hr.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var s="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)s+=" "+t.blockParams[n];s+=" ]",e+=this.pad(s)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};Hr.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Hr.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Hr.prototype.BlockStatement=Hr.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};Hr.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+" }}")};Hr.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+" }}")};Hr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Hr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Hr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i<s;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};Hr.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Hr.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Hr.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Hr.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Hr.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Hr.prototype.NullLiteral=function(){return"NULL"};Hr.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};Hr.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var c8=A((hIr,SIe)=>{var qD=CIe().default,IIe=bIe();qD.PrintVisitor=IIe.PrintVisitor;qD.print=IIe.print;SIe.exports=qD;function wIe(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=qD.compile(n)}o(wIe,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=wIe,require.extensions[".hbs"]=wIe)});var LIe=A($D=>{"use strict";Object.defineProperty($D,"__esModule",{value:!0});$D.getProxyUrl=eEt;$D.checkBypass=OIe;function eEt(t){let e=t.protocol==="https:";if(OIe(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 zD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new zD(`http://${r}`)}else return}o(eEt,"getProxyUrl");function OIe(t){if(!t.hostname)return!1;let e=t.hostname;if(tEt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(OIe,"checkBypass");function tEt(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(tEt,"isLoopbackAddress");var zD=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var MIe=A(wr=>{"use strict";var rEt=wr&&wr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),nEt=wr&&wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),YD=wr&&wr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&rEt(r,e,n[i]);return nEt(r,e),r}})(),an=wr&&wr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(wr,"__esModule",{value:!0});wr.HttpClient=wr.HttpClientResponse=wr.HttpClientError=wr.MediaTypes=wr.Headers=wr.HttpCodes=void 0;wr.getProxyUrl=sEt;wr.isHttps=dEt;var h8=YD(require("http")),FIe=YD(require("https")),p8=YD(LIe()),jD=YD(mm()),iEt=tf(),pa;(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"})(pa||(wr.HttpCodes=pa={}));var ns;(function(t){t.Accept="accept",t.ContentType="content-type"})(ns||(wr.Headers=ns={}));var id;(function(t){t.ApplicationJson="application/json"})(id||(wr.MediaTypes=id={}));function sEt(t){let e=p8.getProxyUrl(new URL(t));return e?e.href:""}o(sEt,"getProxyUrl");var oEt=[pa.MovedPermanently,pa.ResourceMoved,pa.SeeOther,pa.TemporaryRedirect,pa.PermanentRedirect],aEt=[pa.BadGateway,pa.ServiceUnavailable,pa.GatewayTimeout],cEt=["OPTIONS","GET","DELETE","HEAD"],lEt=10,uEt=5,WD=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};wr.HttpClientError=WD;var JD=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return an(this,void 0,void 0,function*(){return new Promise(e=>an(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return an(this,void 0,void 0,function*(){return new Promise(e=>an(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};wr.HttpClientResponse=JD;function dEt(t){return new URL(t).protocol==="https:"}o(dEt,"isHttps");var A8=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return an(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return an(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return an(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return an(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return an(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return an(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return an(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return an(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return an(this,arguments,void 0,function*(r,n={}){n[ns.Accept]=this._getExistingOrDefaultHeader(n,ns.Accept,id.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ns.Accept]=this._getExistingOrDefaultHeader(s,ns.Accept,id.ApplicationJson),s[ns.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,id.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ns.Accept]=this._getExistingOrDefaultHeader(s,ns.Accept,id.ApplicationJson),s[ns.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,id.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ns.Accept]=this._getExistingOrDefaultHeader(s,ns.Accept,id.ApplicationJson),s[ns.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,id.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return an(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&cEt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===pa.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&oEt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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 u.readBody(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!aEt.includes(u.message.statusCode))return u;l+=1,l<c&&(yield u.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return u})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return an(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new JD(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=p8.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?FIe:h8;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},_I(this.requestOptions.headers),_I(e||{})):_I(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=_I(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=_I(this.requestOptions.headers)[ns.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[ns.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=p8.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||h8.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?jD.httpsOverHttps:jD.httpsOverHttp:l=u?jD.httpOverHttps:jD.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new FIe.Agent(c):new h8.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new iEt.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return an(this,void 0,void 0,function*(){e=Math.min(lEt,e);let r=uEt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return an(this,void 0,void 0,function*(){return new Promise((n,i)=>an(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===pa.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new WD(d,s);f.result=a.result,i(f)}else n(a)}))})}};wr.HttpClient=A8;var _I=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var aSe=A((NSr,RI)=>{"use strict";var eQ=o(function(){},"NullObject");eQ.prototype=Object.create(null);var XD=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,ZD=/\\([\v\u0020-\u00ff])/gu,iSe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,rA={type:"",parameters:new eQ};Object.freeze(rA.parameters);Object.freeze(rA);function sSe(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(iSe.test(r)===!1)throw new TypeError("invalid media type");let n={type:r.toLowerCase(),parameters:new eQ};if(e===-1)return n;let i,s,a;for(XD.lastIndex=e;s=XD.exec(t);){if(s.index!==e)throw new TypeError("invalid parameter format");e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),ZD.test(a)&&(a=a.replace(ZD,"$1"))),n.parameters[i]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return n}o(sSe,"parse");function oSe(t){if(typeof t!="string")return rA;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(iSe.test(r)===!1)return rA;let n={type:r.toLowerCase(),parameters:new eQ};if(e===-1)return n;let i,s,a;for(XD.lastIndex=e;s=XD.exec(t);){if(s.index!==e)return rA;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),ZD.test(a)&&(a=a.replace(ZD,"$1"))),n.parameters[i]=a}return e!==t.length?rA:n}o(oSe,"safeParse");RI.exports.default={parse:sSe,safeParse:oSe};RI.exports.parse=sSe;RI.exports.safeParse=oSe;RI.exports.defaultContentType=rA});var lQ=A($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});$y.isJsonObject=$y.typeofJsonValue=void 0;function vCt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(vCt,"typeofJsonValue");$y.typeofJsonValue=vCt;function NCt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(NCt,"isJsonObject");$y.isJsonObject=NCt});var dQ=A(jy=>{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});jy.base64encode=jy.base64decode=void 0;var cd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),uQ=[];for(let t=0;t<cd.length;t++)uQ[cd[t].charCodeAt(0)]=t;uQ[45]=cd.indexOf("+");uQ[95]=cd.indexOf("/");function _Ct(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),n=0,i=0,s,a=0;for(let c=0;c<t.length;c++){if(s=uQ[t.charCodeAt(c)],s===void 0)switch(t[c]){case"=":i=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:a=s,i=1;break;case 1:r[n++]=a<<2|(s&48)>>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(_Ct,"base64decode");jy.base64decode=_Ct;function TCt(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=cd[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=cd[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=cd[i|n>>6],e+=cd[n&63],r=0;break}return r&&(e+=cd[i],e+="=",r==1&&(e+="=")),e}o(TCt,"base64encode");jy.base64encode=TCt});var jSe=A(fQ=>{"use strict";Object.defineProperty(fQ,"__esModule",{value:!0});fQ.utf8read=void 0;var G8=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function RCt(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e<a;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(G8(n)),i=0);return r.length?(i&&r.push(G8(n.slice(0,i))),r.join("")):G8(n.slice(0,i))}o(RCt,"utf8read");fQ.utf8read=RCt});var qI=A(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.WireType=Tl.mergeBinaryOptions=Tl.UnknownFieldHandler=void 0;var DCt;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(DCt=Tl.UnknownFieldHandler||(Tl.UnknownFieldHandler={}));function QCt(t,e){return Object.assign(Object.assign({},t),e)}o(QCt,"mergeBinaryOptions");Tl.mergeBinaryOptions=QCt;var kCt;(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"})(kCt=Tl.WireType||(Tl.WireType={}))});var pQ=A(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.varint32read=Ls.varint32write=Ls.int64toString=Ls.int64fromString=Ls.varint64write=Ls.varint64read=void 0;function PCt(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(PCt,"varint64read");Ls.varint64read=PCt;function OCt(t,e,r){for(let s=0;s<28;s=s+7){let a=t>>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(OCt,"varint64write");Ls.varint64write=OCt;var hQ=65536*65536;function LCt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=hQ&&(i=i+(n/hQ|0),n=n%hQ)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(LCt,"int64fromString");Ls.int64fromString=LCt;function FCt(t,e){if(e>>>0<=2097151)return""+(hQ*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(d,f){let h=d?String(d):"";return f?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(FCt,"int64toString");Ls.int64toString=FCt;function MCt(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(MCt,"varint32write");Ls.varint32write=MCt;function UCt(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(UCt,"varint32read");Ls.varint32read=UCt});var Pf=A(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.PbLong=kf.PbULong=kf.detectBi=void 0;var GI=pQ(),Jt;function WSe(){let t=new DataView(new ArrayBuffer(8));Jt=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(WSe,"detectBi");kf.detectBi=WSe;WSe();function JSe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(JSe,"assertBi");var YSe=/^-?[0-9]+$/,mQ=4294967296,AQ=2147483648,gQ=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*mQ+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},HI=class t extends gQ{static{o(this,"PbULong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(e<Jt.UMIN)throw new Error("signed value for ulong");if(e>Jt.UMAX)throw new Error("ulong too large");return Jt.V.setBigUint64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!YSe.test(e))throw new Error("string is no integer");let[r,n,i]=GI.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/mQ)}throw new Error("unknown value "+typeof e)}toString(){return Jt?this.toBigInt().toString():GI.int64toString(this.lo,this.hi)}toBigInt(){return JSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigUint64(0,!0)}};kf.PbULong=HI;HI.ZERO=new HI(0,0);var VI=class t extends gQ{static{o(this,"PbLong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(e<Jt.MIN)throw new Error("signed long too small");if(e>Jt.MAX)throw new Error("signed long too large");return Jt.V.setBigInt64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!YSe.test(e))throw new Error("string is no integer");let[r,n,i]=GI.int64fromString(e);if(r){if(i>AQ||i==AQ&&n!=0)throw new Error("signed long too small")}else if(i>=AQ)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/mQ):new t(-e,-e/mQ).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&AQ)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Jt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+GI.int64toString(e.lo,e.hi)}return GI.int64toString(this.lo,this.hi)}toBigInt(){return JSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigInt64(0,!0)}};kf.PbLong=VI;VI.ZERO=new VI(0,0)});var H8=A(Jy=>{"use strict";Object.defineProperty(Jy,"__esModule",{value:!0});Jy.BinaryReader=Jy.binaryReadOptions=void 0;var Wy=qI(),zI=Pf(),KSe=pQ(),XSe={readUnknownField:!0,readerFactory:o(t=>new yQ(t),"readerFactory")};function qCt(t){return t?Object.assign(Object.assign({},XSe),t):XSe}o(qCt,"binaryReadOptions");Jy.binaryReadOptions=qCt;var yQ=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=KSe.varint64read,this.uint32=KSe.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Wy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Wy.WireType.Bit64:this.pos+=4;case Wy.WireType.Bit32:this.pos+=4;break;case Wy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Wy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Wy.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new zI.PbLong(...this.varint64())}uint64(){return new zI.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new zI.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 zI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new zI.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())}};Jy.BinaryReader=yQ});var Yy=A(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.assertFloat32=ma.assertUInt32=ma.assertInt32=ma.assertNever=ma.assert=void 0;function GCt(t,e){if(!t)throw new Error(e)}o(GCt,"assert");ma.assert=GCt;function HCt(t,e){throw new Error(e??"Unexpected object: "+t)}o(HCt,"assertNever");ma.assertNever=HCt;var VCt=34028234663852886e22,zCt=-34028234663852886e22,$Ct=4294967295,jCt=2147483647,WCt=-2147483648;function JCt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>jCt||t<WCt)throw new Error("invalid int 32: "+t)}o(JCt,"assertInt32");ma.assertInt32=JCt;function YCt(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>$Ct||t<0)throw new Error("invalid uint 32: "+t)}o(YCt,"assertUInt32");ma.assertUInt32=YCt;function KCt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>VCt||t<zCt))throw new Error("invalid float 32: "+t)}o(KCt,"assertFloat32");ma.assertFloat32=KCt});var V8=A(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0});Xy.BinaryWriter=Xy.binaryWriteOptions=void 0;var $I=Pf(),jI=pQ(),Ky=Yy(),ZSe={writeUnknownFields:!0,writerFactory:o(()=>new EQ,"writerFactory")};function XCt(t){return t?Object.assign(Object.assign({},ZSe),t):ZSe}o(XCt,"binaryWriteOptions");Xy.binaryWriteOptions=XCt;var EQ=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].length;return this.chunks=[],r}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),r=this.stack.pop();if(!r)throw new Error("invalid state, fork stack empty");return this.chunks=r.chunks,this.buf=r.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,r){return this.uint32((e<<3|r)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Ky.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Ky.assertInt32(e),jI.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){Ky.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){Ky.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Ky.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Ky.assertInt32(e),e=(e<<1^e>>31)>>>0,jI.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=$I.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=$I.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=$I.PbLong.from(e);return jI.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=$I.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return jI.varint64write(i,s,this.buf),this}uint64(e){let r=$I.PbULong.from(e);return jI.varint64write(r.lo,r.hi,this.buf),this}};Xy.BinaryWriter=EQ});var z8=A(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.mergeJsonOptions=Of.jsonWriteOptions=Of.jsonReadOptions=void 0;var eBe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},tBe={ignoreUnknownFields:!1};function ZCt(t){return t?Object.assign(Object.assign({},tBe),t):tBe}o(ZCt,"jsonReadOptions");Of.jsonReadOptions=ZCt;function ebt(t){return t?Object.assign(Object.assign({},eBe),t):eBe}o(ebt,"jsonWriteOptions");Of.jsonWriteOptions=ebt;function tbt(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(tbt,"mergeJsonOptions");Of.mergeJsonOptions=tbt});var WI=A(CQ=>{"use strict";Object.defineProperty(CQ,"__esModule",{value:!0});CQ.MESSAGE_TYPE=void 0;CQ.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var $8=A(bQ=>{"use strict";Object.defineProperty(bQ,"__esModule",{value:!0});bQ.lowerCamelCase=void 0;function rbt(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}o(rbt,"lowerCamelCase");bQ.lowerCamelCase=rbt});var fc=A(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.readMessageOption=Pn.readFieldOption=Pn.readFieldOptions=Pn.normalizeFieldInfo=Pn.RepeatType=Pn.LongType=Pn.ScalarType=void 0;var rBe=$8(),nbt;(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"})(nbt=Pn.ScalarType||(Pn.ScalarType={}));var ibt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(ibt=Pn.LongType||(Pn.LongType={}));var nBe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(nBe=Pn.RepeatType||(Pn.RepeatType={}));function sbt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:rBe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:rBe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:nBe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(sbt,"normalizeFieldInfo");Pn.normalizeFieldInfo=sbt;function obt(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(obt,"readFieldOptions");Pn.readFieldOptions=obt;function abt(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(abt,"readFieldOption");Pn.readFieldOption=abt;function cbt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(cbt,"readMessageOption");Pn.readMessageOption=cbt});var j8=A(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.getSelectedOneofValue=Fs.clearOneofValue=Fs.setUnknownOneofValue=Fs.setOneofValue=Fs.getOneofValue=Fs.isOneofGroup=void 0;function lbt(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(lbt,"isOneofGroup");Fs.isOneofGroup=lbt;function ubt(t,e){return t[e]}o(ubt,"getOneofValue");Fs.getOneofValue=ubt;function dbt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(dbt,"setOneofValue");Fs.setOneofValue=dbt;function fbt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(fbt,"setUnknownOneofValue");Fs.setUnknownOneofValue=fbt;function hbt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(hbt,"clearOneofValue");Fs.clearOneofValue=hbt;function pbt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(pbt,"getSelectedOneofValue");Fs.getSelectedOneofValue=pbt});var J8=A(wQ=>{"use strict";Object.defineProperty(wQ,"__esModule",{value:!0});wQ.ReflectionTypeCheck=void 0;var Vr=fc(),Abt=j8(),W8=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(a=>!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!Abt.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Vr.ScalarType.INT32,i):this.scalar(e,Vr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Vr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case Vr.ScalarType.UINT64:case Vr.ScalarType.FIXED64:case Vr.ScalarType.INT64:case Vr.ScalarType.SFIXED64:case Vr.ScalarType.SINT64:switch(n){case Vr.LongType.BIGINT:return i=="bigint";case Vr.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case Vr.ScalarType.BOOL:return i=="boolean";case Vr.ScalarType.STRING:return i=="string";case Vr.ScalarType.BYTES:return e instanceof Uint8Array;case Vr.ScalarType.DOUBLE:case Vr.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case Vr.ScalarType.INT32:case Vr.ScalarType.FIXED32:case Vr.ScalarType.SFIXED32:case Vr.ScalarType.SINT32:case Vr.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case Vr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Vr.LongType.STRING)}}};wQ.ReflectionTypeCheck=W8});var SQ=A(IQ=>{"use strict";Object.defineProperty(IQ,"__esModule",{value:!0});IQ.reflectionLongConvert=void 0;var iBe=fc();function mbt(t,e){switch(e){case iBe.LongType.BIGINT:return t.toBigInt();case iBe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(mbt,"reflectionLongConvert");IQ.reflectionLongConvert=mbt});var K8=A(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.ReflectionJsonReader=void 0;var sBe=lQ(),gbt=dQ(),On=fc(),BQ=Pf(),oA=Yy(),xQ=SQ(),Y8=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=sBe.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(sBe.isJsonObject(a),c.name,a);let d=u[l];for(let[f,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let m=f;c.K==On.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,On.LongType.STRING,c.name).toString(),d[m]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let d=u[l];for(let f of a){this.assert(f!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(f,n);break;case"enum":if(h=this.enum(c.T(),f,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(f,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),d.push(h)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,n,u[l]);break;case"enum":let d=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(d===!1)continue;u[l]=d;break;case"scalar":u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&oA.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return oA.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(oA.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}oA.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case On.ScalarType.DOUBLE:case On.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==On.ScalarType.FLOAT&&oA.assertFloat32(a),a;case On.ScalarType.INT32:case On.ScalarType.FIXED32:case On.ScalarType.SFIXED32:case On.ScalarType.SINT32:case On.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==On.ScalarType.UINT32?oA.assertUInt32(c):oA.assertInt32(c),c;case On.ScalarType.INT64:case On.ScalarType.SFIXED64:case On.ScalarType.SINT64:if(e===null)return xQ.reflectionLongConvert(BQ.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return xQ.reflectionLongConvert(BQ.PbLong.from(e),n);case On.ScalarType.FIXED64:case On.ScalarType.UINT64:if(e===null)return xQ.reflectionLongConvert(BQ.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return xQ.reflectionLongConvert(BQ.PbULong.from(e),n);case On.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case On.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case On.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return gbt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};vQ.ReflectionJsonReader=Y8});var Z8=A(NQ=>{"use strict";Object.defineProperty(NQ,"__esModule",{value:!0});NQ.ReflectionJsonWriter=void 0;var ybt=dQ(),oBe=Pf(),os=fc(),Ir=Yy(),X8=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);Ir.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){Ir.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let d=this.scalar(e.V.T,u,e.name,!1,!0);Ir.assert(d!==void 0),s[l.toString()]=d}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let d=this.message(a,u,e.name,n);Ir.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Ir.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);Ir.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Ir.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l<r.length;l++){let u=this.scalar(e.T,r[l],e.name,e.opt,!0);Ir.assert(u!==void 0),s.push(u)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){Ir.assert(r[l]===void 0||typeof r[l]=="number");let u=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);Ir.assert(u!==void 0),s.push(u)}break;case"message":let c=e.T();for(let l=0;l<r.length;l++){let u=this.message(c,r[l],e.name,n);Ir.assert(u!==void 0),s.push(u)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){Ir.assert(i);return}if(!(r===0&&!s&&!i))return Ir.assert(typeof r=="number"),Ir.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){Ir.assert(i);return}let a=s||i;switch(e){case os.ScalarType.INT32:case os.ScalarType.SFIXED32:case os.ScalarType.SINT32:return r===0?a?0:void 0:(Ir.assertInt32(r),r);case os.ScalarType.FIXED32:case os.ScalarType.UINT32:return r===0?a?0:void 0:(Ir.assertUInt32(r),r);case os.ScalarType.FLOAT:Ir.assertFloat32(r);case os.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ir.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case os.ScalarType.STRING:return r===""?a?"":void 0:(Ir.assert(typeof r=="string"),r);case os.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ir.assert(typeof r=="boolean"),r);case os.ScalarType.UINT64:case os.ScalarType.FIXED64:Ir.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=oBe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case os.ScalarType.INT64:case os.ScalarType.SFIXED64:case os.ScalarType.SINT64:Ir.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=oBe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case os.ScalarType.BYTES:return Ir.assert(r instanceof Uint8Array),r.byteLength?ybt.base64encode(r):a?"":void 0}}};NQ.ReflectionJsonWriter=X8});var TQ=A(_Q=>{"use strict";Object.defineProperty(_Q,"__esModule",{value:!0});_Q.reflectionScalarDefault=void 0;var hc=fc(),aBe=SQ(),cBe=Pf();function Ebt(t,e=hc.LongType.STRING){switch(t){case hc.ScalarType.BOOL:return!1;case hc.ScalarType.UINT64:case hc.ScalarType.FIXED64:return aBe.reflectionLongConvert(cBe.PbULong.ZERO,e);case hc.ScalarType.INT64:case hc.ScalarType.SFIXED64:case hc.ScalarType.SINT64:return aBe.reflectionLongConvert(cBe.PbLong.ZERO,e);case hc.ScalarType.DOUBLE:case hc.ScalarType.FLOAT:return 0;case hc.ScalarType.BYTES:return new Uint8Array(0);case hc.ScalarType.STRING:return"";default:return 0}}o(Ebt,"reflectionScalarDefault");_Q.reflectionScalarDefault=Ebt});var t6=A(RQ=>{"use strict";Object.defineProperty(RQ,"__esModule",{value:!0});RQ.ReflectionBinaryReader=void 0;var lBe=qI(),ln=fc(),JI=SQ(),uBe=TQ(),e6=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let h=n.readUnknownField;if(h=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let p=e.skip(c);h!==!1&&(h===!0?lBe.UnknownFieldHandler.onRead:h)(this.info.typeName,r,a,c,p);continue}let u=r,d=l.repeat,f=l.localName;switch(l.oneof&&(u=u[l.oneof],u.oneofKind!==f&&(u=r[l.oneof]={oneofKind:f})),l.kind){case"scalar":case"enum":let h=l.kind=="enum"?ln.ScalarType.INT32:l.T,p=l.kind=="scalar"?l.L:void 0;if(d){let E=u[f];if(c==lBe.WireType.LengthDelimited&&h!=ln.ScalarType.STRING&&h!=ln.ScalarType.BYTES){let y=e.uint32()+e.pos;for(;e.pos<y;)E.push(this.scalar(e,h,p))}else E.push(this.scalar(e,h,p))}else u[f]=this.scalar(e,h,p);break;case"message":if(d){let E=u[f],y=l.T().internalBinaryRead(e,e.uint32(),n);E.push(y)}else u[f]=l.T().internalBinaryRead(e,e.uint32(),n,u[f]);break;case"map":let[m,g]=this.mapEntry(l,e,n);u[f][m]=g;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,a,c;for(;r.pos<s;){let[l,u]=r.tag();switch(l){case 1:e.K==ln.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,ln.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(r,e.V.T,e.V.L);break;case"enum":c=r.int32();break;case"message":c=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${l} (wire type ${u}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===void 0){let l=uBe.reflectionScalarDefault(e.K);a=e.K==ln.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=uBe.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,r,n){switch(r){case ln.ScalarType.INT32:return e.int32();case ln.ScalarType.STRING:return e.string();case ln.ScalarType.BOOL:return e.bool();case ln.ScalarType.DOUBLE:return e.double();case ln.ScalarType.FLOAT:return e.float();case ln.ScalarType.INT64:return JI.reflectionLongConvert(e.int64(),n);case ln.ScalarType.UINT64:return JI.reflectionLongConvert(e.uint64(),n);case ln.ScalarType.FIXED64:return JI.reflectionLongConvert(e.fixed64(),n);case ln.ScalarType.FIXED32:return e.fixed32();case ln.ScalarType.BYTES:return e.bytes();case ln.ScalarType.UINT32:return e.uint32();case ln.ScalarType.SFIXED32:return e.sfixed32();case ln.ScalarType.SFIXED64:return JI.reflectionLongConvert(e.sfixed64(),n);case ln.ScalarType.SINT32:return e.sint32();case ln.ScalarType.SINT64:return JI.reflectionLongConvert(e.sint64(),n)}}};RQ.ReflectionBinaryReader=e6});var n6=A(DQ=>{"use strict";Object.defineProperty(DQ,"__esModule",{value:!0});DQ.ReflectionBinaryWriter=void 0;var Bo=qI(),tr=fc(),Zy=Yy(),YI=Pf(),r6=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let d=e[s.oneof];if(d.oneofKind!==u)continue;a=d[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let d=s.kind=="enum"?tr.ScalarType.INT32:s.T;if(l)if(Zy.assert(Array.isArray(a)),l==tr.RepeatType.PACKED)this.packed(r,d,s.no,a);else for(let f of a)this.scalar(r,d,s.no,f,!0);else a===void 0?Zy.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){Zy.assert(Array.isArray(a));for(let f of a)this.message(r,n,s.T(),s.no,f)}else this.message(r,n,s.T(),s.no,a);break;case"map":Zy.assert(typeof a=="object"&&a!==null);for(let[f,h]of Object.entries(a))this.mapEntry(r,n,s,f,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Bo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Bo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case tr.ScalarType.INT32:case tr.ScalarType.FIXED32:case tr.ScalarType.UINT32:case tr.ScalarType.SFIXED32:case tr.ScalarType.SINT32:a=Number.parseInt(i);break;case tr.ScalarType.BOOL:Zy.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,tr.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,Bo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;Zy.assert(r!==tr.ScalarType.BYTES&&r!==tr.ScalarType.STRING),e.tag(n,Bo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a<i.length;a++)e[s](i[a]);e.join()}scalarInfo(e,r){let n=Bo.WireType.Varint,i,s=r===void 0,a=r===0;switch(e){case tr.ScalarType.INT32:i="int32";break;case tr.ScalarType.STRING:a=s||!r.length,n=Bo.WireType.LengthDelimited,i="string";break;case tr.ScalarType.BOOL:a=r===!1,i="bool";break;case tr.ScalarType.UINT32:i="uint32";break;case tr.ScalarType.DOUBLE:n=Bo.WireType.Bit64,i="double";break;case tr.ScalarType.FLOAT:n=Bo.WireType.Bit32,i="float";break;case tr.ScalarType.INT64:a=s||YI.PbLong.from(r).isZero(),i="int64";break;case tr.ScalarType.UINT64:a=s||YI.PbULong.from(r).isZero(),i="uint64";break;case tr.ScalarType.FIXED64:a=s||YI.PbULong.from(r).isZero(),n=Bo.WireType.Bit64,i="fixed64";break;case tr.ScalarType.BYTES:a=s||!r.byteLength,n=Bo.WireType.LengthDelimited,i="bytes";break;case tr.ScalarType.FIXED32:n=Bo.WireType.Bit32,i="fixed32";break;case tr.ScalarType.SFIXED32:n=Bo.WireType.Bit32,i="sfixed32";break;case tr.ScalarType.SFIXED64:a=s||YI.PbLong.from(r).isZero(),n=Bo.WireType.Bit64,i="sfixed64";break;case tr.ScalarType.SINT32:i="sint32";break;case tr.ScalarType.SINT64:a=s||YI.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};DQ.ReflectionBinaryWriter=r6});var i6=A(QQ=>{"use strict";Object.defineProperty(QQ,"__esModule",{value:!0});QQ.reflectionCreate=void 0;var Cbt=TQ(),bbt=WI();function wbt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},bbt.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=Cbt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(wbt,"reflectionCreate");QQ.reflectionCreate=wbt});var s6=A(kQ=>{"use strict";Object.defineProperty(kQ,"__esModule",{value:!0});kQ.reflectionMergePartial=void 0;function Ibt(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u<n.length;u++)s[c][u]=n[u];else s[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let u=0;u<n.length;u++)s[c][u]=l.create(n[u]);else s[c]===void 0?s[c]=l.create(n):l.mergePartial(s[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(s[c],n);break;case"message":let u=a.V.T();for(let d of Object.keys(n))s[c][d]=u.create(n[d]);break}break}}}o(Ibt,"reflectionMergePartial");kQ.reflectionMergePartial=Ibt});var a6=A(OQ=>{"use strict";Object.defineProperty(OQ,"__esModule",{value:!0});OQ.reflectionEquals=void 0;var o6=fc();function Sbt(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?o6.ScalarType.INT32:n.T;if(!(n.repeat?dBe(c,s,a):hBe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?fBe(n.V.T(),PQ(s),PQ(a)):dBe(n.V.kind=="enum"?o6.ScalarType.INT32:n.V.T,PQ(s),PQ(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?fBe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(Sbt,"reflectionEquals");OQ.reflectionEquals=Sbt;var PQ=Object.values;function hBe(t,e,r){if(e===r)return!0;if(t!==o6.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}o(hBe,"primitiveEq");function dBe(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!hBe(t,e[n],r[n]))return!1;return!0}o(dBe,"repeatedPrimitiveEq");function fBe(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t.equals(e[n],r[n]))return!1;return!0}o(fBe,"repeatedMsgEq")});var ABe=A(LQ=>{"use strict";Object.defineProperty(LQ,"__esModule",{value:!0});LQ.MessageType=void 0;var Bbt=WI(),xbt=fc(),vbt=J8(),Nbt=K8(),_bt=Z8(),Tbt=t6(),Rbt=n6(),Dbt=i6(),c6=s6(),Qbt=lQ(),pBe=z8(),kbt=a6(),Pbt=V8(),Obt=H8(),Lbt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),l6=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(xbt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},Lbt),{[Bbt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new vbt.ReflectionTypeCheck(this),this.refJsonReader=new Nbt.ReflectionJsonReader(this),this.refJsonWriter=new _bt.ReflectionJsonWriter(this),this.refBinReader=new Tbt.ReflectionBinaryReader(this),this.refBinWriter=new Rbt.ReflectionBinaryWriter(this)}create(e){let r=Dbt.reflectionCreate(this);return e!==void 0&&c6.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return c6.reflectionMergePartial(this,r,e),r}equals(e,r){return kbt.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){c6.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=Obt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,pBe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,pBe.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=Pbt.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${Qbt.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};LQ.MessageType=l6});var mBe=A(FQ=>{"use strict";Object.defineProperty(FQ,"__esModule",{value:!0});FQ.containsMessageType=void 0;var Fbt=WI();function Mbt(t){return t[Fbt.MESSAGE_TYPE]!=null}o(Mbt,"containsMessageType");FQ.containsMessageType=Mbt});var yBe=A(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.listEnumNumbers=Rl.listEnumNames=Rl.listEnumValues=Rl.isEnumObject=void 0;function gBe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(gBe,"isEnumObject");Rl.isEnumObject=gBe;function u6(t){if(!gBe(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(u6,"listEnumValues");Rl.listEnumValues=u6;function Ubt(t){return u6(t).map(e=>e.name)}o(Ubt,"listEnumNames");Rl.listEnumNames=Ubt;function qbt(t){return u6(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(qbt,"listEnumNumbers");Rl.listEnumNumbers=qbt});var cr=A(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var EBe=lQ();Object.defineProperty(De,"typeofJsonValue",{enumerable:!0,get:o(function(){return EBe.typeofJsonValue},"get")});Object.defineProperty(De,"isJsonObject",{enumerable:!0,get:o(function(){return EBe.isJsonObject},"get")});var CBe=dQ();Object.defineProperty(De,"base64decode",{enumerable:!0,get:o(function(){return CBe.base64decode},"get")});Object.defineProperty(De,"base64encode",{enumerable:!0,get:o(function(){return CBe.base64encode},"get")});var Gbt=jSe();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return Gbt.utf8read},"get")});var d6=qI();Object.defineProperty(De,"WireType",{enumerable:!0,get:o(function(){return d6.WireType},"get")});Object.defineProperty(De,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return d6.mergeBinaryOptions},"get")});Object.defineProperty(De,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return d6.UnknownFieldHandler},"get")});var bBe=H8();Object.defineProperty(De,"BinaryReader",{enumerable:!0,get:o(function(){return bBe.BinaryReader},"get")});Object.defineProperty(De,"binaryReadOptions",{enumerable:!0,get:o(function(){return bBe.binaryReadOptions},"get")});var wBe=V8();Object.defineProperty(De,"BinaryWriter",{enumerable:!0,get:o(function(){return wBe.BinaryWriter},"get")});Object.defineProperty(De,"binaryWriteOptions",{enumerable:!0,get:o(function(){return wBe.binaryWriteOptions},"get")});var IBe=Pf();Object.defineProperty(De,"PbLong",{enumerable:!0,get:o(function(){return IBe.PbLong},"get")});Object.defineProperty(De,"PbULong",{enumerable:!0,get:o(function(){return IBe.PbULong},"get")});var f6=z8();Object.defineProperty(De,"jsonReadOptions",{enumerable:!0,get:o(function(){return f6.jsonReadOptions},"get")});Object.defineProperty(De,"jsonWriteOptions",{enumerable:!0,get:o(function(){return f6.jsonWriteOptions},"get")});Object.defineProperty(De,"mergeJsonOptions",{enumerable:!0,get:o(function(){return f6.mergeJsonOptions},"get")});var Hbt=WI();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return Hbt.MESSAGE_TYPE},"get")});var Vbt=ABe();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return Vbt.MessageType},"get")});var aA=fc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return aA.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return aA.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return aA.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return aA.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return aA.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return aA.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return aA.readMessageOption},"get")});var zbt=J8();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return zbt.ReflectionTypeCheck},"get")});var $bt=i6();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return $bt.reflectionCreate},"get")});var jbt=TQ();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return jbt.reflectionScalarDefault},"get")});var Wbt=s6();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return Wbt.reflectionMergePartial},"get")});var Jbt=a6();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return Jbt.reflectionEquals},"get")});var Ybt=t6();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Ybt.ReflectionBinaryReader},"get")});var Kbt=n6();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Kbt.ReflectionBinaryWriter},"get")});var Xbt=K8();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Xbt.ReflectionJsonReader},"get")});var Zbt=Z8();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Zbt.ReflectionJsonWriter},"get")});var e0t=mBe();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return e0t.containsMessageType},"get")});var KI=j8();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return KI.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return KI.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return KI.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return KI.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return KI.getSelectedOneofValue},"get")});var MQ=yBe();Object.defineProperty(De,"listEnumValues",{enumerable:!0,get:o(function(){return MQ.listEnumValues},"get")});Object.defineProperty(De,"listEnumNames",{enumerable:!0,get:o(function(){return MQ.listEnumNames},"get")});Object.defineProperty(De,"listEnumNumbers",{enumerable:!0,get:o(function(){return MQ.listEnumNumbers},"get")});Object.defineProperty(De,"isEnumObject",{enumerable:!0,get:o(function(){return MQ.isEnumObject},"get")});var t0t=$8();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return t0t.lowerCamelCase},"get")});var XI=Yy();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return XI.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return XI.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return XI.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return XI.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return XI.assertFloat32},"get")})});var x6=A(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.readServiceOption=Ol.readMethodOption=Ol.readMethodOptions=Ol.normalizeMethodInfo=void 0;var r0t=cr();function n0t(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:r0t.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(n0t,"normalizeMethodInfo");Ol.normalizeMethodInfo=n0t;function i0t(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(i0t,"readMethodOptions");Ol.readMethodOptions=i0t;function s0t(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(s0t,"readMethodOption");Ol.readMethodOption=s0t;function o0t(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(o0t,"readServiceOption");Ol.readServiceOption=o0t});var NBe=A(UQ=>{"use strict";Object.defineProperty(UQ,"__esModule",{value:!0});UQ.ServiceType=void 0;var a0t=x6(),v6=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>a0t.normalizeMethodInfo(i,this)),this.options=n??{}}};UQ.ServiceType=v6});var _6=A(qQ=>{"use strict";Object.defineProperty(qQ,"__esModule",{value:!0});qQ.RpcError=void 0;var N6=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(`
`)}};qQ.RpcError=N6});var T6=A(HQ=>{"use strict";Object.defineProperty(HQ,"__esModule",{value:!0});HQ.mergeRpcOptions=void 0;var _Be=cr();function c0t(t,e){if(!e)return t;let r={};GQ(t,r),GQ(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=_Be.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=_Be.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},GQ(t.meta,r.meta),GQ(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(c0t,"mergeRpcOptions");HQ.mergeRpcOptions=c0t;function GQ(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(GQ,"copy")});var D6=A(cA=>{"use strict";Object.defineProperty(cA,"__esModule",{value:!0});cA.Deferred=cA.DeferredState=void 0;var Ll;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ll=cA.DeferredState||(cA.DeferredState={}));var R6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ll.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ll.PENDING)throw new Error(`cannot resolve ${Ll[this.state].toLowerCase()}`);this._resolve(e),this._state=Ll.RESOLVED}reject(e){if(this.state!==Ll.PENDING)throw new Error(`cannot reject ${Ll[this.state].toLowerCase()}`);this._reject(e),this._state=Ll.REJECTED}resolvePending(e){this._state===Ll.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ll.PENDING&&this.reject(e)}};cA.Deferred=R6});var k6=A(VQ=>{"use strict";Object.defineProperty(VQ,"__esModule",{value:!0});VQ.RpcOutputStreamController=void 0;var TBe=D6(),lA=cr(),Q6=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){lA.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){lA.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){lA.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){lA.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._itState||(this._itState={q:[]}),this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;lA.assert(e,"bad state"),lA.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new TBe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r)if(r.p){let n=r.p;lA.assert(n.state==TBe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};VQ.RpcOutputStreamController=Q6});var O6=A(rE=>{"use strict";var l0t=rE&&rE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(rE,"__esModule",{value:!0});rE.UnaryCall=void 0;var P6=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return l0t(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};rE.UnaryCall=P6});var F6=A(nE=>{"use strict";var u0t=nE&&nE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(nE,"__esModule",{value:!0});nE.ServerStreamingCall=void 0;var L6=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return u0t(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};nE.ServerStreamingCall=L6});var U6=A(iE=>{"use strict";var d0t=iE&&iE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(iE,"__esModule",{value:!0});iE.ClientStreamingCall=void 0;var M6=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return d0t(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};iE.ClientStreamingCall=M6});var G6=A(sE=>{"use strict";var f0t=sE&&sE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(sE,"__esModule",{value:!0});sE.DuplexStreamingCall=void 0;var q6=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return f0t(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};sE.DuplexStreamingCall=q6});var DBe=A(cE=>{"use strict";var h0t=cE&&cE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(cE,"__esModule",{value:!0});cE.TestTransport=void 0;var ga=_6(),zQ=cr(),RBe=k6(),p0t=T6(),A0t=O6(),m0t=F6(),g0t=U6(),y0t=G6(),aE=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof oE?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof oE?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 ga.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ga.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(zQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),zQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return h0t(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)zQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ga.RpcError||(zQ.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Kn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof ga.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Kn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof ga.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ga.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 ga.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 ga.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return p0t.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Kn(this.headerDelay,n.abort)),c=a.catch(d=>{}).then(Kn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Kn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Kn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new A0t.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Kn(this.headerDelay,n.abort)),c=new RBe.RpcOutputStreamController,l=a.then(Kn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Kn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),d=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,d),this.lastInput={single:r},new m0t.ServerStreamingCall(e,s,r,a,c,u,d)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Kn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Kn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Kn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Kn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new oE(this.data,r.abort),new g0t.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Kn(this.headerDelay,r.abort)),a=new RBe.RpcOutputStreamController,c=s.then(Kn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Kn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new oE(this.data,r.abort),new y0t.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};cE.TestTransport=aE;aE.defaultHeaders={responseHeader:"test"};aE.defaultStatus={code:"OK",detail:"all good"};aE.defaultTrailers={responseTrailer:"test"};function Kn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ga.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ga.RpcError("user cancel","CANCELLED"))})}})}o(Kn,"delay");var oE=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof ga.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(Kn(r,this.abort))}complete(){if(this.data.inputComplete instanceof ga.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(Kn(e,this.abort))}}});var QBe=A(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.stackDuplexStreamingInterceptors=ya.stackClientStreamingInterceptors=ya.stackServerStreamingInterceptors=ya.stackUnaryInterceptors=ya.stackIntercept=void 0;var E0t=cr();function eS(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((d,f,h)=>e.unary(d,f,h),"tail");for(let d of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(f=>f.interceptUnary).reverse()){let f=u;u=o((h,p,m)=>d.interceptUnary(f,h,p,m),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((d,f,h)=>e.serverStreaming(d,f,h),"tail");for(let d of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(f=>f.interceptServerStreaming).reverse()){let f=u;u=o((h,p,m)=>d.interceptServerStreaming(f,h,p,m),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((d,f)=>e.clientStreaming(d,f),"tail");for(let d of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(f=>f.interceptClientStreaming).reverse()){let f=u;u=o((h,p)=>d.interceptClientStreaming(f,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((d,f)=>e.duplex(d,f),"tail");for(let d of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(f=>f.interceptDuplex).reverse()){let f=u;u=o((h,p)=>d.interceptDuplex(f,h,p),"tail")}return u(r,n)}E0t.assertNever(t)}o(eS,"stackIntercept");ya.stackIntercept=eS;function C0t(t,e,r,n){return eS("unary",t,e,n,r)}o(C0t,"stackUnaryInterceptors");ya.stackUnaryInterceptors=C0t;function b0t(t,e,r,n){return eS("serverStreaming",t,e,n,r)}o(b0t,"stackServerStreamingInterceptors");ya.stackServerStreamingInterceptors=b0t;function w0t(t,e,r){return eS("clientStreaming",t,e,r)}o(w0t,"stackClientStreamingInterceptors");ya.stackClientStreamingInterceptors=w0t;function I0t(t,e,r){return eS("duplex",t,e,r)}o(I0t,"stackDuplexStreamingInterceptors");ya.stackDuplexStreamingInterceptors=I0t});var kBe=A($Q=>{"use strict";Object.defineProperty($Q,"__esModule",{value:!0});$Q.ServerCallContextController=void 0;var H6=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};$Q.ServerCallContextController=H6});var OBe=A(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var S0t=NBe();Object.defineProperty(zr,"ServiceType",{enumerable:!0,get:o(function(){return S0t.ServiceType},"get")});var V6=x6();Object.defineProperty(zr,"readMethodOptions",{enumerable:!0,get:o(function(){return V6.readMethodOptions},"get")});Object.defineProperty(zr,"readMethodOption",{enumerable:!0,get:o(function(){return V6.readMethodOption},"get")});Object.defineProperty(zr,"readServiceOption",{enumerable:!0,get:o(function(){return V6.readServiceOption},"get")});var B0t=_6();Object.defineProperty(zr,"RpcError",{enumerable:!0,get:o(function(){return B0t.RpcError},"get")});var x0t=T6();Object.defineProperty(zr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return x0t.mergeRpcOptions},"get")});var v0t=k6();Object.defineProperty(zr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return v0t.RpcOutputStreamController},"get")});var N0t=DBe();Object.defineProperty(zr,"TestTransport",{enumerable:!0,get:o(function(){return N0t.TestTransport},"get")});var PBe=D6();Object.defineProperty(zr,"Deferred",{enumerable:!0,get:o(function(){return PBe.Deferred},"get")});Object.defineProperty(zr,"DeferredState",{enumerable:!0,get:o(function(){return PBe.DeferredState},"get")});var _0t=G6();Object.defineProperty(zr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return _0t.DuplexStreamingCall},"get")});var T0t=U6();Object.defineProperty(zr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return T0t.ClientStreamingCall},"get")});var R0t=F6();Object.defineProperty(zr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return R0t.ServerStreamingCall},"get")});var D0t=O6();Object.defineProperty(zr,"UnaryCall",{enumerable:!0,get:o(function(){return D0t.UnaryCall},"get")});var tS=QBe();Object.defineProperty(zr,"stackIntercept",{enumerable:!0,get:o(function(){return tS.stackIntercept},"get")});Object.defineProperty(zr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return tS.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(zr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return tS.stackClientStreamingInterceptors},"get")});Object.defineProperty(zr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return tS.stackServerStreamingInterceptors},"get")});Object.defineProperty(zr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return tS.stackUnaryInterceptors},"get")});var Q0t=kBe();Object.defineProperty(zr,"ServerCallContextController",{enumerable:!0,get:o(function(){return Q0t.ServerCallContextController},"get")})});var qBe=A((UNr,P0t)=>{P0t.exports={name:"@actions/artifact",version:"6.2.1",preview:!0,description:"Actions artifact lib",keywords:["github","actions","artifact"],homepage:"https://github.com/actions/toolkit/tree/main/packages/artifact",license:"MIT",type:"module",main:"lib/artifact.js",types:"lib/artifact.d.ts",exports:{".":{types:"./lib/artifact.d.ts",import:"./lib/artifact.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/artifact"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:"cd ../../ && npm run test ./packages/artifact",bootstrap:"cd ../../ && npm run bootstrap","tsc-run":"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/",tsc:"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.0","@actions/github":"^9.0.0","@actions/http-client":"^4.0.0","@azure/storage-blob":"^12.30.0","@octokit/core":"^7.0.6","@octokit/plugin-request-log":"^6.0.0","@octokit/plugin-retry":"^8.0.0","@octokit/request":"^10.0.7","@octokit/request-error":"^7.1.0","@protobuf-ts/plugin":"^2.2.3-alpha.1","@protobuf-ts/runtime":"^2.9.4",archiver:"^7.0.1","jwt-decode":"^4.0.0","unzip-stream":"^0.3.1"},devDependencies:{"@types/archiver":"^7.0.0","@types/unzip-stream":"^0.3.4",typedoc:"^0.28.16","typedoc-plugin-markdown":"^4.9.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var HBe=A((qNr,GBe)=>{var O0t=qBe();GBe.exports={version:O0t.version}});var exe=A((m_r,ZBe)=>{var L0t=typeof process=="object"&&process&&process.platform==="win32";ZBe.exports=L0t?{sep:"\\"}:{sep:"/"}});var yW=A((g_r,axe)=>{var txe=o3();axe.exports=U0t;var rxe="\0SLASH"+Math.random()+"\0",nxe="\0OPEN"+Math.random()+"\0",gW="\0CLOSE"+Math.random()+"\0",ixe="\0COMMA"+Math.random()+"\0",sxe="\0PERIOD"+Math.random()+"\0";function mW(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(mW,"numeric");function F0t(t){return t.split("\\\\").join(rxe).split("\\{").join(nxe).split("\\}").join(gW).split("\\,").join(ixe).split("\\.").join(sxe)}o(F0t,"escapeBraces");function M0t(t){return t.split(rxe).join("\\").split(nxe).join("{").split(gW).join("}").split(ixe).join(",").split(sxe).join(".")}o(M0t,"unescapeBraces");function oxe(t){if(!t)return[""];var e=[],r=txe("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=oxe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(oxe,"parseCommaParts");function U0t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),rS(F0t(t),!0).map(M0t)):[]}o(U0t,"expandTop");function q0t(t){return"{"+t+"}"}o(q0t,"embrace");function G0t(t){return/^-?0\d/.test(t)}o(G0t,"isPadded");function H0t(t,e){return t<=e}o(H0t,"lte");function V0t(t,e){return t>=e}o(V0t,"gte");function rS(t,e){var r=[],n=txe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?rS(n.post,!1):[""];if(/\$$/.test(n.pre))for(var a=0;a<s.length;a++){var c=i+"{"+n.body+"}"+s[a];r.push(c)}else{var l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),d=l||u,f=n.body.indexOf(",")>=0;if(!d&&!f)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+gW+n.post,rS(t)):[t];var h;if(d)h=n.body.split(/\.\./);else if(h=oxe(n.body),h.length===1&&(h=rS(h[0],!1).map(q0t),h.length===1))return s.map(function(H){return n.pre+h[0]+H});var p;if(d){var m=mW(h[0]),g=mW(h[1]),E=Math.max(h[0].length,h[1].length),y=h.length==3?Math.abs(mW(h[2])):1,C=H0t,w=g<m;w&&(y*=-1,C=V0t);var B=h.some(G0t);p=[];for(var Q=m;C(Q,g);Q+=y){var q;if(u)q=String.fromCharCode(Q),q==="\\"&&(q="");else if(q=String(Q),B){var v=E-q.length;if(v>0){var $=new Array(v+1).join("0");Q<0?q="-"+$+q.slice(1):q=$+q}}p.push(q)}}else{p=[];for(var R=0;R<h.length;R++)p.push.apply(p,rS(h[R],!1))}for(var R=0;R<p.length;R++)for(var a=0;a<s.length;a++){var c=i+p[R]+s[a];(!e||d||c)&&r.push(c)}}return r}o(rS,"expand")});var hxe=A((C_r,IW)=>{var vo=IW.exports=(t,e,r={})=>(YQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new fE(e,r).match(t));IW.exports=vo;var bW=exe();vo.sep=bW.sep;var Ac=Symbol("globstar **");vo.GLOBSTAR=Ac;var z0t=yW(),cxe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},wW="[^/]",EW=wW+"*?",$0t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",j0t="(?:(?!(?:\\/|^)\\.).)*?",dxe=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),lxe=dxe("().*{}+?[]^$\\!"),W0t=dxe("[.("),uxe=/\/+/;vo.filter=(t,e={})=>(r,n,i)=>vo(r,t,e);var Ff=o((t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r},"ext");vo.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return vo;let e=vo,r=o((n,i,s)=>e(n,i,Ff(t,s)),"m");return r.Minimatch=class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s){super(i,Ff(t,s))}},r.Minimatch.defaults=n=>e.defaults(Ff(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Ff(t,i)),r.defaults=n=>e.defaults(Ff(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Ff(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Ff(t,i)),r.match=(n,i,s)=>e.match(n,i,Ff(t,s)),r};vo.braceExpand=(t,e)=>fxe(t,e);var fxe=o((t,e={})=>(YQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:z0t(t)),"braceExpand"),J0t=1024*64,YQ=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>J0t)throw new TypeError("pattern is too long")},"assertValidPattern"),CW=Symbol("subparse");vo.makeRe=(t,e)=>new fE(t,e||{}).makeRe();vo.match=(t,e,r={})=>{let n=new fE(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var Y0t=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),K0t=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),X0t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Z0t=o(t=>t.replace(/[[\]\\]/g,"\\$&"),"braExpEscape"),fE=class{static{o(this,"Minimatch")}constructor(e,r){YQ(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(uxe)),this.debug(this.pattern,n),n=n.map((i,s,a)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var s=0,a=0,c=e.length,l=r.length;s<c&&a<l;s++,a++){this.debug("matchOne loop");var u=r[a],d=e[s];if(this.debug(r,u,d),u===!1)return!1;if(u===Ac){this.debug("GLOBSTAR",[r,u,d]);var f=s,h=a+1;if(h===l){for(this.debug("** at the end");s<c;s++)if(e[s]==="."||e[s]===".."||!i.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<c;){var p=e[f];if(this.debug(`
globstar while`,e,f,r,h,p),this.matchOne(e.slice(f),r.slice(h),n))return this.debug("globstar found match!",f,c,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,r,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!!(n&&(this.debug(`
>>> no match, partial?`,e,f,r,h),f===c))}var m;if(typeof u=="string"?(m=d===u,this.debug("string match",u,d,m)):(m=d.match(u),this.debug("pattern match",u,d,m)),!m)return!1}if(s===c&&a===l)return!0;if(s===c)return n;if(a===l)return s===c-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return fxe(this.pattern,this.options)}parse(e,r){YQ(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return Ac;if(e==="")return"";let i="",s=!1,a=!1,c=[],l=[],u,d=!1,f=-1,h=-1,p,m,g,E=e.charAt(0)===".",y=n.dot||E,C=o(()=>E?"":y?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","patternStart"),w=o(v=>v.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","subPatternStart"),B=o(()=>{if(u){switch(u){case"*":i+=EW,s=!0;break;case"?":i+=wW,s=!0;break;default:i+="\\"+u;break}this.debug("clearStateChar %j %j",u,i),u=!1}},"clearStateChar");for(let v=0,$;v<e.length&&($=e.charAt(v));v++){if(this.debug("%s %s %s %j",e,v,i,$),a){if($==="/")return!1;lxe[$]&&(i+="\\"),i+=$,a=!1;continue}switch($){case"/":return!1;case"\\":if(d&&e.charAt(v+1)==="-"){i+=$;continue}B(),a=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,v,i,$),d){this.debug(" in class"),$==="!"&&v===h+1&&($="^"),i+=$;continue}this.debug("call clearStateChar %j",u),B(),u=$,n.noext&&B();continue;case"(":{if(d){i+="(";continue}if(!u){i+="\\(";continue}let R={type:u,start:v-1,reStart:i.length,open:cxe[u].open,close:cxe[u].close};this.debug(this.pattern," ",R),c.push(R),i+=R.open,R.start===0&&R.type!=="!"&&(E=!0,i+=w(e.slice(v+1))),this.debug("plType %j %j",u,i),u=!1;continue}case")":{let R=c[c.length-1];if(d||!R){i+="\\)";continue}c.pop(),B(),s=!0,m=R,i+=m.close,m.type==="!"&&l.push(Object.assign(m,{reEnd:i.length}));continue}case"|":{let R=c[c.length-1];if(d||!R){i+="\\|";continue}B(),i+="|",R.start===0&&R.type!=="!"&&(E=!0,i+=w(e.slice(v+1)));continue}case"[":if(B(),d){i+="\\"+$;continue}d=!0,h=v,f=i.length,i+=$;continue;case"]":if(v===h+1||!d){i+="\\"+$;continue}p=e.substring(h+1,v);try{RegExp("["+Z0t(K0t(p))+"]"),i+=$}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,d=!1;continue;default:B(),lxe[$]&&!($==="^"&&d)&&(i+="\\"),i+=$;break}}for(d&&(p=e.slice(h+1),g=this.parse(p,CW),i=i.substring(0,f)+"\\["+g[0],s=s||g[1]),m=c.pop();m;m=c.pop()){let v;v=i.slice(m.reStart+m.open.length),this.debug("setting tail",i,m),v=v.replace(/((?:\\{2}){0,64})(\\?)\|/g,(R,H,V)=>(V||(V="\\"),H+H+V+"|")),this.debug(`tail=%j
%s`,v,v,m,i);let $=m.type==="*"?EW:m.type==="?"?wW:"\\"+m.type;s=!0,i=i.slice(0,m.reStart)+$+"\\("+v}B(),a&&(i+="\\\\");let Q=W0t[i.charAt(0)];for(let v=l.length-1;v>-1;v--){let $=l[v],R=i.slice(0,$.reStart),H=i.slice($.reStart,$.reEnd-8),V=i.slice($.reEnd),J=i.slice($.reEnd-8,$.reEnd)+V,ee=R.split(")").length,ae=R.split("(").length-ee,Ae=V;for(let z=0;z<ae;z++)Ae=Ae.replace(/\)[+*?]?/,"");V=Ae;let Y=V===""&&r!==CW?"(?:$|\\/)":"";i=R+H+V+Y+J}if(i!==""&&s&&(i="(?=.)"+i),Q&&(i=C()+i),r===CW)return[i,s];if(n.nocase&&!s&&(s=e.toUpperCase()!==e.toLowerCase()),!s)return Y0t(e);let q=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",q),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?EW:r.dot?$0t:j0t,i=r.nocase?"i":"",s=e.map(a=>(a=a.map(c=>typeof c=="string"?X0t(c):c===Ac?Ac:c._src).reduce((c,l)=>(c[c.length-1]===Ac&&l===Ac||c.push(l),c),[]),a.forEach((c,l)=>{c!==Ac||a[l-1]===Ac||(l===0?a.length>1?a[l+1]="(?:\\/|"+n+"\\/)?"+a[l+1]:a[l]=n:l===a.length-1?a[l-1]+="(?:\\/|"+n+")?":(a[l-1]+="(?:\\/|\\/"+n+"\\/)"+a[l+1],a[l+1]=Ac))}),a.filter(c=>c!==Ac).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;bW.sep!=="/"&&(e=e.split(bW.sep).join("/")),e=e.split(uxe),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let a=e.length-1;a>=0&&(s=e[a],!s);a--);for(let a=0;a<i.length;a++){let c=i[a],l=e;if(n.matchBase&&c.length===1&&(l=[s]),this.matchOne(l,c,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return vo.defaults(e).Minimatch}};vo.Minimatch=fE});var yxe=A((w_r,gxe)=>{gxe.exports=mxe;var BW=require("fs"),{EventEmitter:ewt}=require("events"),{Minimatch:SW}=hxe(),{resolve:twt}=require("path");function rwt(t,e){return new Promise((r,n)=>{BW.readdir(t,{withFileTypes:!0},(i,s)=>{if(i)switch(i.code){case"ENOTDIR":e?n(i):r([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":r([]);break;default:n(i);break}else r(s)})})}o(rwt,"readdir");function pxe(t,e){return new Promise((r,n)=>{(e?BW.stat:BW.lstat)(t,(s,a)=>{s?s.code==="ENOENT"?r(e?pxe(t,!1):null):r(null):r(a)})})}o(pxe,"stat");async function*Axe(t,e,r,n,i,s){let a=await rwt(e+t,s);for(let c of a){let l=c.name;l===void 0&&(l=c,n=!0);let u=t+"/"+l,d=u.slice(1),f=e+"/"+d,h=null;(n||r)&&(h=await pxe(f,r)),!h&&c.name!==void 0&&(h=c),h===null&&(h={isDirectory:o(()=>!1,"isDirectory")}),h.isDirectory()?i(d)||(yield{relative:d,absolute:f,stats:h},yield*Axe(u,e,r,n,i,!1)):yield{relative:d,absolute:f,stats:h}}}o(Axe,"exploreWalkAsync");async function*nwt(t,e,r,n){yield*Axe("",t,e,r,n,!0)}o(nwt,"explore");function iwt(t){return{pattern:t.pattern,dot:!!t.dot,noglobstar:!!t.noglobstar,matchBase:!!t.matchBase,nocase:!!t.nocase,ignore:t.ignore,skip:t.skip,follow:!!t.follow,stat:!!t.stat,nodir:!!t.nodir,mark:!!t.mark,silent:!!t.silent,absolute:!!t.absolute}}o(iwt,"readOptions");var KQ=class extends ewt{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=iwt(r||{}),this.matchers=[],this.options.pattern){let i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map(s=>new SW(s,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map(s=>new SW(s,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map(s=>new SW(s,{dot:!0}))}this.iterator=nwt(twt(e||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,n&&(this._matches=[],this.on("match",i=>this._matches.push(this.options.absolute?i.absolute:i.relative)),this.on("error",i=>n(i)),this.on("end",()=>n(null,this._matches))),setTimeout(()=>this._next(),0)}_shouldSkipDirectory(e){return this.skipMatchers.some(r=>r.match(e))}_fileMatches(e,r){let n=e+(r?"/":"");return(this.matchers.length===0||this.matchers.some(i=>i.match(n)))&&!this.ignoreMatchers.some(i=>i.match(n))&&(!this.options.nodir||!r)}_next(){!this.paused&&!this.aborted?this.iterator.next().then(e=>{if(e.done)this.emit("end");else{let r=e.value.stats.isDirectory();if(this._fileMatches(e.value.relative,r)){let n=e.value.relative,i=e.value.absolute;this.options.mark&&r&&(n+="/",i+="/"),this.options.stat?this.emit("match",{relative:n,absolute:i,stat:e.value.stats}):this.emit("match",{relative:n,absolute:i})}this._next(this.iterator)}}).catch(e=>{this.abort(),this.emit("error",e),!e.code&&!this.options.silent&&console.error(e)}):this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){this.paused=!1,this.inactive&&(this.inactive=!1,this._next())}};function mxe(t,e,r){return new KQ(t,e,r)}o(mxe,"readdirGlob");mxe.ReaddirGlob=KQ});var Cxe=A((XQ,Exe)=>{(function(t,e){typeof XQ=="object"&&typeof Exe<"u"?e(XQ):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.async={}))})(XQ,(function(t){"use strict";function e(I,...b){return(...S)=>I(...b,...S)}o(e,"apply");function r(I){return function(...b){var S=b.pop();return I.call(this,b,S)}}o(r,"initialParams");var n=typeof queueMicrotask=="function"&&queueMicrotask,i=typeof setImmediate=="function"&&setImmediate,s=typeof process=="object"&&typeof process.nextTick=="function";function a(I){setTimeout(I,0)}o(a,"fallback");function c(I){return(b,...S)=>I(()=>b(...S))}o(c,"wrap");var l;n?l=queueMicrotask:i?l=setImmediate:s?l=process.nextTick:l=a;var u=c(l);function d(I){return p(I)?function(...b){let S=b.pop(),T=I.apply(this,b);return f(T,S)}:r(function(b,S){var T;try{T=I.apply(this,b)}catch(k){return S(k)}if(T&&typeof T.then=="function")return f(T,S);S(null,T)})}o(d,"asyncify");function f(I,b){return I.then(S=>{h(b,null,S)},S=>{h(b,S&&(S instanceof Error||S.message)?S:new Error(S))})}o(f,"handlePromise");function h(I,b,S){try{I(b,S)}catch(T){u(k=>{throw k},T)}}o(h,"invokeCallback");function p(I){return I[Symbol.toStringTag]==="AsyncFunction"}o(p,"isAsync");function m(I){return I[Symbol.toStringTag]==="AsyncGenerator"}o(m,"isAsyncGenerator");function g(I){return typeof I[Symbol.asyncIterator]=="function"}o(g,"isAsyncIterable");function E(I){if(typeof I!="function")throw new Error("expected a function");return p(I)?d(I):I}o(E,"wrapAsync");function y(I,b){if(b||(b=I.length),!b)throw new Error("arity is undefined");function S(...T){return typeof T[b-1]=="function"?I.apply(this,T):new Promise((k,L)=>{T[b-1]=(M,...G)=>{if(M)return L(M);k(G.length>1?G:G[0])},I.apply(this,T)})}return o(S,"awaitable"),S}o(y,"awaitify");function C(I){return o(function(S,...T){return y(function(L){var M=this;return I(S,(G,W)=>{E(G).apply(M,T.concat(W))},L)})},"applyEach")}o(C,"applyEach$1");function w(I,b,S,T){b=b||[];var k=[],L=0,M=E(S);return I(b,(G,W,Se)=>{var wt=L++;M(G,(Dt,Bt)=>{k[wt]=Bt,Se(Dt)})},G=>{T(G,k)})}o(w,"_asyncMap");function B(I){return I&&typeof I.length=="number"&&I.length>=0&&I.length%1===0}o(B,"isArrayLike");var q={};function v(I){function b(...S){if(I!==null){var T=I;I=null,T.apply(this,S)}}return o(b,"wrapper"),Object.assign(b,I),b}o(v,"once");function $(I){return I[Symbol.iterator]&&I[Symbol.iterator]()}o($,"getIterator");function R(I){var b=-1,S=I.length;return o(function(){return++b<S?{value:I[b],key:b}:null},"next")}o(R,"createArrayIterator");function H(I){var b=-1;return o(function(){var T=I.next();return T.done?null:(b++,{value:T.value,key:b})},"next")}o(H,"createES2015Iterator");function V(I){var b=I?Object.keys(I):[],S=-1,T=b.length;return o(function k(){var L=b[++S];return L==="__proto__"?k():S<T?{value:I[L],key:L}:null},"next")}o(V,"createObjectIterator");function J(I){if(B(I))return R(I);var b=$(I);return b?H(b):V(I)}o(J,"createIterator");function ee(I){return function(...b){if(I===null)throw new Error("Callback was already called.");var S=I;I=null,S.apply(this,b)}}o(ee,"onlyOnce");function ae(I,b,S,T){let k=!1,L=!1,M=!1,G=0,W=0;function Se(){G>=b||M||k||(M=!0,I.next().then(({value:Bt,done:ko})=>{if(!(L||k)){if(M=!1,ko){k=!0,G<=0&&T(null);return}G++,S(Bt,W,wt),W++,Se()}}).catch(Dt))}o(Se,"replenish");function wt(Bt,ko){if(G-=1,!L){if(Bt)return Dt(Bt);if(Bt===!1){k=!0,L=!0;return}if(ko===q||k&&G<=0)return k=!0,T(null);Se()}}o(wt,"iterateeCallback");function Dt(Bt){L||(M=!1,k=!0,T(Bt))}o(Dt,"handleError"),Se()}o(ae,"asyncEachOfLimit");var Ae=o(I=>(b,S,T)=>{if(T=v(T),I<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!b)return T(null);if(m(b))return ae(b,I,S,T);if(g(b))return ae(b[Symbol.asyncIterator](),I,S,T);var k=J(b),L=!1,M=!1,G=0,W=!1;function Se(Dt,Bt){if(!M)if(G-=1,Dt)L=!0,T(Dt);else if(Dt===!1)L=!0,M=!0;else{if(Bt===q||L&&G<=0)return L=!0,T(null);W||wt()}}o(Se,"iterateeCallback");function wt(){for(W=!0;G<I&&!L;){var Dt=k();if(Dt===null){L=!0,G<=0&&T(null);return}G+=1,S(Dt.value,Dt.key,ee(Se))}W=!1}o(wt,"replenish"),wt()},"eachOfLimit$2");function Y(I,b,S,T){return Ae(b)(I,E(S),T)}o(Y,"eachOfLimit");var z=y(Y,4);function Ie(I,b,S){S=v(S);var T=0,k=0,{length:L}=I,M=!1;L===0&&S(null);function G(W,Se){W===!1&&(M=!0),M!==!0&&(W?S(W):(++k===L||Se===q)&&S(null))}for(o(G,"iteratorCallback");T<L;T++)b(I[T],T,ee(G))}o(Ie,"eachOfArrayLike");function Be(I,b,S){return z(I,1/0,b,S)}o(Be,"eachOfGeneric");function st(I,b,S){var T=B(I)?Ie:Be;return T(I,E(b),S)}o(st,"eachOf");var bt=y(st,3);function hr(I,b,S){return w(bt,I,b,S)}o(hr,"map");var hn=y(hr,3),oi=C(hn);function pr(I,b,S){return z(I,1,b,S)}o(pr,"eachOfSeries");var Jr=y(pr,3);function xh(I,b,S){return w(Jr,I,b,S)}o(xh,"mapSeries");var pu=y(xh,3),vc=C(pu);let ms=Symbol("promiseCallback");function La(){let I,b;function S(T,...k){if(T)return b(T);I(k.length>1?k:k[0])}return o(S,"callback"),S[ms]=new Promise((T,k)=>{I=T,b=k}),S}o(La,"promiseCallback");function Pd(I,b,S){typeof b!="number"&&(S=b,b=null),S=v(S||La());var T=Object.keys(I).length;if(!T)return S(null);b||(b=T);var k={},L=0,M=!1,G=!1,W=Object.create(null),Se=[],wt=[],Dt={};Object.keys(I).forEach(we=>{var Oe=I[we];if(!Array.isArray(Oe)){Bt(we,[Oe]),wt.push(we);return}var xt=Oe.slice(0,Oe.length-1),Ar=xt.length;if(Ar===0){Bt(we,Oe),wt.push(we);return}Dt[we]=Ar,xt.forEach(Un=>{if(!I[Un])throw new Error("async.auto task `"+we+"` has a non-existent dependency `"+Un+"` in "+xt.join(", "));hm(Un,()=>{Ar--,Ar===0&&Bt(we,Oe)})})}),Qt(),ko();function Bt(we,Oe){Se.push(()=>sb(we,Oe))}o(Bt,"enqueueTask");function ko(){if(!M){if(Se.length===0&&L===0)return S(null,k);for(;Se.length&&L<b;){var we=Se.shift();we()}}}o(ko,"processQueue");function hm(we,Oe){var xt=W[we];xt||(xt=W[we]=[]),xt.push(Oe)}o(hm,"addListener");function Nh(we){var Oe=W[we]||[];Oe.forEach(xt=>xt()),ko()}o(Nh,"taskComplete");function sb(we,Oe){if(!G){var xt=ee((Un,...Po)=>{if(L--,Un===!1){M=!0;return}if(Po.length<2&&([Po]=Po),Un){var pm={};if(Object.keys(k).forEach(_h=>{pm[_h]=k[_h]}),pm[we]=Po,G=!0,W=Object.create(null),M)return;S(Un,pm)}else k[we]=Po,Nh(we)});L++;var Ar=E(Oe[Oe.length-1]);Oe.length>1?Ar(k,xt):Ar(xt)}}o(sb,"runTask");function Qt(){for(var we,Oe=0;wt.length;)we=wt.pop(),Oe++,Pe(we).forEach(xt=>{--Dt[xt]===0&&wt.push(xt)});if(Oe!==T)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}o(Qt,"checkForDeadlocks");function Pe(we){var Oe=[];return Object.keys(I).forEach(xt=>{let Ar=I[xt];Array.isArray(Ar)&&Ar.indexOf(we)>=0&&Oe.push(xt)}),Oe}return o(Pe,"getDependents"),S[ms]}o(Pd,"auto");var Od=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,Au=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,sx=/,/,KC=/(=.+)?(\s*)$/;function XC(I){let b="",S=0,T=I.indexOf("*/");for(;S<I.length;)if(I[S]==="/"&&I[S+1]==="/"){let k=I.indexOf(`
`,S);S=k===-1?I.length:k}else if(T!==-1&&I[S]==="/"&&I[S+1]==="*"){let k=I.indexOf("*/",S);k!==-1?(S=k+2,T=I.indexOf("*/",S)):(b+=I[S],S++)}else b+=I[S],S++;return b}o(XC,"stripComments");function ox(I){let b=XC(I.toString()),S=b.match(Od);if(S||(S=b.match(Au)),!S)throw new Error(`could not parse args in autoInject
Source:
`+b);let[,T]=S;return T.replace(/\s/g,"").split(sx).map(k=>k.replace(KC,"").trim())}o(ox,"parseParams");function lm(I,b){var S={};return Object.keys(I).forEach(T=>{var k=I[T],L,M=p(k),G=!M&&k.length===1||M&&k.length===0;if(Array.isArray(k))L=[...k],k=L.pop(),S[T]=L.concat(L.length>0?W:k);else if(G)S[T]=k;else{if(L=ox(k),k.length===0&&!M&&L.length===0)throw new Error("autoInject task functions require explicit parameters.");M||L.pop(),S[T]=L.concat(W)}function W(Se,wt){var Dt=L.map(Bt=>Se[Bt]);Dt.push(wt),E(k)(...Dt)}o(W,"newTask")}),Pd(S,b)}o(lm,"autoInject");class ax{static{o(this,"DLL")}constructor(){this.head=this.tail=null,this.length=0}removeLink(b){return b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev,b.prev=b.next=null,this.length-=1,b}empty(){for(;this.head;)this.shift();return this}insertAfter(b,S){S.prev=b,S.next=b.next,b.next?b.next.prev=S:this.tail=S,b.next=S,this.length+=1}insertBefore(b,S){S.prev=b.prev,S.next=b,b.prev?b.prev.next=S:this.head=S,b.prev=S,this.length+=1}unshift(b){this.head?this.insertBefore(this.head,b):ZC(this,b)}push(b){this.tail?this.insertAfter(this.tail,b):ZC(this,b)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var b=this.head;b;)yield b.data,b=b.next}remove(b){for(var S=this.head;S;){var{next:T}=S;b(S)&&this.removeLink(S),S=T}return this}}function ZC(I,b){I.length=1,I.head=I.tail=b}o(ZC,"setInitial");function um(I,b,S){if(b==null)b=1;else if(b===0)throw new RangeError("Concurrency must not be zero");var T=E(I),k=0,L=[];let M={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G(Pe,we){M[Pe].push(we)}o(G,"on");function W(Pe,we){let Oe=o((...xt)=>{Se(Pe,Oe),we(...xt)},"handleAndRemove");M[Pe].push(Oe)}o(W,"once");function Se(Pe,we){if(!Pe)return Object.keys(M).forEach(Oe=>M[Oe]=[]);if(!we)return M[Pe]=[];M[Pe]=M[Pe].filter(Oe=>Oe!==we)}o(Se,"off");function wt(Pe,...we){M[Pe].forEach(Oe=>Oe(...we))}o(wt,"trigger");var Dt=!1;function Bt(Pe,we,Oe,xt){if(xt!=null&&typeof xt!="function")throw new Error("task callback must be a function");Qt.started=!0;var Ar,Un;function Po(_h,...ob){if(_h)return Oe?Un(_h):Ar();if(ob.length<=1)return Ar(ob[0]);Ar(ob)}o(Po,"promiseCallback");var pm=Qt._createTaskItem(Pe,Oe?Po:xt||Po);if(we?Qt._tasks.unshift(pm):Qt._tasks.push(pm),Dt||(Dt=!0,u(()=>{Dt=!1,Qt.process()})),Oe||!xt)return new Promise((_h,ob)=>{Ar=_h,Un=ob})}o(Bt,"_insert");function ko(Pe){return function(we,...Oe){k-=1;for(var xt=0,Ar=Pe.length;xt<Ar;xt++){var Un=Pe[xt],Po=L.indexOf(Un);Po===0?L.shift():Po>0&&L.splice(Po,1),Un.callback(we,...Oe),we!=null&&wt("error",we,Un.data)}k<=Qt.concurrency-Qt.buffer&&wt("unsaturated"),Qt.idle()&&wt("drain"),Qt.process()}}o(ko,"_createCB");function hm(Pe){return Pe.length===0&&Qt.idle()?(u(()=>wt("drain")),!0):!1}o(hm,"_maybeDrain");let Nh=o(Pe=>we=>{if(!we)return new Promise((Oe,xt)=>{W(Pe,(Ar,Un)=>{if(Ar)return xt(Ar);Oe(Un)})});Se(Pe),G(Pe,we)},"eventMethod");var sb=!1,Qt={_tasks:new ax,_createTaskItem(Pe,we){return{data:Pe,callback:we}},*[Symbol.iterator](){yield*Qt._tasks[Symbol.iterator]()},concurrency:b,payload:S,buffer:b/4,started:!1,paused:!1,push(Pe,we){return Array.isArray(Pe)?hm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!1,we)):Bt(Pe,!1,!1,we)},pushAsync(Pe,we){return Array.isArray(Pe)?hm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!0,we)):Bt(Pe,!1,!0,we)},kill(){Se(),Qt._tasks.empty()},unshift(Pe,we){return Array.isArray(Pe)?hm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!1,we)):Bt(Pe,!0,!1,we)},unshiftAsync(Pe,we){return Array.isArray(Pe)?hm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!0,we)):Bt(Pe,!0,!0,we)},remove(Pe){Qt._tasks.remove(Pe)},process(){if(!sb){for(sb=!0;!Qt.paused&&k<Qt.concurrency&&Qt._tasks.length;){var Pe=[],we=[],Oe=Qt._tasks.length;Qt.payload&&(Oe=Math.min(Oe,Qt.payload));for(var xt=0;xt<Oe;xt++){var Ar=Qt._tasks.shift();Pe.push(Ar),L.push(Ar),we.push(Ar.data)}k+=1,Qt._tasks.length===0&&wt("empty"),k===Qt.concurrency&&wt("saturated");var Un=ee(ko(Pe));T(we,Un)}sb=!1}},length(){return Qt._tasks.length},running(){return k},workersList(){return L},idle(){return Qt._tasks.length+k===0},pause(){Qt.paused=!0},resume(){Qt.paused!==!1&&(Qt.paused=!1,u(Qt.process))}};return Object.defineProperties(Qt,{saturated:{writable:!1,value:Nh("saturated")},unsaturated:{writable:!1,value:Nh("unsaturated")},empty:{writable:!1,value:Nh("empty")},drain:{writable:!1,value:Nh("drain")},error:{writable:!1,value:Nh("error")}}),Qt}o(um,"queue$1");function dm(I,b){return um(I,1,b)}o(dm,"cargo$1");function $s(I,b,S){return um(I,b,S)}o($s,"cargo");function cx(I,b,S,T){T=v(T);var k=E(S);return Jr(I,(L,M,G)=>{k(b,L,(W,Se)=>{b=Se,G(W)})},L=>T(L,b))}o(cx,"reduce");var Fa=y(cx,4);function eb(...I){var b=I.map(E);return function(...S){var T=this,k=S[S.length-1];return typeof k=="function"?S.pop():k=La(),Fa(b,S,(L,M,G)=>{M.apply(T,L.concat((W,...Se)=>{G(W,Se)}))},(L,M)=>k(L,...M)),k[ms]}}o(eb,"seq");function be(...I){return eb(...I.reverse())}o(be,"compose");function P(I,b,S,T){return w(Ae(b),I,S,T)}o(P,"mapLimit");var x=y(P,4);function F(I,b,S,T){var k=E(S);return x(I,b,(L,M)=>{k(L,(G,...W)=>G?M(G):M(G,W))},(L,M)=>{for(var G=[],W=0;W<M.length;W++)M[W]&&(G=G.concat(...M[W]));return T(L,G)})}o(F,"concatLimit");var U=y(F,4);function j(I,b,S){return U(I,1/0,b,S)}o(j,"concat");var X=y(j,3);function ge(I,b,S){return U(I,1,b,S)}o(ge,"concatSeries");var St=y(ge,3);function pn(...I){return function(...b){var S=b.pop();return S(null,...I)}}o(pn,"constant$1");function Kt(I,b){return(S,T,k,L)=>{var M=!1,G;let W=E(k);S(T,(Se,wt,Dt)=>{W(Se,(Bt,ko)=>{if(Bt||Bt===!1)return Dt(Bt);if(I(ko)&&!G)return M=!0,G=b(!0,Se),Dt(null,q);Dt()})},Se=>{if(Se)return L(Se);L(null,M?G:b(!1))})}}o(Kt,"_createTester");function vh(I,b,S){return Kt(T=>T,(T,k)=>k)(bt,I,b,S)}o(vh,"detect");var fm=y(vh,3);function lx(I,b,S,T){return Kt(k=>k,(k,L)=>L)(Ae(b),I,S,T)}o(lx,"detectLimit");var ux=y(lx,4);function GUe(I,b,S){return Kt(T=>T,(T,k)=>k)(Ae(1),I,b,S)}o(GUe,"detectSeries");var dx=y(GUe,3);function EZ(I){return(b,...S)=>E(b)(...S,(T,...k)=>{typeof console=="object"&&(T?console.error&&console.error(T):console[I]&&k.forEach(L=>console[I](L)))})}o(EZ,"consoleFunc");var CZ=EZ("dir");function HUe(I,b,S){S=ee(S);var T=E(I),k=E(b),L;function M(W,...Se){if(W)return S(W);W!==!1&&(L=Se,k(...Se,G))}o(M,"next");function G(W,Se){if(W)return S(W);if(W!==!1){if(!Se)return S(null,...L);T(M)}}return o(G,"check"),G(null,!0)}o(HUe,"doWhilst");var tb=y(HUe,3);function bZ(I,b,S){let T=E(b);return tb(I,(...k)=>{let L=k.pop();T(...k,(M,G)=>L(M,!G))},S)}o(bZ,"doUntil");function wZ(I){return(b,S,T)=>I(b,T)}o(wZ,"_withoutIndex");function VUe(I,b,S){return bt(I,wZ(E(b)),S)}o(VUe,"eachLimit$2");var fx=y(VUe,3);function zUe(I,b,S,T){return Ae(b)(I,wZ(E(S)),T)}o(zUe,"eachLimit");var rb=y(zUe,4);function $Ue(I,b,S){return rb(I,1,b,S)}o($Ue,"eachSeries");var nb=y($Ue,3);function IL(I){return p(I)?I:function(...b){var S=b.pop(),T=!0;b.push((...k)=>{T?u(()=>S(...k)):S(...k)}),I.apply(this,b),T=!1}}o(IL,"ensureAsync");function jUe(I,b,S){return Kt(T=>!T,T=>!T)(bt,I,b,S)}o(jUe,"every");var hx=y(jUe,3);function WUe(I,b,S,T){return Kt(k=>!k,k=>!k)(Ae(b),I,S,T)}o(WUe,"everyLimit");var px=y(WUe,4);function JUe(I,b,S){return Kt(T=>!T,T=>!T)(Jr,I,b,S)}o(JUe,"everySeries");var Ax=y(JUe,3);function YUe(I,b,S,T){var k=new Array(b.length);I(b,(L,M,G)=>{S(L,(W,Se)=>{k[M]=!!Se,G(W)})},L=>{if(L)return T(L);for(var M=[],G=0;G<b.length;G++)k[G]&&M.push(b[G]);T(null,M)})}o(YUe,"filterArray");function KUe(I,b,S,T){var k=[];I(b,(L,M,G)=>{S(L,(W,Se)=>{if(W)return G(W);Se&&k.push({index:M,value:L}),G(W)})},L=>{if(L)return T(L);T(null,k.sort((M,G)=>M.index-G.index).map(M=>M.value))})}o(KUe,"filterGeneric");function mx(I,b,S,T){var k=B(b)?YUe:KUe;return k(I,b,E(S),T)}o(mx,"_filter");function XUe(I,b,S){return mx(bt,I,b,S)}o(XUe,"filter");var gx=y(XUe,3);function ZUe(I,b,S,T){return mx(Ae(b),I,S,T)}o(ZUe,"filterLimit");var yx=y(ZUe,4);function eqe(I,b,S){return mx(Jr,I,b,S)}o(eqe,"filterSeries");var Ex=y(eqe,3);function tqe(I,b){var S=ee(b),T=E(IL(I));function k(L){if(L)return S(L);L!==!1&&T(k)}return o(k,"next"),k()}o(tqe,"forever");var IZ=y(tqe,2);function rqe(I,b,S,T){var k=E(S);return x(I,b,(L,M)=>{k(L,(G,W)=>G?M(G):M(G,{key:W,val:L}))},(L,M)=>{for(var G={},{hasOwnProperty:W}=Object.prototype,Se=0;Se<M.length;Se++)if(M[Se]){var{key:wt}=M[Se],{val:Dt}=M[Se];W.call(G,wt)?G[wt].push(Dt):G[wt]=[Dt]}return T(L,G)})}o(rqe,"groupByLimit");var Cx=y(rqe,4);function SZ(I,b,S){return Cx(I,1/0,b,S)}o(SZ,"groupBy");function BZ(I,b,S){return Cx(I,1,b,S)}o(BZ,"groupBySeries");var xZ=EZ("log");function nqe(I,b,S,T){T=v(T);var k={},L=E(S);return Ae(b)(I,(M,G,W)=>{L(M,G,(Se,wt)=>{if(Se)return W(Se);k[G]=wt,W(Se)})},M=>T(M,k))}o(nqe,"mapValuesLimit");var bx=y(nqe,4);function vZ(I,b,S){return bx(I,1/0,b,S)}o(vZ,"mapValues");function NZ(I,b,S){return bx(I,1,b,S)}o(NZ,"mapValuesSeries");function _Z(I,b=S=>S){var S=Object.create(null),T=Object.create(null),k=E(I),L=r((M,G)=>{var W=b(...M);W in S?u(()=>G(null,...S[W])):W in T?T[W].push(G):(T[W]=[G],k(...M,(Se,...wt)=>{Se||(S[W]=wt);var Dt=T[W];delete T[W];for(var Bt=0,ko=Dt.length;Bt<ko;Bt++)Dt[Bt](Se,...wt)}))});return L.memo=S,L.unmemoized=I,L}o(_Z,"memoize");var wx;s?wx=process.nextTick:i?wx=setImmediate:wx=a;var TZ=c(wx),SL=y((I,b,S)=>{var T=B(b)?[]:{};I(b,(k,L,M)=>{E(k)((G,...W)=>{W.length<2&&([W]=W),T[L]=W,M(G)})},k=>S(k,T))},3);function RZ(I,b){return SL(bt,I,b)}o(RZ,"parallel");function DZ(I,b,S){return SL(Ae(b),I,S)}o(DZ,"parallelLimit");function BL(I,b){var S=E(I);return um((T,k)=>{S(T[0],k)},b,1)}o(BL,"queue");class iqe{static{o(this,"Heap")}constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(b){let S;for(;b>0&&xL(this.heap[b],this.heap[S=QZ(b)]);){let T=this.heap[b];this.heap[b]=this.heap[S],this.heap[S]=T,b=S}}percDown(b){let S;for(;(S=sqe(b))<this.heap.length&&(S+1<this.heap.length&&xL(this.heap[S+1],this.heap[S])&&(S=S+1),!xL(this.heap[b],this.heap[S]));){let T=this.heap[b];this.heap[b]=this.heap[S],this.heap[S]=T,b=S}}push(b){b.pushCount=++this.pushCount,this.heap.push(b),this.percUp(this.heap.length-1)}unshift(b){return this.heap.push(b)}shift(){let[b]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),b}toArray(){return[...this]}*[Symbol.iterator](){for(let b=0;b<this.heap.length;b++)yield this.heap[b].data}remove(b){let S=0;for(let T=0;T<this.heap.length;T++)b(this.heap[T])||(this.heap[S]=this.heap[T],S++);this.heap.splice(S);for(let T=QZ(this.heap.length-1);T>=0;T--)this.percDown(T);return this}}function sqe(I){return(I<<1)+1}o(sqe,"leftChi");function QZ(I){return(I+1>>1)-1}o(QZ,"parent");function xL(I,b){return I.priority!==b.priority?I.priority<b.priority:I.pushCount<b.pushCount}o(xL,"smaller");function kZ(I,b){var S=BL(I,b),{push:T,pushAsync:k}=S;S._tasks=new iqe,S._createTaskItem=({data:M,priority:G},W)=>({data:M,priority:G,callback:W});function L(M,G){return Array.isArray(M)?M.map(W=>({data:W,priority:G})):{data:M,priority:G}}return o(L,"createDataItems"),S.push=function(M,G=0,W){return T(L(M,G),W)},S.pushAsync=function(M,G=0,W){return k(L(M,G),W)},delete S.unshift,delete S.unshiftAsync,S}o(kZ,"priorityQueue");function oqe(I,b){if(b=v(b),!Array.isArray(I))return b(new TypeError("First argument to race must be an array of functions"));if(!I.length)return b();for(var S=0,T=I.length;S<T;S++)E(I[S])(b)}o(oqe,"race");var PZ=y(oqe,2);function Ix(I,b,S,T){var k=[...I].reverse();return Fa(k,b,S,T)}o(Ix,"reduceRight");function Sx(I){var b=E(I);return r(o(function(T,k){return T.push((L,...M)=>{let G={};if(L&&(G.error=L),M.length>0){var W=M;M.length<=1&&([W]=M),G.value=W}k(null,G)}),b.apply(this,T)},"reflectOn"))}o(Sx,"reflect");function OZ(I){var b;return Array.isArray(I)?b=I.map(Sx):(b={},Object.keys(I).forEach(S=>{b[S]=Sx.call(this,I[S])})),b}o(OZ,"reflectAll");function vL(I,b,S,T){let k=E(S);return mx(I,b,(L,M)=>{k(L,(G,W)=>{M(G,!W)})},T)}o(vL,"reject$2");function aqe(I,b,S){return vL(bt,I,b,S)}o(aqe,"reject");var LZ=y(aqe,3);function cqe(I,b,S,T){return vL(Ae(b),I,S,T)}o(cqe,"rejectLimit");var FZ=y(cqe,4);function lqe(I,b,S){return vL(Jr,I,b,S)}o(lqe,"rejectSeries");var MZ=y(lqe,3);function UZ(I){return function(){return I}}o(UZ,"constant");let NL=5,qZ=0;function Bx(I,b,S){var T={times:NL,intervalFunc:UZ(qZ)};if(arguments.length<3&&typeof I=="function"?(S=b||La(),b=I):(uqe(T,I),S=S||La()),typeof b!="function")throw new Error("Invalid arguments for async.retry");var k=E(b),L=1;function M(){k((G,...W)=>{G!==!1&&(G&&L++<T.times&&(typeof T.errorFilter!="function"||T.errorFilter(G))?setTimeout(M,T.intervalFunc(L-1)):S(G,...W))})}return o(M,"retryAttempt"),M(),S[ms]}o(Bx,"retry");function uqe(I,b){if(typeof b=="object")I.times=+b.times||NL,I.intervalFunc=typeof b.interval=="function"?b.interval:UZ(+b.interval||qZ),I.errorFilter=b.errorFilter;else if(typeof b=="number"||typeof b=="string")I.times=+b||NL;else throw new Error("Invalid arguments for async.retry")}o(uqe,"parseTimes");function GZ(I,b){b||(b=I,I=null);let S=I&&I.arity||b.length;p(b)&&(S+=1);var T=E(b);return r((k,L)=>{(k.length<S-1||L==null)&&(k.push(L),L=La());function M(G){T(...k,G)}return o(M,"taskFn"),I?Bx(I,M,L):Bx(M,L),L[ms]})}o(GZ,"retryable");function HZ(I,b){return SL(Jr,I,b)}o(HZ,"series");function dqe(I,b,S){return Kt(Boolean,T=>T)(bt,I,b,S)}o(dqe,"some");var xx=y(dqe,3);function fqe(I,b,S,T){return Kt(Boolean,k=>k)(Ae(b),I,S,T)}o(fqe,"someLimit");var vx=y(fqe,4);function hqe(I,b,S){return Kt(Boolean,T=>T)(Jr,I,b,S)}o(hqe,"someSeries");var Nx=y(hqe,3);function pqe(I,b,S){var T=E(b);return hn(I,(L,M)=>{T(L,(G,W)=>{if(G)return M(G);M(G,{value:L,criteria:W})})},(L,M)=>{if(L)return S(L);S(null,M.sort(k).map(G=>G.value))});function k(L,M){var G=L.criteria,W=M.criteria;return G<W?-1:G>W?1:0}}o(pqe,"sortBy");var VZ=y(pqe,3);function zZ(I,b,S){var T=E(I);return r((k,L)=>{var M=!1,G;function W(){var Se=I.name||"anonymous",wt=new Error('Callback function "'+Se+'" timed out.');wt.code="ETIMEDOUT",S&&(wt.info=S),M=!0,L(wt)}o(W,"timeoutCallback"),k.push((...Se)=>{M||(L(...Se),clearTimeout(G))}),G=setTimeout(W,b),T(...k)})}o(zZ,"timeout");function Aqe(I){for(var b=Array(I);I--;)b[I]=I;return b}o(Aqe,"range");function _x(I,b,S,T){var k=E(S);return x(Aqe(I),b,k,T)}o(_x,"timesLimit");function $Z(I,b,S){return _x(I,1/0,b,S)}o($Z,"times");function jZ(I,b,S){return _x(I,1,b,S)}o(jZ,"timesSeries");function WZ(I,b,S,T){arguments.length<=3&&typeof b=="function"&&(T=S,S=b,b=Array.isArray(I)?[]:{}),T=v(T||La());var k=E(S);return bt(I,(L,M,G)=>{k(b,L,M,G)},L=>T(L,b)),T[ms]}o(WZ,"transform");function mqe(I,b){var S=null,T;return nb(I,(k,L)=>{E(k)((M,...G)=>{if(M===!1)return L(M);G.length<2?[T]=G:T=G,S=M,L(M?null:{})})},()=>b(S,T))}o(mqe,"tryEach");var JZ=y(mqe);function YZ(I){return(...b)=>(I.unmemoized||I)(...b)}o(YZ,"unmemoize");function gqe(I,b,S){S=ee(S);var T=E(b),k=E(I),L=[];function M(W,...Se){if(W)return S(W);L=Se,W!==!1&&k(G)}o(M,"next");function G(W,Se){if(W)return S(W);if(W!==!1){if(!Se)return S(null,...L);T(M)}}return o(G,"check"),k(G)}o(gqe,"whilst");var ib=y(gqe,3);function KZ(I,b,S){let T=E(I);return ib(k=>T((L,M)=>k(L,!M)),b,S)}o(KZ,"until");function yqe(I,b){if(b=v(b),!Array.isArray(I))return b(new Error("First argument to waterfall must be an array of functions"));if(!I.length)return b();var S=0;function T(L){var M=E(I[S++]);M(...L,ee(k))}o(T,"nextTask");function k(L,...M){if(L!==!1){if(L||S===I.length)return b(L,...M);T(M)}}o(k,"next"),T([])}o(yqe,"waterfall");var XZ=y(yqe),Eqe={apply:e,applyEach:oi,applyEachSeries:vc,asyncify:d,auto:Pd,autoInject:lm,cargo:dm,cargoQueue:$s,compose:be,concat:X,concatLimit:U,concatSeries:St,constant:pn,detect:fm,detectLimit:ux,detectSeries:dx,dir:CZ,doUntil:bZ,doWhilst:tb,each:fx,eachLimit:rb,eachOf:bt,eachOfLimit:z,eachOfSeries:Jr,eachSeries:nb,ensureAsync:IL,every:hx,everyLimit:px,everySeries:Ax,filter:gx,filterLimit:yx,filterSeries:Ex,forever:IZ,groupBy:SZ,groupByLimit:Cx,groupBySeries:BZ,log:xZ,map:hn,mapLimit:x,mapSeries:pu,mapValues:vZ,mapValuesLimit:bx,mapValuesSeries:NZ,memoize:_Z,nextTick:TZ,parallel:RZ,parallelLimit:DZ,priorityQueue:kZ,queue:BL,race:PZ,reduce:Fa,reduceRight:Ix,reflect:Sx,reflectAll:OZ,reject:LZ,rejectLimit:FZ,rejectSeries:MZ,retry:Bx,retryable:GZ,seq:eb,series:HZ,setImmediate:u,some:xx,someLimit:vx,someSeries:Nx,sortBy:VZ,timeout:zZ,times:$Z,timesLimit:_x,timesSeries:jZ,transform:WZ,tryEach:JZ,unmemoize:YZ,until:KZ,waterfall:XZ,whilst:ib,all:hx,allLimit:px,allSeries:Ax,any:xx,anyLimit:vx,anySeries:Nx,find:fm,findLimit:ux,findSeries:dx,flatMap:X,flatMapLimit:U,flatMapSeries:St,forEach:fx,forEachSeries:nb,forEachLimit:rb,forEachOf:bt,forEachOfSeries:Jr,forEachOfLimit:z,inject:Fa,foldl:Fa,foldr:Ix,select:gx,selectLimit:yx,selectSeries:Ex,wrapSync:d,during:ib,doDuring:tb};t.all=hx,t.allLimit=px,t.allSeries=Ax,t.any=xx,t.anyLimit=vx,t.anySeries=Nx,t.apply=e,t.applyEach=oi,t.applyEachSeries=vc,t.asyncify=d,t.auto=Pd,t.autoInject=lm,t.cargo=dm,t.cargoQueue=$s,t.compose=be,t.concat=X,t.concatLimit=U,t.concatSeries=St,t.constant=pn,t.default=Eqe,t.detect=fm,t.detectLimit=ux,t.detectSeries=dx,t.dir=CZ,t.doDuring=tb,t.doUntil=bZ,t.doWhilst=tb,t.during=ib,t.each=fx,t.eachLimit=rb,t.eachOf=bt,t.eachOfLimit=z,t.eachOfSeries=Jr,t.eachSeries=nb,t.ensureAsync=IL,t.every=hx,t.everyLimit=px,t.everySeries=Ax,t.filter=gx,t.filterLimit=yx,t.filterSeries=Ex,t.find=fm,t.findLimit=ux,t.findSeries=dx,t.flatMap=X,t.flatMapLimit=U,t.flatMapSeries=St,t.foldl=Fa,t.foldr=Ix,t.forEach=fx,t.forEachLimit=rb,t.forEachOf=bt,t.forEachOfLimit=z,t.forEachOfSeries=Jr,t.forEachSeries=nb,t.forever=IZ,t.groupBy=SZ,t.groupByLimit=Cx,t.groupBySeries=BZ,t.inject=Fa,t.log=xZ,t.map=hn,t.mapLimit=x,t.mapSeries=pu,t.mapValues=vZ,t.mapValuesLimit=bx,t.mapValuesSeries=NZ,t.memoize=_Z,t.nextTick=TZ,t.parallel=RZ,t.parallelLimit=DZ,t.priorityQueue=kZ,t.queue=BL,t.race=PZ,t.reduce=Fa,t.reduceRight=Ix,t.reflect=Sx,t.reflectAll=OZ,t.reject=LZ,t.rejectLimit=FZ,t.rejectSeries=MZ,t.retry=Bx,t.retryable=GZ,t.select=gx,t.selectLimit=yx,t.selectSeries=Ex,t.seq=eb,t.series=HZ,t.setImmediate=u,t.some=xx,t.someLimit=vx,t.someSeries=Nx,t.sortBy=VZ,t.timeout=zZ,t.times=$Z,t.timesLimit=_x,t.timesSeries=jZ,t.transform=WZ,t.tryEach=JZ,t.unmemoize=YZ,t.until=KZ,t.waterfall=XZ,t.whilst=ib,t.wrapSync=d,Object.defineProperty(t,"__esModule",{value:!0})}))});var wxe=A((B_r,bxe)=>{var Mf=require("constants"),swt=process.cwd,ZQ=null,owt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ZQ||(ZQ=swt.call(process)),ZQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(xW=process.chdir,process.chdir=function(t){ZQ=null,xW.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,xW));var xW;bxe.exports=awt;function awt(t){Mf.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=s(t.chown),t.fchown=s(t.fchown),t.lchown=s(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=a(t.chownSync),t.fchownSync=a(t.fchownSync),t.lchownSync=a(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=c(t.stat),t.fstat=c(t.fstat),t.lstat=c(t.lstat),t.statSync=l(t.statSync),t.fstatSync=l(t.fstatSync),t.lstatSync=l(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(d,f,h){h&&process.nextTick(h)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(d,f,h,p){p&&process.nextTick(p)},t.lchownSync=function(){}),owt==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(d){function f(h,p,m){var g=Date.now(),E=0;d(h,p,o(function y(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-g<6e4){setTimeout(function(){t.stat(p,function(w,B){w&&w.code==="ENOENT"?d(h,p,y):m(C)})},E),E<100&&(E+=10);return}m&&m(C)},"CB"))}return o(f,"rename"),Object.setPrototypeOf&&Object.setPrototypeOf(f,d),f})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(d){function f(h,p,m,g,E,y){var C;if(y&&typeof y=="function"){var w=0;C=o(function(B,Q,q){if(B&&B.code==="EAGAIN"&&w<10)return w++,d.call(t,h,p,m,g,E,C);y.apply(this,arguments)},"callback")}return d.call(t,h,p,m,g,E,C)}return o(f,"read"),Object.setPrototypeOf&&Object.setPrototypeOf(f,d),f})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(d){return function(f,h,p,m,g){for(var E=0;;)try{return d.call(t,f,h,p,m,g)}catch(y){if(y.code==="EAGAIN"&&E<10){E++;continue}throw y}}})(t.readSync);function e(d){d.lchmod=function(f,h,p){d.open(f,Mf.O_WRONLY|Mf.O_SYMLINK,h,function(m,g){if(m){p&&p(m);return}d.fchmod(g,h,function(E){d.close(g,function(y){p&&p(E||y)})})})},d.lchmodSync=function(f,h){var p=d.openSync(f,Mf.O_WRONLY|Mf.O_SYMLINK,h),m=!0,g;try{g=d.fchmodSync(p,h),m=!1}finally{if(m)try{d.closeSync(p)}catch{}else d.closeSync(p)}return g}}o(e,"patchLchmod");function r(d){Mf.hasOwnProperty("O_SYMLINK")&&d.futimes?(d.lutimes=function(f,h,p,m){d.open(f,Mf.O_SYMLINK,function(g,E){if(g){m&&m(g);return}d.futimes(E,h,p,function(y){d.close(E,function(C){m&&m(y||C)})})})},d.lutimesSync=function(f,h,p){var m=d.openSync(f,Mf.O_SYMLINK),g,E=!0;try{g=d.futimesSync(m,h,p),E=!1}finally{if(E)try{d.closeSync(m)}catch{}else d.closeSync(m)}return g}):d.futimes&&(d.lutimes=function(f,h,p,m){m&&process.nextTick(m)},d.lutimesSync=function(){})}o(r,"patchLutimes");function n(d){return d&&function(f,h,p){return d.call(t,f,h,function(m){u(m)&&(m=null),p&&p.apply(this,arguments)})}}o(n,"chmodFix");function i(d){return d&&function(f,h){try{return d.call(t,f,h)}catch(p){if(!u(p))throw p}}}o(i,"chmodFixSync");function s(d){return d&&function(f,h,p,m){return d.call(t,f,h,p,function(g){u(g)&&(g=null),m&&m.apply(this,arguments)})}}o(s,"chownFix");function a(d){return d&&function(f,h,p){try{return d.call(t,f,h,p)}catch(m){if(!u(m))throw m}}}o(a,"chownFixSync");function c(d){return d&&function(f,h,p){typeof h=="function"&&(p=h,h=null);function m(g,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),p&&p.apply(this,arguments)}return o(m,"callback"),h?d.call(t,f,h,m):d.call(t,f,m)}}o(c,"statFix");function l(d){return d&&function(f,h){var p=h?d.call(t,f,h):d.call(t,f);return p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),p}}o(l,"statFixSync");function u(d){if(!d||d.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(d.code==="EINVAL"||d.code==="EPERM"))}o(u,"chownErOk")}o(awt,"patch")});var Bxe=A((v_r,Sxe)=>{var Ixe=require("stream").Stream;Sxe.exports=cwt;function cwt(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);Ixe.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var a=Object.keys(i),c=0,l=a.length;c<l;c++){var u=a[c];this[u]=i[u]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}t.open(this.path,this.flags,this.mode,function(d,f){if(d){s.emit("error",d),s.readable=!1;return}s.fd=f,s.emit("open",f),s._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);Ixe.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),a=0,c=s.length;a<c;a++){var l=s[a];this[l]=i[l]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}o(cwt,"legacy")});var vxe=A((__r,xxe)=>{"use strict";xxe.exports=uwt;var lwt=Object.getPrototypeOf||function(t){return t.__proto__};function uwt(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:lwt(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(uwt,"clone")});var TW=A((R_r,_W)=>{var _r=require("fs"),dwt=wxe(),fwt=Bxe(),hwt=vxe(),e1=require("util"),yi,r1;typeof Symbol=="function"&&typeof Symbol.for=="function"?(yi=Symbol.for("graceful-fs.queue"),r1=Symbol.for("graceful-fs.previous")):(yi="___graceful-fs.queue",r1="___graceful-fs.previous");function pwt(){}o(pwt,"noop");function Txe(t,e){Object.defineProperty(t,yi,{get:o(function(){return e},"get")})}o(Txe,"publishQueue");var dA=pwt;e1.debuglog?dA=e1.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(dA=o(function(){var t=e1.format.apply(e1,arguments);t="GFS4: "+t.split(/\n/).join(`
GFS4: `),console.error(t)},"debug"));_r[yi]||(Nxe=global[yi]||[],Txe(_r,Nxe),_r.close=(function(t){function e(r,n){return t.call(_r,r,function(i){i||_xe(),typeof n=="function"&&n.apply(this,arguments)})}return o(e,"close"),Object.defineProperty(e,r1,{value:t}),e})(_r.close),_r.closeSync=(function(t){function e(r){t.apply(_r,arguments),_xe()}return o(e,"closeSync"),Object.defineProperty(e,r1,{value:t}),e})(_r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){dA(_r[yi]),require("assert").equal(_r[yi].length,0)}));var Nxe;global[yi]||Txe(global,_r[yi]);_W.exports=vW(hwt(_r));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!_r.__patched&&(_W.exports=vW(_r),_r.__patched=!0);function vW(t){dwt(t),t.gracefulify=vW,t.createReadStream=Q,t.createWriteStream=q;var e=t.readFile;t.readFile=r;function r(R,H,V){return typeof H=="function"&&(V=H,H=null),J(R,H,V);function J(ee,ae,Ae,Y){return e(ee,ae,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?hE([J,[ee,ae,Ae],z,Y||Date.now(),Date.now()]):typeof Ae=="function"&&Ae.apply(this,arguments)})}o(J,"go$readFile")}o(r,"readFile");var n=t.writeFile;t.writeFile=i;function i(R,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(R,H,V,J);function ee(ae,Ae,Y,z,Ie){return n(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?hE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$writeFile")}o(i,"writeFile");var s=t.appendFile;s&&(t.appendFile=a);function a(R,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(R,H,V,J);function ee(ae,Ae,Y,z,Ie){return s(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?hE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$appendFile")}o(a,"appendFile");var c=t.copyFile;c&&(t.copyFile=l);function l(R,H,V,J){return typeof V=="function"&&(J=V,V=0),ee(R,H,V,J);function ee(ae,Ae,Y,z,Ie){return c(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?hE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$copyFile")}o(l,"copyFile");var u=t.readdir;t.readdir=f;var d=/^v[0-5]\./;function f(R,H,V){typeof H=="function"&&(V=H,H=null);var J=d.test(process.version)?o(function(Ae,Y,z,Ie){return u(Ae,ee(Ae,Y,z,Ie))},"go$readdir"):o(function(Ae,Y,z,Ie){return u(Ae,Y,ee(Ae,Y,z,Ie))},"go$readdir");return J(R,H,V);function ee(ae,Ae,Y,z){return function(Ie,Be){Ie&&(Ie.code==="EMFILE"||Ie.code==="ENFILE")?hE([J,[ae,Ae,Y],Ie,z||Date.now(),Date.now()]):(Be&&Be.sort&&Be.sort(),typeof Y=="function"&&Y.call(this,Ie,Be))}}}if(o(f,"readdir"),process.version.substr(0,4)==="v0.8"){var h=fwt(t);y=h.ReadStream,w=h.WriteStream}var p=t.ReadStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=C);var m=t.WriteStream;m&&(w.prototype=Object.create(m.prototype),w.prototype.open=B),Object.defineProperty(t,"ReadStream",{get:o(function(){return y},"get"),set:o(function(R){y=R},"set"),enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:o(function(){return w},"get"),set:o(function(R){w=R},"set"),enumerable:!0,configurable:!0});var g=y;Object.defineProperty(t,"FileReadStream",{get:o(function(){return g},"get"),set:o(function(R){g=R},"set"),enumerable:!0,configurable:!0});var E=w;Object.defineProperty(t,"FileWriteStream",{get:o(function(){return E},"get"),set:o(function(R){E=R},"set"),enumerable:!0,configurable:!0});function y(R,H){return this instanceof y?(p.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}o(y,"ReadStream");function C(){var R=this;$(R.path,R.flags,R.mode,function(H,V){H?(R.autoClose&&R.destroy(),R.emit("error",H)):(R.fd=V,R.emit("open",V),R.read())})}o(C,"ReadStream$open");function w(R,H){return this instanceof w?(m.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}o(w,"WriteStream");function B(){var R=this;$(R.path,R.flags,R.mode,function(H,V){H?(R.destroy(),R.emit("error",H)):(R.fd=V,R.emit("open",V))})}o(B,"WriteStream$open");function Q(R,H){return new t.ReadStream(R,H)}o(Q,"createReadStream");function q(R,H){return new t.WriteStream(R,H)}o(q,"createWriteStream");var v=t.open;t.open=$;function $(R,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(R,H,V,J);function ee(ae,Ae,Y,z,Ie){return v(ae,Ae,Y,function(Be,st){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?hE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$open")}return o($,"open"),t}o(vW,"patch");function hE(t){dA("ENQUEUE",t[0].name,t[1]),_r[yi].push(t),NW()}o(hE,"enqueue");var t1;function _xe(){for(var t=Date.now(),e=0;e<_r[yi].length;++e)_r[yi][e].length>2&&(_r[yi][e][3]=t,_r[yi][e][4]=t);NW()}o(_xe,"resetQueue");function NW(){if(clearTimeout(t1),t1=void 0,_r[yi].length!==0){var t=_r[yi].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)dA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){dA("TIMEOUT",e.name,r);var a=r.pop();typeof a=="function"&&a.call(null,n)}else{var c=Date.now()-s,l=Math.max(s-i,1),u=Math.min(l*1.2,100);c>=u?(dA("RETRY",e.name,r),e.apply(null,r.concat([i]))):_r[yi].push(t)}t1===void 0&&(t1=setTimeout(NW,0))}}o(NW,"retry")});var n1=A((Q_r,Rxe)=>{"use strict";var ql=o(t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function","isStream");ql.writable=t=>ql(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";ql.readable=t=>ql(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";ql.duplex=t=>ql.writable(t)&&ql.readable(t);ql.transform=t=>ql.duplex(t)&&typeof t._transform=="function";Rxe.exports=ql});var nS=A((P_r,RW)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?RW.exports={nextTick:Awt}:RW.exports=process;function Awt(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,a;switch(i){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(o(function(){t.call(null,e)},"afterTickOne"));case 3:return process.nextTick(o(function(){t.call(null,e,r)},"afterTickTwo"));case 4:return process.nextTick(o(function(){t.call(null,e,r,n)},"afterTickThree"));default:for(s=new Array(i-1),a=0;a<s.length;)s[a++]=arguments[a];return process.nextTick(o(function(){t.apply(null,s)},"afterTick"))}}o(Awt,"nextTick")});var Qxe=A((L_r,Dxe)=>{var mwt={}.toString;Dxe.exports=Array.isArray||function(t){return mwt.call(t)=="[object Array]"}});var DW=A((F_r,kxe)=>{kxe.exports=require("stream")});var iS=A((QW,Oxe)=>{var i1=require("buffer"),dd=i1.Buffer;function Pxe(t,e){for(var r in t)e[r]=t[r]}o(Pxe,"copyProps");dd.from&&dd.alloc&&dd.allocUnsafe&&dd.allocUnsafeSlow?Oxe.exports=i1:(Pxe(i1,QW),QW.Buffer=pE);function pE(t,e,r){return dd(t,e,r)}o(pE,"SafeBuffer");Pxe(dd,pE);pE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return dd(t,e,r)};pE.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=dd(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};pE.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return dd(t)};pE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return i1.SlowBuffer(t)}});var AE=A(Ri=>{function gwt(t){return Array.isArray?Array.isArray(t):s1(t)==="[object Array]"}o(gwt,"isArray");Ri.isArray=gwt;function ywt(t){return typeof t=="boolean"}o(ywt,"isBoolean");Ri.isBoolean=ywt;function Ewt(t){return t===null}o(Ewt,"isNull");Ri.isNull=Ewt;function Cwt(t){return t==null}o(Cwt,"isNullOrUndefined");Ri.isNullOrUndefined=Cwt;function bwt(t){return typeof t=="number"}o(bwt,"isNumber");Ri.isNumber=bwt;function wwt(t){return typeof t=="string"}o(wwt,"isString");Ri.isString=wwt;function Iwt(t){return typeof t=="symbol"}o(Iwt,"isSymbol");Ri.isSymbol=Iwt;function Swt(t){return t===void 0}o(Swt,"isUndefined");Ri.isUndefined=Swt;function Bwt(t){return s1(t)==="[object RegExp]"}o(Bwt,"isRegExp");Ri.isRegExp=Bwt;function xwt(t){return typeof t=="object"&&t!==null}o(xwt,"isObject");Ri.isObject=xwt;function vwt(t){return s1(t)==="[object Date]"}o(vwt,"isDate");Ri.isDate=vwt;function Nwt(t){return s1(t)==="[object Error]"||t instanceof Error}o(Nwt,"isError");Ri.isError=Nwt;function _wt(t){return typeof t=="function"}o(_wt,"isFunction");Ri.isFunction=_wt;function Twt(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(Twt,"isPrimitive");Ri.isPrimitive=Twt;Ri.isBuffer=require("buffer").Buffer.isBuffer;function s1(t){return Object.prototype.toString.call(t)}o(s1,"objectToString")});var Lxe=A((G_r,kW)=>{typeof Object.create=="function"?kW.exports=o(function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):kW.exports=o(function(e,r){if(r){e.super_=r;var n=o(function(){},"TempCtor");n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}},"inherits")});var mE=A((V_r,OW)=>{try{if(PW=require("util"),typeof PW.inherits!="function")throw"";OW.exports=PW.inherits}catch{OW.exports=Lxe()}var PW});var Mxe=A((z_r,LW)=>{"use strict";function Rwt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(Rwt,"_classCallCheck");var Fxe=iS().Buffer,sS=require("util");function Dwt(t,e,r){t.copy(e,r)}o(Dwt,"copyBuffer");LW.exports=(function(){function t(){Rwt(this,t),this.head=null,this.tail=null,this.length=0}return o(t,"BufferList"),t.prototype.push=o(function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},"push"),t.prototype.unshift=o(function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},"unshift"),t.prototype.shift=o(function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},"shift"),t.prototype.clear=o(function(){this.head=this.tail=null,this.length=0},"clear"),t.prototype.join=o(function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},"join"),t.prototype.concat=o(function(r){if(this.length===0)return Fxe.alloc(0);for(var n=Fxe.allocUnsafe(r>>>0),i=this.head,s=0;i;)Dwt(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();sS&&sS.inspect&&sS.inspect.custom&&(LW.exports.prototype[sS.inspect.custom]=function(){var t=sS.inspect({length:this.length});return this.constructor.name+" "+t})});var FW=A((j_r,Uxe)=>{"use strict";var o1=nS();function Qwt(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o1.nextTick(a1,this,t)):o1.nextTick(a1,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,o1.nextTick(a1,r,s)):o1.nextTick(a1,r,s):e&&e(s)}),this)}o(Qwt,"destroy");function kwt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}o(kwt,"undestroy");function a1(t,e){t.emit("error",e)}o(a1,"emitErrorNT");Uxe.exports={destroy:Qwt,undestroy:kwt}});var Gxe=A((J_r,qxe)=>{qxe.exports=require("util").deprecate});var UW=A((Y_r,Yxe)=>{"use strict";var fA=nS();Yxe.exports=wn;function Vxe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Xwt(e,t)}}o(Vxe,"CorkedRequest");var Pwt=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:fA.nextTick,gE;wn.WritableState=aS;var zxe=Object.create(AE());zxe.inherits=mE();var Owt={deprecate:Gxe()},$xe=DW(),l1=iS().Buffer,Lwt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Fwt(t){return l1.from(t)}o(Fwt,"_uint8ArrayToBuffer");function Mwt(t){return l1.isBuffer(t)||t instanceof Lwt}o(Mwt,"_isUint8Array");var jxe=FW();zxe.inherits(wn,$xe);function Uwt(){}o(Uwt,"nop");function aS(t,e){gE=gE||hA(),t=t||{};var r=e instanceof gE;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=t.writableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(c){jwt(e,c)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Vxe(this)}o(aS,"WritableState");aS.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(aS.prototype,"buffer",{get:Owt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var c1;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(c1=Function.prototype[Symbol.hasInstance],Object.defineProperty(wn,Symbol.hasInstance,{value:o(function(t){return c1.call(this,t)?!0:this!==wn?!1:t&&t._writableState instanceof aS},"value")})):c1=o(function(t){return t instanceof this},"realHasInstance");function wn(t){if(gE=gE||hA(),!c1.call(wn,this)&&!(this instanceof gE))return new wn(t);this._writableState=new aS(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),$xe.call(this)}o(wn,"Writable");wn.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function qwt(t,e){var r=new Error("write after end");t.emit("error",r),fA.nextTick(e,r)}o(qwt,"writeAfterEnd");function Gwt(t,e,r,n){var i=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!e.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),fA.nextTick(n,s),i=!1),i}o(Gwt,"validChunk");wn.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&Mwt(t);return s&&!l1.isBuffer(t)&&(t=Fwt(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=Uwt),n.ended?qwt(this,r):(s||Gwt(this,n,t,r))&&(n.pendingcb++,i=Vwt(this,n,s,t,e,r)),i};wn.prototype.cork=function(){var t=this._writableState;t.corked++};wn.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Wxe(this,t))};wn.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function Hwt(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=l1.from(e,r)),e}o(Hwt,"decodeChunk");Object.defineProperty(wn.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function Vwt(t,e,r,n,i,s){if(!r){var a=Hwt(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var c=e.objectMode?1:n.length;e.length+=c;var l=e.length<e.highWaterMark;if(l||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else MW(t,e,!1,c,n,i,s);return l}o(Vwt,"writeOrBuffer");function MW(t,e,r,n,i,s,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}o(MW,"doWrite");function zwt(t,e,r,n,i){--e.pendingcb,r?(fA.nextTick(i,n),fA.nextTick(oS,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),oS(t,e))}o(zwt,"onwriteError");function $wt(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}o($wt,"onwriteStateUpdate");function jwt(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if($wt(r),e)zwt(t,r,n,e,i);else{var s=Jxe(r);!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Wxe(t,r),n?Pwt(Hxe,t,r,s,i):Hxe(t,r,s,i)}}o(jwt,"onwrite");function Hxe(t,e,r,n){r||Wwt(t,e),e.pendingcb--,n(),oS(t,e)}o(Hxe,"afterWrite");function Wwt(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}o(Wwt,"onwriteDrain");function Wxe(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,c=!0;r;)i[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;i.allBuffers=c,MW(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new Vxe(e),e.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback,f=e.objectMode?1:l.length;if(MW(t,e,!1,f,l,u,d),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}o(Wxe,"clearBuffer");wn.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))};wn.prototype._writev=null;wn.prototype.end=function(t,e,r){var n=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||Kwt(this,n,r)};function Jxe(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}o(Jxe,"needFinish");function Jwt(t,e){t._final(function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),oS(t,e)})}o(Jwt,"callFinal");function Ywt(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"?(e.pendingcb++,e.finalCalled=!0,fA.nextTick(Jwt,t,e)):(e.prefinished=!0,t.emit("prefinish")))}o(Ywt,"prefinish");function oS(t,e){var r=Jxe(e);return r&&(Ywt(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"))),r}o(oS,"finishMaybe");function Kwt(t,e,r){e.ending=!0,oS(t,e),r&&(e.finished?fA.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}o(Kwt,"endWritable");function Xwt(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}o(Xwt,"onCorkedFinish");Object.defineProperty(wn.prototype,"destroyed",{get:o(function(){return this._writableState===void 0?!1:this._writableState.destroyed},"get"),set:o(function(t){this._writableState&&(this._writableState.destroyed=t)},"set")});wn.prototype.destroy=jxe.destroy;wn.prototype._undestroy=jxe.undestroy;wn.prototype._destroy=function(t,e){this.end(),e(t)}});var hA=A((X_r,eve)=>{"use strict";var Kxe=nS(),Zwt=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};eve.exports=fd;var Xxe=Object.create(AE());Xxe.inherits=mE();var Zxe=HW(),GW=UW();Xxe.inherits(fd,Zxe);for(qW=Zwt(GW.prototype),u1=0;u1<qW.length;u1++)d1=qW[u1],fd.prototype[d1]||(fd.prototype[d1]=GW.prototype[d1]);var qW,d1,u1;function fd(t){if(!(this instanceof fd))return new fd(t);Zxe.call(this,t),GW.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",eIt)}o(fd,"Duplex");Object.defineProperty(fd.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function eIt(){this.allowHalfOpen||this._writableState.ended||Kxe.nextTick(tIt,this)}o(eIt,"onend");function tIt(t){t.end()}o(tIt,"onEndNT");Object.defineProperty(fd.prototype,"destroyed",{get:o(function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},"get"),set:o(function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)},"set")});fd.prototype._destroy=function(t,e){this.push(null),this.end(),Kxe.nextTick(e,t)}});var $W=A(rve=>{"use strict";var zW=iS().Buffer,tve=zW.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function rIt(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}o(rIt,"_normalizeEncoding");function nIt(t){var e=rIt(t);if(typeof e!="string"&&(zW.isEncoding===tve||!tve(t)))throw new Error("Unknown encoding: "+t);return e||t}o(nIt,"normalizeEncoding");rve.StringDecoder=cS;function cS(t){this.encoding=nIt(t);var e;switch(this.encoding){case"utf16le":this.text=lIt,this.end=uIt,e=4;break;case"utf8":this.fillLast=oIt,e=4;break;case"base64":this.text=dIt,this.end=fIt,e=3;break;default:this.write=hIt,this.end=pIt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=zW.allocUnsafe(e)}o(cS,"StringDecoder");cS.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};cS.prototype.end=cIt;cS.prototype.text=aIt;cS.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function VW(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}o(VW,"utf8CheckByte");function iIt(t,e,r){var n=e.length-1;if(n<r)return 0;var i=VW(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||i===-2?0:(i=VW(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||i===-2?0:(i=VW(e[n]),i>=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}o(iIt,"utf8CheckIncomplete");function sIt(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}o(sIt,"utf8CheckExtraBytes");function oIt(t){var e=this.lastTotal-this.lastNeed,r=sIt(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}o(oIt,"utf8FillLast");function aIt(t,e){var r=iIt(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}o(aIt,"utf8Text");function cIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o(cIt,"utf8End");function lIt(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}o(lIt,"utf16Text");function uIt(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}o(uIt,"utf16End");function dIt(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}o(dIt,"base64Text");function fIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(fIt,"base64End");function hIt(t){return t.toString(this.encoding)}o(hIt,"simpleWrite");function pIt(t){return t&&t.length?this.write(t):""}o(pIt,"simpleEnd")});var HW=A((nTr,pve)=>{"use strict";var EE=nS();pve.exports=lr;var AIt=Qxe(),lS;lr.ReadableState=lve;var rTr=require("events").EventEmitter,ove=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),KW=DW(),uS=iS().Buffer,mIt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function gIt(t){return uS.from(t)}o(gIt,"_uint8ArrayToBuffer");function yIt(t){return uS.isBuffer(t)||t instanceof mIt}o(yIt,"_isUint8Array");var ave=Object.create(AE());ave.inherits=mE();var jW=require("util"),Mt=void 0;jW&&jW.debuglog?Mt=jW.debuglog("stream"):Mt=o(function(){},"debug");var EIt=Mxe(),cve=FW(),yE;ave.inherits(lr,KW);var WW=["error","close","destroy","pause","resume"];function CIt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):AIt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(CIt,"prependListener");function lve(t,e){lS=lS||hA(),t=t||{};var r=e instanceof lS;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=t.readableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new EIt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(yE||(yE=$W().StringDecoder),this.decoder=new yE(t.encoding),this.encoding=t.encoding)}o(lve,"ReadableState");function lr(t){if(lS=lS||hA(),!(this instanceof lr))return new lr(t);this._readableState=new lve(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),KW.call(this)}o(lr,"Readable");Object.defineProperty(lr.prototype,"destroyed",{get:o(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:o(function(t){this._readableState&&(this._readableState.destroyed=t)},"set")});lr.prototype.destroy=cve.destroy;lr.prototype._undestroy=cve.undestroy;lr.prototype._destroy=function(t,e){this.push(null),e(t)};lr.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=uS.from(t,e),e=""),n=!0),uve(this,t,e,!1,n)};lr.prototype.unshift=function(t){return uve(this,t,null,!0,!1)};function uve(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,SIt(t,s);else{var a;i||(a=bIt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==uS.prototype&&(e=gIt(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):JW(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?JW(t,s,e,!1):dve(t,s)):JW(t,s,e,!1))):n||(s.reading=!1)}return wIt(s)}o(uve,"readableAddChunk");function JW(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&f1(t)),dve(t,e)}o(JW,"addChunk");function bIt(t,e){var r;return!yIt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(bIt,"chunkInvalid");function wIt(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||t.length===0)}o(wIt,"needMoreData");lr.prototype.isPaused=function(){return this._readableState.flowing===!1};lr.prototype.setEncoding=function(t){return yE||(yE=$W().StringDecoder),this._readableState.decoder=new yE(t),this._readableState.encoding=t,this};var nve=8388608;function IIt(t){return t>=nve?t=nve:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}o(IIt,"computeNewHighWaterMark");function ive(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=IIt(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}o(ive,"howMuchToRead");lr.prototype.read=function(t){Mt("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Mt("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?YW(this):f1(this),null;if(t=ive(t,e),t===0&&e.ended)return e.length===0&&YW(this),null;var n=e.needReadable;Mt("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,Mt("length less than watermark",n)),e.ended||e.reading?(n=!1,Mt("reading or ended",n)):n&&(Mt("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=ive(r,e)));var i;return t>0?i=fve(t,e):i=null,i===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&YW(this)),i!==null&&this.emit("data",i),i};function SIt(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,f1(t)}}o(SIt,"onEofChunk");function f1(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Mt("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?EE.nextTick(sve,t):sve(t))}o(f1,"emitReadable");function sve(t){Mt("emit readable"),t.emit("readable"),XW(t)}o(sve,"emitReadable_");function dve(t,e){e.readingMore||(e.readingMore=!0,EE.nextTick(BIt,t,e))}o(dve,"maybeReadMore");function BIt(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(Mt("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}o(BIt,"maybeReadMore_");lr.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))};lr.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,Mt("pipe count=%d opts=%j",n.pipesCount,e);var i=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,s=i?c:E;n.endEmitted?EE.nextTick(s):r.once("end",s),t.on("unpipe",a);function a(y,C){Mt("onunpipe"),y===r&&C&&C.hasUnpiped===!1&&(C.hasUnpiped=!0,d())}o(a,"onunpipe");function c(){Mt("onend"),t.end()}o(c,"onend");var l=xIt(r);t.on("drain",l);var u=!1;function d(){Mt("cleanup"),t.removeListener("close",m),t.removeListener("finish",g),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",E),r.removeListener("data",h),u=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&l()}o(d,"cleanup");var f=!1;r.on("data",h);function h(y){Mt("ondata"),f=!1;var C=t.write(y);C===!1&&!f&&((n.pipesCount===1&&n.pipes===t||n.pipesCount>1&&hve(n.pipes,t)!==-1)&&!u&&(Mt("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}o(h,"ondata");function p(y){Mt("onerror",y),E(),t.removeListener("error",p),ove(t,"error")===0&&t.emit("error",y)}o(p,"onerror"),CIt(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){Mt("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){Mt("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),n.flowing||(Mt("pipe resume"),r.resume()),t};function xIt(t){return function(){var e=t._readableState;Mt("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&ove(t,"data")&&(e.flowing=!0,XW(t))}}o(xIt,"pipeOnDrain");lr.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var a=hve(e.pipes,t);return a===-1?this:(e.pipes.splice(a,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};lr.prototype.on=function(t,e){var r=KW.prototype.on.call(this,t,e);if(t==="data")this._readableState.flowing!==!1&&this.resume();else if(t==="readable"){var n=this._readableState;!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&f1(this):EE.nextTick(vIt,this))}return r};lr.prototype.addListener=lr.prototype.on;function vIt(t){Mt("readable nexttick read 0"),t.read(0)}o(vIt,"nReadingNextTick");lr.prototype.resume=function(){var t=this._readableState;return t.flowing||(Mt("resume"),t.flowing=!0,NIt(this,t)),this};function NIt(t,e){e.resumeScheduled||(e.resumeScheduled=!0,EE.nextTick(_It,t,e))}o(NIt,"resume");function _It(t,e){e.reading||(Mt("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),XW(t),e.flowing&&!e.reading&&t.read(0)}o(_It,"resume_");lr.prototype.pause=function(){return Mt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Mt("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function XW(t){var e=t._readableState;for(Mt("flow",e.flowing);e.flowing&&t.read()!==null;);}o(XW,"flow");lr.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;t.on("end",function(){if(Mt("wrapped end"),r.decoder&&!r.ended){var a=r.decoder.end();a&&a.length&&e.push(a)}e.push(null)}),t.on("data",function(a){if(Mt("wrapped data"),r.decoder&&(a=r.decoder.write(a)),!(r.objectMode&&a==null)&&!(!r.objectMode&&(!a||!a.length))){var c=e.push(a);c||(n=!0,t.pause())}});for(var i in t)this[i]===void 0&&typeof t[i]=="function"&&(this[i]=(function(a){return function(){return t[a].apply(t,arguments)}})(i));for(var s=0;s<WW.length;s++)t.on(WW[s],this.emit.bind(this,WW[s]));return this._read=function(a){Mt("wrapped _read",a),n&&(n=!1,t.resume())},this};Object.defineProperty(lr.prototype,"readableHighWaterMark",{enumerable:!1,get:o(function(){return this._readableState.highWaterMark},"get")});lr._fromList=fve;function fve(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.head.data:r=e.buffer.concat(e.length),e.buffer.clear()):r=TIt(t,e.buffer,e.decoder),r}o(fve,"fromList");function TIt(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):t===e.head.data.length?n=e.shift():n=r?RIt(t,e):DIt(t,e),n}o(TIt,"fromListPartial");function RIt(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var s=r.data,a=t>s.length?s.length:t;if(a===s.length?i+=s:i+=s.slice(0,t),t-=a,t===0){a===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(a));break}++n}return e.length-=n,i}o(RIt,"copyFromBufferString");function DIt(t,e){var r=uS.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var s=n.data,a=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,a),t-=a,t===0){a===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(a));break}++i}return e.length-=i,r}o(DIt,"copyFromBuffer");function YW(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,EE.nextTick(QIt,e,t))}o(YW,"endReadable");function QIt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(QIt,"endReadableNT");function hve(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(hve,"indexOf")});var ZW=A((sTr,gve)=>{"use strict";gve.exports=hd;var h1=hA(),mve=Object.create(AE());mve.inherits=mE();mve.inherits(hd,h1);function kIt(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}o(kIt,"afterTransform");function hd(t){if(!(this instanceof hd))return new hd(t);h1.call(this,t),this._transformState={afterTransform:kIt.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",PIt)}o(hd,"Transform");function PIt(){var t=this;typeof this._flush=="function"?this._flush(function(e,r){Ave(t,e,r)}):Ave(this,null,null)}o(PIt,"prefinish");hd.prototype.push=function(t,e){return this._transformState.needTransform=!1,h1.prototype.push.call(this,t,e)};hd.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")};hd.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};hd.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};hd.prototype._destroy=function(t,e){var r=this;h1.prototype._destroy.call(this,t,function(n){e(n),r.emit("close")})};function Ave(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}o(Ave,"done")});var bve=A((aTr,Cve)=>{"use strict";Cve.exports=dS;var yve=ZW(),Eve=Object.create(AE());Eve.inherits=mE();Eve.inherits(dS,yve);function dS(t){if(!(this instanceof dS))return new dS(t);yve.call(this,t)}o(dS,"PassThrough");dS.prototype._transform=function(t,e,r){r(null,t)}});var wve=A((Ei,p1)=>{var Gl=require("stream");process.env.READABLE_STREAM==="disable"&&Gl?(p1.exports=Gl,Ei=p1.exports=Gl.Readable,Ei.Readable=Gl.Readable,Ei.Writable=Gl.Writable,Ei.Duplex=Gl.Duplex,Ei.Transform=Gl.Transform,Ei.PassThrough=Gl.PassThrough,Ei.Stream=Gl):(Ei=p1.exports=HW(),Ei.Stream=Gl||Ei,Ei.Readable=Ei,Ei.Writable=UW(),Ei.Duplex=hA(),Ei.Transform=ZW(),Ei.PassThrough=bve())});var Sve=A((lTr,Ive)=>{Ive.exports=wve().PassThrough});var Nve=A((uTr,vve)=>{var Bve=require("util"),g1=Sve();vve.exports={Readable:A1,Writable:m1};Bve.inherits(A1,g1);Bve.inherits(m1,g1);function xve(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}o(xve,"beforeFirstCall");function A1(t,e){if(!(this instanceof A1))return new A1(t,e);g1.call(this,e),xve(this,"_read",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),r.pipe(this)}),this.emit("readable")}o(A1,"Readable");function m1(t,e){if(!(this instanceof m1))return new m1(t,e);g1.call(this,e),xve(this,"_write",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),this.pipe(r)}),this.emit("writable")}o(m1,"Writable")});var eJ=A((fTr,_ve)=>{_ve.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var tJ=A((hTr,Tve)=>{function OIt(t){return t}o(OIt,"identity");Tve.exports=OIt});var Dve=A((ATr,Rve)=>{function LIt(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}o(LIt,"apply");Rve.exports=LIt});var Pve=A((gTr,kve)=>{var FIt=Dve(),Qve=Math.max;function MIt(t,e,r){return e=Qve(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=Qve(n.length-e,0),a=Array(s);++i<s;)a[i]=n[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=n[i];return c[e]=r(a),FIt(t,this,c)}}o(MIt,"overRest");kve.exports=MIt});var Lve=A((ETr,Ove)=>{function UIt(t){return function(){return t}}o(UIt,"constant");Ove.exports=UIt});var rJ=A((bTr,Fve)=>{var qIt=typeof global=="object"&&global&&global.Object===Object&&global;Fve.exports=qIt});var CE=A((wTr,Mve)=>{var GIt=rJ(),HIt=typeof self=="object"&&self&&self.Object===Object&&self,VIt=GIt||HIt||Function("return this")();Mve.exports=VIt});var y1=A((ITr,Uve)=>{var zIt=CE(),$It=zIt.Symbol;Uve.exports=$It});var Vve=A((STr,Hve)=>{var qve=y1(),Gve=Object.prototype,jIt=Gve.hasOwnProperty,WIt=Gve.toString,fS=qve?qve.toStringTag:void 0;function JIt(t){var e=jIt.call(t,fS),r=t[fS];try{t[fS]=void 0;var n=!0}catch{}var i=WIt.call(t);return n&&(e?t[fS]=r:delete t[fS]),i}o(JIt,"getRawTag");Hve.exports=JIt});var $ve=A((xTr,zve)=>{var YIt=Object.prototype,KIt=YIt.toString;function XIt(t){return KIt.call(t)}o(XIt,"objectToString");zve.exports=XIt});var hS=A((NTr,Jve)=>{var jve=y1(),ZIt=Vve(),eSt=$ve(),tSt="[object Null]",rSt="[object Undefined]",Wve=jve?jve.toStringTag:void 0;function nSt(t){return t==null?t===void 0?rSt:tSt:Wve&&Wve in Object(t)?ZIt(t):eSt(t)}o(nSt,"baseGetTag");Jve.exports=nSt});var pS=A((TTr,Yve)=>{function iSt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(iSt,"isObject");Yve.exports=iSt});var nJ=A((DTr,Kve)=>{var sSt=hS(),oSt=pS(),aSt="[object AsyncFunction]",cSt="[object Function]",lSt="[object GeneratorFunction]",uSt="[object Proxy]";function dSt(t){if(!oSt(t))return!1;var e=sSt(t);return e==cSt||e==lSt||e==aSt||e==uSt}o(dSt,"isFunction");Kve.exports=dSt});var Zve=A((kTr,Xve)=>{var fSt=CE(),hSt=fSt["__core-js_shared__"];Xve.exports=hSt});var rNe=A((PTr,tNe)=>{var iJ=Zve(),eNe=(function(){var t=/[^.]+$/.exec(iJ&&iJ.keys&&iJ.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function pSt(t){return!!eNe&&eNe in t}o(pSt,"isMasked");tNe.exports=pSt});var iNe=A((LTr,nNe)=>{var ASt=Function.prototype,mSt=ASt.toString;function gSt(t){if(t!=null){try{return mSt.call(t)}catch{}try{return t+""}catch{}}return""}o(gSt,"toSource");nNe.exports=gSt});var oNe=A((MTr,sNe)=>{var ySt=nJ(),ESt=rNe(),CSt=pS(),bSt=iNe(),wSt=/[\\^$.*+?()[\]{}|]/g,ISt=/^\[object .+?Constructor\]$/,SSt=Function.prototype,BSt=Object.prototype,xSt=SSt.toString,vSt=BSt.hasOwnProperty,NSt=RegExp("^"+xSt.call(vSt).replace(wSt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _St(t){if(!CSt(t)||ESt(t))return!1;var e=ySt(t)?NSt:ISt;return e.test(bSt(t))}o(_St,"baseIsNative");sNe.exports=_St});var cNe=A((qTr,aNe)=>{function TSt(t,e){return t?.[e]}o(TSt,"getValue");aNe.exports=TSt});var AS=A((HTr,lNe)=>{var RSt=oNe(),DSt=cNe();function QSt(t,e){var r=DSt(t,e);return RSt(r)?r:void 0}o(QSt,"getNative");lNe.exports=QSt});var dNe=A((zTr,uNe)=>{var kSt=AS(),PSt=(function(){try{var t=kSt(Object,"defineProperty");return t({},"",{}),t}catch{}})();uNe.exports=PSt});var pNe=A(($Tr,hNe)=>{var OSt=Lve(),fNe=dNe(),LSt=tJ(),FSt=fNe?function(t,e){return fNe(t,"toString",{configurable:!0,enumerable:!1,value:OSt(e),writable:!0})}:LSt;hNe.exports=FSt});var mNe=A((jTr,ANe)=>{var MSt=800,USt=16,qSt=Date.now;function GSt(t){var e=0,r=0;return function(){var n=qSt(),i=USt-(n-r);if(r=n,i>0){if(++e>=MSt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(GSt,"shortOut");ANe.exports=GSt});var yNe=A((JTr,gNe)=>{var HSt=pNe(),VSt=mNe(),zSt=VSt(HSt);gNe.exports=zSt});var E1=A((YTr,ENe)=>{var $St=tJ(),jSt=Pve(),WSt=yNe();function JSt(t,e){return WSt(jSt(t,e,$St),t+"")}o(JSt,"baseRest");ENe.exports=JSt});var C1=A((XTr,CNe)=>{function YSt(t,e){return t===e||t!==t&&e!==e}o(YSt,"eq");CNe.exports=YSt});var sJ=A((eRr,bNe)=>{var KSt=9007199254740991;function XSt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=KSt}o(XSt,"isLength");bNe.exports=XSt});var b1=A((rRr,wNe)=>{var ZSt=nJ(),eBt=sJ();function tBt(t){return t!=null&&eBt(t.length)&&!ZSt(t)}o(tBt,"isArrayLike");wNe.exports=tBt});var oJ=A((iRr,INe)=>{var rBt=9007199254740991,nBt=/^(?:0|[1-9]\d*)$/;function iBt(t,e){var r=typeof t;return e=e??rBt,!!e&&(r=="number"||r!="symbol"&&nBt.test(t))&&t>-1&&t%1==0&&t<e}o(iBt,"isIndex");INe.exports=iBt});var BNe=A((oRr,SNe)=>{var sBt=C1(),oBt=b1(),aBt=oJ(),cBt=pS();function lBt(t,e,r){if(!cBt(r))return!1;var n=typeof e;return(n=="number"?oBt(r)&&aBt(e,r.length):n=="string"&&e in r)?sBt(r[e],t):!1}o(lBt,"isIterateeCall");SNe.exports=lBt});var vNe=A((cRr,xNe)=>{function uBt(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}o(uBt,"baseTimes");xNe.exports=uBt});var bE=A((uRr,NNe)=>{function dBt(t){return t!=null&&typeof t=="object"}o(dBt,"isObjectLike");NNe.exports=dBt});var TNe=A((fRr,_Ne)=>{var fBt=hS(),hBt=bE(),pBt="[object Arguments]";function ABt(t){return hBt(t)&&fBt(t)==pBt}o(ABt,"baseIsArguments");_Ne.exports=ABt});var aJ=A((pRr,QNe)=>{var RNe=TNe(),mBt=bE(),DNe=Object.prototype,gBt=DNe.hasOwnProperty,yBt=DNe.propertyIsEnumerable,EBt=RNe((function(){return arguments})())?RNe:function(t){return mBt(t)&&gBt.call(t,"callee")&&!yBt.call(t,"callee")};QNe.exports=EBt});var cJ=A((ARr,kNe)=>{var CBt=Array.isArray;kNe.exports=CBt});var ONe=A((mRr,PNe)=>{function bBt(){return!1}o(bBt,"stubFalse");PNe.exports=bBt});var UNe=A((mS,wE)=>{var wBt=CE(),IBt=ONe(),MNe=typeof mS=="object"&&mS&&!mS.nodeType&&mS,LNe=MNe&&typeof wE=="object"&&wE&&!wE.nodeType&&wE,SBt=LNe&&LNe.exports===MNe,FNe=SBt?wBt.Buffer:void 0,BBt=FNe?FNe.isBuffer:void 0,xBt=BBt||IBt;wE.exports=xBt});var GNe=A((yRr,qNe)=>{var vBt=hS(),NBt=sJ(),_Bt=bE(),TBt="[object Arguments]",RBt="[object Array]",DBt="[object Boolean]",QBt="[object Date]",kBt="[object Error]",PBt="[object Function]",OBt="[object Map]",LBt="[object Number]",FBt="[object Object]",MBt="[object RegExp]",UBt="[object Set]",qBt="[object String]",GBt="[object WeakMap]",HBt="[object ArrayBuffer]",VBt="[object DataView]",zBt="[object Float32Array]",$Bt="[object Float64Array]",jBt="[object Int8Array]",WBt="[object Int16Array]",JBt="[object Int32Array]",YBt="[object Uint8Array]",KBt="[object Uint8ClampedArray]",XBt="[object Uint16Array]",ZBt="[object Uint32Array]",ur={};ur[zBt]=ur[$Bt]=ur[jBt]=ur[WBt]=ur[JBt]=ur[YBt]=ur[KBt]=ur[XBt]=ur[ZBt]=!0;ur[TBt]=ur[RBt]=ur[HBt]=ur[DBt]=ur[VBt]=ur[QBt]=ur[kBt]=ur[PBt]=ur[OBt]=ur[LBt]=ur[FBt]=ur[MBt]=ur[UBt]=ur[qBt]=ur[GBt]=!1;function ext(t){return _Bt(t)&&NBt(t.length)&&!!ur[vBt(t)]}o(ext,"baseIsTypedArray");qNe.exports=ext});var lJ=A((CRr,HNe)=>{function txt(t){return function(e){return t(e)}}o(txt,"baseUnary");HNe.exports=txt});var zNe=A((gS,IE)=>{var rxt=rJ(),VNe=typeof gS=="object"&&gS&&!gS.nodeType&&gS,yS=VNe&&typeof IE=="object"&&IE&&!IE.nodeType&&IE,nxt=yS&&yS.exports===VNe,uJ=nxt&&rxt.process,ixt=(function(){try{var t=yS&&yS.require&&yS.require("util").types;return t||uJ&&uJ.binding&&uJ.binding("util")}catch{}})();IE.exports=ixt});var JNe=A((wRr,WNe)=>{var sxt=GNe(),oxt=lJ(),$Ne=zNe(),jNe=$Ne&&$Ne.isTypedArray,axt=jNe?oxt(jNe):sxt;WNe.exports=axt});var KNe=A((IRr,YNe)=>{var cxt=vNe(),lxt=aJ(),uxt=cJ(),dxt=UNe(),fxt=oJ(),hxt=JNe(),pxt=Object.prototype,Axt=pxt.hasOwnProperty;function mxt(t,e){var r=uxt(t),n=!r&&lxt(t),i=!r&&!n&&dxt(t),s=!r&&!n&&!i&&hxt(t),a=r||n||i||s,c=a?cxt(t.length,String):[],l=c.length;for(var u in t)(e||Axt.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||fxt(u,l)))&&c.push(u);return c}o(mxt,"arrayLikeKeys");YNe.exports=mxt});var ZNe=A((BRr,XNe)=>{var gxt=Object.prototype;function yxt(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||gxt;return t===r}o(yxt,"isPrototype");XNe.exports=yxt});var t_e=A((vRr,e_e)=>{function Ext(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(Ext,"nativeKeysIn");e_e.exports=Ext});var n_e=A((_Rr,r_e)=>{var Cxt=pS(),bxt=ZNe(),wxt=t_e(),Ixt=Object.prototype,Sxt=Ixt.hasOwnProperty;function Bxt(t){if(!Cxt(t))return wxt(t);var e=bxt(t),r=[];for(var n in t)n=="constructor"&&(e||!Sxt.call(t,n))||r.push(n);return r}o(Bxt,"baseKeysIn");r_e.exports=Bxt});var s_e=A((RRr,i_e)=>{var xxt=KNe(),vxt=n_e(),Nxt=b1();function _xt(t){return Nxt(t)?xxt(t,!0):vxt(t)}o(_xt,"keysIn");i_e.exports=_xt});var c_e=A((QRr,a_e)=>{var Txt=E1(),Rxt=C1(),Dxt=BNe(),Qxt=s_e(),o_e=Object.prototype,kxt=o_e.hasOwnProperty,Pxt=Txt(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&Dxt(e[0],e[1],i)&&(n=1);++r<n;)for(var s=e[r],a=Qxt(s),c=-1,l=a.length;++c<l;){var u=a[c],d=t[u];(d===void 0||Rxt(d,o_e[u])&&!kxt.call(t,u))&&(t[u]=s[u])}return t});a_e.exports=Pxt});var Tr=A((kRr,l_e)=>{"use strict";l_e.exports={ArrayIsArray(t){return Array.isArray(t)},ArrayPrototypeIncludes(t,e){return t.includes(e)},ArrayPrototypeIndexOf(t,e){return t.indexOf(e)},ArrayPrototypeJoin(t,e){return t.join(e)},ArrayPrototypeMap(t,e){return t.map(e)},ArrayPrototypePop(t,e){return t.pop(e)},ArrayPrototypePush(t,e){return t.push(e)},ArrayPrototypeSlice(t,e,r){return t.slice(e,r)},Error,FunctionPrototypeCall(t,e,...r){return t.call(e,...r)},FunctionPrototypeSymbolHasInstance(t,e){return Function.prototype[Symbol.hasInstance].call(t,e)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(t,e){return Object.defineProperties(t,e)},ObjectDefineProperty(t,e,r){return Object.defineProperty(t,e,r)},ObjectGetOwnPropertyDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)},ObjectKeys(t){return Object.keys(t)},ObjectSetPrototypeOf(t,e){return Object.setPrototypeOf(t,e)},Promise,PromisePrototypeCatch(t,e){return t.catch(e)},PromisePrototypeThen(t,e,r){return t.then(e,r)},PromiseReject(t){return Promise.reject(t)},PromiseResolve(t){return Promise.resolve(t)},ReflectApply:Reflect.apply,RegExpPrototypeTest(t,e){return t.test(e)},SafeSet:Set,String,StringPrototypeSlice(t,e,r){return t.slice(e,r)},StringPrototypeToLowerCase(t){return t.toLowerCase()},StringPrototypeToUpperCase(t){return t.toUpperCase()},StringPrototypeTrim(t){return t.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(t,e,r){return t.set(e,r)},Boolean,Uint8Array}});var E_e=A((bS,CS)=>{"use strict";Object.defineProperty(bS,"__esModule",{value:!0});var A_e=new WeakMap,dJ=new WeakMap;function dr(t){let e=A_e.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}o(dr,"pd");function u_e(t){if(t.passiveListener!=null){typeof console<"u"&&typeof console.error=="function"&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}t.event.cancelable&&(t.canceled=!0,typeof t.event.preventDefault=="function"&&t.event.preventDefault())}o(u_e,"setCancelFlag");function SE(t,e){A_e.set(this,{eventTarget:t,event:e,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:e.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let r=Object.keys(e);for(let n=0;n<r.length;++n){let i=r[n];i in this||Object.defineProperty(this,i,m_e(i))}}o(SE,"Event");SE.prototype={get type(){return dr(this).event.type},get target(){return dr(this).eventTarget},get currentTarget(){return dr(this).currentTarget},composedPath(){let t=dr(this).currentTarget;return t==null?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return dr(this).eventPhase},stopPropagation(){let t=dr(this);t.stopped=!0,typeof t.event.stopPropagation=="function"&&t.event.stopPropagation()},stopImmediatePropagation(){let t=dr(this);t.stopped=!0,t.immediateStopped=!0,typeof t.event.stopImmediatePropagation=="function"&&t.event.stopImmediatePropagation()},get bubbles(){return!!dr(this).event.bubbles},get cancelable(){return!!dr(this).event.cancelable},preventDefault(){u_e(dr(this))},get defaultPrevented(){return dr(this).canceled},get composed(){return!!dr(this).event.composed},get timeStamp(){return dr(this).timeStamp},get srcElement(){return dr(this).eventTarget},get cancelBubble(){return dr(this).stopped},set cancelBubble(t){if(!t)return;let e=dr(this);e.stopped=!0,typeof e.event.cancelBubble=="boolean"&&(e.event.cancelBubble=!0)},get returnValue(){return!dr(this).canceled},set returnValue(t){t||u_e(dr(this))},initEvent(){}};Object.defineProperty(SE.prototype,"constructor",{value:SE,configurable:!0,writable:!0});typeof window<"u"&&typeof window.Event<"u"&&(Object.setPrototypeOf(SE.prototype,window.Event.prototype),dJ.set(window.Event.prototype,SE));function m_e(t){return{get(){return dr(this).event[t]},set(e){dr(this).event[t]=e},configurable:!0,enumerable:!0}}o(m_e,"defineRedirectDescriptor");function Oxt(t){return{value(){let e=dr(this).event;return e[t].apply(e,arguments)},configurable:!0,enumerable:!0}}o(Oxt,"defineCallDescriptor");function Lxt(t,e){let r=Object.keys(e);if(r.length===0)return t;function n(i,s){t.call(this,i,s)}o(n,"CustomEvent"),n.prototype=Object.create(t.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(let i=0;i<r.length;++i){let s=r[i];if(!(s in t.prototype)){let c=typeof Object.getOwnPropertyDescriptor(e,s).value=="function";Object.defineProperty(n.prototype,s,c?Oxt(s):m_e(s))}}return n}o(Lxt,"defineWrapper");function g_e(t){if(t==null||t===Object.prototype)return SE;let e=dJ.get(t);return e==null&&(e=Lxt(g_e(Object.getPrototypeOf(t)),t),dJ.set(t,e)),e}o(g_e,"getWrapper");function Fxt(t,e){let r=g_e(Object.getPrototypeOf(e));return new r(t,e)}o(Fxt,"wrapEvent");function Mxt(t){return dr(t).immediateStopped}o(Mxt,"isStopped");function Uxt(t,e){dr(t).eventPhase=e}o(Uxt,"setEventPhase");function qxt(t,e){dr(t).currentTarget=e}o(qxt,"setCurrentTarget");function d_e(t,e){dr(t).passiveListener=e}o(d_e,"setPassiveListener");var y_e=new WeakMap,f_e=1,h_e=2,w1=3;function I1(t){return t!==null&&typeof t=="object"}o(I1,"isObject");function ES(t){let e=y_e.get(t);if(e==null)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return e}o(ES,"getListeners");function Gxt(t){return{get(){let r=ES(this).get(t);for(;r!=null;){if(r.listenerType===w1)return r.listener;r=r.next}return null},set(e){typeof e!="function"&&!I1(e)&&(e=null);let r=ES(this),n=null,i=r.get(t);for(;i!=null;)i.listenerType===w1?n!==null?n.next=i.next:i.next!==null?r.set(t,i.next):r.delete(t):n=i,i=i.next;if(e!==null){let s={listener:e,listenerType:w1,passive:!1,once:!1,next:null};n===null?r.set(t,s):n.next=s}},configurable:!0,enumerable:!0}}o(Gxt,"defineEventAttributeDescriptor");function fJ(t,e){Object.defineProperty(t,`on${e}`,Gxt(e))}o(fJ,"defineEventAttribute");function p_e(t){function e(){mc.call(this)}o(e,"CustomEventTarget"),e.prototype=Object.create(mc.prototype,{constructor:{value:e,configurable:!0,writable:!0}});for(let r=0;r<t.length;++r)fJ(e.prototype,t[r]);return e}o(p_e,"defineCustomEventTarget");function mc(){if(this instanceof mc){y_e.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return p_e(arguments[0]);if(arguments.length>0){let t=new Array(arguments.length);for(let e=0;e<arguments.length;++e)t[e]=arguments[e];return p_e(t)}throw new TypeError("Cannot call a class as a function")}o(mc,"EventTarget");mc.prototype={addEventListener(t,e,r){if(e==null)return;if(typeof e!="function"&&!I1(e))throw new TypeError("'listener' should be a function or an object.");let n=ES(this),i=I1(r),a=(i?!!r.capture:!!r)?f_e:h_e,c={listener:e,listenerType:a,passive:i&&!!r.passive,once:i&&!!r.once,next:null},l=n.get(t);if(l===void 0){n.set(t,c);return}let u=null;for(;l!=null;){if(l.listener===e&&l.listenerType===a)return;u=l,l=l.next}u.next=c},removeEventListener(t,e,r){if(e==null)return;let n=ES(this),s=(I1(r)?!!r.capture:!!r)?f_e:h_e,a=null,c=n.get(t);for(;c!=null;){if(c.listener===e&&c.listenerType===s){a!==null?a.next=c.next:c.next!==null?n.set(t,c.next):n.delete(t);return}a=c,c=c.next}},dispatchEvent(t){if(t==null||typeof t.type!="string")throw new TypeError('"event.type" should be a string.');let e=ES(this),r=t.type,n=e.get(r);if(n==null)return!0;let i=Fxt(this,t),s=null;for(;n!=null;){if(n.once?s!==null?s.next=n.next:n.next!==null?e.set(r,n.next):e.delete(r):s=n,d_e(i,n.passive?n.listener:null),typeof n.listener=="function")try{n.listener.call(this,i)}catch(a){typeof console<"u"&&typeof console.error=="function"&&console.error(a)}else n.listenerType!==w1&&typeof n.listener.handleEvent=="function"&&n.listener.handleEvent(i);if(Mxt(i))break;n=n.next}return d_e(i,null),Uxt(i,0),qxt(i,null),!i.defaultPrevented}};Object.defineProperty(mc.prototype,"constructor",{value:mc,configurable:!0,writable:!0});typeof window<"u"&&typeof window.EventTarget<"u"&&Object.setPrototypeOf(mc.prototype,window.EventTarget.prototype);bS.defineEventAttribute=fJ;bS.EventTarget=mc;bS.default=mc;CS.exports=mc;CS.exports.EventTarget=CS.exports.default=mc;CS.exports.defineEventAttribute=fJ});var BE=A((IS,wS)=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});var hJ=E_e(),Uf=class extends hJ.EventTarget{static{o(this,"AbortSignal")}constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let e=S1.get(this);if(typeof e!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return e}};hJ.defineEventAttribute(Uf.prototype,"abort");function Hxt(){let t=Object.create(Uf.prototype);return hJ.EventTarget.call(t),S1.set(t,!1),t}o(Hxt,"createAbortSignal");function Vxt(t){S1.get(t)===!1&&(S1.set(t,!0),t.dispatchEvent({type:"abort"}))}o(Vxt,"abortSignal");var S1=new WeakMap;Object.defineProperties(Uf.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Uf.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var qf=class{static{o(this,"AbortController")}constructor(){b_e.set(this,Hxt())}get signal(){return C_e(this)}abort(){Vxt(C_e(this))}},b_e=new WeakMap;function C_e(t){let e=b_e.get(t);if(e==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${t===null?"null":typeof t}`);return e}o(C_e,"getSignal");Object.defineProperties(qf.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(qf.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});IS.AbortController=qf;IS.AbortSignal=Uf;IS.default=qf;wS.exports=qf;wS.exports.AbortController=wS.exports.default=qf;wS.exports.AbortSignal=Uf});var Di=A((LRr,AJ)=>{"use strict";var zxt=require("buffer"),{kResistStopPropagation:$xt,SymbolDispose:jxt}=Tr(),Wxt=globalThis.AbortSignal||BE().AbortSignal,Jxt=globalThis.AbortController||BE().AbortController,Yxt=Object.getPrototypeOf(async function(){}).constructor,w_e=globalThis.Blob||zxt.Blob,Kxt=o(typeof w_e<"u"?function(e){return e instanceof w_e}:function(e){return!1},"isBlob"),I_e=o((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)},"validateAbortSignal"),Xxt=o((t,e)=>{if(typeof t!="function")throw new ERR_INVALID_ARG_TYPE(e,"Function",t)},"validateFunction"),pJ=class extends Error{static{o(this,"AggregateError")}constructor(e){if(!Array.isArray(e))throw new TypeError(`Expected input to be an Array, got ${typeof e}`);let r="";for(let n=0;n<e.length;n++)r+=` ${e[n].stack}
`;super(r),this.name="AggregateError",this.errors=e}};AJ.exports={AggregateError:pJ,kEmptyObject:Object.freeze({}),once(t){let e=!1;return function(...r){e||(e=!0,t.apply(this,r))}},createDeferredPromise:o(function(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}},"createDeferredPromise"),promisify(t){return new Promise((e,r)=>{t((n,...i)=>n?r(n):e(...i))})},debuglog(){return function(){}},format(t,...e){return t.replace(/%([sdifj])/g,function(...[r,n]){let i=e.shift();return n==="f"?i.toFixed(6):n==="j"?JSON.stringify(i):n==="s"&&typeof i=="object"?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})},inspect(t){switch(typeof t){case"string":if(t.includes("'"))if(t.includes('"')){if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}else return`"${t}"`;return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return`${String(t)}n`;case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction(t){return t instanceof Yxt},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:Kxt,deprecate(t,e){return t},addAbortListener:require("events").addAbortListener||o(function(e,r){if(e===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);I_e(e,"signal"),Xxt(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[$xt]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[jxt](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:Wxt.any||o(function(e){if(e.length===1)return e[0];let r=new Jxt,n=o(()=>r.abort(),"abort");return e.forEach(i=>{I_e(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal},"AbortSignalAny")};AJ.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var as=A((MRr,x_e)=>{"use strict";var{format:Zxt,inspect:B1,AggregateError:evt}=Di(),tvt=globalThis.AggregateError||evt,rvt=Symbol("kIsNodeError"),nvt=["string","function","number","object","Function","Object","boolean","bigint","symbol"],ivt=/^([A-Z][a-z0-9]*)+$/,svt="__node_internal_",x1={};function pA(t,e){if(!t)throw new x1.ERR_INTERNAL_ASSERTION(e)}o(pA,"assert");function S_e(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}o(S_e,"addNumericalSeparator");function ovt(t,e,r){if(typeof e=="function")return pA(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);let n=(e.match(/%[dfijoOs]/g)||[]).length;return pA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:Zxt(e,...r)}o(ovt,"getMessage");function Ci(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(ovt(t,e,s))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[rvt]=!0,x1[t]=n}o(Ci,"E");function B_e(t){let e=svt+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(B_e,"hideStackFrames");function avt(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new tvt([e,t],e.message);return r.code=e.code,r}return t||e}o(avt,"aggregateTwoErrors");var mJ=class extends Error{static{o(this,"AbortError")}constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new x1.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};Ci("ERR_ASSERTION","%s",Error);Ci("ERR_INVALID_ARG_TYPE",(t,e,r)=>{pA(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";let i=[],s=[],a=[];for(let l of e)pA(typeof l=="string","All expected entries have to be of type string"),nvt.includes(l)?i.push(l.toLowerCase()):ivt.test(l)?s.push(l):(pA(l!=="object",'The value "object" should be written as "Object"'),a.push(l));if(s.length>0){let l=i.indexOf("object");l!==-1&&(i.splice(i,l,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{let l=i.pop();n+=`one of type ${i.join(", ")}, or ${l}`}}(s.length>0||a.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{let l=s.pop();n+=`an instance of ${s.join(", ")}, or ${l}`}}a.length>0&&(n+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`;break;case 2:n+=`one of ${a[0]} or ${a[1]}`;break;default:{let l=a.pop();n+=`one of ${a.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var c;if((c=r.constructor)!==null&&c!==void 0&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{let l=B1(r,{depth:-1});n+=`. Received ${l}`}}else{let l=B1(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);Ci("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=B1(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);Ci("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;let i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${i}.`},TypeError);Ci("ERR_MISSING_ARGS",(...t)=>{pA(t.length>0,"At least one arg needs to be specified");let e,r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{let n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);Ci("ERR_OUT_OF_RANGE",(t,e,r)=>{pA(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=S_e(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=S_e(n)),n+="n"):n=B1(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);Ci("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Ci("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Ci("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Ci("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Ci("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Ci("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Ci("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Ci("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Ci("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Ci("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Ci("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);x_e.exports={AbortError:mJ,aggregateTwoErrors:B_e(avt),hideStackFrames:B_e,codes:x1}});var vE=A((qRr,O_e)=>{"use strict";var{ArrayIsArray:yJ,ArrayPrototypeIncludes:T_e,ArrayPrototypeJoin:R_e,ArrayPrototypeMap:cvt,NumberIsInteger:EJ,NumberIsNaN:lvt,NumberMAX_SAFE_INTEGER:uvt,NumberMIN_SAFE_INTEGER:dvt,NumberParseInt:fvt,ObjectPrototypeHasOwnProperty:hvt,RegExpPrototypeExec:D_e,String:pvt,StringPrototypeToUpperCase:Avt,StringPrototypeTrim:mvt}=Tr(),{hideStackFrames:wa,codes:{ERR_SOCKET_BAD_PORT:gvt,ERR_INVALID_ARG_TYPE:Qi,ERR_INVALID_ARG_VALUE:xE,ERR_OUT_OF_RANGE:AA,ERR_UNKNOWN_SIGNAL:v_e}}=as(),{normalizeEncoding:yvt}=Di(),{isAsyncFunction:Evt,isArrayBufferView:Cvt}=Di().types,N_e={};function bvt(t){return t===(t|0)}o(bvt,"isInt32");function wvt(t){return t===t>>>0}o(wvt,"isUint32");var Ivt=/^[0-7]+$/,Svt="must be a 32-bit unsigned integer or an octal string";function Bvt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(D_e(Ivt,t)===null)throw new xE(e,t,Svt);t=fvt(t,8)}return Q_e(t,e),t}o(Bvt,"parseFileMode");var xvt=wa((t,e,r=dvt,n=uvt)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!EJ(t))throw new AA(e,"an integer",t);if(t<r||t>n)throw new AA(e,`>= ${r} && <= ${n}`,t)}),vvt=wa((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!EJ(t))throw new AA(e,"an integer",t);if(t<r||t>n)throw new AA(e,`>= ${r} && <= ${n}`,t)}),Q_e=wa((t,e,r=!1)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!EJ(t))throw new AA(e,"an integer",t);let n=r?1:0,i=4294967295;if(t<n||t>i)throw new AA(e,`>= ${n} && <= ${i}`,t)});function CJ(t,e){if(typeof t!="string")throw new Qi(e,"string",t)}o(CJ,"validateString");function Nvt(t,e,r=void 0,n){if(typeof t!="number")throw new Qi(e,"number",t);if(r!=null&&t<r||n!=null&&t>n||(r!=null||n!=null)&&lvt(t))throw new AA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(Nvt,"validateNumber");var _vt=wa((t,e,r)=>{if(!T_e(r,t)){let i="must be one of: "+R_e(cvt(r,s=>typeof s=="string"?`'${s}'`:pvt(s)),", ");throw new xE(e,t,i)}});function k_e(t,e){if(typeof t!="boolean")throw new Qi(e,"boolean",t)}o(k_e,"validateBoolean");function gJ(t,e,r){return t==null||!hvt(t,e)?r:t[e]}o(gJ,"getOwnPropertyValueOrDefault");var Tvt=wa((t,e,r=null)=>{let n=gJ(r,"allowArray",!1),i=gJ(r,"allowFunction",!1);if(!gJ(r,"nullable",!1)&&t===null||!n&&yJ(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Qi(e,"Object",t)}),Rvt=wa((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Qi(e,"a dictionary",t)}),v1=wa((t,e,r=0)=>{if(!yJ(t))throw new Qi(e,"Array",t);if(t.length<r){let n=`must be longer than ${r}`;throw new xE(e,t,n)}});function Dvt(t,e){v1(t,e);for(let r=0;r<t.length;r++)CJ(t[r],`${e}[${r}]`)}o(Dvt,"validateStringArray");function Qvt(t,e){v1(t,e);for(let r=0;r<t.length;r++)k_e(t[r],`${e}[${r}]`)}o(Qvt,"validateBooleanArray");function kvt(t,e){v1(t,e);for(let r=0;r<t.length;r++){let n=t[r],i=`${e}[${r}]`;if(n==null)throw new Qi(i,"AbortSignal",n);P_e(n,i)}}o(kvt,"validateAbortSignalArray");function Pvt(t,e="signal"){if(CJ(t,e),N_e[t]===void 0)throw N_e[Avt(t)]!==void 0?new v_e(t+" (signals must use all capital letters)"):new v_e(t)}o(Pvt,"validateSignalName");var Ovt=wa((t,e="buffer")=>{if(!Cvt(t))throw new Qi(e,["Buffer","TypedArray","DataView"],t)});function Lvt(t,e){let r=yvt(e),n=t.length;if(r==="hex"&&n%2!==0)throw new xE("encoding",e,`is invalid for data of length ${n}`)}o(Lvt,"validateEncoding");function Fvt(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&mvt(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new gvt(e,t,r);return t|0}o(Fvt,"validatePort");var P_e=wa((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Qi(e,"AbortSignal",t)}),Mvt=wa((t,e)=>{if(typeof t!="function")throw new Qi(e,"Function",t)}),Uvt=wa((t,e)=>{if(typeof t!="function"||Evt(t))throw new Qi(e,"Function",t)}),qvt=wa((t,e)=>{if(t!==void 0)throw new Qi(e,"undefined",t)});function Gvt(t,e,r){if(!T_e(r,t))throw new Qi(e,`('${R_e(r,"|")}')`,t)}o(Gvt,"validateUnion");var Hvt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function __e(t,e){if(typeof t>"u"||!D_e(Hvt,t))throw new xE(e,t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}o(__e,"validateLinkHeaderFormat");function Vvt(t){if(typeof t=="string")return __e(t,"hints"),t;if(yJ(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n<e;n++){let i=t[n];__e(i,"hints"),r+=i,n!==e-1&&(r+=", ")}return r}throw new xE("hints",t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}o(Vvt,"validateLinkHeaderValue");O_e.exports={isInt32:bvt,isUint32:wvt,parseFileMode:Bvt,validateArray:v1,validateStringArray:Dvt,validateBooleanArray:Qvt,validateAbortSignalArray:kvt,validateBoolean:k_e,validateBuffer:Ovt,validateDictionary:Rvt,validateEncoding:Lvt,validateFunction:Mvt,validateInt32:vvt,validateInteger:xvt,validateNumber:Nvt,validateObject:Tvt,validateOneOf:_vt,validatePlainFunction:Uvt,validatePort:Fvt,validateSignalName:Pvt,validateString:CJ,validateUint32:Q_e,validateUndefined:qvt,validateUnion:Gvt,validateAbortSignal:P_e,validateLinkHeaderValue:Vvt}});var Gf=A((HRr,L_e)=>{L_e.exports=global.process});var Vl=A((VRr,X_e)=>{"use strict";var{SymbolAsyncIterator:F_e,SymbolIterator:M_e,SymbolFor:mA}=Tr(),U_e=mA("nodejs.stream.destroyed"),q_e=mA("nodejs.stream.errored"),bJ=mA("nodejs.stream.readable"),wJ=mA("nodejs.stream.writable"),G_e=mA("nodejs.stream.disturbed"),zvt=mA("nodejs.webstream.isClosedPromise"),$vt=mA("nodejs.webstream.controllerErrorFunction");function N1(t,e=!1){var r;return!!(t&&typeof t.pipe=="function"&&typeof t.on=="function"&&(!e||typeof t.pause=="function"&&typeof t.resume=="function")&&(!t._writableState||((r=t._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!t._writableState||t._readableState))}o(N1,"isReadableNodeStream");function _1(t){var e;return!!(t&&typeof t.write=="function"&&typeof t.on=="function"&&(!t._readableState||((e=t._writableState)===null||e===void 0?void 0:e.writable)!==!1))}o(_1,"isWritableNodeStream");function jvt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(jvt,"isDuplexNodeStream");function Hl(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}o(Hl,"isNodeStream");function H_e(t){return!!(t&&!Hl(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}o(H_e,"isReadableStream");function V_e(t){return!!(t&&!Hl(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}o(V_e,"isWritableStream");function z_e(t){return!!(t&&!Hl(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}o(z_e,"isTransformStream");function Wvt(t){return H_e(t)||V_e(t)||z_e(t)}o(Wvt,"isWebStream");function Jvt(t,e){return t==null?!1:e===!0?typeof t[F_e]=="function":e===!1?typeof t[M_e]=="function":typeof t[F_e]=="function"||typeof t[M_e]=="function"}o(Jvt,"isIterable");function T1(t){if(!Hl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[U_e]||n!=null&&n.destroyed)}o(T1,"isDestroyed");function $_e(t){if(!_1(t))return null;if(t.writableEnded===!0)return!0;let e=t._writableState;return e!=null&&e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o($_e,"isWritableEnded");function Yvt(t,e){if(!_1(t))return null;if(t.writableFinished===!0)return!0;let r=t._writableState;return r!=null&&r.errored?!1:typeof r?.finished!="boolean"?null:!!(r.finished||e===!1&&r.ended===!0&&r.length===0)}o(Yvt,"isWritableFinished");function Kvt(t){if(!N1(t))return null;if(t.readableEnded===!0)return!0;let e=t._readableState;return!e||e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o(Kvt,"isReadableEnded");function j_e(t,e){if(!N1(t))return null;let r=t._readableState;return r!=null&&r.errored?!1:typeof r?.endEmitted!="boolean"?null:!!(r.endEmitted||e===!1&&r.ended===!0&&r.length===0)}o(j_e,"isReadableFinished");function W_e(t){return t&&t[bJ]!=null?t[bJ]:typeof t?.readable!="boolean"?null:T1(t)?!1:N1(t)&&t.readable&&!j_e(t)}o(W_e,"isReadable");function J_e(t){return t&&t[wJ]!=null?t[wJ]:typeof t?.writable!="boolean"?null:T1(t)?!1:_1(t)&&t.writable&&!$_e(t)}o(J_e,"isWritable");function Xvt(t,e){return Hl(t)?T1(t)?!0:!(e?.readable!==!1&&W_e(t)||e?.writable!==!1&&J_e(t)):null}o(Xvt,"isFinished");function Zvt(t){var e,r;return Hl(t)?t.writableErrored?t.writableErrored:(e=(r=t._writableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(Zvt,"isWritableErrored");function eNt(t){var e,r;return Hl(t)?t.readableErrored?t.readableErrored:(e=(r=t._readableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(eNt,"isReadableErrored");function tNt(t){if(!Hl(t))return null;if(typeof t.closed=="boolean")return t.closed;let e=t._writableState,r=t._readableState;return typeof e?.closed=="boolean"||typeof r?.closed=="boolean"?e?.closed||r?.closed:typeof t._closed=="boolean"&&Y_e(t)?t._closed:null}o(tNt,"isClosed");function Y_e(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}o(Y_e,"isOutgoingMessage");function K_e(t){return typeof t._sent100=="boolean"&&Y_e(t)}o(K_e,"isServerResponse");function rNt(t){var e;return typeof t._consuming=="boolean"&&typeof t._dumped=="boolean"&&((e=t.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}o(rNt,"isServerRequest");function nNt(t){if(!Hl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!n&&K_e(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}o(nNt,"willEmitClose");function iNt(t){var e;return!!(t&&((e=t[G_e])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(iNt,"isDisturbed");function sNt(t){var e,r,n,i,s,a,c,l,u,d;return!!(t&&((e=(r=(n=(i=(s=(a=t[q_e])!==null&&a!==void 0?a:t.readableErrored)!==null&&s!==void 0?s:t.writableErrored)!==null&&i!==void 0?i:(c=t._readableState)===null||c===void 0?void 0:c.errorEmitted)!==null&&n!==void 0?n:(l=t._writableState)===null||l===void 0?void 0:l.errorEmitted)!==null&&r!==void 0?r:(u=t._readableState)===null||u===void 0?void 0:u.errored)!==null&&e!==void 0?e:!((d=t._writableState)===null||d===void 0)&&d.errored))}o(sNt,"isErrored");X_e.exports={isDestroyed:T1,kIsDestroyed:U_e,isDisturbed:iNt,kIsDisturbed:G_e,isErrored:sNt,kIsErrored:q_e,isReadable:W_e,kIsReadable:bJ,kIsClosedPromise:zvt,kControllerErrorFunction:$vt,kIsWritable:wJ,isClosed:tNt,isDuplexNodeStream:jvt,isFinished:Xvt,isIterable:Jvt,isReadableNodeStream:N1,isReadableStream:H_e,isReadableEnded:Kvt,isReadableFinished:j_e,isReadableErrored:eNt,isNodeStream:Hl,isWebStream:Wvt,isWritable:J_e,isWritableNodeStream:_1,isWritableStream:V_e,isWritableEnded:$_e,isWritableFinished:Yvt,isWritableErrored:Zvt,isServerRequest:rNt,isServerResponse:K_e,willEmitClose:nNt,isTransformStream:z_e}});var pd=A(($Rr,vJ)=>{var Hf=Gf(),{AbortError:aTe,codes:oNt}=as(),{ERR_INVALID_ARG_TYPE:aNt,ERR_STREAM_PREMATURE_CLOSE:Z_e}=oNt,{kEmptyObject:SJ,once:BJ}=Di(),{validateAbortSignal:cNt,validateFunction:lNt,validateObject:uNt,validateBoolean:dNt}=vE(),{Promise:fNt,PromisePrototypeThen:hNt,SymbolDispose:cTe}=Tr(),{isClosed:pNt,isReadable:eTe,isReadableNodeStream:IJ,isReadableStream:ANt,isReadableFinished:tTe,isReadableErrored:rTe,isWritable:nTe,isWritableNodeStream:iTe,isWritableStream:mNt,isWritableFinished:sTe,isWritableErrored:oTe,isNodeStream:gNt,willEmitClose:yNt,kIsClosedPromise:ENt}=Vl(),NE;function CNt(t){return t.setHeader&&typeof t.abort=="function"}o(CNt,"isRequest");var xJ=o(()=>{},"nop");function lTe(t,e,r){var n,i;if(arguments.length===2?(r=e,e=SJ):e==null?e=SJ:uNt(e,"options"),lNt(r,"callback"),cNt(e.signal,"options.signal"),r=BJ(r),ANt(t)||mNt(t))return bNt(t,e,r);if(!gNt(t))throw new aNt("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:IJ(t),a=(i=e.writable)!==null&&i!==void 0?i:iTe(t),c=t._writableState,l=t._readableState,u=o(()=>{t.writable||h()},"onlegacyfinish"),d=yNt(t)&&IJ(t)===s&&iTe(t)===a,f=sTe(t,!1),h=o(()=>{f=!0,t.destroyed&&(d=!1),!(d&&(!t.readable||s))&&(!s||p)&&r.call(t)},"onfinish"),p=tTe(t,!1),m=o(()=>{p=!0,t.destroyed&&(d=!1),!(d&&(!t.writable||a))&&(!a||f)&&r.call(t)},"onend"),g=o(Q=>{r.call(t,Q)},"onerror"),E=pNt(t),y=o(()=>{E=!0;let Q=oTe(t)||rTe(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);if(s&&!p&&IJ(t,!0)&&!tTe(t,!1))return r.call(t,new Z_e);if(a&&!f&&!sTe(t,!1))return r.call(t,new Z_e);r.call(t)},"onclose"),C=o(()=>{E=!0;let Q=oTe(t)||rTe(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);r.call(t)},"onclosed"),w=o(()=>{t.req.on("finish",h)},"onrequest");CNt(t)?(t.on("complete",h),d||t.on("abort",y),t.req?w():t.on("request",w)):a&&!c&&(t.on("end",u),t.on("close",u)),!d&&typeof t.aborted=="boolean"&&t.on("aborted",y),t.on("end",m),t.on("finish",h),e.error!==!1&&t.on("error",g),t.on("close",y),E?Hf.nextTick(y):c!=null&&c.errorEmitted||l!=null&&l.errorEmitted?d||Hf.nextTick(C):(!s&&(!d||eTe(t))&&(f||nTe(t)===!1)||!a&&(!d||nTe(t))&&(p||eTe(t)===!1)||l&&t.req&&t.aborted)&&Hf.nextTick(C);let B=o(()=>{r=xJ,t.removeListener("aborted",y),t.removeListener("complete",h),t.removeListener("abort",y),t.removeListener("request",w),t.req&&t.req.removeListener("finish",h),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",h),t.removeListener("end",m),t.removeListener("error",g),t.removeListener("close",y)},"cleanup");if(e.signal&&!E){let Q=o(()=>{let q=r;B(),q.call(t,new aTe(void 0,{cause:e.signal.reason}))},"abort");if(e.signal.aborted)Hf.nextTick(Q);else{NE=NE||Di().addAbortListener;let q=NE(e.signal,Q),v=r;r=BJ((...$)=>{q[cTe](),v.apply(t,$)})}}return B}o(lTe,"eos");function bNt(t,e,r){let n=!1,i=xJ;if(e.signal)if(i=o(()=>{n=!0,r.call(t,new aTe(void 0,{cause:e.signal.reason}))},"abort"),e.signal.aborted)Hf.nextTick(i);else{NE=NE||Di().addAbortListener;let a=NE(e.signal,i),c=r;r=BJ((...l)=>{a[cTe](),c.apply(t,l)})}let s=o((...a)=>{n||Hf.nextTick(()=>r.apply(t,a))},"resolverFn");return hNt(t[ENt].promise,s,s),xJ}o(bNt,"eosWeb");function wNt(t,e){var r;let n=!1;return e===null&&(e=SJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(dNt(e.cleanup,"cleanup"),n=e.cleanup),new fNt((i,s)=>{let a=lTe(t,e,c=>{n&&a(),c?s(c):i()})})}o(wNt,"finished");vJ.exports=lTe;vJ.exports.finished=wNt});var gA=A((WRr,gTe)=>{"use strict";var zl=Gf(),{aggregateTwoErrors:INt,codes:{ERR_MULTIPLE_CALLBACK:SNt},AbortError:BNt}=as(),{Symbol:fTe}=Tr(),{kIsDestroyed:xNt,isDestroyed:vNt,isFinished:NNt,isServerRequest:_Nt}=Vl(),hTe=fTe("kDestroy"),NJ=fTe("kConstruct");function pTe(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}o(pTe,"checkError");function TNt(t,e){let r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(pTe(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?uTe(this,t,e):this.once(hTe,function(s){uTe(this,INt(s,t),e)}),this)}o(TNt,"destroy");function uTe(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let a=t._readableState,c=t._writableState;pTe(s,c,a),c&&(c.closed=!0),a&&(a.closed=!0),typeof r=="function"&&r(s),s?zl.nextTick(RNt,t,s):zl.nextTick(ATe,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(uTe,"_destroy");function RNt(t,e){_J(t,e),ATe(t)}o(RNt,"emitErrorCloseNT");function ATe(t){let e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}o(ATe,"emitCloseNT");function _J(t,e){let r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}o(_J,"emitErrorNT");function DNt(){let t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}o(DNt,"undestroy");function TJ(t,e,r){let n=t._readableState,i=t._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?t.destroy(e):e&&(e.stack,i&&!i.errored&&(i.errored=e),n&&!n.errored&&(n.errored=e),r?zl.nextTick(_J,t,e):_J(t,e))}o(TJ,"errorOrDestroy");function QNt(t,e){if(typeof t._construct!="function")return;let r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(NJ,e),!(t.listenerCount(NJ)>1)&&zl.nextTick(kNt,t)}o(QNt,"construct");function kNt(t){let e=!1;function r(n){if(e){TJ(t,n??new SNt);return}e=!0;let i=t._readableState,s=t._writableState,a=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),a.destroyed?t.emit(hTe,n):n?TJ(t,n,!0):zl.nextTick(PNt,t)}o(r,"onConstruct");try{t._construct(n=>{zl.nextTick(r,n)})}catch(n){zl.nextTick(r,n)}}o(kNt,"constructNT");function PNt(t){t.emit(NJ)}o(PNt,"emitConstructNT");function dTe(t){return t?.setHeader&&typeof t.abort=="function"}o(dTe,"isRequest");function mTe(t){t.emit("close")}o(mTe,"emitCloseLegacy");function ONt(t,e){t.emit("error",e),zl.nextTick(mTe,t)}o(ONt,"emitErrorCloseLegacy");function LNt(t,e){!t||vNt(t)||(!e&&!NNt(t)&&(e=new BNt),_Nt(t)?(t.socket=null,t.destroy(e)):dTe(t)?t.abort():dTe(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?zl.nextTick(ONt,t,e):zl.nextTick(mTe,t),t.destroyed||(t[xNt]=!0))}o(LNt,"destroyer");gTe.exports={construct:QNt,destroyer:LNt,destroy:TNt,undestroy:DNt,errorOrDestroy:TJ}});var Q1=A((YRr,ETe)=>{"use strict";var{ArrayIsArray:FNt,ObjectSetPrototypeOf:yTe}=Tr(),{EventEmitter:R1}=require("events");function D1(t){R1.call(this,t)}o(D1,"Stream");yTe(D1.prototype,R1.prototype);yTe(D1,R1);D1.prototype.pipe=function(t,e){let r=this;function n(d){t.writable&&t.write(d)===!1&&r.pause&&r.pause()}o(n,"ondata"),r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}o(i,"ondrain"),t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",a),r.on("close",c));let s=!1;function a(){s||(s=!0,t.end())}o(a,"onend");function c(){s||(s=!0,typeof t.destroy=="function"&&t.destroy())}o(c,"onclose");function l(d){u(),R1.listenerCount(this,"error")===0&&this.emit("error",d)}o(l,"onerror"),RJ(r,"error",l),RJ(t,"error",l);function u(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",c),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return o(u,"cleanup"),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t};function RJ(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):FNt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(RJ,"prependListener");ETe.exports={Stream:D1,prependListener:RJ}});var SS=A((XRr,k1)=>{"use strict";var{SymbolDispose:MNt}=Tr(),{AbortError:CTe,codes:UNt}=as(),{isNodeStream:bTe,isWebStream:qNt,kControllerErrorFunction:GNt}=Vl(),HNt=pd(),{ERR_INVALID_ARG_TYPE:wTe}=UNt,DJ,VNt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new wTe(e,"AbortSignal",t)},"validateAbortSignal");k1.exports.addAbortSignal=o(function(e,r){if(VNt(e,"signal"),!bTe(r)&&!qNt(r))throw new wTe("stream",["ReadableStream","WritableStream","Stream"],r);return k1.exports.addAbortSignalNoValidate(e,r)},"addAbortSignal");k1.exports.addAbortSignalNoValidate=function(t,e){if(typeof t!="object"||!("aborted"in t))return e;let r=bTe(e)?()=>{e.destroy(new CTe(void 0,{cause:t.reason}))}:()=>{e[GNt](new CTe(void 0,{cause:t.reason}))};if(t.aborted)r();else{DJ=DJ||Di().addAbortListener;let n=DJ(t,r);HNt(e,n[MNt])}return e}});var BTe=A((t2r,STe)=>{"use strict";var{StringPrototypeSlice:ITe,SymbolIterator:zNt,TypedArrayPrototypeSet:P1,Uint8Array:$Nt}=Tr(),{Buffer:QJ}=require("buffer"),{inspect:jNt}=Di();STe.exports=class{static{o(this,"BufferList")}constructor(){this.head=null,this.tail=null,this.length=0}push(e){let r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){let r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;let e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return QJ.alloc(0);let r=QJ.allocUnsafe(e>>>0),n=this.head,i=0;for(;n;)P1(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(e,r){let n=this.head.data;if(e<n.length){let i=n.slice(0,e);return this.head.data=n.slice(e),i}return e===n.length?this.shift():r?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[zNt](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let r="",n=this.head,i=0;do{let s=n.data;if(e>s.length)r+=s,e-=s.length;else{e===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=ITe(s,0,e),this.head=n,n.data=ITe(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=QJ.allocUnsafe(e),n=e,i=this.head,s=0;do{let a=i.data;if(e>a.length)P1(r,a,n-e),e-=a.length;else{e===a.length?(P1(r,a,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(P1(r,new $Nt(a.buffer,a.byteOffset,e),n-e),this.head=i,i.data=a.slice(e));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return jNt(this,{...r,depth:0,customInspect:!1})}}});var BS=A((n2r,_Te)=>{"use strict";var{MathFloor:WNt,NumberIsInteger:JNt}=Tr(),{validateInteger:YNt}=vE(),{ERR_INVALID_ARG_VALUE:KNt}=as().codes,xTe=16*1024,vTe=16;function XNt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(XNt,"highWaterMarkFrom");function NTe(t){return t?vTe:xTe}o(NTe,"getDefaultHighWaterMark");function ZNt(t,e){YNt(e,"value",0),t?vTe=e:xTe=e}o(ZNt,"setDefaultHighWaterMark");function e_t(t,e,r,n){let i=XNt(e,n,r);if(i!=null){if(!JNt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new KNt(s,i)}return WNt(i)}return NTe(t.objectMode)}o(e_t,"getHighWaterMark");_Te.exports={getHighWaterMark:e_t,getDefaultHighWaterMark:NTe,setDefaultHighWaterMark:ZNt}});var kJ=A((s2r,QTe)=>{"use strict";var TTe=Gf(),{PromisePrototypeThen:t_t,SymbolAsyncIterator:RTe,SymbolIterator:DTe}=Tr(),{Buffer:r_t}=require("buffer"),{ERR_INVALID_ARG_TYPE:n_t,ERR_STREAM_NULL_VALUES:i_t}=as().codes;function s_t(t,e,r){let n;if(typeof e=="string"||e instanceof r_t)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[RTe])i=!0,n=e[RTe]();else if(e&&e[DTe])i=!1,n=e[DTe]();else throw new n_t("iterable",["Iterable"],e);let s=new t({objectMode:!0,highWaterMark:1,...r}),a=!1;s._read=function(){a||(a=!0,l())},s._destroy=function(u,d){t_t(c(u),()=>TTe.nextTick(d,u),f=>TTe.nextTick(d,f||u))};async function c(u){let d=u!=null,f=typeof n.throw=="function";if(d&&f){let{value:h,done:p}=await n.throw(u);if(await h,p)return}if(typeof n.return=="function"){let{value:h}=await n.return();await h}}o(c,"close");async function l(){for(;;){try{let{value:u,done:d}=i?await n.next():n.next();if(d)s.push(null);else{let f=u&&typeof u.then=="function"?await u:u;if(f===null)throw a=!1,new i_t;if(s.push(f))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o(s_t,"from");QTe.exports=s_t});var vS=A((a2r,KTe)=>{var gc=Gf(),{ArrayPrototypeIndexOf:o_t,NumberIsInteger:a_t,NumberIsNaN:c_t,NumberParseInt:l_t,ObjectDefineProperties:GJ,ObjectKeys:u_t,ObjectSetPrototypeOf:OTe,Promise:LTe,SafeSet:d_t,SymbolAsyncDispose:f_t,SymbolAsyncIterator:h_t,Symbol:p_t}=Tr();KTe.exports=ot;ot.ReadableState=M1;var{EventEmitter:A_t}=require("events"),{Stream:Vf,prependListener:m_t}=Q1(),{Buffer:PJ}=require("buffer"),{addAbortSignal:g_t}=SS(),FTe=pd(),Et=Di().debuglog("stream",t=>{Et=t}),y_t=BTe(),RE=gA(),{getHighWaterMark:E_t,getDefaultHighWaterMark:C_t}=BS(),{aggregateTwoErrors:kTe,codes:{ERR_INVALID_ARG_TYPE:b_t,ERR_METHOD_NOT_IMPLEMENTED:w_t,ERR_OUT_OF_RANGE:I_t,ERR_STREAM_PUSH_AFTER_EOF:S_t,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:B_t},AbortError:x_t}=as(),{validateObject:v_t}=vE(),yA=p_t("kPaused"),{StringDecoder:MTe}=require("string_decoder"),N_t=kJ();OTe(ot.prototype,Vf.prototype);OTe(ot,Vf);var OJ=o(()=>{},"nop"),{errorOrDestroy:_E}=RE,TE=1,__t=2,UTe=4,xS=8,qTe=16,O1=32,L1=64,GTe=128,T_t=256,R_t=512,D_t=1024,UJ=2048,qJ=4096,Q_t=8192,k_t=16384,P_t=32768,HTe=65536,O_t=1<<17,L_t=1<<18;function Fn(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}o(Fn,"makeBitMapDescriptor");GJ(M1.prototype,{objectMode:Fn(TE),ended:Fn(__t),endEmitted:Fn(UTe),reading:Fn(xS),constructed:Fn(qTe),sync:Fn(O1),needReadable:Fn(L1),emittedReadable:Fn(GTe),readableListening:Fn(T_t),resumeScheduled:Fn(R_t),errorEmitted:Fn(D_t),emitClose:Fn(UJ),autoDestroy:Fn(qJ),destroyed:Fn(Q_t),closed:Fn(k_t),closeEmitted:Fn(P_t),multiAwaitDrain:Fn(HTe),readingMore:Fn(O_t),dataEmitted:Fn(L_t)});function M1(t,e,r){typeof r!="boolean"&&(r=e instanceof $l()),this.state=UJ|qJ|qTe|O1,t&&t.objectMode&&(this.state|=TE),r&&t&&t.readableObjectMode&&(this.state|=TE),this.highWaterMark=t?E_t(this,t,"readableHighWaterMark",r):C_t(!1),this.buffer=new y_t,this.length=0,this.pipes=[],this.flowing=null,this[yA]=null,t&&t.emitClose===!1&&(this.state&=~UJ),t&&t.autoDestroy===!1&&(this.state&=~qJ),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new MTe(t.encoding),this.encoding=t.encoding)}o(M1,"ReadableState");function ot(t){if(!(this instanceof ot))return new ot(t);let e=this instanceof $l();this._readableState=new M1(t,this,e),t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&!e&&g_t(t.signal,this)),Vf.call(this,t),RE.construct(this,()=>{this._readableState.needReadable&&F1(this,this._readableState)})}o(ot,"Readable");ot.prototype.destroy=RE.destroy;ot.prototype._undestroy=RE.undestroy;ot.prototype._destroy=function(t,e){e(t)};ot.prototype[A_t.captureRejectionSymbol]=function(t){this.destroy(t)};ot.prototype[f_t]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new x_t,this.destroy(t)),new LTe((e,r)=>FTe(this,n=>n&&n!==t?r(n):e(null)))};ot.prototype.push=function(t,e){return VTe(this,t,e,!1)};ot.prototype.unshift=function(t,e){return VTe(this,t,e,!0)};function VTe(t,e,r,n){Et("readableAddChunk",e);let i=t._readableState,s;if((i.state&TE)===0&&(typeof e=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=PJ.from(e,r).toString(i.encoding):(e=PJ.from(e,r),r=""))):e instanceof PJ?r="":Vf._isUint8Array(e)?(e=Vf._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new b_t("chunk",["string","Buffer","Uint8Array"],e))),s)_E(t,s);else if(e===null)i.state&=~xS,U_t(t,i);else if((i.state&TE)!==0||e&&e.length>0)if(n)if((i.state&UTe)!==0)_E(t,new B_t);else{if(i.destroyed||i.errored)return!1;LJ(t,i,e,!0)}else if(i.ended)_E(t,new S_t);else{if(i.destroyed||i.errored)return!1;i.state&=~xS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?LJ(t,i,e,!1):F1(t,i)):LJ(t,i,e,!1)}else n||(i.state&=~xS,F1(t,i));return!i.ended&&(i.length<i.highWaterMark||i.length===0)}o(VTe,"readableAddChunk");function LJ(t,e,r,n){e.flowing&&e.length===0&&!e.sync&&t.listenerCount("data")>0?((e.state&HTe)!==0?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),(e.state&L1)!==0&&U1(t)),F1(t,e)}o(LJ,"addChunk");ot.prototype.isPaused=function(){let t=this._readableState;return t[yA]===!0||t.flowing===!1};ot.prototype.setEncoding=function(t){let e=new MTe(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,n="";for(let i of r)n+=e.write(i);return r.clear(),n!==""&&r.push(n),this._readableState.length=n.length,this};var F_t=1073741824;function M_t(t){if(t>F_t)throw new I_t("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(M_t,"computeNewHighWaterMark");function PTe(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&TE)!==0?1:c_t(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}o(PTe,"howMuchToRead");ot.prototype.read=function(t){Et("read",t),t===void 0?t=NaN:a_t(t)||(t=l_t(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=M_t(t)),t!==0&&(e.state&=~GTe),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Et("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?FJ(this):U1(this),null;if(t=PTe(t,e),t===0&&e.ended)return e.length===0&&FJ(this),null;let n=(e.state&L1)!==0;if(Et("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,Et("length less than watermark",n)),e.ended||e.reading||e.destroyed||e.errored||!e.constructed)n=!1,Et("reading, ended or constructing",n);else if(n){Et("do read"),e.state|=xS|O1,e.length===0&&(e.state|=L1);try{this._read(e.highWaterMark)}catch(s){_E(this,s)}e.state&=~O1,e.reading||(t=PTe(r,e))}let i;return t>0?i=JTe(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&FJ(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function U_t(t,e){if(Et("onEofChunk"),!e.ended){if(e.decoder){let r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?U1(t):(e.needReadable=!1,e.emittedReadable=!0,zTe(t))}}o(U_t,"onEofChunk");function U1(t){let e=t._readableState;Et("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Et("emitReadable",e.flowing),e.emittedReadable=!0,gc.nextTick(zTe,t))}o(U1,"emitReadable");function zTe(t){let e=t._readableState;Et("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&!e.errored&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,jTe(t)}o(zTe,"emitReadable_");function F1(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,gc.nextTick(q_t,t,e))}o(F1,"maybeReadMore");function q_t(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){let r=e.length;if(Et("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}o(q_t,"maybeReadMore_");ot.prototype._read=function(t){throw new w_t("_read()")};ot.prototype.pipe=function(t,e){let r=this,n=this._readableState;n.pipes.length===1&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new d_t(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(t),Et("pipe count=%d opts=%j",n.pipes.length,e);let s=(!e||e.end!==!1)&&t!==gc.stdout&&t!==gc.stderr?c:E;n.endEmitted?gc.nextTick(s):r.once("end",s),t.on("unpipe",a);function a(y,C){Et("onunpipe"),y===r&&C&&C.hasUnpiped===!1&&(C.hasUnpiped=!0,d())}o(a,"onunpipe");function c(){Et("onend"),t.end()}o(c,"onend");let l,u=!1;function d(){Et("cleanup"),t.removeListener("close",m),t.removeListener("finish",g),l&&t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",E),r.removeListener("data",h),u=!0,l&&n.awaitDrainWriters&&(!t._writableState||t._writableState.needDrain)&&l()}o(d,"cleanup");function f(){u||(n.pipes.length===1&&n.pipes[0]===t?(Et("false write response, pause",0),n.awaitDrainWriters=t,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(t)&&(Et("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),l||(l=G_t(r,t),t.on("drain",l))}o(f,"pause"),r.on("data",h);function h(y){Et("ondata");let C=t.write(y);Et("dest.write",C),C===!1&&f()}o(h,"ondata");function p(y){if(Et("onerror",y),E(),t.removeListener("error",p),t.listenerCount("error")===0){let C=t._writableState||t._readableState;C&&!C.errorEmitted?_E(t,y):t.emit("error",y)}}o(p,"onerror"),m_t(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){Et("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){Et("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),t.writableNeedDrain===!0?f():n.flowing||(Et("pipe resume"),r.resume()),t};function G_t(t,e){return o(function(){let n=t._readableState;n.awaitDrainWriters===e?(Et("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(Et("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()},"pipeOnDrainFunctionResult")}o(G_t,"pipeOnDrain");ot.prototype.unpipe=function(t){let e=this._readableState,r={hasUnpiped:!1};if(e.pipes.length===0)return this;if(!t){let i=e.pipes;e.pipes=[],this.pause();for(let s=0;s<i.length;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}let n=o_t(e.pipes,t);return n===-1?this:(e.pipes.splice(n,1),e.pipes.length===0&&this.pause(),t.emit("unpipe",this,r),this)};ot.prototype.on=function(t,e){let r=Vf.prototype.on.call(this,t,e),n=this._readableState;return t==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,Et("on readable",n.length,n.reading),n.length?U1(this):n.reading||gc.nextTick(H_t,this)),r};ot.prototype.addListener=ot.prototype.on;ot.prototype.removeListener=function(t,e){let r=Vf.prototype.removeListener.call(this,t,e);return t==="readable"&&gc.nextTick($Te,this),r};ot.prototype.off=ot.prototype.removeListener;ot.prototype.removeAllListeners=function(t){let e=Vf.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&gc.nextTick($Te,this),e};function $Te(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[yA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o($Te,"updateReadableListening");function H_t(t){Et("readable nexttick read 0"),t.read(0)}o(H_t,"nReadingNextTick");ot.prototype.resume=function(){let t=this._readableState;return t.flowing||(Et("resume"),t.flowing=!t.readableListening,V_t(this,t)),t[yA]=!1,this};function V_t(t,e){e.resumeScheduled||(e.resumeScheduled=!0,gc.nextTick(z_t,t,e))}o(V_t,"resume");function z_t(t,e){Et("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),jTe(t),e.flowing&&!e.reading&&t.read(0)}o(z_t,"resume_");ot.prototype.pause=function(){return Et("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Et("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[yA]=!0,this};function jTe(t){let e=t._readableState;for(Et("flow",e.flowing);e.flowing&&t.read()!==null;);}o(jTe,"flow");ot.prototype.wrap=function(t){let e=!1;t.on("data",n=>{!this.push(n)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",n=>{_E(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=u_t(t);for(let n=1;n<r.length;n++){let i=r[n];this[i]===void 0&&typeof t[i]=="function"&&(this[i]=t[i].bind(t))}return this};ot.prototype[h_t]=function(){return WTe(this)};ot.prototype.iterator=function(t){return t!==void 0&&v_t(t,"options"),WTe(this,t)};function WTe(t,e){typeof t.read!="function"&&(t=ot.wrap(t,{objectMode:!0}));let r=$_t(t,e);return r.stream=t,r}o(WTe,"streamToAsyncIterator");async function*$_t(t,e){let r=OJ;function n(a){this===t?(r(),r=OJ):r=a}o(n,"next"),t.on("readable",n);let i,s=FTe(t,{writable:!1},a=>{i=a?kTe(i,a):null,r(),r=OJ});try{for(;;){let a=t.destroyed?null:t.read();if(a!==null)yield a;else{if(i)throw i;if(i===null)return;await new LTe(n)}}}catch(a){throw i=kTe(i,a),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?RE.destroyer(t,null):(t.off("readable",n),s())}}o($_t,"createAsyncIterator");GJ(ot.prototype,{readable:{__proto__:null,get(){let t=this._readableState;return!!t&&t.readable!==!1&&!t.destroyed&&!t.errorEmitted&&!t.endEmitted},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.dataEmitted},"get")},readableAborted:{__proto__:null,enumerable:!1,get:o(function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)},"get")},readableHighWaterMark:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.highWaterMark},"get")},readableBuffer:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState&&this._readableState.buffer},"get")},readableFlowing:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.flowing},"get"),set:o(function(t){this._readableState&&(this._readableState.flowing=t)},"set")},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});GJ(M1.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[yA]!==!1},set(t){this[yA]=!!t}}});ot._fromList=JTe;function JTe(t,e){if(e.length===0)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}o(JTe,"fromList");function FJ(t){let e=t._readableState;Et("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,gc.nextTick(j_t,e,t))}o(FJ,"endReadable");function j_t(t,e){if(Et("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&t.length===0){if(t.endEmitted=!0,e.emit("end"),e.writable&&e.allowHalfOpen===!1)gc.nextTick(W_t,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(j_t,"endReadableNT");function W_t(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o(W_t,"endWritableNT");ot.from=function(t,e){return N_t(ot,t,e)};var MJ;function YTe(){return MJ===void 0&&(MJ={}),MJ}o(YTe,"lazyWebStreams");ot.fromWeb=function(t,e){return YTe().newStreamReadableFromReadableStream(t,e)};ot.toWeb=function(t,e){return YTe().newReadableStreamFromStreamReadable(t,e)};ot.wrap=function(t,e){var r,n;return new ot({objectMode:(r=(n=t.readableObjectMode)!==null&&n!==void 0?n:t.objectMode)!==null&&r!==void 0?r:!0,...e,destroy(i,s){RE.destroyer(t,i),s(i)}}).wrap(t)}});var z1=A((l2r,lRe)=>{var EA=Gf(),{ArrayPrototypeSlice:eRe,Error:J_t,FunctionPrototypeSymbolHasInstance:tRe,ObjectDefineProperty:rRe,ObjectDefineProperties:Y_t,ObjectSetPrototypeOf:nRe,StringPrototypeToLowerCase:K_t,Symbol:X_t,SymbolHasInstance:Z_t}=Tr();lRe.exports=Rr;Rr.WritableState=TS;var{EventEmitter:eTt}=require("events"),NS=Q1().Stream,{Buffer:q1}=require("buffer"),V1=gA(),{addAbortSignal:tTt}=SS(),{getHighWaterMark:rTt,getDefaultHighWaterMark:nTt}=BS(),{ERR_INVALID_ARG_TYPE:iTt,ERR_METHOD_NOT_IMPLEMENTED:sTt,ERR_MULTIPLE_CALLBACK:iRe,ERR_STREAM_CANNOT_PIPE:oTt,ERR_STREAM_DESTROYED:_S,ERR_STREAM_ALREADY_FINISHED:aTt,ERR_STREAM_NULL_VALUES:cTt,ERR_STREAM_WRITE_AFTER_END:lTt,ERR_UNKNOWN_ENCODING:sRe}=as().codes,{errorOrDestroy:DE}=V1;nRe(Rr.prototype,NS.prototype);nRe(Rr,NS);function zJ(){}o(zJ,"nop");var QE=X_t("kOnFinished");function TS(t,e,r){typeof r!="boolean"&&(r=e instanceof $l()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?rTt(this,t,"writableHighWaterMark",r):nTt(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let n=!!(t&&t.decodeStrings===!1);this.decodeStrings=!n,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=dTt.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,H1(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||t.emitClose!==!1,this.autoDestroy=!t||t.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[QE]=[]}o(TS,"WritableState");function H1(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(H1,"resetBuffer");TS.prototype.getBuffer=o(function(){return eRe(this.buffered,this.bufferedIndex)},"getBuffer");rRe(TS.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Rr(t){let e=this instanceof $l();if(!e&&!tRe(Rr,this))return new Rr(t);this._writableState=new TS(t,this,e),t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&tTt(t.signal,this)),NS.call(this,t),V1.construct(this,()=>{let r=this._writableState;r.writing||jJ(this,r),WJ(this,r)})}o(Rr,"Writable");rRe(Rr,Z_t,{__proto__:null,value:o(function(t){return tRe(this,t)?!0:this!==Rr?!1:t&&t._writableState instanceof TS},"value")});Rr.prototype.pipe=function(){DE(this,new oTt)};function oRe(t,e,r,n){let i=t._writableState;if(typeof r=="function")n=r,r=i.defaultEncoding;else{if(!r)r=i.defaultEncoding;else if(r!=="buffer"&&!q1.isEncoding(r))throw new sRe(r);typeof n!="function"&&(n=zJ)}if(e===null)throw new cTt;if(!i.objectMode)if(typeof e=="string")i.decodeStrings!==!1&&(e=q1.from(e,r),r="buffer");else if(e instanceof q1)r="buffer";else if(NS._isUint8Array(e))e=NS._uint8ArrayToBuffer(e),r="buffer";else throw new iTt("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new lTt:i.destroyed&&(s=new _S("write")),s?(EA.nextTick(n,s),DE(t,s,!0),s):(i.pendingcb++,uTt(t,i,e,r,n))}o(oRe,"_write");Rr.prototype.write=function(t,e,r){return oRe(this,t,e,r)===!0};Rr.prototype.cork=function(){this._writableState.corked++};Rr.prototype.uncork=function(){let t=this._writableState;t.corked&&(t.corked--,t.writing||jJ(this,t))};Rr.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=K_t(e)),!q1.isEncoding(e))throw new sRe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function uTt(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let a=e.length<e.highWaterMark;return a||(e.needDrain=!0),e.writing||e.corked||e.errored||!e.constructed?(e.buffered.push({chunk:r,encoding:n,callback:i}),e.allBuffers&&n!=="buffer"&&(e.allBuffers=!1),e.allNoop&&i!==zJ&&(e.allNoop=!1)):(e.writelen=s,e.writecb=i,e.writing=!0,e.sync=!0,t._write(r,n,e.onwrite),e.sync=!1),a&&!e.errored&&!e.destroyed}o(uTt,"writeOrBuffer");function XTe(t,e,r,n,i,s,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new _S("write")):r?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}o(XTe,"doWrite");function ZTe(t,e,r,n){--e.pendingcb,n(r),$J(e),DE(t,r)}o(ZTe,"onwriteError");function dTt(t,e){let r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function"){DE(t,new iRe);return}r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,e?(e.stack,r.errored||(r.errored=e),t._readableState&&!t._readableState.errored&&(t._readableState.errored=e),n?EA.nextTick(ZTe,t,r,e,i):ZTe(t,r,e,i)):(r.buffered.length>r.bufferedIndex&&jJ(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},EA.nextTick(fTt,r.afterWriteTickInfo)):aRe(t,r,1,i))}o(dTt,"onwrite");function fTt({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,aRe(t,e,r,n)}o(fTt,"afterWriteTick");function aRe(t,e,r,n){for(!e.ending&&!t.destroyed&&e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&$J(e),WJ(t,e)}o(aRe,"afterWrite");function $J(t){if(t.writing)return;for(let i=t.bufferedIndex;i<t.buffered.length;++i){var e;let{chunk:s,callback:a}=t.buffered[i],c=t.objectMode?1:s.length;t.length-=c,a((e=t.errored)!==null&&e!==void 0?e:new _S("write"))}let r=t[QE].splice(0);for(let i=0;i<r.length;i++){var n;r[i]((n=t.errored)!==null&&n!==void 0?n:new _S("end"))}H1(t)}o($J,"errorBuffer");function jJ(t,e){if(e.corked||e.bufferProcessing||e.destroyed||!e.constructed)return;let{buffered:r,bufferedIndex:n,objectMode:i}=e,s=r.length-n;if(!s)return;let a=n;if(e.bufferProcessing=!0,s>1&&t._writev){e.pendingcb-=s-1;let c=e.allNoop?zJ:u=>{for(let d=a;d<r.length;++d)r[d].callback(u)},l=e.allNoop&&a===0?r:eRe(r,a);l.allBuffers=e.allBuffers,XTe(t,e,!0,e.length,l,"",c),H1(e)}else{do{let{chunk:c,encoding:l,callback:u}=r[a];r[a++]=null;let d=i?1:c.length;XTe(t,e,!1,d,c,l,u)}while(a<r.length&&!e.writing);a===r.length?H1(e):a>256?(r.splice(0,a),e.bufferedIndex=0):e.bufferedIndex=a}e.bufferProcessing=!1}o(jJ,"clearBuffer");Rr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new sTt("_write()")};Rr.prototype._writev=null;Rr.prototype.end=function(t,e,r){let n=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let i;if(t!=null){let s=oRe(this,t,e);s instanceof J_t&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,WJ(this,n,!0),n.ended=!0):n.finished?i=new aTt("end"):n.destroyed&&(i=new _S("end"))),typeof r=="function"&&(i||n.finished?EA.nextTick(r,i):n[QE].push(r)),this};function G1(t){return t.ending&&!t.destroyed&&t.constructed&&t.length===0&&!t.errored&&t.buffered.length===0&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}o(G1,"needFinish");function hTt(t,e){let r=!1;function n(i){if(r){DE(t,i??iRe());return}if(r=!0,e.pendingcb--,i){let s=e[QE].splice(0);for(let a=0;a<s.length;a++)s[a](i);DE(t,i,e.sync)}else G1(e)&&(e.prefinished=!0,t.emit("prefinish"),e.pendingcb++,EA.nextTick(VJ,t,e))}o(n,"onFinish"),e.sync=!0,e.pendingcb++;try{t._final(n)}catch(i){n(i)}e.sync=!1}o(hTt,"callFinal");function pTt(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.finalCalled=!0,hTt(t,e)):(e.prefinished=!0,t.emit("prefinish")))}o(pTt,"prefinish");function WJ(t,e,r){G1(e)&&(pTt(t,e),e.pendingcb===0&&(r?(e.pendingcb++,EA.nextTick((n,i)=>{G1(i)?VJ(n,i):i.pendingcb--},t,e)):G1(e)&&(e.pendingcb++,VJ(t,e))))}o(WJ,"finishMaybe");function VJ(t,e){e.pendingcb--,e.finished=!0;let r=e[QE].splice(0);for(let n=0;n<r.length;n++)r[n]();if(t.emit("finish"),e.autoDestroy){let n=t._readableState;(!n||n.autoDestroy&&(n.endEmitted||n.readable===!1))&&t.destroy()}}o(VJ,"finish");Y_t(Rr.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(t){this._writableState&&(this._writableState.destroyed=t)}},writable:{__proto__:null,get(){let t=this._writableState;return!!t&&t.writable!==!1&&!t.destroyed&&!t.errored&&!t.ending&&!t.ended},set(t){this._writableState&&(this._writableState.writable=!!t)}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let t=this._writableState;return t?!t.destroyed&&!t.ending&&t.needDrain:!1}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:o(function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)},"get")}});var ATt=V1.destroy;Rr.prototype.destroy=function(t,e){let r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[QE].length)&&EA.nextTick($J,r),ATt.call(this,t,e),this};Rr.prototype._undestroy=V1.undestroy;Rr.prototype._destroy=function(t,e){e(t)};Rr.prototype[eTt.captureRejectionSymbol]=function(t){this.destroy(t)};var HJ;function cRe(){return HJ===void 0&&(HJ={}),HJ}o(cRe,"lazyWebStreams");Rr.fromWeb=function(t,e){return cRe().newStreamWritableFromWritableStream(t,e)};Rr.toWeb=function(t){return cRe().newWritableStreamFromStreamWritable(t)}});var SRe=A((d2r,IRe)=>{var JJ=Gf(),mTt=require("buffer"),{isReadable:gTt,isWritable:yTt,isIterable:uRe,isNodeStream:ETt,isReadableNodeStream:dRe,isWritableNodeStream:fRe,isDuplexNodeStream:CTt,isReadableStream:hRe,isWritableStream:pRe}=Vl(),ARe=pd(),{AbortError:bRe,codes:{ERR_INVALID_ARG_TYPE:bTt,ERR_INVALID_RETURN_VALUE:mRe}}=as(),{destroyer:PE}=gA(),wTt=$l(),wRe=vS(),ITt=z1(),{createDeferredPromise:gRe}=Di(),yRe=kJ(),ERe=globalThis.Blob||mTt.Blob,STt=o(typeof ERe<"u"?function(e){return e instanceof ERe}:function(e){return!1},"isBlob"),BTt=globalThis.AbortController||BE().AbortController,{FunctionPrototypeCall:CRe}=Tr(),zf=class extends wTt{static{o(this,"Duplexify")}constructor(e){super(e),e?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),e?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};IRe.exports=o(function t(e,r){if(CTt(e))return e;if(dRe(e))return kE({readable:e});if(fRe(e))return kE({writable:e});if(ETt(e))return kE({writable:!1,readable:!1});if(hRe(e))return kE({readable:wRe.fromWeb(e)});if(pRe(e))return kE({writable:ITt.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=xTt(e);if(uRe(i))return yRe(zf,i,{objectMode:!0,write:s,final:a,destroy:c});let l=i?.then;if(typeof l=="function"){let u,d=CRe(l,i,f=>{if(f!=null)throw new mRe("nully","body",f)},f=>{PE(u,f)});return u=new zf({objectMode:!0,readable:!1,write:s,final(f){a(async()=>{try{await d,JJ.nextTick(f,null)}catch(h){JJ.nextTick(f,h)}})},destroy:c})}throw new mRe("Iterable, AsyncIterable or AsyncFunction",r,i)}if(STt(e))return t(e.arrayBuffer());if(uRe(e))return yRe(zf,e,{objectMode:!0,writable:!1});if(hRe(e?.readable)&&pRe(e?.writable))return zf.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?dRe(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?fRe(e?.writable)?e?.writable:t(e.writable):void 0;return kE({readable:i,writable:s})}let n=e?.then;if(typeof n=="function"){let i;return CRe(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{PE(i,s)}),i=new zf({objectMode:!0,writable:!1,read(){}})}throw new bTt(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function xTt(t){let{promise:e,resolve:r}=gRe(),n=new BTt,i=n.signal;return{value:t((async function*(){for(;;){let a=e;e=null;let{chunk:c,done:l,cb:u}=await a;if(JJ.nextTick(u),l)return;if(i.aborted)throw new bRe(void 0,{cause:i.reason});({promise:e,resolve:r}=gRe()),yield c}})(),{signal:i}),write(a,c,l){let u=r;r=null,u({chunk:a,done:!1,cb:l})},final(a){let c=r;r=null,c({done:!0,cb:a})},destroy(a,c){n.abort(),c(a)}}}o(xTt,"fromAsyncGen");function kE(t){let e=t.readable&&typeof t.readable.read!="function"?wRe.wrap(t.readable):t.readable,r=t.writable,n=!!gTt(e),i=!!yTt(r),s,a,c,l,u;function d(f){let h=l;l=null,h?h(f):f&&u.destroy(f)}return o(d,"onfinished"),u=new zf({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(ARe(r,f=>{i=!1,f&&PE(e,f),d(f)}),u._write=function(f,h,p){r.write(f,h)?p():s=p},u._final=function(f){r.end(),a=f},r.on("drain",function(){if(s){let f=s;s=null,f()}}),r.on("finish",function(){if(a){let f=a;a=null,f()}})),n&&(ARe(e,f=>{n=!1,f&&PE(e,f),d(f)}),e.on("readable",function(){if(c){let f=c;c=null,f()}}),e.on("end",function(){u.push(null)}),u._read=function(){for(;;){let f=e.read();if(f===null){c=u._read;return}if(!u.push(f))return}}),u._destroy=function(f,h){!f&&l!==null&&(f=new bRe),c=null,s=null,a=null,l===null?h(f):(l=h,PE(r,f),PE(e,f))},u}o(kE,"_duplexify")});var $l=A((h2r,vRe)=>{"use strict";var{ObjectDefineProperties:vTt,ObjectGetOwnPropertyDescriptor:Ad,ObjectKeys:NTt,ObjectSetPrototypeOf:BRe}=Tr();vRe.exports=yc;var XJ=vS(),Ia=z1();BRe(yc.prototype,XJ.prototype);BRe(yc,XJ);{let t=NTt(Ia.prototype);for(let e=0;e<t.length;e++){let r=t[e];yc.prototype[r]||(yc.prototype[r]=Ia.prototype[r])}}function yc(t){if(!(this instanceof yc))return new yc(t);XJ.call(this,t),Ia.call(this,t),t?(this.allowHalfOpen=t.allowHalfOpen!==!1,t.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),t.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}o(yc,"Duplex");vTt(yc.prototype,{writable:{__proto__:null,...Ad(Ia.prototype,"writable")},writableHighWaterMark:{__proto__:null,...Ad(Ia.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...Ad(Ia.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...Ad(Ia.prototype,"writableBuffer")},writableLength:{__proto__:null,...Ad(Ia.prototype,"writableLength")},writableFinished:{__proto__:null,...Ad(Ia.prototype,"writableFinished")},writableCorked:{__proto__:null,...Ad(Ia.prototype,"writableCorked")},writableEnded:{__proto__:null,...Ad(Ia.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...Ad(Ia.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(t){this._readableState&&this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}});var YJ;function xRe(){return YJ===void 0&&(YJ={}),YJ}o(xRe,"lazyWebStreams");yc.fromWeb=function(t,e){return xRe().newStreamDuplexFromReadableWritablePair(t,e)};yc.toWeb=function(t){return xRe().newReadableWritablePairFromDuplex(t)};var KJ;yc.from=function(t){return KJ||(KJ=SRe()),KJ(t,"body")}});var t9=A((A2r,_Re)=>{"use strict";var{ObjectSetPrototypeOf:NRe,Symbol:_Tt}=Tr();_Re.exports=md;var{ERR_METHOD_NOT_IMPLEMENTED:TTt}=as().codes,e9=$l(),{getHighWaterMark:RTt}=BS();NRe(md.prototype,e9.prototype);NRe(md,e9);var RS=_Tt("kCallback");function md(t){if(!(this instanceof md))return new md(t);let e=t?RTt(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),e9.call(this,t),this._readableState.sync=!1,this[RS]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",DTt)}o(md,"Transform");function ZJ(t){typeof this._flush=="function"&&!this.destroyed?this._flush((e,r)=>{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}o(ZJ,"final");function DTt(){this._final!==ZJ&&ZJ.call(this)}o(DTt,"prefinish");md.prototype._final=ZJ;md.prototype._transform=function(t,e,r){throw new TTt("_transform()")};md.prototype._write=function(t,e,r){let n=this._readableState,i=this._writableState,s=n.length;this._transform(t,e,(a,c)=>{if(a){r(a);return}c!=null&&this.push(c),i.ended||s===n.length||n.length<n.highWaterMark?r():this[RS]=r})};md.prototype._read=function(){if(this[RS]){let t=this[RS];this[RS]=null,t()}}});var n9=A((g2r,RRe)=>{"use strict";var{ObjectSetPrototypeOf:TRe}=Tr();RRe.exports=OE;var r9=t9();TRe(OE.prototype,r9.prototype);TRe(OE,r9);function OE(t){if(!(this instanceof OE))return new OE(t);r9.call(this,t)}o(OE,"PassThrough");OE.prototype._transform=function(t,e,r){r(null,t)}});var J1=A((E2r,ORe)=>{var DS=Gf(),{ArrayIsArray:QTt,Promise:kTt,SymbolAsyncIterator:PTt,SymbolDispose:OTt}=Tr(),W1=pd(),{once:LTt}=Di(),FTt=gA(),DRe=$l(),{aggregateTwoErrors:MTt,codes:{ERR_INVALID_ARG_TYPE:f9,ERR_INVALID_RETURN_VALUE:i9,ERR_MISSING_ARGS:UTt,ERR_STREAM_DESTROYED:qTt,ERR_STREAM_PREMATURE_CLOSE:GTt},AbortError:HTt}=as(),{validateFunction:VTt,validateAbortSignal:zTt}=vE(),{isIterable:CA,isReadable:s9,isReadableNodeStream:j1,isNodeStream:QRe,isTransformStream:LE,isWebStream:$Tt,isReadableStream:o9,isReadableFinished:jTt}=Vl(),WTt=globalThis.AbortController||BE().AbortController,a9,c9,l9;function kRe(t,e,r){let n=!1;t.on("close",()=>{n=!0});let i=W1(t,{readable:e,writable:r},s=>{n=!s});return{destroy:o(s=>{n||(n=!0,FTt.destroyer(t,s||new qTt("pipe")))},"destroy"),cleanup:i}}o(kRe,"destroyer");function JTt(t){return VTt(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(JTt,"popCallback");function u9(t){if(CA(t))return t;if(j1(t))return YTt(t);throw new f9("val",["Readable","Iterable","AsyncIterable"],t)}o(u9,"makeAsyncIterable");async function*YTt(t){c9||(c9=vS()),yield*c9.prototype[PTt].call(t)}o(YTt,"fromReadable");async function $1(t,e,r,{end:n}){let i,s=null,a=o(u=>{if(u&&(i=u),s){let d=s;s=null,d()}},"resume"),c=o(()=>new kTt((u,d)=>{i?d(i):s=o(()=>{i?d(i):u()},"onresolve")}),"wait");e.on("drain",a);let l=W1(e,{readable:!1},a);try{e.writableNeedDrain&&await c();for await(let u of t)e.write(u)||await c();n&&(e.end(),await c()),r()}catch(u){r(i!==u?MTt(i,u):u)}finally{l(),e.off("drain",a)}}o($1,"pumpToNode");async function d9(t,e,r,{end:n}){LE(e)&&(e=e.writable);let i=e.getWriter();try{for await(let s of t)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(a){r(a)}}}o(d9,"pumpToWeb");function KTt(...t){return PRe(t,LTt(JTt(t)))}o(KTt,"pipeline");function PRe(t,e,r){if(t.length===1&&QTt(t[0])&&(t=t[0]),t.length<2)throw new UTt("streams");let n=new WTt,i=n.signal,s=r?.signal,a=[];zTt(s,"options.signal");function c(){m(new HTt)}o(c,"abort"),l9=l9||Di().addAbortListener;let l;s&&(l=l9(s,c));let u,d,f=[],h=0;function p(w){m(w,--h===0)}o(p,"finish");function m(w,B){var Q;if(w&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=w),!(!u&&!B)){for(;f.length;)f.shift()(u);(Q=l)===null||Q===void 0||Q[OTt](),n.abort(),B&&(u||a.forEach(q=>q()),DS.nextTick(e,u,d))}}o(m,"finishImpl");let g;for(let w=0;w<t.length;w++){let B=t[w],Q=w<t.length-1,q=w>0,v=Q||r?.end!==!1,$=w===t.length-1;if(QRe(B)){let R=function(H){H&&H.name!=="AbortError"&&H.code!=="ERR_STREAM_PREMATURE_CLOSE"&&p(H)};var C=R;if(o(R,"onError"),v){let{destroy:H,cleanup:V}=kRe(B,Q,q);f.push(H),s9(B)&&$&&a.push(V)}B.on("error",R),s9(B)&&$&&a.push(()=>{B.removeListener("error",R)})}if(w===0)if(typeof B=="function"){if(g=B({signal:i}),!CA(g))throw new i9("Iterable, AsyncIterable or Stream","source",g)}else CA(B)||j1(B)||LE(B)?g=B:g=DRe.from(B);else if(typeof B=="function"){if(LE(g)){var E;g=u9((E=g)===null||E===void 0?void 0:E.readable)}else g=u9(g);if(g=B(g,{signal:i}),Q){if(!CA(g,!0))throw new i9("AsyncIterable",`transform[${w-1}]`,g)}else{var y;a9||(a9=n9());let R=new a9({objectMode:!0}),H=(y=g)===null||y===void 0?void 0:y.then;if(typeof H=="function")h++,H.call(g,ee=>{d=ee,ee!=null&&R.write(ee),v&&R.end(),DS.nextTick(p)},ee=>{R.destroy(ee),DS.nextTick(p,ee)});else if(CA(g,!0))h++,$1(g,R,p,{end:v});else if(o9(g)||LE(g)){let ee=g.readable||g;h++,$1(ee,R,p,{end:v})}else throw new i9("AsyncIterable or Promise","destination",g);g=R;let{destroy:V,cleanup:J}=kRe(g,!1,!0);f.push(V),$&&a.push(J)}}else if(QRe(B)){if(j1(g)){h+=2;let R=XTt(g,B,p,{end:v});s9(B)&&$&&a.push(R)}else if(LE(g)||o9(g)){let R=g.readable||g;h++,$1(R,B,p,{end:v})}else if(CA(g))h++,$1(g,B,p,{end:v});else throw new f9("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else if($Tt(B)){if(j1(g))h++,d9(u9(g),B,p,{end:v});else if(o9(g)||CA(g))h++,d9(g,B,p,{end:v});else if(LE(g))h++,d9(g.readable,B,p,{end:v});else throw new f9("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else g=DRe.from(B)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&DS.nextTick(c),g}o(PRe,"pipelineImpl");function XTt(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new GTt)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),jTt(t)?DS.nextTick(a):t.once("end",a)}else r();return W1(t,{readable:!0,writable:!1},a=>{let c=t._readableState;a&&a.code==="ERR_STREAM_PREMATURE_CLOSE"&&c&&c.ended&&!c.errored&&!c.errorEmitted?t.once("end",r).once("error",r):r(a)}),W1(e,{readable:!1,writable:!0},r)}o(XTt,"pipe");ORe.exports={pipelineImpl:PRe,pipeline:KTt}});var p9=A((b2r,GRe)=>{"use strict";var{pipeline:ZTt}=J1(),Y1=$l(),{destroyer:eRt}=gA(),{isNodeStream:K1,isReadable:LRe,isWritable:FRe,isWebStream:h9,isTransformStream:bA,isWritableStream:MRe,isReadableStream:URe}=Vl(),{AbortError:tRt,codes:{ERR_INVALID_ARG_VALUE:qRe,ERR_MISSING_ARGS:rRt}}=as(),nRt=pd();GRe.exports=o(function(...e){if(e.length===0)throw new rRt("streams");if(e.length===1)return Y1.from(e[0]);let r=[...e];if(typeof e[0]=="function"&&(e[0]=Y1.from(e[0])),typeof e[e.length-1]=="function"){let p=e.length-1;e[p]=Y1.from(e[p])}for(let p=0;p<e.length;++p)if(!(!K1(e[p])&&!h9(e[p]))){if(p<e.length-1&&!(LRe(e[p])||URe(e[p])||bA(e[p])))throw new qRe(`streams[${p}]`,r[p],"must be readable");if(p>0&&!(FRe(e[p])||MRe(e[p])||bA(e[p])))throw new qRe(`streams[${p}]`,r[p],"must be writable")}let n,i,s,a,c;function l(p){let m=a;a=null,m?m(p):p?c.destroy(p):!h&&!f&&c.destroy()}o(l,"onfinished");let u=e[0],d=ZTt(e,l),f=!!(FRe(u)||MRe(u)||bA(u)),h=!!(LRe(d)||URe(d)||bA(d));if(c=new Y1({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(d!=null&&d.readableObjectMode),writable:f,readable:h}),f){if(K1(u))c._write=function(m,g,E){u.write(m,g)?E():n=E},c._final=function(m){u.end(),i=m},u.on("drain",function(){if(n){let m=n;n=null,m()}});else if(h9(u)){let g=(bA(u)?u.writable:u).getWriter();c._write=async function(E,y,C){try{await g.ready,g.write(E).catch(()=>{}),C()}catch(w){C(w)}},c._final=async function(E){try{await g.ready,g.close().catch(()=>{}),i=E}catch(y){E(y)}}}let p=bA(d)?d.readable:d;nRt(p,()=>{if(i){let m=i;i=null,m()}})}if(h){if(K1(d))d.on("readable",function(){if(s){let p=s;s=null,p()}}),d.on("end",function(){c.push(null)}),c._read=function(){for(;;){let p=d.read();if(p===null){s=c._read;return}if(!c.push(p))return}};else if(h9(d)){let m=(bA(d)?d.readable:d).getReader();c._read=async function(){for(;;)try{let{value:g,done:E}=await m.read();if(!c.push(g))return;if(E){c.push(null);return}}catch{return}}}}return c._destroy=function(p,m){!p&&a!==null&&(p=new tRt),s=null,n=null,i=null,a===null?m(p):(a=m,K1(d)&&eRt(d,p))},c},"compose")});var XRe=A((I2r,g9)=>{"use strict";var iRt=globalThis.AbortController||BE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:sRt,ERR_INVALID_ARG_TYPE:QS,ERR_MISSING_ARGS:oRt,ERR_OUT_OF_RANGE:aRt},AbortError:jl}=as(),{validateAbortSignal:wA,validateInteger:HRe,validateObject:IA}=vE(),cRt=Tr().Symbol("kWeak"),lRt=Tr().Symbol("kResistStopPropagation"),{finished:uRt}=pd(),dRt=p9(),{addAbortSignalNoValidate:fRt}=SS(),{isWritable:hRt,isNodeStream:pRt}=Vl(),{deprecate:ARt}=Di(),{ArrayPrototypePush:mRt,Boolean:gRt,MathFloor:VRe,Number:yRt,NumberIsNaN:ERt,Promise:zRe,PromiseReject:$Re,PromiseResolve:CRt,PromisePrototypeThen:jRe,Symbol:JRe}=Tr(),X1=JRe("kEmpty"),WRe=JRe("kEof");function bRt(t,e){if(e!=null&&IA(e,"options"),e?.signal!=null&&wA(e.signal,"options.signal"),pRt(t)&&!hRt(t))throw new sRt("stream",t,"must be writable");let r=dRt(this,t);return e!=null&&e.signal&&fRt(e.signal,r),r}o(bRt,"compose");function Z1(t,e){if(typeof t!="function")throw new QS("fn",["Function","AsyncFunction"],t);e!=null&&IA(e,"options"),e?.signal!=null&&wA(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=VRe(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=VRe(e.highWaterMark)),HRe(r,"options.concurrency",1),HRe(n,"options.highWaterMark",0),n+=r,o(async function*(){let s=Di().AbortSignalAny([e?.signal].filter(gRt)),a=this,c=[],l={signal:s},u,d,f=!1,h=0;function p(){f=!0,m()}o(p,"onCatch");function m(){h-=1,g()}o(m,"afterItemProcessed");function g(){d&&!f&&h<r&&c.length<n&&(d(),d=null)}o(g,"maybeResume");async function E(){try{for await(let y of a){if(f)return;if(s.aborted)throw new jl;try{if(y=t(y,l),y===X1)continue;y=CRt(y)}catch(C){y=$Re(C)}h+=1,jRe(y,m,p),c.push(y),u&&(u(),u=null),!f&&(c.length>=n||h>=r)&&await new zRe(C=>{d=C})}c.push(WRe)}catch(y){let C=$Re(y);jRe(C,m,p),c.push(C)}finally{f=!0,u&&(u(),u=null)}}o(E,"pump"),E();try{for(;;){for(;c.length>0;){let y=await c[0];if(y===WRe)return;if(s.aborted)throw new jl;y!==X1&&(yield y),c.shift(),g()}await new zRe(y=>{u=y})}}finally{f=!0,d&&(d(),d=null)}},"map").call(this)}o(Z1,"map");function wRt(t=void 0){return t!=null&&IA(t,"options"),t?.signal!=null&&wA(t.signal,"options.signal"),o(async function*(){let r=0;for await(let i of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new jl({cause:t.signal.reason});yield[r++,i]}},"asIndexedPairs").call(this)}o(wRt,"asIndexedPairs");async function YRe(t,e=void 0){for await(let r of m9.call(this,t,e))return!0;return!1}o(YRe,"some");async function IRt(t,e=void 0){if(typeof t!="function")throw new QS("fn",["Function","AsyncFunction"],t);return!await YRe.call(this,async(...r)=>!await t(...r),e)}o(IRt,"every");async function SRt(t,e){for await(let r of m9.call(this,t,e))return r}o(SRt,"find");async function BRt(t,e){if(typeof t!="function")throw new QS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),X1}o(r,"forEachFn");for await(let n of Z1.call(this,r,e));}o(BRt,"forEach");function m9(t,e){if(typeof t!="function")throw new QS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:X1}return o(r,"filterFn"),Z1.call(this,r,e)}o(m9,"filter");var A9=class extends oRt{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function xRt(t,e,r){var n;if(typeof t!="function")throw new QS("reducer",["Function","AsyncFunction"],t);r!=null&&IA(r,"options"),r?.signal!=null&&wA(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new jl(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await uRt(this.destroy(u)),u}let s=new iRt,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[cRt]:this,[lRt]:!0};r.signal.addEventListener("abort",()=>s.abort(),u)}let c=!1;try{for await(let u of this){var l;if(c=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new jl;i?e=await t(e,u,{signal:a}):(e=u,i=!0)}if(!c&&!i)throw new A9}finally{s.abort()}return e}o(xRt,"reduce");async function vRt(t){t!=null&&IA(t,"options"),t?.signal!=null&&wA(t.signal,"options.signal");let e=[];for await(let n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new jl(void 0,{cause:t.signal.reason});mRt(e,n)}return e}o(vRt,"toArray");function NRt(t,e){let r=Z1.call(this,t,e);return o(async function*(){for await(let i of r)yield*i},"flatMap").call(this)}o(NRt,"flatMap");function KRe(t){if(t=yRt(t),ERt(t))return 0;if(t<0)throw new aRt("number",">= 0",t);return t}o(KRe,"toIntegerOrInfinity");function _Rt(t,e=void 0){return e!=null&&IA(e,"options"),e?.signal!=null&&wA(e.signal,"options.signal"),t=KRe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new jl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new jl;t--<=0&&(yield s)}},"drop").call(this)}o(_Rt,"drop");function TRt(t,e=void 0){return e!=null&&IA(e,"options"),e?.signal!=null&&wA(e.signal,"options.signal"),t=KRe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new jl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new jl;if(t-- >0&&(yield s),t<=0)return}},"take").call(this)}o(TRt,"take");g9.exports.streamReturningOperators={asIndexedPairs:ARt(wRt,"readable.asIndexedPairs will be removed in a future version."),drop:_Rt,filter:m9,flatMap:NRt,map:Z1,take:TRt,compose:bRt};g9.exports.promiseReturningOperators={every:IRt,forEach:BRt,reduce:xRt,toArray:vRt,some:YRe,find:SRt}});var y9=A((B2r,ZRe)=>{"use strict";var{ArrayPrototypePop:RRt,Promise:DRt}=Tr(),{isIterable:QRt,isNodeStream:kRt,isWebStream:PRt}=Vl(),{pipelineImpl:ORt}=J1(),{finished:LRt}=pd();E9();function FRt(...t){return new DRt((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!kRt(s)&&!QRt(s)&&!PRt(s)){let a=RRt(t);n=a.signal,i=a.end}ORt(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(FRt,"pipeline");ZRe.exports={finished:LRt,pipeline:FRt}});var E9=A((v2r,c2e)=>{var{Buffer:MRt}=require("buffer"),{ObjectDefineProperty:gd,ObjectKeys:r2e,ReflectApply:n2e}=Tr(),{promisify:{custom:i2e}}=Di(),{streamReturningOperators:e2e,promiseReturningOperators:t2e}=XRe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:s2e}}=as(),URt=p9(),{setDefaultHighWaterMark:qRt,getDefaultHighWaterMark:GRt}=BS(),{pipeline:o2e}=J1(),{destroyer:HRt}=gA(),a2e=pd(),C9=y9(),kS=Vl(),fr=c2e.exports=Q1().Stream;fr.isDestroyed=kS.isDestroyed;fr.isDisturbed=kS.isDisturbed;fr.isErrored=kS.isErrored;fr.isReadable=kS.isReadable;fr.isWritable=kS.isWritable;fr.Readable=vS();for(let t of r2e(e2e)){let r=function(...n){if(new.target)throw s2e();return fr.Readable.from(n2e(e,this,n))};b9=r,o(r,"fn");let e=e2e[t];gd(r,"name",{__proto__:null,value:e.name}),gd(r,"length",{__proto__:null,value:e.length}),gd(fr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var b9;for(let t of r2e(t2e)){let r=function(...i){if(new.target)throw s2e();return n2e(e,this,i)};b9=r,o(r,"fn");let e=t2e[t];gd(r,"name",{__proto__:null,value:e.name}),gd(r,"length",{__proto__:null,value:e.length}),gd(fr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var b9;fr.Writable=z1();fr.Duplex=$l();fr.Transform=t9();fr.PassThrough=n9();fr.pipeline=o2e;var{addAbortSignal:VRt}=SS();fr.addAbortSignal=VRt;fr.finished=a2e;fr.destroy=HRt;fr.compose=URt;fr.setDefaultHighWaterMark=qRt;fr.getDefaultHighWaterMark=GRt;gd(fr,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return C9}});gd(o2e,i2e,{__proto__:null,enumerable:!0,get(){return C9.pipeline}});gd(a2e,i2e,{__proto__:null,enumerable:!0,get(){return C9.finished}});fr.Stream=fr;fr._isUint8Array=o(function(e){return e instanceof Uint8Array},"isUint8Array");fr._uint8ArrayToBuffer=o(function(e){return MRt.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var SA=A((_2r,pt)=>{"use strict";var Mn=require("stream");if(Mn&&process.env.READABLE_STREAM==="disable"){let t=Mn.promises;pt.exports._uint8ArrayToBuffer=Mn._uint8ArrayToBuffer,pt.exports._isUint8Array=Mn._isUint8Array,pt.exports.isDisturbed=Mn.isDisturbed,pt.exports.isErrored=Mn.isErrored,pt.exports.isReadable=Mn.isReadable,pt.exports.Readable=Mn.Readable,pt.exports.Writable=Mn.Writable,pt.exports.Duplex=Mn.Duplex,pt.exports.Transform=Mn.Transform,pt.exports.PassThrough=Mn.PassThrough,pt.exports.addAbortSignal=Mn.addAbortSignal,pt.exports.finished=Mn.finished,pt.exports.destroy=Mn.destroy,pt.exports.pipeline=Mn.pipeline,pt.exports.compose=Mn.compose,Object.defineProperty(Mn,"promises",{configurable:!0,enumerable:!0,get(){return t}}),pt.exports.Stream=Mn.Stream}else{let t=E9(),e=y9(),r=t.Readable.destroy;pt.exports=t.Readable,pt.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,pt.exports._isUint8Array=t._isUint8Array,pt.exports.isDisturbed=t.isDisturbed,pt.exports.isErrored=t.isErrored,pt.exports.isReadable=t.isReadable,pt.exports.Readable=t.Readable,pt.exports.Writable=t.Writable,pt.exports.Duplex=t.Duplex,pt.exports.Transform=t.Transform,pt.exports.PassThrough=t.PassThrough,pt.exports.addAbortSignal=t.addAbortSignal,pt.exports.finished=t.finished,pt.exports.destroy=t.destroy,pt.exports.destroy=r,pt.exports.pipeline=t.pipeline,pt.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),pt.exports.Stream=t.Stream}pt.exports.default=pt.exports});var u2e=A((T2r,l2e)=>{function zRt(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}o(zRt,"arrayPush");l2e.exports=zRt});var p2e=A((D2r,h2e)=>{var d2e=y1(),$Rt=aJ(),jRt=cJ(),f2e=d2e?d2e.isConcatSpreadable:void 0;function WRt(t){return jRt(t)||$Rt(t)||!!(f2e&&t&&t[f2e])}o(WRt,"isFlattenable");h2e.exports=WRt});var ek=A((k2r,m2e)=>{var JRt=u2e(),YRt=p2e();function A2e(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=YRt),i||(i=[]);++s<a;){var c=t[s];e>0&&r(c)?e>1?A2e(c,e-1,r,n,i):JRt(i,c):n||(i[i.length]=c)}return i}o(A2e,"baseFlatten");m2e.exports=A2e});var y2e=A((O2r,g2e)=>{var KRt=ek();function XRt(t){var e=t==null?0:t.length;return e?KRt(t,1):[]}o(XRt,"flatten");g2e.exports=XRt});var PS=A((F2r,E2e)=>{var ZRt=AS(),e2t=ZRt(Object,"create");E2e.exports=e2t});var w2e=A((M2r,b2e)=>{var C2e=PS();function t2t(){this.__data__=C2e?C2e(null):{},this.size=0}o(t2t,"hashClear");b2e.exports=t2t});var S2e=A((q2r,I2e)=>{function r2t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(r2t,"hashDelete");I2e.exports=r2t});var x2e=A((H2r,B2e)=>{var n2t=PS(),i2t="__lodash_hash_undefined__",s2t=Object.prototype,o2t=s2t.hasOwnProperty;function a2t(t){var e=this.__data__;if(n2t){var r=e[t];return r===i2t?void 0:r}return o2t.call(e,t)?e[t]:void 0}o(a2t,"hashGet");B2e.exports=a2t});var N2e=A((z2r,v2e)=>{var c2t=PS(),l2t=Object.prototype,u2t=l2t.hasOwnProperty;function d2t(t){var e=this.__data__;return c2t?e[t]!==void 0:u2t.call(e,t)}o(d2t,"hashHas");v2e.exports=d2t});var T2e=A((j2r,_2e)=>{var f2t=PS(),h2t="__lodash_hash_undefined__";function p2t(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=f2t&&e===void 0?h2t:e,this}o(p2t,"hashSet");_2e.exports=p2t});var D2e=A((J2r,R2e)=>{var A2t=w2e(),m2t=S2e(),g2t=x2e(),y2t=N2e(),E2t=T2e();function FE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o(FE,"Hash");FE.prototype.clear=A2t;FE.prototype.delete=m2t;FE.prototype.get=g2t;FE.prototype.has=y2t;FE.prototype.set=E2t;R2e.exports=FE});var k2e=A((K2r,Q2e)=>{function C2t(){this.__data__=[],this.size=0}o(C2t,"listCacheClear");Q2e.exports=C2t});var OS=A((Z2r,P2e)=>{var b2t=C1();function w2t(t,e){for(var r=t.length;r--;)if(b2t(t[r][0],e))return r;return-1}o(w2t,"assocIndexOf");P2e.exports=w2t});var L2e=A((tDr,O2e)=>{var I2t=OS(),S2t=Array.prototype,B2t=S2t.splice;function x2t(t){var e=this.__data__,r=I2t(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():B2t.call(e,r,1),--this.size,!0}o(x2t,"listCacheDelete");O2e.exports=x2t});var M2e=A((nDr,F2e)=>{var v2t=OS();function N2t(t){var e=this.__data__,r=v2t(e,t);return r<0?void 0:e[r][1]}o(N2t,"listCacheGet");F2e.exports=N2t});var q2e=A((sDr,U2e)=>{var _2t=OS();function T2t(t){return _2t(this.__data__,t)>-1}o(T2t,"listCacheHas");U2e.exports=T2t});var H2e=A((aDr,G2e)=>{var R2t=OS();function D2t(t,e){var r=this.__data__,n=R2t(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o(D2t,"listCacheSet");G2e.exports=D2t});var z2e=A((lDr,V2e)=>{var Q2t=k2e(),k2t=L2e(),P2t=M2e(),O2t=q2e(),L2t=H2e();function ME(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o(ME,"ListCache");ME.prototype.clear=Q2t;ME.prototype.delete=k2t;ME.prototype.get=P2t;ME.prototype.has=O2t;ME.prototype.set=L2t;V2e.exports=ME});var j2e=A((dDr,$2e)=>{var F2t=AS(),M2t=CE(),U2t=F2t(M2t,"Map");$2e.exports=U2t});var Y2e=A((fDr,J2e)=>{var W2e=D2e(),q2t=z2e(),G2t=j2e();function H2t(){this.size=0,this.__data__={hash:new W2e,map:new(G2t||q2t),string:new W2e}}o(H2t,"mapCacheClear");J2e.exports=H2t});var X2e=A((pDr,K2e)=>{function V2t(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(V2t,"isKeyable");K2e.exports=V2t});var LS=A((mDr,Z2e)=>{var z2t=X2e();function $2t(t,e){var r=t.__data__;return z2t(e)?r[typeof e=="string"?"string":"hash"]:r.map}o($2t,"getMapData");Z2e.exports=$2t});var tDe=A((yDr,eDe)=>{var j2t=LS();function W2t(t){var e=j2t(this,t).delete(t);return this.size-=e?1:0,e}o(W2t,"mapCacheDelete");eDe.exports=W2t});var nDe=A((CDr,rDe)=>{var J2t=LS();function Y2t(t){return J2t(this,t).get(t)}o(Y2t,"mapCacheGet");rDe.exports=Y2t});var sDe=A((wDr,iDe)=>{var K2t=LS();function X2t(t){return K2t(this,t).has(t)}o(X2t,"mapCacheHas");iDe.exports=X2t});var aDe=A((SDr,oDe)=>{var Z2t=LS();function eDt(t,e){var r=Z2t(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(eDt,"mapCacheSet");oDe.exports=eDt});var lDe=A((xDr,cDe)=>{var tDt=Y2e(),rDt=tDe(),nDt=nDe(),iDt=sDe(),sDt=aDe();function UE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o(UE,"MapCache");UE.prototype.clear=tDt;UE.prototype.delete=rDt;UE.prototype.get=nDt;UE.prototype.has=iDt;UE.prototype.set=sDt;cDe.exports=UE});var dDe=A((NDr,uDe)=>{var oDt="__lodash_hash_undefined__";function aDt(t){return this.__data__.set(t,oDt),this}o(aDt,"setCacheAdd");uDe.exports=aDt});var hDe=A((TDr,fDe)=>{function cDt(t){return this.__data__.has(t)}o(cDt,"setCacheHas");fDe.exports=cDt});var w9=A((DDr,pDe)=>{var lDt=lDe(),uDt=dDe(),dDt=hDe();function tk(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new lDt;++e<r;)this.add(t[e])}o(tk,"SetCache");tk.prototype.add=tk.prototype.push=uDt;tk.prototype.has=dDt;pDe.exports=tk});var mDe=A((kDr,ADe)=>{function fDt(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s<i;)if(e(t[s],s,t))return s;return-1}o(fDt,"baseFindIndex");ADe.exports=fDt});var yDe=A((ODr,gDe)=>{function hDt(t){return t!==t}o(hDt,"baseIsNaN");gDe.exports=hDt});var CDe=A((FDr,EDe)=>{function pDt(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}o(pDt,"strictIndexOf");EDe.exports=pDt});var wDe=A((UDr,bDe)=>{var ADt=mDe(),mDt=yDe(),gDt=CDe();function yDt(t,e,r){return e===e?gDt(t,e,r):ADt(t,mDt,r)}o(yDt,"baseIndexOf");bDe.exports=yDt});var I9=A((GDr,IDe)=>{var EDt=wDe();function CDt(t,e){var r=t==null?0:t.length;return!!r&&EDt(t,e,0)>-1}o(CDt,"arrayIncludes");IDe.exports=CDt});var S9=A((VDr,SDe)=>{function bDt(t,e,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}o(bDt,"arrayIncludesWith");SDe.exports=bDt});var xDe=A(($Dr,BDe)=>{function wDt(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}o(wDt,"arrayMap");BDe.exports=wDt});var B9=A((WDr,vDe)=>{function IDt(t,e){return t.has(e)}o(IDt,"cacheHas");vDe.exports=IDt});var _De=A((YDr,NDe)=>{var SDt=w9(),BDt=I9(),xDt=S9(),vDt=xDe(),NDt=lJ(),_Dt=B9(),TDt=200;function RDt(t,e,r,n){var i=-1,s=BDt,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=vDt(e,NDt(r))),n?(s=xDt,a=!1):e.length>=TDt&&(s=_Dt,a=!1,e=new SDt(e));e:for(;++i<c;){var d=t[i],f=r==null?d:r(d);if(d=n||d!==0?d:0,a&&f===f){for(var h=u;h--;)if(e[h]===f)continue e;l.push(d)}else s(e,f,n)||l.push(d)}return l}o(RDt,"baseDifference");NDe.exports=RDt});var x9=A((XDr,TDe)=>{var DDt=b1(),QDt=bE();function kDt(t){return QDt(t)&&DDt(t)}o(kDt,"isArrayLikeObject");TDe.exports=kDt});var QDe=A((eQr,DDe)=>{var PDt=_De(),ODt=ek(),LDt=E1(),RDe=x9(),FDt=LDt(function(t,e){return RDe(t)?PDt(t,ODt(e,1,RDe,!0)):[]});DDe.exports=FDt});var PDe=A((tQr,kDe)=>{var MDt=AS(),UDt=CE(),qDt=MDt(UDt,"Set");kDe.exports=qDt});var LDe=A((rQr,ODe)=>{function GDt(){}o(GDt,"noop");ODe.exports=GDt});var v9=A((iQr,FDe)=>{function HDt(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(HDt,"setToArray");FDe.exports=HDt});var UDe=A((oQr,MDe)=>{var N9=PDe(),VDt=LDe(),zDt=v9(),$Dt=1/0,jDt=N9&&1/zDt(new N9([,-0]))[1]==$Dt?function(t){return new N9(t)}:VDt;MDe.exports=jDt});var GDe=A((aQr,qDe)=>{var WDt=w9(),JDt=I9(),YDt=S9(),KDt=B9(),XDt=UDe(),ZDt=v9(),eQt=200;function tQt(t,e,r){var n=-1,i=JDt,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=YDt;else if(s>=eQt){var u=e?null:XDt(t);if(u)return ZDt(u);a=!1,i=KDt,l=new WDt}else l=e?[]:c;e:for(;++n<s;){var d=t[n],f=e?e(d):d;if(d=r||d!==0?d:0,a&&f===f){for(var h=l.length;h--;)if(l[h]===f)continue e;e&&l.push(f),c.push(d)}else i(l,f,r)||(l!==c&&l.push(f),c.push(d))}return c}o(tQt,"baseUniq");qDe.exports=tQt});var VDe=A((lQr,HDe)=>{var rQt=ek(),nQt=E1(),iQt=GDe(),sQt=x9(),oQt=nQt(function(t){return iQt(rQt(t,1,sQt,!0))});HDe.exports=oQt});var $De=A((uQr,zDe)=>{function aQt(t,e){return function(r){return t(e(r))}}o(aQt,"overArg");zDe.exports=aQt});var WDe=A((fQr,jDe)=>{var cQt=$De(),lQt=cQt(Object.getPrototypeOf,Object);jDe.exports=lQt});var KDe=A((hQr,YDe)=>{var uQt=hS(),dQt=WDe(),fQt=bE(),hQt="[object Object]",pQt=Function.prototype,AQt=Object.prototype,JDe=pQt.toString,mQt=AQt.hasOwnProperty,gQt=JDe.call(Object);function yQt(t){if(!fQt(t)||uQt(t)!=hQt)return!1;var e=dQt(t);if(e===null)return!0;var r=mQt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&JDe.call(r)==gQt}o(yQt,"isPlainObject");YDe.exports=yQt});var XDe=A(rk=>{"use strict";Object.defineProperty(rk,"__esModule",{value:!0});rk.assertValidPattern=void 0;var EQt=1024*64,CQt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>EQt)throw new TypeError("pattern is too long")},"assertValidPattern");rk.assertValidPattern=CQt});var eQe=A(nk=>{"use strict";Object.defineProperty(nk,"__esModule",{value:!0});nk.parseClass=void 0;var bQt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},FS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),wQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),ZDe=o(t=>t.join(""),"rangesToString"),IQt=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,d=r,f="";e:for(;s<t.length;){let g=t.charAt(s);if((g==="!"||g==="^")&&s===r+1){u=!0,s++;continue}if(g==="]"&&a&&!l){d=s+1;break}if(a=!0,g==="\\"&&!l){l=!0,s++;continue}if(g==="["&&!l){for(let[E,[y,C,w]]of Object.entries(bQt))if(t.startsWith(E,s)){if(f)return["$.",!1,t.length-r,!0];s+=E.length,w?i.push(y):n.push(y),c=c||C;continue e}}if(l=!1,f){g>f?n.push(FS(f)+"-"+FS(g)):g===f&&n.push(FS(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(FS(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(FS(g)),s++}if(d<s)return["",!1,0,!1];if(!n.length&&!i.length)return["$.",!1,t.length-r,!0];if(i.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!u){let g=n[0].length===2?n[0].slice(-1):n[0];return[wQt(g),!1,d-r,!1]}let h="["+(u?"^":"")+ZDe(n)+"]",p="["+(u?"":"^")+ZDe(i)+"]";return[n.length&&i.length?"("+h+"|"+p+")":n.length?h:p,c,d-r,!0]},"parseClass");nk.parseClass=IQt});var sk=A(ik=>{"use strict";Object.defineProperty(ik,"__esModule",{value:!0});ik.unescape=void 0;var SQt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),"unescape");ik.unescape=SQt});var R9=A(lk=>{"use strict";var Ms;Object.defineProperty(lk,"__esModule",{value:!0});lk.AST=void 0;var BQt=eQe(),ok=sk(),xQt=new Set(["!","?","+","*","@"]),_9=o(t=>xQt.has(t),"isExtglobType"),tQe=o(t=>_9(t.type),"isExtglobAST"),vQt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),NQt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),_Qt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),rQe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),TQt="(?!(?:^|/)\\.\\.?(?:$|/))",ak="(?!\\.)",RQt=new Set(["[","."]),DQt=new Set(["..","."]),QQt=new Set("().*{}+?[]^$\\!"),kQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),T9="[^/]",nQe=T9+"*?",iQe=T9+"+?",ck=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){if(this!==this.#e)throw new Error("should only call on root");if(this.#a)return this;this.toString(),this.#a=!0;let e;for(;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&i<n.#r.length;i++)for(let s of e.#r){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(n.#r[i])}r=n,n=r.#i}}return this}push(...e){for(let r of e)if(r!==""){if(typeof r!="string"&&!(r instanceof Ms&&r.#i===this))throw new Error("invalid part: "+r);this.#r.push(r)}}toJSON(){let e=this.type===null?this.#r.slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...this.#r.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#a&&this.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;r<this.#s;r++){let n=e.#r[r];if(!(n instanceof Ms&&n.type==="!"))return!1}return!0}isEnd(){if(this.#e===this||this.#i?.type==="!")return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();let e=this.#i?this.#i.#r.length:0;return this.#s===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let r=new Ms(this.type,e);for(let n of this.#r)r.copyIn(n);return r}static#A(e,r,n,i,s){let a=i.maxExtglobRecursion??2,c=!1,l=!1,u=-1,d=!1;if(r.type===null){let g=n,E="";for(;g<e.length;){let y=e.charAt(g++);if(c||y==="\\"){c=!c,E+=y;continue}if(l){g===u+1?(y==="^"||y==="!")&&(d=!0):y==="]"&&!(g===u+2&&d)&&(l=!1),E+=y;continue}else if(y==="["){l=!0,u=g,d=!1,E+=y;continue}if(!i.noext&&_9(y)&&e.charAt(g)==="("&&s<=a){r.push(E),E="";let w=new Ms(y,r);g=Ms.#A(e,w,g,i,s+1),r.push(w);continue}E+=y}return r.push(E),g}let f=n+1,h=new Ms(null,r),p=[],m="";for(;f<e.length;){let g=e.charAt(f++);if(c||g==="\\"){c=!c,m+=g;continue}if(l){f===u+1?(g==="^"||g==="!")&&(d=!0):g==="]"&&!(f===u+2&&d)&&(l=!1),m+=g;continue}else if(g==="["){l=!0,u=f,d=!1,m+=g;continue}if(_9(g)&&e.charAt(f)==="("&&(s<=a||r&&r.#p(g))){let y=r&&r.#p(g)?0:1;h.push(m),m="";let C=new Ms(g,h);h.push(C),f=Ms.#A(e,C,f,i,s+y);continue}if(g==="|"){h.push(m),m="",p.push(h),h=new Ms(null,r);continue}if(g===")")return m===""&&r.#r.length===0&&(r.#f=!0),h.push(m),m="",r.push(...p,h),f;m+=g}return r.type=null,r.#t=void 0,r.#r=[e.substring(n-1)],f}#m(e){return this.#E(e,NQt)}#E(e,r=vQt){if(!e||typeof e!="object"||e.type!==null||e.#r.length!==1||this.type===null)return!1;let n=e.#r[0];return!n||typeof n!="object"||n.type===null?!1:this.#p(n.type,r)}#p(e,r=_Qt){return!!r.get(this.type)?.includes(e)}#w(e,r){let n=e.#r[0],i=new Ms(null,n,this.options);i.#r.push(""),n.push(i),this.#C(e,r)}#C(e,r){let n=e.#r[0];this.#r.splice(r,1,...n.#r);for(let i of n.#r)typeof i=="object"&&(i.#i=this);this.#o=void 0}#b(e){return!!rQe.get(this.type)?.has(e)}#g(e){if(!e||typeof e!="object"||e.type!==null||e.#r.length!==1||this.type===null||this.#r.length!==1)return!1;let r=e.#r[0];return!r||typeof r!="object"||r.type===null?!1:this.#b(r.type)}#x(e){let r=rQe.get(this.type),n=e.#r[0],i=r?.get(n.type);if(!i)return!1;this.#r=n.#r;for(let s of this.#r)typeof s=="object"&&(s.#i=this);this.type=i,this.#o=void 0,this.#f=!1}#d(){if(tQe(this)){let e=0,r=!1;do{r=!0;for(let n=0;n<this.#r.length;n++){let i=this.#r[n];typeof i=="object"&&(i.#d(),this.#E(i)?(r=!1,this.#C(i,n)):this.#m(i)?(r=!1,this.#w(i,n)):this.#g(i)&&(r=!1,this.#x(i)))}}while(!r&&++e<10)}else for(let e of this.#r)typeof e=="object"&&e.#d();this.#o=void 0}static fromGlob(e,r={}){let n=new Ms(null,void 0,r);return Ms.#A(e,n,0,r,0),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#t||this.#c.nocase&&!this.#c.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let c=(this.#c.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,c),{_src:r,_glob:e})}get options(){return this.#c}toRegExpSource(e){let r=e??!!this.#c.dot;if(this.#e===this&&(this.#d(),this.#y()),!tQe(this)){let l=this.isStart()&&this.isEnd(),u=this.#r.map(p=>{let[m,g,E,y]=typeof p=="string"?Ms.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&DQt.has(this.#r[0]))){let m=RQt,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?TQt:E?ak:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,ok.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#I(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,ok.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!ak?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?ak:"")+iQe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?ak:"")+nQe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,ok.unescape)(s),this.#t=!!this.#t,this.#n]}#I(e){return this.#r.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l<e.length;l++){let u=e.charAt(l);if(i){i=!1,s+=(QQt.has(u)?"\\":"")+u,c=!1;continue}if(u==="\\"){l===e.length-1?s+="\\\\":i=!0;continue}if(u==="["){let[d,f,h,p]=(0,BQt.parseClass)(e,l);if(h){s+=d,a=a||f,l+=h-1,r=r||p,c=!1;continue}}if(u==="*"){if(c)continue;c=!0,s+=n&&/^[*]+$/.test(e)?iQe:nQe,r=!0;continue}else c=!1;if(u==="?"){s+=T9,r=!0;continue}s+=kQt(u)}return[s,(0,ok.unescape)(e),!!r,a]}};lk.AST=ck;Ms=ck});var D9=A(uk=>{"use strict";Object.defineProperty(uk,"__esModule",{value:!0});uk.escape=void 0;var PQt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");uk.escape=PQt});var $f=A(pe=>{"use strict";var OQt=pe&&pe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pe,"__esModule",{value:!0});pe.unescape=pe.escape=pe.AST=pe.Minimatch=pe.match=pe.makeRe=pe.braceExpand=pe.defaults=pe.filter=pe.GLOBSTAR=pe.sep=pe.minimatch=void 0;var LQt=OQt(yW()),dk=XDe(),aQe=R9(),FQt=D9(),MQt=sk(),UQt=o((t,e,r={})=>((0,dk.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new BA(e,r).match(t)),"minimatch");pe.minimatch=UQt;var qQt=/^\*+([^+@!?\*\[\(]*)$/,GQt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),HQt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),VQt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),zQt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),$Qt=/^\*+\.\*+$/,jQt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),WQt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),JQt=/^\.\*+$/,YQt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),KQt=/^\*+$/,XQt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),ZQt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),e1t=/^\?+([^+@!?\*\[\(]*)?$/,t1t=o(([t,e=""])=>{let r=cQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),r1t=o(([t,e=""])=>{let r=lQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),n1t=o(([t,e=""])=>{let r=lQe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),i1t=o(([t,e=""])=>{let r=cQe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),cQe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),lQe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),uQe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",sQe={win32:{sep:"\\"},posix:{sep:"/"}};pe.sep=uQe==="win32"?sQe.win32.sep:sQe.posix.sep;pe.minimatch.sep=pe.sep;pe.GLOBSTAR=Symbol("globstar **");pe.minimatch.GLOBSTAR=pe.GLOBSTAR;var s1t="[^/]",o1t=s1t+"*?",a1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",c1t="(?:(?!(?:\\/|^)\\.).)*?",l1t=o((t,e={})=>r=>(0,pe.minimatch)(r,t,e),"filter");pe.filter=l1t;pe.minimatch.filter=pe.filter;var Sa=o((t,e={})=>Object.assign({},t,e),"ext"),u1t=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return pe.minimatch;let e=pe.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Sa(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Sa(t,s))}static defaults(i){return e.defaults(Sa(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Sa(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Sa(t,s))}},unescape:o((n,i={})=>e.unescape(n,Sa(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Sa(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Sa(t,i)),"filter"),defaults:o(n=>e.defaults(Sa(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Sa(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Sa(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Sa(t,s)),"match"),sep:e.sep,GLOBSTAR:pe.GLOBSTAR})},"defaults");pe.defaults=u1t;pe.minimatch.defaults=pe.defaults;var d1t=o((t,e={})=>((0,dk.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,LQt.default)(t)),"braceExpand");pe.braceExpand=d1t;pe.minimatch.braceExpand=pe.braceExpand;var f1t=o((t,e={})=>new BA(t,e).makeRe(),"makeRe");pe.makeRe=f1t;pe.minimatch.makeRe=pe.makeRe;var h1t=o((t,e,r={})=>{let n=new BA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");pe.match=h1t;pe.minimatch.match=pe.match;var oQe=/[?*]|[+@!]\(.*?\)|\[|\]/,p1t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),BA=class{static{o(this,"Minimatch")}options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,r={}){(0,dk.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||uQe,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!oQe.test(s[2]))&&!oQe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(d=>this.parse(d))];if(u)return[s[0],...s.slice(1).map(d=>this.parse(d))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){let a=this.set[s];a[0]===""&&a[1]===""&&this.globParts[s][2]==="?"&&typeof a[3]=="string"&&/^[a-z]:$/i.test(a[3])&&(a[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n=0;n<e.length;n++)for(let i=0;i<e[n].length;i++)e[n][i]==="**"&&(e[n][i]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;i<e.length-1;i++){let s=e[i];i===1&&s===""&&e[0]===""||(s==="."||s==="")&&(r=!0,e.splice(i,1),i--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(r=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){let i=e[n-1];i&&i!=="."&&i!==".."&&i!=="**"&&(r=!0,e.splice(n-1,2),n-=2)}}while(r);return e.length===0?[""]:e}firstPhasePreProcess(e){let r=!1;do{r=!1;for(let n of e){let i=-1;for(;(i=n.indexOf("**",i+1))!==-1;){let a=i;for(;n[a+1]==="**";)a++;a>i&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let d=n.slice(0);d[i]="**",e.push(d),i--}if(!this.preserveMultipleSlashes){for(let a=1;a<n.length-1;a++){let c=n[a];a===1&&c===""&&n[0]===""||(c==="."||c==="")&&(r=!0,n.splice(a,1),a--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(r=!0,n.pop())}let s=0;for(;(s=n.indexOf("..",s+1))!==-1;){let a=n[s-1];if(a&&a!=="."&&a!==".."&&a!=="**"){r=!0;let l=s===1&&n[s+1]==="**"?["."]:[];n.splice(s-1,2,...l),n.length===0&&n.push(""),s-=2}}}}while(r);return e}secondPhasePreProcess(e){for(let r=0;r<e.length-1;r++)for(let n=r+1;n<e.length;n++){let i=this.partsMatch(e[r],e[n],!this.preserveMultipleSlashes);if(i){e[r]=[],e[n]=i;break}}return e.filter(r=>r.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i<e.length&&s<r.length;)if(e[i]===r[s])a.push(c==="b"?r[s]:e[i]),i++,s++;else if(n&&e[i]==="**"&&r[s]===e[i+1])a.push(e[i]),i++;else if(n&&r[s]==="**"&&e[i]===r[s+1])a.push(r[s]),s++;else if(e[i]==="*"&&r[s]&&(this.options.dot||!r[s].startsWith("."))&&r[s]!=="**"){if(c==="b")return!1;c="a",a.push(e[i]),i++,s++}else if(r[s]==="*"&&e[i]&&(this.options.dot||!e[i].startsWith("."))&&e[i]!=="**"){if(c==="a")return!1;c="b",a.push(r[s]),i++,s++}else return!1;return e.length===r.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n=!1){let i=0,s=0;if(this.isWindows){let c=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),l=!c&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),u=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),d=!u&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3]),f=l?3:c?0:void 0,h=d?3:u?0:void 0;if(typeof f=="number"&&typeof h=="number"){let[p,m]=[e[f],r[h]];p.toLowerCase()===m.toLowerCase()&&(r[h]=p,s=h,i=f)}}let{optimizationLevel:a=1}=this.options;return a>=2&&(e=this.levelTwoFileOptimize(e)),r.includes(pe.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(pe.GLOBSTAR,s),c=r.lastIndexOf(pe.GLOBSTAR),[l,u,d]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length}let f=0;if(d.length){if(d.length+i>e.length)return!1;let C=e.length-d.length;if(this.#n(e,d,n,C,0))f=d.length;else{if(e[e.length-1]!==""||i+d.length===e.length||(C--,!this.#n(e,d,n,C,0)))return!1;f=d.length+1}}if(!u.length){let C=!!f;for(let w=i;w<e.length-f;w++){let B=String(e[w]);if(C=!0,B==="."||B===".."||!this.options.dot&&B.startsWith("."))return!1}return n||C}let h=[[[],0]],p=h[0],m=0,g=[0];for(let C of u)C===pe.GLOBSTAR?(g.push(m),p=[[],0],h.push(p)):(p[0].push(C),m++);let E=h.length-1,y=e.length-f;for(let C of h)C[1]=y-(g[E--]+C[0].length);return!!this.#t(e,h,i,0,n,0,!!f)}#t(e,r,n,i,s,a,c){let l=r[i];if(!l){for(let f=n;f<e.length;f++){c=!0;let h=e[f];if(h==="."||h===".."||!this.options.dot&&h.startsWith("."))return!1}return c}let[u,d]=l;for(;n<=d;){if(this.#n(e.slice(0,n+u.length),u,s,n,0)&&a<this.maxGlobstarRecursion){let p=this.#t(e,r,n+u.length,i+1,s,a+1,c);if(p!==!1)return p}let h=e[n];if(h==="."||h===".."||!this.options.dot&&h.startsWith("."))return!1;n++}return s||null}#n(e,r,n,i,s){let a,c,l,u;for(a=i,c=s,u=e.length,l=r.length;a<u&&c<l;a++,c++){this.debug("matchOne loop");let d=r[c],f=e[a];if(this.debug(r,d,f),d===!1||d===pe.GLOBSTAR)return!1;let h;if(typeof d=="string"?(h=f===d,this.debug("string match",d,f,h)):(h=d.test(f),this.debug("pattern match",d,f,h)),!h)return!1}if(a===u&&c===l)return!0;if(a===u)return n;if(c===l)return a===u-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return(0,pe.braceExpand)(this.pattern,this.options)}parse(e){(0,dk.assertValidPattern)(e);let r=this.options;if(e==="**")return pe.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(KQt))?i=r.dot?ZQt:XQt:(n=e.match(qQt))?i=(r.nocase?r.dot?zQt:VQt:r.dot?HQt:GQt)(n[1]):(n=e.match(e1t))?i=(r.nocase?r.dot?r1t:t1t:r.dot?n1t:i1t)(n):(n=e.match($Qt))?i=r.dot?WQt:jQt:(n=e.match(JQt))&&(i=YQt);let s=aQe.AST.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?o1t:r.dot?a1t:c1t,i=new Set(r.nocase?["i"]:[]),s=e.map(l=>{let u=l.map(d=>{if(d instanceof RegExp)for(let f of d.flags.split(""))i.add(f);return typeof d=="string"?p1t(d):d===pe.GLOBSTAR?pe.GLOBSTAR:d._src});return u.forEach((d,f)=>{let h=u[f+1],p=u[f-1];d!==pe.GLOBSTAR||p===pe.GLOBSTAR||(p===void 0?h!==void 0&&h!==pe.GLOBSTAR?u[f+1]="(?:\\/|"+n+"\\/)?"+h:u[f]=n:h===void 0?u[f-1]=p+"(?:\\/|"+n+")?":h!==pe.GLOBSTAR&&(u[f-1]=p+"(?:\\/|\\/"+n+"\\/)"+h,u[f+1]=pe.GLOBSTAR))}),u.filter(d=>d!==pe.GLOBSTAR).join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c=0;c<s.length;c++){let l=s[c],u=i;if(n.matchBase&&l.length===1&&(u=[a]),this.matchOne(u,l,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return pe.minimatch.defaults(e).Minimatch}};pe.Minimatch=BA;var A1t=R9();Object.defineProperty(pe,"AST",{enumerable:!0,get:o(function(){return A1t.AST},"get")});var m1t=D9();Object.defineProperty(pe,"escape",{enumerable:!0,get:o(function(){return m1t.escape},"get")});var g1t=sk();Object.defineProperty(pe,"unescape",{enumerable:!0,get:o(function(){return g1t.unescape},"get")});pe.minimatch.AST=aQe.AST;pe.minimatch.Minimatch=BA;pe.minimatch.escape=FQt.escape;pe.minimatch.unescape=MQt.unescape});var AQe=A(hk=>{"use strict";Object.defineProperty(hk,"__esModule",{value:!0});hk.LRUCache=void 0;var qE=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,fQe=new Set,Q9=typeof process=="object"&&process?process:{},hQe=o((t,e,r,n)=>{typeof Q9.emitWarning=="function"?Q9.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),fk=globalThis.AbortController,dQe=globalThis.AbortSignal;if(typeof fk>"u"){dQe=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},fk=class{static{o(this,"AbortController")}constructor(){e()}signal=new dQe;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let t=Q9.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,hQe("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var y1t=o(t=>!fQe.has(t),"shouldWarn"),jf=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),pQe=o(t=>jf(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?GE:null:null,"getUintArray"),GE=class extends Array{static{o(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},k9=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=pQe(e);if(!r)return[];t.#e=!0;let n=new t(e,r);return t.#e=!1,n}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},P9=class t{static{o(this,"LRUCache")}#e;#t;#n;#r;#i;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#s;#l;#a;#c;#o;#f;#y;#A;#m;#E;#p;#w;#C;#b;#g;#x;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#b,sizes:e.#w,keyMap:e.#a,keyList:e.#c,valList:e.#o,next:e.#f,prev:e.#y,get head(){return e.#A},get tail(){return e.#m},free:e.#E,isBackgroundFetch:o(r=>e.#h(r),"isBackgroundFetch"),backgroundFetch:o((r,n,i,s)=>e.#k(r,n,i,s),"backgroundFetch"),moveToTail:o(r=>e.#Q(r),"moveToTail"),indexes:o(r=>e.#_(r),"indexes"),rindexes:o(r=>e.#T(r),"rindexes"),isStale:o(r=>e.#B(r),"isStale")}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#l}get size(){return this.#s}get fetchMethod(){return this.#i}get dispose(){return this.#n}get disposeAfter(){return this.#r}constructor(e){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:a,updateAgeOnHas:c,allowStale:l,dispose:u,disposeAfter:d,noDisposeOnSet:f,noUpdateTTL:h,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:g,fetchMethod:E,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:B,ignoreFetchAbort:Q}=e;if(r!==0&&!jf(r))throw new TypeError("max option must be a nonnegative integer");let q=r?pQe(r):Array;if(!q)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=m||this.#t,this.sizeCalculation=g,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#i=E,this.#x=!!E,this.#a=new Map,this.#c=new Array(r).fill(void 0),this.#o=new Array(r).fill(void 0),this.#f=new q(r),this.#y=new q(r),this.#A=0,this.#m=0,this.#E=k9.create(r),this.#s=0,this.#l=0,typeof u=="function"&&(this.#n=u),typeof d=="function"?(this.#r=d,this.#p=[]):(this.#r=void 0,this.#p=void 0),this.#g=!!this.#n,this.#d=!!this.#r,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!B,this.ignoreFetchAbort=!!Q,this.maxEntrySize!==0){if(this.#t!==0&&!jf(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!jf(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#R()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!c,this.ttlResolution=jf(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!jf(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#I()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let v="LRU_CACHE_UNBOUNDED";y1t(v)&&(fQe.add(v),hQe("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",v,t))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#I(){let e=new GE(this.#e),r=new GE(this.#e);this.#b=e,this.#C=r,this.#u=(s,a,c=qE.now())=>{if(r[s]=a!==0?c:0,e[s]=a,a!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#B(s)&&this.delete(this.#c[s])},a+1);l.unref&&l.unref()}},this.#S=s=>{r[s]=e[s]!==0?qE.now():0},this.#v=(s,a)=>{if(e[a]){let c=e[a],l=r[a];if(!c||!l)return;s.ttl=c,s.start=l,s.now=n||i();let u=s.now-l;s.remainingTTL=c-u}};let n=0,i=o(()=>{let s=qE.now();if(this.ttlResolution>0){n=s;let a=setTimeout(()=>n=0,this.ttlResolution);a.unref&&a.unref()}return s},"getNow");this.getRemainingTTL=s=>{let a=this.#a.get(s);if(a===void 0)return 0;let c=e[a],l=r[a];if(!c||!l)return 1/0;let u=(n||i())-l;return c-u},this.#B=s=>{let a=r[s],c=e[s];return!!c&&!!a&&(n||i())-a>c}}#S=o(()=>{},"#updateItemAge");#v=o(()=>{},"#statusTTL");#u=o(()=>{},"#setItemTTL");#B=o(()=>!1,"#isStale");#R(){let e=new GE(this.#e);this.#l=0,this.#w=e,this.#N=r=>{this.#l-=e[r],e[r]=0},this.#O=(r,n,i,s)=>{if(this.#h(n))return 0;if(!jf(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!jf(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#P=(r,n,i)=>{if(e[r]=n,this.#t){let s=this.#t-e[r];for(;this.#l>s;)this.#D(!0)}this.#l+=e[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#l)}}#N=o(e=>{},"#removeItemSize");#P=o((e,r,n)=>{},"#addItemSize");#O=o((e,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0},"#requireSize");*#_({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#m;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#A));)r=this.#y[r]}*#T({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#A;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#m));)r=this.#f[r]}#L(e){return e!==void 0&&this.#a.get(this.#c[e])===e}*entries(){for(let e of this.#_())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*rentries(){for(let e of this.#T())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*keys(){for(let e of this.#_()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*rkeys(){for(let e of this.#T()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*values(){for(let e of this.#_())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}*rvalues(){for(let e of this.#T())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let n of this.#_()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#c[n],this))return this.get(this.#c[n],r)}}forEach(e,r=this){for(let n of this.#_()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}rforEach(e,r=this){for(let n of this.#T()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}purgeStale(){let e=!1;for(let r of this.#T({allowStale:!0}))this.#B(r)&&(this.delete(this.#c[r]),e=!0);return e}info(e){let r=this.#a.get(e);if(r===void 0)return;let n=this.#o[r],i=this.#h(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#b&&this.#C){let a=this.#b[r],c=this.#C[r];if(a&&c){let l=a-(qE.now()-c);s.ttl=l,s.start=Date.now()}}return this.#w&&(s.size=this.#w[r]),s}dump(){let e=[];for(let r of this.#_({allowStale:!0})){let n=this.#c[r],i=this.#o[r],s=this.#h(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let a={value:s};if(this.#b&&this.#C){a.ttl=this.#b[r];let c=qE.now()-this.#C[r];a.start=Math.floor(Date.now()-c)}this.#w&&(a.size=this.#w[r]),e.unshift([n,a])}return e}load(e){this.clear();for(let[r,n]of e){if(n.start){let i=Date.now()-n.start;n.start=qE.now()-i}this.set(r,n.value,n)}}set(e,r,n={}){if(r===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:l}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,d=this.#O(e,r,n.size||0,c);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let f=this.#s===0?void 0:this.#a.get(e);if(f===void 0)f=this.#s===0?this.#m:this.#E.length!==0?this.#E.pop():this.#s===this.#e?this.#D(!1):this.#s,this.#c[f]=e,this.#o[f]=r,this.#a.set(e,f),this.#f[this.#m]=f,this.#y[f]=this.#m,this.#m=f,this.#s++,this.#P(f,d,l),l&&(l.set="add"),u=!1;else{this.#Q(f);let h=this.#o[f];if(r!==h){if(this.#x&&this.#h(h)){h.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:p}=h;p!==void 0&&!a&&(this.#g&&this.#n?.(p,e,"set"),this.#d&&this.#p?.push([p,e,"set"]))}else a||(this.#g&&this.#n?.(h,e,"set"),this.#d&&this.#p?.push([h,e,"set"]));if(this.#N(f),this.#P(f,d,l),this.#o[f]=r,l){l.set="replace";let p=h&&this.#h(h)?h.__staleWhileFetching:h;p!==void 0&&(l.oldValue=p)}}else l&&(l.set="update")}if(i!==0&&!this.#b&&this.#I(),this.#b&&(u||this.#u(f,i,s),l&&this.#v(l,f)),!a&&this.#d&&this.#p){let h=this.#p,p;for(;p=h?.shift();)this.#r?.(...p)}return this}pop(){try{for(;this.#s;){let e=this.#o[this.#A];if(this.#D(!0),this.#h(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#d&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}}#D(e){let r=this.#A,n=this.#c[r],i=this.#o[r];return this.#x&&this.#h(i)?i.__abortController.abort(new Error("evicted")):(this.#g||this.#d)&&(this.#g&&this.#n?.(i,n,"evict"),this.#d&&this.#p?.push([i,n,"evict"])),this.#N(r),e&&(this.#c[r]=void 0,this.#o[r]=void 0,this.#E.push(r)),this.#s===1?(this.#A=this.#m=0,this.#E.length=0):this.#A=this.#f[r],this.#a.delete(n),this.#s--,r}has(e,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(e);if(s!==void 0){let a=this.#o[s];if(this.#h(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#B(s))i&&(i.has="stale",this.#v(i,s));else return n&&this.#S(s),i&&(i.has="hit",this.#v(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(e);if(i===void 0||!n&&this.#B(i))return;let s=this.#o[i];return this.#h(s)?s.__staleWhileFetching:s}#k(e,r,n,i){let s=r===void 0?void 0:this.#o[r];if(this.#h(s))return s;let a=new fk,{signal:c}=n;c?.addEventListener("abort",()=>a.abort(c.reason),{signal:a.signal});let l={signal:a.signal,options:n,context:i},u=o((g,E=!1)=>{let{aborted:y}=a.signal,C=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(y&&!E?(n.status.fetchAborted=!0,n.status.fetchError=a.signal.reason,C&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!C&&!E)return f(a.signal.reason);let w=p;return this.#o[r]===p&&(g===void 0?w.__staleWhileFetching?this.#o[r]=w.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,g,l.options))),g},"cb"),d=o(g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),f(g)),"eb"),f=o(g=>{let{aborted:E}=a.signal,y=E&&n.allowStaleOnFetchAbort,C=y||n.allowStaleOnFetchRejection,w=C||n.noDeleteOnFetchRejection,B=p;if(this.#o[r]===p&&(!w||B.__staleWhileFetching===void 0?this.delete(e):y||(this.#o[r]=B.__staleWhileFetching)),C)return n.status&&B.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),B.__staleWhileFetching;if(B.__returned===B)throw g},"fetchFail"),h=o((g,E)=>{let y=this.#i?.(e,s,l);y&&y instanceof Promise&&y.then(C=>g(C===void 0?void 0:C),E),a.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=o(C=>u(C,!0),"res")))})},"pcall");n.status&&(n.status.fetchDispatched=!0);let p=new Promise(h).then(u,d),m=Object.assign(p,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,m,{...l.options,status:void 0}),r=this.#a.get(e)):this.#o[r]=m,m}#h(e){if(!this.#x)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof fk}async fetch(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:g,forceRefresh:E=!1,status:y,signal:C}=r;if(!this.#x)return y&&(y.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:y});let w={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:a,noDisposeOnSet:c,size:l,sizeCalculation:u,noUpdateTTL:d,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:m,ignoreFetchAbort:p,status:y,signal:C},B=this.#a.get(e);if(B===void 0){y&&(y.fetch="miss");let Q=this.#k(e,B,w,g);return Q.__returned=Q}else{let Q=this.#o[B];if(this.#h(Q)){let H=n&&Q.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",H&&(y.returnedStale=!0)),H?Q.__staleWhileFetching:Q.__returned=Q}let q=this.#B(B);if(!E&&!q)return y&&(y.fetch="hit"),this.#Q(B),i&&this.#S(B),y&&this.#v(y,B),Q;let v=this.#k(e,B,w,g),R=v.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=q?"stale":"refresh",R&&q&&(y.returnedStale=!0)),R?v.__staleWhileFetching:v.__returned=v}}get(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:a}=r,c=this.#a.get(e);if(c!==void 0){let l=this.#o[c],u=this.#h(l);return a&&this.#v(a,c),this.#B(c)?(a&&(a.get="stale"),u?(a&&n&&l.__staleWhileFetching!==void 0&&(a.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.delete(e),a&&n&&(a.returnedStale=!0),n?l:void 0)):(a&&(a.get="hit"),u?l.__staleWhileFetching:(this.#Q(c),i&&this.#S(c),l))}else a&&(a.get="miss")}#F(e,r){this.#y[r]=e,this.#f[e]=r}#Q(e){e!==this.#m&&(e===this.#A?this.#A=this.#f[e]:this.#F(this.#y[e],this.#f[e]),this.#F(this.#m,e),this.#m=e)}delete(e){let r=!1;if(this.#s!==0){let n=this.#a.get(e);if(n!==void 0)if(r=!0,this.#s===1)this.clear();else{this.#N(n);let i=this.#o[n];if(this.#h(i)?i.__abortController.abort(new Error("deleted")):(this.#g||this.#d)&&(this.#g&&this.#n?.(i,e,"delete"),this.#d&&this.#p?.push([i,e,"delete"])),this.#a.delete(e),this.#c[n]=void 0,this.#o[n]=void 0,n===this.#m)this.#m=this.#y[n];else if(n===this.#A)this.#A=this.#f[n];else{let s=this.#y[n];this.#f[s]=this.#f[n];let a=this.#f[n];this.#y[a]=this.#y[n]}this.#s--,this.#E.push(n)}}if(this.#d&&this.#p?.length){let n=this.#p,i;for(;i=n?.shift();)this.#r?.(...i)}return r}clear(){for(let e of this.#T({allowStale:!0})){let r=this.#o[e];if(this.#h(r))r.__abortController.abort(new Error("deleted"));else{let n=this.#c[e];this.#g&&this.#n?.(r,n,"delete"),this.#d&&this.#p?.push([r,n,"delete"])}}if(this.#a.clear(),this.#o.fill(void 0),this.#c.fill(void 0),this.#b&&this.#C&&(this.#b.fill(0),this.#C.fill(0)),this.#w&&this.#w.fill(0),this.#A=0,this.#m=0,this.#E.length=0,this.#l=0,this.#s=0,this.#d&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}};hk.LRUCache=P9});var bQe=A(ls=>{"use strict";var E1t=ls&&ls.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ls,"__esModule",{value:!0});ls.Minipass=ls.isWritable=ls.isReadable=ls.isStream=void 0;var mQe=typeof process=="object"&&process?process:{stdout:null,stderr:null},G9=require("events"),CQe=E1t(require("stream")),C1t=require("string_decoder"),b1t=o(t=>!!t&&typeof t=="object"&&(t instanceof Ck||t instanceof CQe.default||(0,ls.isReadable)(t)||(0,ls.isWritable)(t)),"isStream");ls.isStream=b1t;var w1t=o(t=>!!t&&typeof t=="object"&&t instanceof G9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==CQe.default.Writable.prototype.pipe,"isReadable");ls.isReadable=w1t;var I1t=o(t=>!!t&&typeof t=="object"&&t instanceof G9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");ls.isWritable=I1t;var yd=Symbol("EOF"),Ed=Symbol("maybeEmitEnd"),Wf=Symbol("emittedEnd"),pk=Symbol("emittingEnd"),MS=Symbol("emittedError"),Ak=Symbol("closed"),gQe=Symbol("read"),mk=Symbol("flush"),yQe=Symbol("flushChunk"),Ec=Symbol("encoding"),HE=Symbol("decoder"),Xn=Symbol("flowing"),US=Symbol("paused"),VE=Symbol("resume"),Zn=Symbol("buffer"),cs=Symbol("pipes"),ei=Symbol("bufferLength"),O9=Symbol("bufferPush"),gk=Symbol("bufferShift"),ki=Symbol("objectMode"),un=Symbol("destroyed"),L9=Symbol("error"),F9=Symbol("emitData"),EQe=Symbol("emitEnd"),M9=Symbol("emitEnd2"),Wl=Symbol("async"),U9=Symbol("abort"),yk=Symbol("aborted"),qS=Symbol("signal"),xA=Symbol("dataListeners"),No=Symbol("discarded"),GS=o(t=>Promise.resolve().then(t),"defer"),S1t=o(t=>t(),"nodefer"),B1t=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),x1t=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),v1t=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),Ek=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[VE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},q9=class extends Ek{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}},N1t=o(t=>!!t.objectMode,"isObjectModeOptions"),_1t=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),Ck=class extends G9.EventEmitter{static{o(this,"Minipass")}[Xn]=!1;[US]=!1;[cs]=[];[Zn]=[];[ki];[Ec];[Wl];[HE];[yd]=!1;[Wf]=!1;[pk]=!1;[Ak]=!1;[MS]=null;[ei]=0;[un]=!1;[qS];[yk]=!1;[xA]=0;[No]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");N1t(r)?(this[ki]=!0,this[Ec]=null):_1t(r)?(this[Ec]=r.encoding,this[ki]=!1):(this[ki]=!1,this[Ec]=null),this[Wl]=!!r.async,this[HE]=this[Ec]?new C1t.StringDecoder(this[Ec]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[Zn],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[cs],"get")});let{signal:n}=r;n&&(this[qS]=n,n.aborted?this[U9]():n.addEventListener("abort",()=>this[U9]()))}get bufferLength(){return this[ei]}get encoding(){return this[Ec]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[ki]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Wl]}set async(e){this[Wl]=this[Wl]||!!e}[U9](){this[yk]=!0,this.emit("abort",this[qS]?.reason),this.destroy(this[qS]?.reason)}get aborted(){return this[yk]}set aborted(e){}write(e,r,n){if(this[yk])return!1;if(this[yd])throw new Error("write after end");if(this[un])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Wl]?GS:S1t;if(!this[ki]&&!Buffer.isBuffer(e)){if(v1t(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(x1t(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[ki]?(this[Xn]&&this[ei]!==0&&this[mk](!0),this[Xn]?this.emit("data",e):this[O9](e),this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn]):e.length?(typeof e=="string"&&!(r===this[Ec]&&!this[HE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Ec]&&(e=this[HE].write(e)),this[Xn]&&this[ei]!==0&&this[mk](!0),this[Xn]?this.emit("data",e):this[O9](e),this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn]):(this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn])}read(e){if(this[un])return null;if(this[No]=!1,this[ei]===0||e===0||e&&e>this[ei])return this[Ed](),null;this[ki]&&(e=null),this[Zn].length>1&&!this[ki]&&(this[Zn]=[this[Ec]?this[Zn].join(""):Buffer.concat(this[Zn],this[ei])]);let r=this[gQe](e||null,this[Zn][0]);return this[Ed](),r}[gQe](e,r){if(this[ki])this[gk]();else{let n=r;e===n.length||e===null?this[gk]():typeof n=="string"?(this[Zn][0]=n.slice(e),r=n.slice(0,e),this[ei]-=e):(this[Zn][0]=n.subarray(e),r=n.subarray(0,e),this[ei]-=e)}return this.emit("data",r),!this[Zn].length&&!this[yd]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[yd]=!0,this.writable=!1,(this[Xn]||!this[US])&&this[Ed](),this}[VE](){this[un]||(!this[xA]&&!this[cs].length&&(this[No]=!0),this[US]=!1,this[Xn]=!0,this.emit("resume"),this[Zn].length?this[mk]():this[yd]?this[Ed]():this.emit("drain"))}resume(){return this[VE]()}pause(){this[Xn]=!1,this[US]=!0,this[No]=!1}get destroyed(){return this[un]}get flowing(){return this[Xn]}get paused(){return this[US]}[O9](e){this[ki]?this[ei]+=1:this[ei]+=e.length,this[Zn].push(e)}[gk](){return this[ki]?this[ei]-=1:this[ei]-=this[Zn][0].length,this[Zn].shift()}[mk](e=!1){do;while(this[yQe](this[gk]())&&this[Zn].length);!e&&!this[Zn].length&&!this[yd]&&this.emit("drain")}[yQe](e){return this.emit("data",e),this[Xn]}pipe(e,r){if(this[un])return e;this[No]=!1;let n=this[Wf];return r=r||{},e===mQe.stdout||e===mQe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[cs].push(r.proxyErrors?new q9(this,e,r):new Ek(this,e,r)),this[Wl]?GS(()=>this[VE]()):this[VE]()),e}unpipe(e){let r=this[cs].find(n=>n.dest===e);r&&(this[cs].length===1?(this[Xn]&&this[xA]===0&&(this[Xn]=!1),this[cs]=[]):this[cs].splice(this[cs].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[No]=!1,this[xA]++,!this[cs].length&&!this[Xn]&&this[VE]();else if(e==="readable"&&this[ei]!==0)super.emit("readable");else if(B1t(e)&&this[Wf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[MS]){let i=r;this[Wl]?GS(()=>i.call(this,this[MS])):i.call(this,this[MS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[xA]=this.listeners("data").length,this[xA]===0&&!this[No]&&!this[cs].length&&(this[Xn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[xA]=0,!this[No]&&!this[cs].length&&(this[Xn]=!1)),r}get emittedEnd(){return this[Wf]}[Ed](){!this[pk]&&!this[Wf]&&!this[un]&&this[Zn].length===0&&this[yd]&&(this[pk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Ak]&&this.emit("close"),this[pk]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==un&&this[un])return!1;if(e==="data")return!this[ki]&&!n?!1:this[Wl]?(GS(()=>this[F9](n)),!0):this[F9](n);if(e==="end")return this[EQe]();if(e==="close"){if(this[Ak]=!0,!this[Wf]&&!this[un])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[MS]=n,super.emit(L9,n);let s=!this[qS]||this.listeners("error").length?super.emit("error",n):!1;return this[Ed](),s}else if(e==="resume"){let s=super.emit("resume");return this[Ed](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[Ed](),i}[F9](e){for(let n of this[cs])n.dest.write(e)===!1&&this.pause();let r=this[No]?!1:super.emit("data",e);return this[Ed](),r}[EQe](){return this[Wf]?!1:(this[Wf]=!0,this.readable=!1,this[Wl]?(GS(()=>this[M9]()),!0):this[M9]())}[M9](){if(this[HE]){let r=this[HE].end();if(r){for(let n of this[cs])n.dest.write(r);this[No]||super.emit("data",r)}}for(let r of this[cs])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[ki]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[ki]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[ki])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Ec]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(un,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[No]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[yd])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(un,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(un,d),this.pause(),s({value:f,done:!!this[yd]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(un,d),r(),s({done:!0,value:void 0})},"onend"),d=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((f,h)=>{a=h,s=f,this.once(un,d),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[No]=!1;let e=!1,r=o(()=>(this.pause(),this.off(L9,r),this.off(un,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(L9,r),this.once(un,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[un])return e?this.emit("error",e):this.emit(un),this;this[un]=!0,this[No]=!0,this[Zn].length=0,this[ei]=0;let r=this;return typeof r.close=="function"&&!this[Ak]&&r.close(),e?this.emit("error",e):this.emit(un),this}static get isStream(){return ls.isStream}};ls.Minipass=Ck});var OQe=A(qt=>{"use strict";var T1t=qt&&qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),R1t=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),D1t=qt&&qt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&T1t(e,t,r);return R1t(e,t),e};Object.defineProperty(qt,"__esModule",{value:!0});qt.PathScurry=qt.Path=qt.PathScurryDarwin=qt.PathScurryPosix=qt.PathScurryWin32=qt.PathScurryBase=qt.PathPosix=qt.PathWin32=qt.PathBase=qt.ChildrenCache=qt.ResolveCache=void 0;var vQe=AQe(),Bk=require("node:path"),Q1t=require("node:url"),VS=require("fs"),k1t=D1t(require("node:fs")),P1t=VS.realpathSync.native,bk=require("node:fs/promises"),wQe=bQe(),zS={lstatSync:VS.lstatSync,readdir:VS.readdir,readdirSync:VS.readdirSync,readlinkSync:VS.readlinkSync,realpathSync:P1t,promises:{lstat:bk.lstat,readdir:bk.readdir,readlink:bk.readlink,realpath:bk.realpath}},NQe=o(t=>!t||t===zS||t===k1t?zS:{...zS,...t,promises:{...zS.promises,...t.promises||{}}},"fsFromOption"),_Qe=/^\\\\\?\\([a-z]:)\\?$/i,O1t=o(t=>t.replace(/\//g,"\\").replace(_Qe,"$1\\"),"uncToDrive"),L1t=/[\\\/]/,xa=0,TQe=1,RQe=2,Jl=4,DQe=6,QQe=8,vA=10,kQe=12,Ba=15,HS=~Ba,H9=16,IQe=32,$S=64,Cc=128,wk=256,Sk=512,SQe=$S|Cc|Sk,F1t=1023,V9=o(t=>t.isFile()?QQe:t.isDirectory()?Jl:t.isSymbolicLink()?vA:t.isCharacterDevice()?RQe:t.isBlockDevice()?DQe:t.isSocket()?kQe:t.isFIFO()?TQe:xa,"entToType"),BQe=new Map,jS=o(t=>{let e=BQe.get(t);if(e)return e;let r=t.normalize("NFKD");return BQe.set(t,r),r},"normalize"),xQe=new Map,Ik=o(t=>{let e=xQe.get(t);if(e)return e;let r=jS(t.toLowerCase());return xQe.set(t,r),r},"normalizeNocase"),WS=class extends vQe.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};qt.ResolveCache=WS;var xk=class extends vQe.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};qt.ChildrenCache=xk;var PQe=Symbol("PathScurry setAsCwd"),bi=class{static{o(this,"PathBase")}name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#n;get mode(){return this.#n}#r;get nlink(){return this.#r}#i;get uid(){return this.#i}#s;get gid(){return this.#s}#l;get rdev(){return this.#l}#a;get blksize(){return this.#a}#c;get ino(){return this.#c}#o;get size(){return this.#o}#f;get blocks(){return this.#f}#y;get atimeMs(){return this.#y}#A;get mtimeMs(){return this.#A}#m;get ctimeMs(){return this.#m}#E;get birthtimeMs(){return this.#E}#p;get atime(){return this.#p}#w;get mtime(){return this.#w}#C;get ctime(){return this.#C}#b;get birthtime(){return this.#b}#g;#x;#d;#I;#S;#v;#u;#B;#R;#N;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=xa,n,i,s,a,c){this.name=e,this.#g=s?Ik(e):jS(e),this.#u=r&F1t,this.nocase=s,this.roots=i,this.root=n||this,this.#B=a,this.#d=c.fullpath,this.#S=c.relative,this.#v=c.relativePosix,this.parent=c.parent,this.parent?this.#e=this.parent.#e:this.#e=NQe(c.fs)}depth(){return this.#x!==void 0?this.#x:this.parent?this.#x=this.parent.depth()+1:this.#x=0}childrenCache(){return this.#B}resolve(e){if(!e)return this;let r=this.getRootString(e),i=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#P(i):this.#P(i)}#P(e){let r=this;for(let n of e)r=r.child(n);return r}children(){let e=this.#B.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#B.set(this,r),this.#u&=~H9,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?Ik(e):jS(e);for(let l of n)if(l.#g===i)return l;let s=this.parent?this.sep:"",a=this.#d?this.#d+s+e:void 0,c=this.newChild(e,xa,{...r,parent:this,fullpath:a});return this.canReaddir()||(c.#u|=Cc),n.push(c),c}relative(){if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let e=this.name,r=this.parent;if(!r)return this.#S=this.name;let n=r.relative();return n+(!n||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#v!==void 0)return this.#v;let e=this.name,r=this.parent;if(!r)return this.#v=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+e}fullpath(){if(this.#d!==void 0)return this.#d;let e=this.name,r=this.parent;if(!r)return this.#d=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+e;return this.#d=i}fullpathPosix(){if(this.#I!==void 0)return this.#I;if(this.sep==="/")return this.#I=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#I=`//?/${i}`:this.#I=i}let e=this.parent,r=e.fullpathPosix(),n=r+(!r||!e.parent?"":"/")+this.name;return this.#I=n}isUnknown(){return(this.#u&Ba)===xa}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#u&Ba)===QQe}isDirectory(){return(this.#u&Ba)===Jl}isCharacterDevice(){return(this.#u&Ba)===RQe}isBlockDevice(){return(this.#u&Ba)===DQe}isFIFO(){return(this.#u&Ba)===TQe}isSocket(){return(this.#u&Ba)===kQe}isSymbolicLink(){return(this.#u&vA)===vA}lstatCached(){return this.#u&IQe?this:void 0}readlinkCached(){return this.#R}realpathCached(){return this.#N}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#R)return!0;if(!this.parent)return!1;let e=this.#u&Ba;return!(e!==xa&&e!==vA||this.#u&wk||this.#u&Cc)}calledReaddir(){return!!(this.#u&H9)}isENOENT(){return!!(this.#u&Cc)}isNamed(e){return this.nocase?this.#g===Ik(e):this.#g===jS(e)}async readlink(){let e=this.#R;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#R=n}catch(r){this.#F(r.code);return}}readlinkSync(){let e=this.#R;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#R=n}catch(r){this.#F(r.code);return}}#O(e){this.#u|=H9;for(let r=e.provisional;r<e.length;r++){let n=e[r];n&&n.#_()}}#_(){this.#u&Cc||(this.#u=(this.#u|Cc)&HS,this.#T())}#T(){let e=this.children();e.provisional=0;for(let r of e)r.#_()}#L(){this.#u|=Sk,this.#D()}#D(){if(this.#u&$S)return;let e=this.#u;(e&Ba)===Jl&&(e&=HS),this.#u=e|$S,this.#T()}#k(e=""){e==="ENOTDIR"||e==="EPERM"?this.#D():e==="ENOENT"?this.#_():this.children().provisional=0}#h(e=""){e==="ENOTDIR"?this.parent.#D():e==="ENOENT"&&this.#_()}#F(e=""){let r=this.#u;r|=wk,e==="ENOENT"&&(r|=Cc),(e==="EINVAL"||e==="UNKNOWN")&&(r&=HS),this.#u=r,e==="ENOTDIR"&&this.parent&&this.parent.#D()}#Q(e,r){return this.#V(e,r)||this.#H(e,r)}#H(e,r){let n=V9(e),i=this.newChild(e.name,n,{parent:this}),s=i.#u&Ba;return s!==Jl&&s!==vA&&s!==xa&&(i.#u|=$S),r.unshift(i),r.provisional++,i}#V(e,r){for(let n=r.provisional;n<r.length;n++){let i=r[n];if((this.nocase?Ik(e.name):jS(e.name))===i.#g)return this.#z(e,i,n,r)}}#z(e,r,n,i){let s=r.name;return r.#u=r.#u&HS|V9(e),s!==e.name&&(r.name=e.name),n!==i.provisional&&(n===i.length-1?i.pop():i.splice(n,1),i.unshift(r)),i.provisional++,r}async lstat(){if((this.#u&Cc)===0)try{return this.#G(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#h(e.code)}}lstatSync(){if((this.#u&Cc)===0)try{return this.#G(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#h(e.code)}}#G(e){let{atime:r,atimeMs:n,birthtime:i,birthtimeMs:s,blksize:a,blocks:c,ctime:l,ctimeMs:u,dev:d,gid:f,ino:h,mode:p,mtime:m,mtimeMs:g,nlink:E,rdev:y,size:C,uid:w}=e;this.#p=r,this.#y=n,this.#b=i,this.#E=s,this.#a=a,this.#f=c,this.#C=l,this.#m=u,this.#t=d,this.#s=f,this.#c=h,this.#n=p,this.#w=m,this.#A=g,this.#r=E,this.#l=y,this.#o=C,this.#i=w;let B=V9(e);this.#u=this.#u&HS|B|IQe,B!==xa&&B!==Jl&&B!==vA&&(this.#u|=$S)}#U=[];#q=!1;#$(e){this.#q=!1;let r=this.#U.slice();this.#U.length=0,r.forEach(n=>n(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#U.push(e),this.#q)return;this.#q=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,a)=>{if(s)this.#k(s.code),n.provisional=0;else{for(let c of a)this.#Q(c,n);this.#O(n)}this.#$(n.slice(0,n.provisional))})}#M;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#M)await this.#M;else{let n=o(()=>{},"resolve");this.#M=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#Q(i,e);this.#O(e)}catch(i){this.#k(i.code),e.provisional=0}this.#M=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#Q(n,e);this.#O(e)}catch(n){this.#k(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#u&SQe)return!1;let e=Ba&this.#u;return e===xa||e===Jl||e===vA}shouldWalk(e,r){return(this.#u&Jl)===Jl&&!(this.#u&SQe)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#N)return this.#N;if(!((Sk|wk|Cc)&this.#u))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}realpathSync(){if(this.#N)return this.#N;if(!((Sk|wk|Cc)&this.#u))try{let e=this.#e.realpathSync(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}[PQe](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#S=n.join(this.sep),i.#v=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!r.has(i);)i.#S=void 0,i.#v=void 0,i=i.parent}};qt.PathBase=bi;var JS=class t extends bi{static{o(this,"PathWin32")}sep="\\";splitSep=L1t;constructor(e,r=xa,n,i,s,a,c){super(e,r,n,i,s,a,c)}newChild(e,r=xa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return Bk.win32.parse(e).root}getRoot(e){if(e=O1t(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=n;return this.roots[e]=new XS(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(_Qe,"$1\\"),e===r}};qt.PathWin32=JS;var YS=class t extends bi{static{o(this,"PathPosix")}splitSep="/";sep="/";constructor(e,r=xa,n,i,s,a,c){super(e,r,n,i,s,a,c)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=xa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};qt.PathPosix=YS;var KS=class{static{o(this,"PathScurryBase")}root;rootPath;roots;cwd;#e;#t;#n;nocase;#r;constructor(e=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:a=zS}={}){this.#r=NQe(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,Q1t.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new WS,this.#t=new WS,this.#n=new xk(s);let l=c.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#r),this.roots[this.rootPath]=this.root;let u=this.root,d=l.length-1,f=r.sep,h=this.rootPath,p=!1;for(let m of l){let g=d--;u=u.child(m,{relative:new Array(g).fill("..").join(f),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(p?"":f)+m}),p=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#t.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#t.set(r,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n}=r;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0}=r;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=await e.readlink();return r?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return r?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=await e.realpath();return r?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return r?n:n?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set,u=o((f,h)=>{l.add(f),f.readdirCB((p,m)=>{if(p)return h(p);let g=m.length;if(!g)return h();let E=o(()=>{--g===0&&h()},"next");for(let y of m)(!s||s(y))&&c.push(n?y:y.fullpath()),i&&y.isSymbolicLink()?y.realpath().then(C=>C?.isUnknown()?C.lstat():C).then(C=>C?.shouldWalk(l,a)?u(C,E):E()):y.shouldWalk(l,a)?u(y,E):E()},!0)},"walk"),d=e;return new Promise((f,h)=>{u(d,p=>{if(p)return h(p);f(c)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set([e]);for(let u of l){let d=u.readdirSync();for(let f of d){(!s||s(f))&&c.push(n?f:f.fullpath());let h=f;if(f.isSymbolicLink()){if(!(i&&(h=f.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(l,a)&&l.add(h)}}return c}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r;(!s||s(e))&&(yield n?e:e.fullpath());let c=new Set([e]);for(let l of c){let u=l.readdirSync();for(let d of u){(!s||s(d))&&(yield n?d:d.fullpath());let f=d;if(d.isSymbolicLink()){if(!(i&&(f=d.realpathSync())))continue;f.isUnknown()&&f.lstatSync()}f.shouldWalk(c,a)&&c.add(f)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new wQe.Minipass({objectMode:!0});(!s||s(e))&&c.write(n?e:e.fullpath());let l=new Set,u=[e],d=0,f=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){d===0&&c.end();return}d++,l.add(p);let m=o((E,y,C=!1)=>{if(E)return c.emit("error",E);if(i&&!C){let w=[];for(let B of y)B.isSymbolicLink()&&w.push(B.realpath().then(Q=>Q?.isUnknown()?Q.lstat():Q));if(w.length){Promise.all(w).then(()=>m(null,y,!0));return}}for(let w of y)w&&(!s||s(w))&&(c.write(n?w:w.fullpath())||(h=!0));d--;for(let w of y){let B=w.realpathCached()||w;B.shouldWalk(l,a)&&u.push(B)}h&&!c.flowing?c.once("drain",f):g||f()},"onReaddir"),g=!0;p.readdirCB(m,!0),g=!1}},"process");return f(),c}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new wQe.Minipass({objectMode:!0}),l=new Set;(!s||s(e))&&c.write(n?e:e.fullpath());let u=[e],d=0,f=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){d===0&&c.end();return}d++,l.add(p);let m=p.readdirSync();for(let g of m)(!s||s(g))&&(c.write(n?g:g.fullpath())||(h=!0));d--;for(let g of m){let E=g;if(g.isSymbolicLink()){if(!(i&&(E=g.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(l,a)&&u.push(E)}}h&&!c.flowing&&c.once("drain",f)},"process");return f(),c}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[PQe](r)}};qt.PathScurryBase=KS;var XS=class extends KS{static{o(this,"PathScurryWin32")}sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,Bk.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return Bk.win32.parse(e).root.toUpperCase()}newRoot(e){return new JS(this.rootPath,Jl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};qt.PathScurryWin32=XS;var ZS=class extends KS{static{o(this,"PathScurryPosix")}sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,Bk.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new YS(this.rootPath,Jl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};qt.PathScurryPosix=ZS;var vk=class extends ZS{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};qt.PathScurryDarwin=vk;qt.Path=process.platform==="win32"?JS:YS;qt.PathScurry=process.platform==="win32"?XS:process.platform==="darwin"?vk:ZS});var $9=A(Nk=>{"use strict";Object.defineProperty(Nk,"__esModule",{value:!0});Nk.Pattern=void 0;var M1t=$f(),U1t=o(t=>t.length>=1,"isPatternList"),q1t=o(t=>t.length>=1,"isGlobList"),z9=class t{static{o(this,"Pattern")}#e;#t;#n;length;#r;#i;#s;#l;#a;#c;#o=!0;constructor(e,r,n,i){if(!U1t(e))throw new TypeError("empty pattern list");if(!q1t(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=r,this.#n=n,this.#r=i,this.#n===0){if(this.isUNC()){let[s,a,c,l,...u]=this.#e,[d,f,h,p,...m]=this.#t;u[0]===""&&(u.shift(),m.shift());let g=[s,a,c,l,""].join("/"),E=[d,f,h,p,""].join("/");this.#e=[g,...u],this.#t=[E,...m],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...a]=this.#e,[c,...l]=this.#t;a[0]===""&&(a.shift(),l.shift());let u=s+"/",d=c+"/";this.#e=[u,...a],this.#t=[d,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===M1t.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#s=this.#s||(this.#n===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#i!==void 0?this.#i:this.hasMore()?(this.#i=new t(this.#e,this.#t,this.#n+1,this.#r),this.#i.#c=this.#c,this.#i.#a=this.#a,this.#i.#l=this.#l,this.#i):this.#i=null}isUNC(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=this.#r==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#r==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#o)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#o?!1:(this.#o=!1,!0)}};Nk.Pattern=z9});var GQe=A(ds=>{"use strict";var G1t=ds&&ds.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ds,"__esModule",{value:!0});ds.Minipass=ds.isWritable=ds.isReadable=ds.isStream=void 0;var LQe=typeof process=="object"&&process?process:{stdout:null,stderr:null},Z9=require("node:events"),qQe=G1t(require("node:stream")),H1t=require("node:string_decoder"),V1t=o(t=>!!t&&typeof t=="object"&&(t instanceof Pk||t instanceof qQe.default||(0,ds.isReadable)(t)||(0,ds.isWritable)(t)),"isStream");ds.isStream=V1t;var z1t=o(t=>!!t&&typeof t=="object"&&t instanceof Z9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==qQe.default.Writable.prototype.pipe,"isReadable");ds.isReadable=z1t;var $1t=o(t=>!!t&&typeof t=="object"&&t instanceof Z9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");ds.isWritable=$1t;var Cd=Symbol("EOF"),bd=Symbol("maybeEmitEnd"),Jf=Symbol("emittedEnd"),_k=Symbol("emittingEnd"),eB=Symbol("emittedError"),Tk=Symbol("closed"),FQe=Symbol("read"),Rk=Symbol("flush"),MQe=Symbol("flushChunk"),bc=Symbol("encoding"),zE=Symbol("decoder"),ti=Symbol("flowing"),tB=Symbol("paused"),$E=Symbol("resume"),ri=Symbol("buffer"),us=Symbol("pipes"),ni=Symbol("bufferLength"),j9=Symbol("bufferPush"),Dk=Symbol("bufferShift"),Pi=Symbol("objectMode"),dn=Symbol("destroyed"),W9=Symbol("error"),J9=Symbol("emitData"),UQe=Symbol("emitEnd"),Y9=Symbol("emitEnd2"),Yl=Symbol("async"),K9=Symbol("abort"),Qk=Symbol("aborted"),rB=Symbol("signal"),NA=Symbol("dataListeners"),_o=Symbol("discarded"),nB=o(t=>Promise.resolve().then(t),"defer"),j1t=o(t=>t(),"nodefer"),W1t=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),J1t=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),Y1t=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),kk=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[$E](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},X9=class extends kk{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>this.dest.emit("error",i),e.on("error",this.proxyErrors)}},K1t=o(t=>!!t.objectMode,"isObjectModeOptions"),X1t=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),Pk=class extends Z9.EventEmitter{static{o(this,"Minipass")}[ti]=!1;[tB]=!1;[us]=[];[ri]=[];[Pi];[bc];[Yl];[zE];[Cd]=!1;[Jf]=!1;[_k]=!1;[Tk]=!1;[eB]=null;[ni]=0;[dn]=!1;[rB];[Qk]=!1;[NA]=0;[_o]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");K1t(r)?(this[Pi]=!0,this[bc]=null):X1t(r)?(this[bc]=r.encoding,this[Pi]=!1):(this[Pi]=!1,this[bc]=null),this[Yl]=!!r.async,this[zE]=this[bc]?new H1t.StringDecoder(this[bc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ri],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[us],"get")});let{signal:n}=r;n&&(this[rB]=n,n.aborted?this[K9]():n.addEventListener("abort",()=>this[K9]()))}get bufferLength(){return this[ni]}get encoding(){return this[bc]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Pi]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Yl]}set async(e){this[Yl]=this[Yl]||!!e}[K9](){this[Qk]=!0,this.emit("abort",this[rB]?.reason),this.destroy(this[rB]?.reason)}get aborted(){return this[Qk]}set aborted(e){}write(e,r,n){if(this[Qk])return!1;if(this[Cd])throw new Error("write after end");if(this[dn])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Yl]?nB:j1t;if(!this[Pi]&&!Buffer.isBuffer(e)){if(Y1t(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(J1t(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Pi]?(this[ti]&&this[ni]!==0&&this[Rk](!0),this[ti]?this.emit("data",e):this[j9](e),this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti]):e.length?(typeof e=="string"&&!(r===this[bc]&&!this[zE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[bc]&&(e=this[zE].write(e)),this[ti]&&this[ni]!==0&&this[Rk](!0),this[ti]?this.emit("data",e):this[j9](e),this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti]):(this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti])}read(e){if(this[dn])return null;if(this[_o]=!1,this[ni]===0||e===0||e&&e>this[ni])return this[bd](),null;this[Pi]&&(e=null),this[ri].length>1&&!this[Pi]&&(this[ri]=[this[bc]?this[ri].join(""):Buffer.concat(this[ri],this[ni])]);let r=this[FQe](e||null,this[ri][0]);return this[bd](),r}[FQe](e,r){if(this[Pi])this[Dk]();else{let n=r;e===n.length||e===null?this[Dk]():typeof n=="string"?(this[ri][0]=n.slice(e),r=n.slice(0,e),this[ni]-=e):(this[ri][0]=n.subarray(e),r=n.subarray(0,e),this[ni]-=e)}return this.emit("data",r),!this[ri].length&&!this[Cd]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[Cd]=!0,this.writable=!1,(this[ti]||!this[tB])&&this[bd](),this}[$E](){this[dn]||(!this[NA]&&!this[us].length&&(this[_o]=!0),this[tB]=!1,this[ti]=!0,this.emit("resume"),this[ri].length?this[Rk]():this[Cd]?this[bd]():this.emit("drain"))}resume(){return this[$E]()}pause(){this[ti]=!1,this[tB]=!0,this[_o]=!1}get destroyed(){return this[dn]}get flowing(){return this[ti]}get paused(){return this[tB]}[j9](e){this[Pi]?this[ni]+=1:this[ni]+=e.length,this[ri].push(e)}[Dk](){return this[Pi]?this[ni]-=1:this[ni]-=this[ri][0].length,this[ri].shift()}[Rk](e=!1){do;while(this[MQe](this[Dk]())&&this[ri].length);!e&&!this[ri].length&&!this[Cd]&&this.emit("drain")}[MQe](e){return this.emit("data",e),this[ti]}pipe(e,r){if(this[dn])return e;this[_o]=!1;let n=this[Jf];return r=r||{},e===LQe.stdout||e===LQe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[us].push(r.proxyErrors?new X9(this,e,r):new kk(this,e,r)),this[Yl]?nB(()=>this[$E]()):this[$E]()),e}unpipe(e){let r=this[us].find(n=>n.dest===e);r&&(this[us].length===1?(this[ti]&&this[NA]===0&&(this[ti]=!1),this[us]=[]):this[us].splice(this[us].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[_o]=!1,this[NA]++,!this[us].length&&!this[ti]&&this[$E]();else if(e==="readable"&&this[ni]!==0)super.emit("readable");else if(W1t(e)&&this[Jf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[eB]){let i=r;this[Yl]?nB(()=>i.call(this,this[eB])):i.call(this,this[eB])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[NA]=this.listeners("data").length,this[NA]===0&&!this[_o]&&!this[us].length&&(this[ti]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[NA]=0,!this[_o]&&!this[us].length&&(this[ti]=!1)),r}get emittedEnd(){return this[Jf]}[bd](){!this[_k]&&!this[Jf]&&!this[dn]&&this[ri].length===0&&this[Cd]&&(this[_k]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Tk]&&this.emit("close"),this[_k]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==dn&&this[dn])return!1;if(e==="data")return!this[Pi]&&!n?!1:this[Yl]?(nB(()=>this[J9](n)),!0):this[J9](n);if(e==="end")return this[UQe]();if(e==="close"){if(this[Tk]=!0,!this[Jf]&&!this[dn])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[eB]=n,super.emit(W9,n);let s=!this[rB]||this.listeners("error").length?super.emit("error",n):!1;return this[bd](),s}else if(e==="resume"){let s=super.emit("resume");return this[bd](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[bd](),i}[J9](e){for(let n of this[us])n.dest.write(e)===!1&&this.pause();let r=this[_o]?!1:super.emit("data",e);return this[bd](),r}[UQe](){return this[Jf]?!1:(this[Jf]=!0,this.readable=!1,this[Yl]?(nB(()=>this[Y9]()),!0):this[Y9]())}[Y9](){if(this[zE]){let r=this[zE].end();if(r){for(let n of this[us])n.dest.write(r);this[_o]||super.emit("data",r)}}for(let r of this[us])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[Pi]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[Pi]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[Pi])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[bc]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(dn,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[_o]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Cd])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(dn,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(dn,d),this.pause(),s({value:f,done:!!this[Cd]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(dn,d),r(),s({done:!0,value:void 0})},"onend"),d=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((f,h)=>{a=h,s=f,this.once(dn,d),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[_o]=!1;let e=!1,r=o(()=>(this.pause(),this.off(W9,r),this.off(dn,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(W9,r),this.once(dn,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[dn])return e?this.emit("error",e):this.emit(dn),this;this[dn]=!0,this[_o]=!0,this[ri].length=0,this[ni]=0;let r=this;return typeof r.close=="function"&&!this[Tk]&&r.close(),e?this.emit("error",e):this.emit(dn),this}static get isStream(){return ds.isStream}};ds.Minipass=Pk});var tY=A(Ok=>{"use strict";Object.defineProperty(Ok,"__esModule",{value:!0});Ok.Ignore=void 0;var HQe=$f(),Z1t=$9(),ekt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",eY=class{static{o(this,"Ignore")}relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:a=ekt}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=a,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(let c of e)this.add(c)}add(e){let r=new HQe.Minimatch(e,this.mmopts);for(let n=0;n<r.set.length;n++){let i=r.set[n],s=r.globParts[n];if(!i||!s)throw new Error("invalid pattern object");for(;i[0]==="."&&s[0]===".";)i.shift(),s.shift();let a=new Z1t.Pattern(i,s,0,this.platform),c=new HQe.Minimatch(a.globString(),this.mmopts),l=s[s.length-1]==="**",u=a.isAbsolute();u?this.absolute.push(c):this.relative.push(c),l&&(u?this.absoluteChildren.push(c):this.relativeChildren.push(c))}}ignored(e){let r=e.fullpath(),n=`${r}/`,i=e.relative()||".",s=`${i}/`;for(let a of this.relative)if(a.match(i)||a.match(s))return!0;for(let a of this.absolute)if(a.match(r)||a.match(n))return!0;return!1}childrenIgnored(e){let r=e.fullpath()+"/",n=(e.relative()||".")+"/";for(let i of this.relativeChildren)if(i.match(n))return!0;for(let i of this.absoluteChildren)if(i.match(r))return!0;return!1}};Ok.Ignore=eY});var zQe=A(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.Processor=Kl.SubWalks=Kl.MatchRecord=Kl.HasWalkedCache=void 0;var VQe=$f(),Lk=class t{static{o(this,"HasWalkedCache")}store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let n=e.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};Kl.HasWalkedCache=Lk;var Fk=class{static{o(this,"MatchRecord")}store=new Map;add(e,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};Kl.MatchRecord=Fk;var Mk=class{static{o(this,"SubWalks")}store=new Map;add(e,r){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};Kl.SubWalks=Mk;var rY=class t{static{o(this,"Processor")}hasWalkedCache;matches=new Fk;subwalks=new Mk;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new Lk}processPatterns(e,r){this.patterns=r;let n=r.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let a=s.root(),c=s.isAbsolute()&&this.opts.absolute!==!1;if(a){i=i.resolve(a==="/"&&this.opts.root!==void 0?this.opts.root:a);let f=s.rest();if(f)s=f;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let l,u,d=!1;for(;typeof(l=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(l),s=u,d=!0;if(l=s.pattern(),u=s.rest(),d){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof l=="string"){let f=l===".."||l===""||l===".";this.matches.add(i.resolve(l),c,f);continue}else if(l===VQe.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let f=u?.pattern(),h=u?.rest();if(!u||(f===""||f===".")&&!h)this.matches.add(i,c,f===""||f===".");else if(f===".."){let p=i.parent||i;h?this.hasWalkedCache.hasWalked(p,h)||this.subwalks.add(p,h):this.matches.add(p,c,!0)}}else l instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let n=this.subwalks.get(e),i=this.child();for(let s of r)for(let a of n){let c=a.isAbsolute(),l=a.pattern(),u=a.rest();l===VQe.GLOBSTAR?i.testGlobstar(s,a,u,c):l instanceof RegExp?i.testRegExp(s,l,u,c):i.testString(s,l,u,c)}return i}testGlobstar(e,r,n,i){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(e,n):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let a=e.parent||e;this.subwalks.add(a,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,r,n,i){r.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,r,n,i){e.isNamed(r)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};Kl.Processor=rY});var WQe=A(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.GlobStream=Yf.GlobWalker=Yf.GlobUtil=void 0;var tkt=GQe(),$Qe=tY(),jQe=zQe(),rkt=o((t,e)=>typeof t=="string"?new $Qe.Ignore([t],e):Array.isArray(t)?new $Qe.Ignore(t,e):t,"makeIgnore"),iB=class{static{o(this,"GlobUtil")}path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#n;signal;maxDepth;includeChildMatches;constructor(e,r,n){if(this.patterns=e,this.path=r,this.opts=n,this.#n=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=rkt(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#r(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#i(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=await s.realpath();a&&(a.isUnknown()||this.opts.stat)&&await a.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#r(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=s.realpathSync();a&&(a?.isUnknown()||this.opts.stat)&&a.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(e,r){if(this.#r(e))return;if(!this.includeChildMatches&&this.#t?.add){let s=`${e.relativePosix()}/**`;this.#t.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!s.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(s?a+s+i:"."+i)}}async match(e,r,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,r)}matchSync(e,r,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,r)}walkCB(e,r,n){this.signal?.aborted&&n(),this.walkCB2(e,r,new jQe.Processor(this.opts),n)}walkCB2(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirCached();c.calledReaddir()?this.walkCB3(c,l,n,a):c.readdirCB((u,d)=>this.walkCB3(c,d,n,a),!0)}a()}walkCB3(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let[c,l]of n.subwalks.entries())s++,this.walkCB2(c,l,n.child(),a);a()}walkCBSync(e,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,r,new jQe.Processor(this.opts),n)}walkCB2Sync(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirSync();this.walkCB3Sync(c,l,n,a)}a()}walkCB3Sync(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let[c,l]of n.subwalks.entries())s++,this.walkCB2Sync(c,l,n.child(),a);a()}};Yf.GlobUtil=iB;var nY=class extends iB{static{o(this,"GlobWalker")}matches=new Set;constructor(e,r,n){super(e,r,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};Yf.GlobWalker=nY;var iY=class extends iB{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new tkt.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};Yf.GlobStream=iY});var oY=A(Gk=>{"use strict";Object.defineProperty(Gk,"__esModule",{value:!0});Gk.Glob=void 0;var nkt=$f(),ikt=require("node:url"),Uk=OQe(),skt=$9(),qk=WQe(),okt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",sY=class{static{o(this,"Glob")}absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,ikt.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=r.platform||okt,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=r.platform==="win32"?Uk.PathScurryWin32:r.platform==="darwin"?Uk.PathScurryDarwin:r.platform?Uk.PathScurryPosix:Uk.PathScurry;this.scurry=new l(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(l=>new nkt.Minimatch(l,i)),[a,c]=s.reduce((l,u)=>(l[0].push(...u.set),l[1].push(...u.globParts),l),[[],[]]);this.patterns=a.map((l,u)=>{let d=c[u];if(!d)throw new Error("invalid pattern object");return new skt.Pattern(l,d,0,this.platform)})}async walk(){return[...await new qk.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new qk.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new qk.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new qk.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};Gk.Glob=sY});var aY=A(Hk=>{"use strict";Object.defineProperty(Hk,"__esModule",{value:!0});Hk.hasMagic=void 0;var akt=$f(),ckt=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new akt.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");Hk.hasMagic=ckt});var XQe=A(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.glob=Ct.sync=Ct.iterate=Ct.iterateSync=Ct.stream=Ct.streamSync=Ct.Ignore=Ct.hasMagic=Ct.Glob=Ct.unescape=Ct.escape=void 0;Ct.globStreamSync=sB;Ct.globStream=cY;Ct.globSync=lY;Ct.globIterateSync=oB;Ct.globIterate=uY;var JQe=$f(),_A=oY(),lkt=aY(),KQe=$f();Object.defineProperty(Ct,"escape",{enumerable:!0,get:o(function(){return KQe.escape},"get")});Object.defineProperty(Ct,"unescape",{enumerable:!0,get:o(function(){return KQe.unescape},"get")});var ukt=oY();Object.defineProperty(Ct,"Glob",{enumerable:!0,get:o(function(){return ukt.Glob},"get")});var dkt=aY();Object.defineProperty(Ct,"hasMagic",{enumerable:!0,get:o(function(){return dkt.hasMagic},"get")});var fkt=tY();Object.defineProperty(Ct,"Ignore",{enumerable:!0,get:o(function(){return fkt.Ignore},"get")});function sB(t,e={}){return new _A.Glob(t,e).streamSync()}o(sB,"globStreamSync");function cY(t,e={}){return new _A.Glob(t,e).stream()}o(cY,"globStream");function lY(t,e={}){return new _A.Glob(t,e).walkSync()}o(lY,"globSync");async function YQe(t,e={}){return new _A.Glob(t,e).walk()}o(YQe,"glob_");function oB(t,e={}){return new _A.Glob(t,e).iterateSync()}o(oB,"globIterateSync");function uY(t,e={}){return new _A.Glob(t,e).iterate()}o(uY,"globIterate");Ct.streamSync=sB;Ct.stream=Object.assign(cY,{sync:sB});Ct.iterateSync=oB;Ct.iterate=Object.assign(uY,{sync:oB});Ct.sync=Object.assign(lY,{stream:sB,iterate:oB});Ct.glob=Object.assign(YQe,{glob:YQe,globSync:lY,sync:Ct.sync,globStream:cY,stream:Ct.stream,globStreamSync:sB,streamSync:Ct.streamSync,globIterate:uY,iterate:Ct.iterate,globIterateSync:oB,iterateSync:Ct.iterateSync,Glob:_A.Glob,hasMagic:lkt.hasMagic,escape:JQe.escape,unescape:JQe.unescape});Ct.glob.glob=Ct.glob});var r1e=A((ZQr,t1e)=>{var e1e=TW(),jE=require("path"),dY=y2e(),hkt=QDe(),pkt=VDe(),Akt=KDe(),mkt=XQe(),TA=t1e.exports={},ZQe=/[\/\\]/g,gkt=o(function(t,e){var r=[];return dY(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=hkt(r,s):r=pkt(r,s)}),r},"processPatterns");TA.exists=function(){var t=jE.join.apply(jE,arguments);return e1e.existsSync(t)};TA.expand=function(...t){var e=Akt(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=gkt(r,function(i){return mkt.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=jE.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):e1e.statSync(i)[e.filter]()}catch{return!1}})),n};TA.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return jE.join(s||"",a)},"rename")},r);var n=[],i={};return TA.expand(r,t).forEach(function(s){var a=s;r.flatten&&(a=jE.basename(a)),r.ext&&(a=a.replace(/(\.[^\/]*)?$/,r.ext));var c=r.rename(e,a,r);r.cwd&&(s=jE.join(r.cwd,s)),c=c.replace(ZQe,"/"),s=s.replace(ZQe,"/"),i[c]?i[c].src.push(s):(n.push({src:[s],dest:c}),i[c]=n[n.length-1])}),n};TA.normalizeFilesArray=function(t){var e=[];return t.forEach(function(r){var n;("src"in r||"dest"in r)&&e.push(r)}),e.length===0?[]:(e=_(e).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=dY(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return TA.expandMapping(r.src,r.dest,n).map(function(s){var a=Object.assign({},r);return a.orig=Object.assign({},r),a.src=s.src,a.dest=s.dest,["expand","cwd","flatten","rename","ext"].forEach(function(c){delete a[c]}),a});var i=Object.assign({},r);return i.orig=Object.assign({},r),"src"in i&&Object.defineProperty(i,"src",{enumerable:!0,get:o(function s(){var a;return"result"in s||(a=r.src,a=Array.isArray(a)?dY(a):[a],s.result=TA.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var WE=A((r1r,s1e)=>{var fY=TW(),n1e=require("path"),ykt=n1(),Ekt=Nve(),i1e=eJ(),Ckt=c_e(),t1r=require("stream").Stream,bkt=SA().PassThrough,To=s1e.exports={};To.file=r1e();To.collectStream=function(t,e){var r=[],n=0;t.on("error",e),t.on("data",function(i){r.push(i),n+=i.length}),t.on("end",function(){var i=Buffer.alloc(n),s=0;r.forEach(function(a){a.copy(i,s),s+=a.length}),e(null,i)})};To.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};To.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},Ckt(...n)};To.isStream=function(t){return ykt(t)};To.lazyReadStream=function(t){return new Ekt.Readable(function(){return fY.createReadStream(t)})};To.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):To.isStream(t)?t.pipe(new bkt):t};To.sanitizePath=function(t){return i1e(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};To.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};To.unixifyPath=function(t){return i1e(t,!1).replace(/^\w+:/,"")};To.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),fY.readdir(t,function(i,s){var a=0,c,l;if(i)return r(i);o((function u(){if(c=s[a++],!c)return r(null,n);l=n1e.join(t,c),fY.stat(l,function(d,f){n.push({path:l,relative:n1e.relative(e,l).replace(/\\/g,"/"),stats:f}),f&&f.isDirectory()?To.walkdir(l,e,function(h,p){if(h)return r(h);p.forEach(function(m){n.push(m)}),u()}):u()})}),"next")()})}});var l1e=A((a1e,c1e)=>{var wkt=require("util"),Ikt={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function o1e(t,e){Error.captureStackTrace(this,this.constructor),this.message=Ikt[t]||t,this.code=t,this.data=e}o(o1e,"ArchiverError");wkt.inherits(o1e,Error);a1e=c1e.exports=o1e});var p1e=A((s1r,h1e)=>{var AY=require("fs"),d1e=yxe(),u1e=Cxe(),hY=require("path"),Xl=WE(),Skt=require("util").inherits,$r=l1e(),f1e=SA().Transform,pY=process.platform==="win32",kt=o(function(t,e){if(!(this instanceof kt))return new kt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=Xl.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),f1e.call(this,e),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=u1e.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=u1e.queue(this._onStatQueueTask.bind(this),e.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]},"Archiver");Skt(kt,f1e);kt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};kt.prototype._append=function(t,e){e=e||{};var r={source:null,filepath:t};e.name||(e.name=t),e.sourcePath=t,r.data=e,this._entriesCount++,e.stats&&e.stats instanceof AY.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};kt.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};kt.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};kt.prototype._moduleAppend=function(t,e,r){if(this._state.aborted){r();return}this._module.append(t,e,function(n){if(this._task=null,this._state.aborted){this._shutdown();return}if(n){this.emit("error",n),setImmediate(r);return}this.emit("entry",e),this._entriesProcessedCount++,e.stats&&e.stats.size&&(this._fsEntriesProcessedBytes+=e.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};kt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new $r("NOENDMETHOD"))};kt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};kt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};kt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};kt.prototype._normalizeEntryData=function(t,e){t=Xl.defaults(t,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),e&&t.stats===!1&&(t.stats=e);var r=t.type==="directory";return t.name&&(typeof t.prefix=="string"&&t.prefix!==""&&(t.name=t.prefix+"/"+t.name,t.prefix=null),t.name=Xl.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?pY?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(pY?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,pY&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=Xl.dateify(t.date),t};kt.prototype._onModuleError=function(t){this.emit("error",t)};kt.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};kt.prototype._onQueueTask=function(t,e){var r=o(()=>{t.data.callback&&t.data.callback(),e()},"fullCallback");if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=t,this._moduleAppend(t.source,t.data,r)};kt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}AY.lstat(t.filepath,function(r,n){if(this._state.aborted){setImmediate(e);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(e);return}t=this._updateQueueTaskWithStats(t,n),t&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(t)),setImmediate(e)}.bind(this))};kt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};kt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};kt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=Xl.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=Xl.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=Xl.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=AY.readlinkSync(t.filepath),n=hY.dirname(t.filepath);t.data.type="symlink",t.data.linkname=hY.relative(n,hY.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new $r("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new $r("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new $r("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};kt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};kt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new $r("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new $r("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=Xl.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if(Xl.isStream(t))e.sourceType="stream";else return this.emit("error",new $r("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};kt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new $r("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,e===!1?e="":typeof e!="string"&&(e=t);var n=!1;typeof r=="function"?(n=r,r={}):typeof r!="object"&&(r={});var i={stat:!0,dot:!0};function s(){this._pending--,this._maybeFinalize()}o(s,"onGlobEnd");function a(u){this.emit("error",u)}o(a,"onGlobError");function c(u){l.pause();var d=!1,f=Object.assign({},r);f.name=u.relative,f.prefix=e,f.stats=u.stat,f.callback=l.resume.bind(l);try{if(n){if(f=n(f),f===!1)d=!0;else if(typeof f!="object")throw new $r("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:t})}}catch(h){this.emit("error",h);return}if(d){l.resume();return}this._append(u.absolute,f)}o(c,"onGlobMatch");var l=d1e(t,i);return l.on("error",a.bind(this)),l.on("match",c.bind(this)),l.on("end",s.bind(this)),this};kt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new $r("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new $r("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};kt.prototype.glob=function(t,e,r){this._pending++,e=Xl.defaults(e,{stat:!0,pattern:t});function n(){this._pending--,this._maybeFinalize()}o(n,"onGlobEnd");function i(c){this.emit("error",c)}o(i,"onGlobError");function s(c){a.pause();var l=Object.assign({},r);l.callback=a.resume.bind(a),l.stats=c.stat,l.name=c.relative,this._append(c.absolute,l)}o(s,"onGlobMatch");var a=d1e(e.cwd||".",e);return a.on("error",i.bind(this)),a.on("match",s.bind(this)),a.on("end",n.bind(this)),this};kt.prototype.finalize=function(){if(this._state.aborted){var t=new $r("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new $r("FINALIZING");return this.emit("error",e),Promise.reject(e)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(n,i){var s;r._module.on("end",function(){s||n()}),r._module.on("error",function(a){s=!0,i(a)})})};kt.prototype.setFormat=function(t){return this._format?(this.emit("error",new $r("FORMATSET")),this):(this._format=t,this)};kt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new $r("ABORTED")),this):this._state.module?(this.emit("error",new $r("MODULESET")),this):(this._module=t,this._modulePipe(),this)};kt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new $r("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new $r("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new $r("SYMLINKNOTSUPPORTED",{filepath:t})),this;var n={};return n.type="symlink",n.name=t.replace(/\\/g,"/"),n.linkname=e.replace(/\\/g,"/"),n.sourceType="buffer",typeof r=="number"&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this};kt.prototype.pointer=function(){return this._pointer};kt.prototype.use=function(t){return this._streams.push(t),this};h1e.exports=kt});var zk=A((a1r,A1e)=>{var Vk=A1e.exports=function(){};Vk.prototype.getName=function(){};Vk.prototype.getSize=function(){};Vk.prototype.getLastModifiedDate=function(){};Vk.prototype.isDirectory=function(){}});var $k=A((c1r,m1e)=>{var va=m1e.exports={};va.dateToDos=function(t,e){e=e||!1;var r=e?t.getFullYear():t.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var n={year:r,month:e?t.getMonth():t.getUTCMonth(),date:e?t.getDate():t.getUTCDate(),hours:e?t.getHours():t.getUTCHours(),minutes:e?t.getMinutes():t.getUTCMinutes(),seconds:e?t.getSeconds():t.getUTCSeconds()};return n.year-1980<<25|n.month+1<<21|n.date<<16|n.hours<<11|n.minutes<<5|n.seconds/2};va.dosToDate=function(t){return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(t&31)<<1)};va.fromDosTime=function(t){return va.dosToDate(t.readUInt32LE(0))};va.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};va.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};va.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};va.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};va.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};va.toDosTime=function(t){return va.getLongBytes(va.dateToDos(t))}});var mY=A((l1r,w1e)=>{var g1e=$k(),y1e=8,E1e=1,Bkt=4,xkt=2,C1e=64,b1e=2048,wi=w1e.exports=function(){return this instanceof wi?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new wi};wi.prototype.encode=function(){return g1e.getShortBytes((this.descriptor?y1e:0)|(this.utf8?b1e:0)|(this.encryption?E1e:0)|(this.strongEncryption?C1e:0))};wi.prototype.parse=function(t,e){var r=g1e.getShortBytesValue(t,e),n=new wi;return n.useDataDescriptor((r&y1e)!==0),n.useUTF8ForNames((r&b1e)!==0),n.useStrongEncryption((r&C1e)!==0),n.useEncryption((r&E1e)!==0),n.setSlidingDictionarySize((r&xkt)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&Bkt)!==0?3:2),n};wi.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};wi.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};wi.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};wi.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};wi.prototype.useDataDescriptor=function(t){this.descriptor=t};wi.prototype.usesDataDescriptor=function(){return this.descriptor};wi.prototype.useEncryption=function(t){this.encryption=t};wi.prototype.usesEncryption=function(){return this.encryption};wi.prototype.useStrongEncryption=function(t){this.strongEncryption=t};wi.prototype.usesStrongEncryption=function(){return this.strongEncryption};wi.prototype.useUTF8ForNames=function(t){this.utf8=t};wi.prototype.usesUTF8ForNames=function(){return this.utf8}});var S1e=A((u1r,I1e)=>{I1e.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var gY=A((d1r,B1e)=>{B1e.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var yY=A((f1r,T1e)=>{var vkt=require("util").inherits,Nkt=eJ(),v1e=zk(),N1e=mY(),x1e=S1e(),fs=gY(),_1e=$k(),lt=T1e.exports=function(t){if(!(this instanceof lt))return new lt(t);v1e.call(this),this.platform=fs.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new N1e,this.crc=0,this.time=-1,this.minver=fs.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,t&&this.setName(t)};vkt(lt,v1e);lt.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};lt.prototype.getComment=function(){return this.comment!==null?this.comment:""};lt.prototype.getCompressedSize=function(){return this.csize};lt.prototype.getCrc=function(){return this.crc};lt.prototype.getExternalAttributes=function(){return this.exattr};lt.prototype.getExtra=function(){return this.extra!==null?this.extra:fs.EMPTY};lt.prototype.getGeneralPurposeBit=function(){return this.gpb};lt.prototype.getInternalAttributes=function(){return this.inattr};lt.prototype.getLastModifiedDate=function(){return this.getTime()};lt.prototype.getLocalFileDataExtra=function(){return this.getExtra()};lt.prototype.getMethod=function(){return this.method};lt.prototype.getName=function(){return this.name};lt.prototype.getPlatform=function(){return this.platform};lt.prototype.getSize=function(){return this.size};lt.prototype.getTime=function(){return this.time!==-1?_1e.dosToDate(this.time):-1};lt.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};lt.prototype.getUnixMode=function(){return this.platform!==fs.PLATFORM_UNIX?0:this.getExternalAttributes()>>fs.SHORT_SHIFT&fs.SHORT_MASK};lt.prototype.getVersionNeededToExtract=function(){return this.minver};lt.prototype.setComment=function(t){Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=t};lt.prototype.setCompressedSize=function(t){if(t<0)throw new Error("invalid entry compressed size");this.csize=t};lt.prototype.setCrc=function(t){if(t<0)throw new Error("invalid entry crc32");this.crc=t};lt.prototype.setExternalAttributes=function(t){this.exattr=t>>>0};lt.prototype.setExtra=function(t){this.extra=t};lt.prototype.setGeneralPurposeBit=function(t){if(!(t instanceof N1e))throw new Error("invalid entry GeneralPurposeBit");this.gpb=t};lt.prototype.setInternalAttributes=function(t){this.inattr=t};lt.prototype.setMethod=function(t){if(t<0)throw new Error("invalid entry compression method");this.method=t};lt.prototype.setName=function(t,e=!1){t=Nkt(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),e&&(t=`/${t}`),Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=t};lt.prototype.setPlatform=function(t){this.platform=t};lt.prototype.setSize=function(t){if(t<0)throw new Error("invalid entry size");this.size=t};lt.prototype.setTime=function(t,e){if(!(t instanceof Date))throw new Error("invalid entry time");this.time=_1e.dateToDos(t,e)};lt.prototype.setUnixMode=function(t){t|=this.isDirectory()?fs.S_IFDIR:fs.S_IFREG;var e=0;e|=t<<fs.SHORT_SHIFT|(this.isDirectory()?fs.S_DOS_D:fs.S_DOS_A),this.setExternalAttributes(e),this.mode=t&fs.MODE_MASK,this.platform=fs.PLATFORM_UNIX};lt.prototype.setVersionNeededToExtract=function(t){this.minver=t};lt.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};lt.prototype.isUnixSymlink=function(){return(this.getUnixMode()&x1e.FILE_TYPE_FLAG)===x1e.LINK_FLAG};lt.prototype.isZip64=function(){return this.csize>fs.ZIP64_MAGIC||this.size>fs.ZIP64_MAGIC}});var EY=A((p1r,R1e)=>{var h1r=require("stream").Stream,_kt=SA().PassThrough,Tkt=n1(),Rkt=R1e.exports={};Rkt.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(Tkt(t)&&!t._readableState){var e=new _kt;return t.pipe(e),e}return t}});var bY=A((A1r,D1e)=>{var Dkt=require("util").inherits,Qkt=n1(),CY=SA().Transform,kkt=zk(),Pkt=EY(),Ro=D1e.exports=function(t){if(!(this instanceof Ro))return new Ro(t);CY.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};Dkt(Ro,CY);Ro.prototype._appendBuffer=function(t,e,r){};Ro.prototype._appendStream=function(t,e,r){};Ro.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};Ro.prototype._finish=function(t){};Ro.prototype._normalizeEntry=function(t){};Ro.prototype._transform=function(t,e,r){r(null,t)};Ro.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof kkt)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(t),this._entry=t,e=Pkt.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(Qkt(e))this._appendStream(t,e,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};Ro.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Ro.prototype.getBytesWritten=function(){return this.offset};Ro.prototype.write=function(t,e){return t&&(this.offset+=t.length),CY.prototype.write.call(this,t,e)}});var jk=A(wY=>{var Q1e;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof wY=="object"?t(wY):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(Q1e={}):t(Q1e={})})(function(t){t.version="1.2.2";function e(){for(var v=0,$=new Array(256),R=0;R!=256;++R)v=R,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,$[R]=v;return typeof Int32Array<"u"?new Int32Array($):$}o(e,"signed_crc_table");var r=e();function n(v){var $=0,R=0,H=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(H=0;H!=256;++H)V[H]=v[H];for(H=0;H!=256;++H)for(R=v[H],$=256+H;$<4096;$+=256)R=V[$]=R>>>8^v[R&255];var J=[];for(H=1;H!=16;++H)J[H-1]=typeof Int32Array<"u"?V.subarray(H*256,H*256+256):V.slice(H*256,H*256+256);return J}o(n,"slice_by_16_tables");var i=n(r),s=i[0],a=i[1],c=i[2],l=i[3],u=i[4],d=i[5],f=i[6],h=i[7],p=i[8],m=i[9],g=i[10],E=i[11],y=i[12],C=i[13],w=i[14];function B(v,$){for(var R=$^-1,H=0,V=v.length;H<V;)R=R>>>8^r[(R^v.charCodeAt(H++))&255];return~R}o(B,"crc32_bstr");function Q(v,$){for(var R=$^-1,H=v.length-15,V=0;V<H;)R=w[v[V++]^R&255]^C[v[V++]^R>>8&255]^y[v[V++]^R>>16&255]^E[v[V++]^R>>>24]^g[v[V++]]^m[v[V++]]^p[v[V++]]^h[v[V++]]^f[v[V++]]^d[v[V++]]^u[v[V++]]^l[v[V++]]^c[v[V++]]^a[v[V++]]^s[v[V++]]^r[v[V++]];for(H+=15;V<H;)R=R>>>8^r[(R^v[V++])&255];return~R}o(Q,"crc32_buf");function q(v,$){for(var R=$^-1,H=0,V=v.length,J=0,ee=0;H<V;)J=v.charCodeAt(H++),J<128?R=R>>>8^r[(R^J)&255]:J<2048?(R=R>>>8^r[(R^(192|J>>6&31))&255],R=R>>>8^r[(R^(128|J&63))&255]):J>=55296&&J<57344?(J=(J&1023)+64,ee=v.charCodeAt(H++)&1023,R=R>>>8^r[(R^(240|J>>8&7))&255],R=R>>>8^r[(R^(128|J>>2&63))&255],R=R>>>8^r[(R^(128|ee>>6&15|(J&3)<<4))&255],R=R>>>8^r[(R^(128|ee&63))&255]):(R=R>>>8^r[(R^(224|J>>12&15))&255],R=R>>>8^r[(R^(128|J>>6&63))&255],R=R>>>8^r[(R^(128|J&63))&255]);return~R}o(q,"crc32_str"),t.table=r,t.bstr=B,t.buf=Q,t.str=q})});var P1e=A((y1r,k1e)=>{"use strict";var{Transform:Okt}=SA(),Lkt=jk(),IY=class extends Okt{static{o(this,"CRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(e,r,n){e&&(this.checksum=Lkt.buf(e,this.checksum)>>>0,this.rawSize+=e.length),n(null,e)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};k1e.exports=IY});var L1e=A((C1r,O1e)=>{"use strict";var{DeflateRaw:Fkt}=require("zlib"),Mkt=jk(),SY=class extends Fkt{static{o(this,"DeflateCRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(e,r){return e&&(this.compressedSize+=e.length),super.push(e,r)}_transform(e,r,n){e&&(this.checksum=Mkt.buf(e,this.checksum)>>>0,this.rawSize+=e.length),super._transform(e,r,n)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(e=!1){return e?this.compressedSize:this.rawSize}};O1e.exports=SY});var BY=A((w1r,F1e)=>{"use strict";F1e.exports={CRC32Stream:P1e(),DeflateCRC32Stream:L1e()}});var q1e=A((x1r,U1e)=>{var Ukt=require("util").inherits,qkt=jk(),{CRC32Stream:Gkt}=BY(),{DeflateCRC32Stream:Hkt}=BY(),M1e=bY(),I1r=yY(),S1r=mY(),nt=gY(),B1r=EY(),Le=$k(),ii=U1e.exports=function(t){if(!(this instanceof ii))return new ii(t);t=this.options=this._defaults(t),M1e.call(this,t),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:t.forceZip64,forceLocalTime:t.forceLocalTime}};Ukt(ii,M1e);ii.prototype._afterAppend=function(t){this._entries.push(t),t.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(t),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};ii.prototype._appendBuffer=function(t,e,r){e.length===0&&t.setMethod(nt.METHOD_STORED);var n=t.getMethod();if(n===nt.METHOD_STORED&&(t.setSize(e.length),t.setCompressedSize(e.length),t.setCrc(qkt.buf(e)>>>0)),this._writeLocalFileHeader(t),n===nt.METHOD_STORED){this.write(e),this._afterAppend(t),r(null,t);return}else if(n===nt.METHOD_DEFLATED){this._smartStream(t,r).end(e);return}else{r(new Error("compression method "+n+" not implemented"));return}};ii.prototype._appendStream=function(t,e,r){t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(t);var n=this._smartStream(t,r);e.once("error",function(i){n.emit("error",i),n.end()}),e.pipe(n)};ii.prototype._defaults=function(t){return typeof t!="object"&&(t={}),typeof t.zlib!="object"&&(t.zlib={}),typeof t.zlib.level!="number"&&(t.zlib.level=nt.ZLIB_BEST_SPEED),t.forceZip64=!!t.forceZip64,t.forceLocalTime=!!t.forceLocalTime,t};ii.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(t){this._writeCentralFileHeader(t)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};ii.prototype._normalizeEntry=function(t){t.getMethod()===-1&&t.setMethod(nt.METHOD_DEFLATED),t.getMethod()===nt.METHOD_DEFLATED&&(t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR)),t.getTime()===-1&&t.setTime(new Date,this._archive.forceLocalTime),t._offsets={file:0,data:0,contents:0}};ii.prototype._smartStream=function(t,e){var r=t.getMethod()===nt.METHOD_DEFLATED,n=r?new Hkt(this.options.zlib):new Gkt,i=null;function s(){var a=n.digest().readUInt32BE(0);t.setCrc(a),t.setSize(n.size()),t.setCompressedSize(n.size(!0)),this._afterAppend(t),e(i,t)}return o(s,"handleStuff"),n.once("end",s.bind(this)),n.once("error",function(a){i=a}),n.pipe(this,{end:!1}),n};ii.prototype._writeCentralDirectoryEnd=function(){var t=this._entries.length,e=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(t=nt.ZIP64_MAGIC_SHORT,e=nt.ZIP64_MAGIC,r=nt.ZIP64_MAGIC),this.write(Le.getLongBytes(nt.SIG_EOCD)),this.write(nt.SHORT_ZERO),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t)),this.write(Le.getShortBytes(t)),this.write(Le.getLongBytes(e)),this.write(Le.getLongBytes(r));var n=this.getComment(),i=Buffer.byteLength(n);this.write(Le.getShortBytes(i)),this.write(n)};ii.prototype._writeCentralDirectoryZip64=function(){this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD)),this.write(Le.getEightBytes(44)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._archive.centralLength)),this.write(Le.getEightBytes(this._archive.centralOffset)),this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD_LOC)),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(Le.getLongBytes(1))};ii.prototype._writeCentralFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t._offsets.file,i=t.getSize(),s=t.getCompressedSize();if(t.isZip64()||n>nt.ZIP64_MAGIC){i=nt.ZIP64_MAGIC,s=nt.ZIP64_MAGIC,n=nt.ZIP64_MAGIC,t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64);var a=Buffer.concat([Le.getShortBytes(nt.ZIP64_EXTRA_ID),Le.getShortBytes(24),Le.getEightBytes(t.getSize()),Le.getEightBytes(t.getCompressedSize()),Le.getEightBytes(t._offsets.file)],28);t.setExtra(a)}this.write(Le.getLongBytes(nt.SIG_CFH)),this.write(Le.getShortBytes(t.getPlatform()<<8|nt.VERSION_MADEBY)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(s)),this.write(Le.getLongBytes(i));var c=t.getName(),l=t.getComment(),u=t.getCentralDirectoryExtra();e.usesUTF8ForNames()&&(c=Buffer.from(c),l=Buffer.from(l)),this.write(Le.getShortBytes(c.length)),this.write(Le.getShortBytes(u.length)),this.write(Le.getShortBytes(l.length)),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t.getInternalAttributes())),this.write(Le.getLongBytes(t.getExternalAttributes())),this.write(Le.getLongBytes(n)),this.write(c),this.write(u),this.write(l)};ii.prototype._writeDataDescriptor=function(t){this.write(Le.getLongBytes(nt.SIG_DD)),this.write(Le.getLongBytes(t.getCrc())),t.isZip64()?(this.write(Le.getEightBytes(t.getCompressedSize())),this.write(Le.getEightBytes(t.getSize()))):(this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize())))};ii.prototype._writeLocalFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t.getName(),i=t.getLocalFileDataExtra();t.isZip64()&&(e.useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64)),e.usesUTF8ForNames()&&(n=Buffer.from(n)),t._offsets.file=this.offset,this.write(Le.getLongBytes(nt.SIG_LFH)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),t._offsets.data=this.offset,e.usesDataDescriptor()?(this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO)):(this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize()))),this.write(Le.getShortBytes(n.length)),this.write(Le.getShortBytes(i.length)),this.write(n),this.write(i),t._offsets.contents=this.offset};ii.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};ii.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>nt.ZIP64_MAGIC_SHORT||this._archive.centralLength>nt.ZIP64_MAGIC||this._archive.centralOffset>nt.ZIP64_MAGIC};ii.prototype.setComment=function(t){this._archive.comment=t}});var xY=A((N1r,G1e)=>{G1e.exports={ArchiveEntry:zk(),ZipArchiveEntry:yY(),ArchiveOutputStream:bY(),ZipArchiveOutputStream:q1e()}});var V1e=A((_1r,H1e)=>{var Vkt=require("util").inherits,NY=xY().ZipArchiveOutputStream,zkt=xY().ZipArchiveEntry,vY=WE(),JE=H1e.exports=function(t){if(!(this instanceof JE))return new JE(t);t=this.options=t||{},t.zlib=t.zlib||{},NY.call(this,t),typeof t.level=="number"&&t.level>=0&&(t.zlib.level=t.level,delete t.level),!t.forceZip64&&typeof t.zlib.level=="number"&&t.zlib.level===0&&(t.store=!0),t.namePrependSlash=t.namePrependSlash||!1,t.comment&&t.comment.length>0&&this.setComment(t.comment)};Vkt(JE,NY);JE.prototype._normalizeFileData=function(t){t=vY.defaults(t,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var e=t.type==="directory",r=t.type==="symlink";return t.name&&(t.name=vY.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=vY.dateify(t.date),t};JE.prototype.entry=function(t,e,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),e=this._normalizeFileData(e),e.type!=="file"&&e.type!=="directory"&&e.type!=="symlink"){r(new Error(e.type+" entries not currently supported"));return}if(typeof e.name!="string"||e.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(e.type==="symlink"&&typeof e.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var n=new zkt(e.name);return n.setTime(e.date,this.options.forceLocalTime),e.namePrependSlash&&n.setName(e.name,!0),e.store&&n.setMethod(0),e.comment.length>0&&n.setComment(e.comment),e.type==="symlink"&&typeof e.mode!="number"&&(e.mode=40960),typeof e.mode=="number"&&(e.type==="symlink"&&(e.mode|=40960),n.setUnixMode(e.mode)),e.type==="symlink"&&typeof e.linkname=="string"&&(t=Buffer.from(e.linkname)),NY.prototype.entry.call(this,n,t,r)};JE.prototype.finalize=function(){this.finish()}});var $1e=A((T1r,z1e)=>{var $kt=V1e(),jkt=WE(),Kf=o(function(t){if(!(this instanceof Kf))return new Kf(t);t=this.options=jkt.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new $kt(t)},"Zip");Kf.prototype.append=function(t,e,r){this.engine.entry(t,e,r)};Kf.prototype.finalize=function(){this.engine.finalize()};Kf.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Kf.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Kf.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};z1e.exports=Kf});var W1e=A((D1r,j1e)=>{j1e.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var Y1e=A((Q1r,J1e)=>{J1e.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):W1e()});var X1e=A((P1r,K1e)=>{K1e.exports=class{static{o(this,"FixedFIFO")}constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var _Y=A((F1r,eke)=>{var Z1e=X1e();eke.exports=class{static{o(this,"FastFIFO")}constructor(e){this.hwm=e||16,this.head=new Z1e(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let r=this.head;this.head=r.next=new Z1e(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let r=this.tail.next;return this.tail.next=null,this.tail=r,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var zY=A((U1r,Ike)=>{var{EventEmitter:Wkt}=require("events"),Zk=new Error("Stream was destroyed"),TY=new Error("Premature close"),ske=Y1e(),oke=_Y(),jr=(1<<28)-1,PA=1,LY=2,RA=4,aB=8,ake=jr^PA,Jkt=jr^LY,hB=16,cB=32,eC=64,Xf=128,pB=256,FY=512,DA=1024,RY=2048,MY=4096,UY=8192,wc=16384,YE=32768,eP=65536,QA=131072,cke=pB|FY,Ykt=hB|eP,Kkt=eC|hB,Xkt=MY|Xf,qY=pB|QA,Zkt=jr^hB,ePt=jr^eC,tPt=jr^(eC|eP),rPt=jr^eP,nPt=jr^pB,iPt=jr^(Xf|UY),sPt=jr^DA,tke=jr^cke,lke=jr^YE,oPt=jr^cB,uke=jr^QA,aPt=jr^qY,Zf=1<<18,XE=2<<18,AB=4<<18,kA=8<<18,mB=16<<18,OA=32<<18,DY=64<<18,KE=128<<18,GY=256<<18,ZE=512<<18,dke=jr^(Zf|GY),fke=jr^AB,cPt=jr^ZE,lPt=jr^mB,uPt=jr^kA,hke=jr^KE,dPt=jr^XE,lB=hB|Zf,pke=jr^lB,HY=wc|OA,wd=RA|aB|LY,Do=wd|PA,Ake=wd|HY,fPt=fke&ePt,VY=KE|YE,hPt=VY&pke,mke=Do|hPt,pPt=Do|DA|wc,rke=Do|wc|Xf,APt=Do|DA|Xf,mPt=Do|MY|Xf|UY,gPt=Do|hB|DA|wc|eP|QA,yPt=wd|DA|wc,EPt=cB|Do|YE|eC,CPt=Do|ZE|OA,bPt=kA|mB,gke=kA|Zf,wPt=kA|mB|Do|Zf,nke=Do|Zf|kA,IPt=AB|Zf,SPt=Zf|GY,BPt=Do|ZE|gke|OA,xPt=mB|wd|ZE|OA,vPt=XE|Do|KE|AB,Wk=Symbol.asyncIterator||Symbol("asyncIterator"),Jk=class{static{o(this,"WritableState")}constructor(e,{highWaterMark:r=16384,map:n=null,mapWritable:i,byteLength:s,byteLengthWritable:a}={}){this.stream=e,this.queue=new oke,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||s||wke,this.map=i||n,this.afterWrite=TPt.bind(this),this.afterUpdateNextTick=QPt.bind(this)}get ended(){return(this.stream._duplexState&OA)!==0}push(e){return this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered<this.highWaterMark?(this.stream._duplexState|=kA,!0):(this.stream._duplexState|=bPt,!1)}shift(){let e=this.queue.shift();return this.buffered-=this.byteLength(e),this.buffered===0&&(this.stream._duplexState&=uPt),e}end(e){typeof e=="function"?this.stream.once("finish",e):e!=null&&this.push(e),this.stream._duplexState=(this.stream._duplexState|ZE)&fke}autoBatch(e,r){let n=[],i=this.stream;for(n.push(e);(i._duplexState&nke)===gke;)n.push(i._writableState.shift());if((i._duplexState&Do)!==0)return r(null);i._writev(n,r)}update(){let e=this.stream;e._duplexState|=XE;do{for(;(e._duplexState&nke)===kA;){let r=this.shift();e._duplexState|=SPt,e._write(r,this.afterWrite)}(e._duplexState&IPt)===0&&this.updateNonPrimary()}while(this.continueUpdate()===!0);e._duplexState&=dPt}updateNonPrimary(){let e=this.stream;if((e._duplexState&BPt)===ZE){e._duplexState=(e._duplexState|Zf)&cPt,e._final(_Pt.bind(this));return}if((e._duplexState&wd)===RA){(e._duplexState&VY)===0&&(e._duplexState|=lB,e._destroy(yke.bind(this)));return}(e._duplexState&mke)===PA&&(e._duplexState=(e._duplexState|lB)&ake,e._open(Eke.bind(this)))}continueUpdate(){return(this.stream._duplexState&KE)===0?!1:(this.stream._duplexState&=hke,!0)}updateCallback(){(this.stream._duplexState&vPt)===AB?this.update():this.updateNextTick()}updateNextTick(){(this.stream._duplexState&KE)===0&&(this.stream._duplexState|=KE,(this.stream._duplexState&XE)===0&&ske(this.afterUpdateNextTick))}},QY=class{static{o(this,"ReadableState")}constructor(e,{highWaterMark:r=16384,map:n=null,mapReadable:i,byteLength:s,byteLengthReadable:a}={}){this.stream=e,this.queue=new oke,this.highWaterMark=r===0?1:r,this.buffered=0,this.readAhead=r>0,this.error=null,this.pipeline=null,this.byteLength=a||s||wke,this.map=i||n,this.pipeTo=null,this.afterRead=RPt.bind(this),this.afterUpdateNextTick=DPt.bind(this)}get ended(){return(this.stream._duplexState&wc)!==0}pipe(e,r){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof r!="function"&&(r=null),this.stream._duplexState|=FY,this.pipeTo=e,this.pipeline=new PY(this.stream,e,r),r&&this.stream.on("error",ike),fB(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",ike),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),i=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",i),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",NPt.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let r=this.stream;return e===null?(this.highWaterMark=0,r._duplexState=(r._duplexState|DA)&tPt,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|Xf)&rPt,this.buffered<this.highWaterMark)}shift(){let e=this.queue.shift();return this.buffered-=this.byteLength(e),this.buffered===0&&(this.stream._duplexState&=iPt),e}unshift(e){let r=[this.map!==null?this.map(e):e];for(;this.buffered>0;)r.push(this.shift());for(let n=0;n<r.length-1;n++){let i=r[n];this.buffered+=this.byteLength(i),this.queue.push(i)}this.push(r[r.length-1])}read(){let e=this.stream;if((e._duplexState&rke)===Xf){let r=this.shift();return this.pipeTo!==null&&this.pipeTo.write(r)===!1&&(e._duplexState&=tke),(e._duplexState&RY)!==0&&e.emit("data",r),r}return this.readAhead===!1&&(e._duplexState|=QA,this.updateNextTick()),null}drain(){let e=this.stream;for(;(e._duplexState&rke)===Xf&&(e._duplexState&cke)!==0;){let r=this.shift();this.pipeTo!==null&&this.pipeTo.write(r)===!1&&(e._duplexState&=tke),(e._duplexState&RY)!==0&&e.emit("data",r)}}update(){let e=this.stream;e._duplexState|=cB;do{for(this.drain();this.buffered<this.highWaterMark&&(e._duplexState&gPt)===QA;)e._duplexState|=Ykt,e._read(this.afterRead),this.drain();(e._duplexState&mPt)===Xkt&&(e._duplexState|=UY,e.emit("readable")),(e._duplexState&Kkt)===0&&this.updateNonPrimary()}while(this.continueUpdate()===!0);e._duplexState&=oPt}updateNonPrimary(){let e=this.stream;if((e._duplexState&APt)===DA&&(e._duplexState=(e._duplexState|wc)&sPt,e.emit("end"),(e._duplexState&Ake)===HY&&(e._duplexState|=RA),this.pipeTo!==null&&this.pipeTo.end()),(e._duplexState&wd)===RA){(e._duplexState&VY)===0&&(e._duplexState|=lB,e._destroy(yke.bind(this)));return}(e._duplexState&mke)===PA&&(e._duplexState=(e._duplexState|lB)&ake,e._open(Eke.bind(this)))}continueUpdate(){return(this.stream._duplexState&YE)===0?!1:(this.stream._duplexState&=lke,!0)}updateCallback(){(this.stream._duplexState&EPt)===eC?this.update():this.updateNextTick()}updateNextTick(){(this.stream._duplexState&YE)===0&&(this.stream._duplexState|=YE,(this.stream._duplexState&cB)===0&&ske(this.afterUpdateNextTick))}},kY=class{static{o(this,"TransformState")}constructor(e){this.data=null,this.afterTransform=PPt.bind(e),this.afterFinal=null}},PY=class{static{o(this,"Pipeline")}constructor(e,r,n){this.from=e,this.to=r,this.afterPipe=n,this.error=null,this.pipeToFinished=!1}finished(){this.pipeToFinished=!0}done(e,r){if(r&&(this.error=r),e===this.to&&(this.to=null,this.from!==null)){((this.from._duplexState&wc)===0||!this.pipeToFinished)&&this.from.destroy(this.error||new Error("Writable stream closed prematurely"));return}if(e===this.from&&(this.from=null,this.to!==null)){(e._duplexState&wc)===0&&this.to.destroy(this.error||new Error("Readable stream closed before ending"));return}this.afterPipe!==null&&this.afterPipe(this.error),this.to=this.from=this.afterPipe=null}};function NPt(){this.stream._duplexState|=FY,this.updateCallback()}o(NPt,"afterDrain");function _Pt(t){let e=this.stream;t&&e.destroy(t),(e._duplexState&wd)===0&&(e._duplexState|=OA,e.emit("finish")),(e._duplexState&Ake)===HY&&(e._duplexState|=RA),e._duplexState&=dke,(e._duplexState&XE)===0?this.update():this.updateNextTick()}o(_Pt,"afterFinal");function yke(t){let e=this.stream;!t&&this.error!==Zk&&(t=this.error),t&&e.emit("error",t),e._duplexState|=aB,e.emit("close");let r=e._readableState,n=e._writableState;if(r!==null&&r.pipeline!==null&&r.pipeline.done(e,t),n!==null){for(;n.drains!==null&&n.drains.length>0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,t)}}o(yke,"afterDestroy");function TPt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=dke,this.drains!==null&&kPt(this.drains),(e._duplexState&wPt)===mB&&(e._duplexState&=lPt,(e._duplexState&DY)===DY&&e.emit("drain")),this.updateCallback()}o(TPt,"afterWrite");function RPt(t){t&&this.stream.destroy(t),this.stream._duplexState&=Zkt,this.readAhead===!1&&(this.stream._duplexState&pB)===0&&(this.stream._duplexState&=uke),this.updateCallback()}o(RPt,"afterRead");function DPt(){(this.stream._duplexState&cB)===0&&(this.stream._duplexState&=lke,this.update())}o(DPt,"updateReadNT");function QPt(){(this.stream._duplexState&XE)===0&&(this.stream._duplexState&=hke,this.update())}o(QPt,"updateWriteNT");function kPt(t){for(let e=0;e<t.length;e++)--t[e].writes===0&&(t.shift().resolve(!0),e--)}o(kPt,"tickDrains");function Eke(t){let e=this.stream;t&&e.destroy(t),(e._duplexState&RA)===0&&((e._duplexState&pPt)===0&&(e._duplexState|=eC),(e._duplexState&CPt)===0&&(e._duplexState|=AB),e.emit("open")),e._duplexState&=pke,e._writableState!==null&&e._writableState.updateCallback(),e._readableState!==null&&e._readableState.updateCallback()}o(Eke,"afterOpen");function PPt(t,e){e!=null&&this.push(e),this._writableState.afterWrite(t)}o(PPt,"afterTransform");function OPt(t){this._readableState!==null&&(t==="data"&&(this._duplexState|=RY|qY,this._readableState.updateNextTick()),t==="readable"&&(this._duplexState|=MY,this._readableState.updateNextTick())),this._writableState!==null&&t==="drain"&&(this._duplexState|=DY,this._writableState.updateNextTick())}o(OPt,"newListener");var uB=class extends Wkt{static{o(this,"Stream")}constructor(e){super(),this._duplexState=0,this._readableState=null,this._writableState=null,e&&(e.open&&(this._open=e.open),e.destroy&&(this._destroy=e.destroy),e.predestroy&&(this._predestroy=e.predestroy),e.signal&&e.signal.addEventListener("abort",GPt.bind(this))),this.on("newListener",OPt)}_open(e){e(null)}_destroy(e){e(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&aB)!==0}get destroying(){return(this._duplexState&wd)!==0}destroy(e){(this._duplexState&wd)===0&&(e||(e=Zk),this._duplexState=(this._duplexState|RA)&fPt,this._readableState!==null&&(this._readableState.highWaterMark=0,this._readableState.error=e),this._writableState!==null&&(this._writableState.highWaterMark=0,this._writableState.error=e),this._duplexState|=LY,this._predestroy(),this._duplexState&=Jkt,this._readableState!==null&&this._readableState.updateNextTick(),this._writableState!==null&&this._writableState.updateNextTick())}},Yk=class t extends uB{static{o(this,"Readable")}constructor(e){super(e),this._duplexState|=PA|OA|QA,this._readableState=new QY(this,e),e&&(this._readableState.readAhead===!1&&(this._duplexState&=uke),e.read&&(this._read=e.read),e.eagerOpen&&this._readableState.updateNextTick())}_read(e){e(null)}pipe(e,r){return this._readableState.updateNextTick(),this._readableState.pipe(e,r),e}read(){return this._readableState.updateNextTick(),this._readableState.read()}push(e){return this._readableState.updateNextTick(),this._readableState.push(e)}unshift(e){return this._readableState.updateNextTick(),this._readableState.unshift(e)}resume(){return this._duplexState|=qY,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?aPt:nPt,this}static _fromAsyncIterator(e,r){let n,i=new t({...r,read(a){e.next().then(s).then(a.bind(null,null)).catch(a)},predestroy(){n=e.return()},destroy(a){if(!n)return a(null);n.then(a.bind(null,null)).catch(a)}});return i;function s(a){a.done?i.push(null):i.push(a.value)}}static from(e,r){if(UPt(e))return e;if(e[Wk])return this._fromAsyncIterator(e[Wk](),r);Array.isArray(e)||(e=e===void 0?[]:[e]);let n=0;return new t({...r,read(i){this.push(n===e.length?null:e[n++]),i(null)}})}static isBackpressured(e){return(e._duplexState&yPt)!==0||e._readableState.buffered>=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&pB)===0}[Wk](){let e=this,r=null,n=null,i=null;return this.on("error",u=>{r=u}),this.on("readable",s),this.on("close",a),{[Wk](){return this},next(){return new Promise(function(u,d){n=u,i=d;let f=e.read();f!==null?c(f):(e._duplexState&aB)!==0&&c(null)})},return(){return l(null)},throw(u){return l(u)}};function s(){n!==null&&c(e.read())}o(s,"onreadable");function a(){n!==null&&c(null)}o(a,"onclose");function c(u){i!==null&&(r?i(r):u===null&&(e._duplexState&wc)===0?i(Zk):n({value:u,done:u===null}),i=n=null)}o(c,"ondata");function l(u){return e.destroy(u),new Promise((d,f)=>{if(e._duplexState&aB)return d({value:void 0,done:!0});e.once("close",function(){u?f(u):d({value:void 0,done:!0})})})}o(l,"destroy")}},Kk=class extends uB{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=PA|wc,this._writableState=new Jk(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&xPt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(HPt(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&GY?1:0);return i===0?Promise.resolve(!0):(r.drains===null&&(r.drains=[]),new Promise(s=>{r.drains.push({writes:i,resolve:s})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},dB=class extends Yk{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=PA|this._duplexState&QA,this._writableState=new Jk(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Xk=class extends dB{static{o(this,"Transform")}constructor(e){super(e),this._transformState=new kY(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,r){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let r=this._transformState.data;this._transformState.data=null,e(null),this._transform(r,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,r){r(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(LPt.bind(this))}},OY=class extends Xk{static{o(this,"PassThrough")}};function LPt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(LPt,"transformAfterFlush");function FPt(...t){return new Promise((e,r)=>Cke(...t,n=>{if(n)return r(n);e()}))}o(FPt,"pipelinePromise");function Cke(t,...e){let r=Array.isArray(t)?[...t,...e]:[t,...e],n=r.length&&typeof r[r.length-1]=="function"?r.pop():null;if(r.length<2)throw new Error("Pipeline requires at least 2 streams");let i=r[0],s=null,a=null;for(let u=1;u<r.length;u++)s=r[u],fB(i)?i.pipe(s,l):(c(i,!0,u>1,l),i.pipe(s)),i=s;if(n){let u=!1,d=fB(s)||!!(s._writableState&&s._writableState.autoDestroy);s.on("error",f=>{a===null&&(a=f)}),s.on("finish",()=>{u=!0,d||n(a)}),d&&s.on("close",()=>n(a||(u?null:TY)))}return s;function c(u,d,f,h){u.on("error",h),u.on("close",p);function p(){if(d&&u._readableState&&!u._readableState.ended||f&&u._writableState&&!u._writableState.ended)return h(TY)}o(p,"onclose")}function l(u){if(!(!u||a)){a=u;for(let d of r)d.destroy(u)}}}o(Cke,"pipeline");function bke(t){return!!t._readableState||!!t._writableState}o(bke,"isStream");function fB(t){return typeof t._duplexState=="number"&&bke(t)}o(fB,"isStreamx");function MPt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===Zk?null:e}o(MPt,"getStreamError");function UPt(t){return fB(t)&&t.readable}o(UPt,"isReadStreamx");function qPt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(qPt,"isTypedArray");function wke(t){return qPt(t)?t.byteLength:1024}o(wke,"defaultByteLength");function ike(){}o(ike,"noop");function GPt(){this.destroy(new Error("Stream aborted."))}o(GPt,"abort");function HPt(t){return t._writev!==Kk.prototype._writev&&t._writev!==dB.prototype._writev}o(HPt,"isWritev");Ike.exports={pipeline:Cke,pipelinePromise:FPt,isStream:bke,isStreamx:fB,getStreamError:MPt,Stream:uB,Writable:Kk,Readable:Yk,Duplex:dB,Transform:Xk,PassThrough:OY}});var tP=A((G1r,Ske)=>{function VPt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(VPt,"isBuffer");function zPt(t){return Buffer.isEncoding(t)}o(zPt,"isEncoding");function $Pt(t,e,r){return Buffer.alloc(t,e,r)}o($Pt,"alloc");function jPt(t){return Buffer.allocUnsafe(t)}o(jPt,"allocUnsafe");function WPt(t){return Buffer.allocUnsafeSlow(t)}o(WPt,"allocUnsafeSlow");function JPt(t,e){return Buffer.byteLength(t,e)}o(JPt,"byteLength");function YPt(t,e){return Buffer.compare(t,e)}o(YPt,"compare");function KPt(t,e){return Buffer.concat(t,e)}o(KPt,"concat");function XPt(t,e,r,n,i){return In(t).copy(e,r,n,i)}o(XPt,"copy");function ZPt(t,e){return In(t).equals(e)}o(ZPt,"equals");function eOt(t,e,r,n,i){return In(t).fill(e,r,n,i)}o(eOt,"fill");function tOt(t,e,r){return Buffer.from(t,e,r)}o(tOt,"from");function rOt(t,e,r,n){return In(t).includes(e,r,n)}o(rOt,"includes");function nOt(t,e,r,n){return In(t).indexOf(e,r,n)}o(nOt,"indexOf");function iOt(t,e,r,n){return In(t).lastIndexOf(e,r,n)}o(iOt,"lastIndexOf");function sOt(t){return In(t).swap16()}o(sOt,"swap16");function oOt(t){return In(t).swap32()}o(oOt,"swap32");function aOt(t){return In(t).swap64()}o(aOt,"swap64");function In(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(In,"toBuffer");function cOt(t,e,r,n){return In(t).toString(e,r,n)}o(cOt,"toString");function lOt(t,e,r,n,i){return In(t).write(e,r,n,i)}o(lOt,"write");function uOt(t,e,r){return In(t).writeDoubleLE(e,r)}o(uOt,"writeDoubleLE");function dOt(t,e,r){return In(t).writeFloatLE(e,r)}o(dOt,"writeFloatLE");function fOt(t,e,r){return In(t).writeUInt32LE(e,r)}o(fOt,"writeUInt32LE");function hOt(t,e,r){return In(t).writeInt32LE(e,r)}o(hOt,"writeInt32LE");function pOt(t,e){return In(t).readDoubleLE(e)}o(pOt,"readDoubleLE");function AOt(t,e){return In(t).readFloatLE(e)}o(AOt,"readFloatLE");function mOt(t,e){return In(t).readUInt32LE(e)}o(mOt,"readUInt32LE");function gOt(t,e){return In(t).readInt32LE(e)}o(gOt,"readInt32LE");Ske.exports={isBuffer:VPt,isEncoding:zPt,alloc:$Pt,allocUnsafe:jPt,allocUnsafeSlow:WPt,byteLength:JPt,compare:YPt,concat:KPt,copy:XPt,equals:ZPt,fill:eOt,from:tOt,includes:rOt,indexOf:nOt,lastIndexOf:iOt,swap16:sOt,swap32:oOt,swap64:aOt,toBuffer:In,toString:cOt,write:lOt,writeDoubleLE:uOt,writeFloatLE:dOt,writeUInt32LE:fOt,writeInt32LE:hOt,readDoubleLE:pOt,readFloatLE:AOt,readUInt32LE:mOt,readInt32LE:gOt}});var WY=A(rC=>{var Tt=tP(),yOt="0000000000000000000",EOt="7777777777777777777",rP=48,Bke=Tt.from([117,115,116,97,114,0]),COt=Tt.from([rP,rP]),bOt=Tt.from([117,115,116,97,114,32]),wOt=Tt.from([32,0]),IOt=4095,gB=257,jY=263;rC.decodeLongPath=o(function(e,r){return tC(e,0,e.length,r)},"decodeLongPath");rC.encodePax=o(function(e){let r="";e.name&&(r+=$Y(" path="+e.name+`
`)),e.linkname&&(r+=$Y(" linkpath="+e.linkname+`
`));let n=e.pax;if(n)for(let i in n)r+=$Y(" "+i+"="+n[i]+`
`);return Tt.from(r)},"encodePax");rC.decodePax=o(function(e){let r={};for(;e.length;){let n=0;for(;n<e.length&&e[n]!==32;)n++;let i=parseInt(Tt.toString(e.subarray(0,n)),10);if(!i)return r;let s=Tt.toString(e.subarray(n+1,i-1)),a=s.indexOf("=");if(a===-1)return r;r[s.slice(0,a)]=s.slice(a+1),e=e.subarray(i)}return r},"decodePax");rC.encode=o(function(e){let r=Tt.alloc(512),n=e.name,i="";if(e.typeflag===5&&n[n.length-1]!=="/"&&(n+="/"),Tt.byteLength(n)!==n.length)return null;for(;Tt.byteLength(n)>100;){let s=n.indexOf("/");if(s===-1)return null;i+=i?"/"+n.slice(0,s):n.slice(0,s),n=n.slice(s+1)}return Tt.byteLength(n)>100||Tt.byteLength(i)>155||e.linkname&&Tt.byteLength(e.linkname)>100?null:(Tt.write(r,n),Tt.write(r,th(e.mode&IOt,6),100),Tt.write(r,th(e.uid,6),108),Tt.write(r,th(e.gid,6),116),TOt(e.size,r,124),Tt.write(r,th(e.mtime.getTime()/1e3|0,11),136),r[156]=rP+NOt(e.type),e.linkname&&Tt.write(r,e.linkname,157),Tt.copy(Bke,r,gB),Tt.copy(COt,r,jY),e.uname&&Tt.write(r,e.uname,265),e.gname&&Tt.write(r,e.gname,297),Tt.write(r,th(e.devmajor||0,6),329),Tt.write(r,th(e.devminor||0,6),337),i&&Tt.write(r,i,345),Tt.write(r,th(vke(r),6),148),r)},"encode");rC.decode=o(function(e,r,n){let i=e[156]===0?0:e[156]-rP,s=tC(e,0,100,r),a=eh(e,100,8),c=eh(e,108,8),l=eh(e,116,8),u=eh(e,124,12),d=eh(e,136,12),f=vOt(i),h=e[157]===0?null:tC(e,157,100,r),p=tC(e,265,32),m=tC(e,297,32),g=eh(e,329,8),E=eh(e,337,8),y=vke(e);if(y===256)return null;if(y!==eh(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(SOt(e))e[345]&&(s=tC(e,345,155,r)+"/"+s);else if(!BOt(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return i===0&&s&&s[s.length-1]==="/"&&(i=5),{name:s,mode:a,uid:c,gid:l,size:u,mtime:new Date(1e3*d),type:f,linkname:h,uname:p,gname:m,devmajor:g,devminor:E,pax:null}},"decode");function SOt(t){return Tt.equals(Bke,t.subarray(gB,gB+6))}o(SOt,"isUSTAR");function BOt(t){return Tt.equals(bOt,t.subarray(gB,gB+6))&&Tt.equals(wOt,t.subarray(jY,jY+2))}o(BOt,"isGNU");function xOt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(xOt,"clamp");function vOt(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}o(vOt,"toType");function NOt(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}o(NOt,"toTypeflag");function xke(t,e,r,n){for(;r<n;r++)if(t[r]===e)return r;return n}o(xke,"indexOf");function vke(t){let e=256;for(let r=0;r<148;r++)e+=t[r];for(let r=156;r<512;r++)e+=t[r];return e}o(vke,"cksum");function th(t,e){return t=t.toString(8),t.length>e?EOt.slice(0,e)+" ":yOt.slice(0,e-t.length)+t+" "}o(th,"encodeOct");function _Ot(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(_Ot,"encodeSizeBin");function TOt(t,e,r){t.toString(8).length>11?_Ot(t,e,r):Tt.write(e,th(t,11),r)}o(TOt,"encodeSize");function ROt(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let a=t[n];e?r.push(a):r.push(255-a)}let i=0,s=r.length;for(n=0;n<s;n++)i+=r[n]*Math.pow(256,n);return e?i:-1*i}o(ROt,"parse256");function eh(t,e,r){if(t=t.subarray(e,e+r),e=0,t[e]&128)return ROt(t);{for(;e<t.length&&t[e]===32;)e++;let n=xOt(xke(t,32,e,t.length),t.length,t.length);for(;e<n&&t[e]===0;)e++;return n===e?0:parseInt(Tt.toString(t.subarray(e,n)),8)}}o(eh,"decodeOct");function tC(t,e,r,n){return Tt.toString(t.subarray(e,xke(t,0,e,e+r)),n)}o(tC,"decodeStr");function $Y(t){let e=Tt.byteLength(t),r=Math.floor(Math.log(e)/Math.log(10))+1;return e+r>=Math.pow(10,r)&&r++,e+r+t}o($Y,"addLength")});var Dke=A(($1r,Rke)=>{var{Writable:DOt,Readable:QOt,getStreamError:Nke}=zY(),kOt=_Y(),_ke=tP(),nC=WY(),POt=_ke.alloc(0),YY=class{static{o(this,"BufferList")}constructor(){this.buffered=0,this.shifted=0,this.queue=new kOt,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return POt;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return _ke.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let i=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,i}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},KY=class extends QOt{static{o(this,"Source")}constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(Nke(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=Tke(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},XY=class extends DOt{static{o(this,"Extract")}constructor(e){super(e),e||(e={}),this._buffer=new YY,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=JY,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=nC.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=nC.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=nC.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=nC.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?nC.decodePax(e):Object.assign({},this._paxGlobal,nC.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=Tke(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(r){return this._continueWrite(r),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let r=this._stream.push(e);return this._missing===0?(this._stream.push(null),r&&this._stream._detach(),r&&this._locked===!1):r}_createStream(){return new KY(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let r=this._callback;this._callback=JY,r(e)}_write(e,r){this._callback=r,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(Nke(this)),e(null)}[Symbol.asyncIterator](){let e=null,r=null,n=null,i=null,s=null,a=this;return this.on("entry",u),this.on("error",h=>{e=h}),this.on("close",d),{[Symbol.asyncIterator](){return this},next(){return new Promise(l)},return(){return f(null)},throw(h){return f(h)}};function c(h){if(!s)return;let p=s;s=null,p(h)}o(c,"consumeCallback");function l(h,p){if(e)return p(e);if(i){h({value:i,done:!1}),i=null;return}r=h,n=p,c(null),a._finished&&r&&(r({value:void 0,done:!0}),r=n=null)}o(l,"onnext");function u(h,p,m){s=m,p.on("error",JY),r?(r({value:p,done:!1}),r=n=null):i=p}o(u,"onentry");function d(){c(e),r&&(e?n(e):r({value:void 0,done:!0}),r=n=null)}o(d,"onclose");function f(h){return a.destroy(h),c(h),new Promise((p,m)=>{if(a.destroyed)return p({value:void 0,done:!0});a.once("close",function(){h?m(h):p({value:void 0,done:!0})})})}o(f,"destroy")}};Rke.exports=o(function(e){return new XY(e)},"extract");function JY(){}o(JY,"noop");function Tke(t){return t&=511,t&&512-t}o(Tke,"overflow")});var kke=A((W1r,ZY)=>{var Qke={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{ZY.exports=require("fs").constants||Qke}catch{ZY.exports=Qke}});var Mke=A((J1r,Fke)=>{var{Readable:OOt,Writable:LOt,getStreamError:Pke}=zY(),LA=tP(),iC=kke(),nP=WY(),FOt=493,MOt=420,Oke=LA.alloc(1024),tK=class extends LOt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:qOt,eagerOpen:!0}),this.written=0,this.header=r,this._callback=n,this._linkname=null,this._isLinkname=r.type==="symlink"&&!r.linkname,this._isVoid=r.type!=="file"&&r.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let r=this._callback;this._callback=null,r(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,r){if(this._isLinkname)return this._linkname=this._linkname?LA.concat([this._linkname,e]):e,r(null);if(this._isVoid)return e.byteLength>0?r(new Error("No body allowed for this entry")):r();if(this.written+=e.byteLength,this._pack.push(e))return r();this._pack._drain=r}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?LA.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),Lke(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return Pke(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},rK=class extends OOt{static{o(this,"Pack")}constructor(e){super(e),this._drain=eK,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,r,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof r=="function"&&(n=r,r=null),n||(n=eK),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=UOt(e.mode)),e.mode||(e.mode=e.type==="directory"?FOt:MOt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=LA.from(r));let i=new tK(this,e,n);return LA.isBuffer(r)?(e.size=r.byteLength,i.write(r),i.end(),i):(i._isVoid,i)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(Oke),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let r=nP.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=nP.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:r.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(nP.encode(n)),this.push(r),Lke(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(nP.encode(n))}_doDrain(){let e=this._drain;this._drain=eK,e()}_predestroy(){let e=Pke(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let r=this._pending.shift();r.destroy(e),r._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};Fke.exports=o(function(e){return new rK(e)},"pack");function UOt(t){switch(t&iC.S_IFMT){case iC.S_IFBLK:return"block-device";case iC.S_IFCHR:return"character-device";case iC.S_IFDIR:return"directory";case iC.S_IFIFO:return"fifo";case iC.S_IFLNK:return"symlink"}return"file"}o(UOt,"modeToType");function eK(){}o(eK,"noop");function Lke(t,e){e&=511,e&&t.push(Oke.subarray(0,512-e))}o(Lke,"overflow");function qOt(t){return LA.isBuffer(t)?t:LA.from(t)}o(qOt,"mapWritable")});var Uke=A(nK=>{nK.extract=Dke();nK.pack=Mke()});var Hke=A((X1r,Gke)=>{var GOt=require("zlib"),HOt=Uke(),qke=WE(),Id=o(function(t){if(!(this instanceof Id))return new Id(t);t=this.options=qke.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=HOt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=GOt.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))},"Tar");Id.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Id.prototype.append=function(t,e,r){var n=this;e.mtime=e.date;function i(a,c){if(a){r(a);return}n.engine.entry(e,c,function(l){r(l,e)})}if(o(i,"append"),e.sourceType==="buffer")i(null,t);else if(e.sourceType==="stream"&&e.stats){e.size=e.stats.size;var s=n.engine.entry(e,function(a){r(a,e)});t.pipe(s)}else e.sourceType==="stream"&&qke.collectStream(t,i)};Id.prototype.finalize=function(){this.engine.finalize()};Id.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Id.prototype.pipe=function(t,e){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(t,e):this.engine.pipe.apply(this.engine,arguments)};Id.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};Gke.exports=Id});var $ke=A((ekr,zke)=>{"use strict";function VOt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(VOt,"getDefaultExportFromCjs");var zOt=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function Vke(t){if(Buffer.isBuffer(t))return t;if(typeof t=="number")return Buffer.alloc(t);if(typeof t=="string")return Buffer.from(t);throw new Error("input must be buffer, number, or string, received "+typeof t)}o(Vke,"ensureBuffer");function $Ot(t){let e=Vke(4);return e.writeInt32BE(t,0),e}o($Ot,"bufferizeInt");function iK(t,e){t=Vke(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n<t.length;n++)r=zOt[(r^t[n])&255]^r>>>8;return r^-1}o(iK,"_crc32");function sK(){return $Ot(iK.apply(null,arguments))}o(sK,"crc32");sK.signed=function(){return iK.apply(null,arguments)};sK.unsigned=function(){return iK.apply(null,arguments)>>>0};var jOt=sK,WOt=VOt(jOt);zke.exports=WOt});var Yke=A((rkr,Jke)=>{var JOt=require("util").inherits,jke=SA().Transform,YOt=$ke(),Wke=WE(),rh=o(function(t){if(!(this instanceof rh))return new rh(t);t=this.options=Wke.defaults(t,{}),jke.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]},"Json");JOt(rh,jke);rh.prototype._transform=function(t,e,r){r(null,t)};rh.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};rh.prototype.append=function(t,e,r){var n=this;e.crc32=0;function i(s,a){if(s){r(s);return}e.size=a.length||0,e.crc32=YOt.unsigned(a),n.files.push(e),r(null,e)}o(i,"onend"),e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&Wke.collectStream(t,i)};rh.prototype.finalize=function(){this._writeStringified(),this.end()};Jke.exports=rh});var Xke=A((ikr,Kke)=>{var KOt=p1e(),yB={},nh=o(function(t,e){return nh.create(t,e)},"vending");nh.create=function(t,e){if(yB[t]){var r=new KOt(t,e);return r.setFormat(t),r.setModule(new yB[t](e)),r}else throw new Error("create("+t+"): format not registered")};nh.registerFormat=function(t,e){if(yB[t])throw new Error("register("+t+"): format already registered");if(typeof e!="function")throw new Error("register("+t+"): format module invalid");if(typeof e.prototype.append!="function"||typeof e.prototype.finalize!="function")throw new Error("register("+t+"): format module missing methods");yB[t]=e};nh.isRegisteredFormat=function(t){return!!yB[t]};nh.registerFormat("zip",$1e());nh.registerFormat("tar",Hke());nh.registerFormat("json",Yke());Kke.exports=nh});var hPe=A(aP=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});aP.getProxyUrl=aLt;aP.checkBypass=fPe;function aLt(t){let e=t.protocol==="https:";if(fPe(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 oP(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new oP(`http://${r}`)}else return}o(aLt,"getProxyUrl");function fPe(t){if(!t.hostname)return!1;let e=t.hostname;if(cLt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(fPe,"checkBypass");function cLt(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(cLt,"isLoopbackAddress");var oP=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var APe=A(Sr=>{"use strict";var lLt=Sr&&Sr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),uLt=Sr&&Sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dP=Sr&&Sr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&lLt(r,e,n[i]);return uLt(r,e),r}})(),fn=Sr&&Sr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.HttpClient=Sr.HttpClientResponse=Sr.HttpClientError=Sr.MediaTypes=Sr.Headers=Sr.HttpCodes=void 0;Sr.getProxyUrl=fLt;Sr.isHttps=yLt;var oK=dP(require("http")),pPe=dP(require("https")),aK=dP(hPe()),cP=dP(mm()),dLt=tf(),Na;(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"})(Na||(Sr.HttpCodes=Na={}));var hs;(function(t){t.Accept="accept",t.ContentType="content-type"})(hs||(Sr.Headers=hs={}));var Sd;(function(t){t.ApplicationJson="application/json"})(Sd||(Sr.MediaTypes=Sd={}));function fLt(t){let e=aK.getProxyUrl(new URL(t));return e?e.href:""}o(fLt,"getProxyUrl");var hLt=[Na.MovedPermanently,Na.ResourceMoved,Na.SeeOther,Na.TemporaryRedirect,Na.PermanentRedirect],pLt=[Na.BadGateway,Na.ServiceUnavailable,Na.GatewayTimeout],ALt=["OPTIONS","GET","DELETE","HEAD"],mLt=10,gLt=5,lP=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};Sr.HttpClientError=lP;var uP=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return fn(this,void 0,void 0,function*(){return new Promise(e=>fn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return fn(this,void 0,void 0,function*(){return new Promise(e=>fn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Sr.HttpClientResponse=uP;function yLt(t){return new URL(t).protocol==="https:"}o(yLt,"isHttps");var cK=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return fn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return fn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return fn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return fn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return fn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return fn(this,arguments,void 0,function*(r,n={}){n[hs.Accept]=this._getExistingOrDefaultHeader(n,hs.Accept,Sd.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hs.Accept]=this._getExistingOrDefaultHeader(s,hs.Accept,Sd.ApplicationJson),s[hs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Sd.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hs.Accept]=this._getExistingOrDefaultHeader(s,hs.Accept,Sd.ApplicationJson),s[hs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Sd.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hs.Accept]=this._getExistingOrDefaultHeader(s,hs.Accept,Sd.ApplicationJson),s[hs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Sd.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return fn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&ALt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Na.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&hLt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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 u.readBody(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!pLt.includes(u.message.statusCode))return u;l+=1,l<c&&(yield u.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return u})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return fn(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new uP(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=aK.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?pPe:oK;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},CB(this.requestOptions.headers),CB(e||{})):CB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=CB(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=CB(this.requestOptions.headers)[hs.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[hs.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=aK.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||oK.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?cP.httpsOverHttps:cP.httpsOverHttp:l=u?cP.httpOverHttps:cP.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new pPe.Agent(c):new oK.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new dLt.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return fn(this,void 0,void 0,function*(){e=Math.min(mLt,e);let r=gLt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return fn(this,void 0,void 0,function*(){return new Promise((n,i)=>fn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Na.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new lP(d,s);f.result=a.result,i(f)}else n(a)}))})}};Sr.HttpClient=cK;var CB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var xPe=A((Hkr,BPe)=>{BPe.exports=Oi;function Oi(t){if(!(this instanceof Oi))return new Oi(t);this.value=t}o(Oi,"Traverse");Oi.prototype.get=function(t){for(var e=this.value,r=0;r<t.length;r++){var n=t[r];if(!Object.hasOwnProperty.call(e,n)){e=void 0;break}e=e[n]}return e};Oi.prototype.set=function(t,e){for(var r=this.value,n=0;n<t.length-1;n++){var i=t[n];Object.hasOwnProperty.call(r,i)||(r[i]={}),r=r[i]}return r[t[n]]=e,e};Oi.prototype.map=function(t){return IPe(this.value,t,!0)};Oi.prototype.forEach=function(t){return this.value=IPe(this.value,t,!1),this.value};Oi.prototype.reduce=function(t,e){var r=arguments.length===1,n=r?this.value:e;return this.forEach(function(i){(!this.isRoot||!r)&&(n=t.call(this,n,i))}),n};Oi.prototype.deepEqual=function(t){if(arguments.length!==1)throw new Error("deepEqual requires exactly one object to compare against");var e=!0,r=t;return this.forEach(function(n){var i=(function(){e=!1}).bind(this);if(!this.isRoot){if(typeof r!="object")return i();r=r[this.key]}var s=r;this.post(function(){r=s});var a=o(function(f){return Object.prototype.toString.call(f)},"toS");if(this.circular)Oi(t).get(this.circular.path)!==s&&i();else if(typeof s!=typeof n)i();else if(s===null||n===null||s===void 0||n===void 0)s!==n&&i();else if(s.__proto__!==n.__proto__)i();else if(s!==n){if(typeof s=="function")s instanceof RegExp?s.toString()!=n.toString()&&i():s!==n&&i();else if(typeof s=="object")if(a(n)==="[object Arguments]"||a(s)==="[object Arguments]")a(s)!==a(n)&&i();else if(s instanceof Date||n instanceof Date)(!(s instanceof Date)||!(n instanceof Date)||s.getTime()!==n.getTime())&&i();else{var c=Object.keys(s),l=Object.keys(n);if(c.length!==l.length)return i();for(var u=0;u<c.length;u++){var d=c[u];Object.hasOwnProperty.call(n,d)||i()}}}}),e};Oi.prototype.paths=function(){var t=[];return this.forEach(function(e){t.push(this.path)}),t};Oi.prototype.nodes=function(){var t=[];return this.forEach(function(e){t.push(this.node)}),t};Oi.prototype.clone=function(){var t=[],e=[];return o((function r(n){for(var i=0;i<t.length;i++)if(t[i]===n)return e[i];if(typeof n=="object"&&n!==null){var s=SPe(n);return t.push(n),e.push(s),Object.keys(n).forEach(function(a){s[a]=r(n[a])}),t.pop(),e.pop(),s}else return n}),"clone")(this.value)};function IPe(t,e,r){var n=[],i=[],s=!0;return o((function a(c){var l=r?SPe(c):c,u={},d={node:l,node_:c,path:[].concat(n),parent:i.slice(-1)[0],key:n.slice(-1)[0],isRoot:n.length===0,level:n.length,circular:null,update:o(function(m){d.isRoot||(d.parent.node[d.key]=m),d.node=m},"update"),delete:o(function(){delete d.parent.node[d.key]},"delete"),remove:o(function(){Array.isArray(d.parent.node)?d.parent.node.splice(d.key,1):delete d.parent.node[d.key]},"remove"),before:o(function(m){u.before=m},"before"),after:o(function(m){u.after=m},"after"),pre:o(function(m){u.pre=m},"pre"),post:o(function(m){u.post=m},"post"),stop:o(function(){s=!1},"stop")};if(!s)return d;if(typeof l=="object"&&l!==null){d.isLeaf=Object.keys(l).length==0;for(var f=0;f<i.length;f++)if(i[f].node_===c){d.circular=i[f];break}}else d.isLeaf=!0;d.notLeaf=!d.isLeaf,d.notRoot=!d.isRoot;var h=e.call(d,d.node);if(h!==void 0&&d.update&&d.update(h),u.before&&u.before.call(d,d.node),typeof d.node=="object"&&d.node!==null&&!d.circular){i.push(d);var p=Object.keys(d.node);p.forEach(function(m,g){n.push(m),u.pre&&u.pre.call(d,d.node[m],m);var E=a(d.node[m]);r&&Object.hasOwnProperty.call(d.node,m)&&(d.node[m]=E.node),E.isLast=g==p.length-1,E.isFirst=g==0,u.post&&u.post.call(d,E),n.pop()}),i.pop()}return u.after&&u.after.call(d,d.node),d}),"walker")(t).node}o(IPe,"walk");Object.keys(Oi.prototype).forEach(function(t){Oi[t]=function(e){var r=[].slice.call(arguments,1),n=Oi(e);return n[t].apply(n,r)}});function SPe(t){if(typeof t=="object"&&t!==null){var e;return Array.isArray(t)?e=[]:t instanceof Date?e=new Date(t):t instanceof Boolean?e=new Boolean(t):t instanceof Number?e=new Number(t):t instanceof String?e=new String(t):e=Object.create(Object.getPrototypeOf(t)),Object.keys(t).forEach(function(r){e[r]=t[r]}),e}else return t}o(SPe,"copy")});var NPe=A((zkr,vPe)=>{var ILt=xPe(),SLt=require("events").EventEmitter;vPe.exports=oC;function oC(t){var e=oC.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}o(oC,"Chainsaw");oC.light=o(function(e){var r=oC.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()},"ChainsawLight");oC.saw=function(t,e){var r=new SLt;return r.handlers=e,r.actions=[],r.chain=function(){var n=ILt(r.handlers).map(function(i){if(this.isRoot)return i;var s=this.path;typeof i=="function"&&this.update(function(){return r.actions.push({path:s,args:[].slice.call(arguments)}),n})});return process.nextTick(function(){r.emit("begin"),r.next()}),n},r.pop=function(){return r.actions.shift()},r.next=function(){var n=r.pop();if(!n)r.emit("end");else if(!n.trap){var i=r.handlers;n.path.forEach(function(s){i=i[s]}),i.apply(r.handlers,n.args)}},r.nest=function(n){var i=[].slice.call(arguments,1),s=!0;if(typeof n=="boolean"){var s=n;n=i.shift()}var a=oC.saw(t,{}),c=t.call(a.handlers,a);c!==void 0&&(a.handlers=c),typeof r.step<"u"&&a.record(),n.apply(a.chain(),i),s!==!1&&a.on("end",r.next)},r.record=function(){BLt(r)},["trap","down","jump"].forEach(function(n){r[n]=function(){throw new Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),r};function BLt(t){t.step=0,t.pop=function(){return t.actions[t.step++]},t.trap=function(e,r){var n=Array.isArray(e)?e:[e];t.actions.push({path:n,step:t.step,cb:r,trap:!0})},t.down=function(e){var r=(Array.isArray(e)?e:[e]).join("/"),n=t.actions.slice(t.step).map(function(s){return s.trap&&s.step<=t.step?!1:s.path.join("/")==r}).indexOf(!0);n>=0?t.step+=n:t.step=t.actions.length;var i=t.actions[t.step-1];i&&i.trap?(t.step=i.step,i.cb()):t.next()},t.jump=function(e){t.step=e,t.next()}}o(BLt,"upgradeChainsaw")});var TPe=A((jkr,_Pe)=>{_Pe.exports=ps;function ps(t){if(!(this instanceof ps))return new ps(t);this.buffers=t||[],this.length=this.buffers.reduce(function(e,r){return e+r.length},0)}o(ps,"Buffers");ps.prototype.push=function(){for(var t=0;t<arguments.length;t++)if(!Buffer.isBuffer(arguments[t]))throw new TypeError("Tried to push a non-buffer");for(var t=0;t<arguments.length;t++){var e=arguments[t];this.buffers.push(e),this.length+=e.length}return this.length};ps.prototype.unshift=function(){for(var t=0;t<arguments.length;t++)if(!Buffer.isBuffer(arguments[t]))throw new TypeError("Tried to unshift a non-buffer");for(var t=0;t<arguments.length;t++){var e=arguments[t];this.buffers.unshift(e),this.length+=e.length}return this.length};ps.prototype.copy=function(t,e,r,n){return this.slice(r,n).copy(t,e,0,n-r)};ps.prototype.splice=function(t,e){var r=this.buffers,n=t>=0?t:this.length-t,i=[].slice.call(arguments,2);e===void 0?e=this.length-n:e>this.length-n&&(e=this.length-n);for(var t=0;t<i.length;t++)this.length+=i[t].length;for(var s=new ps,a=0,c=0,l=0;l<r.length&&c+r[l].length<n;l++)c+=r[l].length;if(n-c>0){var u=n-c;if(u+e<r[l].length){s.push(r[l].slice(u,u+e));for(var d=r[l],f=new Buffer(u),t=0;t<u;t++)f[t]=d[t];for(var h=new Buffer(d.length-u-e),t=u+e;t<d.length;t++)h[t-e-u]=d[t];if(i.length>0){var p=i.slice();p.unshift(f),p.push(h),r.splice.apply(r,[l,1].concat(p)),l+=p.length,i=[]}else r.splice(l,1,f,h),l+=2}else s.push(r[l].slice(u)),r[l]=r[l].slice(0,u),l++}for(i.length>0&&(r.splice.apply(r,[l,0].concat(i)),l+=i.length);s.length<e;){var m=r[l],g=m.length,E=Math.min(g,e-s.length);E===g?(s.push(m),r.splice(l,1)):(s.push(m.slice(0,E)),r[l]=r[l].slice(E))}return this.length-=s.length,s};ps.prototype.slice=function(t,e){var r=this.buffers;e===void 0&&(e=this.length),t===void 0&&(t=0),e>this.length&&(e=this.length);for(var n=0,i=0;i<r.length&&n+r[i].length<=t;i++)n+=r[i].length;for(var s=new Buffer(e-t),a=0,c=i;a<e-t&&c<r.length;c++){var l=r[c].length,u=a===0?t-n:0,d=a+l>=e-t?Math.min(u+(e-t)-a,l):l;r[c].copy(s,a,u,d),a+=d-u}return s};ps.prototype.pos=function(t){if(t<0||t>=this.length)throw new Error("oob");for(var e=t,r=0,n=null;;){if(n=this.buffers[r],e<n.length)return{buf:r,offset:e};e-=n.length,r++}};ps.prototype.get=o(function(e){var r=this.pos(e);return this.buffers[r.buf].get(r.offset)},"get");ps.prototype.set=o(function(e,r){var n=this.pos(e);return this.buffers[n.buf].set(n.offset,r)},"set");ps.prototype.indexOf=function(t,e){if(typeof t=="string")t=new Buffer(t);else if(!(t instanceof Buffer))throw new Error("Invalid type for a search string");if(!t.length)return 0;if(!this.length)return-1;var r=0,n=0,i=0,s,a=0;if(e){var c=this.pos(e);r=c.buf,n=c.offset,a=e}for(;;){for(;n>=this.buffers[r].length;)if(n=0,r++,r>=this.buffers.length)return-1;var l=this.buffers[r][n];if(l==t[i]){if(i==0&&(s={i:r,j:n,pos:a}),i++,i==t.length)return s.pos}else i!=0&&(r=s.i,n=s.j,a=s.pos,i=0);n++,a++}};ps.prototype.toBuffer=function(){return this.slice()};ps.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)}});var DPe=A((Jkr,RPe)=>{RPe.exports=function(t){function e(n,i){var s=r.store,a=n.split(".");a.slice(0,-1).forEach(function(l){s[l]===void 0&&(s[l]={}),s=s[l]});var c=a[a.length-1];return arguments.length==1?s[c]:s[c]=i}o(e,"getset");var r={get:o(function(n){return e(n)},"get"),set:o(function(n,i){return e(n,i)},"set"),store:t||{}};return r}});var FPe=A((MA,LPe)=>{var xLt=NPe(),QPe=require("events").EventEmitter,vLt=TPe(),fP=DPe(),NLt=require("stream").Stream;MA=LPe.exports=function(t,e){if(Buffer.isBuffer(t))return MA.parse(t);var r=MA.stream();return t&&t.pipe?t.pipe(r):t&&(t.on(e||"data",function(n){r.write(n)}),t.on("end",function(){r.end()})),r};MA.stream=function(t){if(t)return MA.apply(null,arguments);var e=null;function r(f,h,p){e={bytes:f,skip:p,cb:o(function(m){e=null,h(m)},"cb")},i()}o(r,"getBytes");var n=null;function i(){if(!e){d&&(u=!0);return}if(typeof e=="function")e();else{var f=n+e.bytes;if(c.length>=f){var h;n==null?(h=c.splice(0,f),e.skip||(h=h.slice())):(e.skip||(h=c.slice(n,f)),n=f),e.skip?e.cb():e.cb(h)}}}o(i,"dispatch");function s(f){function h(){u||f.next()}o(h,"next");var p=OPe(function(m,g){return function(E){r(m,function(y){l.set(E,g(y)),h()})}});return p.tap=function(m){f.nest(m,l.store)},p.into=function(m,g){l.get(m)||l.set(m,{});var E=l;l=fP(E.get(m)),f.nest(function(){g.apply(this,arguments),this.tap(function(){l=E})},l.store)},p.flush=function(){l.store={},h()},p.loop=function(m){var g=!1;f.nest(!1,o(function E(){this.vars=l.store,m.call(this,function(){g=!0,h()},l.store),this.tap(function(){g?f.next():E.call(this)}.bind(this))},"loop"),l.store)},p.buffer=function(m,g){typeof g=="string"&&(g=l.get(g)),r(g,function(E){l.set(m,E),h()})},p.skip=function(m){typeof m=="string"&&(m=l.get(m)),r(m,function(){h()})},p.scan=o(function(g,E){if(typeof E=="string")E=new Buffer(E);else if(!Buffer.isBuffer(E))throw new Error("search must be a Buffer or a string");var y=0;e=o(function(){var C=c.indexOf(E,n+y),w=C-n-y;C!==-1?(e=null,n!=null?(l.set(g,c.slice(n,n+y+w)),n+=y+w+E.length):(l.set(g,c.slice(0,y+w)),c.splice(0,y+w+E.length)),h(),i()):w=Math.max(c.length-E.length-n-y,0),y+=w},"pending"),i()},"find"),p.peek=function(m){n=0,f.nest(function(){m.call(this,l.store),this.tap(function(){n=null})})},p}o(s,"builder");var a=xLt.light(s);a.writable=!0;var c=vLt();a.write=function(f){c.push(f),i()};var l=fP(),u=!1,d=!1;return a.end=function(){d=!0},a.pipe=NLt.prototype.pipe,Object.getOwnPropertyNames(QPe.prototype).forEach(function(f){a[f]=QPe.prototype[f]}),a};MA.parse=o(function(e){var r=OPe(function(s,a){return function(c){if(n+s<=e.length){var l=e.slice(n,n+s);n+=s,i.set(c,a(l))}else i.set(c,null);return r}}),n=0,i=fP();return r.vars=i.store,r.tap=function(s){return s.call(r,i.store),r},r.into=function(s,a){i.get(s)||i.set(s,{});var c=i;return i=fP(c.get(s)),a.call(r,i.store),i=c,r},r.loop=function(s){for(var a=!1,c=o(function(){a=!0},"ender");a===!1;)s.call(r,c,i.store);return r},r.buffer=function(s,a){typeof a=="string"&&(a=i.get(a));var c=e.slice(n,Math.min(e.length,n+a));return n+=a,i.set(s,c),r},r.skip=function(s){return typeof s=="string"&&(s=i.get(s)),n+=s,r},r.scan=function(s,a){if(typeof a=="string")a=new Buffer(a);else if(!Buffer.isBuffer(a))throw new Error("search must be a Buffer or a string");i.set(s,null);for(var c=0;c+n<=e.length-a.length+1;c++){for(var l=0;l<a.length&&e[n+c+l]===a[l];l++);if(l===a.length)break}return i.set(s,e.slice(n,n+c)),n+=c+a.length,r},r.peek=function(s){var a=n;return s.call(r,i.store),n=a,r},r.flush=function(){return i.store={},r},r.eof=function(){return n>=e.length},r},"parse");function kPe(t){for(var e=0,r=0;r<t.length;r++)e+=Math.pow(256,r)*t[r];return e}o(kPe,"decodeLEu");function PPe(t){for(var e=0,r=0;r<t.length;r++)e+=Math.pow(256,t.length-r-1)*t[r];return e}o(PPe,"decodeBEu");function _Lt(t){var e=PPe(t);return(t[0]&128)==128&&(e-=Math.pow(256,t.length)),e}o(_Lt,"decodeBEs");function TLt(t){var e=kPe(t);return(t[t.length-1]&128)==128&&(e-=Math.pow(256,t.length)),e}o(TLt,"decodeLEs");function OPe(t){var e={};return[1,2,4,8].forEach(function(r){var n=r*8;e["word"+n+"le"]=e["word"+n+"lu"]=t(r,kPe),e["word"+n+"ls"]=t(r,TLt),e["word"+n+"be"]=e["word"+n+"bu"]=t(r,PPe),e["word"+n+"bs"]=t(r,_Lt)}),e.word8=e.word8u=e.word8be,e.word8s=e.word8bs,e}o(OPe,"words")});var qPe=A((Xkr,UPe)=>{var MPe=require("stream").Transform,RLt=require("util");function UA(t,e){if(!(this instanceof UA))return new UA;MPe.call(this);var r=typeof t=="object"?t.pattern:t;this.pattern=Buffer.isBuffer(r)?r:Buffer.from(r),this.requiredLength=this.pattern.length,t.requiredExtraSize&&(this.requiredLength+=t.requiredExtraSize),this.data=new Buffer(""),this.bytesSoFar=0,this.matchFn=e}o(UA,"MatcherStream");RLt.inherits(UA,MPe);UA.prototype.checkDataChunk=function(t){var e=this.data.length>=this.requiredLength;if(e){var r=this.data.indexOf(this.pattern,t?1:0);if(r>=0&&r+this.requiredLength>this.data.length){if(r>0){var n=this.data.slice(0,r);this.push(n),this.bytesSoFar+=r,this.data=this.data.slice(r)}return}if(r===-1){var i=this.data.length-this.requiredLength+1,n=this.data.slice(0,i);this.push(n),this.bytesSoFar+=i,this.data=this.data.slice(i);return}if(r>0){var n=this.data.slice(0,r);this.data=this.data.slice(r),this.push(n),this.bytesSoFar+=r}var s=this.matchFn?this.matchFn(this.data,this.bytesSoFar):!0;if(s){this.data=new Buffer("");return}return!0}};UA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};UA.prototype._flush=function(t){if(this.data.length>0)for(var e=!0;this.checkDataChunk(!e);)e=!1;this.data.length>0&&(this.push(this.data),this.data=null),t()};UPe.exports=UA});var HPe=A((ePr,GPe)=>{"use strict";var dK=require("stream"),DLt=require("util").inherits;function bB(){if(!(this instanceof bB))return new bB;dK.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(bB,"Entry");DLt(bB,dK.PassThrough);bB.prototype.autodrain=function(){return this.pipe(new dK.Transform({transform:o(function(t,e,r){r()},"transform")}))};GPe.exports=bB});var hK=A((rPr,zPe)=>{"use strict";var sh=FPe(),fK=require("stream"),QLt=require("util"),kLt=require("zlib"),PLt=qPe(),VPe=HPe(),Fe={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99},wB=4294967296,OLt=67324752,LLt=134695760,FLt=33639248,MLt=101075792,ULt=117853008,qLt=101010256;function Ii(t){if(!(this instanceof Ii))return new Ii(t);fK.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Fe.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}o(Ii,"UnzipStream");QLt.inherits(Ii,fK.Transform);Ii.prototype.processDataChunk=function(t){var e;switch(this.state){case Fe.STREAM_START:case Fe.START:e=4;break;case Fe.LOCAL_FILE_HEADER:e=26;break;case Fe.LOCAL_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Fe.DATA_DESCRIPTOR:e=12;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:e=42;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Fe.CDIR64_END:e=52;break;case Fe.CDIR64_END_DATA_SECTOR:e=this.parsedEntity.centralDirectoryRecordSize-44;break;case Fe.CDIR64_LOCATOR:e=16;break;case Fe.CENTRAL_DIRECTORY_END:e=18;break;case Fe.CENTRAL_DIRECTORY_END_COMMENT:e=this.parsedEntity.commentLength;break;case Fe.FILE_DATA:return 0;case Fe.FILE_DATA_END:return 0;case Fe.TRAILING_JUNK:return this.options.debug&&console.log("found",t.length,"bytes of TRAILING_JUNK"),t.length;default:return t.length}var r=t.length;if(r<e)return 0;switch(this.state){case Fe.STREAM_START:case Fe.START:var n=t.readUInt32LE(0);switch(n){case OLt:this.state=Fe.LOCAL_FILE_HEADER;break;case FLt:this.state=Fe.CENTRAL_DIRECTORY_FILE_HEADER;break;case MLt:this.state=Fe.CDIR64_END;break;case ULt:this.state=Fe.CDIR64_LOCATOR;break;case qLt:this.state=Fe.CENTRAL_DIRECTORY_END;break;default:var i=this.state===Fe.STREAM_START;if(!i&&(n&65535)!==19280&&this.skippedBytes<26){for(var s=n,a=4,c=1;c<4&&s!==0;c++)if(s=s>>>8,(s&255)===80){a=c;break}return this.skippedBytes+=a,this.options.debug&&console.log("Skipped",this.skippedBytes,"bytes"),a}this.state=Fe.ERROR;var l=i?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var u=t.readUInt32LE(0),d;try{d=t.slice(0,4).toString()}catch{}console.log("Unexpected signature in zip file: 0x"+u.toString(16),'"'+d+'", skipped',this.skippedBytes,"bytes")}return this.emit("error",new Error(l)),t.length}return this.skippedBytes=0,e;case Fe.LOCAL_FILE_HEADER:return this.parsedEntity=this._readFile(t),this.state=Fe.LOCAL_FILE_HEADER_SUFFIX,e;case Fe.LOCAL_FILE_HEADER_SUFFIX:var f=new VPe,h=(this.parsedEntity.flags&2048)!==0;f.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h);var m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);if(g&&g.parsed&&(g.parsed.path&&!h&&(f.path=g.parsed.path),Number.isFinite(g.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===wB-1&&(this.parsedEntity.uncompressedSize=g.parsed.uncompressedSize),Number.isFinite(g.parsed.compressedSize)&&this.parsedEntity.compressedSize===wB-1&&(this.parsedEntity.compressedSize=g.parsed.compressedSize)),this.parsedEntity.extra=g.parsed||{},this.options.debug){let B=Object.assign({},this.parsedEntity,{path:f.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:g&&g.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(B,null,2))}return this._prepareOutStream(this.parsedEntity,f),this.emit("entry",f),this.state=Fe.FILE_DATA,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:return this.parsedEntity=this._readCentralDirectoryEntry(t),this.state=Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var h=(this.parsedEntity.flags&2048)!==0,p=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h),m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);g&&g.parsed&&g.parsed.path&&!h&&(p=g.parsed.path),this.parsedEntity.extra=g.parsed;var E=(this.parsedEntity.versionMadeBy&65280)>>8===3,y,C;if(E){y=this.parsedEntity.externalFileAttributes>>>16;var w=y>>>12;C=(w&10)===10}if(this.options.debug){let B=Object.assign({},this.parsedEntity,{path:p,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:y&&"0"+y.toString(8),isSymlink:C,extraFields:g.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(B,null,2))}return this.state=Fe.START,e;case Fe.CDIR64_END:return this.parsedEntity=this._readEndOfCentralDirectory64(t),this.options.debug&&console.log("decoded CDIR64_END_RECORD:",this.parsedEntity),this.state=Fe.CDIR64_END_DATA_SECTOR,e;case Fe.CDIR64_END_DATA_SECTOR:return this.state=Fe.START,e;case Fe.CDIR64_LOCATOR:return this.state=Fe.START,e;case Fe.CENTRAL_DIRECTORY_END:return this.parsedEntity=this._readEndOfCentralDirectory(t),this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity),this.state=Fe.CENTRAL_DIRECTORY_END_COMMENT,e;case Fe.CENTRAL_DIRECTORY_END_COMMENT:return this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",t.slice(0,e).toString()),this.state=Fe.TRAILING_JUNK,e;case Fe.ERROR:return t.length;default:return console.log("didn't handle state #",this.state,"discarding"),t.length}};Ii.prototype._prepareOutStream=function(t,e){var r=this,n=t.uncompressedSize===0&&/[\/\\]$/.test(e.path);e.path=e.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,"."),e.type=n?"Directory":"File",e.isDirectory=n;var i=!(t.flags&8);i&&(e.size=t.uncompressedSize);var s=t.versionsNeededToExtract<=45;if(this.outStreamInfo={stream:null,limit:i?t.compressedSize:-1,written:0},i)this.outStreamInfo.stream=new fK.PassThrough;else{var a=new Buffer(4);a.writeUInt32LE(LLt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},d=new PLt(u,function(g,E){var y=r._readDataDescriptor(g,c),C=y.compressedSize===E;if(!c&&!C&&E>=wB)for(var w=E-wB;w>=0&&(C=y.compressedSize===w,!C);)w-=wB;if(C){r.state=Fe.FILE_DATA_END;var B=c?24:16;return r.data.length>0?r.data=Buffer.concat([g.slice(B),r.data]):r.data=g.slice(B),!0}});this.outStreamInfo.stream=d}var f=t.flags&1||t.flags&64;if(f||!s){var h=f?"Encrypted files are not supported!":"Zip version "+Math.floor(t.versionsNeededToExtract/10)+"."+t.versionsNeededToExtract%10+" is not supported";e.skip=!0,setImmediate(()=>{r.emit("error",new Error(h))}),this.outStreamInfo.stream.pipe(new VPe().autodrain());return}var p=t.compressionMethod>0;if(p){var m=kLt.createInflateRaw();m.on("error",function(g){r.state=Fe.ERROR,r.emit("error",g)}),this.outStreamInfo.stream.pipe(m).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};Ii.prototype._readFile=function(t){var e=sh.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return e};Ii.prototype._readExtraFields=function(t){var e={},r={parsed:e};this.options.debug&&(r.debug=[]);for(var n=0;n<t.length;){var i=sh.parse(t).skip(n).word16lu("extraId").word16lu("extraSize").vars;n+=4;var s=void 0;switch(i.extraId){case 1:s="Zip64 extended information extra field";var a=sh.parse(t.slice(n,n+i.extraSize)).word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offsetToLocalHeader").word32lu("diskStartNumber").vars;a.uncompressedSize!==null&&(e.uncompressedSize=a.uncompressedSize),a.compressedSize!==null&&(e.compressedSize=a.compressedSize),e.zip64Mode=!0;break;case 10:s="NTFS extra field";break;case 21589:s="extended timestamp";var c=t.readUInt8(n),C=1;i.extraSize>=C+4&&c&1&&(e.mtime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&2&&(e.atime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&4&&(e.ctime=new Date(t.readUInt32LE(n+C)*1e3));break;case 28789:s="Info-ZIP Unicode Path Extra Field";var l=t.readUInt8(n);if(l===1){var C=1,u=t.readUInt32LE(n+C);C+=4;var d=t.slice(n+C);e.path=d.toString()}break;case 13:case 22613:s=i.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var C=0;if(i.extraSize>=8){var f=new Date(t.readUInt32LE(n+C)*1e3);C+=4;var h=new Date(t.readUInt32LE(n+C)*1e3);if(C+=4,e.atime=f,e.mtime=h,i.extraSize>=12){var p=t.readUInt16LE(n+C);C+=2;var m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}}break;case 30805:s="Info-ZIP UNIX (type 2)";var C=0;if(i.extraSize>=4){var p=t.readUInt16LE(n+C);C+=2;var m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}break;case 30837:s="Info-ZIP New Unix";var C=0,g=t.readUInt8(n);if(C+=1,g===1){var E=t.readUInt8(n+C);C+=1,E<=6&&(e.uid=t.readUIntLE(n+C,E)),C+=E;var y=t.readUInt8(n+C);C+=1,y<=6&&(e.gid=t.readUIntLE(n+C,y))}break;case 30062:s="ASi Unix";var C=0;if(i.extraSize>=14){var w=t.readUInt32LE(n+C);C+=4;var B=t.readUInt16LE(n+C);C+=2;var Q=t.readUInt32LE(n+C);C+=4;var p=t.readUInt16LE(n+C);C+=2;var m=t.readUInt16LE(n+C);if(C+=2,e.mode=B,e.uid=p,e.gid=m,i.extraSize>14){var q=n+C,v=n+i.extraSize-14,$=this._decodeString(t.slice(q,v));e.symlink=$}}break}this.options.debug&&r.debug.push({extraId:"0x"+i.extraId.toString(16),description:s,data:t.slice(n,n+i.extraSize).inspect()}),n+=i.extraSize}return r};Ii.prototype._readDataDescriptor=function(t,e){if(e){var r=sh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=sh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};Ii.prototype._readCentralDirectoryEntry=function(t){var e=sh.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e};Ii.prototype._readEndOfCentralDirectory64=function(t){var e=sh.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};Ii.prototype._readEndOfCentralDirectory=function(t){var e=sh.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var GLt="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ";Ii.prototype._decodeString=function(t,e){if(e)return t.toString("utf8");if(this.options.decodeString)return this.options.decodeString(t);let r="";for(var n=0;n<t.length;n++)r+=GLt[t[n]];return r};Ii.prototype._parseOrOutput=function(t,e){for(var r;(r=this.processDataChunk(this.data))>0&&(this.data=this.data.slice(r),this.data.length!==0););if(this.state===Fe.FILE_DATA){if(this.outStreamInfo.limit>=0){var n=this.outStreamInfo.limit-this.outStreamInfo.written,i;n<this.data.length?(i=this.data.slice(0,n),this.data=this.data.slice(n)):(i=this.data,this.data=new Buffer("")),this.outStreamInfo.written+=i.length,this.outStreamInfo.limit===this.outStreamInfo.written?(this.state=Fe.START,this.outStreamInfo.stream.end(i,t,e)):this.outStreamInfo.stream.write(i,t,e)}else{var i=this.data;this.data=new Buffer(""),this.outStreamInfo.written+=i.length;var s=this.outStreamInfo.stream;s.write(i,t,()=>{if(this.state===Fe.FILE_DATA_END)return this.state=Fe.START,s.end(e);e()})}return}e()};Ii.prototype.drainAll=function(){this._drainAllEntries=!0};Ii.prototype._transform=function(t,e,r){var n=this;n.data.length>0?n.data=Buffer.concat([n.data,t]):n.data=t;var i=n.data.length,s=o(function(){if(n.data.length>0&&n.data.length<i){i=n.data.length,n._parseOrOutput(e,s);return}r()},"done");n._parseOrOutput(e,s)};Ii.prototype._flush=function(t){var e=this;if(e.data.length>0){e._parseOrOutput("buffer",function(){if(e.data.length>0)return setImmediate(function(){e._flush(t)});t()});return}if(e.state===Fe.FILE_DATA)return t(new Error("Stream finished in an invalid state, uncompression failed"));setImmediate(t)};zPe.exports=Ii});var jPe=A((iPr,$Pe)=>{var IB=require("stream").Transform,HLt=require("util"),VLt=hK();function oh(t){if(!(this instanceof oh))return new oh(t);var e=t||{};IB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new VLt(this.opts);var r=this;this.unzipStream.on("entry",function(n){r.push(n)}),this.unzipStream.on("error",function(n){r.emit("error",n)})}o(oh,"ParserStream");HLt.inherits(oh,IB);oh.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};oh.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};oh.prototype.on=function(t,e){return t==="entry"?IB.prototype.on.call(this,"data",e):IB.prototype.on.call(this,t,e)};oh.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new IB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};$Pe.exports=oh});var KPe=A((oPr,YPe)=>{var SB=require("path"),WPe=require("fs"),JPe=parseInt("0777",8);YPe.exports=aC.mkdirp=aC.mkdirP=aC;function aC(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||WPe;i===void 0&&(i=JPe),n||(n=null);var a=r||function(){};t=SB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(SB.dirname(t)===t)return a(c);aC(SB.dirname(t),e,function(l,u){l?a(l,u):aC(t,e,a,u)});break;default:s.stat(t,function(l,u){l||!u.isDirectory()?a(c,n):a(null,n)});break}})}o(aC,"mkdirP");aC.sync=o(function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||WPe;i===void 0&&(i=JPe),n||(n=null),e=SB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(SB.dirname(e),r,n),t(e,r,n);break;default:var a;try{a=s.statSync(e)}catch{throw c}if(!a.isDirectory())throw c;break}}return n},"sync")});var tOe=A((cPr,eOe)=>{var zLt=require("fs"),XPe=require("path"),$Lt=require("util"),jLt=KPe(),ZPe=require("stream").Transform,WLt=hK();function ah(t){if(!(this instanceof ah))return new ah(t);ZPe.call(this),this.opts=t||{},this.unzipStream=new WLt(this.opts),this.unfinishedEntries=0,this.afterFlushWait=!1,this.createdDirectories={};var e=this;this.unzipStream.on("entry",this._processEntry.bind(this)),this.unzipStream.on("error",function(r){e.emit("error",r)})}o(ah,"Extract");$Lt.inherits(ah,ZPe);ah.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};ah.prototype._flush=function(t){var e=this,r=o(function(){process.nextTick(function(){e.emit("close")}),t()},"allDone");this.unzipStream.end(function(){if(e.unfinishedEntries>0)return e.afterFlushWait=!0,e.on("await-finished",r);r()})};ah.prototype._processEntry=function(t){var e=this,r=XPe.join(this.opts.path,t.path),n=t.isDirectory?r:XPe.dirname(r);this.unfinishedEntries++;var i=o(function(){var s=zLt.createWriteStream(r);s.on("close",function(){e.unfinishedEntries--,e._notifyAwaiter()}),s.on("error",function(a){e.emit("error",a)}),t.pipe(s)},"writeFileFn");if(this.createdDirectories[n]||n===".")return i();jLt(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};ah.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};eOe.exports=ah});var rOe=A(pK=>{"use strict";pK.Parse=jPe();pK.Extract=tOe()});var hOe=A((mK,gK)=>{(function(t,e){typeof mK=="object"&&typeof gK<"u"?gK.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(mK,(function(){"use strict";var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e(be){return be&&be.default||be}o(e,"getCjsExportFromNamespace");var r=o(function(be,P,x={}){var F,U,j;for(F in P)j=P[F],x[F]=(U=be[F])!=null?U:j;return x},"load"),n=o(function(be,P,x={}){var F,U;for(F in be)U=be[F],P[F]!==void 0&&(x[F]=U);return x},"overwrite"),i={load:r,overwrite:n},s;s=class{static{o(this,"DLList")}constructor(P,x){this.incr=P,this.decr=x,this._first=null,this._last=null,this.length=0}push(P){var x;this.length++,typeof this.incr=="function"&&this.incr(),x={value:P,prev:this._last,next:null},this._last!=null?(this._last.next=x,this._last=x):this._first=this._last=x}shift(){var P;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),P=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,P}first(){if(this._first!=null)return this._first.value}getArray(){var P,x,F;for(P=this._first,F=[];P!=null;)F.push((x=P,P=P.next,x.value));return F}forEachShift(P){var x;for(x=this.shift();x!=null;)P(x),x=this.shift()}debug(){var P,x,F,U,j;for(P=this._first,j=[];P!=null;)j.push((x=P,P=P.next,{value:x.value,prev:(F=x.prev)!=null?F.value:void 0,next:(U=x.next)!=null?U.value:void 0}));return j}};var a=s,c;c=class{static{o(this,"Events")}constructor(P){if(this.instance=P,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(x,F)=>this._addListener(x,"many",F),this.instance.once=(x,F)=>this._addListener(x,"once",F),this.instance.removeAllListeners=(x=null)=>x!=null?delete this._events[x]:this._events={}}_addListener(P,x,F){var U;return(U=this._events)[P]==null&&(U[P]=[]),this._events[P].push({cb:F,status:x}),this.instance}listenerCount(P){return this._events[P]!=null?this._events[P].length:0}async trigger(P,...x){var F,U;try{return P!=="debug"&&this.trigger("debug",`Event triggered: ${P}`,x),this._events[P]==null?void 0:(this._events[P]=this._events[P].filter(function(j){return j.status!=="none"}),U=this._events[P].map(async j=>{var X,ge;if(j.status!=="none"){j.status==="once"&&(j.status="none");try{return ge=typeof j.cb=="function"?j.cb(...x):void 0,typeof ge?.then=="function"?await ge:ge}catch(St){return X=St,this.trigger("error",X),null}}}),(await Promise.all(U)).find(function(j){return j!=null}))}catch(j){return F=j,this.trigger("error",F),null}}};var l=c,u,d,f;u=a,d=l,f=class{static{o(this,"Queues")}constructor(P){var x;this.Events=new d(this),this._length=0,this._lists=(function(){var F,U,j;for(j=[],x=F=1,U=P;1<=U?F<=U:F>=U;x=1<=U?++F:--F)j.push(new u((()=>this.incr()),(()=>this.decr())));return j}).call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(P){return this._lists[P.options.priority].push(P)}queued(P){return P!=null?this._lists[P].length:this._length}shiftAll(P){return this._lists.forEach(function(x){return x.forEachShift(P)})}getFirst(P=this._lists){var x,F,U;for(x=0,F=P.length;x<F;x++)if(U=P[x],U.length>0)return U;return[]}shiftLastFrom(P){return this.getFirst(this._lists.slice(P).reverse()).shift()}};var h=f,p;p=class extends Error{static{o(this,"BottleneckError")}};var m=p,g,E,y,C,w;C=10,E=5,w=i,g=m,y=class{static{o(this,"Job")}constructor(P,x,F,U,j,X,ge,St){this.task=P,this.args=x,this.rejectOnDrop=j,this.Events=X,this._states=ge,this.Promise=St,this.options=w.load(F,U),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===U.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((pn,Kt)=>{this._resolve=pn,this._reject=Kt}),this.retryCount=0}_sanitizePriority(P){var x;return x=~~P!==P?E:P,x<0?0:x>C-1?C-1:x}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:P,message:x="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(P??new g(x)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(P){var x;if(x=this._states.jobStatus(this.options.id),!(x===P||P==="DONE"&&x===null))throw new g(`Invalid job status ${x}, expected ${P}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(P,x){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:P,blocked:x})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(P,x,F,U){var j,X,ge;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),X={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",X);try{if(ge=await(P!=null?P.schedule(this.options,this.task,...this.args):this.task(...this.args)),x())return this.doDone(X),await U(this.options,X),this._assertStatus("DONE"),this._resolve(ge)}catch(St){return j=St,this._onFailure(j,X,x,F,U)}}doExpire(P,x,F){var U,j;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),j={args:this.args,options:this.options,retryCount:this.retryCount},U=new g(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(U,j,P,x,F)}async _onFailure(P,x,F,U,j){var X,ge;if(F())return X=await this.Events.trigger("failed",P,x),X!=null?(ge=~~X,this.Events.trigger("retry",`Retrying ${this.options.id} after ${ge} ms`,x),this.retryCount++,U(ge)):(this.doDone(x),await j(this.options,x),this._assertStatus("DONE"),this._reject(P))}doDone(P){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",P)}};var B=y,Q,q,v;v=i,Q=m,q=class{static{o(this,"LocalDatastore")}constructor(P,x,F){this.instance=P,this.storeOptions=x,this.clientId=this.instance._randomIndex(),v.load(F,F,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var P;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(P=this.heartbeat=setInterval(()=>{var x,F,U,j,X;if(j=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&j>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=j,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&j>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:x,reservoirIncreaseMaximum:U,reservoir:X}=this.storeOptions,this._lastReservoirIncrease=j,F=U!=null?Math.min(x,U-X):x,F>0))return this.storeOptions.reservoir+=F,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?P.unref():void 0:clearInterval(this.heartbeat)}async __publish__(P){return await this.yieldLoop(),this.instance.Events.trigger("message",P.toString())}async __disconnect__(P){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(P=0){return new this.Promise(function(x,F){return setTimeout(x,P)})}computePenalty(){var P;return(P=this.storeOptions.penalty)!=null?P:15*this.storeOptions.minTime||5e3}async __updateSettings__(P){return await this.yieldLoop(),v.overwrite(P,P,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(P){return await this.yieldLoop(),this._nextRequest+this.timeout<P}computeCapacity(){var P,x;return{maxConcurrent:P,reservoir:x}=this.storeOptions,P!=null&&x!=null?Math.min(P-this._running,x):P!=null?P-this._running:x??null}conditionsCheck(P){var x;return x=this.computeCapacity(),x==null||P<=x}async __incrementReservoir__(P){var x;return await this.yieldLoop(),x=this.storeOptions.reservoir+=P,this.instance._drainAll(this.computeCapacity()),x}async __currentReservoir__(){return await this.yieldLoop(),this.storeOptions.reservoir}isBlocked(P){return this._unblockTime>=P}check(P,x){return this.conditionsCheck(P)&&this._nextRequest-x<=0}async __check__(P){var x;return await this.yieldLoop(),x=Date.now(),this.check(P,x)}async __register__(P,x,F){var U,j;return await this.yieldLoop(),U=Date.now(),this.conditionsCheck(x)?(this._running+=x,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=x),j=Math.max(this._nextRequest-U,0),this._nextRequest=U+j+this.storeOptions.minTime,{success:!0,wait:j,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(P,x){var F,U,j;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&x>this.storeOptions.maxConcurrent)throw new Q(`Impossible to add a job having a weight of ${x} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return U=Date.now(),j=this.storeOptions.highWater!=null&&P===this.storeOptions.highWater&&!this.check(x,U),F=this.strategyIsBlock()&&(j||this.isBlocked(U)),F&&(this._unblockTime=U+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:j,blocked:F,strategy:this.storeOptions.strategy}}async __free__(P,x){return await this.yieldLoop(),this._running-=x,this._done+=x,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var $=q,R,H;R=m,H=class{static{o(this,"States")}constructor(P){this.status=P,this._jobs={},this.counts=this.status.map(function(){return 0})}next(P){var x,F;if(x=this._jobs[P],F=x+1,x!=null&&F<this.status.length)return this.counts[x]--,this.counts[F]++,this._jobs[P]++;if(x!=null)return this.counts[x]--,delete this._jobs[P]}start(P){var x;return x=0,this._jobs[P]=x,this.counts[x]++}remove(P){var x;return x=this._jobs[P],x!=null&&(this.counts[x]--,delete this._jobs[P]),x!=null}jobStatus(P){var x;return(x=this.status[this._jobs[P]])!=null?x:null}statusJobs(P){var x,F,U,j,X;if(P!=null){if(F=this.status.indexOf(P),F<0)throw new R(`status must be one of ${this.status.join(", ")}`);U=this._jobs,j=[];for(x in U)X=U[x],X===F&&j.push(x);return j}else return Object.keys(this._jobs)}statusCounts(){return this.counts.reduce(((P,x,F)=>(P[this.status[F]]=x,P)),{})}};var V=H,J,ee;J=a,ee=class{static{o(this,"Sync")}constructor(P,x){this.schedule=this.schedule.bind(this),this.name=P,this.Promise=x,this._running=0,this._queue=new J}isEmpty(){return this._queue.length===0}async _tryToRun(){var P,x,F,U,j,X,ge;if(this._running<1&&this._queue.length>0)return this._running++,{task:ge,args:P,resolve:j,reject:U}=this._queue.shift(),x=await(async function(){try{return X=await ge(...P),function(){return j(X)}}catch(St){return F=St,function(){return U(F)}}})(),this._running--,this._tryToRun(),x()}schedule(P,...x){var F,U,j;return j=U=null,F=new this.Promise(function(X,ge){return j=X,U=ge}),this._queue.push({task:P,args:x,resolve:j,reject:U}),this._tryToRun(),F}};var ae=ee,Ae="2.19.5",Y={version:Ae},z=Object.freeze({version:Ae,default:Y}),Ie=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$2"),Be=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$3"),st=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4"),bt,hr,hn,oi,pr,Jr;Jr=i,bt=l,oi=Ie,hn=Be,pr=st,hr=(function(){class be{static{o(this,"Group")}constructor(x={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=x,Jr.load(this.limiterOptions,this.defaults,this),this.Events=new bt(this),this.instances={},this.Bottleneck=Fa,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new oi(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new hn(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(x=""){var F;return(F=this.instances[x])!=null?F:(()=>{var U;return U=this.instances[x]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${x}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",U,x),U})()}async deleteKey(x=""){var F,U;return U=this.instances[x],this.connection&&(F=await this.connection.__runCommand__(["del",...pr.allKeys(`${this.id}-${x}`)])),U!=null&&(delete this.instances[x],await U.disconnect()),U!=null||F>0}limiters(){var x,F,U,j;F=this.instances,U=[];for(x in F)j=F[x],U.push({key:x,limiter:j});return U}keys(){return Object.keys(this.instances)}async clusterKeys(){var x,F,U,j,X,ge,St,pn,Kt;if(this.connection==null)return this.Promise.resolve(this.keys());for(ge=[],x=null,Kt=`b_${this.id}-`.length,F=9;x!==0;)for([pn,U]=await this.connection.__runCommand__(["scan",x??0,"match",`b_${this.id}-*_settings`,"count",1e4]),x=~~pn,j=0,St=U.length;j<St;j++)X=U[j],ge.push(X.slice(Kt,-F));return ge}_startAutoCleanup(){var x;return clearInterval(this.interval),typeof(x=this.interval=setInterval(async()=>{var F,U,j,X,ge,St;ge=Date.now(),j=this.instances,X=[];for(U in j){St=j[U];try{await St._store.__groupCheck__(ge)?X.push(this.deleteKey(U)):X.push(void 0)}catch(pn){F=pn,X.push(St.Events.trigger("error",F))}}return X},this.timeout/2)).unref=="function"?x.unref():void 0}updateSettings(x={}){if(Jr.overwrite(x,this.defaults,this),Jr.overwrite(x,x,this.limiterOptions),x.timeout!=null)return this._startAutoCleanup()}disconnect(x=!0){var F;if(!this.sharedConnection)return(F=this.connection)!=null?F.disconnect(x):void 0}}return be.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},be}).call(t);var xh=hr,pu,vc,ms;ms=i,vc=l,pu=(function(){class be{static{o(this,"Batcher")}constructor(x={}){this.options=x,ms.load(this.options,this.defaults,this),this.Events=new vc(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((x,F)=>this._resolve=x)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(x){var F;return this._arr.push(x),F=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),F}}return be.prototype.defaults={maxTime:null,maxSize:null,Promise},be}).call(t);var La=pu,Pd=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4$1"),Od=e(z),Au,sx,KC,XC,ox,lm,ax,ZC,um,dm,$s,cx=[].splice;lm=10,sx=5,$s=i,ax=h,XC=B,ox=$,ZC=Pd,KC=l,um=V,dm=ae,Au=(function(){class be{static{o(this,"Bottleneck")}constructor(x={},...F){var U,j;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(x,F),$s.load(x,this.instanceDefaults,this),this._queues=new ax(lm),this._scheduled={},this._states=new um(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new KC(this),this._submitLock=new dm("submit",this.Promise),this._registerLock=new dm("register",this.Promise),j=$s.load(x,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return U=$s.load(x,this.redisStoreDefaults,{}),new ZC(this,j,U);if(this.datastore==="local")return U=$s.load(x,this.localStoreDefaults,{}),new ox(this,j,U);throw new be.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.ref=="function"?X.ref():void 0}),this._queues.on("zero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.unref=="function"?X.unref():void 0})}_validateOptions(x,F){if(!(x!=null&&typeof x=="object"&&F.length===0))throw new be.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(x){return this._store.__publish__(x)}disconnect(x=!0){return this._store.__disconnect__(x)}chain(x){return this._limiter=x,this}queued(x){return this._queues.queued(x)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(x){return this._states.jobStatus(x)}jobs(x){return this._states.statusJobs(x)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(x=1){return this._store.__check__(x)}_clearGlobalState(x){return this._scheduled[x]!=null?(clearTimeout(this._scheduled[x].expiration),delete this._scheduled[x],!0):!1}async _free(x,F,U,j){var X,ge;try{if({running:ge}=await this._store.__free__(x,U.weight),this.Events.trigger("debug",`Freed ${U.id}`,j),ge===0&&this.empty())return this.Events.trigger("idle")}catch(St){return X=St,this.Events.trigger("error",X)}}_run(x,F,U){var j,X,ge;return F.doRun(),j=this._clearGlobalState.bind(this,x),ge=this._run.bind(this,x,F),X=this._free.bind(this,x,F),this._scheduled[x]={timeout:setTimeout(()=>F.doExecute(this._limiter,j,ge,X),U),expiration:F.options.expiration!=null?setTimeout(function(){return F.doExpire(j,ge,X)},U+F.options.expiration):void 0,job:F}}_drainOne(x){return this._registerLock.schedule(()=>{var F,U,j,X,ge;return this.queued()===0?this.Promise.resolve(null):(ge=this._queues.getFirst(),{options:X,args:F}=j=ge.first(),x!=null&&X.weight>x?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${X.id}`,{args:F,options:X}),U=this._randomIndex(),this._store.__register__(U,X.weight,X.expiration).then(({success:St,wait:pn,reservoir:Kt})=>{var vh;return this.Events.trigger("debug",`Drained ${X.id}`,{success:St,args:F,options:X}),St?(ge.shift(),vh=this.empty(),vh&&this.Events.trigger("empty"),Kt===0&&this.Events.trigger("depleted",vh),this._run(U,j,pn),this.Promise.resolve(X.weight)):this.Promise.resolve(null)})))})}_drainAll(x,F=0){return this._drainOne(x).then(U=>{var j;return U!=null?(j=x!=null?x-U:x,this._drainAll(j,F+U)):this.Promise.resolve(F)}).catch(U=>this.Events.trigger("error",U))}_dropAllQueued(x){return this._queues.shiftAll(function(F){return F.doDrop({message:x})})}stop(x={}){var F,U;return x=$s.load(x,this.stopDefaults),U=o(j=>{var X;return X=o(()=>{var ge;return ge=this._states.counts,ge[0]+ge[1]+ge[2]+ge[3]===j},"finished"),new this.Promise((ge,St)=>X()?ge():this.on("done",()=>{if(X())return this.removeAllListeners("done"),ge()}))},"waitForExecuting"),F=x.dropWaitingJobs?(this._run=function(j,X){return X.doDrop({message:x.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var j,X,ge;X=this._scheduled;for(j in X)ge=X[j],this.jobStatus(ge.job.options.id)==="RUNNING"&&(clearTimeout(ge.timeout),clearTimeout(ge.expiration),ge.job.doDrop({message:x.dropErrorMessage}));return this._dropAllQueued(x.dropErrorMessage),U(0)}))):this.schedule({priority:lm-1,weight:0},()=>U(1)),this._receive=function(j){return j._reject(new be.prototype.BottleneckError(x.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new be.prototype.BottleneckError("stop() has already been called")),F}async _addToQueue(x){var F,U,j,X,ge,St,pn;({args:F,options:X}=x);try{({reachedHWM:ge,blocked:U,strategy:pn}=await this._store.__submit__(this.queued(),X.weight))}catch(Kt){return j=Kt,this.Events.trigger("debug",`Could not queue ${X.id}`,{args:F,options:X,error:j}),x.doDrop({error:j}),!1}return U?(x.doDrop(),!0):ge&&(St=pn===be.prototype.strategy.LEAK?this._queues.shiftLastFrom(X.priority):pn===be.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(X.priority+1):pn===be.prototype.strategy.OVERFLOW?x:void 0,St?.doDrop(),St==null||pn===be.prototype.strategy.OVERFLOW)?(St==null&&x.doDrop(),ge):(x.doQueue(ge,U),this._queues.push(x),await this._drainAll(),ge)}_receive(x){return this._states.jobStatus(x.options.id)!=null?(x._reject(new be.prototype.BottleneckError(`A job with the same id already exists (id=${x.options.id})`)),!1):(x.doReceive(),this._submitLock.schedule(this._addToQueue,x))}submit(...x){var F,U,j,X,ge,St,pn;return typeof x[0]=="function"?(ge=x,[U,...x]=ge,[F]=cx.call(x,-1),X=$s.load({},this.jobDefaults)):(St=x,[X,U,...x]=St,[F]=cx.call(x,-1),X=$s.load(X,this.jobDefaults)),pn=o((...Kt)=>new this.Promise(function(vh,fm){return U(...Kt,function(...lx){return(lx[0]!=null?fm:vh)(lx)})}),"task"),j=new XC(pn,x,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),j.promise.then(function(Kt){return typeof F=="function"?F(...Kt):void 0}).catch(function(Kt){return Array.isArray(Kt)?typeof F=="function"?F(...Kt):void 0:typeof F=="function"?F(Kt):void 0}),this._receive(j)}schedule(...x){var F,U,j;return typeof x[0]=="function"?([j,...x]=x,U={}):[U,j,...x]=x,F=new XC(j,x,U,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(F),F.promise}wrap(x){var F,U;return F=this.schedule.bind(this),U=o(function(...j){return F(x.bind(this),...j)},"wrapped"),U.withOptions=function(j,...X){return F(j,x,...X)},U}async updateSettings(x={}){return await this._store.__updateSettings__($s.overwrite(x,this.storeDefaults)),$s.overwrite(x,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(x=0){return this._store.__incrementReservoir__(x)}}return be.default=be,be.Events=KC,be.version=be.prototype.version=Od.version,be.strategy=be.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},be.BottleneckError=be.prototype.BottleneckError=m,be.Group=be.prototype.Group=xh,be.RedisConnection=be.prototype.RedisConnection=Ie,be.IORedisConnection=be.prototype.IORedisConnection=Be,be.Batcher=be.prototype.Batcher=La,be.prototype.jobDefaults={priority:sx,weight:1,expiration:null,id:"<no-id>"},be.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:be.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},be.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},be.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},be.prototype.instanceDefaults={datastore:"local",connection:null,id:"<no-id>",rejectOnDrop:!0,trackDoneStatus:!1,Promise},be.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},be}).call(t);var Fa=Au,eb=Fa;return eb}))});var xOe=A((yP,xB)=>{(function(t){var e=typeof yP=="object"&&yP,r=typeof xB=="object"&&xB&&xB.exports==e&&xB,n=typeof global=="object"&&global;(n.global===n||n.window===n)&&(t=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,a=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},u=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\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",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
`,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},g={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},E={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,w={},B=w.hasOwnProperty,Q=o(function(z,Ie){return B.call(z,Ie)},"has"),q=o(function(z,Ie){for(var Be=-1,st=z.length;++Be<st;)if(z[Be]==Ie)return!0;return!1},"contains"),v=o(function(z,Ie){if(!z)return Ie;var Be={},st;for(st in Ie)Be[st]=Q(z,st)?z[st]:Ie[st];return Be},"merge"),$=o(function(z,Ie){var Be="";return z>=55296&&z<=57343||z>1114111?(Ie&&V("character reference outside the permissible Unicode range"),"\uFFFD"):Q(E,z)?(Ie&&V("disallowed character reference"),E[z]):(Ie&&q(y,z)&&V("disallowed character reference"),z>65535&&(z-=65536,Be+=C(z>>>10&1023|55296),z=56320|z&1023),Be+=C(z),Be)},"codePointToSymbol"),R=o(function(z){return"&#x"+z.toString(16).toUpperCase()+";"},"hexEscape"),H=o(function(z){return"&#"+z+";"},"decEscape"),V=o(function(z){throw Error("Parse error: "+z)},"parseError"),J=o(function(z,Ie){Ie=v(Ie,J.options);var Be=Ie.strict;Be&&h.test(z)&&V("forbidden code point");var st=Ie.encodeEverything,bt=Ie.useNamedReferences,hr=Ie.allowUnsafeSymbols,hn=Ie.decimal?H:R,oi=o(function(pr){return hn(pr.charCodeAt(0))},"escapeBmpSymbol");return st?(z=z.replace(s,function(pr){return bt&&Q(l,pr)?"&"+l[pr]+";":oi(pr)}),bt&&(z=z.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),bt&&(z=z.replace(c,function(pr){return"&"+l[pr]+";"}))):bt?(hr||(z=z.replace(u,function(pr){return"&"+l[pr]+";"})),z=z.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;"),z=z.replace(c,function(pr){return"&"+l[pr]+";"})):hr||(z=z.replace(u,oi)),z.replace(i,function(pr){var Jr=pr.charCodeAt(0),xh=pr.charCodeAt(1),pu=(Jr-55296)*1024+xh-56320+65536;return hn(pu)}).replace(a,oi)},"encode");J.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ee=o(function(z,Ie){Ie=v(Ie,ee.options);var Be=Ie.strict;return Be&&f.test(z)&&V("malformed character reference"),z.replace(p,function(st,bt,hr,hn,oi,pr,Jr,xh,pu){var vc,ms,La,Pd,Od,Au;return bt?(Od=bt,m[Od]):hr?(Od=hr,Au=hn,Au&&Ie.isAttributeValue?(Be&&Au=="="&&V("`&` did not start a character reference"),st):(Be&&V("named character reference was not terminated by a semicolon"),g[Od]+(Au||""))):oi?(La=oi,ms=pr,Be&&!ms&&V("character reference was not terminated by a semicolon"),vc=parseInt(La,10),$(vc,Be)):Jr?(Pd=Jr,ms=xh,Be&&!ms&&V("character reference was not terminated by a semicolon"),vc=parseInt(Pd,16),$(vc,Be)):(Be&&V("named character reference was not terminated by a semicolon"),st)})},"decode");ee.options={isAttributeValue:!1,strict:!1};var ae=o(function(z){return z.replace(u,function(Ie){return d[Ie]})},"escape"),Ae={version:"1.2.0",encode:J,decode:ee,escape:ae,unescape:ee};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return Ae});else if(e&&!e.nodeType)if(r)r.exports=Ae;else for(var Y in Ae)Q(Ae,Y)&&(e[Y]=Ae[Y]);else t.he=Ae})(yP)});var _P=A(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.Signature=lh.Envelope=void 0;lh.Envelope={fromJSON(t){return{payload:NP(t.payload)?Buffer.from(sLe(t.payload)):Buffer.alloc(0),payloadType:NP(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>lh.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=oLe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>lh.Signature.toJSON(r))),e}};lh.Signature={fromJSON(t){return{sig:NP(t.sig)?Buffer.from(sLe(t.sig)):Buffer.alloc(0),keyid:NP(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=oLe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function sLe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(sLe,"bytesFromBase64");function oLe(t){return globalThis.Buffer.from(t).toString("base64")}o(oLe,"base64FromBytes");function NP(t){return t!=null}o(NP,"isSet")});var cLe=A(TP=>{"use strict";Object.defineProperty(TP,"__esModule",{value:!0});TP.Timestamp=void 0;TP.Timestamp={fromJSON(t){return{seconds:aLe(t.seconds)?globalThis.String(t.seconds):"0",nanos:aLe(t.nanos)?globalThis.Number(t.nanos):0}},toJSON(t){let e={};return t.seconds!=="0"&&(e.seconds=t.seconds),t.nanos!==0&&(e.nanos=Math.round(t.nanos)),e}};function aLe(t){return t!=null}o(aLe,"isSet")});var xd=A(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.TimeRange=Ge.X509CertificateChain=Ge.SubjectAlternativeName=Ge.X509Certificate=Ge.DistinguishedName=Ge.ObjectIdentifierValuePair=Ge.ObjectIdentifier=Ge.PublicKeyIdentifier=Ge.PublicKey=Ge.RFC3161SignedTimestamp=Ge.LogId=Ge.MessageSignature=Ge.HashOutput=Ge.SubjectAlternativeNameType=Ge.PublicKeyDetails=Ge.HashAlgorithm=void 0;Ge.hashAlgorithmFromJSON=uLe;Ge.hashAlgorithmToJSON=dLe;Ge.publicKeyDetailsFromJSON=fLe;Ge.publicKeyDetailsToJSON=hLe;Ge.subjectAlternativeNameTypeFromJSON=pLe;Ge.subjectAlternativeNameTypeToJSON=ALe;var wUt=cLe(),Us;(function(t){t[t.HASH_ALGORITHM_UNSPECIFIED=0]="HASH_ALGORITHM_UNSPECIFIED",t[t.SHA2_256=1]="SHA2_256",t[t.SHA2_384=2]="SHA2_384",t[t.SHA2_512=3]="SHA2_512",t[t.SHA3_256=4]="SHA3_256",t[t.SHA3_384=5]="SHA3_384"})(Us||(Ge.HashAlgorithm=Us={}));function uLe(t){switch(t){case 0:case"HASH_ALGORITHM_UNSPECIFIED":return Us.HASH_ALGORITHM_UNSPECIFIED;case 1:case"SHA2_256":return Us.SHA2_256;case 2:case"SHA2_384":return Us.SHA2_384;case 3:case"SHA2_512":return Us.SHA2_512;case 4:case"SHA3_256":return Us.SHA3_256;case 5:case"SHA3_384":return Us.SHA3_384;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o(uLe,"hashAlgorithmFromJSON");function dLe(t){switch(t){case Us.HASH_ALGORITHM_UNSPECIFIED:return"HASH_ALGORITHM_UNSPECIFIED";case Us.SHA2_256:return"SHA2_256";case Us.SHA2_384:return"SHA2_384";case Us.SHA2_512:return"SHA2_512";case Us.SHA3_256:return"SHA3_256";case Us.SHA3_384:return"SHA3_384";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o(dLe,"hashAlgorithmToJSON");var qe;(function(t){t[t.PUBLIC_KEY_DETAILS_UNSPECIFIED=0]="PUBLIC_KEY_DETAILS_UNSPECIFIED",t[t.PKCS1_RSA_PKCS1V5=1]="PKCS1_RSA_PKCS1V5",t[t.PKCS1_RSA_PSS=2]="PKCS1_RSA_PSS",t[t.PKIX_RSA_PKCS1V5=3]="PKIX_RSA_PKCS1V5",t[t.PKIX_RSA_PSS=4]="PKIX_RSA_PSS",t[t.PKIX_RSA_PKCS1V15_2048_SHA256=9]="PKIX_RSA_PKCS1V15_2048_SHA256",t[t.PKIX_RSA_PKCS1V15_3072_SHA256=10]="PKIX_RSA_PKCS1V15_3072_SHA256",t[t.PKIX_RSA_PKCS1V15_4096_SHA256=11]="PKIX_RSA_PKCS1V15_4096_SHA256",t[t.PKIX_RSA_PSS_2048_SHA256=16]="PKIX_RSA_PSS_2048_SHA256",t[t.PKIX_RSA_PSS_3072_SHA256=17]="PKIX_RSA_PSS_3072_SHA256",t[t.PKIX_RSA_PSS_4096_SHA256=18]="PKIX_RSA_PSS_4096_SHA256",t[t.PKIX_ECDSA_P256_HMAC_SHA_256=6]="PKIX_ECDSA_P256_HMAC_SHA_256",t[t.PKIX_ECDSA_P256_SHA_256=5]="PKIX_ECDSA_P256_SHA_256",t[t.PKIX_ECDSA_P384_SHA_384=12]="PKIX_ECDSA_P384_SHA_384",t[t.PKIX_ECDSA_P521_SHA_512=13]="PKIX_ECDSA_P521_SHA_512",t[t.PKIX_ED25519=7]="PKIX_ED25519",t[t.PKIX_ED25519_PH=8]="PKIX_ED25519_PH",t[t.PKIX_ECDSA_P384_SHA_256=19]="PKIX_ECDSA_P384_SHA_256",t[t.PKIX_ECDSA_P521_SHA_256=20]="PKIX_ECDSA_P521_SHA_256",t[t.LMS_SHA256=14]="LMS_SHA256",t[t.LMOTS_SHA256=15]="LMOTS_SHA256",t[t.ML_DSA_65=21]="ML_DSA_65",t[t.ML_DSA_87=22]="ML_DSA_87"})(qe||(Ge.PublicKeyDetails=qe={}));function fLe(t){switch(t){case 0:case"PUBLIC_KEY_DETAILS_UNSPECIFIED":return qe.PUBLIC_KEY_DETAILS_UNSPECIFIED;case 1:case"PKCS1_RSA_PKCS1V5":return qe.PKCS1_RSA_PKCS1V5;case 2:case"PKCS1_RSA_PSS":return qe.PKCS1_RSA_PSS;case 3:case"PKIX_RSA_PKCS1V5":return qe.PKIX_RSA_PKCS1V5;case 4:case"PKIX_RSA_PSS":return qe.PKIX_RSA_PSS;case 9:case"PKIX_RSA_PKCS1V15_2048_SHA256":return qe.PKIX_RSA_PKCS1V15_2048_SHA256;case 10:case"PKIX_RSA_PKCS1V15_3072_SHA256":return qe.PKIX_RSA_PKCS1V15_3072_SHA256;case 11:case"PKIX_RSA_PKCS1V15_4096_SHA256":return qe.PKIX_RSA_PKCS1V15_4096_SHA256;case 16:case"PKIX_RSA_PSS_2048_SHA256":return qe.PKIX_RSA_PSS_2048_SHA256;case 17:case"PKIX_RSA_PSS_3072_SHA256":return qe.PKIX_RSA_PSS_3072_SHA256;case 18:case"PKIX_RSA_PSS_4096_SHA256":return qe.PKIX_RSA_PSS_4096_SHA256;case 6:case"PKIX_ECDSA_P256_HMAC_SHA_256":return qe.PKIX_ECDSA_P256_HMAC_SHA_256;case 5:case"PKIX_ECDSA_P256_SHA_256":return qe.PKIX_ECDSA_P256_SHA_256;case 12:case"PKIX_ECDSA_P384_SHA_384":return qe.PKIX_ECDSA_P384_SHA_384;case 13:case"PKIX_ECDSA_P521_SHA_512":return qe.PKIX_ECDSA_P521_SHA_512;case 7:case"PKIX_ED25519":return qe.PKIX_ED25519;case 8:case"PKIX_ED25519_PH":return qe.PKIX_ED25519_PH;case 19:case"PKIX_ECDSA_P384_SHA_256":return qe.PKIX_ECDSA_P384_SHA_256;case 20:case"PKIX_ECDSA_P521_SHA_256":return qe.PKIX_ECDSA_P521_SHA_256;case 14:case"LMS_SHA256":return qe.LMS_SHA256;case 15:case"LMOTS_SHA256":return qe.LMOTS_SHA256;case 21:case"ML_DSA_65":return qe.ML_DSA_65;case 22:case"ML_DSA_87":return qe.ML_DSA_87;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(fLe,"publicKeyDetailsFromJSON");function hLe(t){switch(t){case qe.PUBLIC_KEY_DETAILS_UNSPECIFIED:return"PUBLIC_KEY_DETAILS_UNSPECIFIED";case qe.PKCS1_RSA_PKCS1V5:return"PKCS1_RSA_PKCS1V5";case qe.PKCS1_RSA_PSS:return"PKCS1_RSA_PSS";case qe.PKIX_RSA_PKCS1V5:return"PKIX_RSA_PKCS1V5";case qe.PKIX_RSA_PSS:return"PKIX_RSA_PSS";case qe.PKIX_RSA_PKCS1V15_2048_SHA256:return"PKIX_RSA_PKCS1V15_2048_SHA256";case qe.PKIX_RSA_PKCS1V15_3072_SHA256:return"PKIX_RSA_PKCS1V15_3072_SHA256";case qe.PKIX_RSA_PKCS1V15_4096_SHA256:return"PKIX_RSA_PKCS1V15_4096_SHA256";case qe.PKIX_RSA_PSS_2048_SHA256:return"PKIX_RSA_PSS_2048_SHA256";case qe.PKIX_RSA_PSS_3072_SHA256:return"PKIX_RSA_PSS_3072_SHA256";case qe.PKIX_RSA_PSS_4096_SHA256:return"PKIX_RSA_PSS_4096_SHA256";case qe.PKIX_ECDSA_P256_HMAC_SHA_256:return"PKIX_ECDSA_P256_HMAC_SHA_256";case qe.PKIX_ECDSA_P256_SHA_256:return"PKIX_ECDSA_P256_SHA_256";case qe.PKIX_ECDSA_P384_SHA_384:return"PKIX_ECDSA_P384_SHA_384";case qe.PKIX_ECDSA_P521_SHA_512:return"PKIX_ECDSA_P521_SHA_512";case qe.PKIX_ED25519:return"PKIX_ED25519";case qe.PKIX_ED25519_PH:return"PKIX_ED25519_PH";case qe.PKIX_ECDSA_P384_SHA_256:return"PKIX_ECDSA_P384_SHA_256";case qe.PKIX_ECDSA_P521_SHA_256:return"PKIX_ECDSA_P521_SHA_256";case qe.LMS_SHA256:return"LMS_SHA256";case qe.LMOTS_SHA256:return"LMOTS_SHA256";case qe.ML_DSA_65:return"ML_DSA_65";case qe.ML_DSA_87:return"ML_DSA_87";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(hLe,"publicKeyDetailsToJSON");var Zl;(function(t){t[t.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED=0]="SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED",t[t.EMAIL=1]="EMAIL",t[t.URI=2]="URI",t[t.OTHER_NAME=3]="OTHER_NAME"})(Zl||(Ge.SubjectAlternativeNameType=Zl={}));function pLe(t){switch(t){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return Zl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return Zl.EMAIL;case 2:case"URI":return Zl.URI;case 3:case"OTHER_NAME":return Zl.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(pLe,"subjectAlternativeNameTypeFromJSON");function ALe(t){switch(t){case Zl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case Zl.EMAIL:return"EMAIL";case Zl.URI:return"URI";case Zl.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(ALe,"subjectAlternativeNameTypeToJSON");Ge.HashOutput={fromJSON(t){return{algorithm:Sn(t.algorithm)?uLe(t.algorithm):0,digest:Sn(t.digest)?Buffer.from(zA(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=dLe(t.algorithm)),t.digest.length!==0&&(e.digest=$A(t.digest)),e}};Ge.MessageSignature={fromJSON(t){return{messageDigest:Sn(t.messageDigest)?Ge.HashOutput.fromJSON(t.messageDigest):void 0,signature:Sn(t.signature)?Buffer.from(zA(t.signature)):Buffer.alloc(0)}},toJSON(t){let e={};return t.messageDigest!==void 0&&(e.messageDigest=Ge.HashOutput.toJSON(t.messageDigest)),t.signature.length!==0&&(e.signature=$A(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:Sn(t.keyId)?Buffer.from(zA(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=$A(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:Sn(t.signedTimestamp)?Buffer.from(zA(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=$A(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:Sn(t.rawBytes)?Buffer.from(zA(t.rawBytes)):void 0,keyDetails:Sn(t.keyDetails)?fLe(t.keyDetails):0,validFor:Sn(t.validFor)?Ge.TimeRange.fromJSON(t.validFor):void 0}},toJSON(t){let e={};return t.rawBytes!==void 0&&(e.rawBytes=$A(t.rawBytes)),t.keyDetails!==0&&(e.keyDetails=hLe(t.keyDetails)),t.validFor!==void 0&&(e.validFor=Ge.TimeRange.toJSON(t.validFor)),e}};Ge.PublicKeyIdentifier={fromJSON(t){return{hint:Sn(t.hint)?globalThis.String(t.hint):""}},toJSON(t){let e={};return t.hint!==""&&(e.hint=t.hint),e}};Ge.ObjectIdentifier={fromJSON(t){return{id:globalThis.Array.isArray(t?.id)?t.id.map(e=>globalThis.Number(e)):[]}},toJSON(t){let e={};return t.id?.length&&(e.id=t.id.map(r=>Math.round(r))),e}};Ge.ObjectIdentifierValuePair={fromJSON(t){return{oid:Sn(t.oid)?Ge.ObjectIdentifier.fromJSON(t.oid):void 0,value:Sn(t.value)?Buffer.from(zA(t.value)):Buffer.alloc(0)}},toJSON(t){let e={};return t.oid!==void 0&&(e.oid=Ge.ObjectIdentifier.toJSON(t.oid)),t.value.length!==0&&(e.value=$A(t.value)),e}};Ge.DistinguishedName={fromJSON(t){return{organization:Sn(t.organization)?globalThis.String(t.organization):"",commonName:Sn(t.commonName)?globalThis.String(t.commonName):""}},toJSON(t){let e={};return t.organization!==""&&(e.organization=t.organization),t.commonName!==""&&(e.commonName=t.commonName),e}};Ge.X509Certificate={fromJSON(t){return{rawBytes:Sn(t.rawBytes)?Buffer.from(zA(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=$A(t.rawBytes)),e}};Ge.SubjectAlternativeName={fromJSON(t){return{type:Sn(t.type)?pLe(t.type):0,identity:Sn(t.regexp)?{$case:"regexp",regexp:globalThis.String(t.regexp)}:Sn(t.value)?{$case:"value",value:globalThis.String(t.value)}:void 0}},toJSON(t){let e={};return t.type!==0&&(e.type=ALe(t.type)),t.identity?.$case==="regexp"?e.regexp=t.identity.regexp:t.identity?.$case==="value"&&(e.value=t.identity.value),e}};Ge.X509CertificateChain={fromJSON(t){return{certificates:globalThis.Array.isArray(t?.certificates)?t.certificates.map(e=>Ge.X509Certificate.fromJSON(e)):[]}},toJSON(t){let e={};return t.certificates?.length&&(e.certificates=t.certificates.map(r=>Ge.X509Certificate.toJSON(r))),e}};Ge.TimeRange={fromJSON(t){return{start:Sn(t.start)?lLe(t.start):void 0,end:Sn(t.end)?lLe(t.end):void 0}},toJSON(t){let e={};return t.start!==void 0&&(e.start=t.start.toISOString()),t.end!==void 0&&(e.end=t.end.toISOString()),e}};function zA(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(zA,"bytesFromBase64");function $A(t){return globalThis.Buffer.from(t).toString("base64")}o($A,"base64FromBytes");function IUt(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(IUt,"fromTimestamp");function lLe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):IUt(wUt.Timestamp.fromJSON(t))}o(lLe,"fromJsonTimestamp");function Sn(t){return t!=null}o(Sn,"isSet")});var MK=A(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.TransparencyLogEntry=Bn.InclusionPromise=Bn.InclusionProof=Bn.Checkpoint=Bn.KindVersion=void 0;var mLe=xd();Bn.KindVersion={fromJSON(t){return{kind:As(t.kind)?globalThis.String(t.kind):"",version:As(t.version)?globalThis.String(t.version):""}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.version!==""&&(e.version=t.version),e}};Bn.Checkpoint={fromJSON(t){return{envelope:As(t.envelope)?globalThis.String(t.envelope):""}},toJSON(t){let e={};return t.envelope!==""&&(e.envelope=t.envelope),e}};Bn.InclusionProof={fromJSON(t){return{logIndex:As(t.logIndex)?globalThis.String(t.logIndex):"0",rootHash:As(t.rootHash)?Buffer.from(RP(t.rootHash)):Buffer.alloc(0),treeSize:As(t.treeSize)?globalThis.String(t.treeSize):"0",hashes:globalThis.Array.isArray(t?.hashes)?t.hashes.map(e=>Buffer.from(RP(e))):[],checkpoint:As(t.checkpoint)?Bn.Checkpoint.fromJSON(t.checkpoint):void 0}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.rootHash.length!==0&&(e.rootHash=DP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>DP(r))),t.checkpoint!==void 0&&(e.checkpoint=Bn.Checkpoint.toJSON(t.checkpoint)),e}};Bn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:As(t.signedEntryTimestamp)?Buffer.from(RP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=DP(t.signedEntryTimestamp)),e}};Bn.TransparencyLogEntry={fromJSON(t){return{logIndex:As(t.logIndex)?globalThis.String(t.logIndex):"0",logId:As(t.logId)?mLe.LogId.fromJSON(t.logId):void 0,kindVersion:As(t.kindVersion)?Bn.KindVersion.fromJSON(t.kindVersion):void 0,integratedTime:As(t.integratedTime)?globalThis.String(t.integratedTime):"0",inclusionPromise:As(t.inclusionPromise)?Bn.InclusionPromise.fromJSON(t.inclusionPromise):void 0,inclusionProof:As(t.inclusionProof)?Bn.InclusionProof.fromJSON(t.inclusionProof):void 0,canonicalizedBody:As(t.canonicalizedBody)?Buffer.from(RP(t.canonicalizedBody)):Buffer.alloc(0)}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.logId!==void 0&&(e.logId=mLe.LogId.toJSON(t.logId)),t.kindVersion!==void 0&&(e.kindVersion=Bn.KindVersion.toJSON(t.kindVersion)),t.integratedTime!=="0"&&(e.integratedTime=t.integratedTime),t.inclusionPromise!==void 0&&(e.inclusionPromise=Bn.InclusionPromise.toJSON(t.inclusionPromise)),t.inclusionProof!==void 0&&(e.inclusionProof=Bn.InclusionProof.toJSON(t.inclusionProof)),t.canonicalizedBody.length!==0&&(e.canonicalizedBody=DP(t.canonicalizedBody)),e}};function RP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(RP,"bytesFromBase64");function DP(t){return globalThis.Buffer.from(t).toString("base64")}o(DP,"base64FromBytes");function As(t){return t!=null}o(As,"isSet")});var UK=A(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.Bundle=_a.VerificationMaterial=_a.TimestampVerificationData=void 0;var gLe=_P(),eu=xd(),yLe=MK();_a.TimestampVerificationData={fromJSON(t){return{rfc3161Timestamps:globalThis.Array.isArray(t?.rfc3161Timestamps)?t.rfc3161Timestamps.map(e=>eu.RFC3161SignedTimestamp.fromJSON(e)):[]}},toJSON(t){let e={};return t.rfc3161Timestamps?.length&&(e.rfc3161Timestamps=t.rfc3161Timestamps.map(r=>eu.RFC3161SignedTimestamp.toJSON(r))),e}};_a.VerificationMaterial={fromJSON(t){return{content:uh(t.publicKey)?{$case:"publicKey",publicKey:eu.PublicKeyIdentifier.fromJSON(t.publicKey)}:uh(t.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:eu.X509CertificateChain.fromJSON(t.x509CertificateChain)}:uh(t.certificate)?{$case:"certificate",certificate:eu.X509Certificate.fromJSON(t.certificate)}:void 0,tlogEntries:globalThis.Array.isArray(t?.tlogEntries)?t.tlogEntries.map(e=>yLe.TransparencyLogEntry.fromJSON(e)):[],timestampVerificationData:uh(t.timestampVerificationData)?_a.TimestampVerificationData.fromJSON(t.timestampVerificationData):void 0}},toJSON(t){let e={};return t.content?.$case==="publicKey"?e.publicKey=eu.PublicKeyIdentifier.toJSON(t.content.publicKey):t.content?.$case==="x509CertificateChain"?e.x509CertificateChain=eu.X509CertificateChain.toJSON(t.content.x509CertificateChain):t.content?.$case==="certificate"&&(e.certificate=eu.X509Certificate.toJSON(t.content.certificate)),t.tlogEntries?.length&&(e.tlogEntries=t.tlogEntries.map(r=>yLe.TransparencyLogEntry.toJSON(r))),t.timestampVerificationData!==void 0&&(e.timestampVerificationData=_a.TimestampVerificationData.toJSON(t.timestampVerificationData)),e}};_a.Bundle={fromJSON(t){return{mediaType:uh(t.mediaType)?globalThis.String(t.mediaType):"",verificationMaterial:uh(t.verificationMaterial)?_a.VerificationMaterial.fromJSON(t.verificationMaterial):void 0,content:uh(t.messageSignature)?{$case:"messageSignature",messageSignature:eu.MessageSignature.fromJSON(t.messageSignature)}:uh(t.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:gLe.Envelope.fromJSON(t.dsseEnvelope)}:void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.verificationMaterial!==void 0&&(e.verificationMaterial=_a.VerificationMaterial.toJSON(t.verificationMaterial)),t.content?.$case==="messageSignature"?e.messageSignature=eu.MessageSignature.toJSON(t.content.messageSignature):t.content?.$case==="dsseEnvelope"&&(e.dsseEnvelope=gLe.Envelope.toJSON(t.content.dsseEnvelope)),e}};function uh(t){return t!=null}o(uh,"isSet")});var qK=A(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.ClientTrustConfig=ze.ServiceConfiguration=ze.Service=ze.SigningConfig=ze.TrustedRoot=ze.CertificateAuthority=ze.TransparencyLogInstance=ze.ServiceSelector=void 0;ze.serviceSelectorFromJSON=ELe;ze.serviceSelectorToJSON=CLe;var Fi=xd(),tu;(function(t){t[t.SERVICE_SELECTOR_UNDEFINED=0]="SERVICE_SELECTOR_UNDEFINED",t[t.ALL=1]="ALL",t[t.ANY=2]="ANY",t[t.EXACT=3]="EXACT"})(tu||(ze.ServiceSelector=tu={}));function ELe(t){switch(t){case 0:case"SERVICE_SELECTOR_UNDEFINED":return tu.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return tu.ALL;case 2:case"ANY":return tu.ANY;case 3:case"EXACT":return tu.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(ELe,"serviceSelectorFromJSON");function CLe(t){switch(t){case tu.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case tu.ALL:return"ALL";case tu.ANY:return"ANY";case tu.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(CLe,"serviceSelectorToJSON");ze.TransparencyLogInstance={fromJSON(t){return{baseUrl:Br(t.baseUrl)?globalThis.String(t.baseUrl):"",hashAlgorithm:Br(t.hashAlgorithm)?(0,Fi.hashAlgorithmFromJSON)(t.hashAlgorithm):0,publicKey:Br(t.publicKey)?Fi.PublicKey.fromJSON(t.publicKey):void 0,logId:Br(t.logId)?Fi.LogId.fromJSON(t.logId):void 0,checkpointKeyId:Br(t.checkpointKeyId)?Fi.LogId.fromJSON(t.checkpointKeyId):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.baseUrl!==""&&(e.baseUrl=t.baseUrl),t.hashAlgorithm!==0&&(e.hashAlgorithm=(0,Fi.hashAlgorithmToJSON)(t.hashAlgorithm)),t.publicKey!==void 0&&(e.publicKey=Fi.PublicKey.toJSON(t.publicKey)),t.logId!==void 0&&(e.logId=Fi.LogId.toJSON(t.logId)),t.checkpointKeyId!==void 0&&(e.checkpointKeyId=Fi.LogId.toJSON(t.checkpointKeyId)),t.operator!==""&&(e.operator=t.operator),e}};ze.CertificateAuthority={fromJSON(t){return{subject:Br(t.subject)?Fi.DistinguishedName.fromJSON(t.subject):void 0,uri:Br(t.uri)?globalThis.String(t.uri):"",certChain:Br(t.certChain)?Fi.X509CertificateChain.fromJSON(t.certChain):void 0,validFor:Br(t.validFor)?Fi.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.subject!==void 0&&(e.subject=Fi.DistinguishedName.toJSON(t.subject)),t.uri!==""&&(e.uri=t.uri),t.certChain!==void 0&&(e.certChain=Fi.X509CertificateChain.toJSON(t.certChain)),t.validFor!==void 0&&(e.validFor=Fi.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.TrustedRoot={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",tlogs:globalThis.Array.isArray(t?.tlogs)?t.tlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],certificateAuthorities:globalThis.Array.isArray(t?.certificateAuthorities)?t.certificateAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[],ctlogs:globalThis.Array.isArray(t?.ctlogs)?t.ctlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],timestampAuthorities:globalThis.Array.isArray(t?.timestampAuthorities)?t.timestampAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[]}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.tlogs?.length&&(e.tlogs=t.tlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.certificateAuthorities?.length&&(e.certificateAuthorities=t.certificateAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),t.ctlogs?.length&&(e.ctlogs=t.ctlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.timestampAuthorities?.length&&(e.timestampAuthorities=t.timestampAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),e}};ze.SigningConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",caUrls:globalThis.Array.isArray(t?.caUrls)?t.caUrls.map(e=>ze.Service.fromJSON(e)):[],oidcUrls:globalThis.Array.isArray(t?.oidcUrls)?t.oidcUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogUrls:globalThis.Array.isArray(t?.rekorTlogUrls)?t.rekorTlogUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogConfig:Br(t.rekorTlogConfig)?ze.ServiceConfiguration.fromJSON(t.rekorTlogConfig):void 0,tsaUrls:globalThis.Array.isArray(t?.tsaUrls)?t.tsaUrls.map(e=>ze.Service.fromJSON(e)):[],tsaConfig:Br(t.tsaConfig)?ze.ServiceConfiguration.fromJSON(t.tsaConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.caUrls?.length&&(e.caUrls=t.caUrls.map(r=>ze.Service.toJSON(r))),t.oidcUrls?.length&&(e.oidcUrls=t.oidcUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogUrls?.length&&(e.rekorTlogUrls=t.rekorTlogUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogConfig!==void 0&&(e.rekorTlogConfig=ze.ServiceConfiguration.toJSON(t.rekorTlogConfig)),t.tsaUrls?.length&&(e.tsaUrls=t.tsaUrls.map(r=>ze.Service.toJSON(r))),t.tsaConfig!==void 0&&(e.tsaConfig=ze.ServiceConfiguration.toJSON(t.tsaConfig)),e}};ze.Service={fromJSON(t){return{url:Br(t.url)?globalThis.String(t.url):"",majorApiVersion:Br(t.majorApiVersion)?globalThis.Number(t.majorApiVersion):0,validFor:Br(t.validFor)?Fi.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.url!==""&&(e.url=t.url),t.majorApiVersion!==0&&(e.majorApiVersion=Math.round(t.majorApiVersion)),t.validFor!==void 0&&(e.validFor=Fi.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.ServiceConfiguration={fromJSON(t){return{selector:Br(t.selector)?ELe(t.selector):0,count:Br(t.count)?globalThis.Number(t.count):0}},toJSON(t){let e={};return t.selector!==0&&(e.selector=CLe(t.selector)),t.count!==0&&(e.count=Math.round(t.count)),e}};ze.ClientTrustConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",trustedRoot:Br(t.trustedRoot)?ze.TrustedRoot.fromJSON(t.trustedRoot):void 0,signingConfig:Br(t.signingConfig)?ze.SigningConfig.fromJSON(t.signingConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.trustedRoot!==void 0&&(e.trustedRoot=ze.TrustedRoot.toJSON(t.trustedRoot)),t.signingConfig!==void 0&&(e.signingConfig=ze.SigningConfig.toJSON(t.signingConfig)),e}};function Br(t){return t!=null}o(Br,"isSet")});var ILe=A($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.Input=$e.Artifact=$e.ArtifactVerificationOptions_ObserverTimestampOptions=$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions=$e.ArtifactVerificationOptions_TimestampAuthorityOptions=$e.ArtifactVerificationOptions_CtlogOptions=$e.ArtifactVerificationOptions_TlogOptions=$e.ArtifactVerificationOptions=$e.PublicKeyIdentities=$e.CertificateIdentities=$e.CertificateIdentity=void 0;var bLe=UK(),dh=xd(),wLe=qK();$e.CertificateIdentity={fromJSON(t){return{issuer:Yt(t.issuer)?globalThis.String(t.issuer):"",san:Yt(t.san)?dh.SubjectAlternativeName.fromJSON(t.san):void 0,oids:globalThis.Array.isArray(t?.oids)?t.oids.map(e=>dh.ObjectIdentifierValuePair.fromJSON(e)):[]}},toJSON(t){let e={};return t.issuer!==""&&(e.issuer=t.issuer),t.san!==void 0&&(e.san=dh.SubjectAlternativeName.toJSON(t.san)),t.oids?.length&&(e.oids=t.oids.map(r=>dh.ObjectIdentifierValuePair.toJSON(r))),e}};$e.CertificateIdentities={fromJSON(t){return{identities:globalThis.Array.isArray(t?.identities)?t.identities.map(e=>$e.CertificateIdentity.fromJSON(e)):[]}},toJSON(t){let e={};return t.identities?.length&&(e.identities=t.identities.map(r=>$e.CertificateIdentity.toJSON(r))),e}};$e.PublicKeyIdentities={fromJSON(t){return{publicKeys:globalThis.Array.isArray(t?.publicKeys)?t.publicKeys.map(e=>dh.PublicKey.fromJSON(e)):[]}},toJSON(t){let e={};return t.publicKeys?.length&&(e.publicKeys=t.publicKeys.map(r=>dh.PublicKey.toJSON(r))),e}};$e.ArtifactVerificationOptions={fromJSON(t){return{signers:Yt(t.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:$e.CertificateIdentities.fromJSON(t.certificateIdentities)}:Yt(t.publicKeys)?{$case:"publicKeys",publicKeys:$e.PublicKeyIdentities.fromJSON(t.publicKeys)}:void 0,tlogOptions:Yt(t.tlogOptions)?$e.ArtifactVerificationOptions_TlogOptions.fromJSON(t.tlogOptions):void 0,ctlogOptions:Yt(t.ctlogOptions)?$e.ArtifactVerificationOptions_CtlogOptions.fromJSON(t.ctlogOptions):void 0,tsaOptions:Yt(t.tsaOptions)?$e.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(t.tsaOptions):void 0,integratedTsOptions:Yt(t.integratedTsOptions)?$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(t.integratedTsOptions):void 0,observerOptions:Yt(t.observerOptions)?$e.ArtifactVerificationOptions_ObserverTimestampOptions.fromJSON(t.observerOptions):void 0}},toJSON(t){let e={};return t.signers?.$case==="certificateIdentities"?e.certificateIdentities=$e.CertificateIdentities.toJSON(t.signers.certificateIdentities):t.signers?.$case==="publicKeys"&&(e.publicKeys=$e.PublicKeyIdentities.toJSON(t.signers.publicKeys)),t.tlogOptions!==void 0&&(e.tlogOptions=$e.ArtifactVerificationOptions_TlogOptions.toJSON(t.tlogOptions)),t.ctlogOptions!==void 0&&(e.ctlogOptions=$e.ArtifactVerificationOptions_CtlogOptions.toJSON(t.ctlogOptions)),t.tsaOptions!==void 0&&(e.tsaOptions=$e.ArtifactVerificationOptions_TimestampAuthorityOptions.toJSON(t.tsaOptions)),t.integratedTsOptions!==void 0&&(e.integratedTsOptions=$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.toJSON(t.integratedTsOptions)),t.observerOptions!==void 0&&(e.observerOptions=$e.ArtifactVerificationOptions_ObserverTimestampOptions.toJSON(t.observerOptions)),e}};$e.ArtifactVerificationOptions_TlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,performOnlineVerification:Yt(t.performOnlineVerification)?globalThis.Boolean(t.performOnlineVerification):!1,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.performOnlineVerification!==!1&&(e.performOnlineVerification=t.performOnlineVerification),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_CtlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_TimestampAuthorityOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_ObserverTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.Artifact={fromJSON(t){return{data:Yt(t.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(t.artifactUri)}:Yt(t.artifact)?{$case:"artifact",artifact:Buffer.from(SUt(t.artifact))}:Yt(t.artifactDigest)?{$case:"artifactDigest",artifactDigest:dh.HashOutput.fromJSON(t.artifactDigest)}:void 0}},toJSON(t){let e={};return t.data?.$case==="artifactUri"?e.artifactUri=t.data.artifactUri:t.data?.$case==="artifact"?e.artifact=BUt(t.data.artifact):t.data?.$case==="artifactDigest"&&(e.artifactDigest=dh.HashOutput.toJSON(t.data.artifactDigest)),e}};$e.Input={fromJSON(t){return{artifactTrustRoot:Yt(t.artifactTrustRoot)?wLe.TrustedRoot.fromJSON(t.artifactTrustRoot):void 0,artifactVerificationOptions:Yt(t.artifactVerificationOptions)?$e.ArtifactVerificationOptions.fromJSON(t.artifactVerificationOptions):void 0,bundle:Yt(t.bundle)?bLe.Bundle.fromJSON(t.bundle):void 0,artifact:Yt(t.artifact)?$e.Artifact.fromJSON(t.artifact):void 0}},toJSON(t){let e={};return t.artifactTrustRoot!==void 0&&(e.artifactTrustRoot=wLe.TrustedRoot.toJSON(t.artifactTrustRoot)),t.artifactVerificationOptions!==void 0&&(e.artifactVerificationOptions=$e.ArtifactVerificationOptions.toJSON(t.artifactVerificationOptions)),t.bundle!==void 0&&(e.bundle=bLe.Bundle.toJSON(t.bundle)),t.artifact!==void 0&&(e.artifact=$e.Artifact.toJSON(t.artifact)),e}};function SUt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(SUt,"bytesFromBase64");function BUt(t){return globalThis.Buffer.from(t).toString("base64")}o(BUt,"base64FromBytes");function Yt(t){return t!=null}o(Yt,"isSet")});var pC=A(Ta=>{"use strict";var xUt=Ta&&Ta.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),hC=Ta&&Ta.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&xUt(e,t,r)};Object.defineProperty(Ta,"__esModule",{value:!0});hC(_P(),Ta);hC(UK(),Ta);hC(xd(),Ta);hC(MK(),Ta);hC(qK(),Ta);hC(ILe(),Ta)});var QP=A(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.BUNDLE_V03_MEDIA_TYPE=qs.BUNDLE_V03_LEGACY_MEDIA_TYPE=qs.BUNDLE_V02_MEDIA_TYPE=qs.BUNDLE_V01_MEDIA_TYPE=void 0;qs.isBundleWithCertificateChain=vUt;qs.isBundleWithPublicKey=NUt;qs.isBundleWithMessageSignature=_Ut;qs.isBundleWithDsseEnvelope=TUt;qs.BUNDLE_V01_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.1";qs.BUNDLE_V02_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.2";qs.BUNDLE_V03_LEGACY_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.3";qs.BUNDLE_V03_MEDIA_TYPE="application/vnd.dev.sigstore.bundle.v0.3+json";function vUt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(vUt,"isBundleWithCertificateChain");function NUt(t){return t.verificationMaterial.content.$case==="publicKey"}o(NUt,"isBundleWithPublicKey");function _Ut(t){return t.content.$case==="messageSignature"}o(_Ut,"isBundleWithMessageSignature");function TUt(t){return t.content.$case==="dsseEnvelope"}o(TUt,"isBundleWithDsseEnvelope")});var BLe=A(PP=>{"use strict";Object.defineProperty(PP,"__esModule",{value:!0});PP.toMessageSignatureBundle=DUt;PP.toDSSEBundle=QUt;var RUt=pC(),kP=QP();function DUt(t){return{mediaType:t.certificateChain?kP.BUNDLE_V02_MEDIA_TYPE:kP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:RUt.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:SLe(t)}}o(DUt,"toMessageSignatureBundle");function QUt(t){return{mediaType:t.certificateChain?kP.BUNDLE_V02_MEDIA_TYPE:kP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:kUt(t)},verificationMaterial:SLe(t)}}o(QUt,"toDSSEBundle");function kUt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[PUt(t)]}}o(kUt,"toEnvelope");function PUt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(PUt,"toSignature");function SLe(t){return{content:OUt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(SLe,"toVerificationMaterial");function OUt(t){return t.certificate?t.certificateChain?{$case:"x509CertificateChain",x509CertificateChain:{certificates:[{rawBytes:t.certificate}]}}:{$case:"certificate",certificate:{rawBytes:t.certificate}}:{$case:"publicKey",publicKey:{hint:t.keyHint||""}}}o(OUt,"toKeyContent")});var HK=A(OP=>{"use strict";Object.defineProperty(OP,"__esModule",{value:!0});OP.ValidationError=void 0;var GK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};OP.ValidationError=GK});var VK=A(jA=>{"use strict";Object.defineProperty(jA,"__esModule",{value:!0});jA.assertBundle=LUt;jA.assertBundleV01=xLe;jA.isBundleV01=FUt;jA.assertBundleV02=MUt;jA.assertBundleLatest=UUt;var LP=HK();function LUt(t){let e=FP(t);if(e.length>0)throw new LP.ValidationError("invalid bundle",e)}o(LUt,"assertBundle");function xLe(t){let e=[];if(e.push(...FP(t)),e.push(...qUt(t)),e.length>0)throw new LP.ValidationError("invalid v0.1 bundle",e)}o(xLe,"assertBundleV01");function FUt(t){try{return xLe(t),!0}catch{return!1}}o(FUt,"isBundleV01");function MUt(t){let e=[];if(e.push(...FP(t)),e.push(...vLe(t)),e.length>0)throw new LP.ValidationError("invalid v0.2 bundle",e)}o(MUt,"assertBundleV02");function UUt(t){let e=[];if(e.push(...FP(t)),e.push(...vLe(t)),e.push(...GUt(t)),e.length>0)throw new LP.ValidationError("invalid bundle",e)}o(UUt,"assertBundleLatest");function FP(t){let e=[];if((t.mediaType===void 0||!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\+json;version=\d\.\d/)&&!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\.v\d\.\d\+json/))&&e.push("mediaType"),t.content===void 0)e.push("content");else switch(t.content.$case){case"messageSignature":t.content.messageSignature.messageDigest===void 0?e.push("content.messageSignature.messageDigest"):t.content.messageSignature.messageDigest.digest.length===0&&e.push("content.messageSignature.messageDigest.digest"),t.content.messageSignature.signature.length===0&&e.push("content.messageSignature.signature");break;case"dsseEnvelope":t.content.dsseEnvelope.payload.length===0&&e.push("content.dsseEnvelope.payload"),t.content.dsseEnvelope.signatures.length!==1?e.push("content.dsseEnvelope.signatures"):t.content.dsseEnvelope.signatures[0].sig.length===0&&e.push("content.dsseEnvelope.signatures[0].sig");break}if(t.verificationMaterial===void 0)e.push("verificationMaterial");else{if(t.verificationMaterial.content===void 0)e.push("verificationMaterial.content");else switch(t.verificationMaterial.content.$case){case"x509CertificateChain":t.verificationMaterial.content.x509CertificateChain.certificates.length===0&&e.push("verificationMaterial.content.x509CertificateChain.certificates"),t.verificationMaterial.content.x509CertificateChain.certificates.forEach((r,n)=>{r.rawBytes.length===0&&e.push(`verificationMaterial.content.x509CertificateChain.certificates[${n}].rawBytes`)});break;case"certificate":t.verificationMaterial.content.certificate.rawBytes.length===0&&e.push("verificationMaterial.content.certificate.rawBytes");break}t.verificationMaterial.tlogEntries===void 0?e.push("verificationMaterial.tlogEntries"):t.verificationMaterial.tlogEntries.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.logId===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].logId`),r.kindVersion===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].kindVersion`)})}return e}o(FP,"validateBundleBase");function qUt(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionPromise===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionPromise`)}),e}o(qUt,"validateInclusionPromise");function vLe(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionProof===void 0?e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof`):r.inclusionProof.checkpoint===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof.checkpoint`)}),e}o(vLe,"validateInclusionProof");function GUt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(GUt,"validateNoCertificateChain")});var _Le=A(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.envelopeToJSON=ru.envelopeFromJSON=ru.bundleToJSON=ru.bundleFromJSON=void 0;var MP=pC(),NLe=QP(),zK=VK(),HUt=o(t=>{let e=MP.Bundle.fromJSON(t);switch(e.mediaType){case NLe.BUNDLE_V01_MEDIA_TYPE:(0,zK.assertBundleV01)(e);break;case NLe.BUNDLE_V02_MEDIA_TYPE:(0,zK.assertBundleV02)(e);break;default:(0,zK.assertBundleLatest)(e);break}return e},"bundleFromJSON");ru.bundleFromJSON=HUt;var VUt=o(t=>MP.Bundle.toJSON(t),"bundleToJSON");ru.bundleToJSON=VUt;var zUt=o(t=>MP.Envelope.fromJSON(t),"envelopeFromJSON");ru.envelopeFromJSON=zUt;var $Ut=o(t=>MP.Envelope.toJSON(t),"envelopeToJSON");ru.envelopeToJSON=$Ut});var $K=A(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.isBundleV01=et.assertBundleV02=et.assertBundleV01=et.assertBundleLatest=et.assertBundle=et.envelopeToJSON=et.envelopeFromJSON=et.bundleToJSON=et.bundleFromJSON=et.ValidationError=et.isBundleWithPublicKey=et.isBundleWithMessageSignature=et.isBundleWithDsseEnvelope=et.isBundleWithCertificateChain=et.BUNDLE_V03_MEDIA_TYPE=et.BUNDLE_V03_LEGACY_MEDIA_TYPE=et.BUNDLE_V02_MEDIA_TYPE=et.BUNDLE_V01_MEDIA_TYPE=et.toMessageSignatureBundle=et.toDSSEBundle=void 0;var TLe=BLe();Object.defineProperty(et,"toDSSEBundle",{enumerable:!0,get:o(function(){return TLe.toDSSEBundle},"get")});Object.defineProperty(et,"toMessageSignatureBundle",{enumerable:!0,get:o(function(){return TLe.toMessageSignatureBundle},"get")});var fh=QP();Object.defineProperty(et,"BUNDLE_V01_MEDIA_TYPE",{enumerable:!0,get:o(function(){return fh.BUNDLE_V01_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V02_MEDIA_TYPE",{enumerable:!0,get:o(function(){return fh.BUNDLE_V02_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:!0,get:o(function(){return fh.BUNDLE_V03_LEGACY_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_MEDIA_TYPE",{enumerable:!0,get:o(function(){return fh.BUNDLE_V03_MEDIA_TYPE},"get")});Object.defineProperty(et,"isBundleWithCertificateChain",{enumerable:!0,get:o(function(){return fh.isBundleWithCertificateChain},"get")});Object.defineProperty(et,"isBundleWithDsseEnvelope",{enumerable:!0,get:o(function(){return fh.isBundleWithDsseEnvelope},"get")});Object.defineProperty(et,"isBundleWithMessageSignature",{enumerable:!0,get:o(function(){return fh.isBundleWithMessageSignature},"get")});Object.defineProperty(et,"isBundleWithPublicKey",{enumerable:!0,get:o(function(){return fh.isBundleWithPublicKey},"get")});var jUt=HK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return jUt.ValidationError},"get")});var UP=_Le();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return UP.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return UP.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return UP.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return UP.envelopeToJSON},"get")});var _B=VK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return _B.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return _B.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return _B.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return _B.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return _B.isBundleV01},"get")})});var DLe=A(TB=>{"use strict";var RLe=TB&&TB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(TB,"__esModule",{value:!0});TB.appDataPath=JUt;var WUt=RLe(require("os")),AC=RLe(require("path"));function JUt(t){let e=WUt.default.homedir();switch(process.platform){case"darwin":{let r=AC.default.join(e,"Library","Application Support");return AC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||AC.default.join(e,"AppData","Local");return AC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||AC.default.join(e,".local","share");return AC.default.join(r,t)}}}o(JUt,"appDataPath")});var nu=A(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.UnsupportedAlgorithmError=Gs.CryptoError=Gs.LengthOrHashMismatchError=Gs.UnsignedMetadataError=Gs.RepositoryError=Gs.ValueError=void 0;var jK=class extends Error{static{o(this,"ValueError")}};Gs.ValueError=jK;var RB=class extends Error{static{o(this,"RepositoryError")}};Gs.RepositoryError=RB;var WK=class extends RB{static{o(this,"UnsignedMetadataError")}};Gs.UnsignedMetadataError=WK;var JK=class extends RB{static{o(this,"LengthOrHashMismatchError")}};Gs.LengthOrHashMismatchError=JK;var qP=class extends Error{static{o(this,"CryptoError")}};Gs.CryptoError=qP;var YK=class extends qP{static{o(this,"UnsupportedAlgorithmError")}};Gs.UnsupportedAlgorithmError=YK});var kLe=A(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.isDefined=YUt;hh.isObject=QLe;hh.isStringArray=KUt;hh.isObjectArray=XUt;hh.isStringRecord=ZUt;hh.isObjectRecord=eqt;function YUt(t){return t!==void 0}o(YUt,"isDefined");function QLe(t){return typeof t=="object"&&t!==null}o(QLe,"isObject");function KUt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(KUt,"isStringArray");function XUt(t){return Array.isArray(t)&&t.every(QLe)}o(XUt,"isObjectArray");function ZUt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(ZUt,"isStringRecord");function eqt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="object"&&e!==null)}o(eqt,"isObjectRecord")});var XK=A((yFr,OLe)=>{function KK(t){let e=[];if(typeof t=="string")e.push(PLe(t));else if(typeof t=="boolean")e.push(JSON.stringify(t));else if(Number.isInteger(t))e.push(JSON.stringify(t));else if(t===null)e.push(JSON.stringify(t));else if(Array.isArray(t)){e.push("[");let r=!0;t.forEach(n=>{r||e.push(","),r=!1,e.push(KK(n))}),e.push("]")}else if(typeof t=="object"){e.push("{");let r=!0;Object.keys(t).sort().forEach(n=>{r||e.push(","),r=!1,e.push(PLe(n)),e.push(":"),e.push(KK(t[n]))}),e.push("}")}else throw new TypeError("cannot encode "+t.toString());return e.join("")}o(KK,"canonicalize");function PLe(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}o(PLe,"canonicalizeString");OLe.exports={canonicalize:KK}});var LLe=A(mC=>{"use strict";var tqt=mC&&mC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mC,"__esModule",{value:!0});mC.verifySignature=void 0;var rqt=XK(),nqt=tqt(require("crypto")),iqt=o((t,e,r)=>{let n=Buffer.from((0,rqt.canonicalize)(t));return nqt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");mC.verifySignature=iqt});var Ic=A(Ra=>{"use strict";var sqt=Ra&&Ra.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),oqt=Ra&&Ra.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),FLe=Ra&&Ra.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&sqt(r,e,n[i]);return oqt(r,e),r}})();Object.defineProperty(Ra,"__esModule",{value:!0});Ra.crypto=Ra.guard=void 0;Ra.guard=FLe(kLe());Ra.crypto=FLe(LLe())});var WA=A(vd=>{"use strict";var aqt=vd&&vd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vd,"__esModule",{value:!0});vd.Signed=vd.MetadataKind=void 0;vd.isMetadataKind=lqt;var cqt=aqt(require("util")),DB=nu(),ZK=Ic(),MLe=["1","0","31"],e7;(function(t){t.Root="root",t.Timestamp="timestamp",t.Snapshot="snapshot",t.Targets="targets"})(e7||(vd.MetadataKind=e7={}));function lqt(t){return typeof t=="string"&&Object.values(e7).includes(t)}o(lqt,"isMetadataKind");var t7=class t{static{o(this,"Signed")}specVersion;expires;version;unrecognizedFields;constructor(e){this.specVersion=e.specVersion||MLe.join(".");let r=this.specVersion.split(".");if(!(r.length===2||r.length===3)||!r.every(n=>uqt(n)))throw new DB.ValueError("Failed to parse specVersion");if(r[0]!=MLe[0])throw new DB.ValueError("Unsupported specVersion");this.expires=e.expires,this.version=e.version,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.specVersion===e.specVersion&&this.expires===e.expires&&this.version===e.version&&cqt.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}isExpired(e){return e||(e=new Date),e>=new Date(this.expires)}static commonFieldsFromJSON(e){let{spec_version:r,expires:n,version:i,...s}=e;if(ZK.guard.isDefined(r)){if(typeof r!="string")throw new TypeError("spec_version must be a string")}else throw new DB.ValueError("spec_version is not defined");if(ZK.guard.isDefined(n)){if(typeof n!="string")throw new TypeError("expires must be a string")}else throw new DB.ValueError("expires is not defined");if(ZK.guard.isDefined(i)){if(typeof i!="number")throw new TypeError("version must be a number")}else throw new DB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};vd.Signed=t7;function uqt(t){return!isNaN(Number(t))}o(uqt,"isNumeric")});var QB=A(Ah=>{"use strict";var ULe=Ah&&Ah.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ah,"__esModule",{value:!0});Ah.TargetFile=Ah.MetaFile=void 0;var qLe=ULe(require("crypto")),HP=ULe(require("util")),ph=nu(),GP=Ic(),r7=class t{static{o(this,"MetaFile")}version;length;hashes;unrecognizedFields;constructor(e){if(e.version<=0)throw new ph.ValueError("Metafile version must be at least 1");e.length!==void 0&&GLe(e.length),this.version=e.version,this.length=e.length,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.version===e.version&&this.length===e.length&&HP.default.isDeepStrictEqual(this.hashes,e.hashes)&&HP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}verify(e){if(this.length!==void 0&&e.length!==this.length)throw new ph.LengthOrHashMismatchError(`Expected length ${this.length} but got ${e.length}`);this.hashes&&Object.entries(this.hashes).forEach(([r,n])=>{let i;try{i=qLe.default.createHash(r)}catch{throw new ph.LengthOrHashMismatchError(`Hash algorithm ${r} not supported`)}let s=i.update(e).digest("hex");if(s!==n)throw new ph.LengthOrHashMismatchError(`Expected hash ${n} but got ${s}`)})}toJSON(){let e={version:this.version,...this.unrecognizedFields};return this.length!==void 0&&(e.length=this.length),this.hashes&&(e.hashes=this.hashes),e}static fromJSON(e){let{version:r,length:n,hashes:i,...s}=e;if(typeof r!="number")throw new TypeError("version must be a number");if(GP.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(GP.guard.isDefined(i)&&!GP.guard.isStringRecord(i))throw new TypeError("hashes must be string keys and values");return new t({version:r,length:n,hashes:i,unrecognizedFields:s})}};Ah.MetaFile=r7;var n7=class t{static{o(this,"TargetFile")}length;path;hashes;unrecognizedFields;constructor(e){GLe(e.length),this.length=e.length,this.path=e.path,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}get custom(){let e=this.unrecognizedFields.custom;return!e||Array.isArray(e)||typeof e!="object"?{}:e}equals(e){return e instanceof t?this.length===e.length&&this.path===e.path&&HP.default.isDeepStrictEqual(this.hashes,e.hashes)&&HP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}async verify(e){let r=0,n=Object.keys(this.hashes).reduce((i,s)=>{try{i[s]=qLe.default.createHash(s)}catch{throw new ph.LengthOrHashMismatchError(`Hash algorithm ${s} not supported`)}return i},{});for await(let i of e)r+=i.length,Object.values(n).forEach(s=>{s.update(i)});if(r!==this.length)throw new ph.LengthOrHashMismatchError(`Expected length ${this.length} but got ${r}`);Object.entries(n).forEach(([i,s])=>{let a=this.hashes[i],c=s.digest("hex");if(c!==a)throw new ph.LengthOrHashMismatchError(`Expected hash ${a} but got ${c}`)})}toJSON(){return{length:this.length,hashes:this.hashes,...this.unrecognizedFields}}static fromJSON(e,r){let{length:n,hashes:i,...s}=r;if(typeof n!="number")throw new TypeError("length must be a number");if(!GP.guard.isStringRecord(i))throw new TypeError("hashes must have string keys and values");return new t({length:n,path:e,hashes:i,unrecognizedFields:s})}};Ah.TargetFile=n7;function GLe(t){if(t<0)throw new ph.ValueError("Length must be at least 0")}o(GLe,"validateLength")});var HLe=A(i7=>{"use strict";Object.defineProperty(i7,"__esModule",{value:!0});i7.encodeOIDString=fqt;var dqt=6;function fqt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=hqt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([dqt,i.length,...i])}o(fqt,"encodeOIDString");function hqt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(hqt,"encodeVariableLengthInteger")});var jLe=A(PB=>{"use strict";var pqt=PB&&PB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(PB,"__esModule",{value:!0});PB.getPublicKey=yqt;var gC=pqt(require("crypto")),kB=nu(),s7=HLe(),VP=48,VLe=3,zLe=0,Aqt="1.3.101.112",mqt="1.2.840.10045.2.1",gqt="1.2.840.10045.3.1.7",o7="-----BEGIN PUBLIC KEY-----";function yqt(t){switch(t.keyType){case"rsa":return Eqt(t);case"ed25519":return Cqt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return bqt(t);default:throw new kB.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(yqt,"getPublicKey");function Eqt(t){if(!t.keyVal.startsWith(o7))throw new kB.CryptoError("Invalid key format");let e=gC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:gC.default.constants.RSA_PKCS1_PSS_PADDING};throw new kB.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(Eqt,"getRSAPublicKey");function Cqt(t){let e;if(t.keyVal.startsWith(o7))e=gC.default.createPublicKey(t.keyVal);else{if(!$Le(t.keyVal))throw new kB.CryptoError("Invalid key format");e=gC.default.createPublicKey({key:wqt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(Cqt,"getED25519PublicKey");function bqt(t){let e;if(t.keyVal.startsWith(o7))e=gC.default.createPublicKey(t.keyVal);else{if(!$Le(t.keyVal))throw new kB.CryptoError("Invalid key format");e=gC.default.createPublicKey({key:Iqt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(bqt,"getECDCSAPublicKey");var wqt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,s7.encodeOIDString)(Aqt),n=Buffer.concat([Buffer.concat([Buffer.from([VP]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([VLe]),Buffer.from([e.length+1]),Buffer.from([zLe]),e])]);return Buffer.concat([Buffer.from([VP]),Buffer.from([n.length]),n])},"hexToDER")},Iqt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=Buffer.concat([Buffer.from([VLe]),Buffer.from([e.length+1]),Buffer.from([zLe]),e]),n=Buffer.concat([(0,s7.encodeOIDString)(mqt),(0,s7.encodeOIDString)(gqt)]),i=Buffer.concat([Buffer.from([VP]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([VP]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},$Le=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var zP=A(yC=>{"use strict";var Sqt=yC&&yC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yC,"__esModule",{value:!0});yC.Key=void 0;var WLe=Sqt(require("util")),OB=nu(),JLe=Ic(),Bqt=jLe(),a7=class t{static{o(this,"Key")}keyID;keyType;scheme;keyVal;unrecognizedFields;constructor(e){let{keyID:r,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a}=e;this.keyID=r,this.keyType=n,this.scheme=i,this.keyVal=s,this.unrecognizedFields=a||{}}verifySignature(e){let r=e.signatures[this.keyID];if(!r)throw new OB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new OB.UnsignedMetadataError("no public key found");let n=(0,Bqt.getPublicKey)({keyType:this.keyType,scheme:this.scheme,keyVal:this.keyVal.public}),i=e.signed.toJSON();try{if(!JLe.crypto.verifySignature(i,n,r.sig))throw new OB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof OB.UnsignedMetadataError?s:new OB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}}equals(e){return e instanceof t?this.keyID===e.keyID&&this.keyType===e.keyType&&this.scheme===e.scheme&&WLe.default.isDeepStrictEqual(this.keyVal,e.keyVal)&&WLe.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keytype:this.keyType,scheme:this.scheme,keyval:this.keyVal,...this.unrecognizedFields}}static fromJSON(e,r){let{keytype:n,scheme:i,keyval:s,...a}=r;if(typeof n!="string")throw new TypeError("keytype must be a string");if(typeof i!="string")throw new TypeError("scheme must be a string");if(!JLe.guard.isStringRecord(s))throw new TypeError("keyval must be a string record");return new t({keyID:e,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a})}};yC.Key=a7});var KLe=A(JA=>{"use strict";Object.defineProperty(JA,"__esModule",{value:!0});JA.range=JA.balanced=void 0;var xqt=o((t,e,r)=>{let n=t instanceof RegExp?YLe(t,r):t,i=e instanceof RegExp?YLe(e,r):e,s=n!==null&&i!=null&&(0,JA.range)(n,i,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+n.length,s[1]),post:r.slice(s[1]+i.length)}},"balanced");JA.balanced=xqt;var YLe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),vqt=o((t,e,r)=>{let n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),d=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;d>=0&&!c;){if(d===l)n.push(d),l=r.indexOf(t,d+1);else if(n.length===1){let f=n.pop();f!==void 0&&(c=[f,u])}else i=n.pop(),i!==void 0&&i<s&&(s=i,a=u),u=r.indexOf(e,d+1);d=l<u&&l>=0?l:u}n.length&&a!==void 0&&(c=[s,a])}return c},"range");JA.range=vqt});var iFe=A(EC=>{"use strict";Object.defineProperty(EC,"__esModule",{value:!0});EC.EXPANSION_MAX=void 0;EC.expand=Uqt;var XLe=KLe(),ZLe="\0SLASH"+Math.random()+"\0",eFe="\0OPEN"+Math.random()+"\0",l7="\0CLOSE"+Math.random()+"\0",tFe="\0COMMA"+Math.random()+"\0",rFe="\0PERIOD"+Math.random()+"\0",Nqt=new RegExp(ZLe,"g"),_qt=new RegExp(eFe,"g"),Tqt=new RegExp(l7,"g"),Rqt=new RegExp(tFe,"g"),Dqt=new RegExp(rFe,"g"),Qqt=/\\\\/g,kqt=/\\{/g,Pqt=/\\}/g,Oqt=/\\,/g,Lqt=/\\\./g;EC.EXPANSION_MAX=1e5;function c7(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(c7,"numeric");function Fqt(t){return t.replace(Qqt,ZLe).replace(kqt,eFe).replace(Pqt,l7).replace(Oqt,tFe).replace(Lqt,rFe)}o(Fqt,"escapeBraces");function Mqt(t){return t.replace(Nqt,"\\").replace(_qt,"{").replace(Tqt,"}").replace(Rqt,",").replace(Dqt,".")}o(Mqt,"unescapeBraces");function nFe(t){if(!t)return[""];let e=[],r=(0,XLe.balanced)("{","}",t);if(!r)return t.split(",");let{pre:n,body:i,post:s}=r,a=n.split(",");a[a.length-1]+="{"+i+"}";let c=nFe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(nFe,"parseCommaParts");function Uqt(t,e={}){if(!t)return[];let{max:r=EC.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),LB(Fqt(t),r,!0).map(Mqt)}o(Uqt,"expand");function qqt(t){return"{"+t+"}"}o(qqt,"embrace");function Gqt(t){return/^-?0\d/.test(t)}o(Gqt,"isPadded");function Hqt(t,e){return t<=e}o(Hqt,"lte");function Vqt(t,e){return t>=e}o(Vqt,"gte");function LB(t,e,r){let n=[],i=(0,XLe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?LB(i.post,e,!1):[""];if(/\$$/.test(i.pre))for(let c=0;c<a.length&&c<e;c++){let l=s+"{"+i.body+"}"+a[c];n.push(l)}else{let c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),u=c||l,d=i.body.indexOf(",")>=0;if(!u&&!d)return i.post.match(/,(?!,).*\}/)?(t=i.pre+"{"+i.body+l7+i.post,LB(t,e,!0)):[t];let f;if(u)f=i.body.split(/\.\./);else if(f=nFe(i.body),f.length===1&&f[0]!==void 0&&(f=LB(f[0],e,!1).map(qqt),f.length===1))return a.map(p=>i.pre+f[0]+p);let h;if(u&&f[0]!==void 0&&f[1]!==void 0){let p=c7(f[0]),m=c7(f[1]),g=Math.max(f[0].length,f[1].length),E=f.length===3&&f[2]!==void 0?Math.max(Math.abs(c7(f[2])),1):1,y=Hqt;m<p&&(E*=-1,y=Vqt);let w=f.some(Gqt);h=[];for(let B=p;y(B,m)&&h.length<e;B+=E){let Q;if(l)Q=String.fromCharCode(B),Q==="\\"&&(Q="");else if(Q=String(B),w){let q=g-Q.length;if(q>0){let v=new Array(q+1).join("0");B<0?Q="-"+v+Q.slice(1):Q=v+Q}}h.push(Q)}}else{h=[];for(let p=0;p<f.length;p++)h.push.apply(h,LB(f[p],e,!1))}for(let p=0;p<h.length;p++)for(let m=0;m<a.length&&n.length<e;m++){let g=s+h[p]+a[m];(!r||u||g)&&n.push(g)}}return n}o(LB,"expand_")});var sFe=A($P=>{"use strict";Object.defineProperty($P,"__esModule",{value:!0});$P.assertValidPattern=void 0;var zqt=1024*64,$qt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>zqt)throw new TypeError("pattern is too long")},"assertValidPattern");$P.assertValidPattern=$qt});var aFe=A(jP=>{"use strict";Object.defineProperty(jP,"__esModule",{value:!0});jP.parseClass=void 0;var jqt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},FB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),Wqt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),oFe=o(t=>t.join(""),"rangesToString"),Jqt=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,d=r,f="";e:for(;s<t.length;){let g=t.charAt(s);if((g==="!"||g==="^")&&s===r+1){u=!0,s++;continue}if(g==="]"&&a&&!l){d=s+1;break}if(a=!0,g==="\\"&&!l){l=!0,s++;continue}if(g==="["&&!l){for(let[E,[y,C,w]]of Object.entries(jqt))if(t.startsWith(E,s)){if(f)return["$.",!1,t.length-r,!0];s+=E.length,w?i.push(y):n.push(y),c=c||C;continue e}}if(l=!1,f){g>f?n.push(FB(f)+"-"+FB(g)):g===f&&n.push(FB(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(FB(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(FB(g)),s++}if(d<s)return["",!1,0,!1];if(!n.length&&!i.length)return["$.",!1,t.length-r,!0];if(i.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!u){let g=n[0].length===2?n[0].slice(-1):n[0];return[Wqt(g),!1,d-r,!1]}let h="["+(u?"^":"")+oFe(n)+"]",p="["+(u?"":"^")+oFe(i)+"]";return[n.length&&i.length?"("+h+"|"+p+")":n.length?h:p,c,d-r,!0]},"parseClass");jP.parseClass=Jqt});var JP=A(WP=>{"use strict";Object.defineProperty(WP,"__esModule",{value:!0});WP.unescape=void 0;var Yqt=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!0}={})=>r?e?t.replace(/\[([^/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):e?t.replace(/\[([^/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),"unescape");WP.unescape=Yqt});var f7=A(ZP=>{"use strict";var Hs;Object.defineProperty(ZP,"__esModule",{value:!0});ZP.AST=void 0;var Kqt=aFe(),YP=JP(),Xqt=new Set(["!","?","+","*","@"]),u7=o(t=>Xqt.has(t),"isExtglobType"),cFe=o(t=>u7(t.type),"isExtglobAST"),Zqt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),e3t=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),t3t=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),lFe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),r3t="(?!(?:^|/)\\.\\.?(?:$|/))",KP="(?!\\.)",n3t=new Set(["[","."]),i3t=new Set(["..","."]),s3t=new Set("().*{}+?[]^$\\!"),o3t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),d7="[^/]",uFe=d7+"*?",dFe=d7+"+?",a3t=0,XP=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;id=++a3t;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){if(this!==this.#e)throw new Error("should only call on root");if(this.#a)return this;this.toString(),this.#a=!0;let e;for(;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&i<n.#r.length;i++)for(let s of e.#r){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(n.#r[i])}r=n,n=r.#i}}return this}push(...e){for(let r of e)if(r!==""){if(typeof r!="string"&&!(r instanceof Hs&&r.#i===this))throw new Error("invalid part: "+r);this.#r.push(r)}}toJSON(){let e=this.type===null?this.#r.slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...this.#r.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#a&&this.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;r<this.#s;r++){let n=e.#r[r];if(!(n instanceof Hs&&n.type==="!"))return!1}return!0}isEnd(){if(this.#e===this||this.#i?.type==="!")return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();let e=this.#i?this.#i.#r.length:0;return this.#s===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let r=new Hs(this.type,e);for(let n of this.#r)r.copyIn(n);return r}static#A(e,r,n,i,s){let a=i.maxExtglobRecursion??2,c=!1,l=!1,u=-1,d=!1;if(r.type===null){let g=n,E="";for(;g<e.length;){let y=e.charAt(g++);if(c||y==="\\"){c=!c,E+=y;continue}if(l){g===u+1?(y==="^"||y==="!")&&(d=!0):y==="]"&&!(g===u+2&&d)&&(l=!1),E+=y;continue}else if(y==="["){l=!0,u=g,d=!1,E+=y;continue}if(!i.noext&&u7(y)&&e.charAt(g)==="("&&s<=a){r.push(E),E="";let w=new Hs(y,r);g=Hs.#A(e,w,g,i,s+1),r.push(w);continue}E+=y}return r.push(E),g}let f=n+1,h=new Hs(null,r),p=[],m="";for(;f<e.length;){let g=e.charAt(f++);if(c||g==="\\"){c=!c,m+=g;continue}if(l){f===u+1?(g==="^"||g==="!")&&(d=!0):g==="]"&&!(f===u+2&&d)&&(l=!1),m+=g;continue}else if(g==="["){l=!0,u=f,d=!1,m+=g;continue}if(!i.noext&&u7(g)&&e.charAt(f)==="("&&(s<=a||r&&r.#p(g))){let y=r&&r.#p(g)?0:1;h.push(m),m="";let C=new Hs(g,h);h.push(C),f=Hs.#A(e,C,f,i,s+y);continue}if(g==="|"){h.push(m),m="",p.push(h),h=new Hs(null,r);continue}if(g===")")return m===""&&r.#r.length===0&&(r.#f=!0),h.push(m),m="",r.push(...p,h),f;m+=g}return r.type=null,r.#t=void 0,r.#r=[e.substring(n-1)],f}#m(e){return this.#E(e,e3t)}#E(e,r=Zqt){if(!e||typeof e!="object"||e.type!==null||e.#r.length!==1||this.type===null)return!1;let n=e.#r[0];return!n||typeof n!="object"||n.type===null?!1:this.#p(n.type,r)}#p(e,r=t3t){return!!r.get(this.type)?.includes(e)}#w(e,r){let n=e.#r[0],i=new Hs(null,n,this.options);i.#r.push(""),n.push(i),this.#C(e,r)}#C(e,r){let n=e.#r[0];this.#r.splice(r,1,...n.#r);for(let i of n.#r)typeof i=="object"&&(i.#i=this);this.#o=void 0}#b(e){return!!lFe.get(this.type)?.has(e)}#g(e){if(!e||typeof e!="object"||e.type!==null||e.#r.length!==1||this.type===null||this.#r.length!==1)return!1;let r=e.#r[0];return!r||typeof r!="object"||r.type===null?!1:this.#b(r.type)}#x(e){let r=lFe.get(this.type),n=e.#r[0],i=r?.get(n.type);if(!i)return!1;this.#r=n.#r;for(let s of this.#r)typeof s=="object"&&(s.#i=this);this.type=i,this.#o=void 0,this.#f=!1}static fromGlob(e,r={}){let n=new Hs(null,void 0,r);return Hs.#A(e,n,0,r,0),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#t||this.#c.nocase&&!this.#c.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let c=(this.#c.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,c),{_src:r,_glob:e})}get options(){return this.#c}toRegExpSource(e){let r=e??!!this.#c.dot;if(this.#e===this&&(this.#d(),this.#y()),!cFe(this)){let l=this.isStart()&&this.isEnd()&&!this.#r.some(p=>typeof p!="string"),u=this.#r.map(p=>{let[m,g,E,y]=typeof p=="string"?Hs.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&i3t.has(this.#r[0]))){let m=n3t,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?r3t:E?KP:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,YP.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#I(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,YP.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!KP?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?KP:"")+dFe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?KP:"")+uFe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,YP.unescape)(s),this.#t=!!this.#t,this.#n]}#d(){if(cFe(this)){let e=0,r=!1;do{r=!0;for(let n=0;n<this.#r.length;n++){let i=this.#r[n];typeof i=="object"&&(i.#d(),this.#E(i)?(r=!1,this.#C(i,n)):this.#m(i)?(r=!1,this.#w(i,n)):this.#g(i)&&(r=!1,this.#x(i)))}}while(!r&&++e<10)}else for(let e of this.#r)typeof e=="object"&&e.#d();this.#o=void 0}#I(e){return this.#r.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l<e.length;l++){let u=e.charAt(l);if(i){i=!1,s+=(s3t.has(u)?"\\":"")+u;continue}if(u==="*"){if(c)continue;c=!0,s+=n&&/^[*]+$/.test(e)?dFe:uFe,r=!0;continue}else c=!1;if(u==="\\"){l===e.length-1?s+="\\\\":i=!0;continue}if(u==="["){let[d,f,h,p]=(0,Kqt.parseClass)(e,l);if(h){s+=d,a=a||f,l+=h-1,r=r||p;continue}}if(u==="?"){s+=d7,r=!0;continue}s+=o3t(u)}return[s,(0,YP.unescape)(e),!!r,a]}};ZP.AST=XP;Hs=XP});var h7=A(eO=>{"use strict";Object.defineProperty(eO,"__esModule",{value:!0});eO.escape=void 0;var c3t=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");eO.escape=c3t});var yFe=A(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.unescape=me.escape=me.AST=me.Minimatch=me.match=me.makeRe=me.braceExpand=me.defaults=me.filter=me.GLOBSTAR=me.sep=me.minimatch=void 0;var l3t=iFe(),tO=sFe(),pFe=f7(),u3t=h7(),d3t=JP(),f3t=o((t,e,r={})=>((0,tO.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new YA(e,r).match(t)),"minimatch");me.minimatch=f3t;var h3t=/^\*+([^+@!?*[(]*)$/,p3t=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),A3t=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),m3t=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),g3t=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),y3t=/^\*+\.\*+$/,E3t=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),C3t=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),b3t=/^\.\*+$/,w3t=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),I3t=/^\*+$/,S3t=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),B3t=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),x3t=/^\?+([^+@!?*[(]*)?$/,v3t=o(([t,e=""])=>{let r=AFe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),N3t=o(([t,e=""])=>{let r=mFe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),_3t=o(([t,e=""])=>{let r=mFe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),T3t=o(([t,e=""])=>{let r=AFe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),AFe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),mFe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),gFe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",fFe={win32:{sep:"\\"},posix:{sep:"/"}};me.sep=gFe==="win32"?fFe.win32.sep:fFe.posix.sep;me.minimatch.sep=me.sep;me.GLOBSTAR=Symbol("globstar **");me.minimatch.GLOBSTAR=me.GLOBSTAR;var R3t="[^/]",D3t=R3t+"*?",Q3t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",k3t="(?:(?!(?:\\/|^)\\.).)*?",P3t=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=P3t;me.minimatch.filter=me.filter;var Da=o((t,e={})=>Object.assign({},t,e),"ext"),O3t=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return me.minimatch;let e=me.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Da(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Da(t,s))}static defaults(i){return e.defaults(Da(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Da(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Da(t,s))}},unescape:o((n,i={})=>e.unescape(n,Da(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Da(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Da(t,i)),"filter"),defaults:o(n=>e.defaults(Da(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Da(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Da(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Da(t,s)),"match"),sep:e.sep,GLOBSTAR:me.GLOBSTAR})},"defaults");me.defaults=O3t;me.minimatch.defaults=me.defaults;var L3t=o((t,e={})=>((0,tO.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,l3t.expand)(t,{max:e.braceExpandMax})),"braceExpand");me.braceExpand=L3t;me.minimatch.braceExpand=me.braceExpand;var F3t=o((t,e={})=>new YA(t,e).makeRe(),"makeRe");me.makeRe=F3t;me.minimatch.makeRe=me.makeRe;var M3t=o((t,e,r={})=>{let n=new YA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=M3t;me.minimatch.match=me.match;var hFe=/[?*]|[+@!]\(.*?\)|\[|\]/,U3t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),YA=class{static{o(this,"Minimatch")}options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,r={}){(0,tO.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||gFe,this.isWindows=this.platform==="win32";let n="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[n]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!hFe.test(s[2]))&&!hFe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(d=>this.parse(d))];if(u)return[s[0],...s.slice(1).map(d=>this.parse(d))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){let a=this.set[s];a[0]===""&&a[1]===""&&this.globParts[s][2]==="?"&&typeof a[3]=="string"&&/^[a-z]:$/i.test(a[3])&&(a[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n of e)for(let i=0;i<n.length;i++)n[i]==="**"&&(n[i]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;i<e.length-1;i++){let s=e[i];i===1&&s===""&&e[0]===""||(s==="."||s==="")&&(r=!0,e.splice(i,1),i--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(r=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){let i=e[n-1];i&&i!=="."&&i!==".."&&i!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,e.splice(n-1,2),n-=2)}}while(r);return e.length===0?[""]:e}firstPhasePreProcess(e){let r=!1;do{r=!1;for(let n of e){let i=-1;for(;(i=n.indexOf("**",i+1))!==-1;){let a=i;for(;n[a+1]==="**";)a++;a>i&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let d=n.slice(0);d[i]="**",e.push(d),i--}if(!this.preserveMultipleSlashes){for(let a=1;a<n.length-1;a++){let c=n[a];a===1&&c===""&&n[0]===""||(c==="."||c==="")&&(r=!0,n.splice(a,1),a--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(r=!0,n.pop())}let s=0;for(;(s=n.indexOf("..",s+1))!==-1;){let a=n[s-1];if(a&&a!=="."&&a!==".."&&a!=="**"){r=!0;let l=s===1&&n[s+1]==="**"?["."]:[];n.splice(s-1,2,...l),n.length===0&&n.push(""),s-=2}}}}while(r);return e}secondPhasePreProcess(e){for(let r=0;r<e.length-1;r++)for(let n=r+1;n<e.length;n++){let i=this.partsMatch(e[r],e[n],!this.preserveMultipleSlashes);if(i){e[r]=[],e[n]=i;break}}return e.filter(r=>r.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i<e.length&&s<r.length;)if(e[i]===r[s])a.push(c==="b"?r[s]:e[i]),i++,s++;else if(n&&e[i]==="**"&&r[s]===e[i+1])a.push(e[i]),i++;else if(n&&r[s]==="**"&&e[i]===r[s+1])a.push(r[s]),s++;else if(e[i]==="*"&&r[s]&&(this.options.dot||!r[s].startsWith("."))&&r[s]!=="**"){if(c==="b")return!1;c="a",a.push(e[i]),i++,s++}else if(r[s]==="*"&&e[i]&&(this.options.dot||!e[i].startsWith("."))&&e[i]!=="**"){if(c==="a")return!1;c="b",a.push(r[s]),i++,s++}else return!1;return e.length===r.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n=!1){let i=0,s=0;if(this.isWindows){let c=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),l=!c&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),u=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),d=!u&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3]),f=l?3:c?0:void 0,h=d?3:u?0:void 0;if(typeof f=="number"&&typeof h=="number"){let[p,m]=[e[f],r[h]];p.toLowerCase()===m.toLowerCase()&&(r[h]=p,s=h,i=f)}}let{optimizationLevel:a=1}=this.options;return a>=2&&(e=this.levelTwoFileOptimize(e)),r.includes(me.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(me.GLOBSTAR,s),c=r.lastIndexOf(me.GLOBSTAR),[l,u,d]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length,s+=l.length}let f=0;if(d.length){if(d.length+i>e.length)return!1;let C=e.length-d.length;if(this.#n(e,d,n,C,0))f=d.length;else{if(e[e.length-1]!==""||i+d.length===e.length||(C--,!this.#n(e,d,n,C,0)))return!1;f=d.length+1}}if(!u.length){let C=!!f;for(let w=i;w<e.length-f;w++){let B=String(e[w]);if(C=!0,B==="."||B===".."||!this.options.dot&&B.startsWith("."))return!1}return n||C}let h=[[[],0]],p=h[0],m=0,g=[0];for(let C of u)C===me.GLOBSTAR?(g.push(m),p=[[],0],h.push(p)):(p[0].push(C),m++);let E=h.length-1,y=e.length-f;for(let C of h)C[1]=y-(g[E--]+C[0].length);return!!this.#t(e,h,i,0,n,0,!!f)}#t(e,r,n,i,s,a,c){let l=r[i];if(!l){for(let f=n;f<e.length;f++){c=!0;let h=e[f];if(h==="."||h===".."||!this.options.dot&&h.startsWith("."))return!1}return c}let[u,d]=l;for(;n<=d;){if(this.#n(e.slice(0,n+u.length),u,s,n,0)&&a<this.maxGlobstarRecursion){let p=this.#t(e,r,n+u.length,i+1,s,a+1,c);if(p!==!1)return p}let h=e[n];if(h==="."||h===".."||!this.options.dot&&h.startsWith("."))return!1;n++}return s||null}#n(e,r,n,i,s){let a,c,l,u;for(a=i,c=s,u=e.length,l=r.length;a<u&&c<l;a++,c++){this.debug("matchOne loop");let d=r[c],f=e[a];if(this.debug(r,d,f),d===!1||d===me.GLOBSTAR)return!1;let h;if(typeof d=="string"?(h=f===d,this.debug("string match",d,f,h)):(h=d.test(f),this.debug("pattern match",d,f,h)),!h)return!1}if(a===u&&c===l)return!0;if(a===u)return n;if(c===l)return a===u-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return(0,me.braceExpand)(this.pattern,this.options)}parse(e){(0,tO.assertValidPattern)(e);let r=this.options;if(e==="**")return me.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(I3t))?i=r.dot?B3t:S3t:(n=e.match(h3t))?i=(r.nocase?r.dot?g3t:m3t:r.dot?A3t:p3t)(n[1]):(n=e.match(x3t))?i=(r.nocase?r.dot?N3t:v3t:r.dot?_3t:T3t)(n):(n=e.match(y3t))?i=r.dot?C3t:E3t:(n=e.match(b3t))&&(i=w3t);let s=pFe.AST.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?D3t:r.dot?Q3t:k3t,i=new Set(r.nocase?["i"]:[]),s=e.map(l=>{let u=l.map(f=>{if(f instanceof RegExp)for(let h of f.flags.split(""))i.add(h);return typeof f=="string"?U3t(f):f===me.GLOBSTAR?me.GLOBSTAR:f._src});u.forEach((f,h)=>{let p=u[h+1],m=u[h-1];f!==me.GLOBSTAR||m===me.GLOBSTAR||(m===void 0?p!==void 0&&p!==me.GLOBSTAR?u[h+1]="(?:\\/|"+n+"\\/)?"+p:u[h]=n:p===void 0?u[h-1]=m+"(?:\\/|\\/"+n+")?":p!==me.GLOBSTAR&&(u[h-1]=m+"(?:\\/|\\/"+n+"\\/)"+p,u[h+1]=me.GLOBSTAR))});let d=u.filter(f=>f!==me.GLOBSTAR);if(this.partial&&d.length>=1){let f=[];for(let h=1;h<=d.length;h++)f.push(d.slice(0,h).join("/"));return"(?:"+f.join("|")+")"}return d.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.partial&&(s="^(?:\\/|"+a+s.slice(1,-1)+c+")$"),this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c of s){let l=i;if(n.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return me.minimatch.defaults(e).Minimatch}};me.Minimatch=YA;var q3t=f7();Object.defineProperty(me,"AST",{enumerable:!0,get:o(function(){return q3t.AST},"get")});var G3t=h7();Object.defineProperty(me,"escape",{enumerable:!0,get:o(function(){return G3t.escape},"get")});var H3t=JP();Object.defineProperty(me,"unescape",{enumerable:!0,get:o(function(){return H3t.unescape},"get")});me.minimatch.AST=pFe.AST;me.minimatch.Minimatch=YA;me.minimatch.escape=u3t.escape;me.minimatch.unescape=d3t.unescape});var m7=A(Qa=>{"use strict";var EFe=Qa&&Qa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Qa,"__esModule",{value:!0});Qa.SuccinctRoles=Qa.DelegatedRole=Qa.Role=Qa.TOP_LEVEL_ROLE_NAMES=void 0;var CFe=EFe(require("crypto")),V3t=yFe(),rO=EFe(require("util")),nO=nu(),KA=Ic();Qa.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var MB=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(z3t(r))throw new nO.ValueError("duplicate key IDs found");if(n<1)throw new nO.ValueError("threshold must be at least 1");this.keyIDs=r,this.threshold=n,this.unrecognizedFields=i||{}}equals(e){return e instanceof t?this.threshold===e.threshold&&rO.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&rO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keyids:this.keyIDs,threshold:this.threshold,...this.unrecognizedFields}}static fromJSON(e){let{keyids:r,threshold:n,...i}=e;if(!KA.guard.isStringArray(r))throw new TypeError("keyids must be an array");if(typeof n!="number")throw new TypeError("threshold must be a number");return new t({keyIDs:r,threshold:n,unrecognizedFields:i})}};Qa.Role=MB;function z3t(t){return new Set(t).size!==t.length}o(z3t,"hasDuplicates");var p7=class t extends MB{static{o(this,"DelegatedRole")}name;terminating;paths;pathHashPrefixes;constructor(e){super(e);let{name:r,terminating:n,paths:i,pathHashPrefixes:s}=e;if(this.name=r,this.terminating=n,e.paths&&e.pathHashPrefixes)throw new nO.ValueError("paths and pathHashPrefixes are mutually exclusive");this.paths=i,this.pathHashPrefixes=s}equals(e){return e instanceof t?super.equals(e)&&this.name===e.name&&this.terminating===e.terminating&&rO.default.isDeepStrictEqual(this.paths,e.paths)&&rO.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>j3t(e,r));if(this.pathHashPrefixes){let n=CFe.default.createHash("sha256").update(e).digest("hex");return this.pathHashPrefixes.some(i=>n.startsWith(i))}return!1}toJSON(){let e={...super.toJSON(),name:this.name,terminating:this.terminating};return this.paths&&(e.paths=this.paths),this.pathHashPrefixes&&(e.path_hash_prefixes=this.pathHashPrefixes),e}static fromJSON(e){let{keyids:r,threshold:n,name:i,terminating:s,paths:a,path_hash_prefixes:c,...l}=e;if(!KA.guard.isStringArray(r))throw new TypeError("keyids must be an array of strings");if(typeof n!="number")throw new TypeError("threshold must be a number");if(typeof i!="string")throw new TypeError("name must be a string");if(typeof s!="boolean")throw new TypeError("terminating must be a boolean");if(KA.guard.isDefined(a)&&!KA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(KA.guard.isDefined(c)&&!KA.guard.isStringArray(c))throw new TypeError("path_hash_prefixes must be an array of strings");return new t({keyIDs:r,threshold:n,name:i,terminating:s,paths:a,pathHashPrefixes:c,unrecognizedFields:l})}};Qa.DelegatedRole=p7;var $3t=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function j3t(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:$3t(r,n).every(([i,s])=>(0,V3t.minimatch)(i,s))}o(j3t,"isTargetInPathPattern");var A7=class t extends MB{static{o(this,"SuccinctRoles")}bitLength;namePrefix;numberOfBins;suffixLen;constructor(e){super(e);let{bitLength:r,namePrefix:n}=e;if(r<=0||r>32)throw new nO.ValueError("bitLength must be between 1 and 32");this.bitLength=r,this.namePrefix=n,this.numberOfBins=Math.pow(2,r),this.suffixLen=(this.numberOfBins-1).toString(16).length}equals(e){return e instanceof t?super.equals(e)&&this.bitLength===e.bitLength&&this.namePrefix===e.namePrefix:!1}getRoleForTarget(e){let i=CFe.default.createHash("sha256").update(e).digest().subarray(0,4),s=32-this.bitLength,c=(i.readUInt32BE()>>>s).toString(16).padStart(this.suffixLen,"0");return`${this.namePrefix}-${c}`}*getRoles(){for(let e=0;e<this.numberOfBins;e++){let r=e.toString(16).padStart(this.suffixLen,"0");yield`${this.namePrefix}-${r}`}}isDelegatedRole(e){let r=this.namePrefix+"-";if(!e.startsWith(r))return!1;let n=e.slice(r.length,e.length);if(n.length!=this.suffixLen||!n.match(/^[0-9a-fA-F]+$/))return!1;let i=parseInt(n,16);return 0<=i&&i<this.numberOfBins}toJSON(){return{...super.toJSON(),bit_length:this.bitLength,name_prefix:this.namePrefix}}static fromJSON(e){let{keyids:r,threshold:n,bit_length:i,name_prefix:s,...a}=e;if(!KA.guard.isStringArray(r))throw new TypeError("keyids must be an array of strings");if(typeof n!="number")throw new TypeError("threshold must be a number");if(typeof i!="number")throw new TypeError("bit_length must be a number");if(typeof s!="string")throw new TypeError("name_prefix must be a string");return new t({keyIDs:r,threshold:n,bitLength:i,namePrefix:s,unrecognizedFields:a})}};Qa.SuccinctRoles=A7});var E7=A(CC=>{"use strict";var W3t=CC&&CC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CC,"__esModule",{value:!0});CC.Root=void 0;var bFe=W3t(require("util")),g7=WA(),wFe=nu(),J3t=zP(),iO=m7(),sO=Ic(),y7=class t extends g7.Signed{static{o(this,"Root")}type=g7.MetadataKind.Root;keys;roles;consistentSnapshot;constructor(e){if(super(e),this.keys=e.keys||{},this.consistentSnapshot=e.consistentSnapshot??!0,!e.roles)this.roles=iO.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new iO.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!iO.TOP_LEVEL_ROLE_NAMES.every(n=>r.has(n)))throw new wFe.ValueError("missing top-level role");this.roles=e.roles}}addKey(e,r){if(!this.roles[r])throw new wFe.ValueError(`role ${r} does not exist`);this.roles[r].keyIDs.includes(e.keyID)||this.roles[r].keyIDs.push(e.keyID),this.keys[e.keyID]=e}equals(e){return e instanceof t?super.equals(e)&&this.consistentSnapshot===e.consistentSnapshot&&bFe.default.isDeepStrictEqual(this.keys,e.keys)&&bFe.default.isDeepStrictEqual(this.roles,e.roles):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,keys:Y3t(this.keys),roles:K3t(this.roles),consistent_snapshot:this.consistentSnapshot,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=g7.Signed.commonFieldsFromJSON(e),{keys:i,roles:s,consistent_snapshot:a,...c}=r;if(typeof a!="boolean")throw new TypeError("consistent_snapshot must be a boolean");return new t({...n,keys:X3t(i),roles:Z3t(s),consistentSnapshot:a,unrecognizedFields:c})}};CC.Root=y7;function Y3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Y3t,"keysToJSON");function K3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(K3t,"rolesToJSON");function X3t(t){let e;if(sO.guard.isDefined(t)){if(!sO.guard.isObjectRecord(t))throw new TypeError("keys must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:J3t.Key.fromJSON(n,i)}),{})}return e}o(X3t,"keysFromJSON");function Z3t(t){let e;if(sO.guard.isDefined(t)){if(!sO.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:iO.Role.fromJSON(i)}),{})}return e}o(Z3t,"rolesFromJSON")});var b7=A(oO=>{"use strict";Object.defineProperty(oO,"__esModule",{value:!0});oO.Signature=void 0;var C7=class t{static{o(this,"Signature")}keyID;sig;constructor(e){let{keyID:r,sig:n}=e;this.keyID=r,this.sig=n}toJSON(){return{keyid:this.keyID,sig:this.sig}}static fromJSON(e){let{keyid:r,sig:n}=e;if(typeof r!="string")throw new TypeError("keyid must be a string");if(typeof n!="string")throw new TypeError("sig must be a string");return new t({keyID:r,sig:n})}};oO.Signature=C7});var S7=A(bC=>{"use strict";var eGt=bC&&bC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bC,"__esModule",{value:!0});bC.Snapshot=void 0;var tGt=eGt(require("util")),w7=WA(),SFe=QB(),IFe=Ic(),I7=class t extends w7.Signed{static{o(this,"Snapshot")}type=w7.MetadataKind.Snapshot;meta;constructor(e){super(e),this.meta=e.meta||{"targets.json":new SFe.MetaFile({version:1})}}equals(e){return e instanceof t?super.equals(e)&&tGt.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:rGt(this.meta),spec_version:this.specVersion,version:this.version,expires:this.expires,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=w7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,meta:nGt(i),unrecognizedFields:s})}};bC.Snapshot=I7;function rGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(rGt,"metaToJSON");function nGt(t){let e;if(IFe.guard.isDefined(t))if(IFe.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:SFe.MetaFile.fromJSON(i)}),{});else throw new TypeError("meta field is malformed");return e}o(nGt,"metaFromJSON")});var BFe=A(wC=>{"use strict";var iGt=wC&&wC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wC,"__esModule",{value:!0});wC.Delegations=void 0;var aO=iGt(require("util")),sGt=nu(),oGt=zP(),B7=m7(),cO=Ic(),x7=class t{static{o(this,"Delegations")}keys;roles;unrecognizedFields;succinctRoles;constructor(e){if(this.keys=e.keys,this.unrecognizedFields=e.unrecognizedFields||{},e.roles&&Object.keys(e.roles).some(r=>B7.TOP_LEVEL_ROLE_NAMES.includes(r)))throw new sGt.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?aO.default.isDeepStrictEqual(this.keys,e.keys)&&aO.default.isDeepStrictEqual(this.roles,e.roles)&&aO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&aO.default.isDeepStrictEqual(this.succinctRoles,e.succinctRoles):!1}*rolesForTarget(e){if(this.roles)for(let r of Object.values(this.roles))r.isDelegatedPath(e)&&(yield{role:r.name,terminating:r.terminating});else this.succinctRoles&&(yield{role:this.succinctRoles.getRoleForTarget(e),terminating:!0})}toJSON(){let e={keys:aGt(this.keys),...this.unrecognizedFields};return this.roles?e.roles=cGt(this.roles):this.succinctRoles&&(e.succinct_roles=this.succinctRoles.toJSON()),e}static fromJSON(e){let{keys:r,roles:n,succinct_roles:i,...s}=e,a;return cO.guard.isObject(i)&&(a=B7.SuccinctRoles.fromJSON(i)),new t({keys:lGt(r),roles:uGt(n),unrecognizedFields:s,succinctRoles:a})}};wC.Delegations=x7;function aGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(aGt,"keysToJSON");function cGt(t){return Object.values(t).map(e=>e.toJSON())}o(cGt,"rolesToJSON");function lGt(t){if(!cO.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:oGt.Key.fromJSON(r,n)}),{})}o(lGt,"keysFromJSON");function uGt(t){let e;if(cO.guard.isDefined(t)){if(!cO.guard.isObjectArray(t))throw new TypeError("roles is malformed");e=t.reduce((r,n)=>{let i=B7.DelegatedRole.fromJSON(n);return{...r,[i.name]:i}},{})}return e}o(uGt,"rolesFromJSON")});var _7=A(IC=>{"use strict";var dGt=IC&&IC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(IC,"__esModule",{value:!0});IC.Targets=void 0;var xFe=dGt(require("util")),v7=WA(),fGt=BFe(),hGt=QB(),lO=Ic(),N7=class t extends v7.Signed{static{o(this,"Targets")}type=v7.MetadataKind.Targets;targets;delegations;constructor(e){super(e),this.targets=e.targets||{},this.delegations=e.delegations}addTarget(e){this.targets[e.path]=e}equals(e){return e instanceof t?super.equals(e)&&xFe.default.isDeepStrictEqual(this.targets,e.targets)&&xFe.default.isDeepStrictEqual(this.delegations,e.delegations):!1}toJSON(){let e={_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,targets:pGt(this.targets),...this.unrecognizedFields};return this.delegations&&(e.delegations=this.delegations.toJSON()),e}static fromJSON(e){let{unrecognizedFields:r,...n}=v7.Signed.commonFieldsFromJSON(e),{targets:i,delegations:s,...a}=r;return new t({...n,targets:AGt(i),delegations:mGt(s),unrecognizedFields:a})}};IC.Targets=N7;function pGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(pGt,"targetsToJSON");function AGt(t){let e;if(lO.guard.isDefined(t))if(lO.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:hGt.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(AGt,"targetsFromJSON");function mGt(t){let e;if(lO.guard.isDefined(t))if(lO.guard.isObject(t))e=fGt.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(mGt,"delegationsFromJSON")});var Q7=A(uO=>{"use strict";Object.defineProperty(uO,"__esModule",{value:!0});uO.Timestamp=void 0;var T7=WA(),vFe=QB(),R7=Ic(),D7=class t extends T7.Signed{static{o(this,"Timestamp")}type=T7.MetadataKind.Timestamp;snapshotMeta;constructor(e){super(e),this.snapshotMeta=e.snapshotMeta||new vFe.MetaFile({version:1})}equals(e){return e instanceof t?super.equals(e)&&this.snapshotMeta.equals(e.snapshotMeta):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,meta:{"snapshot.json":this.snapshotMeta.toJSON()},...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=T7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,snapshotMeta:gGt(i),unrecognizedFields:s})}};uO.Timestamp=D7;function gGt(t){let e;if(R7.guard.isDefined(t)){let r=t["snapshot.json"];if(!R7.guard.isDefined(r)||!R7.guard.isObject(r))throw new TypeError("missing snapshot.json in meta");e=vFe.MetaFile.fromJSON(r)}return e}o(gGt,"snapshotMetaFromJSON")});var _Fe=A(BC=>{"use strict";var yGt=BC&&BC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(BC,"__esModule",{value:!0});BC.Metadata=void 0;var EGt=XK(),NFe=yGt(require("util")),SC=WA(),UB=nu(),CGt=E7(),bGt=b7(),wGt=S7(),IGt=_7(),SGt=Q7(),k7=Ic(),P7=class t{static{o(this,"Metadata")}signed;signatures;unrecognizedFields;constructor(e,r,n){this.signed=e,this.signatures=r||{},this.unrecognizedFields=n||{}}sign(e,r=!0){let n=Buffer.from((0,EGt.canonicalize)(this.signed.toJSON())),i=e(n);r||(this.signatures={}),this.signatures[i.keyID]=i}verifyDelegate(e,r){let n,i={};switch(this.signed.type){case SC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case SC.MetadataKind.Targets:if(!this.signed.delegations)throw new UB.ValueError(`No delegations found for ${e}`);i=this.signed.delegations.keys,this.signed.delegations.roles?n=this.signed.delegations.roles[e]:this.signed.delegations.succinctRoles&&this.signed.delegations.succinctRoles.isDelegatedRole(e)&&(n=this.signed.delegations.succinctRoles);break;default:throw new TypeError("invalid metadata type")}if(!n)throw new UB.ValueError(`no delegation found for ${e}`);let s=new Set;if(n.keyIDs.forEach(a=>{let c=i[a];if(c)try{c.verifySignature(r),s.add(c.keyID)}catch{}}),s.size<n.threshold)throw new UB.UnsignedMetadataError(`${e} was signed by ${s.size}/${n.threshold} keys`)}equals(e){return e instanceof t?this.signed.equals(e.signed)&&NFe.default.isDeepStrictEqual(this.signatures,e.signatures)&&NFe.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{signatures:Object.values(this.signatures).map(r=>r.toJSON()),signed:this.signed.toJSON(),...this.unrecognizedFields}}static fromJSON(e,r){let{signed:n,signatures:i,...s}=r;if(!k7.guard.isDefined(n)||!k7.guard.isObject(n))throw new TypeError("signed is not defined");if(e!==n._type)throw new UB.ValueError(`expected '${e}', got ${n._type}`);if(!k7.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case SC.MetadataKind.Root:a=CGt.Root.fromJSON(n);break;case SC.MetadataKind.Timestamp:a=SGt.Timestamp.fromJSON(n);break;case SC.MetadataKind.Snapshot:a=wGt.Snapshot.fromJSON(n);break;case SC.MetadataKind.Targets:a=IGt.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=bGt.Signature.fromJSON(l);if(c[u.keyID])throw new UB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};BC.Metadata=P7});var dO=A(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.Timestamp=xr.Targets=xr.Snapshot=xr.Signature=xr.Root=xr.Metadata=xr.Key=xr.TargetFile=xr.MetaFile=xr.ValueError=xr.MetadataKind=void 0;var BGt=WA();Object.defineProperty(xr,"MetadataKind",{enumerable:!0,get:o(function(){return BGt.MetadataKind},"get")});var xGt=nu();Object.defineProperty(xr,"ValueError",{enumerable:!0,get:o(function(){return xGt.ValueError},"get")});var TFe=QB();Object.defineProperty(xr,"MetaFile",{enumerable:!0,get:o(function(){return TFe.MetaFile},"get")});Object.defineProperty(xr,"TargetFile",{enumerable:!0,get:o(function(){return TFe.TargetFile},"get")});var vGt=zP();Object.defineProperty(xr,"Key",{enumerable:!0,get:o(function(){return vGt.Key},"get")});var NGt=_Fe();Object.defineProperty(xr,"Metadata",{enumerable:!0,get:o(function(){return NGt.Metadata},"get")});var _Gt=E7();Object.defineProperty(xr,"Root",{enumerable:!0,get:o(function(){return _Gt.Root},"get")});var TGt=b7();Object.defineProperty(xr,"Signature",{enumerable:!0,get:o(function(){return TGt.Signature},"get")});var RGt=S7();Object.defineProperty(xr,"Snapshot",{enumerable:!0,get:o(function(){return RGt.Snapshot},"get")});var DGt=_7();Object.defineProperty(xr,"Targets",{enumerable:!0,get:o(function(){return DGt.Targets},"get")});var QGt=Q7();Object.defineProperty(xr,"Timestamp",{enumerable:!0,get:o(function(){return QGt.Timestamp},"get")})});var DFe=A((mMr,RFe)=>{var xC=1e3,vC=xC*60,NC=vC*60,XA=NC*24,kGt=XA*7,PGt=XA*365.25;RFe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return OGt(t);if(r==="number"&&isFinite(t))return e.long?FGt(t):LGt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function OGt(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*PGt;case"weeks":case"week":case"w":return r*kGt;case"days":case"day":case"d":return r*XA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*NC;case"minutes":case"minute":case"mins":case"min":case"m":return r*vC;case"seconds":case"second":case"secs":case"sec":case"s":return r*xC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(OGt,"parse");function LGt(t){var e=Math.abs(t);return e>=XA?Math.round(t/XA)+"d":e>=NC?Math.round(t/NC)+"h":e>=vC?Math.round(t/vC)+"m":e>=xC?Math.round(t/xC)+"s":t+"ms"}o(LGt,"fmtShort");function FGt(t){var e=Math.abs(t);return e>=XA?fO(t,e,XA,"day"):e>=NC?fO(t,e,NC,"hour"):e>=vC?fO(t,e,vC,"minute"):e>=xC?fO(t,e,xC,"second"):t+" ms"}o(FGt,"fmtLong");function fO(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(fO,"plural")});var O7=A((yMr,QFe)=>{function MGt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=DFe(),r.destroy=u,Object.keys(t).forEach(d=>{r[d]=t[d]}),r.names=[],r.skips=[],r.formatters={};function e(d){let f=0;for(let h=0;h<d.length;h++)f=(f<<5)-f+d.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(d){let f,h=null,p,m;function g(...E){if(!g.enabled)return;let y=g,C=Number(new Date),w=C-(f||C);y.diff=w,y.prev=f,y.curr=C,f=C,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let B=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(q,v)=>{if(q==="%%")return"%";B++;let $=r.formatters[v];if(typeof $=="function"){let R=E[B];q=$.call(y,R),E.splice(B,1),B--}return q}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}o(r,"createDebug");function n(d,f){let h=r(this.namespace+(typeof f>"u"?":":f)+d);return h.log=this.log,h}o(n,"extend");function i(d){r.save(d),r.namespaces=d,r.names=[],r.skips=[];let f=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let h of f)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}o(i,"enable");function s(d,f){let h=0,p=0,m=-1,g=0;for(;h<d.length;)if(p<f.length&&(f[p]===d[h]||f[p]==="*"))f[p]==="*"?(m=p,g=h,p++):(h++,p++);else if(m!==-1)p=m+1,g++,h=g;else return!1;for(;p<f.length&&f[p]==="*";)p++;return p===f.length}o(s,"matchesTemplate");function a(){let d=[...r.names,...r.skips.map(f=>"-"+f)].join(",");return r.enable(""),d}o(a,"disable");function c(d){for(let f of r.skips)if(s(d,f))return!1;for(let f of r.names)if(s(d,f))return!0;return!1}o(c,"enabled");function l(d){return d instanceof Error?d.stack||d.message:d}o(l,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(u,"destroy"),r.enable(r.load()),r}o(MGt,"setup");QFe.exports=MGt});var kFe=A((Vs,hO)=>{Vs.formatArgs=qGt;Vs.save=GGt;Vs.load=HGt;Vs.useColors=UGt;Vs.storage=VGt();Vs.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`."))}})();Vs.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 UGt(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(UGt,"useColors");function qGt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+hO.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(qGt,"formatArgs");Vs.log=console.debug||console.log||(()=>{});function GGt(t){try{t?Vs.storage.setItem("debug",t):Vs.storage.removeItem("debug")}catch{}}o(GGt,"save");function HGt(){let t;try{t=Vs.storage.getItem("debug")||Vs.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(HGt,"load");function VGt(){try{return localStorage}catch{}}o(VGt,"localstorage");hO.exports=O7()(Vs);var{formatters:zGt}=hO.exports;zGt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var OFe=A((si,AO)=>{var $Gt=require("tty"),pO=require("util");si.init=ZGt;si.log=YGt;si.formatArgs=WGt;si.save=KGt;si.load=XGt;si.useColors=jGt;si.destroy=pO.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");si.colors=[6,2,3,4,5,1];try{let t=oG();t&&(t.stderr||t).level>=2&&(si.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{}si.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function jGt(){return"colors"in si.inspectOpts?!!si.inspectOpts.colors:$Gt.isatty(process.stderr.fd)}o(jGt,"useColors");function WGt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
`).join(`
`+s),t.push(i+"m+"+AO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=JGt()+e+" "+t[0]}o(WGt,"formatArgs");function JGt(){return si.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(JGt,"getDate");function YGt(...t){return process.stderr.write(pO.formatWithOptions(si.inspectOpts,...t)+`
`)}o(YGt,"log");function KGt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(KGt,"save");function XGt(){return process.env.DEBUG}o(XGt,"load");function ZGt(t){t.inspectOpts={};let e=Object.keys(si.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=si.inspectOpts[e[r]]}o(ZGt,"init");AO.exports=O7()(si);var{formatters:PFe}=AO.exports;PFe.o=function(t){return this.inspectOpts.colors=this.useColors,pO.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};PFe.O=function(t){return this.inspectOpts.colors=this.useColors,pO.inspect(t,this.inspectOpts)}});var F7=A((wMr,L7)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?L7.exports=kFe():L7.exports=OFe()});var gO=A(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.DownloadHTTPError=Wr.DownloadLengthMismatchError=Wr.DownloadError=Wr.ExpiredMetadataError=Wr.EqualVersionError=Wr.BadVersionError=Wr.RepositoryError=Wr.PersistError=Wr.RuntimeError=Wr.ValueError=void 0;var M7=class extends Error{static{o(this,"ValueError")}};Wr.ValueError=M7;var U7=class extends Error{static{o(this,"RuntimeError")}};Wr.RuntimeError=U7;var q7=class extends Error{static{o(this,"PersistError")}};Wr.PersistError=q7;var qB=class extends Error{static{o(this,"RepositoryError")}};Wr.RepositoryError=qB;var mO=class extends qB{static{o(this,"BadVersionError")}};Wr.BadVersionError=mO;var G7=class extends mO{static{o(this,"EqualVersionError")}};Wr.EqualVersionError=G7;var H7=class extends qB{static{o(this,"ExpiredMetadataError")}};Wr.ExpiredMetadataError=H7;var GB=class extends Error{static{o(this,"DownloadError")}};Wr.DownloadError=GB;var V7=class extends GB{static{o(this,"DownloadLengthMismatchError")}};Wr.DownloadLengthMismatchError=V7;var z7=class extends GB{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};Wr.DownloadHTTPError=z7});var FFe=A(_C=>{"use strict";var j7=_C&&_C.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_C,"__esModule",{value:!0});_C.withTempFile=void 0;var $7=j7(require("fs/promises")),eHt=j7(require("os")),LFe=j7(require("path")),tHt=o(async t=>rHt(async e=>t(LFe.default.join(e,"tempfile"))),"withTempFile");_C.withTempFile=tHt;var rHt=o(async t=>{let e=await $7.default.realpath(eHt.default.tmpdir()),r=await $7.default.mkdtemp(e+LFe.default.sep);try{return await t(r)}finally{await $7.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var UFe=A((vMr,MFe)=>{var W7=class{static{o(this,"RetryOperation")}#e=1;#t=null;#n=[];#r=null;#i;#s=null;#l;#a;#c=null;#o;constructor(e,r={}){this.#l=[...e],this.#a=[...e],this.#o=r.unref,this.#i=r.maxRetryTime||1/0,r.forever&&(this.#t=[...this.#a])}get timeouts(){return[...this.#a]}get errors(){return[...this.#n]}get attempts(){return this.#e}get mainError(){let e=null;if(this.#n.length){let r=0,n={};for(let i=0;i<this.#n.length;i++){let s=this.#n[i],{message:a}=s;n[a]||(n[a]=0),n[a]++,n[a]>=r&&(e=s,r=n[a])}}return e}reset(){this.#e=1,this.#a=[...this.#l]}stop(){this.#c&&clearTimeout(this.#c),this.#a=[],this.#t=null}retry(e){if(this.#n.push(e),new Date().getTime()-this.#s>=this.#i)return this.#n.unshift(new Error("RetryOperation timeout occurred")),!1;let r=this.#a.shift();if(r===void 0)if(this.#t)this.#n.pop(),r=this.#t.at(-1);else return!1;return this.#c=setTimeout(()=>{this.#e++,this.#r(this.#e)},r),this.#o&&this.#c.unref(),!0}attempt(e){this.#r=e,this.#s=new Date().getTime(),this.#r(this.#e)}};MFe.exports={RetryOperation:W7}});var HFe=A((_Mr,GFe)=>{var{RetryOperation:nHt}=UFe(),qFe=o((t,e)=>Math.min(Math.round((1+(e.randomize?Math.random():0))*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout),"createTimeout"),iHt=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),sHt=o(async(t,e={})=>{let r=[];if(e instanceof Array)r=[...e];else{e.retries===1/0&&(e.forever=!0,delete e.retries);let i={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1,...e};if(i.minTimeout>i.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");if(i.retries){for(let s=0;s<i.retries;s++)r.push(qFe(s,i));r.sort((s,a)=>s-a)}else e.forever&&r.push(qFe(0,i))}let n=new nHt(r,{forever:e.forever,unref:e.unref,maxRetryTime:e.maxRetryTime});return new Promise(function(i,s){n.attempt(async a=>{try{let c=await t(l=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:l})},a,n);return i(c)}catch(c){if(!iHt(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");GFe.exports={promiseRetry:sHt}});var K7=A(mh=>{"use strict";var Y7=mh&&mh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mh,"__esModule",{value:!0});mh.DefaultFetcher=mh.BaseFetcher=void 0;var oHt=Y7(F7()),VFe=Y7(require("fs")),aHt=Y7(require("util")),zFe=gO(),cHt=FFe(),lHt=HFe(),uHt=(0,oHt.default)("tuf:fetch"),dHt="User-Agent",yO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,cHt.withTempFile)(async i=>{let s=await this.fetch(e),a=0,c=VFe.default.createWriteStream(i),l=s.getReader();try{for(;;){let{done:u,value:d}=await l.read();if(u)break;if(a+=d.length,a>r)throw new zFe.DownloadLengthMismatchError("Max length reached");await fHt(c,Buffer.from(d))}}finally{l.releaseLock(),await aHt.default.promisify(c.close).bind(c)()}return n(i)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let i=VFe.default.createReadStream(n),s=[];for await(let a of i)s.push(a);return Buffer.concat(s)})}};mh.BaseFetcher=yO;var J7=class extends yO{static{o(this,"DefaultFetcher")}userAgent;timeout;retry;constructor(e={}){if(super(),this.userAgent=e.userAgent,this.timeout=e.timeout,e.retry===!0)this.retry={forever:!0};else if(e.retry===!1||e.retry===void 0)this.retry=void 0;else if(typeof e.retry=="number"){if(e.retry<0)throw new Error("Retry count must be non-negative number");this.retry={retries:e.retry}}else this.retry=e.retry}async fetch(e){let r=this.retry!==void 0;return(0,lHt.promiseRetry)(async(n,i)=>{uHt("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[dHt]:this.userAgent||""},signal:this.timeout?AbortSignal.timeout(this.timeout):void 0})}catch(a){let c=a instanceof Error?a:new Error(String(a));if(r)return n(c);throw c}if(!s.ok||!s.body){let a=new zFe.DownloadHTTPError("Failed to download",s.status);if(r&&s.status>=500&&s.status<600)return n(a);throw a}return s.body},this.retry)}};mh.DefaultFetcher=J7;var fHt=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var $Fe=A((QMr,hHt)=>{hHt.exports={name:"tuf-js",version:"6.0.0",description:"JavaScript implementation of The Update Framework (TUF)",main:"dist/index.js",types:"dist/index.d.ts",scripts:{build:"tsc --build tsconfig.build.json",clean:"rm -rf dist && rm tsconfig.build.tsbuildinfo",test:"jest"},repository:{type:"git",url:"git+https://github.com/theupdateframework/tuf-js.git"},files:["dist"],keywords:["tuf","security","update"],author:"bdehamer@github.com",license:"MIT",bugs:{url:"https://github.com/theupdateframework/tuf-js/issues"},homepage:"https://github.com/theupdateframework/tuf-js/tree/main/packages/client#readme",devDependencies:{"@tufjs/repo-mock":"5.0.0","@types/debug":"^4.1.13","@types/retry":"^0.12.5"},dependencies:{"@gar/promise-retry":"^1.0.3","@tufjs/models":"5.0.0",debug:"^4.4.3"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var jFe=A(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});EO.defaultConfig=void 0;EO.defaultConfig={maxRootRotations:256,maxDelegations:32,rootMaxLength:512e3,timestampMaxLength:16384,snapshotMaxLength:2e6,targetsMaxLength:5e6,prefixTargetsWithHash:!0,fetchTimeout:1e5,fetchRetries:void 0,fetchRetry:2,userAgent:""}});var WFe=A(CO=>{"use strict";Object.defineProperty(CO,"__esModule",{value:!0});CO.TrustedMetadataStore=void 0;var xn=dO(),Dr=gO(),X7=class{static{o(this,"TrustedMetadataStore")}trustedSet={};referenceTime;constructor(e){this.referenceTime=new Date,this.loadTrustedRoot(e)}get root(){if(!this.trustedSet.root)throw new ReferenceError("No trusted root metadata");return this.trustedSet.root}get timestamp(){return this.trustedSet.timestamp}get snapshot(){return this.trustedSet.snapshot}get targets(){return this.trustedSet.targets}getRole(e){return this.trustedSet[e]}updateRoot(e){let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Root,r);if(n.signed.type!=xn.MetadataKind.Root)throw new Dr.RepositoryError(`Expected 'root', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Root,n),n.signed.version!=this.root.signed.version+1)throw new Dr.BadVersionError(`Expected version ${this.root.signed.version+1}, got ${n.signed.version}`);return n.verifyDelegate(xn.MetadataKind.Root,n),this.trustedSet.root=n,n}updateTimestamp(e){if(this.snapshot)throw new Dr.RuntimeError("Cannot update timestamp after snapshot");if(this.root.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError("Final root.json is expired");let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Timestamp,r);if(n.signed.type!=xn.MetadataKind.Timestamp)throw new Dr.RepositoryError(`Expected 'timestamp', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Timestamp,n),this.timestamp){if(n.signed.version<this.timestamp.signed.version)throw new Dr.BadVersionError(`New timestamp version ${n.signed.version} is less than current version ${this.timestamp.signed.version}`);if(n.signed.version===this.timestamp.signed.version)throw new Dr.EqualVersionError(`New timestamp version ${n.signed.version} is equal to current version ${this.timestamp.signed.version}`);let i=this.timestamp.signed.snapshotMeta,s=n.signed.snapshotMeta;if(s.version<i.version)throw new Dr.BadVersionError(`New snapshot version ${s.version} is less than current version ${i.version}`)}return this.trustedSet.timestamp=n,this.checkFinalTimestamp(),n}updateSnapshot(e,r=!1){if(!this.timestamp)throw new Dr.RuntimeError("Cannot update snapshot before timestamp");if(this.targets)throw new Dr.RuntimeError("Cannot update snapshot after targets");this.checkFinalTimestamp();let n=this.timestamp.signed.snapshotMeta;r||n.verify(e);let i=JSON.parse(e.toString("utf8")),s=xn.Metadata.fromJSON(xn.MetadataKind.Snapshot,i);if(s.signed.type!=xn.MetadataKind.Snapshot)throw new Dr.RepositoryError(`Expected 'snapshot', got ${s.signed.type}`);return this.root.verifyDelegate(xn.MetadataKind.Snapshot,s),this.snapshot&&Object.entries(this.snapshot.signed.meta).forEach(([a,c])=>{let l=s.signed.meta[a];if(!l)throw new Dr.RepositoryError(`Missing file ${a} in new snapshot`);if(l.version<c.version)throw new Dr.BadVersionError(`New version ${l.version} of ${a} is less than current version ${c.version}`)}),this.trustedSet.snapshot=s,this.checkFinalSnapsnot(),s}updateDelegatedTargets(e,r,n){if(!this.snapshot)throw new Dr.RuntimeError("Cannot update delegated targets before snapshot");this.checkFinalSnapsnot();let i=this.trustedSet[n];if(!i)throw new Dr.RuntimeError(`No trusted ${n} metadata`);let s=this.snapshot.signed.meta?.[`${r}.json`];if(!s)throw new Dr.RepositoryError(`Missing ${r}.json in snapshot`);s.verify(e);let a=JSON.parse(e.toString("utf8")),c=xn.Metadata.fromJSON(xn.MetadataKind.Targets,a);if(c.signed.type!=xn.MetadataKind.Targets)throw new Dr.RepositoryError(`Expected 'targets', got ${c.signed.type}`);i.verifyDelegate(r,c);let l=c.signed.version;if(l!=s.version)throw new Dr.BadVersionError(`Version ${l} of ${r} does not match snapshot version ${s.version}`);if(c.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError(`${r}.json is expired`);this.trustedSet[r]=c}loadTrustedRoot(e){let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Root,r);if(n.signed.type!=xn.MetadataKind.Root)throw new Dr.RepositoryError(`Expected 'root', got ${n.signed.type}`);n.verifyDelegate(xn.MetadataKind.Root,n),this.trustedSet.root=n}checkFinalTimestamp(){if(!this.timestamp)throw new ReferenceError("No trusted timestamp metadata");if(this.timestamp.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError("Final timestamp.json is expired")}checkFinalSnapsnot(){if(!this.snapshot)throw new ReferenceError("No trusted snapshot metadata");if(!this.timestamp)throw new ReferenceError("No trusted timestamp metadata");if(this.snapshot.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError("snapshot.json is expired");let e=this.timestamp.signed.snapshotMeta;if(this.snapshot.signed.version!==e.version)throw new Dr.BadVersionError("Snapshot version doesn't match timestamp")}};CO.TrustedMetadataStore=X7});var JFe=A(Z7=>{"use strict";Object.defineProperty(Z7,"__esModule",{value:!0});Z7.join=AHt;var pHt=require("url");function AHt(t,e){return new pHt.URL(mHt(t)+gHt(e)).toString()}o(AHt,"join");function mHt(t){return t.endsWith("/")?t:t+"/"}o(mHt,"ensureTrailingSlash");function gHt(t){return t.startsWith("/")?t.slice(1):t}o(gHt,"removeLeadingSlash")});var KFe=A(ka=>{"use strict";var yHt=ka&&ka.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),EHt=ka&&ka.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rX=ka&&ka.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&yHt(r,e,n[i]);return EHt(r,e),r}})(),CHt=ka&&ka.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ka,"__esModule",{value:!0});ka.Updater=void 0;var iu=dO(),bHt=CHt(F7()),TC=rX(require("fs")),bO=rX(require("path")),YFe=$Fe(),wHt=jFe(),ZA=gO(),IHt=K7(),SHt=WFe(),HB=rX(JFe()),eX=(0,bHt.default)("tuf:cache"),tX=class{static{o(this,"Updater")}dir;metadataBaseUrl;targetDir;targetBaseUrl;forceCache;trustedSet;config;fetcher;constructor(e){let{metadataDir:r,metadataBaseUrl:n,targetDir:i,targetBaseUrl:s,fetcher:a,config:c}=e;this.dir=r,this.metadataBaseUrl=n,this.targetDir=i,this.targetBaseUrl=s,this.forceCache=e.forceCache??!1;let l=this.loadLocalMetadata(iu.MetadataKind.Root);this.trustedSet=new SHt.TrustedMetadataStore(l),this.config={...wHt.defaultConfig,...c};let u=c?.userAgent?`${c.userAgent} tuf-js/${YFe.version}`:`tuf-js/${YFe.version}`;this.fetcher=a||new IHt.DefaultFetcher({userAgent:u,timeout:this.config.fetchTimeout,retry:this.config.fetchRetries??this.config.fetchRetry})}async refresh(){if(this.forceCache)try{await this.loadTimestamp({checkRemote:!1})}catch{await this.loadRoot(),await this.loadTimestamp()}else await this.loadRoot(),await this.loadTimestamp();await this.loadSnapshot(),await this.loadTargets(iu.MetadataKind.Targets,iu.MetadataKind.Root)}async getTargetInfo(e){return this.trustedSet.targets||await this.refresh(),this.preorderDepthFirstWalk(e)}async downloadTarget(e,r,n){let i=r||this.generateTargetPath(e);if(!n){if(!this.targetBaseUrl)throw new ZA.ValueError("Target base URL not set");n=this.targetBaseUrl}let s=e.path;if(this.trustedSet.root.signed.consistentSnapshot&&this.config.prefixTargetsWithHash){let l=Object.values(e.hashes),{dir:u,base:d}=bO.parse(s),f=`${l[0]}.${d}`;s=u?`${u}/${f}`:f}let c=HB.join(n,s);return await this.fetcher.downloadFile(c,e.length,async l=>{await e.verify(TC.createReadStream(l)),eX("WRITE %s",i),TC.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(TC.existsSync(r))return await e.verify(TC.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=bO.join(this.dir,`${e}.json`);return eX("READ %s",r),TC.readFileSync(r)}async loadRoot(){let r=this.trustedSet.root.signed.version+1,n=r+this.config.maxRootRotations;for(let i=r;i<n;i++){let s=HB.join(this.metadataBaseUrl,`${i}.root.json`);try{let a=await this.fetcher.downloadBytes(s,this.config.rootMaxLength);this.trustedSet.updateRoot(a),this.persistMetadata(iu.MetadataKind.Root,a)}catch(a){if(a instanceof ZA.DownloadHTTPError&&[403,404].includes(a.statusCode))break;throw a}}}async loadTimestamp({checkRemote:e}={checkRemote:!0}){try{let i=this.loadLocalMetadata(iu.MetadataKind.Timestamp);if(this.trustedSet.updateTimestamp(i),!e)return}catch{}let r=HB.join(this.metadataBaseUrl,"timestamp.json"),n=await this.fetcher.downloadBytes(r,this.config.timestampMaxLength);try{this.trustedSet.updateTimestamp(n)}catch(i){if(i instanceof ZA.EqualVersionError)return;throw i}this.persistMetadata(iu.MetadataKind.Timestamp,n)}async loadSnapshot(){try{let e=this.loadLocalMetadata(iu.MetadataKind.Snapshot);this.trustedSet.updateSnapshot(e,!0)}catch(e){if(!this.trustedSet.timestamp)throw new ReferenceError("No timestamp metadata",{cause:e});let r=this.trustedSet.timestamp.signed.snapshotMeta,n=r.length||this.config.snapshotMaxLength,i=this.trustedSet.root.signed.consistentSnapshot?r.version:void 0,s=HB.join(this.metadataBaseUrl,i?`${i}.snapshot.json`:"snapshot.json");try{let a=await this.fetcher.downloadBytes(s,n);this.trustedSet.updateSnapshot(a),this.persistMetadata(iu.MetadataKind.Snapshot,a)}catch(a){throw new ZA.RuntimeError(`Unable to load snapshot metadata error ${a}`)}}}async loadTargets(e,r){if(this.trustedSet.getRole(e))return this.trustedSet.getRole(e);try{let n=this.loadLocalMetadata(e);this.trustedSet.updateDelegatedTargets(n,e,r)}catch(n){if(!this.trustedSet.snapshot)throw new ReferenceError("No snapshot metadata",{cause:n});let i=this.trustedSet.snapshot.signed.meta[`${e}.json`],s=i.length||this.config.targetsMaxLength,a=this.trustedSet.root.signed.consistentSnapshot?i.version:void 0,c=encodeURIComponent(e),l=HB.join(this.metadataBaseUrl,a?`${a}.${c}.json`:`${c}.json`);try{let u=await this.fetcher.downloadBytes(l,s);this.trustedSet.updateDelegatedTargets(u,e,r),this.persistMetadata(e,u)}catch(u){throw new ZA.RuntimeError(`Unable to load targets error ${u}`)}}return this.trustedSet.getRole(e)}async preorderDepthFirstWalk(e){let r=[{roleName:iu.MetadataKind.Targets,parentRoleName:iu.MetadataKind.Root}],n=new Set;for(;n.size<=this.config.maxDelegations&&r.length>0;){let{roleName:i,parentRoleName:s}=r.pop();if(n.has(i))continue;let a=(await this.loadTargets(i,s))?.signed;if(!a)continue;let c=a.targets?.[e];if(c)return c;if(n.add(i),a.delegations){let l=[],u=a.delegations.rolesForTarget(e);for(let{role:d,terminating:f}of u)if(l.push({roleName:d,parentRoleName:i}),f){r.splice(0);break}l.reverse(),r.push(...l)}}}generateTargetPath(e){if(!this.targetDir)throw new ZA.ValueError("Target directory not set");let r=encodeURIComponent(e.path);return bO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=bO.join(this.dir,`${n}.json`);eX("WRITE %s",i),TC.writeFileSync(i,r.toString("utf8"))}catch(i){throw new ZA.PersistError(`Failed to persist metadata ${n} error: ${i}`)}}};ka.Updater=tX});var XFe=A(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.Updater=gh.BaseFetcher=gh.TargetFile=void 0;var BHt=dO();Object.defineProperty(gh,"TargetFile",{enumerable:!0,get:o(function(){return BHt.TargetFile},"get")});var xHt=K7();Object.defineProperty(gh,"BaseFetcher",{enumerable:!0,get:o(function(){return xHt.BaseFetcher},"get")});var vHt=KFe();Object.defineProperty(gh,"Updater",{enumerable:!0,get:o(function(){return vHt.Updater},"get")})});var ZFe=A((HMr,NHt)=>{NHt.exports={name:"@sigstore/tuf",version:"5.0.0",description:"Client for the Sigstore TUF repository",main:"dist/index.js",types:"dist/index.d.ts",scripts:{clean:"shx rm -rf dist *.tsbuildinfo",build:"tsc --build",test:"jest"},files:["dist","seeds.json"],author:"bdehamer@github.com",license:"Apache-2.0",repository:{type:"git",url:"git+https://github.com/sigstore/sigstore-js.git"},bugs:{url:"https://github.com/sigstore/sigstore-js/issues"},homepage:"https://github.com/sigstore/sigstore-js/tree/main/packages/tuf#readme",publishConfig:{provenance:!0},devDependencies:{"@sigstore/jest":"^0.0.0","@tufjs/repo-mock":"^5.0.0","@types/make-fetch-happen":"^10.0.4"},dependencies:{"@sigstore/protobuf-specs":"^0.5.0","tuf-js":"^6.0.0"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var iX=A(wO=>{"use strict";Object.defineProperty(wO,"__esModule",{value:!0});wO.TUFError=void 0;var nX=class extends Error{static{o(this,"TUFError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}};wO.TUFError=nX});var eMe=A(VB=>{"use strict";var _Ht=VB&&VB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(VB,"__esModule",{value:!0});VB.readTarget=RHt;var THt=_Ht(require("fs")),IO=iX();async function RHt(t,e){let r=await DHt(t,e);return new Promise((n,i)=>{THt.default.readFile(r,"utf-8",(s,a)=>{s?i(new IO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(RHt,"readTarget");async function DHt(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new IO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new IO.TUFError({code:"TUF_FIND_TARGET_ERROR",message:`target ${e} not found`});let n=await t.findCachedTarget(r);if(!n)try{n=await t.downloadTarget(r)}catch(i){throw new IO.TUFError({code:"TUF_DOWNLOAD_TARGET_ERROR",message:`error downloading target ${n}`,cause:i})}return n}o(DHt,"getTargetPath")});var tMe=A((WMr,QHt)=>{QHt.exports={"https://tuf-repo-cdn.sigstore.dev":{"root.json":"ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMGVhMmYzNzRmNDA5ODEwZTJkYjk1MDc0OWQ5Y2ZlZDA5YTE1YjZhNWUyNWYzZDVmZmQwNzk5NDU5ZDdiZWUxNjcwMjIwMjhkM2FjZGRlNmRiZDUwMzRjZmFkMjIyZDMxYjQxMDkwZWUyMTg5NGUyYzQ2Y2I4OTc0MTk4YWIwMzc3ZGI0NCIKICB9LAogIHsKICAgImtleWlkIjogIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM5MTZjNjFmNDYyZTZmNTJiMDYiLAogICAic2lnIjogIjMwNDQwMjIwN2ViYjI0ZTMyMzdlNDcwNjkxZDc4NzU5MDNhNzc1NGQwZWYyYWU3ZTdiNTAyNGE3ODg4YzlhMzhhNTJkZWVjZDAyMjA2ZWQ1YWQxYzZmNGZhYjQ2OTk1ODQzYWI2YjIzZjk0MjBjNWE0Y2Y2Y2UxY2IyY2IyYTZmYzJlODdlMmVmM2UxIgogIH0sCiAgewogICAia2V5aWQiOiAiNjE2NDM4MzgxMjViNDQwYjQwZGI2OTQyZjVjYjVhMzFjMGRjMDQzNjgzMTZlYjJhYWE1OGI5NTkwNGE1ODIyMiIsCiAgICJzaWciOiAiMzA0NjAyMjEwMDg5ZDlkZmQ4ZTEwNmNjOTU4MDg4YTRkYTNjOGNmNzI1NGFiNmY2NWE5NjQ3ZDM3YWRhNzMwZWY0NzYzYzUxNjMwMjIxMDBkODgyZWU3NDQ2MTViZTc5ODYxZTIxNGUxZWViOWUxZWRkZjZhMWUyMDNhMjAxYjRjNWQwM2Y1MjI0ZDcxZDE2IgogIH0sCiAgewogICAia2V5aWQiOiAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCIsCiAgICJzaWciOiAiMzA0NTAyMjEwMDg4YmQ0Yjg4ZTgzZjU4NmNlNTY4ZDI3ZDA0MjE0YzRhYjNmZDE4OTQxNzhlZjAxNTMwM2Q1NmFmYTkzOTIwNTMwMjIwNTUzOGViYWI5Mzg3NmFiYjkwNzVhZDc3MTE0YmZmMjhhMGQ3OWE3Y2MyMjliNTM0YTBjNWNlZDU1MjZiNDhlNyIKICB9LAogIHsKICAgImtleWlkIjogIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiLAogICAic2lnIjogIjMwNDUwMjIxMDBmMzViMDdlOTM4ZDQ5NDljYWY4MmU2OWU4NmNjOWRiM2I2OWI2ZGJjNjc0MGMxZjM0M2QwNjg5M2Y5OTZmYmViMDIyMDAxZTg0N2Q4MTYyNTlhOTZhNDllNDI3NzlhMjM1MGRhYjk3YjcxYzhhZTdlMjZiMjM4MGM2ZmE3ZjU4MTMxYjMiCiAgfQogXSwKICJzaWduZWQiOiB7CiAgIl90eXBlIjogInJvb3QiLAogICJjb25zaXN0ZW50X3NuYXBzaG90IjogdHJ1ZSwKICAiZXhwaXJlcyI6ICIyMDI2LTExLTIwVDEzOjU4OjE4WiIsCiAgImtleXMiOiB7CiAgICIwYzg3NDMyYzNiZjA5ZmQ5OTE4OWZkYzMyZmE1ZWFlZGY0ZTRhNWZhYzdiYWI3M2ZhMDRhMmUwZmM2NGFmNmY1IjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFV1JpR3I1K2orM0o1U3NIK1p0cjVuRTJIMndPN1xuQlYrbk8zczkzZ0xjYTE4cVRPekhZMW9XeUFHRHlrTVNzR1RVQlN0OUQrQW4wS2ZLc0QybWZTTTQyUT09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLW9ubGluZS11cmkiOiAiZ2Nwa21zOnByb2plY3RzL3NpZ3N0b3JlLXJvb3Qtc2lnbmluZy9sb2NhdGlvbnMvZ2xvYmFsL2tleVJpbmdzL3Jvb3QvY3J5cHRvS2V5cy90aW1lc3RhbXAvY3J5cHRvS2V5VmVyc2lvbnMvMSIKICAgfSwKICAgIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiOiB7CiAgICAia2V5dHlwZSI6ICJlY2RzYSIsCiAgICAia2V5dmFsIjogewogICAgICJwdWJsaWMiOiAiLS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS1cbk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRU14cFBPSkNJWjVvdEc0MTA2ZkdKc2VFUWkzVjlcbnBrTVlRNHV5VjlUajFNN1dIWEl5TEcramtmdnVHMGdsUTFKWmJSWlpCVjNnQVI0c29qZEdISVNlb3c9PVxuLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tXG4iCiAgICB9LAogICAgInNjaGVtZSI6ICJlY2RzYS1zaGEyLW5pc3RwMjU2IiwKICAgICJ4LXR1Zi1vbi1jaS1rZXlvd25lciI6ICJAbGFuY2UiCiAgIH0sCiAgICIyMmY0Y2FlYzZkOGU2Zjk1NTVhZjY2YjNkNGMzY2IwNmEzYmIyM2ZkYzdlMzljOTE2YzYxZjQ2MmU2ZjUyYjA2IjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFekJ6Vk9tSENQb2pNVkxTSTM2NFdpaVY4TlByRFxuNklnUnhWbGlza3ovdit5M0pFUjVtY1ZHY09ObGlEY1dNQzVKMmxmSG1qUE5QaGI0SDd4bThMemZTQT09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLWtleW93bmVyIjogIkBzYW50aWFnb3RvcnJlcyIKICAgfSwKICAgIjYxNjQzODM4MTI1YjQ0MGI0MGRiNjk0MmY1Y2I1YTMxYzBkYzA0MzY4MzE2ZWIyYWFhNThiOTU5MDRhNTgyMjIiOiB7CiAgICAia2V5aWRfaGFzaF9hbGdvcml0aG1zIjogWwogICAgICJzaGEyNTYiLAogICAgICJzaGE1MTIiCiAgICBdLAogICAgImtleXR5cGUiOiAiZWNkc2EiLAogICAgImtleXZhbCI6IHsKICAgICAicHVibGljIjogIi0tLS0tQkVHSU4gUFVCTElDIEtFWS0tLS0tXG5NRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpbmlrU3NBUW1Za05lSDVlWXEvQ25JekxhYWNPXG54bFNhYXdRRE93cUt5L3RDcXhxNXh4UFNKYzIxSzRXSWhzOUd5T2tLZnp1ZVkzR0lMemNNSlo0Y1d3PT1cbi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLVxuIgogICAgfSwKICAgICJzY2hlbWUiOiAiZWNkc2Etc2hhMi1uaXN0cDI1NiIsCiAgICAieC10dWYtb24tY2kta2V5b3duZXIiOiAiQGJvYmNhbGxhd2F5IgogICB9LAogICAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCI6IHsKICAgICJrZXlpZF9oYXNoX2FsZ29yaXRobXMiOiBbCiAgICAgInNoYTI1NiIsCiAgICAgInNoYTUxMiIKICAgIF0sCiAgICAia2V5dHlwZSI6ICJlY2RzYSIsCiAgICAia2V5dmFsIjogewogICAgICJwdWJsaWMiOiAiLS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS1cbk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTBnaHJoOTJMdzFZcjNpZEdWNVdxQ3RNREI4Q3hcbitEOGhkQzR3MlpMTklwbFZSb1ZHTHNrWWEzZ2hlTXlPamlKOGtQaTE1YVEyLy83UCtvajdVdkpQR3c9PVxuLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tXG4iCiAgICB9LAogICAgInNjaGVtZSI6ICJlY2RzYS1zaGEyLW5pc3RwMjU2IiwKICAgICJ4LXR1Zi1vbi1jaS1rZXlvd25lciI6ICJAam9zaHVhZ2wiCiAgIH0sCiAgICJlNzFhNTRkNTQzODM1YmE4NmFkYWQ5NDYwMzc5Yzc2NDFmYjg3MjZkMTY0ZWE3NjY4MDFhMWM1MjJhYmE3ZWEyIjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFRVhzejNTWlhGYjhqTVY0Mmo2cEpseWpialI4S1xuTjNCd29jZXhxNkxNSWI1cXNXS09RdkxOMTZOVWVmTGM0SHN3T291bVJzVlZhYWpTcFFTNmZvYmtSdz09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLWtleW93bmVyIjogIkBtbm02NzgiCiAgIH0KICB9LAogICJyb2xlcyI6IHsKICAgInJvb3QiOiB7CiAgICAia2V5aWRzIjogWwogICAgICJlNzFhNTRkNTQzODM1YmE4NmFkYWQ5NDYwMzc5Yzc2NDFmYjg3MjZkMTY0ZWE3NjY4MDFhMWM1MjJhYmE3ZWEyIiwKICAgICAiMjJmNGNhZWM2ZDhlNmY5NTU1YWY2NmIzZDRjM2NiMDZhM2JiMjNmZGM3ZTM5YzkxNmM2MWY0NjJlNmY1MmIwNiIsCiAgICAgIjYxNjQzODM4MTI1YjQ0MGI0MGRiNjk0MmY1Y2I1YTMxYzBkYzA0MzY4MzE2ZWIyYWFhNThiOTU5MDRhNTgyMjIiLAogICAgICJhNjg3ZTViZjRmYWI4MmIwZWU1OGQ0NmUwNWM5NTM1MTQ1YTJjOWFmYjQ1OGY0M2Q0MmI0NWNhMGZkY2UyYTcwIiwKICAgICAiMTgzZTY0ZjM3NjcwZGMxM2NhMGQyODk5NWEzMDUzZjM3NDA5NTRkZGNlNDQzMjFhNDFlNDY1MzRjZjQ0ZTYzMiIKICAgIF0sCiAgICAidGhyZXNob2xkIjogMwogICB9LAogICAic25hcHNob3QiOiB7CiAgICAia2V5aWRzIjogWwogICAgICIwYzg3NDMyYzNiZjA5ZmQ5OTE4OWZkYzMyZmE1ZWFlZGY0ZTRhNWZhYzdiYWI3M2ZhMDRhMmUwZmM2NGFmNmY1IgogICAgXSwKICAgICJ0aHJlc2hvbGQiOiAxLAogICAgIngtdHVmLW9uLWNpLWV4cGlyeS1wZXJpb2QiOiAzNjUwLAogICAgIngtdHVmLW9uLWNpLXNpZ25pbmctcGVyaW9kIjogMzY1CiAgIH0sCiAgICJ0YXJnZXRzIjogewogICAgImtleWlkcyI6IFsKICAgICAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICAgIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM5MTZjNjFmNDYyZTZmNTJiMDYiLAogICAgICI2MTY0MzgzODEyNWI0NDBiNDBkYjY5NDJmNWNiNWEzMWMwZGMwNDM2ODMxNmViMmFhYTU4Yjk1OTA0YTU4MjIyIiwKICAgICAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCIsCiAgICAgIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiCiAgICBdLAogICAgInRocmVzaG9sZCI6IDMKICAgfSwKICAgInRpbWVzdGFtcCI6IHsKICAgICJrZXlpZHMiOiBbCiAgICAgIjBjODc0MzJjM2JmMDlmZDk5MTg5ZmRjMzJmYTVlYWVkZjRlNGE1ZmFjN2JhYjczZmEwNGEyZTBmYzY0YWY2ZjUiCiAgICBdLAogICAgInRocmVzaG9sZCI6IDEsCiAgICAieC10dWYtb24tY2ktZXhwaXJ5LXBlcmlvZCI6IDcsCiAgICAieC10dWYtb24tY2ktc2lnbmluZy1wZXJpb2QiOiA2CiAgIH0KICB9LAogICJzcGVjX3ZlcnNpb24iOiAiMS4wIiwKICAidmVyc2lvbiI6IDE1LAogICJ4LXR1Zi1vbi1jaS1leHBpcnktcGVyaW9kIjogMTk3LAogICJ4LXR1Zi1vbi1jaS1zaWduaW5nLXBlcmlvZCI6IDQ2CiB9Cn0=",targets:{"trusted_root.json":"ewogICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRldi5zaWdzdG9yZS50cnVzdGVkcm9vdCtqc29uO3ZlcnNpb249MC4xIiwKICAidGxvZ3MiOiBbCiAgICB7CiAgICAgICJiYXNlVXJsIjogImh0dHBzOi8vcmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUyRzJZKzJ0YWJkVFY1QmNHaUJJeDBhOWZBRndya0JibUxTR3RrczRMM3FYNnlZWTB6dWZCbmhDOFVyL2l5NTVHaFdQLzlBL2JZMkxoQzMwTTkrUll0dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDEtMTJUMTE6NTM6MjdaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ3Tkk5YXRRR2x6K1ZXZk82TFJ5Z0g0UVVmWS84VzRSRndpVDVpNVdSZ0IwPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9sb2cyMDI1LTEucmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNQ293QlFZREsyVndBeUVBdDhybHAxa25Hd2pmYmNYQVlQWUFrbjBYaUx6MXg4TzR0MFlrRWhpZTI0ND0iLAogICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUQyNTUxOSIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjUtMDktMjNUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ6eEdaRlZ2ZDBGRW1qUjhXckZ3TWRjQUo5dnRhWS9RWGY0NFkxd1VlUDZBPSIKICAgICAgfQogICAgfQogIF0sCiAgImNlcnRpZmljYXRlQXV0aG9yaXRpZXMiOiBbCiAgICB7CiAgICAgICJzdWJqZWN0IjogewogICAgICAgICJvcmdhbml6YXRpb24iOiAic2lnc3RvcmUuZGV2IiwKICAgICAgICAiY29tbW9uTmFtZSI6ICJzaWdzdG9yZSIKICAgICAgfSwKICAgICAgInVyaSI6ICJodHRwczovL2Z1bGNpby5zaWdzdG9yZS5kZXYiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlCK0RDQ0FYNmdBd0lCQWdJVE5Wa0Rab0Npb2ZQRHN5N2RmbTZnZUxidWh6QUtCZ2dxaGtqT1BRUURBekFxTVJVd0V3WURWUVFLRXd4emFXZHpkRzl5WlM1a1pYWXhFVEFQQmdOVkJBTVRDSE5wWjNOMGIzSmxNQjRYRFRJeE1ETXdOekF6TWpBeU9Wb1hEVE14TURJeU16QXpNakF5T1Zvd0tqRVZNQk1HQTFVRUNoTU1jMmxuYzNSdmNtVXVaR1YyTVJFd0R3WURWUVFERXdoemFXZHpkRzl5WlRCMk1CQUdCeXFHU000OUFnRUdCU3VCQkFBaUEySUFCTFN5QTdJaTVrK3BOTzhaRVdZMHlsZW1XRG93T2tOYTNrTCtHWkU1WjVHV2VoTDkvQTliUk5BM1JicnNaNWkwSmNhc3RhUkw3U3A1ZnAvakQ1ZHhxYy9VZFRWbmx2UzE2YW4rMllmc3dlL1F1TG9sUlVDcmNPRTIrMmlBNSt0emQ2Tm1NR1F3RGdZRFZSMFBBUUgvQkFRREFnRUdNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk1qRkhRQkJtaVFwTWxFazZ3MnVTdTFLQnRQc01COEdBMVVkSXdRWU1CYUFGTWpGSFFCQm1pUXBNbEVrNncydVN1MUtCdFBzTUFvR0NDcUdTTTQ5QkFNREEyZ0FNR1VDTUg4bGlXSmZNdWk2dlhYQmhqRGdZNE13c2xtTi9USnhWZS84M1dyRm9td21OZjA1NnkxWDQ4RjljNG0zYTNvelhBSXhBS2pSYXk1L2FqL2pzS0tHSWttUWF0akk4dXVwSHIvK0N4RnZhSldtcFlxTmtMREdSVSs5b3J6aDVoSTJScmN1YVE9PSIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0sCiAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAic3RhcnQiOiAiMjAyMS0wMy0wN1QwMzoyMDoyOVoiLAogICAgICAgICJlbmQiOiAiMjAyMi0xMi0zMVQyMzo1OTo1OS45OTlaIgogICAgICB9CiAgICB9LAogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUiCiAgICAgIH0sCiAgICAgICJ1cmkiOiAiaHR0cHM6Ly9mdWxjaW8uc2lnc3RvcmUuZGV2IiwKICAgICAgImNlcnRDaGFpbiI6IHsKICAgICAgICAiY2VydGlmaWNhdGVzIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmF3Qnl0ZXMiOiAiTUlJQ0dqQ0NBYUdnQXdJQkFnSVVBTG5WaVZmblUwYnJKYXNtUmtIcm4vVW5mYVF3Q2dZSUtvWkl6ajBFQXdNd0tqRVZNQk1HQTFVRUNoTU1jMmxuYzNSdmNtVXVaR1YyTVJFd0R3WURWUVFERXdoemFXZHpkRzl5WlRBZUZ3MHlNakEwTVRNeU1EQTJNVFZhRncwek1URXdNRFV4TXpVMk5UaGFNRGN4RlRBVEJnTlZCQW9UREhOcFozTjBiM0psTG1SbGRqRWVNQndHQTFVRUF4TVZjMmxuYzNSdmNtVXRhVzUwWlhKdFpXUnBZWFJsTUhZd0VBWUhLb1pJemowQ0FRWUZLNEVFQUNJRFlnQUU4UlZTL3lzSCtOT3Z1RFp5UEladGlsZ1VGOU5sYXJZcEFkOUhQMXZCQkgxVTVDVjc3TFNTN3MwWmlING5FN0h2N3B0UzZMdnZSL1NUazc5OExWZ016TGxKNEhlSWZGM3RIU2FleExjWXBTQVNyMWtTME4vUmdCSnovOWpXQ2lYbm8zc3dlVEFPQmdOVkhROEJBZjhFQkFNQ0FRWXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUhBd013RWdZRFZSMFRBUUgvQkFnd0JnRUIvd0lCQURBZEJnTlZIUTRFRmdRVTM5UHB6MVlrRVpiNXFOanBLRldpeGk0WVpEOHdId1lEVlIwakJCZ3dGb0FVV01BZVg1RkZwV2FwZXN5UW9aTWkwQ3JGeGZvd0NnWUlLb1pJemowRUF3TURad0F3WkFJd1BDc1FLNERZaVpZRFBJYURpNUhGS25meFh4NkFTU1ZtRVJmc3luWUJpWDJYNlNKUm5aVTg0LzlEWmRuRnZ2eG1BakJPdDZRcEJsYzRKLzBEeHZrVENxcGNsdnppTDZCQ0NQbmpkbElCM1B1M0J4c1BteWdVWTdJaTJ6YmRDZGxpaW93PSIKICAgICAgICAgIH0sCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlCOXpDQ0FYeWdBd0lCQWdJVUFMWk5BUEZkeEhQd2plRGxvRHd5WUNoQU8vNHdDZ1lJS29aSXpqMEVBd013S2pFVk1CTUdBMVVFQ2hNTWMybG5jM1J2Y21VdVpHVjJNUkV3RHdZRFZRUURFd2h6YVdkemRHOXlaVEFlRncweU1URXdNRGN4TXpVMk5UbGFGdzB6TVRFd01EVXhNelUyTlRoYU1Db3hGVEFUQmdOVkJBb1RESE5wWjNOMGIzSmxMbVJsZGpFUk1BOEdBMVVFQXhNSWMybG5jM1J2Y21Vd2RqQVFCZ2NxaGtqT1BRSUJCZ1VyZ1FRQUlnTmlBQVQ3WGVGVDRyYjNQUUd3UzRJYWp0TGszL09sbnBnYW5nYUJjbFlwc1lCcjVpKzR5bkIwN2NlYjNMUDBPSU9aZHhleFg2OWM1aVZ1eUpSUStIejA1eWkrVUYzdUJXQWxIcGlTNXNoMCtIMkdIRTdTWHJrMUVDNW0xVHIxOUw5Z2c5MmpZekJoTUE0R0ExVWREd0VCL3dRRUF3SUJCakFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZERnUVdCQlJZd0I1ZmtVV2xacWw2ekpDaGt5TFFLc1hGK2pBZkJnTlZIU01FR0RBV2dCUll3QjVma1VXbFpxbDZ6SkNoa3lMUUtzWEYrakFLQmdncWhrak9QUVFEQXdOcEFEQm1BakVBajFuSGVYWnArMTNOV0JOYStFRHNEUDhHMVdXZzF0Q01XUC9XSFBxcGFWbzBqaHN3ZU5GWmdTczBlRTd3WUk0cUFqRUEyV0I5b3Q5OHNJa29GM3ZaWWRkMy9WdFdCNWI5VE5NZWE3SXgvc3RKNVRmY0xMZUFCTEU0Qk5KT3NRNHZuQkhKIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfSwKICAgICAgInZhbGlkRm9yIjogewogICAgICAgICJzdGFydCI6ICIyMDIyLTA0LTEzVDIwOjA2OjE1WiIKICAgICAgfQogICAgfQogIF0sCiAgImN0bG9ncyI6IFsKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi90ZXN0IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUViZndSK1JKdWRYc2NnUkJScEtYMVhGRHkzUHl1ZER4ei9TZm5SaTFmVDhla3BmQmQyTzF1b3o3anIzWjhuS3p4QTY5RVVRK2VGQ0ZJM3pldWJQV1U3dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDMtMTRUMDA6MDA6MDBaIiwKICAgICAgICAgICJlbmQiOiAiMjAyMi0xMC0zMVQyMzo1OTo1OS45OTlaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJDR0NTOENoUy8yaEYwZEZySjRTY1JXY1lyQlk5d3pqU2JlYThJZ1kyYjNJPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi8yMDIyIiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpUFNsRmkwQ21GVGZFakNVcUY5SHVDRWNZWE5LQWFZYWxJSm1CWjh5eWV6UGpUcWh4cktCcE1uYW9jVnRMSkJJMWVNM3VYblF6UUdBSmRKNGdzOUZ5dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjItMTAtMjBUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICIzVDB3YXNiSEVUSmpHUjRjbVdjM0FxSktYcmplUEszL2g0cHlnQzhwN280PSIKICAgICAgfQogICAgfQogIF0sCiAgInRpbWVzdGFtcEF1dGhvcml0aWVzIjogWwogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUtdHNhLXNlbGZzaWduZWQiCiAgICAgIH0sCiAgICAgICJ1cmkiOiAiaHR0cHM6Ly90aW1lc3RhbXAuc2lnc3RvcmUuZGV2L2FwaS92MS90aW1lc3RhbXAiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlDRURDQ0FaYWdBd0lCQWdJVU9oTlVMd3lRWWU2OHdVTXZ5NHFPaXlvaml3d3dDZ1lJS29aSXpqMEVBd013T1RFVk1CTUdBMVVFQ2hNTWMybG5jM1J2Y21VdVpHVjJNU0F3SGdZRFZRUURFeGR6YVdkemRHOXlaUzEwYzJFdGMyVnNabk5wWjI1bFpEQWVGdzB5TlRBME1EZ3dOalU1TkROYUZ3MHpOVEEwTURZd05qVTVORE5hTUM0eEZUQVRCZ05WQkFvVERITnBaM04wYjNKbExtUmxkakVWTUJNR0ExVUVBeE1NYzJsbmMzUnZjbVV0ZEhOaE1IWXdFQVlIS29aSXpqMENBUVlGSzRFRUFDSURZZ0FFNHJhMlo4aEtOaWcyVDlrRmpDQVRvR0czMGpreStXUXYzQnpMK21LdmgxU0tOUi9Vd3V3c2ZOQ2c0c3J5b1lBZDhFNmlzb3ZWQTNNNGFvTmRtOVFEaTUwWjhuVEV5dnFnZkRQdFRJd1hJdGZpVy9BRmYxVjd1d2tia0FvajB4eGNvMm93YURBT0JnTlZIUThCQWY4RUJBTUNCNEF3SFFZRFZSME9CQllFRkluOWVVT0h6OUJsUnNNQ1JzY3NjMXQ5dE9zRE1COEdBMVVkSXdRWU1CYUFGSmpzQWU5L3UxSC8xSlVlYjRxSW1GTUhpYzYvTUJZR0ExVWRKUUVCL3dRTU1Bb0dDQ3NHQVFVRkJ3TUlNQW9HQ0NxR1NNNDlCQU1EQTJnQU1HVUNNRHRwc1YvNkthTzBxeUYvVU1zWDJhU1VYS1FGZG9HVHB0UUdjMGZ0cTFjc3VsSFBHRzZkc215TU5kM0pCK0czRVFJeEFPYWp2QmNqcEptS2I0TnYrMlRhb2o4VWM1K2I2aWg2RlhDQ0tyYVNxdXBlMDd6cXN3TWNYSlRlMWNFeHZIdnZsdz09IgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgInJhd0J5dGVzIjogIk1JSUI5ekNDQVh5Z0F3SUJBZ0lVVjdmMEdMRE9vRXpJaDhMWFNXODBPSmlVcDE0d0NnWUlLb1pJemowRUF3TXdPVEVWTUJNR0ExVUVDaE1NYzJsbmMzUnZjbVV1WkdWMk1TQXdIZ1lEVlFRREV4ZHphV2R6ZEc5eVpTMTBjMkV0YzJWc1puTnBaMjVsWkRBZUZ3MHlOVEEwTURnd05qVTVORE5hRncwek5UQTBNRFl3TmpVNU5ETmFNRGt4RlRBVEJnTlZCQW9UREhOcFozTjBiM0psTG1SbGRqRWdNQjRHQTFVRUF4TVhjMmxuYzNSdmNtVXRkSE5oTFhObGJHWnphV2R1WldRd2RqQVFCZ2NxaGtqT1BRSUJCZ1VyZ1FRQUlnTmlBQVFVUU50ZlJUL291M1lBVGE2d0Iva0tUZTcwY2ZKd3lSSUJvdk1udDhSY0pwaC9DT0U4MnV5UzZGbXBwTExMMVZCUEdjUGZwUVBZSk5Yeld3aThpY3doS1E2Vy9RZTJoM29lYkJiMkZIcHdOSkRxbytUTWFDL3RkZmt2L0VsSkI3MmpSVEJETUE0R0ExVWREd0VCL3dRRUF3SUJCakFTQmdOVkhSTUJBZjhFQ0RBR0FRSC9BZ0VBTUIwR0ExVWREZ1FXQkJTWTdBSHZmN3RSLzlTVkhtK0tpSmhUQjRuT3Z6QUtCZ2dxaGtqT1BRUURBd05wQURCbUFqRUF3R0VHcmZHWlIxY2VuMVI4L0RUVk1JOTQzTHNzWm1KUnREcC9pN1NmR0htR1JQNmdSYnVqOXZPSzNiNjdaMFFRQWpFQXVUMkg2NzNMUUVhSFRjeVFTWnJrcDRtWDdXd2ttRitzVmJrWVk1bVhOK1JNSDEzS1VFSEhPcUFTYWVtWVdLL0UiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9LAogICAgICAidmFsaWRGb3IiOiB7CiAgICAgICAgInN0YXJ0IjogIjIwMjUtMDctMDRUMDA6MDA6MDBaIgogICAgICB9CiAgICB9CiAgXQp9Cg==","registry.npmjs.org%2Fkeys.json":"ewogICAgImtleXMiOiBbCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OmpsM2J3c3d1ODBQampva0NnaDBvMnc1YzJVNExoUUFFNTdnajljejFrekEiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTFPbGIzek1BRkZ4WEtIaUlrUU81Y0ozWWhsNWk2VVBwK0lodXRlQkpidUhjQTVVb2dLbzBFV3RsV3dXNktTYUtvVE5FWUw3SmxDUWlWbmtoQmt0VWdnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var iMe=A(RC=>{"use strict";var nMe=RC&&RC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(RC,"__esModule",{value:!0});RC.TUFClient=void 0;var yh=nMe(require("fs")),zB=nMe(require("path")),kHt=XFe(),PHt=aX(),rMe=ZFe(),OHt=eMe(),oX="targets",sX=class{static{o(this,"TUFClient")}updater;constructor(e){let r=new URL(e.mirrorURL),n=encodeURIComponent(r.host+r.pathname.replace(/\/$/,"")),i=zB.default.join(e.cachePath,n);LHt(i),FHt({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=MHt({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,OHt.readTarget)(this.updater,e)}};RC.TUFClient=sX;function LHt(t){let e=zB.default.join(t,oX);yh.default.existsSync(t)||yh.default.mkdirSync(t,{recursive:!0}),yh.default.existsSync(e)||yh.default.mkdirSync(e)}o(LHt,"initTufCache");function FHt({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=zB.default.join(t,"root.json");if(!yh.default.existsSync(i)||n)if(r)yh.default.copyFileSync(r,i);else{let a=tMe()[e];if(!a)throw new PHt.TUFError({code:"TUF_INIT_CACHE_ERROR",message:`No root.json found for mirror: ${e}`});yh.default.writeFileSync(i,Buffer.from(a["root.json"],"base64")),Object.entries(a.targets).forEach(([c,l])=>{yh.default.writeFileSync(zB.default.join(t,oX,c),Buffer.from(l,"base64"))})}}o(FHt,"seedCache");function MHt(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(rMe.name)}/${rMe.version}`};return new kHt.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:zB.default.join(t.cachePath,oX),forceCache:t.forceCache,config:e})}o(MHt,"initClient")});var aX=A(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.TUFError=Nd.DEFAULT_MIRROR_URL=void 0;Nd.getTrustedRoot=jHt;Nd.initTUF=WHt;var UHt=pC(),qHt=DLe(),GHt=iMe();Nd.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var HHt="sigstore-js",VHt={retries:2},zHt=5e3,$Ht="trusted_root.json";async function jHt(t={}){let r=await sMe(t).getTarget($Ht);return UHt.TrustedRoot.fromJSON(JSON.parse(r))}o(jHt,"getTrustedRoot");async function WHt(t={}){let e=sMe(t);return e.refresh().then(()=>e)}o(WHt,"initTUF");function sMe(t){return new GHt.TUFClient({cachePath:t.cachePath||(0,qHt.appDataPath)(HHt),rootPath:t.rootPath,mirrorURL:t.mirrorURL||Nd.DEFAULT_MIRROR_URL,retry:t.retry??VHt,timeout:t.timeout??zHt,forceCache:t.forceCache??!1,forceInit:t.forceInit??t.force??!1})}o(sMe,"createClient");var JHt=iX();Object.defineProperty(Nd,"TUFError",{enumerable:!0,get:o(function(){return JHt.TUFError},"get")})});var $B=A(SO=>{"use strict";Object.defineProperty(SO,"__esModule",{value:!0});SO.ByteStream=void 0;var cX=class extends Error{static{o(this,"StreamError")}},lX=class t{static{o(this,"ByteStream")}static BLOCK_SIZE=1024;buf;view;start=0;constructor(e){e?(this.buf=e,this.view=Buffer.from(e)):(this.buf=Buffer.alloc(0),this.view=Buffer.from(this.buf))}get buffer(){return this.view.subarray(0,this.start)}get length(){return this.view.byteLength}get position(){return this.start}seek(e){this.start=e}slice(e,r){let n=e+r;if(n>this.length)throw new cX("request past end of buffer");return this.view.subarray(e,n)}appendChar(e){this.ensureCapacity(1),this.view[this.start]=e,this.start+=1}appendUint16(e){this.ensureCapacity(2);let r=new Uint16Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[1],this.view[this.start+1]=n[0],this.start+=2}appendUint24(e){this.ensureCapacity(3);let r=new Uint32Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[2],this.view[this.start+1]=n[1],this.view[this.start+2]=n[0],this.start+=3}appendView(e){this.ensureCapacity(e.length),this.view.set(e,this.start),this.start+=e.length}getBlock(e){if(e<=0)return Buffer.alloc(0);if(this.start+e>this.view.length)throw new Error("request past end of buffer");let r=this.view.subarray(this.start,this.start+e);return this.start+=e,r}getUint8(){return this.getBlock(1)[0]}getUint16(){let e=this.getBlock(2);return e[0]<<8|e[1]}ensureCapacity(e){if(this.start+e>this.view.byteLength){let r=t.BLOCK_SIZE+(e>t.BLOCK_SIZE?e:0);this.realloc(this.view.byteLength+r)}}realloc(e){let r=Buffer.alloc(e),n=Buffer.from(r);n.set(this.view),this.buf=r,this.view=n}};SO.ByteStream=lX});var jB=A(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.ASN1TypeError=DC.ASN1ParseError=void 0;var uX=class extends Error{static{o(this,"ASN1ParseError")}};DC.ASN1ParseError=uX;var dX=class extends Error{static{o(this,"ASN1TypeError")}};DC.ASN1TypeError=dX});var oMe=A(xO=>{"use strict";Object.defineProperty(xO,"__esModule",{value:!0});xO.decodeLength=YHt;xO.encodeLength=KHt;var BO=jB();function YHt(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new BO.ASN1ParseError("length exceeds 6 byte limit");let n=0;for(let i=0;i<r;i++){let s=t.getUint8();if(i===0&&s===0)throw new BO.ASN1ParseError("non-minimal length encoding");n=n*256+s}if(n===0)throw new BO.ASN1ParseError("indefinite length encoding not supported");if(n<128)throw new BO.ASN1ParseError("non-minimal length encoding");return n}o(YHt,"decodeLength");function KHt(t){if(t<128)return Buffer.from([t]);let e=BigInt(t),r=[];for(;e>0n;)r.unshift(Number(e&255n)),e=e>>8n;return Buffer.from([128|r.length,...r])}o(KHt,"encodeLength")});var cMe=A(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.parseInteger=e4t;Eh.parseStringASCII=aMe;Eh.parseTime=t4t;Eh.parseOID=r4t;Eh.parseBoolean=n4t;Eh.parseBitString=i4t;var fX=jB(),XHt=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,ZHt=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function e4t(t){let e=0,r=t.length,n=t[e],i=n>127,s=i?255:0;for(;n==s&&++e<r;)n=t[e];if(r-e===0)return BigInt(i?-1:0);n=i?n-256:n;let c=BigInt(n);for(let l=e+1;l<r;++l)c=c*BigInt(256)+BigInt(t[l]);return c}o(e4t,"parseInteger");function aMe(t){return t.toString("ascii")}o(aMe,"parseStringASCII");function t4t(t,e){let r=aMe(t),n=e?XHt.exec(r):ZHt.exec(r);if(!n)throw new Error("invalid time");if(e){let i=Number(n[1]);i+=i>=50?1900:2e3,n[1]=i.toString()}return new Date(`${n[1]}-${n[2]}-${n[3]}T${n[4]}:${n[5]}:${n[6]}Z`)}o(t4t,"parseTime");function r4t(t){let e=0,r=t.length,n=t[e++],i=Math.floor(n/40),s=n%40,a=`${i}.${s}`,c=0n;for(;e<r;++e)n=t[e],c=(c<<7n)+BigInt(n&127),(n&128)===0&&(a+=`.${c}`,c=0n);return a}o(r4t,"parseOID");function n4t(t){if(t.length!==1)throw new fX.ASN1ParseError("invalid boolean");switch(t[0]){case 0:return!1;case 255:return!0;default:throw new fX.ASN1ParseError("invalid boolean")}}o(n4t,"parseBoolean");function i4t(t){let e=t[0];if(e>7)throw new fX.ASN1ParseError("invalid bit string");let r=1,n=t.length,i=[];for(let s=r;s<n;++s){let a=t[s],c=s===n-1?e:0;for(let l=7;l>=c;--l)i.push(a>>l&1)}return i}o(i4t,"parseBitString")});var uMe=A(vO=>{"use strict";Object.defineProperty(vO,"__esModule",{value:!0});vO.ASN1Tag=void 0;var lMe=jB(),em={BOOLEAN:1,INTEGER:2,BIT_STRING:3,OCTET_STRING:4,OBJECT_IDENTIFIER:6,SEQUENCE:16,SET:17,PRINTABLE_STRING:19,UTC_TIME:23,GENERALIZED_TIME:24},hX={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3},pX=class{static{o(this,"ASN1Tag")}number;constructed;class;constructor(e){if(this.number=e&31,this.constructed=(e&32)===32,this.class=e>>6,this.number===31)throw new lMe.ASN1ParseError("long form tags not supported");if(this.class===hX.UNIVERSAL&&this.number===0)throw new lMe.ASN1ParseError("unsupported tag 0x00")}isUniversal(){return this.class===hX.UNIVERSAL}isContextSpecific(e){let r=this.class===hX.CONTEXT_SPECIFIC;return e!==void 0?r&&this.number===e:r}isBoolean(){return this.isUniversal()&&this.number===em.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===em.INTEGER}isBitString(){return this.isUniversal()&&this.number===em.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===em.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===em.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===em.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===em.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};vO.ASN1Tag=pX});var pMe=A(_O=>{"use strict";Object.defineProperty(_O,"__esModule",{value:!0});_O.ASN1Obj=void 0;var AX=$B(),_d=jB(),fMe=oMe(),QC=cMe(),s4t=uMe(),NO=class{static{o(this,"ASN1Obj")}tag;subs;value;constructor(e,r,n){this.tag=e,this.value=r,this.subs=n}static parseBuffer(e){let r=new AX.ByteStream(e),n=hMe(r);if(r.position!==r.length)throw new _d.ASN1ParseError("invalid trailing data");return n}toDER(){let e=new AX.ByteStream;if(this.subs.length>0)for(let i of this.subs)e.appendView(i.toDER());else e.appendView(this.value);let r=e.buffer,n=new AX.ByteStream;return n.appendChar(this.tag.toDER()),n.appendView((0,fMe.encodeLength)(r.length)),n.appendView(r),n.buffer}toBoolean(){if(!this.tag.isBoolean())throw new _d.ASN1TypeError("not a boolean");return(0,QC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new _d.ASN1TypeError("not an integer");return(0,QC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new _d.ASN1TypeError("not an OID");return(0,QC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,QC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,QC.parseTime)(this.value,!1);default:throw new _d.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString())throw new _d.ASN1TypeError("not a bit string");return(0,QC.parseBitString)(this.value)}};_O.ASN1Obj=NO;var o4t=100;function hMe(t,e=0){if(e>o4t)throw new _d.ASN1ParseError("maximum nesting depth exceeded");let r=new s4t.ASN1Tag(t.getUint8()),n=(0,fMe.decodeLength)(t),i=t.slice(t.position,n),s=t.position,a=[];if(r.constructed)a=dMe(t,n,e);else if(r.isOctetString())try{a=dMe(t,n,e)}catch{}return a.length===0&&t.seek(s+n),new NO(r,i,a)}o(hMe,"parseStream");function dMe(t,e,r){let n=t.position+e;if(n>t.length)throw new _d.ASN1ParseError("invalid length");let i=[];for(;t.position<n;)i.push(hMe(t,r+1));if(t.position!==n)throw new _d.ASN1ParseError("invalid length");return i}o(dMe,"collectSubs")});var RO=A(TO=>{"use strict";Object.defineProperty(TO,"__esModule",{value:!0});TO.ASN1Obj=void 0;var a4t=pMe();Object.defineProperty(TO,"ASN1Obj",{enumerable:!0,get:o(function(){return a4t.ASN1Obj},"get")})});var PC=A(Ch=>{"use strict";var c4t=Ch&&Ch.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ch,"__esModule",{value:!0});Ch.createPublicKey=l4t;Ch.digest=u4t;Ch.verify=d4t;Ch.bufferEqual=f4t;var kC=c4t(require("crypto"));function l4t(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?kC.default.createPublicKey(t):kC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):kC.default.createPublicKey({key:t,format:"der",type:e})}o(l4t,"createPublicKey");function u4t(t,...e){let r=kC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(u4t,"digest");function d4t(t,e,r,n){try{return kC.default.verify(n,t,e,r)}catch{return!1}}o(d4t,"verify");function f4t(t,e){try{return kC.default.timingSafeEqual(t,e)}catch{return!1}}o(f4t,"bufferEqual")});var AMe=A(mX=>{"use strict";Object.defineProperty(mX,"__esModule",{value:!0});mX.preAuthEncoding=p4t;var h4t="DSSEv1";function p4t(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${h4t} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(p4t,"preAuthEncoding")});var yMe=A(DO=>{"use strict";Object.defineProperty(DO,"__esModule",{value:!0});DO.base64Encode=A4t;DO.base64Decode=m4t;var mMe="base64",gMe="utf-8";function A4t(t){return Buffer.from(t,gMe).toString(mMe)}o(A4t,"base64Encode");function m4t(t){return Buffer.from(t,mMe).toString(gMe)}o(m4t,"base64Decode")});var EMe=A(yX=>{"use strict";Object.defineProperty(yX,"__esModule",{value:!0});yX.canonicalize=gX;function gX(t){let e="";if(t===null||typeof t!="object"||t.toJSON!=null)e+=JSON.stringify(t);else if(Array.isArray(t)){e+="[";let r=!0;t.forEach(n=>{r||(e+=","),r=!1,e+=gX(n)}),e+="]"}else{e+="{";let r=!0;Object.keys(t).sort().forEach(n=>{r||(e+=","),r=!1,e+=JSON.stringify(n),e+=":",e+=gX(t[n])}),e+="}"}return e}o(gX,"canonicalize")});var EX=A(QO=>{"use strict";Object.defineProperty(QO,"__esModule",{value:!0});QO.toDER=E4t;QO.fromDER=C4t;var g4t=/-----BEGIN (.*)-----/,y4t=/-----END (.*)-----/;function E4t(t){let e="";return t.split(`
`).forEach(r=>{r.match(g4t)||r.match(y4t)||(e+=r)}),Buffer.from(e,"base64")}o(E4t,"toDER");function C4t(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(`
`).concat(`
`)}o(C4t,"fromDER")});var kO=A(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.SHA2_HASH_ALGOS=bh.RSA_SIGNATURE_ALGOS=bh.ECDSA_SIGNATURE_ALGOS=void 0;bh.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};bh.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};bh.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var bX=A(PO=>{"use strict";Object.defineProperty(PO,"__esModule",{value:!0});PO.RFC3161TimestampVerificationError=void 0;var CX=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};PO.RFC3161TimestampVerificationError=CX});var bMe=A(su=>{"use strict";var b4t=su&&su.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),w4t=su&&su.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),I4t=su&&su.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&b4t(r,e,n[i]);return w4t(r,e),r}})();Object.defineProperty(su,"__esModule",{value:!0});su.TSTInfo=void 0;var CMe=I4t(PC()),S4t=kO(),B4t=bX(),wX=class{static{o(this,"TSTInfo")}root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return S4t.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=CMe.digest(this.messageImprintHashAlgorithm,e);if(!CMe.bufferEqual(r,this.messageImprintHashedMessage))throw new B4t.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};su.TSTInfo=wX});var IMe=A(ou=>{"use strict";var x4t=ou&&ou.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),v4t=ou&&ou.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),N4t=ou&&ou.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&x4t(r,e,n[i]);return v4t(r,e),r}})();Object.defineProperty(ou,"__esModule",{value:!0});ou.RFC3161Timestamp=void 0;var _4t=RO(),IX=N4t(PC()),wMe=kO(),WB=bX(),T4t=bMe(),R4t="1.2.840.113549.1.7.2",D4t="1.2.840.113549.1.9.16.1.4",Q4t="1.2.840.113549.1.9.4",SX=class t{static{o(this,"RFC3161Timestamp")}root;constructor(e){this.root=e}static parse(e){let r=_4t.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return wMe.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return wMe.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value}get tstInfo(){return new T4t.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new WB.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==R4t)throw new WB.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==D4t)throw new WB.RFC3161TimestampVerificationError(`incorrect encapsulated content type: ${this.eContentType}`);this.tstInfo.verify(e),this.verifyMessageDigest(),this.verifySignature(r)}verifyMessageDigest(){let e=IX.digest(this.signerDigestAlgorithm,this.tstInfo.raw),r=this.messageDigestAttributeObj.subs[1].subs[0].value;if(!IX.bufferEqual(e,r))throw new WB.RFC3161TimestampVerificationError("signed data does not match tstInfo")}verifySignature(e){let r=this.signedAttrsObj.toDER();if(r[0]=49,!IX.verify(r,e,this.signatureValue,this.signatureAlgorithm))throw new WB.RFC3161TimestampVerificationError("signature verification failed")}get pkiStatusInfoObj(){return this.root.subs[0]}get timeStampTokenObj(){return this.root.subs[1]}get contentTypeObj(){return this.timeStampTokenObj.subs[0]}get signedDataObj(){return this.timeStampTokenObj.subs.find(r=>r.tag.isContextSpecific(0)).subs[0]}get encapContentInfoObj(){return this.signedDataObj.subs[2]}get signerInfosObj(){let e=this.signedDataObj;return e.subs[e.subs.length-1]}get signerInfoObj(){return this.signerInfosObj.subs[0]}get eContentTypeObj(){return this.encapContentInfoObj.subs[0]}get eContentObj(){return this.encapContentInfoObj.subs[1]}get signedAttrsObj(){return this.signerInfoObj.subs.find(r=>r.tag.isContextSpecific(0))}get messageDigestAttributeObj(){return this.signedAttrsObj.subs.find(r=>r.subs[0].tag.isOID()&&r.subs[0].toOID()===Q4t)}get signerSidObj(){return this.signerInfoObj.subs[1]}get signerDigestAlgorithmObj(){return this.signerInfoObj.subs[2]}get signatureAlgorithmObj(){return this.signerInfoObj.subs[4]}get signatureValueObj(){return this.signerInfoObj.subs[5]}};ou.RFC3161Timestamp=SX});var SMe=A(OO=>{"use strict";Object.defineProperty(OO,"__esModule",{value:!0});OO.RFC3161Timestamp=void 0;var k4t=IMe();Object.defineProperty(OO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return k4t.RFC3161Timestamp},"get")})});var xMe=A(au=>{"use strict";var P4t=au&&au.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),O4t=au&&au.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),L4t=au&&au.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&P4t(r,e,n[i]);return O4t(r,e),r}})();Object.defineProperty(au,"__esModule",{value:!0});au.SignedCertificateTimestamp=void 0;var F4t=L4t(PC()),BMe=$B(),BX=class t{static{o(this,"SignedCertificateTimestamp")}version;logID;timestamp;extensions;hashAlgorithm;signatureAlgorithm;signature;constructor(e){this.version=e.version,this.logID=e.logID,this.timestamp=e.timestamp,this.extensions=e.extensions,this.hashAlgorithm=e.hashAlgorithm,this.signatureAlgorithm=e.signatureAlgorithm,this.signature=e.signature}get datetime(){return new Date(Number(this.timestamp.readBigInt64BE()))}get algorithm(){switch(this.hashAlgorithm){case 0:return"none";case 1:return"md5";case 2:return"sha1";case 3:return"sha224";case 4:return"sha256";case 5:return"sha384";case 6:return"sha512";default:return"unknown"}}verify(e,r){let n=new BMe.ByteStream;return n.appendChar(this.version),n.appendChar(0),n.appendView(this.timestamp),n.appendUint16(1),n.appendView(e),n.appendUint16(this.extensions.byteLength),this.extensions.byteLength>0&&n.appendView(this.extensions),F4t.verify(n.buffer,r,this.signature,this.algorithm)}static parse(e){let r=new BMe.ByteStream(e),n=r.getUint8(),i=r.getBlock(32),s=r.getBlock(8),a=r.getUint16(),c=r.getBlock(a),l=r.getUint8(),u=r.getUint8(),d=r.getUint16(),f=r.getBlock(d);if(r.position!==e.length)throw new Error("SCT buffer length mismatch");return new t({version:n,logID:i,timestamp:s,extensions:c,hashAlgorithm:l,signatureAlgorithm:u,signature:f})}};au.SignedCertificateTimestamp=BX});var DX=A(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.X509SCTExtension=Mi.X509SubjectKeyIDExtension=Mi.X509AuthorityKeyIDExtension=Mi.X509SubjectAlternativeNameExtension=Mi.X509KeyUsageExtension=Mi.X509BasicConstraintsExtension=Mi.X509Extension=void 0;var M4t=$B(),U4t=xMe(),Td=class{static{o(this,"X509Extension")}root;constructor(e){this.root=e}get oid(){return this.root.subs[0].toOID()}get critical(){return this.root.subs.length===3?this.root.subs[1].toBoolean():!1}get value(){return this.extnValueObj.value}get valueObj(){return this.extnValueObj}get extnValueObj(){return this.root.subs[this.root.subs.length-1]}};Mi.X509Extension=Td;var xX=class extends Td{static{o(this,"X509BasicConstraintsExtension")}get isCA(){return this.sequence.subs[0]?.toBoolean()??!1}get pathLenConstraint(){return this.sequence.subs.length>1?this.sequence.subs[1].toInteger():void 0}get sequence(){return this.extnValueObj.subs[0]}};Mi.X509BasicConstraintsExtension=xX;var vX=class extends Td{static{o(this,"X509KeyUsageExtension")}get digitalSignature(){return this.bitString[0]===1}get keyCertSign(){return this.bitString[5]===1}get crlSign(){return this.bitString[6]===1}get bitString(){return this.extnValueObj.subs[0].toBitString()}};Mi.X509KeyUsageExtension=vX;var NX=class extends Td{static{o(this,"X509SubjectAlternativeNameExtension")}get rfc822Name(){return this.findGeneralName(1)?.value.toString("ascii")}get uri(){return this.findGeneralName(6)?.value.toString("ascii")}otherName(e){let r=this.findGeneralName(0);return r===void 0||r.subs[0].toOID()!==e?void 0:r.subs[1].subs[0].value.toString("ascii")}findGeneralName(e){return this.generalNames.find(r=>r.tag.isContextSpecific(e))}get generalNames(){return this.extnValueObj.subs[0].subs}};Mi.X509SubjectAlternativeNameExtension=NX;var _X=class extends Td{static{o(this,"X509AuthorityKeyIDExtension")}get keyIdentifier(){return this.findSequenceMember(0)?.value}findSequenceMember(e){return this.sequence.subs.find(r=>r.tag.isContextSpecific(e))}get sequence(){return this.extnValueObj.subs[0]}};Mi.X509AuthorityKeyIDExtension=_X;var TX=class extends Td{static{o(this,"X509SubjectKeyIDExtension")}get keyIdentifier(){return this.extnValueObj.subs[0].value}};Mi.X509SubjectKeyIDExtension=TX;var RX=class extends Td{static{o(this,"X509SCTExtension")}constructor(e){super(e)}get signedCertificateTimestamps(){let e=this.extnValueObj.subs[0].value,r=new M4t.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position<n;){let s=r.getUint16(),a=r.getBlock(s);i.push(U4t.SignedCertificateTimestamp.parse(a))}if(r.position!==n)throw new Error("SCT list length does not match actual length");return i}};Mi.X509SCTExtension=RX});var _Me=A(Qo=>{"use strict";var q4t=Qo&&Qo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),G4t=Qo&&Qo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NMe=Qo&&Qo.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&q4t(r,e,n[i]);return G4t(r,e),r}})();Object.defineProperty(Qo,"__esModule",{value:!0});Qo.X509Certificate=Qo.EXTENSION_OID_SCT=void 0;var H4t=RO(),vMe=NMe(PC()),QX=kO(),V4t=NMe(EX()),tm=DX(),z4t="2.5.29.14",$4t="2.5.29.15",j4t="2.5.29.17",W4t="2.5.29.19",J4t="2.5.29.35";Qo.EXTENSION_OID_SCT="1.3.6.1.4.1.11129.2.4.2";var kX=class t{static{o(this,"X509Certificate")}root;constructor(e){this.root=e}static parse(e){let r=typeof e=="string"?V4t.toDER(e):e,n=H4t.ASN1Obj.parseBuffer(r);return new t(n)}get tbsCertificate(){return this.tbsCertificateObj}get version(){return`v${(this.versionObj.subs[0].toInteger()+BigInt(1)).toString()}`}get serialNumber(){return this.serialNumberObj.value}get notBefore(){return this.validityObj.subs[0].toDate()}get notAfter(){return this.validityObj.subs[1].toDate()}get issuer(){return this.issuerObj.value}get subject(){return this.subjectObj.value}get publicKey(){return this.subjectPublicKeyInfoObj.toDER()}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return QX.RSA_SIGNATURE_ALGOS[e]?QX.RSA_SIGNATURE_ALGOS[e]:QX.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value.subarray(1)}get subjectAltName(){let e=this.extSubjectAltName;return e?.uri||e?.rfc822Name}get extensions(){return this.extensionsObj?.subs[0]?.subs||[]}get extKeyUsage(){let e=this.findExtension($4t);return e?new tm.X509KeyUsageExtension(e):void 0}get extBasicConstraints(){let e=this.findExtension(W4t);return e?new tm.X509BasicConstraintsExtension(e):void 0}get extSubjectAltName(){let e=this.findExtension(j4t);return e?new tm.X509SubjectAlternativeNameExtension(e):void 0}get extAuthorityKeyID(){let e=this.findExtension(J4t);return e?new tm.X509AuthorityKeyIDExtension(e):void 0}get extSubjectKeyID(){let e=this.findExtension(z4t);return e?new tm.X509SubjectKeyIDExtension(e):void 0}get extSCT(){let e=this.findExtension(Qo.EXTENSION_OID_SCT);return e?new tm.X509SCTExtension(e):void 0}get isCA(){let e=this.extBasicConstraints?.isCA||!1;return this.extKeyUsage?e&&this.extKeyUsage.keyCertSign:e}extension(e){let r=this.findExtension(e);return r?new tm.X509Extension(r):void 0}verify(e){let r=e?.publicKey||this.publicKey,n=vMe.createPublicKey(r);return vMe.verify(this.tbsCertificate.toDER(),n,this.signatureValue,this.signatureAlgorithm)}validForDate(e){return this.notBefore<=e&&e<=this.notAfter}equals(e){return this.root.toDER().equals(e.root.toDER())}clone(){let e=this.root.toDER(),r=Buffer.alloc(e.length);return e.copy(r),t.parse(r)}findExtension(e){return this.extensions.find(r=>r.subs[0].toOID()===e)}get tbsCertificateObj(){return this.root.subs[0]}get signatureAlgorithmObj(){return this.root.subs[1]}get signatureValueObj(){return this.root.subs[2]}get versionObj(){return this.tbsCertificateObj.subs[0]}get serialNumberObj(){return this.tbsCertificateObj.subs[1]}get issuerObj(){return this.tbsCertificateObj.subs[3]}get validityObj(){return this.tbsCertificateObj.subs[4]}get subjectObj(){return this.tbsCertificateObj.subs[5]}get subjectPublicKeyInfoObj(){return this.tbsCertificateObj.subs[6]}get extensionsObj(){return this.tbsCertificateObj.subs.find(e=>e.tag.isContextSpecific(3))}};Qo.X509Certificate=kX});var RMe=A(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.X509SCTExtension=wh.X509Certificate=wh.EXTENSION_OID_SCT=void 0;var TMe=_Me();Object.defineProperty(wh,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return TMe.EXTENSION_OID_SCT},"get")});Object.defineProperty(wh,"X509Certificate",{enumerable:!0,get:o(function(){return TMe.X509Certificate},"get")});var Y4t=DX();Object.defineProperty(wh,"X509SCTExtension",{enumerable:!0,get:o(function(){return Y4t.X509SCTExtension},"get")})});var Sc=A(Gt=>{"use strict";var K4t=Gt&&Gt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),X4t=Gt&&Gt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),JB=Gt&&Gt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&K4t(r,e,n[i]);return X4t(r,e),r}})();Object.defineProperty(Gt,"__esModule",{value:!0});Gt.X509SCTExtension=Gt.X509Certificate=Gt.EXTENSION_OID_SCT=Gt.ByteStream=Gt.RFC3161Timestamp=Gt.pem=Gt.json=Gt.encoding=Gt.dsse=Gt.crypto=Gt.ASN1Obj=void 0;var Z4t=RO();Object.defineProperty(Gt,"ASN1Obj",{enumerable:!0,get:o(function(){return Z4t.ASN1Obj},"get")});Gt.crypto=JB(PC());Gt.dsse=JB(AMe());Gt.encoding=JB(yMe());Gt.json=JB(EMe());Gt.pem=JB(EX());var eVt=SMe();Object.defineProperty(Gt,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return eVt.RFC3161Timestamp},"get")});var tVt=$B();Object.defineProperty(Gt,"ByteStream",{enumerable:!0,get:o(function(){return tVt.ByteStream},"get")});var PX=RMe();Object.defineProperty(Gt,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return PX.EXTENSION_OID_SCT},"get")});Object.defineProperty(Gt,"X509Certificate",{enumerable:!0,get:o(function(){return PX.X509Certificate},"get")});Object.defineProperty(Gt,"X509SCTExtension",{enumerable:!0,get:o(function(){return PX.X509SCTExtension},"get")})});var DMe=A(LO=>{"use strict";Object.defineProperty(LO,"__esModule",{value:!0});LO.DSSESignatureContent=void 0;var rm=Sc(),OX=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return rm.crypto.bufferEqual(e,rm.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return rm.crypto.bufferEqual(e,rm.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return rm.crypto.bufferEqual(e,this.signature)}verifySignature(e){return rm.crypto.verify(this.preAuthEncoding,e,this.signature)}get signature(){return this.env.signatures.length>0?this.env.signatures[0].sig:Buffer.from("")}get preAuthEncoding(){return rm.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};LO.DSSESignatureContent=OX});var QMe=A(FO=>{"use strict";Object.defineProperty(FO,"__esModule",{value:!0});FO.MessageSignatureContent=void 0;var LX=Sc(),OC=pC(),rVt={[OC.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[OC.HashAlgorithm.SHA2_256]:"sha256",[OC.HashAlgorithm.SHA2_384]:"sha384",[OC.HashAlgorithm.SHA2_512]:"sha512",[OC.HashAlgorithm.SHA3_256]:"sha3-256",[OC.HashAlgorithm.SHA3_384]:"sha3-384"},FX=class{static{o(this,"MessageSignatureContent")}signature;messageDigest;artifact;hashAlgorithm;constructor(e,r){this.signature=e.signature,this.messageDigest=e.messageDigest.digest,this.artifact=r,this.hashAlgorithm=rVt[e.messageDigest.algorithm]??"sha256"}compareSignature(e){return LX.crypto.bufferEqual(e,this.signature)}compareDigest(e){return LX.crypto.bufferEqual(e,this.messageDigest)}compareSignedDigest(e){return this.compareDigest(e)}verifySignature(e){return LX.crypto.verify(this.artifact,e,this.signature,this.hashAlgorithm)}};FO.MessageSignatureContent=FX});var PMe=A(MO=>{"use strict";Object.defineProperty(MO,"__esModule",{value:!0});MO.toSignedEntity=sVt;MO.signatureContent=kMe;var MX=Sc(),nVt=DMe(),iVt=QMe();function sVt(t,e){let{tlogEntries:r,timestampVerificationData:n}=t.verificationMaterial,i=[];for(let s of r)s.integratedTime&&s.integratedTime!=="0"&&i.push({$case:"transparency-log",tlogEntry:s});for(let s of n?.rfc3161Timestamps??[])i.push({$case:"timestamp-authority",timestamp:MX.RFC3161Timestamp.parse(Buffer.from(s.signedTimestamp))});return{signature:kMe(t,e),key:oVt(t),tlogEntries:r,timestamps:i}}o(sVt,"toSignedEntity");function kMe(t,e){switch(t.content.$case){case"dsseEnvelope":return new nVt.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new iVt.MessageSignatureContent(t.content.messageSignature,e)}}o(kMe,"signatureContent");function oVt(t){switch(t.verificationMaterial.content.$case){case"publicKey":return{$case:"public-key",hint:t.verificationMaterial.content.publicKey.hint};case"x509CertificateChain":return{$case:"certificate",certificate:MX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes))};case"certificate":return{$case:"certificate",certificate:MX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.certificate.rawBytes))}}}o(oVt,"key")});var Ui=A(LC=>{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.PolicyError=LC.VerificationError=void 0;var UO=class extends Error{static{o(this,"BaseError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}},UX=class extends UO{static{o(this,"VerificationError")}};LC.VerificationError=UX;var qX=class extends UO{static{o(this,"PolicyError")}};LC.PolicyError=qX});var OMe=A(qO=>{"use strict";Object.defineProperty(qO,"__esModule",{value:!0});qO.filterCertAuthorities=aVt;qO.filterTLogAuthorities=cVt;function aVt(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(aVt,"filterCertAuthorities");function cVt(t,e){return t.filter(r=>e.logID&&!r.logID.equals(e.logID)?!1:r.validFor.start<=e.targetDate&&e.targetDate<=r.validFor.end)}o(cVt,"filterTLogAuthorities")});var FC=A(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.filterTLogAuthorities=nm.filterCertAuthorities=void 0;nm.toTrustMaterial=uVt;var GX=Sc(),YB=pC(),lVt=Ui(),HX=new Date(0),VX=new Date(864e13),MMe=OMe();Object.defineProperty(nm,"filterCertAuthorities",{enumerable:!0,get:o(function(){return MMe.filterCertAuthorities},"get")});Object.defineProperty(nm,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return MMe.filterTLogAuthorities},"get")});function uVt(t,e){let r=typeof e=="function"?e:dVt(e);return{certificateAuthorities:t.certificateAuthorities.map(FMe),timestampAuthorities:t.timestampAuthorities.map(FMe),tlogs:t.tlogs.map(LMe),ctlogs:t.ctlogs.map(LMe),publicKey:r}}o(uVt,"toTrustMaterial");function LMe(t){let e=t.publicKey.keyDetails,r=e===YB.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===YB.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===YB.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===YB.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===YB.PublicKeyDetails.PKIX_RSA_PKCS1V15_4096_SHA256?"pkcs1":"spki";return{baseURL:t.baseUrl,logID:t.checkpointKeyId?t.checkpointKeyId.keyId:t.logId.keyId,publicKey:GX.crypto.createPublicKey(t.publicKey.rawBytes,r),validFor:{start:t.publicKey.validFor?.start||HX,end:t.publicKey.validFor?.end||VX}}}o(LMe,"createTLogAuthority");function FMe(t){return{certChain:t.certChain.certificates.map(e=>GX.X509Certificate.parse(Buffer.from(e.rawBytes))),validFor:{start:t.validFor?.start||HX,end:t.validFor?.end||VX}}}o(FMe,"createCertAuthority");function dVt(t){return e=>{let r=(t||{})[e];if(!r)throw new lVt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`key not found: ${e}`});return{publicKey:GX.crypto.createPublicKey(r.rawBytes),validFor:o(n=>(r.validFor?.start||HX)<=n&&(r.validFor?.end||VX)>=n,"validFor")}}}o(dVt,"keyLocator")});var zX=A(KB=>{"use strict";Object.defineProperty(KB,"__esModule",{value:!0});KB.CertificateChainVerifier=void 0;KB.verifyCertificateChain=hVt;var Ih=Ui(),fVt=FC();function hVt(t,e,r){let n=(0,fVt.filterCertAuthorities)(r,t),i;for(let s of n)try{return new GO({trustedCerts:s.certChain,untrustedCert:e,timestamp:t}).verify()}catch(a){i=a}throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"Failed to verify certificate chain",cause:i})}o(hVt,"verifyCertificateChain");var GO=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=pVt([...e.trustedCerts,e.untrustedCert]),this.timestamp=e.timestamp}verify(){let e=this.sort();if(this.checkPath(e),!e.every(n=>n.validForDate(this.timestamp)))throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate is not valid or expired at the specified date"});return e}sort(){let e=this.untrustedCert,r=this.buildPaths(e);if(r=r.filter(i=>i.some(s=>this.trustedCerts.includes(s))),r.length===0)throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"no trusted certificate path found"});let n=r.reduce((i,s)=>i.length<s.length?i:s);return[e,...n].slice(0,-1)}buildPaths(e){let r=[],n=this.findIssuer(e);if(n.length===0)throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"no valid certificate path found"});for(let i=0;i<n.length;i++){let s=n[i];if(s.equals(e)){r.push([e]);continue}let a=this.buildPaths(s);for(let c=0;c<a.length;c++)r.push([s,...a[c]])}return r}findIssuer(e){let r=[],n;return e.subject.equals(e.issuer)&&e.verify()?[e]:(e.extAuthorityKeyID&&(n=e.extAuthorityKeyID.keyIdentifier),this.localCerts.forEach(i=>{if(n&&i.extSubjectKeyID){i.extSubjectKeyID.keyIdentifier.equals(n)&&r.push(i);return}i.subject.equals(e.issuer)&&r.push(i)}),r=r.filter(i=>{try{return e.verify(i)}catch{return!1}}),r)}checkPath(e){if(e.length<1)throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate chain must contain at least one certificate"});if(!e.slice(1).every(n=>n.isCA))throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"intermediate certificate is not a CA"});for(let n=e.length-2;n>=0;n--)if(!e[n].issuer.equals(e[n+1].subject))throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"incorrect certificate name chaining"});for(let n=0;n<e.length;n++){let i=e[n];if(i.extBasicConstraints?.isCA){let s=i.extBasicConstraints.pathLenConstraint;if(s!==void 0&&s<n-1)throw new Ih.VerificationError({code:"CERTIFICATE_ERROR",message:"path length constraint exceeded"})}}}};KB.CertificateChainVerifier=GO;function pVt(t){for(let e=0;e<t.length;e++)for(let r=e+1;r<t.length;r++)t[e].equals(t[r])&&(t.splice(r,1),r--);return t}o(pVt,"dedupeCertificates")});var UMe=A($X=>{"use strict";Object.defineProperty($X,"__esModule",{value:!0});$X.verifySCTs=gVt;var HO=Sc(),AVt=Ui(),mVt=FC();function gVt(t,e,r){let n,i=t.clone();for(let l=0;l<i.extensions.length;l++){let u=i.extensions[l];if(u.subs[0].toOID()===HO.EXTENSION_OID_SCT){n=new HO.X509SCTExtension(u),i.extensions.splice(l,1);break}}if(!n)return[];if(n.signedCertificateTimestamps.length===0)return[];let s=new HO.ByteStream,a=HO.crypto.digest("sha256",e.publicKey);s.appendView(a);let c=i.tbsCertificate.toDER();return s.appendUint24(c.length),s.appendView(c),n.signedCertificateTimestamps.map(l=>{if(!(0,mVt.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(f=>l.verify(s.buffer,f.publicKey)))throw new AVt.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o(gVt,"verifySCTs")});var qMe=A(VO=>{"use strict";Object.defineProperty(VO,"__esModule",{value:!0});VO.verifyPublicKey=SVt;VO.verifyCertificate=BVt;var yVt=Sc(),EVt=Ui(),CVt=zX(),bVt=UMe(),wVt="1.3.6.1.4.1.57264.1.1",IVt="1.3.6.1.4.1.57264.1.8";function SVt(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new EVt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(SVt,"verifyPublicKey");function BVt(t,e,r){let n=[];return e.forEach(i=>{n=(0,CVt.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,bVt.verifySCTs)(n[0],n[1],r.ctlogs),signer:xVt(n[0])}}o(BVt,"verifyCertificate");function xVt(t){let e,r=t.extension(IVt);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(wVt)?.value.toString("ascii");let n=t.extensions.map(s=>({oid:{id:s.subs[0].toOID().split(".").map(Number)},value:s.subs[s.subs.length-1].value})),i={extensions:{issuer:e},subjectAlternativeName:t.subjectAltName,oids:n};return{key:yVt.crypto.createPublicKey(t.publicKey),identity:i}}o(xVt,"getSigner")});var GMe=A(XB=>{"use strict";Object.defineProperty(XB,"__esModule",{value:!0});XB.verifySubjectAlternativeName=vVt;XB.verifyExtensions=NVt;XB.verifyOIDs=_Vt;var jX=Ui();function vVt(t,e){if(e===void 0||!e.match(t))throw new jX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`certificate identity error - expected ${t}, got ${e}`})}o(vVt,"verifySubjectAlternativeName");function NVt(t,e={}){let r;for(r in t)if(e[r]!==t[r])throw new jX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - expected ${r}=${t[r]}, got ${r}=${e[r]}`})}o(NVt,"verifyExtensions");function _Vt(t,e=[]){for(let r of t)if(!e.find(i=>TVt(r.oid?.id,i.oid?.id)&&r.value.equals(i.value))){let i=r.oid?.id.join(".")??"<unknown>";throw new jX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - missing OID ${i}`})}}o(_Vt,"verifyOIDs");function TVt(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(TVt,"oidEquals")});var VMe=A(JX=>{"use strict";Object.defineProperty(JX,"__esModule",{value:!0});JX.verifyRFC3161Timestamp=QVt;var WX=Sc(),HMe=Ui(),RVt=zX(),DVt=FC();function QVt(t,e,r){let n=t.signingTime;if(r=(0,DVt.filterCertAuthorities)(r,n),r=PVt(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return kVt(t,e,s),!0}catch{return!1}}))throw new HMe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(QVt,"verifyRFC3161Timestamp");function kVt(t,e,r){let[n,...i]=r.certChain,s=WX.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new RVt.CertificateChainVerifier({untrustedCert:n,trustedCerts:i,timestamp:a}).verify()}catch{throw new HMe.VerificationError({code:"TIMESTAMP_ERROR",message:"invalid certificate chain"})}t.verify(e,s)}o(kVt,"verifyTimestampForCA");function PVt(t,e){return t.filter(r=>r.certChain.length>0&&WX.crypto.bufferEqual(r.certChain[0].serialNumber,e.serialNumber)&&WX.crypto.bufferEqual(r.certChain[0].issuer,e.issuer))}o(PVt,"filterCAsBySerialAndIssuer")});var zMe=A(zO=>{"use strict";Object.defineProperty(zO,"__esModule",{value:!0});zO.getTSATimestamp=LVt;zO.getTLogTimestamp=FVt;var OVt=VMe();function LVt(t,e,r){return(0,OVt.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(LVt,"getTSATimestamp");function FVt(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(FVt,"getTLogTimestamp")});var jO=A(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.Signature=Pa.Verifier=Pa.PublicKey=void 0;var $O=xd();Pa.PublicKey={fromJSON(t){return{rawBytes:MC(t.rawBytes)?Buffer.from($Me(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=jMe(t.rawBytes)),e}};Pa.Verifier={fromJSON(t){return{verifier:MC(t.publicKey)?{$case:"publicKey",publicKey:Pa.PublicKey.fromJSON(t.publicKey)}:MC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:$O.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:MC(t.keyDetails)?(0,$O.publicKeyDetailsFromJSON)(t.keyDetails):0}},toJSON(t){let e={};return t.verifier?.$case==="publicKey"?e.publicKey=Pa.PublicKey.toJSON(t.verifier.publicKey):t.verifier?.$case==="x509Certificate"&&(e.x509Certificate=$O.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,$O.publicKeyDetailsToJSON)(t.keyDetails)),e}};Pa.Signature={fromJSON(t){return{content:MC(t.content)?Buffer.from($Me(t.content)):Buffer.alloc(0),verifier:MC(t.verifier)?Pa.Verifier.fromJSON(t.verifier):void 0}},toJSON(t){let e={};return t.content.length!==0&&(e.content=jMe(t.content)),t.verifier!==void 0&&(e.verifier=Pa.Verifier.toJSON(t.verifier)),e}};function $Me(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o($Me,"bytesFromBase64");function jMe(t){return globalThis.Buffer.from(t).toString("base64")}o(jMe,"base64FromBytes");function MC(t){return t!=null}o(MC,"isSet")});var YX=A(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.DSSELogEntryV002=UC.DSSERequestV002=void 0;var WMe=_P(),JMe=xd(),WO=jO();UC.DSSERequestV002={fromJSON(t){return{envelope:YMe(t.envelope)?WMe.Envelope.fromJSON(t.envelope):void 0,verifiers:globalThis.Array.isArray(t?.verifiers)?t.verifiers.map(e=>WO.Verifier.fromJSON(e)):[]}},toJSON(t){let e={};return t.envelope!==void 0&&(e.envelope=WMe.Envelope.toJSON(t.envelope)),t.verifiers?.length&&(e.verifiers=t.verifiers.map(r=>WO.Verifier.toJSON(r))),e}};UC.DSSELogEntryV002={fromJSON(t){return{payloadHash:YMe(t.payloadHash)?JMe.HashOutput.fromJSON(t.payloadHash):void 0,signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>WO.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payloadHash!==void 0&&(e.payloadHash=JMe.HashOutput.toJSON(t.payloadHash)),t.signatures?.length&&(e.signatures=t.signatures.map(r=>WO.Signature.toJSON(r))),e}};function YMe(t){return t!=null}o(YMe,"isSet")});var KX=A(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.HashedRekordLogEntryV002=qC.HashedRekordRequestV002=void 0;var KMe=xd(),JO=jO();qC.HashedRekordRequestV002={fromJSON(t){return{digest:YO(t.digest)?Buffer.from(MVt(t.digest)):Buffer.alloc(0),signature:YO(t.signature)?JO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=UVt(t.digest)),t.signature!==void 0&&(e.signature=JO.Signature.toJSON(t.signature)),e}};qC.HashedRekordLogEntryV002={fromJSON(t){return{data:YO(t.data)?KMe.HashOutput.fromJSON(t.data):void 0,signature:YO(t.signature)?JO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.data!==void 0&&(e.data=KMe.HashOutput.toJSON(t.data)),t.signature!==void 0&&(e.signature=JO.Signature.toJSON(t.signature)),e}};function MVt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(MVt,"bytesFromBase64");function UVt(t){return globalThis.Buffer.from(t).toString("base64")}o(UVt,"base64FromBytes");function YO(t){return t!=null}o(YO,"isSet")});var XMe=A(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.CreateEntryRequest=cu.Spec=cu.Entry=void 0;var KO=YX(),XO=KX();cu.Entry={fromJSON(t){return{kind:im(t.kind)?globalThis.String(t.kind):"",apiVersion:im(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:im(t.spec)?cu.Spec.fromJSON(t.spec):void 0}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.apiVersion!==""&&(e.apiVersion=t.apiVersion),t.spec!==void 0&&(e.spec=cu.Spec.toJSON(t.spec)),e}};cu.Spec={fromJSON(t){return{spec:im(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:XO.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:im(t.dsseV002)?{$case:"dsseV002",dsseV002:KO.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=XO.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=KO.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};cu.CreateEntryRequest={fromJSON(t){return{spec:im(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:XO.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:im(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:KO.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=XO.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=KO.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function im(t){return t!=null}o(im,"isSet")});var ZMe=A(lu=>{"use strict";var qVt=lu&&lu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ZO=lu&&lu.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&qVt(e,t,r)};Object.defineProperty(lu,"__esModule",{value:!0});ZO(YX(),lu);ZO(XMe(),lu);ZO(KX(),lu);ZO(jO(),lu)});var eUe=A(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.DSSE_API_VERSION_V1=void 0;sm.verifyDSSETLogBody=GVt;sm.verifyDSSETLogBodyV2=HVt;var Rd=Ui();sm.DSSE_API_VERSION_V1="0.0.1";function GVt(t,e){if(t.apiVersion===sm.DSSE_API_VERSION_V1)return VVt(t,e);throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(GVt,"verifyDSSETLogBody");function HVt(t,e){let r=t.spec?.spec;if(!r)throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="dsseV002")return zVt(r.dsseV002,e);throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(HVt,"verifyDSSETLogBodyV2");function VVt(t,e){if(t.spec.signatures?.length!==1)throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.spec.signatures[0].signature;if(!e.compareSignature(Buffer.from(r,"base64")))throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(VVt,"verifyDSSE001TLogBody");function zVt(t,e){if(t.signatures?.length!==1)throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.signatures[0].content;if(!e.compareSignature(r))throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.payloadHash?.digest||Buffer.from("");if(!e.compareDigest(n))throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(zVt,"verifyDSSE002TLogBody")});var tUe=A(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.HASHEDREKORD_API_VERSION_V1=void 0;am.verifyHashedRekordTLogBody=$Vt;am.verifyHashedRekordTLogBodyV2=jVt;var om=Ui();am.HASHEDREKORD_API_VERSION_V1="0.0.1";function $Vt(t,e){if(t.apiVersion===am.HASHEDREKORD_API_VERSION_V1)return WVt(t,e);throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o($Vt,"verifyHashedRekordTLogBody");function jVt(t,e){let r=t.spec?.spec;if(!r)throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return JVt(r.hashedRekordV002,e);throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(jVt,"verifyHashedRekordTLogBodyV2");function WVt(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(WVt,"verifyHashedrekord001TLogBody");function JVt(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new om.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(JVt,"verifyHashedrekord002TLogBody")});var rUe=A(XX=>{"use strict";Object.defineProperty(XX,"__esModule",{value:!0});XX.verifyIntotoTLogBody=YVt;var eL=Ui();function YVt(t,e){if(t.apiVersion==="0.0.2")return KVt(t,e);throw new eL.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(YVt,"verifyIntotoTLogBody");function KVt(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new eL.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=XVt(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new eL.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.content.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new eL.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(KVt,"verifyIntoto002TLogBody");function XVt(t){return Buffer.from(t,"base64").toString("utf-8")}o(XVt,"base64Decode")});var iUe=A(ZB=>{"use strict";Object.defineProperty(ZB,"__esModule",{value:!0});ZB.LogCheckpoint=void 0;ZB.verifyCheckpoint=e5t;var nUe=Sc(),GC=Ui(),ZX=`
`,ZVt=/\u2014 (\S+) (\S+)\n/g;function e5t(t,e){let r=t.inclusionProof,n=eZ.fromString(r.checkpoint.envelope),i=tL.fromString(n.note);if(!t5t(n,e))throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(e5t,"verifyCheckpoint");function t5t(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let i=e.find(s=>nUe.crypto.bufferEqual(s.logID.subarray(0,4),n.keyHint)&&s.baseURL.includes(n.name));return i?nUe.crypto.verify(r,i.publicKey,n.signature):!1})}o(t5t,"verifySignedNote");var eZ=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(ZX))throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(ZX),n=e.slice(0,r+1),s=e.slice(r+ZX.length).matchAll(ZVt),a=Array.from(s,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:l,keyHint:d.subarray(0,4),signature:d.subarray(4)}});if(a.length===0)throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},tL=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,n,i){this.origin=e,this.logSize=r,this.logHash=n,this.rest=i}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],i;try{i=BigInt(r[1])}catch{throw new GC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint log size"})}let s=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,i,s,a)}};ZB.LogCheckpoint=tL});var sUe=A(nZ=>{"use strict";Object.defineProperty(nZ,"__esModule",{value:!0});nZ.verifyMerkleInclusion=i5t;var rZ=Sc(),rL=Ui(),r5t=Buffer.from([0]),n5t=Buffer.from([1]);function i5t(t,e){let r=t.inclusionProof,n;try{n=BigInt(r.logIndex)}catch{throw new rL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let i=BigInt(e.logSize);if(n<0n||n>=i)throw new rL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=s5t(n,i);if(r.hashes.length!==s+a)throw new rL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=d5t(t.canonicalizedBody),d=a5t(o5t(u,c,n),l);if(!rZ.crypto.bufferEqual(d,e.logHash))throw new rL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(i5t,"verifyMerkleInclusion");function s5t(t,e){let r=c5t(t,e),n=l5t(t>>BigInt(r));return{inner:r,border:n}}o(s5t,"decompInclProof");function o5t(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?tZ(i,n):tZ(n,i),t)}o(o5t,"chainInner");function a5t(t,e){return e.reduce((r,n)=>tZ(n,r),t)}o(a5t,"chainBorderRight");function c5t(t,e){return u5t(t^e-BigInt(1))}o(c5t,"innerProofSize");function l5t(t){return t.toString(2).split("1").length-1}o(l5t,"onesCount");function u5t(t){return t===0n?0:t.toString(2).length}o(u5t,"bitLength");function tZ(t,e){return rZ.crypto.digest("sha256",n5t,t,e)}o(tZ,"hashChildren");function d5t(t){return rZ.crypto.digest("sha256",r5t,t)}o(d5t,"hashLeaf")});var aUe=A(iZ=>{"use strict";Object.defineProperty(iZ,"__esModule",{value:!0});iZ.verifyTLogSET=p5t;var oUe=Sc(),f5t=Ui(),h5t=FC();function p5t(t,e){if(!(0,h5t.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=A5t(t),a=Buffer.from(oUe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return oUe.crypto.verify(a,i.publicKey,c)}))throw new f5t.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(p5t,"verifyTLogSET");function A5t(t){let{integratedTime:e,logIndex:r,logId:n,canonicalizedBody:i}=t;return{body:i.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:n.keyId.toString("hex")}}o(A5t,"toVerificationPayload")});var lUe=A(iL=>{"use strict";Object.defineProperty(iL,"__esModule",{value:!0});iL.verifyTLogBody=C5t;iL.verifyTLogInclusion=b5t;var cUe=ZMe(),nL=Ui(),sZ=eUe(),oZ=tUe(),m5t=rUe(),g5t=iUe(),y5t=sUe(),E5t=aUe();function C5t(t,e){let{kind:r,version:n}=t.kindVersion,i;try{i=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new nL.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==i.kind||n!==i.apiVersion)throw new nL.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(n==sZ.DSSE_API_VERSION_V1)return(0,sZ.verifyDSSETLogBody)(i,e);{let s=cUe.Entry.fromJSON(i);return(0,sZ.verifyDSSETLogBodyV2)(s,e)}case"intoto":return(0,m5t.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(n==oZ.HASHEDREKORD_API_VERSION_V1)return(0,oZ.verifyHashedRekordTLogBody)(i,e);{let s=cUe.Entry.fromJSON(i);return(0,oZ.verifyHashedRekordTLogBodyV2)(s,e)}default:throw new nL.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(C5t,"verifyTLogBody");function b5t(t,e){let r=!1;if(w5t(t)&&((0,E5t.verifyTLogSET)(t,e),r=!0),I5t(t)){let n=(0,g5t.verifyCheckpoint)(t,e);(0,y5t.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new nL.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(b5t,"verifyTLogInclusion");function w5t(t){return t.inclusionPromise!==void 0}o(w5t,"isTLogEntryWithInclusionPromise");function I5t(t){return t.inclusionProof!==void 0}o(I5t,"isTLogEntryWithInclusionProof")});var hUe=A(sL=>{"use strict";Object.defineProperty(sL,"__esModule",{value:!0});sL.Verifier=void 0;var S5t=require("util"),cm=Ui(),uUe=qMe(),aZ=GMe(),dUe=zMe(),fUe=lUe(),lZ=class{static{o(this,"Verifier")}trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let n=this.verifyTimestamps(e),i=this.verifySigningKey(e,n);return this.verifyTLogs(e),this.verifySignature(e,i),r&&this.verifyPolicy(r,i.identity||{}),i}verifyTimestamps(e){let r=[];for(let n of e.timestamps)switch(n.$case){case"timestamp-authority":r.push((0,dUe.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,dUe.getTLogTimestamp)(n.tlogEntry);i&&r.push(i);break}}if(cZ(r))throw new cm.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.length<this.options.timestampThreshold)throw new cm.VerificationError({code:"TIMESTAMP_ERROR",message:`expected ${this.options.timestampThreshold} timestamps, got ${r.length}`});return r.map(n=>n.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,uUe.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let n=(0,uUe.verifyCertificate)(e.certificate,r,this.trustMaterial);if(cZ(n.scts))throw new cm.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length<this.options.ctlogThreshold)throw new cm.VerificationError({code:"CERTIFICATE_ERROR",message:`expected ${this.options.ctlogThreshold} SCTs, got ${n.scts.length}`});return n.signer}}}verifyTLogs({signature:e,tlogEntries:r}){let n=[];if(r.forEach(i=>{(0,fUe.verifyTLogInclusion)(i,this.trustMaterial.tlogs),(0,fUe.verifyTLogBody)(i,e),n.push({logID:i.logId.keyId,logIndex:i.logIndex})}),cZ(n))throw new cm.VerificationError({code:"TLOG_ERROR",message:"duplicate tlog entry"});if(n.length<this.options.tlogThreshold)throw new cm.VerificationError({code:"TLOG_ERROR",message:`expected ${this.options.tlogThreshold} tlog entries, got ${n.length}`})}verifySignature(e,r){if(!e.signature.verifySignature(r.key))throw new cm.VerificationError({code:"SIGNATURE_ERROR",message:"signature verification failed"})}verifyPolicy(e,r){e.subjectAlternativeName&&(0,aZ.verifySubjectAlternativeName)(e.subjectAlternativeName,r.subjectAlternativeName),e.extensions&&(0,aZ.verifyExtensions)(e.extensions,r.extensions),e.oids&&(0,aZ.verifyOIDs)(e.oids,r.oids)}};sL.Verifier=lZ;function cZ(t){for(let e=0;e<t.length;e++)for(let r=e+1;r<t.length;r++)if((0,S5t.isDeepStrictEqual)(t[e],t[r]))return!0;return!1}o(cZ,"containsDupes")});var AUe=A(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.Verifier=Oa.toTrustMaterial=Oa.VerificationError=Oa.PolicyError=Oa.toSignedEntity=void 0;var B5t=PMe();Object.defineProperty(Oa,"toSignedEntity",{enumerable:!0,get:o(function(){return B5t.toSignedEntity},"get")});var pUe=Ui();Object.defineProperty(Oa,"PolicyError",{enumerable:!0,get:o(function(){return pUe.PolicyError},"get")});Object.defineProperty(Oa,"VerificationError",{enumerable:!0,get:o(function(){return pUe.VerificationError},"get")});var x5t=FC();Object.defineProperty(Oa,"toTrustMaterial",{enumerable:!0,get:o(function(){return x5t.toTrustMaterial},"get")});var v5t=hUe();Object.defineProperty(Oa,"Verifier",{enumerable:!0,get:o(function(){return v5t.Verifier},"get")})});var UUe=N(require("fs"),1),qUe=N(require("path"),1);var eee=N(require("os"),1);function mu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(mu,"toCommandValue");function _L(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(_L,"toCommandProperties");function gu(t,e,r){let n=new TL(t,e,r);process.stdout.write(n.toString()+eee.EOL)}o(gu,"issueCommand");function RL(t,e=""){gu(t,{},e)}o(RL,"issue");var ZZ="::",TL=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=ZZ+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${Nqe(i)}`)}}return e+=`${ZZ}${vqe(this.message)}`,e}};function vqe(t){return mu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(vqe,"escapeData");function Nqe(t){return mu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Nqe,"escapeProperty");var tee=N(require("crypto"),1),Dx=N(require("fs"),1),Rx=N(require("os"),1);function Qx(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Dx.existsSync(r))throw new Error(`Missing file at path: ${r}`);Dx.appendFileSync(r,`${mu(e)}${Rx.EOL}`,{encoding:"utf8"})}o(Qx,"issueFileCommand");function DL(t,e){let r=`ghadelimiter_${tee.randomUUID()}`,n=mu(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Rx.EOL}${n}${Rx.EOL}${r}`}o(DL,"prepareKeyValueMessage");var wq=N(require("os"),1),ele=N(require("path"),1);var c0=N(require("http"),1),cq=N(require("https"),1);function QL(t){let e=t.protocol==="https:";if(_qe(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 kx(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new kx(`http://${r}`)}else return}o(QL,"getProxyUrl");function _qe(t){if(!t.hostname)return!1;let e=t.hostname;if(Tqe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(_qe,"checkBypass");function Tqe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Tqe,"isLoopbackAddress");var kx=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var rf=N(mm(),1),Qce=N(tf(),1);var Xr=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Hn;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Hn||(Hn={}));var Vi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Vi||(Vi={}));var Qu;(function(t){t.ApplicationJson="application/json"})(Qu||(Qu={}));var zJe=[Hn.MovedPermanently,Hn.ResourceMoved,Hn.SeeOther,Hn.TemporaryRedirect,Hn.PermanentRedirect],$Je=[Hn.BadGateway,Hn.ServiceUnavailable,Hn.GatewayTimeout],jJe=["OPTIONS","GET","DELETE","HEAD"],WJe=10,JJe=5,oq=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},aq=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Xr(this,void 0,void 0,function*(){return new Promise(e=>Xr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Xr(this,void 0,void 0,function*(){return new Promise(e=>Xr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Go=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Xr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Xr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Xr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Xr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Xr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Xr(this,arguments,void 0,function*(r,n={}){n[Vi.Accept]=this._getExistingOrDefaultHeader(n,Vi.Accept,Qu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Vi.Accept]=this._getExistingOrDefaultHeader(s,Vi.Accept,Qu.ApplicationJson),s[Vi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Qu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Vi.Accept]=this._getExistingOrDefaultHeader(s,Vi.Accept,Qu.ApplicationJson),s[Vi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Qu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Vi.Accept]=this._getExistingOrDefaultHeader(s,Vi.Accept,Qu.ApplicationJson),s[Vi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Qu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Xr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&jJe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Hn.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&zJe.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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 u.readBody(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!$Je.includes(u.message.statusCode))return u;l+=1,l<c&&(yield u.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return u})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return Xr(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new aq(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=QL(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?cq:c0;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},a0(this.requestOptions.headers),a0(e||{})):a0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=a0(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=a0(this.requestOptions.headers)[Vi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Vi.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=QL(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||c0.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?rf.httpsOverHttps:rf.httpsOverHttp:l=u?rf.httpOverHttps:rf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new cq.Agent(c):new c0.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Qce.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Xr(this,void 0,void 0,function*(){e=Math.min(WJe,e);let r=JJe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Xr(this,void 0,void 0,function*(){return new Promise((n,i)=>Xr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Hn.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new oq(d,s);f.result=a.result,i(f)}else n(a)}))})}},a0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var YJe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var nf=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return YJe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Oce=require("os"),l0=require("fs");var lq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:KJe,appendFile:XJe,writeFile:ZJe}=l0.promises,Pce="GITHUB_STEP_SUMMARY";var uq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return lq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Pce];if(!e)throw new Error(`Unable to find environment variable for $${Pce}. Check if your runtime environment supports job summaries.`);try{yield KJe(e,l0.constants.R_OK|l0.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return lq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?ZJe:XJe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return lq(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(Oce.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},e9e=new uq;var dq=e9e;var Cq=N(require("os"),1);var Eq=require("string_decoder");var d0=N(require("os"),1),yq=N(require("events"),1),Jce=N(require("child_process"),1),Yce=N(require("path"),1);var Vce=require("assert"),no=N(require("path"),1);var u0=N(require("fs"),1),sf=N(require("path"),1);var fq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{chmod:hq,copyFile:Fce,lstat:_N,mkdir:Mce,open:D8t,readdir:pq,rename:t9e,rm:Uce,rmdir:Q8t,stat:rp,symlink:qce,unlink:Aq}=u0.promises,Mc=process.platform==="win32";function Gce(t){return fq(this,void 0,void 0,function*(){let e=yield u0.promises.readlink(t);return Mc&&!e.endsWith("\\")?`${e}\\`:e})}o(Gce,"readlink");var k8t=u0.constants.O_RDONLY;function hg(t){return fq(this,void 0,void 0,function*(){try{yield rp(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(hg,"exists");function TN(t){if(t=r9e(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Mc?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(TN,"isRooted");function mq(t,e){return fq(this,void 0,void 0,function*(){let r;try{r=yield rp(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Mc){let i=sf.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(Lce(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield rp(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Mc){try{let s=sf.dirname(t),a=sf.basename(t).toUpperCase();for(let c of yield pq(s))if(a===c.toUpperCase()){t=sf.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(Lce(r))return t}}return""})}o(mq,"tryGetExecutablePath");function r9e(t){return t=t||"",Mc?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(r9e,"normalizeSeparators");function Lce(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(Lce,"isUnixExecutable");var np=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function zce(t,e){return np(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=i9e(i),l=(yield hg(n))?yield rp(n):null;if(l&&l.isFile()&&!s)return;let u=l&&l.isDirectory()&&c?no.join(n,no.basename(r)):n;if(!(yield hg(r)))throw new Error(`no such file or directory: ${r}`);if((yield rp(r)).isDirectory())if(a)yield $ce(r,u,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(no.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield jce(r,u,s)}})}o(zce,"cp");function RN(t){return np(this,void 0,void 0,function*(){if(Mc&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Uce(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(RN,"rmRF");function ku(t){return np(this,void 0,void 0,function*(){(0,Vce.ok)(t,"a path argument must be provided"),yield Mce(t,{recursive:!0})})}o(ku,"mkdirP");function ci(t,e){return np(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield ci(t,!1);if(!n)throw Mc?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield n9e(t);return r&&r.length>0?r[0]:""})}o(ci,"which");function n9e(t){return np(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Mc&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(no.delimiter))i&&e.push(i);if(TN(t)){let i=yield mq(t,e);return i?[i]:[]}if(t.includes(no.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(no.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield mq(no.join(i,t),e);s&&n.push(s)}return n})}o(n9e,"findInPath");function i9e(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(i9e,"readCopyOptions");function $ce(t,e,r,n){return np(this,void 0,void 0,function*(){if(r>=255)return;r++,yield ku(e);let i=yield pq(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield _N(a)).isDirectory()?yield $ce(a,c,r,n):yield jce(a,c,n)}yield hq(e,(yield rp(t)).mode)})}o($ce,"cpDirRecursive");function jce(t,e,r){return np(this,void 0,void 0,function*(){if((yield _N(t)).isSymbolicLink()){try{yield _N(e),yield Aq(e)}catch(i){i.code==="EPERM"&&(yield hq(e,"0666"),yield Aq(e))}let n=yield Gce(t);yield qce(n,e,Mc?"junction":null)}else(!(yield hg(e))||r)&&(yield Fce(t,e))})}o(jce,"copyFile");var Kce=require("timers");var Wce=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},DN=process.platform==="win32",QN=class extends yq.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(DN)if(this._isCmdFile()){s+=n;for(let a of i)s+=` ${a}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let a of i)s+=` ${a}`}else{s+=this._windowsQuoteCmdArg(n);for(let a of i)s+=` ${this._windowsQuoteCmdArg(a)}`}else{s+=n;for(let a of i)s+=` ${a}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(d0.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+d0.EOL.length),s=i.indexOf(d0.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return DN&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(DN&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return Wce(this,void 0,void 0,function*(){return!TN(this.toolPath)&&(this.toolPath.includes("/")||DN&&this.toolPath.includes("\\"))&&(this.toolPath=Yce.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ci(this.toolPath,!0),new Promise((e,r)=>Wce(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+d0.EOL);let i=new gq(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield hg(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Jce.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!n.silent&&n.outStream&&n.outStream.write(u),c=this._processLineBuffer(u,c,d=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(d)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(u),l=this._processLineBuffer(u,l,d=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(d)})}),a.on("error",u=>{i.processError=u.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",u=>{i.processExitCode=u,i.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",u=>{i.processExitCode=u,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(u,d)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(d)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function Xce(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a<t.length;a++){let c=t.charAt(a);if(c==='"'){n?s(c):r=!r;continue}if(c==="\\"&&n){s(c);continue}if(c==="\\"&&r){n=!0;continue}if(c===" "&&!r){i.length>0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(Xce,"argStringToArray");var gq=class t extends yq.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,Kce.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 Zce=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function io(t,e,r){return Zce(this,void 0,void 0,function*(){let n=Xce(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new QN(i,e,r).exec()})}o(io,"exec");function Ag(t,e,r){return Zce(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new Eq.StringDecoder("utf8"),l=new Eq.StringDecoder("utf8"),u=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,d=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,f=o(g=>{a+=l.write(g),d&&d(g)},"stdErrListener"),h=o(g=>{s+=c.write(g),u&&u(g)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:h,stderr:f}),m=yield io(t,e,Object.assign(Object.assign({},r),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:m,stdout:s,stderr:a}})}o(Ag,"getExecOutput");var U8t=Cq.default.platform(),q8t=Cq.default.arch();var a9e=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},bq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(bq||(bq={}));function Fc(t){gu("add-mask",{},t)}o(Fc,"setSecret");function Uc(t){process.env.GITHUB_PATH||""?Qx("PATH",t):gu("add-path",{},t),process.env.PATH=`${t}${ele.delimiter}${process.env.PATH}`}o(Uc,"addPath");function li(t,e){let r=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!r)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?r:r.trim()}o(li,"getInput");function ip(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=li(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t}
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(ip,"getBooleanInput");function kN(t,e){if(process.env.GITHUB_OUTPUT||"")return Qx("OUTPUT",DL(t,e));process.stdout.write(wq.EOL),gu("set-output",{name:t},mu(e))}o(kN,"setOutput");function PN(t){process.exitCode=bq.Failure,gg(t)}o(PN,"setFailed");function sp(){return process.env.RUNNER_DEBUG==="1"}o(sp,"isDebug");function D(t){gu("debug",{},t)}o(D,"debug");function gg(t,e={}){gu("error",_L(e),t instanceof Error?t.toString():t)}o(gg,"error");function ut(t,e={}){gu("warning",_L(e),t instanceof Error?t.toString():t)}o(ut,"warning");function O(t){process.stdout.write(t+wq.EOL)}o(O,"info");function c9e(t){RL("group",t)}o(c9e,"startGroup");function l9e(){RL("endgroup")}o(l9e,"endGroup");function kr(t,e){return a9e(this,void 0,void 0,function*(){c9e(t);let r;try{r=yield e()}finally{l9e()}return r})}o(kr,"group");function Ja(t,e){if(process.env.GITHUB_STATE||"")return Qx("STATE",DL(t,e));gu("save-state",{name:t},mu(e))}o(Ja,"saveState");function tle(t){return process.env[`STATE_${t}`]||""}o(tle,"getState");var oI=N(require("fs"),1),G$=N(require("os"),1),H$=N(require("path"),1);var nle=N(require("os"),1);function f0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(f0,"toCommandValue");function ile(t,e,r){let n=new Iq(t,e,r);process.stdout.write(n.toString()+nle.EOL)}o(ile,"issueCommand");var rle="::",Iq=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=rle+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${d9e(i)}`)}}return e+=`${rle}${u9e(this.message)}`,e}};function u9e(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(u9e,"escapeData");function d9e(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(d9e,"escapeProperty");var cle=N(require("os"),1);var ole=require("os"),h0=require("fs");var Sq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:f9e,appendFile:h9e,writeFile:p9e}=h0.promises,sle="GITHUB_STEP_SUMMARY";var Bq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Sq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[sle];if(!e)throw new Error(`Unable to find environment variable for $${sle}. Check if your runtime environment supports job summaries.`);try{yield f9e(e,h0.constants.R_OK|h0.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return Sq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?p9e:h9e)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Sq(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(ole.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},m6t=new Bq;var xq=N(require("os"),1);var b6t=xq.default.platform(),w6t=xq.default.arch();var ale;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(ale||(ale={}));function vq(){return process.env.RUNNER_DEBUG==="1"}o(vq,"isDebug");function Zt(t){ile("debug",{},t)}o(Zt,"debug");function Nq(t){process.stdout.write(t+cle.EOL)}o(Nq,"info");var Yq=N(require("crypto"),1),Ni=N(require("fs"),1);var d7e=N(Wq(),1);var YN=N(require("os"),1),Ya=N(require("path"),1);var zo=N(Wq(),1),Zue=N(require("stream"),1),ede=N(require("util"),1),Kq=require("assert");var Xue=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},WN=class{static{o(this,"RetryHelper")}constructor(e,r,n){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(n),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return Xue(this,void 0,void 0,function*(){let n=1;for(;n<this.maxAttempts;){try{return yield e()}catch(s){if(r&&!r(s))throw s;Nq(s.message)}let i=this.getSleepAmount();Nq(`Waiting ${i} seconds before trying again`),yield this.sleep(i),n++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Xue(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e*1e3))})}};var Gc=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},JN=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},tde=process.platform==="win32",xJt=process.platform==="darwin",h7e="actions/tool-cache";function $o(t,e,r,n){return Gc(this,void 0,void 0,function*(){e=e||Ya.join(cde(),Yq.randomUUID()),yield ku(Ya.dirname(e)),Zt(`Downloading ${t}`),Zt(`Destination ${e}`);let i=3,s=Jq("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Jq("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new WN(i,s,a).execute(()=>Gc(this,void 0,void 0,function*(){return yield p7e(t,e||"",r,n)}),l=>!(l instanceof JN&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o($o,"downloadTool");function p7e(t,e,r,n){return Gc(this,void 0,void 0,function*(){if(Ni.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Go(h7e,[],{allowRetries:!1});r&&(Zt("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let d=new JN(s.message.statusCode);throw Zt(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),d}let a=ede.promisify(Zue.pipeline),l=Jq("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,Ni.createWriteStream(e)),Zt("download complete"),u=!0,e}finally{if(!u){Zt("download failed");try{yield RN(e)}catch(d){Zt(`Failed to delete '${e}'. ${d.message}`)}}}})}o(p7e,"downloadToolAttempt");function rde(t,e){return Gc(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield ode(n),Zt("Checking tar --version");let s="";yield io("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(d=>s+=d.toString(),"stdout"),stderr:o(d=>s+=d.toString(),"stderr")}}),Zt(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],vq()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return tde&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield io("tar",c),n})}o(rde,"extractTar");function nde(t,e){return Gc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield ode(e),tde?yield A7e(t,e):yield m7e(t,e),e})}o(nde,"extractZip");function A7e(t,e){return Gc(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ci("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];Zt(`Using pwsh at path: ${i}`),yield io(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield ci("powershell",!0);Zt(`Using powershell at path: ${c}`),yield io(`"${c}"`,a)}})}o(A7e,"extractZipWin");function m7e(t,e){return Gc(this,void 0,void 0,function*(){let r=yield ci("unzip",!0),n=[t];vq()||n.unshift("-q"),n.unshift("-o"),yield io(`"${r}"`,n,{cwd:e})})}o(m7e,"extractZipNix");function ide(t,e,r,n){return Gc(this,void 0,void 0,function*(){if(r=zo.clean(r)||r,n=n||YN.arch(),Zt(`Caching tool ${e} ${r} ${n}`),Zt(`source dir: ${t}`),!Ni.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield y7e(e,r,n);for(let s of Ni.readdirSync(t)){let a=Ya.join(t,s);yield zce(a,i,{recursive:!0})}return E7e(e,r,n),i})}o(ide,"cacheDir");function sde(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||YN.arch(),!ade(e)){let i=g7e(t,r);e=C7e(i,e)}let n="";if(e){e=zo.clean(e)||"";let i=Ya.join(KN(),t,e,r);Zt(`checking cache: ${i}`),Ni.existsSync(i)&&Ni.existsSync(`${i}.complete`)?(Zt(`Found tool in cache ${t} ${e} ${r}`),n=i):Zt("not found")}return n}o(sde,"find");function g7e(t,e){let r=[];e=e||YN.arch();let n=Ya.join(KN(),t);if(Ni.existsSync(n)){let i=Ni.readdirSync(n);for(let s of i)if(ade(s)){let a=Ya.join(n,s,e||"");Ni.existsSync(a)&&Ni.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(g7e,"findAllVersions");function ode(t){return Gc(this,void 0,void 0,function*(){return t||(t=Ya.join(cde(),Yq.randomUUID())),yield ku(t),t})}o(ode,"_createExtractFolder");function y7e(t,e,r){return Gc(this,void 0,void 0,function*(){let n=Ya.join(KN(),t,zo.clean(e)||e,r||"");Zt(`destination ${n}`);let i=`${n}.complete`;return yield RN(n),yield RN(i),yield ku(n),n})}o(y7e,"_createToolPath");function E7e(t,e,r){let i=`${Ya.join(KN(),t,zo.clean(e)||e,r||"")}.complete`;Ni.writeFileSync(i,""),Zt("finished caching tool")}o(E7e,"_completeToolPath");function ade(t){let e=zo.clean(t)||"";Zt(`isExplicit: ${e}`);let r=zo.valid(e)!=null;return Zt(`explicit? ${r}`),r}o(ade,"isExplicitVersion");function C7e(t,e){let r="";Zt(`evaluating ${t.length} versions`),t=t.sort((n,i)=>zo.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(zo.satisfies(i,e)){r=i;break}}return r?Zt(`matched: ${r}`):Zt("match not found"),r}o(C7e,"evaluateVersions");function KN(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Kq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(KN,"_getCacheDirectory");function cde(){let t=process.env.RUNNER_TEMP||"";return(0,Kq.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(cde,"_getTempDirectory");function Jq(t,e){let r=global[t];return r!==void 0?r:e}o(Jq,"_getGlobal");var sI=N(require("path"),1);var ude=N(require("os"),1);function b0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(b0,"toCommandValue");function dde(t,e,r){let n=new Xq(t,e,r);process.stdout.write(n.toString()+ude.EOL)}o(dde,"issueCommand");var lde="::",Xq=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=lde+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${w7e(i)}`)}}return e+=`${lde}${b7e(this.message)}`,e}};function b7e(t){return b0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(b7e,"escapeData");function w7e(t){return b0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(w7e,"escapeProperty");var hde=require("os"),w0=require("fs");var Zq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:I7e,appendFile:S7e,writeFile:B7e}=w0.promises,fde="GITHUB_STEP_SUMMARY";var e3=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Zq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[fde];if(!e)throw new Error(`Unable to find environment variable for $${fde}. Check if your runtime environment supports job summaries.`);try{yield I7e(e,w0.constants.R_OK|w0.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return Zq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?B7e:S7e)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Zq(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(hde.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},GJt=new e3;var t3=N(require("os"),1);var jJt=t3.default.platform(),WJt=t3.default.arch();var pde;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(pde||(pde={}));function jo(t){dde("debug",{},t)}o(jo,"debug");var Ig=N(require("fs"),1);function n3(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,jo(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,jo(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,jo(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,jo(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,jo(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(n3,"getOptions");var r_=N(require("path"),1);var Cg=N(require("path"),1),of=N(require("assert"),1);var af=process.platform==="win32";function Ou(t){if(t=Pu(t),af&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Cg.dirname(t);return af&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Pu(e)),e}o(Ou,"dirname");function XN(t,e){if((0,of.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,of.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),I0(e))return e;if(af){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,of.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(Ka(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,of.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,of.default)(I0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||af&&t.endsWith("\\")||(t+=Cg.sep),t+e}o(XN,"ensureAbsoluteRoot");function I0(t){return(0,of.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Ka(t),af?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(I0,"hasAbsoluteRoot");function S0(t){return(0,of.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Ka(t),af?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(S0,"hasRoot");function Ka(t){return t=t||"",af?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Ka,"normalizeSeparators");function Pu(t){return t?(t=Ka(t),!t.endsWith(Cg.sep)||t===Cg.sep||af&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Pu,"safeTrimTrailingSeparator");var Xa;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Xa||(Xa={}));var Ade=process.platform==="win32";function s3(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=Ade?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=Ade?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=Ou(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=Ou(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(s3,"getSearchPaths");function mde(t,e){let r=Xa.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(mde,"match");function gde(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(gde,"partialMatch");var Fde=N(require("os"),1),wg=N(require("path"),1);var lf=N(require("assert"),1),Mde=N(Lde(),1);var cp=N(require("path"),1);var bg=N(require("assert"),1);var X7e=process.platform==="win32",lp=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,bg.default)(e,"Parameter 'itemPath' must not be empty"),e=Pu(e),!S0(e))this.segments=e.split(cp.sep);else{let r=e,n=Ou(r);for(;n!==r;){let i=cp.basename(r);this.segments.unshift(i),r=n,n=Ou(r)}this.segments.unshift(r)}else{(0,bg.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];(0,bg.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Ka(e[r]),r===0&&S0(n)?(n=Pu(n),(0,bg.default)(n===Ou(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,bg.default)(!n.includes(cp.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(cp.sep)||X7e&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=cp.sep,e+=this.segments[n];return e}};var{Minimatch:Z7e}=Mde.default,Lu=process.platform==="win32",v0=class t{static{o(this,"Pattern")}constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],(0,lf.default)(n.length,"Parameter 'segments' must not empty");let u=t.getLiteral(n[0]);(0,lf.default)(u&&I0(u),"Parameter 'segments' first element must be a root path"),s=new lp(n).toString().trim(),e&&(s=`!${s}`)}for(;s.startsWith("!");)this.negate=!this.negate,s=s.substr(1).trim();s=t.fixupPattern(s,i),this.segments=new lp(s).segments,this.trailingSeparator=Ka(s).endsWith(wg.sep),s=Pu(s);let a=!1,c=this.segments.map(u=>t.getLiteral(u)).filter(u=>!a&&!(a=u===""));this.searchPath=new lp(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Lu?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Lu,nocomment:!0,noext:!0,nonegate:!0};s=Lu?s.replace(/\\/g,"/"):s,this.minimatch=new Z7e(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Ka(e),!e.endsWith(wg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${wg.sep}`)):e=Pu(e),this.minimatch.match(e)?this.trailingSeparator?Xa.Directory:Xa.All:Xa.None}partialMatch(e){return e=Pu(e),Ou(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Lu?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Lu?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,lf.default)(e,"pattern cannot be empty");let n=new lp(e).segments.map(i=>t.getLiteral(i));if((0,lf.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,lf.default)(!S0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Ka(e),e==="."||e.startsWith(`.${wg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${wg.sep}`))r=r||Fde.homedir(),(0,lf.default)(r,"Unable to determine HOME directory"),(0,lf.default)(I0(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Lu&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=XN("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Lu&&(e==="\\"||e.match(/^\\[^\\]/))){let i=XN("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=XN(t.globEscape(process.cwd()),e);return Ka(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!Lu&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",a=-1;for(let c=n+1;c<e.length;c++){let l=e[c];if(l==="\\"&&!Lu&&c+1<e.length){s+=e[++c];continue}else if(l==="]"){a=c;break}else s+=l}if(a>=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var N0=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var f3=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},eXe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},uf=function(t){return this instanceof uf?(this.v=t,this):new uf(t)},tXe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(m){return Promise.resolve(m).then(p,f)}}function c(p,m){n[p]&&(i[p]=function(g){return new Promise(function(E,y){s.push([p,g,E,y])>1||l(p,g)})},m&&(i[p]=m(i[p])))}function l(p,m){try{u(n[p](m))}catch(g){h(s[0][3],g)}}function u(p){p.value instanceof uf?Promise.resolve(p.value.v).then(d,f):h(s[0][2],p)}function d(p){l("next",p)}function f(p){l("throw",p)}function h(p,m){p(m),s.shift(),s.length&&l(s[0][0],s[0][1])}},rXe=process.platform==="win32",t_=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=n3(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return f3(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=eXe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let u=i;s.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return tXe(this,arguments,o(function*(){let r=n3(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new v0(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of s3(n)){jo(`Search path '${a}'`);try{yield uf(Ig.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new N0(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=mde(n,a.path),l=!!c||gde(n,a.path);if(!c&&!l)continue;let u=yield uf(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&r_.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Xa.Directory&&r.matchDirectories)yield yield uf(a.path);else if(!l)continue;let d=a.level+1,f=(yield uf(Ig.promises.readdir(a.path))).map(h=>new N0(r_.join(a.path,h),d));i.push(...f.reverse())}else c&Xa.File&&(yield yield uf(a.path))}},"globGenerator_1"))}static create(e,r){return f3(this,void 0,void 0,function*(){let n=new t(r);rXe&&(e=e.replace(/\r\n/g,`
`),e=e.replace(/\r/g,`
`));let i=e.split(`
`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new v0(s));return n.searchPaths.push(...s3(n.patterns)),n})}static stat(e,r,n){return f3(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Ig.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){jo(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield Ig.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield Ig.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){jo(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};var nXe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Ude(t,e){return nXe(this,void 0,void 0,function*(){return yield t_.create(t,e)})}o(Ude,"create");var y_=N(require("crypto"),1),vg=N(require("fs"),1),up=N(require("path"),1),Qhe=N(Rhe(),1),khe=N(require("util"),1);var k0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(k0||(k0={}));var Ji;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Ji||(Ji={}));var oo;(function(t){t.GNU="gnu",t.BSD="bsd"})(oo||(oo={}));var A_=2,m_=5e3,Q3=5e3,k3=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,Dhe=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,P0="cache.tar",P3="manifest.txt",xKt=10*Math.pow(1024,3),g_="cache read denied:";var xg=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},ftt=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},htt="1.0";function O0(){return xg(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=up.join(n,"actions","temp")}let r=up.join(e,y_.randomUUID());return yield ku(r),r})}o(O0,"createTempDirectory");function Vc(t){return vg.statSync(t).size}o(Vc,"getArchiveFileSizeInBytes");function O3(t){return xg(this,void 0,void 0,function*(){var e,r,n,i,s;let a=[],c=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),l=yield Ude(t.join(`
`),{implicitDescendants:!1});try{for(var u=!0,d=ftt(l.globGenerator()),f;f=yield d.next(),e=f.done,!e;u=!0){i=f.value,u=!1;let p=up.relative(c,i).replace(new RegExp(`\\${up.sep}`,"g"),"/");D(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(h){r={error:h}}finally{try{!u&&!e&&(n=d.return)&&(yield n.call(d))}finally{if(r)throw r.error}}return a})}o(O3,"resolvePaths");function L0(t){return xg(this,void 0,void 0,function*(){return khe.promisify(vg.unlink)(t)})}o(L0,"unlinkFile");function Phe(t){return xg(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),D(`Checking ${e} ${r.join(" ")}`);try{yield io(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(i=>n+=i.toString(),"stdout"),stderr:o(i=>n+=i.toString(),"stderr")}})}catch(i){D(i.message)}return n=n.trim(),D(n),n})}o(Phe,"getVersion");function F0(){return xg(this,void 0,void 0,function*(){let t=yield Phe("zstd",["--quiet"]),e=Qhe.clean(t);return D(`zstd version: ${e}`),t===""?Ji.Gzip:Ji.ZstdWithoutLong})}o(F0,"getCompressionMethod");function ff(t){return t===Ji.Gzip?k0.Gzip:k0.Zstd}o(ff,"getCacheFileName");function Ohe(){return xg(this,void 0,void 0,function*(){return vg.existsSync(k3)?k3:(yield Phe("tar")).toLowerCase().includes("gnu tar")?ci("tar"):""})}o(Ohe,"getGnuTarPathOnWindows");function L3(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(L3,"assertDefined");function Ng(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(htt),y_.createHash("sha256").update(n.join("|")).digest("hex")}o(Ng,"getCacheVersion");function Lhe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(Lhe,"getRuntimeToken");var U0=N(require("http"),1),U3=N(require("https"),1);function F3(t){let e=t.protocol==="https:";if(ptt(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 C_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new C_(`http://${r}`)}else return}o(F3,"getProxyUrl");function ptt(t){if(!t.hostname)return!1;let e=t.hostname;if(Att(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(ptt,"checkBypass");function Att(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Att,"isLoopbackAddress");var C_=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var hf=N(mm(),1),Fhe=N(tf(),1);var Zr=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Pr;(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"})(Pr||(Pr={}));var Yi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Yi||(Yi={}));var Fu;(function(t){t.ApplicationJson="application/json"})(Fu||(Fu={}));var gtt=[Pr.MovedPermanently,Pr.ResourceMoved,Pr.SeeOther,Pr.TemporaryRedirect,Pr.PermanentRedirect],ytt=[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout],Ett=["OPTIONS","GET","DELETE","HEAD"],Ctt=10,btt=5,zc=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},M3=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Mu=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Zr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Zr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Zr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Zr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Zr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Zr(this,arguments,void 0,function*(r,n={}){n[Yi.Accept]=this._getExistingOrDefaultHeader(n,Yi.Accept,Fu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Yi.Accept]=this._getExistingOrDefaultHeader(s,Yi.Accept,Fu.ApplicationJson),s[Yi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Yi.Accept]=this._getExistingOrDefaultHeader(s,Yi.Accept,Fu.ApplicationJson),s[Yi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Yi.Accept]=this._getExistingOrDefaultHeader(s,Yi.Accept,Fu.ApplicationJson),s[Yi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Zr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Ett.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Pr.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&gtt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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 u.readBody(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!ytt.includes(u.message.statusCode))return u;l+=1,l<c&&(yield u.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return u})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return Zr(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new M3(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=F3(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?U3:U0;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},M0(this.requestOptions.headers),M0(e||{})):M0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=M0(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=M0(this.requestOptions.headers)[Yi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Yi.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=F3(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||U0.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?hf.httpsOverHttps:hf.httpsOverHttp:l=u?hf.httpOverHttps:hf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new U3.Agent(c):new U0.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Fhe.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Zr(this,void 0,void 0,function*(){e=Math.min(Ctt,e);let r=btt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Zr(this,void 0,void 0,function*(){return new Promise((n,i)=>Zr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Pr.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new zc(d,s);f.result=a.result,i(f)}else n(a)}))})}},M0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var wtt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var _g=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return wtt(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var cy=N(require("fs"),1),fEe=require("url");var $c=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var Mhe=require("node:os"),Uhe=N(require("node:util"),1),qhe=N(require("node:process"),1);function Ghe(t,...e){qhe.default.stderr.write(`${Uhe.default.format(t,...e)}${Mhe.EOL}`)}o(Ghe,"log");var Hhe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,zhe,q3=[],G3=[],b_=[];Hhe&&H3(Hhe);var $he=Object.assign(t=>jhe(t),{enable:H3,enabled:V3,disable:Itt,log:Ghe});function H3(t){zhe=t,q3=[],G3=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?G3.push(r.substring(1)):q3.push(r);for(let r of b_)r.enabled=V3(r.namespace)}o(H3,"enable");function V3(t){if(t.endsWith("*"))return!0;for(let e of G3)if(Vhe(t,e))return!1;for(let e of q3)if(Vhe(t,e))return!0;return!1}o(V3,"enabled");function Vhe(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let h=[],p="";for(let m of e)m==="*"&&p==="*"||(p=m,h.push(m));r=h.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n<a&&i<s;)if(r[i]==="*"){if(c=i,i++,i===s)return!0;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else if(r[i]===t[n])i++,n++;else if(c>=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let u=n===t.length,d=i===r.length,f=i===r.length-1&&r[i]==="*";return u&&(d||f)}o(Vhe,"namespaceMatches");function Itt(){let t=zhe||"";return H3(""),t}o(Itt,"disable");function jhe(t){let e=Object.assign(r,{enabled:V3(t),destroy:Stt,log:$he.log,namespace:t,extend:Btt});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),b_.push(e),e}o(jhe,"createDebugger");function Stt(){let t=b_.indexOf(this);return t>=0?(b_.splice(t,1),!0):!1}o(Stt,"destroy");function Btt(t){let e=jhe(`${this.namespace}:${t}`);return e.log=this.log,e}o(Btt,"extend");var Tg=$he;var z3=["verbose","info","warning","error"],Whe={verbose:400,info:300,warning:200,error:100};function Jhe(t,e){e.log=(...r)=>{t.log(...r)}}o(Jhe,"patchLogMethod");function Yhe(t){return z3.includes(t)}o(Yhe,"isTypeSpecRuntimeLogLevel");function w_(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=Tg(t.namespace);i.log=(...d)=>{Tg.log(...d)};function s(d){if(d&&!Yhe(d))throw new Error(`Unknown log level '${d}'. Acceptable values: ${z3.join(",")}`);n=d;let f=[];for(let h of e)a(h)&&f.push(h.namespace);Tg.enable(f.join(","))}o(s,"contextSetLogLevel"),r&&(Yhe(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${z3.join(", ")}.`));function a(d){return!!(n&&Whe[d.level]<=Whe[n])}o(a,"shouldEnable");function c(d,f){let h=Object.assign(d.extend(f),{level:f});if(Jhe(d,h),a(h)){let p=Tg.disable();Tg.enable(p+","+h.namespace)}return e.add(h),h}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function u(d){let f=i.extend(d);return Jhe(i,f),{error:c(f,"error"),warning:c(f,"warning"),info:c(f,"info"),verbose:c(f,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:u,logger:i}}o(w_,"createLoggerContext");var Khe=w_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),xtt=Khe.logger;function q0(t){return Khe.createClientLogger(t)}o(q0,"createClientLogger");function I_(t){return t.toLowerCase()}o(I_,"normalizeName");function*vtt(t){for(let e of t.values())yield[e.name,e.value]}o(vtt,"headerIterator");var $3=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(I_(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(I_(e))?.value}has(e){return this._headersMap.has(I_(e))}delete(e){this._headersMap.delete(I_(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return vtt(this._headersMap)}};function ao(t){return new $3(t)}o(ao,"createHttpHeaders");function dp(){return crypto.randomUUID()}o(dp,"randomUUID");var j3=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??ao(),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||dp(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function S_(t){return new j3(t)}o(S_,"createPipelineRequest");var Xhe=new Set(["Deserialize","Serialize","Retry","Sign"]),W3=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!Xhe.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!Xhe.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(m){return{name:m,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),u=[i,s,a,c,l];function d(m){return m==="Retry"?c:m==="Serialize"?i:m==="Deserialize"?a:m==="Sign"?l:s}o(d,"getPhase");for(let m of this._policies){let g=m.policy,E=m.options,y=g.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let C={policy:g,dependsOn:new Set,dependants:new Set};E.afterPhase&&(C.afterPhase=d(E.afterPhase),C.afterPhase.hasAfterPolicies=!0),r.set(y,C),d(E.phase).policies.add(C)}for(let m of this._policies){let{policy:g,options:E}=m,y=g.name,C=r.get(y);if(!C)throw new Error(`Missing node for policy ${y}`);if(E.afterPolicies)for(let w of E.afterPolicies){let B=r.get(w);B&&(C.dependsOn.add(B),B.dependants.add(C))}if(E.beforePolicies)for(let w of E.beforePolicies){let B=r.get(w);B&&(B.dependsOn.add(C),C.dependants.add(B))}}function f(m){m.hasRun=!0;for(let g of m.policies)if(!(g.afterPhase&&(!g.afterPhase.hasRun||g.afterPhase.policies.size))&&g.dependsOn.size===0){e.push(g.policy);for(let E of g.dependants)E.dependsOn.delete(g);r.delete(g.policy.name),m.policies.delete(g)}}o(f,"walkPhase");function h(){for(let m of u){if(f(m),m.policies.size>0&&m!==s){s.hasRun||f(s);return}m.hasAfterPolicies&&f(s)}}o(h,"walkPhases");let p=0;for(;r.size>0;){p++;let m=e.length;if(h(),e.length<=m&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function B_(){return W3.create()}o(B_,"createEmptyPipeline");function Rg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Rg,"isObject");function fp(t){if(Rg(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(fp,"isError");var Zhe=require("node:util"),epe=Zhe.inspect.custom;var J3="REDACTED",Ntt=["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"],_tt=["api-version"],Za=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Ntt.concat(e),r=_tt.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||Rg(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,J3);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=J3;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=J3;return r}};var Ttt=new Za,Ki=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,epe,{value:o(()=>`RestError: ${this.message}
${Ttt.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function x_(t){return t instanceof Ki?!0:fp(t)&&t.name==="RestError"}o(x_,"isRestError");function Is(t,e){return Buffer.from(t,e)}o(Is,"stringToUint8Array");var v_=N(require("node:http"),1),N_=N(require("node:https"),1),Y3=N(require("node:zlib"),1),rpe=require("node:stream");var Yo=q0("ts-http-runtime");var Rtt={};function G0(t){return t&&typeof t.pipe=="function"}o(G0,"isReadableStream");function tpe(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(tpe,"isStreamComplete");function npe(t){return t&&typeof t.byteLength=="number"}o(npe,"isArrayBuffer");var __=class extends rpe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},K3=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new $c("The operation was aborted. Request has already been canceled.");n=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let u=new Za;Yo.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=Ptt(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let m=e.onUploadProgress,g=new __(m);g.on("error",E=>{Yo.error("Error in upload progress",E)}),G0(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let d=Dtt(u),h={status:u.statusCode??0,headers:d,request:e};if(e.method==="HEAD")return u.resume(),h;l=a?Qtt(u,d):u;let p=e.onDownloadProgress;if(p){let m=new __(p);m.on("error",g=>{Yo.error("Error in download progress",g)}),l.pipe(m),l=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(h.status)?h.readableStreamBody=l:h.bodyAsText=await ktt(l),h}finally{if(e.abortSignal&&n){let u=Promise.resolve();G0(c)&&(u=tpe(c));let d=Promise.resolve();G0(l)&&(d=tpe(l)),Promise.all([u,d]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(f=>{Yo.warning("Error when cleaning up abortListener on httpRequest",f)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let d=s?v_.default.request(c,l):N_.default.request(c,l);d.once("error",f=>{u(new Ki(f.message,{code:f.code??Ki.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let f=new $c("The operation was aborted. Rejecting from abort signal callback while making request.");d.destroy(f),u(f)}),n&&G0(n)?n.pipe(d):n?typeof n=="string"||Buffer.isBuffer(n)?d.end(n):npe(n)?d.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Yo.error("Unrecognized body type",n),u(new Ki("Unrecognized body type"))):d.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?v_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new v_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return N_.default.globalAgent;let i=e.tlsSettings??Rtt,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Yo.info("No cached TLS Agent exist, creating a new Agent"),s=new N_.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function Dtt(t){let e=ao();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(Dtt,"getResponseHeaders");function Qtt(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=Y3.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=Y3.default.createInflate();return t.pipe(n),n}return t}o(Qtt,"getDecodedResponseStream");function ktt(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Ki(`Error reading response as text: ${i.message}`,{code:Ki.PARSE_ERROR}))})})}o(ktt,"streamToText");function Ptt(t){return t?Buffer.isBuffer(t)?t.length:G0(t)?null:npe(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Ptt,"getBodyLength");function ipe(){return new K3}o(ipe,"createNodeHttpClient");function T_(){return ipe()}o(T_,"createDefaultHttpClient");var X3="logPolicy";function R_(t={}){let e=t.logger??Yo.info,r=new Za({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:X3,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(R_,"logPolicy");var D_="redirectPolicy",spe=["GET","HEAD"];function Q_(t={}){let{maxRetries:e=20}=t;return{name:D_,async sendRequest(r,n){let i=await n(r);return ope(n,i,e)}}}o(Q_,"redirectPolicy");async function ope(t,e,r,n=0){let{request:i,status:s,headers:a}=e,c=a.get("location");if(c&&(s===300||s===301&&spe.includes(i.method)||s===302&&spe.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n<r){let l=new URL(c,i.url);i.url=l.toString(),s===303&&(i.method="GET",i.headers.delete("Content-Length"),delete i.body),i.headers.delete("Authorization");let u=await t(i);return ope(t,u,r,n+1)}return e}o(ope,"handleRedirect");function ape(){return"User-Agent"}o(ape,"getHeaderName");function cpe(){return ape()}o(cpe,"getUserAgentHeaderName");var $7t=cpe();var k_="decompressResponsePolicy";function P_(){return{name:k_,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(P_,"decompressResponsePolicy");function H0(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(H0,"getRandomIntegerInclusive");function O_(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+H0(0,n/2)}}o(O_,"calculateRetryDelay");var Ott="The operation was aborted.";function lpe(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new $c(r?.abortErrorMsg?r?.abortErrorMsg:Ott)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(lpe,"delay");function upe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(upe,"parseHeaderValueAsNumber");var Z3="Retry-After",Ltt=["retry-after-ms","x-ms-retry-after-ms",Z3];function dpe(t){if(t&&[429,503].includes(t.status))try{for(let i of Ltt){let s=upe(t,i);if(s===0||s)return s*(i===Z3?1e3:1)}let e=t.headers.get(Z3);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(dpe,"getRetryAfterInMs");function fpe(t){return Number.isFinite(dpe(t))}o(fpe,"isThrottlingRetryResponse");function eG(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=dpe(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(eG,"throttlingRetryStrategy");var Ftt=1e3,Mtt=1e3*64;function L_(t={}){let e=t.retryDelayInMs??Ftt,r=t.maxRetryDelayInMs??Mtt;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=qtt(s),c=a&&t.ignoreSystemErrors,l=Utt(i),u=l&&t.ignoreHttpStatusCodes;return i&&(fpe(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:O_(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(L_,"exponentialRetryStrategy");function Utt(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Utt,"isExponentialRetryResponse");function qtt(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(qtt,"isSystemError");var Gtt=q0("ts-http-runtime retryPolicy"),Htt="retryPolicy";function pp(t,e={maxRetries:3}){let r=e.logger||Gtt;return{name:Htt,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new $c;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let d=l.retry({retryCount:c,response:s,responseError:a});if(d.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:f,retryAfterInMs:h,redirectTo:p}=d;if(f)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,f),f;if(h||h===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${h}`),await lpe(h,void 0,{abortSignal:n.abortSignal});continue e}if(p){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(pp,"retryPolicy");var tG="defaultRetryPolicy";function F_(t={}){return{name:tG,sendRequest:pp([eG(),L_(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(F_,"defaultRetryPolicy");var hpe=typeof window<"u"&&typeof window.document<"u",ppe=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Ape=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",mpe=typeof Bun<"u"&&typeof Bun.version<"u",Ap=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var gpe=typeof navigator<"u"&&navigator?.product==="ReactNative";var rG="formDataPolicy";function Vtt(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(Vtt,"formDataToFormDataMap");function M_(){return{name:rG,async sendRequest(t,e){if(Ap&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Vtt(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=ztt(t.formData):await $tt(t.formData,t),t.formData=void 0}return e(t)}}}o(M_,"formDataPolicy");function ztt(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(ztt,"wwwFormUrlEncode");async function $tt(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:ao({"Content-Disposition":`form-data; name="${i}"`}),body:Is(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=ao();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o($tt,"prepareFormData");var tAe=N(qpe(),1),rAe=N(Kpe(),1);var tnt="HTTPS_PROXY",rnt="HTTP_PROXY",nnt="ALL_PROXY",int="NO_PROXY",uG="proxyPolicy",Xpe=[],nAe=!1,snt=new Map;function J_(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(J_,"getEnvironmentValue");function iAe(){if(!process)return;let t=J_(tnt),e=J_(nnt),r=J_(rnt);return t||e||r}o(iAe,"loadEnvironmentProxyValue");function ont(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(ont,"isBypassed");function ant(){let t=J_(int);return nAe=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(ant,"loadNoProxy");function dG(t){if(!t&&(t=iAe(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(dG,"getDefaultProxySettings");function cnt(){let t=iAe();return t?new URL(t):void 0}o(cnt,"getDefaultProxySettingsInternal");function Zpe(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(Zpe,"getUrlFromProxySettings");function eAe(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&Yo.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new rAe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new tAe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(eAe,"setProxyAgentOnRequest");function Y_(t,e){nAe||Xpe.push(...ant());let r=t?Zpe(t):cnt(),n={};return{name:uG,async sendRequest(i,s){return!i.proxySettings&&r&&!ont(i.url,e?.customNoProxyList??Xpe,e?.customNoProxyList?void 0:snt)?eAe(i,n,r):i.proxySettings&&eAe(i,n,Zpe(i.proxySettings)),s(i)}}}o(Y_,"proxyPolicy");var fG="agentPolicy";function K_(t){return{name:fG,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(K_,"agentPolicy");var hG="tlsPolicy";function X_(t){return{name:hG,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(X_,"tlsPolicy");function Z_(t){return typeof t.stream=="function"}o(Z_,"isBlob");var eT=require("stream");async function*sAe(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(sAe,"streamAsyncIterator");function lnt(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=sAe.bind(t)),t.values||(t.values=sAe.bind(t))}o(lnt,"makeAsyncIterable");function oAe(t){return t instanceof ReadableStream?(lnt(t),eT.Readable.fromWeb(t)):t}o(oAe,"ensureNodeStream");function unt(t){return t instanceof Uint8Array?eT.Readable.from(Buffer.from(t)):Z_(t)?oAe(t.stream()):oAe(t)}o(unt,"toStream");async function aAe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(unt);return eT.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(aAe,"concat");function dnt(){return`----AzSDKFormBoundary${dp()}`}o(dnt,"generateBoundary");function fnt(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
`;return e}o(fnt,"encodeHeaders");function hnt(t){return t instanceof Uint8Array?t.byteLength:Z_(t)?t.size===-1?void 0:t.size:void 0}o(hnt,"getLength");function pnt(t){let e=0;for(let r of t){let n=hnt(r);if(n===void 0)return;e+=n}return e}o(pnt,"getTotalLength");async function Ant(t,e,r){let n=[Is(`--${r}`,"utf-8"),...e.flatMap(s=>[Is(`\r
`,"utf-8"),Is(fnt(s.headers),"utf-8"),Is(`\r
`,"utf-8"),s.body,Is(`\r
--${r}`,"utf-8")]),Is(`--\r
\r
`,"utf-8")],i=pnt(n);i&&t.headers.set("Content-Length",i),t.body=await aAe(n)}o(Ant,"buildRequestBody");var z0="multipartPolicy",mnt=70,gnt=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function ynt(t){if(t.length>mnt)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!gnt.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(ynt,"assertValidBoundary");function tT(){return{name:z0,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?ynt(r):r=dnt(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Ant(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(tT,"multipartPolicy");function rT(){return B_()}o(rT,"createEmptyPipeline");var cAe=w_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),Str=cAe.logger;function Jc(t){return cAe.createClientLogger(t)}o(Jc,"createClientLogger");var Yc=Jc("core-rest-pipeline");function mG(t={}){return R_({logger:Yc.info,...t})}o(mG,"logPolicy");var gG=D_;function yG(t={}){return Q_(t)}o(yG,"redirectPolicy");var nT=N(require("node:os"),1),iT=N(require("node:process"),1);function lAe(){return"User-Agent"}o(lAe,"getHeaderName");async function uAe(t){if(iT.default&&iT.default.versions){let e=`${nT.default.type()} ${nT.default.release()}; ${nT.default.arch()}`,r=iT.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(uAe,"setPlatformSpecificData");var sT="1.22.2";function xnt(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(xnt,"getUserAgentString");function dAe(){return lAe()}o(dAe,"getUserAgentHeaderName");async function oT(t){let e=new Map;e.set("core-rest-pipeline",sT),await uAe(e);let r=xnt(e);return t?`${t} ${r}`:r}o(oT,"getUserAgentValue");var fAe=dAe(),hAe="userAgentPolicy";function EG(t={}){let e=oT(t.userAgentPrefix);return{name:hAe,async sendRequest(r,n){return r.headers.has(fAe)||r.headers.set(fAe,await e),n(r)}}}o(EG,"userAgentPolicy");var fo=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function CG(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new fo(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(d=>{l(),s(d)},d=>{l(),a(d)})}catch(d){a(d)}n?.addEventListener("abort",u)})}o(CG,"createAbortablePromise");var Rnt="The delay was aborted.";function $0(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return CG(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Rnt})}o($0,"delay");function Af(t){if(fp(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Af,"getErrorMessage");function pAe(t){return fp(t)}o(pAe,"isError");function Lg(){return dp()}o(Lg,"randomUUID");var Lt=Ap;var AAe=Symbol("rawContent");function wG(t){return typeof t[AAe]=="function"}o(wG,"hasRawContent");function mAe(t){return wG(t)?t[AAe]():t}o(mAe,"getRawContent");var aT=z0;function IG(){let t=tT();return{name:aT,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)wG(n.body)&&(n.body=mAe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(IG,"multipartPolicy");var SG=k_;function BG(){return P_()}o(BG,"decompressResponsePolicy");function xG(t={}){return F_(t)}o(xG,"defaultRetryPolicy");function vG(){return M_()}o(vG,"formDataPolicy");function mf(t){return dG(t)}o(mf,"getDefaultProxySettings");function NG(t,e){return Y_(t,e)}o(NG,"proxyPolicy");var gAe="setClientRequestIdPolicy";function _G(t="x-ms-client-request-id"){return{name:gAe,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(_G,"setClientRequestIdPolicy");function TG(t){return K_(t)}o(TG,"agentPolicy");function RG(t){return X_(t)}o(RG,"tlsPolicy");var Fg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function yAe(t={}){let e=new DG(t.parentContext);return t.span&&(e=e.setValue(Fg.span,t.span)),t.namespace&&(e=e.setValue(Fg.namespace,t.namespace)),e}o(yAe,"createTracingContext");var DG=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var CAe=N(EAe(),1),lT=CAe.state;function Dnt(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Dnt,"createDefaultTracingSpan");function Qnt(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Dnt(),tracingContext:yAe({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Qnt,"createDefaultInstrumenter");function j0(){return lT.instrumenterImplementation||(lT.instrumenterImplementation=Qnt()),lT.instrumenterImplementation}o(j0,"getInstrumenter");function W0(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(u,d,f){let h=j0().startSpan(u,{...f,packageName:r,packageVersion:n,tracingContext:d?.tracingOptions?.tracingContext}),p=h.tracingContext,m=h.span;p.getValue(Fg.namespace)||(p=p.setValue(Fg.namespace,e)),m.setAttribute("az.namespace",p.getValue(Fg.namespace));let g=Object.assign({},d,{tracingOptions:{...d?.tracingOptions,tracingContext:p}});return{span:m,updatedOptions:g}}o(i,"startSpan");async function s(u,d,f,h){let{span:p,updatedOptions:m}=i(u,d,h);try{let g=await a(m.tracingOptions.tracingContext,()=>Promise.resolve(f(m,p)));return p.setStatus({status:"success"}),g}catch(g){throw p.setStatus({status:"error",error:g}),g}finally{p.end()}}o(s,"withSpan");function a(u,d,...f){return j0().withContext(u,d,...f)}o(a,"withContext");function c(u){return j0().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return j0().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(W0,"createTracingClient");var Uu=Ki;function gp(t){return x_(t)}o(gp,"isRestError");var bAe="tracingPolicy";function QG(t={}){let e=oT(t.userAgentPrefix),r=new Za({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=knt();return{name:bAe,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=Pnt(n,i,c)??{};if(!l||!u)return s(i);try{let d=await n.withContext(u,s,i);return Lnt(l,d),d}catch(d){throw Ont(l,d),d}}}}o(QG,"tracingPolicy");function knt(){try{return W0({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:sT})}catch(t){Yc.warning(`Error when creating the TracingClient: ${Af(t)}`);return}}o(knt,"tryCreateTracingClient");function Pnt(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){Yc.warning(`Skipping creating a tracing span due to an error: ${Af(n)}`);return}}o(Pnt,"tryCreateSpan");function Ont(t,e){try{t.setStatus({status:"error",error:pAe(e)?e:void 0}),gp(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Yc.warning(`Skipping tracing span processing due to an error: ${Af(r)}`)}}o(Ont,"tryProcessError");function Lnt(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){Yc.warning(`Skipping tracing span processing due to an error: ${Af(r)}`)}}o(Lnt,"tryProcessResponse");function uT(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(uT,"wrapAbortSignalLike");var Fnt="wrapAbortSignalLikePolicy";function wAe(){return{name:Fnt,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=uT(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(wAe,"wrapAbortSignalLikePolicy");function kG(t){let e=rT();return Lt&&(t.agent&&e.addPolicy(TG(t.agent)),t.tlsOptions&&e.addPolicy(RG(t.tlsOptions)),e.addPolicy(NG(t.proxyOptions)),e.addPolicy(BG())),e.addPolicy(wAe()),e.addPolicy(vG(),{beforePolicies:[aT]}),e.addPolicy(EG(t.userAgentOptions)),e.addPolicy(_G(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(IG(),{afterPhase:"Deserialize"}),e.addPolicy(xG(t.retryOptions),{phase:"Retry"}),e.addPolicy(QG({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Lt&&e.addPolicy(yG(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(mG(t.loggingOptions),{afterPhase:"Sign"}),e}o(kG,"createPipelineFromOptions");function J0(){let t=T_();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?uT(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(J0,"createDefaultHttpClient");function qu(t){return ao(t)}o(qu,"createHttpHeaders");function Y0(t){return S_(t)}o(Y0,"createPipelineRequest");var esr=Jc("core-rest-pipeline retryPolicy");var Mnt={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Unt(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let s=await t();if(s===null)throw new Error("Failed to refresh access token.");return s}}o(n,"tryGetAccessToken");let i=await n();for(;i===null;)await $0(e),i=await n();return i}o(Unt,"beginRefresh");function PG(t,e){let r=null,n=null,i,s={...Mnt,...e},a={get isRefreshing(){return r!==null},get shouldRefresh(){return a.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:(n?.expiresOnTimestamp??0)-s.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function c(l,u){return a.isRefreshing||(r=Unt(o(()=>t.getToken(l,u),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(f=>(r=null,n=f,i=u.tenantId,n)).catch(f=>{throw r=null,n=null,i=void 0,f})),r}return o(c,"refresh"),async(l,u)=>{let d=!!u.claims,f=i!==u.tenantId;return d&&(n=null),f||d||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),n)}}o(PG,"createTokenCycler");var xAe="bearerTokenAuthenticationPolicy";async function dT(t,e){try{return[await e(t),void 0]}catch(r){if(gp(r)&&r.response)return[r.response,r];throw r}}o(dT,"trySendRequest");async function qnt(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(qnt,"defaultAuthorizeRequest");function IAe(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(IAe,"isChallengeResponse");async function SAe(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(SAe,"authorizeRequestOnCaeChallenge");function Mg(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||Yc,s={authorizeRequest:n?.authorizeRequest?.bind(n)??qnt,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?PG(e):()=>Promise.resolve(null);return{name:xAe,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let u,d,f;if([u,d]=await dT(c,l),IAe(u)){let h=BAe(u.headers.get("WWW-Authenticate"));if(h){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}f=await SAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await dT(c,l))}else if(s.authorizeRequestOnChallenge&&(f=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:i}),f&&([u,d]=await dT(c,l)),IAe(u)&&(h=BAe(u.headers.get("WWW-Authenticate")),h))){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}f=await SAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await dT(c,l))}}if(d)throw d;return u}}}o(Mg,"bearerTokenAuthenticationPolicy");function Gnt(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(Gnt,"parseChallenges");function BAe(t){return t?Gnt(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(BAe,"getCaeChallengeClaims");function ho(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(ho,"isTokenCredential");var OG="DisableKeepAlivePolicy";function vAe(){return{name:OG,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(vAe,"createDisableKeepAlivePolicy");function NAe(t){return t.getOrderedPolicies().some(e=>e.name===OG)}o(NAe,"pipelineContainsDisableKeepAlivePolicy");function LG(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(LG,"encodeByteArray");function FG(t){return Buffer.from(t,"base64")}o(FG,"decodeString");function Vnt(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(Vnt,"isPrimitiveBody");var znt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _Ae(t){return znt.test(t)}o(_Ae,"isDuration");var $nt=/^[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 TAe(t){return $nt.test(t)}o(TAe,"isValidUuid");function jnt(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(jnt,"handleNullableResponseAndWrappableBody");function MG(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return jnt({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:Vnt(t.parsedBody,s)})}o(MG,"flattenResponse");var UG=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:d,MinItems:f,MinLength:h,MultipleOf:p,Pattern:m,UniqueItems:g}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&r<l&&i("InclusiveMinimum",l),u!==void 0&&r.length>u&&i("MaxItems",u),d!==void 0&&r.length>d&&i("MaxLength",d),f!==void 0&&r.length<f&&i("MinItems",f),h!==void 0&&r.length<h&&i("MinLength",h),p!==void 0&&r%p!==0&&i("MultipleOf",p),m){let E=typeof m=="string"?new RegExp(m):m;(typeof r!="string"||r.match(E)===null)&&i("Pattern",m)}g&&r.some((E,y,C)=>C.indexOf(E)!==y)&&i("UniqueItems",g)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=Znt(c,n,r):c.match(/^Enum$/i)!==null?a=eit(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=nit(c,r,n):c.match(/^ByteArray$/i)!==null?a=tit(n,r):c.match(/^Base64Url$/i)!==null?a=rit(n,r):c.match(/^Sequence$/i)!==null?a=iit(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=sit(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=ait(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=lit(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r["$"]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=Xnt(r):c.match(/^ByteArray$/i)!==null?a=FG(r):c.match(/^Base64Url$/i)!==null?a=Ynt(r):c.match(/^Sequence$/i)!==null?a=dit(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=uit(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function po(t={},e=!1){return new UG(t,e)}o(po,"createSerializer");function Wnt(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(Wnt,"trimEnd");function Jnt(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=LG(t);return Wnt(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(Jnt,"bufferToBase64Url");function Ynt(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,"/"),FG(t)}}o(Ynt,"base64UrlToByteArray");function qG(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(qG,"splitSerializeName");function Knt(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Knt,"dateToUnixTime");function Xnt(t){if(t)return new Date(t*1e3)}o(Xnt,"unixTimeToDate");function Znt(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"&&TAe(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(Znt,"serializeBasicTypes");function eit(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(eit,"serializeEnumType");function tit(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=LG(e)}return e}o(tit,"serializeByteArrayType");function rit(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Jnt(e)}return e}o(rit,"serializeBase64UrlType");function nit(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=Knt(e)}else if(t.match(/^TimeSpan$/i)!==null&&!_Ae(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(nit,"serializeDateTypes");function iit(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;l<r.length;l++){let u=t.serialize(a,r[l],n,s);if(i&&a.xmlNamespace){let d=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(c[l]={...u},c[l]["$"]={[d]:a.xmlNamespace}):(c[l]={},c[l][s.xml.xmlCharKey]=u,c[l]["$"]={[d]:a.xmlNamespace})}else c[l]=u}return c}o(iit,"serializeSequenceType");function sit(t,e,r,n,i,s){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let a=e.type.value;if(!a||typeof a!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let c={};for(let l of Object.keys(r)){let u=t.serialize(a,r[l],n,s);c[l]=kAe(a,u,i,s)}if(i&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",u=c;return u["$"]={[l]:e.xmlNamespace},u}return c}o(sit,"serializeDictionaryType");function oit(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?DAe(t,e,r)?.type.additionalProperties:n}o(oit,"resolveAdditionalProperties");function DAe(t,e,r){let n=e.type.className;if(!n)throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(e,void 0,2)}".`);return t.modelMappers[n]}o(DAe,"resolveReferencedMapper");function QAe(t,e,r){let n=e.type.modelProperties;if(!n){let i=DAe(t,e,r);if(!i)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=i?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${e.type.className}" for object "${r}".`)}return n}o(QAe,"resolveModelProperties");function ait(t,e,r,n,i,s){if(fT(t,e)&&(e=PAe(t,e,r,"clientName")),r!=null){let a={},c=QAe(t,e,n);for(let u of Object.keys(c)){let d=c[u];if(d.readOnly)continue;let f,h=a;if(t.isXML)d.xmlIsWrapped?f=d.xmlName:f=d.xmlElementName||d.xmlName;else{let p=qG(d.serializedName);f=p.pop();for(let m of p){let g=h[m];g==null&&(r[u]!==void 0&&r[u]!==null||d.defaultValue!==void 0)&&(h[m]={}),h=h[m]}}if(h!=null){if(i&&e.xmlNamespace){let y=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";h["$"]={...h["$"],[y]:e.xmlNamespace}}let p=d.serializedName!==""?n+"."+d.serializedName:n,m=r[u],g=fT(t,e);g&&g.clientName===u&&m==null&&(m=e.serializedName);let E=t.serialize(d,m,p,s);if(E!==void 0&&f!==void 0&&f!==null){let y=kAe(d,E,i,s);i&&d.xmlIsAttribute?(h["$"]=h["$"]||{},h["$"][f]=E):i&&d.xmlIsWrapped?h[f]={[d.xmlElementName]:y}:h[f]=y}}}let l=oit(t,e,n);if(l){let u=Object.keys(c);for(let d in r)u.every(h=>h!==d)&&(a[d]=t.serialize(l,r[d],n+'["'+d+'"]',s))}return a}return r}o(ait,"serializeCompositeType");function kAe(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a["$"]=s,a}o(kAe,"getXmlObjectValue");function cit(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(cit,"isSpecialXmlProperty");function lit(t,e,r,n,i){let s=i.xml.xmlCharKey??"_";fT(t,e)&&(e=PAe(t,e,r,"serializedName"));let a=QAe(t,e,n),c={},l=[];for(let d of Object.keys(a)){let f=a[d],h=qG(a[d].serializedName);l.push(h[0]);let{serializedName:p,xmlName:m,xmlElementName:g}=f,E=n;p!==""&&p!==void 0&&(E=n+"."+p);let y=f.headerCollectionPrefix;if(y){let C={};for(let w of Object.keys(r))w.startsWith(y)&&(C[w.substring(y.length)]=t.deserialize(f.type.value,r[w],E,i)),l.push(w);c[d]=C}else if(t.isXML)if(f.xmlIsAttribute&&r["$"])c[d]=t.deserialize(f,r["$"][m],E,i);else if(f.xmlIsMsText)r[s]!==void 0?c[d]=r[s]:typeof r=="string"&&(c[d]=r);else{let C=g||m||p;if(f.xmlIsWrapped){let B=r[m]?.[g]??[];c[d]=t.deserialize(f,B,E,i),l.push(m)}else{let w=r[C];c[d]=t.deserialize(f,w,E,i),l.push(C)}}else{let C,w=r,B=0;for(let v of h){if(!w)break;B++,w=w[v]}w===null&&B<h.length&&(w=void 0),C=w;let Q=e.type.polymorphicDiscriminator;Q&&d===Q.clientName&&C==null&&(C=e.serializedName);let q;if(Array.isArray(r[d])&&a[d].serializedName===""){C=r[d];let v=t.deserialize(f,C,E,i);for(let[$,R]of Object.entries(c))Object.prototype.hasOwnProperty.call(v,$)||(v[$]=R);c=v}else(C!==void 0||f.defaultValue!==void 0)&&(q=t.deserialize(f,C,E,i),c[d]=q)}}let u=e.type.additionalProperties;if(u){let d=o(f=>{for(let h in a)if(qG(a[h].serializedName)[0]===f)return!1;return!0},"isAdditionalProperty");for(let f in r)d(f)&&(c[f]=t.deserialize(u,r[f],n+'["'+f+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let d of Object.keys(r))c[d]===void 0&&!l.includes(d)&&!cit(d,i)&&(c[d]=r[d]);return c}o(lit,"deserializeCompositeType");function uit(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(uit,"deserializeDictionaryType");function dit(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c<r.length;c++)a[c]=t.deserialize(s,r[c],`${n}[${c}]`,i);return a}return r}o(dit,"deserializeSequenceType");function fit(t,e,r){let n=[r];for(;n.length;){let i=n.shift(),s=e===i?e:i+"."+e;if(Object.prototype.hasOwnProperty.call(t,s))return t[s];for(let[a,c]of Object.entries(t))a.startsWith(i+".")&&c.type.uberParent===i&&c.type.className&&n.push(c.type.className)}}o(fit,"getIndexDiscriminator");function PAe(t,e,r,n){let i=fT(t,e);if(i){let s=i[n];if(s){n==="serializedName"&&(s=s.replace(/\\/gi,""));let a=r[s],c=e.type.uberParent??e.type.className;if(typeof a=="string"&&c){let l=fit(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(PAe,"getPolymorphicMapper");function fT(t,e){return e.type.polymorphicDiscriminator||RAe(t,e.type.uberParent)||RAe(t,e.type.className)}o(fT,"getPolymorphicDiscriminatorRecursively");function RAe(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(RAe,"getPolymorphicDiscriminatorSafely");var Kc={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 LAe=N(OAe(),1),GG=LAe.state;function yf(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=FAe(t,n);!a.propertyFound&&r&&(a=FAe(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],u=yf(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(yf,"getOperationArgumentValueFromParameter");function FAe(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let i=e[n];if(t&&i in t)t=t[i];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}o(FAe,"getPropertyFromParameterPath");var MAe=Symbol.for("@azure/core-client original request");function hit(t){return MAe in t}o(hit,"hasOriginalRequest");function Gu(t){if(hit(t))return Gu(t[MAe]);let e=GG.operationRequestMap.get(t);return e||(e={},GG.operationRequestMap.set(t,e)),e}o(Gu,"getOperationRequestInfo");var pit=["application/json","text/json"],Ait=["application/xml","application/atom+xml"],UAe="deserializationPolicy";function HG(t={}){let e=t.expectedContentTypes?.json??pit,r=t.expectedContentTypes?.xml??Ait,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}};return{name:UAe,async sendRequest(a,c){let l=await c(a);return yit(e,r,l,s,n)}}}o(HG,"deserializationPolicy");function mit(t){let e,r=t.request,n=Gu(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(mit,"getOperationResponseMap");function git(t){let e=t.request,n=Gu(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(git,"shouldDeserializeResponse");async function yit(t,e,r,n,i){let s=await bit(t,e,r,n,i);if(!git(s))return s;let c=Gu(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=mit(s),{error:u,shouldReturnResponse:d}=Cit(s,c,l,n);if(u)throw u;if(d)return s;if(l){if(l.bodyMapper){let f=s.parsedBody;c.isXML&&l.bodyMapper.type.name===Kc.Sequence&&(f=typeof f=="object"?f[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,f,"operationRes.parsedBody",n)}catch(h){throw new Uu(`Error ${h} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(yit,"deserializeResponseBody");function Eit(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Eit,"isOperationSpecEmpty");function Cit(t,e,r,n){let i=200<=t.status&&t.status<300;if(Eit(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Uu(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,d=a?.headersMapper;try{if(t.parsedBody){let f=t.parsedBody,h;if(u){let m=f;if(e.isXML&&u.type.name===Kc.Sequence){m=[];let g=u.xmlElementName;typeof f=="object"&&g&&(m=f[g])}h=e.serializer.deserialize(u,m,"error.response.parsedBody",n)}let p=f.error||h||f;l.code=p.code,p.message&&(l.message=p.message),u&&(l.response.parsedBody=h)}t.headers&&d&&(l.response.parsedHeaders=e.serializer.deserialize(d,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(f){l.message=`Error "${f.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(Cit,"handleErrorResponse");async function bit(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,d=l.code||Uu.PARSE_ERROR;throw new Uu(u,{code:d,statusCode:r.status,request:r.request,response:r})}}return r}o(bit,"parse");function qAe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Kc.Stream&&e.add(Number(r))}return e}o(qAe,"getStreamingResponseStatusCodes");function Xc(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(Xc,"getPathStringFromParameter");var GAe="serializationPolicy";function pT(t={}){let e=t.stringifyXML;return{name:GAe,async sendRequest(r,n){let i=Gu(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(wit(r,a,s),Iit(r,a,s,e)),n(r)}}}o(pT,"serializationPolicy");function wit(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=yf(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,Xc(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||Xc(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(wit,"serializeHeaders");function Iit(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=yf(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:d,xmlElementName:f,xmlNamespace:h,xmlNamespacePrefix:p,nullable:m}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||m&&t.body===null||l){let E=Xc(r.requestBody);t.body=r.serializer.serialize(c,t.body,E,s);let y=g===Kc.Stream;if(r.isXML){let C=p?`xmlns:${p}`:"xmlns",w=Sit(h,C,g,t.body,s);g===Kc.Sequence?t.body=n(Bit(w,f||d||u,C,h),{rootName:d||u,xmlCharKey:a}):y||(t.body=n(w,{rootName:d||u,xmlCharKey:a}))}else{if(g===Kc.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(E){throw new Error(`Error "${E.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=yf(e,c);if(l!=null){let u=c.mapper.serializedName||Xc(c);t.formData[u]=r.serializer.serialize(c.mapper,l,Xc(c),s)}}}}o(Iit,"serializeRequestBody");function Sit(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s["$"]={[e]:t},s}return n}o(Sit,"getXmlValueWithNamespace");function Bit(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i["$"]={[r]:n},i}o(Bit,"prepareXMLRootList");function K0(t={}){let e=kG(t??{});return t.credentialOptions&&e.addPolicy(Mg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(pT(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(HG(t.deserializationOptions),{phase:"Deserialize"}),e}o(K0,"createClientPipeline");var VG;function HAe(){return VG||(VG=J0()),VG}o(HAe,"getCachedDefaultHttpClient");var xit={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function zAe(t,e,r,n){let i=vit(e,r,n),s=!1,a=VAe(t,i);if(e.path){let u=VAe(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),Nit(u)?(a=u,s=!0):a=_it(a,u)}let{queryParams:c,sequenceParams:l}=Tit(e,r,n);return a=Dit(a,c,l,s),a}o(zAe,"getRequestUrl");function VAe(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(VAe,"replaceAll");function vit(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=yf(e,i,r),a=Xc(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(vit,"calculateUrlReplacements");function Nit(t){return t.includes("://")}o(Nit,"isAbsoluteUrl");function _it(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(_it,"appendPath");function Tit(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=yf(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,Xc(s));let c=s.collectionFormat?xit[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||Xc(s),a)}}return{queryParams:n,sequenceParams:i}}o(Tit,"calculateQueryParameters");function Rit(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(Rit,"simpleParseQueryParams");function Dit(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=Rit(i.search);for(let[c,l]of e){let u=s.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let d=new Set(u);s.set(c,Array.from(d))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&s.set(c,[u,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(Dit,"appendQueryParams");var zG=Jc("core-client");var X0=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&zG.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||HAe(),this.pipeline=e.pipeline||Qit(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=zAe(n,r,e,this),s=Y0({url:i});s.method=r.httpMethod;let a=Gu(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(s.timeout=u.timeout),u.onUploadProgress&&(s.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(s.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=qAe(r));try{let u=await this.sendRequest(s),d=MG(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,d),d}catch(u){if(typeof u=="object"&&u?.response){let d=u.response,f=MG(d,r.responses[u.statusCode]||r.responses.default);u.details=f,l?.onResponse&&l.onResponse(d,f,u)}throw u}}};function Qit(t){let e=kit(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return K0({...t,credentialOptions:r})}o(Qit,"createDefaultPipeline");function kit(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(kit,"getCredentialScopes");var $Ae={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Pit(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(Pit,"isUuid");var AT=o(async t=>{let e=Uit(t.request),r=Fit(t.response);if(r){let n=Mit(r),i=Lit(t,n),s=Oit(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set($Ae.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function Oit(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Pit(n))return n}o(Oit,"extractTenantId");function Lit(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=$Ae.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Lit,"buildScopes");function Fit(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Fit,"getChallenge");function Mit(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Mit,"parseChallenge");function Uit(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Uit,"requestToOptions");var jAe=Symbol("Original PipelineRequest"),qit=Symbol.for("@azure/core-client original request");function ew(t,e={}){let n=t[jAe],i=qu(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=Y0({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(s[qit]=e.originalRequest),s}}o(ew,"toPipelineRequest");function yp(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:tw(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(i,s,a){return s===jAe?t:s==="clone"?()=>yp(ew(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(yp,"toWebResourceLike");function tw(t){return new $G(t.toJSON({preserveCase:!0}))}o(tw,"toHttpHeadersLike");function Z0(t){return t.toLowerCase()}o(Z0,"getHeaderKey");var $G=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Z0(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Z0(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Z0(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Z0(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].name);return e}headerValues(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].value);return e}toJson(e={}){let r={};if(e.preserveCase)for(let n in this._headersMap){let i=this._headersMap[n];r[i.name]=i.value}else for(let n in this._headersMap){let i=this._headersMap[n];r[Z0(i.name)]=i.value}return r}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let r in this._headersMap){let n=this._headersMap[r];e[n.name]=n.value}return new t(e)}};var WAe=Symbol("Original FullOperationResponse");function mT(t,e){let r=yp(t.request),n=tw(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===WAe?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(mT,"toCompatResponse");function gT(t){let r=t[WAe],n=qu(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:ew(t.request)}}o(gT,"toPipelineResponse");var rw=class extends X0{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!NAe(this.pipeline)&&this.pipeline.addPolicy(vAe()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:gG})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,u){i=c,n&&n(c,l,u)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:mT(i)}),a}};var jG;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(jG||(jG={}));var Git={log(t,e){},shouldLog(t){return!1}},JAe="RequestPolicyFactoryPolicy";function WG(t){let e=t.slice().reverse();return{name:JAe,async sendRequest(r,n){let i={async sendRequest(c){let l=await n(ew(c));return mT(l,{createProxy:!0})}};for(let c of e)i=c.create(i,Git);let s=yp(r,{createProxy:!0}),a=await i.sendRequest(s);return gT(a)}}}o(WG,"createRequestPolicyFactoryPolicy");function JG(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(yp(e,{createProxy:!0}));return gT(r)},"sendRequest")}}o(JG,"convertHttpClient");var YAe=":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",Vit=YAe+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",zit="["+YAe+"]["+Vit+"]*",$it=new RegExp("^"+zit+"$");function KAe(t,e){let r=[],n=e.exec(t);for(;n;){let i=[];i.startIndex=e.lastIndex-n[0].length;let s=n.length;for(let a=0;a<s;a++)i.push(n[a]);r.push(i),n=e.exec(t)}return r}o(KAe,"getAllMatches");var YG=o(function(t){let e=$it.exec(t);return!(e===null||typeof e>"u")},"isName");function XAe(t){return typeof t<"u"}o(XAe,"isExist");var nw=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],yT=["__proto__","constructor","prototype"];var jit={allowBooleanAttributes:!1,unpairedTags:[]};function ET(t,e){e=Object.assign({},jit,e);let r=[],n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s<t.length;s++)if(t[s]==="<"&&t[s+1]==="?"){if(s+=2,s=ZAe(t,s),s.err)return s}else if(t[s]==="<"){let a=s;if(s++,t[s]==="!"){s=eme(t,s);continue}else{let c=!1;t[s]==="/"&&(c=!0,s++);let l="";for(;s<t.length&&t[s]!==">"&&t[s]!==" "&&t[s]!==" "&&t[s]!==`
`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!tst(l)){let f;return l.trim().length===0?f="Invalid space after '<'.":f="Tag '"+l+"' is an invalid name.",en("InvalidTag",f,Xi(t,s))}let u=Yit(t,s);if(u===!1)return en("InvalidAttr","Attributes for '"+l+"' have open quote.",Xi(t,s));let d=u.value;if(s=u.index,d[d.length-1]==="/"){let f=s-d.length;d=d.substring(0,d.length-1);let h=tme(d,e);if(h===!0)n=!0;else return en(h.err.code,h.err.msg,Xi(t,f+h.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return en("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Xi(t,a));if(r.length===0)return en("InvalidTag","Closing tag '"+l+"' has not been opened.",Xi(t,a));{let f=r.pop();if(l!==f.tagName){let h=Xi(t,f.tagStartPos);return en("InvalidTag","Expected closing tag '"+f.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+l+"'.",Xi(t,a))}r.length==0&&(i=!0)}}else return en("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Xi(t,s));else{let f=tme(d,e);if(f!==!0)return en(f.err.code,f.err.msg,Xi(t,s-d.length+f.err.line));if(i===!0)return en("InvalidXml","Multiple possible root nodes found.",Xi(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(s++;s<t.length;s++)if(t[s]==="<")if(t[s+1]==="!"){s++,s=eme(t,s);continue}else if(t[s+1]==="?"){if(s=ZAe(t,++s),s.err)return s}else break;else if(t[s]==="&"){let f=Zit(t,s);if(f==-1)return en("InvalidChar","char '&' is not expected.",Xi(t,s));s=f}else if(i===!0&&!qg(t[s]))return en("InvalidXml","Extra text at the end",Xi(t,s));t[s]==="<"&&s--}}else{if(qg(t[s]))continue;return en("InvalidChar","char '"+t[s]+"' is not expected.",Xi(t,s))}if(n){if(r.length==1)return en("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Xi(t,r[0].tagStartPos));if(r.length>0)return en("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return en("InvalidXml","Start tag expected.",1);return!0}o(ET,"validate");function qg(t){return t===" "||t===" "||t===`
`||t==="\r"}o(qg,"isWhiteSpace");function ZAe(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return en("InvalidXml","XML declaration allowed only at the start of the document.",Xi(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(ZAe,"readPI");function eme(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(eme,"readCommentAndCDATA");var Wit='"',Jit="'";function Yit(t,e){let r="",n="",i=!1;for(;e<t.length;e++){if(t[e]===Wit||t[e]===Jit)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}o(Yit,"readAttributeStr");function Kit(t){let e=[],r=t.length,n=0;for(;n<r;){let i=n;for(;n<r&&qg(t[n]);)n++;if(n>=r)break;if(t[n]==="="){n++;continue}let s=t.slice(i,n),a=n;for(;n<r&&!qg(t[n])&&t[n]!=="=";)n++;let c=t.slice(a,n),l,u=n;for(;u<r&&qg(t[u]);)u++;u<r&&t[u]==="="&&(l=t.slice(n,u+1),n=u+1);let d,f,h=n;for(;h<r&&qg(t[h]);)h++;if(h<r&&(t[h]==='"'||t[h]==="'")){let m=h+1,g=t.indexOf(t[h],m);g!==-1&&(d=t[h],f=t.slice(m,g),n=g+1)}let p={startIndex:i};p[1]=s,p[2]=c,p[3]=l,p[4]=d!==void 0?!0:void 0,p[5]=d,p[6]=f,e.push(p)}return e}o(Kit,"scanAttributeTokens");function tme(t,e){let r=Kit(t),n={};for(let i=0;i<r.length;i++){if(r[i][1].length===0)return en("InvalidAttr","Attribute '"+r[i][2]+"' has no space in starting.",iw(r[i]));if(r[i][3]!==void 0&&r[i][4]===void 0)return en("InvalidAttr","Attribute '"+r[i][2]+"' is without value.",iw(r[i]));if(r[i][3]===void 0&&!e.allowBooleanAttributes)return en("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",iw(r[i]));let s=r[i][2];if(!est(s))return en("InvalidAttr","Attribute '"+s+"' is an invalid name.",iw(r[i]));if(!Object.prototype.hasOwnProperty.call(n,s))n[s]=1;else return en("InvalidAttr","Attribute '"+s+"' is repeated.",iw(r[i]))}return!0}o(tme,"validateAttributeString");function Xit(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(Xit,"validateNumberAmpersand");function Zit(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,Xit(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(Zit,"validateAmpersand");function en(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(en,"getErrorObject");function est(t){return YG(t)}o(est,"validateAttrName");function tst(t){return YG(t)}o(tst,"validateTagName");function Xi(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(Xi,"getLineNumberForPosition");function iw(t){return t.startIndex+t[1].length}o(iw,"getPositionFromMatch");var KG={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"};var sw={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},XG={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 Gg=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),rst=new Set("!?\\\\/[]$%{}^&*()<>|+");function rme(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(rst.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(rme,"validateEntityName");function ow(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let i=r[n];if(typeof i=="string")e[n]=i;else if(i&&typeof i=="object"&&i.val!==void 0){let s=i.val;typeof s=="string"&&(e[n]=s)}}return e}o(ow,"mergeEntityMaps");var Ep="external",CT="base",ZG="all";function nst(t){return!t||t===Ep?new Set([Ep]):t===ZG?new Set([ZG]):t===CT?new Set([CT]):Array.isArray(t)?new Set(t):new Set([Ep])}o(nst,"parseLimitTiers");var xs=Object.freeze({allow:0,leave:1,remove:2,throw:3}),ist=new Set([9,10,13]);function sst(t){if(!t)return{xmlVersion:1,onLevel:xs.allow,nullLevel:xs.remove};let e=t.xmlVersion===1.1?1.1:1,r=xs[t.onNCR]??xs.allow,n=xs[t.nullNCR]??xs.remove,i=Math.max(n,xs.remove);return{xmlVersion:e,onLevel:r,nullLevel:i}}o(sst,"parseNCRConfig");var Hg=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:n=>n,this._limitTiers=nst(this._limit.applyLimitsTo??Ep),this._numericAllowed=e.numericAllowed??!0,this._baseMap=ow(sw,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=sst(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity=typeof e.onExternalEntity=="function"?e.onExternalEntity:null,this._onInputEntity=typeof e.onInputEntity=="function"?e.onInputEntity:null}_applyRegistrationHook(e,r,n,i){if(!e)return!0;let s=e(r,n);if(s===Gg.BLOCK)return!1;if(s===Gg.THROW)throw new Error(`[EntityDecoder] Registration of ${i} entity "&${r};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let i of Object.keys(e))rme(i);if(!this._onExternalEntity){this._externalMap=ow(e);return}let r=ow(e),n=Object.create(null);for(let[i,s]of Object.entries(r))this._applyRegistrationHook(this._onExternalEntity,i,s,"external")&&(n[i]=s);this._externalMap=n}addExternalEntity(e,r){rme(e),typeof r=="string"&&r.indexOf("&")===-1&&this._applyRegistrationHook(this._onExternalEntity,e,r,"external")&&(this._externalMap[e]=r)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=ow(e);return}let r=ow(e),n=Object.create(null);for(let[i,s]of Object.entries(r))this._applyRegistrationHook(this._onInputEntity,i,s,"input")&&(n[i]=s);this._inputMap=n}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||e.indexOf("&")===-1)return e;let r=e,n=[],i=e.length,s=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a<i;){if(e.charCodeAt(a)!==38){a++;continue}let f=a+1;for(;f<i&&e.charCodeAt(f)!==59&&f-a<=32;)f++;if(f>=i||e.charCodeAt(f)!==59){a++;continue}let h=e.slice(a+1,f);if(h.length===0){a++;continue}let p,m;if(this._removeSet.has(h))p="",m===void 0&&(m=Ep);else if(this._leaveSet.has(h)){a++;continue}else if(h.charCodeAt(0)===35){let g=this._resolveNCR(h);if(g===void 0){a++;continue}p=g,m=CT}else{let g=this._resolveName(h);p=g?.value,m=g?.tier}if(p===void 0){a++;continue}if(a>s&&n.push(e.slice(s,a)),n.push(p),s=f+1,a=s,u&&this._tierCounts(m)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let g=p.length-(h.length+2);if(g>0&&(this._expandedLength+=g,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}s<i&&n.push(e.slice(s));let d=n.length===0?e:n.join("");return this._postCheck(d,r)}_tierCounts(e){return this._limitTiers.has(ZG)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:Ep};if(e in this._externalMap)return{value:this._externalMap[e],tier:Ep};if(e in this._baseMap)return{value:this._baseMap[e],tier:CT}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!ist.has(e)?xs.remove:-1}_applyNCRAction(e,r,n){switch(e){case xs.allow:return String.fromCodePoint(n);case xs.remove:return"";case xs.leave:return;case xs.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let i=this._classifyNCR(n);if(!this._numericAllowed&&i<xs.remove)return;let s=i===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(s,e,n)}};var nme=o(t=>nw.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),ost={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,unicode:!1},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:nme};function ast(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(nw.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(yT.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(ast,"validatePropertyName");function ime(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"}:ime(!0)}o(ime,"normalizeProcessEntities");var sme=o(function(t){let e=Object.assign({},ost,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:n,name:i}of r)n&&ast(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=nme),e.processEntities=ime(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var Cp;typeof Symbol!="function"?Cp="@@xmlMetadata":Cp=Symbol("XML Node Metadata");var vs=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),this.addStartIndex(r)}addStartIndex(e){e!==void 0&&(this.child[this.child.length-1][Cp]={startIndex:e})}addEndIndex(e){let r=this.child[this.child.length-1];r!==void 0&&r[Cp]!==void 0&&r[Cp].endIndex===void 0&&(r[Cp].endIndex=e)}static getMetaDataSymbol(){return Cp}};var ame=":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",cst=ame+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",cme=":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}",lst=cme+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",ust="\\x20\\x09\\x0D\\x0A",eH=o((t,e,r="")=>{let n=t.replace(":",""),i=e.replace(":",""),s=`[${n}][${i}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${s}$`,r),qName:new RegExp(`^${s}(?::${s})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:[${ust}]+[${e}]+)*$`,r)}},"buildRegexes"),dst=eH(ame,cst),fst=eH(cme,lst,"u"),lme=":A-Za-z_",hst=lme+"\\-\\.\\d",pst=eH(lme,hst),ume=o((t="1.0",e=!1)=>e?pst:t==="1.1"?fst:dst,"getRegexes");var tH=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1}={})=>typeof t=="string"&&ume(e,r).qName.test(t),"qName");var ome=["name","ncName","qName","nmToken","nmTokens"],Ast=256,bT=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}={})=>{if(!ome.includes(t))throw new TypeError(`Unknown production "${t}". Must be one of: ${ome.join(", ")}`);let i=ume(e,r)[t],s=new Map,a=o(c=>{if(typeof c!="string")return!1;let l=s.get(c);if(l!==void 0)return l;let u=i.test(c);return s.size<n&&c.length<=Ast&&s.set(c,u),u},"validator");return a.reset=()=>{s=new Map},a},"createValidator");var cw=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let n=Object.create(null),i=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 s=1,a=!1,c=!1,l=null,u="";for(;r<e.length;r++){if(l!==null){e[r]===l&&(l=null),u+=e[r];continue}if(!a&&!c&&(e[r]==='"'||e[r]==="'")){l=e[r],u+=e[r];continue}if(e[r]==="<"&&!c){if(a&&bp(e,"!ENTITY",r)){r+=7;let d,f;if([d,f,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),f.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&i>=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[d]=f,i++}}else if(a&&bp(e,"!ELEMENT",r)){r+=8;let{index:d}=this.readElementExp(e,r+1);r=d}else if(a&&bp(e,"!ATTLIST",r))r+=8;else if(a&&bp(e,"!NOTATION",r)){r+=9;let{index:d}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=d}else if(bp(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");s++,u=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,s--):s--,s===0)break}else e[r]==="["?a=!0:u+=e[r]}if(l!==null||s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=Ns(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r])&&e[r]!=='"'&&e[r]!=="'";)r++;let i=e.substring(n,r);if(aw(i,{xmlVersion:this.xmlVersion}),r=Ns(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 s="";if([r,s]=this.readIdentifierVal(e,r,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&s.length>this.options.maxEntitySize)throw new Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[i,s,r]}readNotationExp(e,r){r=Ns(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);!this.suppressValidationErr&&aw(i,{xmlVersion:this.xmlVersion}),r=Ns(e,r);let s=e.substring(r,r+6).toUpperCase();if(!this.suppressValidationErr&&s!=="SYSTEM"&&s!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${s}"`);r+=s.length,r=Ns(e,r);let a=null,c=null;if(s==="PUBLIC")[r,a]=this.readIdentifierVal(e,r,"publicIdentifier"),r=Ns(e,r),(e[r]==='"'||e[r]==="'")&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"));else if(s==="SYSTEM"&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"),!this.suppressValidationErr&&!c))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:a,systemIdentifier:c,index:--r}}readIdentifierVal(e,r,n){let i="",s=e[r];if(s!=='"'&&s!=="'")throw new Error(`Expected quoted string, found "${s}"`);r++;let a=r;for(;r<e.length&&e[r]!==s;)r++;if(i=e.substring(a,r),e[r]!==s)throw new Error(`Unterminated ${n} value`);return r++,[r,i]}readElementExp(e,r){r=Ns(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);if(!this.suppressValidationErr&&!tH(i,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${i}"`);r=Ns(e,r);let s="";if(e[r]==="E"&&bp(e,"MPTY",r))r+=4;else if(e[r]==="A"&&bp(e,"NY",r))r+=2;else if(e[r]==="("){r++;let a=r;for(;r<e.length&&e[r]!==")";)r++;if(s=e.substring(a,r),e[r]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${e[r]}"`);return{elementName:i,contentModel:s.trim(),index:r}}readAttlistExp(e,r){r=Ns(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);for(aw(i,{xmlVersion:this.xmlVersion}),r=Ns(e,r),n=r;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);if(!aw(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid attribute name: "${s}"`);r=Ns(e,r);let a="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(a="NOTATION",r+=8,r=Ns(e,r),e[r]!=="(")throw new Error(`Expected '(', found "${e[r]}"`);r++;let l=[];for(;r<e.length&&e[r]!==")";){let u=r;for(;r<e.length&&e[r]!=="|"&&e[r]!==")";)r++;let d=e.substring(u,r);if(d=d.trim(),!aw(d,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid notation name: "${d}"`);l.push(d),e[r]==="|"&&(r++,r=Ns(e,r))}if(e[r]!==")")throw new Error("Unterminated list of notations");r++,a+=" ("+l.join("|")+")"}else{let l=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;a+=e.substring(l,r);let u=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!u.includes(a.toUpperCase()))throw new Error(`Invalid attribute type: "${a}"`)}r=Ns(e,r);let c="";return e.substring(r,r+8).toUpperCase()==="#REQUIRED"?(c="#REQUIRED",r+=8):e.substring(r,r+7).toUpperCase()==="#IMPLIED"?(c="#IMPLIED",r+=7):[r,c]=this.readIdentifierVal(e,r,"ATTLIST"),{elementName:i,attributeName:s,attributeType:a,defaultValue:c,index:r}}},Ns=o((t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e},"skipWhitespace");function bp(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}o(bp,"hasSeq");function aw(t,e){if(tH(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(aw,"validateEntityName");var mst=[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032],wT=255,IT=new Map,dme=65535,fme=1632,Vg=fme,gst=dme-fme+1,ST=new Uint8Array(gst).fill(wT);for(let t of mst)for(let e=0;e<10;e++){let r=t+e;r<=dme?ST[r-Vg]=e:IT.set(r,e)}var hme=48,pme=57,Ame=45,BT=new Set([8722,65293,65123]);function yst(t){if(typeof t!="string")return t;let e=t.length;if(e===0)return t;let r=-1;for(let i=0;i<e;i++){let s=t.charCodeAt(i);if(!(s>=hme&&s<=pme||s===Ame)){if(s<Vg){if(BT.has(s)){r=i;break}continue}if(s>=55296&&s<=56319){if(i+1<e){let a=t.charCodeAt(i+1);if(a>=56320&&a<=57343){let c=65536+(s-55296<<10)+(a-56320);if(IT.has(c)){r=i;break}}}continue}if(ST[s-Vg]!==wT||BT.has(s)){r=i;break}}}if(r===-1)return t;let n=[];r>0&&n.push(t.slice(0,r));for(let i=r;i<e;i++){let s=t.charCodeAt(i);if(s>=hme&&s<=pme||s===Ame){n.push(t[i]);continue}if(s<Vg){n.push(BT.has(s)?"-":t[i]);continue}if(s>=55296&&s<=56319){if(i+1<e){let c=t.charCodeAt(i+1);if(c>=56320&&c<=57343){let l=65536+(s-55296<<10)+(c-56320),u=IT.get(l);if(u!==void 0){n.push(String.fromCharCode(u+48)),i++;continue}}}n.push(t[i]);continue}if(BT.has(s)){n.push("-");continue}let a=ST[s-Vg];n.push(a!==wT?String.fromCharCode(a+48):t[i])}return n.join("")}o(yst,"anynum");var mme=yst;var Est=/^[-+]?0x[a-fA-F0-9]+$/,Cst=/^0b[01]+$/,bst=/^0o[0-7]+$/,wst=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Ist={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1};function nH(t,e={}){if(e=Object.assign({},Ist,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"||e.unicode&&(r=mme(r),r==="0"))return 0;if(e.hex&&Est.test(r))return rH(r,16);if(e.binary&&Cst.test(r))return rH(r,2);if(e.octal&&bst.test(r))return rH(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return Bst(t,r,e);{let n=wst.exec(r);if(n){let i=n[1]||"",s=n[2],a=xst(n[3]),c=i?r[s.length+1]===".":r[s.length]===".";if(!e.leadingZeros&&(s.length>1||s.length===1&&!c))return t;{let l=Number(r),u=String(l);if(l===0)return l;if(u.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return u==="0"||u===a||u===`${i}${a}`?l:t;let d=s?a:r;return s?d===u||i+d===u?l:t:d===u||d===i+u?l:t}}else return t}}else{let n=Number(r);return Number.isNaN(n)?t:vst(t,n,e)}}o(nH,"toNumber");var Sst=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Bst(t,e,r){if(!r.eNotation)return t;let n=e.match(Sst);if(n){let i=n[1]||"",s=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=i?e[a.length+1]===s:e[a.length]===s;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):a.length>0?r.leadingZeros&&!c?Number(e):t:Number(e)}else return t}o(Bst,"resolveEnotation");function xst(t){if(t&&t.indexOf(".")!==-1){let e=t.length;for(;e>0&&t.charCodeAt(e-1)===48;)e--;return t=t.slice(0,e),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1)),t}return t}o(xst,"trimZeros");function rH(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}o(rH,"parse_int");function vst(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(vst,"handleInfinity");function iH(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(iH,"getIgnoreAttributesFn");var Ao=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(i=>i.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(i=>i.attrName!==void 0),this._hasPositionSelector=this.segments.some(i=>i.position!==void 0)}_parse(e){let r=[],n=0,i="";for(;n<e.length;)e[n]===this.separator?n+1<e.length&&e[n+1]===this.separator?(i.trim()&&(r.push(this._parseSegment(i.trim())),i=""),r.push({type:"deep-wildcard"}),n+=2):(i.trim()&&r.push(this._parseSegment(i.trim())),i="",n++):(i+=e[n],n++);return i.trim()&&r.push(this._parseSegment(i.trim())),r}_parseSegment(e){let r={type:"tag"},n=null,i=e,s=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(s&&(i=s[1]+s[3],s[2])){let d=s[2].slice(1,-1);d&&(n=d)}let a,c=i;if(i.includes("::")){let d=i.indexOf("::");if(a=i.substring(0,d).trim(),c=i.substring(d+2).trim(),!a)throw new Error(`Invalid namespace in pattern: ${e}`)}let l,u=null;if(c.includes(":")){let d=c.lastIndexOf(":"),f=c.substring(0,d).trim(),h=c.substring(d+1).trim();["first","last","odd","even"].includes(h)||/^nth\(\d+\)$/.test(h)?(l=f,u=h):l=c}else l=c;if(!l)throw new Error(`Invalid segment pattern: ${e}`);if(r.tag=l,a&&(r.namespace=a),n)if(n.includes("=")){let d=n.indexOf("=");r.attrName=n.substring(0,d).trim(),r.attrValue=n.substring(d+1).trim()}else r.attrName=n.trim();if(u){let d=u.match(/^nth\((\d+)\)$/);d?(r.position="nth",r.positionValue=parseInt(d[1],10)):r.position=u}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 zg=class{static{o(this,"ExpressionSet")}constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,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()){let s=e.segments[e.segments.length-1];if(s&&s.type!=="deep-wildcard"&&s.tag!=="*"){let a=s.tag;this._deepByTerminalTag.has(a)||this._deepByTerminalTag.set(a,[]),this._deepByTerminalTag.get(a).push(e)}else this._deepWildcards.push(e);return this}let r=e.length,i=e.segments[e.segments.length-1]?.tag;if(!i||i==="*")this._wildcardByDepth.has(r)||this._wildcardByDepth.set(r,[]),this._wildcardByDepth.get(r).push(e);else{let s=`${r}:${i}`;this._byDepthAndTag.has(s)||this._byDepthAndTag.set(s,[]),this._byDepthAndTag.get(s).push(e)}return this}addAll(e){for(let r of e)this.add(r);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let r=e.getDepth(),n=e.getCurrentTag(),i=`${r}:${n}`,s=this._byDepthAndTag.get(i);if(s){for(let l=0;l<s.length;l++)if(e.matches(s[l]))return s[l]}let a=this._wildcardByDepth.get(r);if(a){for(let l=0;l<a.length;l++)if(e.matches(a[l]))return a[l]}let c=this._deepByTerminalTag.get(n);if(c){for(let l=0;l<c.length;l++)if(e.matches(c[l]))return c[l]}for(let l=0;l<this._deepWildcards.length;l++)if(e.matches(this._deepWildcards[l]))return this._deepWildcards[l];return null}};var sH=class{static{o(this,"MatcherView")}constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let n=r[r.length-1];return n.values!==void 0&&e in n.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}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)}},Zc=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new sH(this),this._keptAttrs=[]}push(e,r=null,n=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length,a=this.siblingStacks[s];a||(a={counts:new Map,total:0},this.siblingStacks[s]=a);let c=n?`${n}:${e}`:e,l=a.counts.get(c)||0,u=a.total;a.counts.set(c,l+1),a.total++;let d={tag:e,position:u,counter:l};n!=null&&(d.namespace=n),r!=null&&(d.values=r),this.path.push(d);let f=this.path.length,h=i!==null?i.keep:null;if(h!=null&&h.length>0&&r)for(let p=0;p<h.length;p++){let m=h[p];r[m]!==void 0&&this._keptAttrs.push({depth:f,name:m,value:r[m]})}}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let r=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=r;)this._keptAttrs.pop();return 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}getAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return r[n].value}hasAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return!0;return!1}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let n=e||this.separator;if(n===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let s=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(n);return this._pathStringCache=s,s}return this.path.map(s=>r&&s.namespace?`${s.namespace}:${s.tag}`:s.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r<e.length;r++)if(!this._matchSegment(e[r],this.path[r],r===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let r=this.path.length-1,n=e.length-1;for(;n>=0&&r>=0;){let i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;let s=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(s,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(i,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==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=>e&&{counts:new Map(e.counts),total:e.total}),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>r&&{counts:new Map(r.counts),total:r.total}),this._keptAttrs=(e.keptAttrs||[]).map(r=>({...r}))}readOnly(){return this._view}};var Nst=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"</script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI \u2014 can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI \u2014 can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial \u2014 catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() \u2014 IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= \u2014 can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" \u2014 can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes \u2014 embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag \u2014 can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],wp=Nst;var _st=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content \u2014 can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword \u2014 used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword \u2014 used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration \u2014 defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection \u2014 can redefine namespaces to confuse parsers",pattern:/\bxmlns(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"<!-- comment injection \u2014 can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--> closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Ip=_st;var Tst=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: \u2014 classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG \u2014 can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" \u2014 can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." \u2014 sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= \u2014 filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],xT=Tst;var Rst=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ \u2014 unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT \u2014 most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO \u2014 data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM \u2014 data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET \u2014 data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ \u2014 MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:`Classic string tautology: ' OR '1'='1 or " OR "1"="1"`,pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function \u2014 used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA \u2014 reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],lw=Rst;var Dst=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ \u2014 climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ \u2014 climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 \u2014 truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} \u2014 can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r \u2014 can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? \u2014 can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags \u2014 can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],oH=Dst;var Qst=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ \u2014 catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) \u2014 guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ \u2014 ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern \u2014 triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} \u2014 repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} \u2014 denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches \u2014 polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],aH=Qst;var mo=`["'\\s]*:`,kst=[{id:"nosql-where-operator",description:"$where \u2014 executes arbitrary JavaScript server-side in MongoDB",pattern:new RegExp(`\\$where${mo}`,"i")},{id:"nosql-ne-operator",description:'$ne \u2014 "not equal" operator used to bypass equality checks',pattern:new RegExp(`\\$ne${mo}`,"i")},{id:"nosql-gt-operator",description:'$gt \u2014 "greater than" used to bypass password/value checks',pattern:new RegExp(`\\$gte?${mo}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte \u2014 "less than" bypass variants',pattern:new RegExp(`\\$lte?${mo}`,"i")},{id:"nosql-regex-operator",description:"$regex \u2014 can be used to extract data character by character (blind injection)",pattern:new RegExp(`\\$regex${mo}`,"i")},{id:"nosql-or-operator",description:"$or \u2014 logical OR; used to create always-true conditions",pattern:new RegExp(`\\$or${mo}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and \u2014 logical AND operator injection",pattern:new RegExp(`\\$and${mo}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor \u2014 logical NOR operator injection",pattern:new RegExp(`\\$nor${mo}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists \u2014 can enumerate fields to determine schema",pattern:new RegExp(`\\$exists${mo}`,"i")},{id:"nosql-in-operator",description:"$in \u2014 matches any value in a list; can enumerate values",pattern:new RegExp(`\\$in${mo}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr \u2014 allows aggregation expressions in queries (MongoDB 3.6+)",pattern:new RegExp(`\\$expr${mo}`,"i")},{id:"nosql-function-operator",description:"$function \u2014 executes arbitrary JavaScript in MongoDB 4.4+",pattern:new RegExp(`\\$function${mo}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator \u2014 custom aggregation with arbitrary JS execution",pattern:new RegExp(`\\$accumulator${mo}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ \u2014 prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype \u2014 alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] \u2014 bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],cH=kst;var Pst=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A \u2014 decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} \u2014 data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} \u2014 Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} \u2014 Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} \u2014 JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> \u2014 Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 \u2014 can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ \u2014 can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}],lH=Pst;var Ost=[{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Lst=[...lw,...Ost],uH=Lst;var gme=Object.freeze({colon:":",Tab:" ",NewLine:`
`}),Fst=/&(?:#[xX]0*([0-9a-fA-F]{1,6});?|#0*([0-9]{1,7});?|([a-zA-Z][a-zA-Z0-9]{1,15});)/g;function dH(t){return t.indexOf("&")===-1?t:t.replace(Fst,(e,r,n,i)=>{if(i!==void 0)return Object.prototype.hasOwnProperty.call(gme,i)?gme[i]:e;let s=r!==void 0?parseInt(r,16):parseInt(n,10);return!Number.isFinite(s)||s>1114111?e:String.fromCodePoint(s)})}o(dH,"decodeEntities");wp.label="HTML";Ip.label="XML";xT.label="SVG";wp.decodeEntities=!0;Ip.decodeEntities=!0;xT.decodeEntities=!0;lw.label="SQL";uH.label="SQL-STRICT";oH.label="SHELL";aH.label="REDOS";cH.label="NOSQL";lH.label="LOG";var Vlr=Object.freeze({HTML:wp,XML:Ip,SVG:xT,SQL:lw,"SQL-STRICT":uH,SHELL:oH,REDOS:aH,NOSQL:cH,LOG:lH});function Mst(t){if(typeof t!="string")throw new TypeError(`is-unsafe: first argument must be a string, got ${typeof t}`)}o(Mst,"assertString");function Ust(t){if(!(t instanceof RegExp)){if(Array.isArray(t)){if(t.length===0)throw new TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(t[0])){for(let e of t)if(!Array.isArray(e)||e.length===0)throw new TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw new TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof t}`)}}o(Ust,"assertContext");function qst(t){return t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null}}o(qst,"normalise");function Gst(t,e){if(!e.decodeEntities)return null;let r=dH(t);return r===t?null:r}o(Gst,"decodedCopy");function Hst(t,e){let r=e.label??"CUSTOM",n=Gst(t,e);for(let i of e)if(i.pattern.test(t)||n!==null&&i.pattern.test(n))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}o(Hst,"matchList");function yme(t,e){Mst(t),Ust(e);let{lists:r,regex:n}=qst(e);if(n)return n.test(t);for(let i of r)if(Hst(t,i)!==null)return!0;return!1}o(yme,"isUnsafe");function Vst(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let i in r)if(i.startsWith(e.attributeNamePrefix)){let s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}o(Vst,"extractRawAttributes");function zst(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}o(zst,"extractNamespace");var uw=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Yst,this.parseTextData=$st,this.resolveNameSpace=jst,this.buildAttributesMap=Jst,this.isItStopNode=eot,this.replaceEntitiesValue=Xst,this.readStopNodeData=not,this.saveTextToParentTag=Zst,this.addChild=Kst,this.ignoreAttributesFn=iH(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...sw};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...XG,...KG}),this.entityDecoder=new Hg({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:o((s,a)=>yme(a,[wp,Ip])?Gg.BLOCK:Gg.ALLOW,"onInputEntity")})),this.matcher=new Zc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new zg;let i=this.options.stopNodes;if(i&&i.length>0){for(let s=0;s<i.length;s++){let a=i[s];typeof a=="string"?this.stopNodeExpressionsSet.add(new Ao(a)):a instanceof Ao&&this.stopNodeExpressionsSet.add(a)}this.stopNodeExpressionsSet.seal()}}};function $st(t,e,r,n,i,s,a){let c=this.options;if(t!==void 0&&(c.trimValues&&!n&&(t=t.trim()),t.length>0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,i,s);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?pH(t,c.parseTagValue,c.numberParseOptions):t}}o($st,"parseTextData");function jst(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}o(jst,"resolveNameSpace");var Wst=/([^\s=]+)\s*(=\s*(?:"([^"]*)"|'([^']*)'))?/gm;function Eme(t){return t[3]!==void 0?t[3]:t[4]}o(Eme,"attrValue");function Jst(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=KAe(t,Wst),a=s.length,c={},l=new Array(a),u=!1,d={};for(let p=0;p<a;p++){let m=this.resolveNameSpace(s[p][1]),g=Eme(s[p]);if(m.length&&g!==void 0){let E=g;i.trimValues&&(E=E.trim()),E=this.replaceEntitiesValue(E,r,this.readonlyMatcher),l[p]=E,d[m]=E,u=!0}}u&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(d);let f=i.jPath?e.toString():this.readonlyMatcher,h=!1;for(let p=0;p<a;p++){let m=this.resolveNameSpace(s[p][1]);if(this.ignoreAttributesFn(m,f))continue;let g=i.attributeNamePrefix+m;if(m.length)if(i.transformAttributeName&&(g=i.transformAttributeName(g)),g=Cme(g,i),Eme(s[p])!==void 0){let E=l[p],y=i.attributeValueProcessor(m,E,f);y==null?c[g]=E:typeof y!=typeof E||y!==E?c[g]=y:c[g]=pH(E,i.parseAttributeValue,i.numberParseOptions),h=!0}else i.allowBooleanAttributes&&(c[g]=!0,h=!0)}if(!h)return;if(i.attributesGroupName&&!i.preserveOrder){let p={};return p[i.attributesGroupName]=c,p}return c}}o(Jst,"buildAttributesMap");var Yst=o(function(t){let e=this.options,r=e.captureMetaData?[]:void 0;t=t.replace(/\r\n?/g,e.captureMetaData?(l,u)=>(l.length===2&&r.push(u-r.length),`
`):`
`);let n=new vs("!xml"),i=n,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let a=new cw(e.processEntities),c=t.length;for(let l=0;l<c;l++)if(t[l]==="<"){let d=t.charCodeAt(l+1);if(d===47){let f=$g(t,">",l,"Closing Tag is not closed."),h=t.substring(l+2,f).trim();if(e.removeNSPrefix){let m=h.indexOf(":");m!==-1&&(h=h.substr(m+1))}h=fH(e.transformTagName,h,"",e).tagName,i&&(s=this.saveTextToParentTag(s,i,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(h&&e.unpairedTagsSet.has(h))throw new Error(`Unpaired tag can not be used as closing tag: </${h}>`);p&&e.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,i=this.tagsNodeStack.pop()||n,e.captureMetaData&&i&&i.addEndIndex(Sp(f+1,r)),s="",l=f}else if(d===63){let f=hH(t,l,!1,"?>");if(!f)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,i,this.readonlyMatcher);let h=this.buildAttributesMap(f.tagExp,this.matcher,f.tagName,!0);if(h){let p=h[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),a.setXmlVersion(Number(p)||1)}if(!(e.ignoreDeclaration&&f.tagName==="?xml"||e.ignorePiTags)){let p=new vs(f.tagName);p.add(e.textNodeName,""),f.tagName!==f.tagExp&&f.attrExpPresent&&e.ignoreAttributes!==!0&&(p[":@"]=h);let m=e.captureMetaData?Sp(l,r):l;this.addChild(i,p,this.readonlyMatcher,m),e.captureMetaData&&i.addEndIndex(Sp(f.closeIndex+2,r))}l=f.closeIndex+1}else if(d===33&&t.charCodeAt(l+2)===45&&t.charCodeAt(l+3)===45){let f=$g(t,"-->",l+4,"Comment is not closed.");if(e.commentPropName){let h=t.substring(l+4,f-2);s=this.saveTextToParentTag(s,i,this.readonlyMatcher),i.add(e.commentPropName,[{[e.textNodeName]:h}])}l=f}else if(d===33&&t.charCodeAt(l+2)===68){if(this.doctypefound)throw new Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let f=a.readDocType(t,l);this.entityDecoder.addInputEntities(f.entities),l=f.i}else if(d===33&&t.charCodeAt(l+2)===91){let f=$g(t,"]]>",l,"CDATA is not closed.")-2,h=t.substring(l+9,f);s=this.saveTextToParentTag(s,i,this.readonlyMatcher);let p=this.parseTextData(h,i.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),e.cdataPropName?i.add(e.cdataPropName,[{[e.textNodeName]:h}]):i.add(e.textNodeName,p),l=f+2}else{let f=hH(t,l,e.removeNSPrefix);if(!f){let v=t.substring(Math.max(0,l-50),Math.min(c,l+50));throw new Error(`readTagExp returned undefined at position ${l}. Context: "${v}"`)}let h=f.tagName,p=f.rawTagName,m=f.tagExp,g=f.attrExpPresent,E=f.closeIndex;if({tagName:h,tagExp:m}=fH(e.transformTagName,h,m,e),e.strictReservedNames&&(h===e.commentPropName||h===e.cdataPropName||h===e.textNodeName||h===e.attributesGroupName))throw new Error(`Invalid tag name: ${h}`);i&&s&&i.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,i,this.readonlyMatcher,!1));let y=i;y&&e.unpairedTagsSet.has(y.tagname)&&(i=this.tagsNodeStack.pop(),this.matcher.pop());let C=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(C=!0,h[h.length-1]==="/"?(h=h.substr(0,h.length-1),m=h):m=m.substr(0,m.length-1),g=h!==m);let w=null,B={},Q;Q=zst(p),h!==n.tagname&&this.matcher.push(h,{},Q),h!==m&&g&&(w=this.buildAttributesMap(m,this.matcher,h),w&&(B=Vst(w,e))),h!==n.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let q=e.captureMetaData?Sp(l,r):l;if(this.isCurrentNodeStopNode){let v="";if(C)l=f.closeIndex;else if(e.unpairedTagsSet.has(h))l=f.closeIndex;else{let R=this.readStopNodeData(t,p,E+1);if(!R)throw new Error(`Unexpected end of ${p}`);l=R.i,v=R.tagContent}let $=new vs(h);w&&($[":@"]=w),$.add(e.textNodeName,v),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(i,$,this.readonlyMatcher,q),e.captureMetaData&&i.addEndIndex(Sp(l+1,r))}else{if(C){({tagName:h,tagExp:m}=fH(e.transformTagName,h,m,e));let v=new vs(h);w&&(v[":@"]=w),this.addChild(i,v,this.readonlyMatcher,q),e.captureMetaData&&i.addEndIndex(Sp(E+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(e.unpairedTagsSet.has(h)){let v=new vs(h);w&&(v[":@"]=w),this.addChild(i,v,this.readonlyMatcher,q),e.captureMetaData&&i.addEndIndex(Sp(f.closeIndex+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1,l=f.closeIndex;continue}else{let v=new vs(h);if(this.tagsNodeStack.length>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(i),w&&(v[":@"]=w),this.addChild(i,v,this.readonlyMatcher,q),i=v}s="",l=E}}}else s+=t[l];return n.child},"parseXml");function Sp(t,e){let r=0,n=e.length;for(;r<n;){let i=Math.floor((r+n)/2);e[i]<t?r=i+1:n=i}return t+r}o(Sp,"getOriginalIndex");function Kst(t,e,r,n){this.options.captureMetaData||(n=void 0);let i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}o(Kst,"addChild");function Xst(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){let i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}return this.entityDecoder.decode(t)}o(Xst,"replaceEntitiesValue");function Zst(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(Zst,"saveTextToParentTag");function eot(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(eot,"isItStopNode");function tot(t,e,r=">"){let n=t.length,i=r.charCodeAt(0),s=r.length>1?r.charCodeAt(1):-1,a="",c=e;for(let l=e;l<n;l++){let u=t.charCodeAt(l);if(u===34||u===39){if(l=t.indexOf(t[l],l+1),l===-1)return}else if(u===i)if(s!==-1){if(t.charCodeAt(l+1)===s)return a+=t.substring(c,l),{data:a,index:l}}else return a+=t.substring(c,l),{data:a,index:l};else u===9&&(a+=t.substring(c,l)+" ",c=l+1)}}o(tot,"tagExpWithClosingIndex");function $g(t,e,r,n){let i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i+e.length-1}o($g,"findClosingIndex");function rot(t,e,r,n){let i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i}o(rot,"findClosingChar");function hH(t,e,r,n=">"){let i=tot(t,e+1,n);if(!i)return;let s=i.data,a=i.index,c=s.search(/\s/),l=s,u=!0;c!==-1&&(l=s.substring(0,c),s=s.substring(c+1).trimStart());let d=l;if(r){let f=l.indexOf(":");f!==-1&&(l=l.substr(f+1),u=l!==i.data.substr(f+1))}return{tagName:l,tagExp:s,closeIndex:a,attrExpPresent:u,rawTagName:d}}o(hH,"readTagExp");function not(t,e,r){let n=r,i=1,s=!1,a=-1,c=t.length;for(;r<c;r++)if(t[r]==="<"){let l=t.charCodeAt(r+1);if(l===47){let u=rot(t,">",r,`${e} is not closed`);if(t.substring(r+2,u).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:u};r=u}else if(l===63)r=$g(t,"?>",r+1,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=$g(t,"-->",r+3,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===91)r=$g(t,"]]>",r,"StopNode is not closed.")-2;else{let u=s?void 0:hH(t,r,!1);if(u)u.tagName===e&&u.tagExp[u.tagExp.length-1]!=="/"&&i++,r=u.closeIndex;else{if(s=!0,a<r&&(a=t.indexOf(">",r),a===-1))return;let d=t.indexOf("<",r+1);if(d===-1||d>a){let f=t.substring(r+1,a),h=f.search(/\s/);(h===-1?f:f.substring(0,h))===e&&f[f.length-1]!=="/"&&i++,r=a}}}}}o(not,"readStopNodeData");function pH(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:nH(t,r)}else return XAe(t)?t:""}o(pH,"parseValue");function fH(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=Cme(e,n),{tagName:e,tagExp:r}}o(fH,"transformTagName");function Cme(t,e){if(yT.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return nw.includes(t)?e.onDangerousProperty(t):t}o(Cme,"sanitizeName");var AH=vs.getMetaDataSymbol();function iot(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}o(iot,"stripAttributePrefix");function mH(t,e,r,n){return bme(t,e,r,n)}o(mH,"prettify");function bme(t,e,r,n){let i,s={};for(let a=0;a<t.length;a++){let c=t[a],l=sot(c);if(l!==void 0&&l!==e.textNodeName){let u=iot(c[":@"]||{},e.attributeNamePrefix);r.push(l,u)}if(l===e.textNodeName)i===void 0?i=c[l]:i+=""+c[l];else{if(l===void 0)continue;if(c[l]){let u=bme(c[l],e,r,n),d=aot(u,e);if(Object.keys(u).length===0&&e.alwaysCreateTextNode&&(u[e.textNodeName]=""),c[":@"]?oot(u,c[":@"],n,e):Object.keys(u).length===1&&u[e.textNodeName]!==void 0&&!e.alwaysCreateTextNode?u=u[e.textNodeName]:Object.keys(u).length===0&&(e.alwaysCreateTextNode?u[e.textNodeName]="":u=""),c[AH]!==void 0&&typeof u=="object"&&u!==null&&(u[AH]=c[AH]),s[l]!==void 0&&Object.prototype.hasOwnProperty.call(s,l))Array.isArray(s[l])||(s[l]=[s[l]]),s[l].push(u);else{let f=e.jPath?n.toString():n;e.isArray(l,f,d)?s[l]=[u]:s[l]=u}l!==void 0&&l!==e.textNodeName&&r.pop()}}}return typeof i=="string"?i.length>0&&(s[e.textNodeName]=i):i!==void 0&&(s[e.textNodeName]=i),s}o(bme,"compress");function sot(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(sot,"propName");function oot(t,e,r,n){if(e){let i=Object.keys(e),s=i.length;for(let a=0;a<s;a++){let c=i[a],l=c.startsWith(n.attributeNamePrefix)?c.substring(n.attributeNamePrefix.length):c,u=n.jPath?r.toString()+"."+l:r;n.isArray(c,u,!0,!0)?t[c]=[e[c]]:t[c]=e[c]}}}o(oot,"assignAttributes");function aot(t,e){let{textNodeName:r}=e,n=Object.keys(t).length;return!!(n===0||n===1&&(t[r]||typeof t[r]=="boolean"||t[r]===0))}o(aot,"isLeafTag");var jg=class{static{o(this,"XMLParser")}constructor(e){this.externalEntities={},this.options=sme(e)}parse(e,r){if(typeof e!="string"&&e.toString)e instanceof Uint8Array&&!(typeof Buffer<"u"&&Buffer.isBuffer(e))?e=new TextDecoder("utf-8",{ignoreBOM:!0}).decode(e):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 s=ET(e,r);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}let n=new uw(this.options,this.externalEntities),i=n.parseXml(e);return this.options.preserveOrder||i===void 0?i:mH(i,this.options,n.matcher,n.readonlyMatcher)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return vs.getMetaDataSymbol()}};function hi(t){return typeof t=="number"&&Object.is(t,-0)?"-0":String(t)}o(hi,"valToStr");function dw(t){return hi(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(dw,"safeComment");function vT(t){return hi(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(vT,"safeCdata");function el(t){return hi(t).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}o(el,"escapeAttribute");function Bp(t,e,r,n,i){if(!r.sanitizeName)return t;let s=!e&&t[0]==="?",a=s?t.slice(1):t;if(i(a))return t;let c=r.sanitizeName(a,{isAttribute:e,matcher:n.readOnly()});if(typeof c!="string"||!i(c))throw new Error(`sanitizeName returned an invalid XML name for "${a}"`);return s?"?"+c:c}o(Bp,"resolveName");var cot=`
`;function lot(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(EH(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(lot,"detectXmlVersionFromArray");function yH(t,e){let r="";e.format&&(r=cot);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let c=0;c<e.stopNodes.length;c++){let l=e.stopNodes[c];typeof l=="string"?n.push(new Ao(l)):l instanceof Ao&&n.push(l)}let i=lot(t,e),s=bT("qName",{xmlVersion:i}),a=new Zc;return Ime(t,e,r,a,n,s)}o(yH,"toXml");function Ime(t,e,r,n,i,s){let a="",c=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=hi(t);return l=gH(l,e),l}return""}for(let l=0;l<t.length;l++){let u=t[l],d=EH(u);if(d===void 0)continue;let h=d===e.textNodeName||d===e.cdataPropName||d===e.commentPropName?d:Bp(d,!1,e,n,s),p=uot(u[":@"],e);n.push(h,p);let m=fot(n,i);if(h===e.textNodeName){let w=u[d];m||(w=e.tagValueProcessor(h,w),w=gH(w,e)),w=hi(w),c&&(a+=r),a+=w,c=!1,n.pop();continue}else if(h===e.cdataPropName){c&&(a+=r);let w=u[d][0][e.textNodeName],B=vT(w);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(h===e.commentPropName){let w=u[d][0][e.textNodeName],B=dw(w);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(h[0]==="?"){let w=wme(u[":@"],e,m,n,s);a+=(h==="?xml"?"":r)+`<${h}${w}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let E=wme(u[":@"],e,m,n,s),y=r+`<${h}${E}`,C;m?C=Sme(u[d],e,n.getDepth()):C=Ime(u[d],e,g,n,i,s),e.unpairedTags.indexOf(h)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!C||C.length===0)&&e.suppressEmptyNode?a+=y+"/>":C&&C.endsWith(">")?a+=y+`>${C}${r}</${h}>`:(a+=y+">",C&&r!==""&&(C.includes("/>")||C.includes("</"))?a+=r+e.indentBy+C+r:a+=C,a+=`</${h}>`),c=!0,n.pop()}return a}o(Ime,"arrToStr");function uot(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=el(t[i]),n=!0}return n?r:null}o(uot,"extractAttributeValues");function Sme(t,e,r=0){if(e.maxNestedTags&&r>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t))return t!=null?hi(t):"";let n="";for(let i=0;i<t.length;i++){let s=t[i],a=EH(s);if(a===e.textNodeName)n+=hi(s[a]);else if(a===e.cdataPropName)n+=s[a][0][e.textNodeName];else if(a===e.commentPropName)n+=s[a][0][e.textNodeName];else{if(a&&a[0]==="?")continue;if(a){let c=dot(s[":@"],e),l=Sme(s[a],e,r+1);!l||l.length===0?n+=`<${a}${c}/>`:n+=`<${a}${c}>${l}</${a}>`}}}return n}o(Sme,"getRawContent");function dot(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${el(i)}"`}return r}o(dot,"attr_to_str_raw");function EH(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&n!==":@")return n}}o(EH,"propName");function wme(t,e,r,n,i){let s="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:Bp(c,!0,e,n,i),u;r?u=t[a]:(u=e.attributeValueProcessor(a,t[a]),u=gH(u,e)),u===!0&&e.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${el(u)}"`}return s}o(wme,"attr_to_str");function fot(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(fot,"checkStopNode");function gH(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let n=e.entities[r];t=t.replace(n.regex,n.val)}return t}o(gH,"replaceEntitiesValue");function CH(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(CH,"getIgnoreAttributesFn");var hot={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&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 _s(t){if(this.options=Object.assign({},hot,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 Ao(r)):r instanceof Ao&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=CH(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=got),this.processTextOrObjNode=Aot,this.options.format?(this.indentate=mot,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(_s,"Builder");function pot(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let i=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(i)return i}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(pot,"detectXmlVersionFromObj");_s.prototype.build=function(t){if(this.options.preserveOrder)return yH(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Zc,r=pot(t,this.options),n=bT("qName",{xmlVersion:r});return this.j2x(t,0,e,n).val}};_s.prototype.j2x=function(t,e,r,n){let i="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let d=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)?l:Bp(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(s+="");else if(t[l]===null)this.isAttribute(l)||d===this.options.cdataPropName||d===this.options.commentPropName?s+="":d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(t[l]instanceof Date)s+=this.buildTextValNode(t[l],d,"",e,r);else if(typeof t[l]!="object"){let f=this.isAttribute(l);if(f&&!this.ignoreAttributesFn(f,a)){let h=Bp(f,!0,this.options,r,n);i+=this.buildAttrPairStr(h,hi(t[l]),c)}else if(!f)if(l===this.options.textNodeName){let h=this.options.tagValueProcessor(l,hi(t[l]));s+=this.replaceEntitiesValue(h)}else{r.push(d);let h=this.checkStopNode(r);if(r.pop(),h){let p=hi(t[l]);p===""?s+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:s+=this.indentate(e)+"<"+d+">"+p+"</"+d+this.tagEndChar}else s+=this.buildTextValNode(t[l],d,"",e,r)}}else if(Array.isArray(t[l])){let f=t[l].length,h="",p="";for(let m=0;m<f;m++){let g=t[l][m];if(!(typeof g>"u"))if(g===null)d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(d);let E=this.j2x(g,e+1,r,n);r.pop(),h+=E.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(p+=E.attrStr)}else h+=this.processTextOrObjNode(g,d,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(d,g);E=this.replaceEntitiesValue(E),E=hi(E),h+=E}else{r.push(d);let E=this.checkStopNode(r);if(r.pop(),E){let y=hi(g);y===""?h+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:h+=this.indentate(e)+"<"+d+">"+y+"</"+d+this.tagEndChar}else h+=this.buildTextValNode(g,d,"",e,r)}}this.options.oneListGroup&&(h=this.buildObjectNode(h,d,p,e)),s+=h}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let f=Object.keys(t[l]),h=f.length;for(let p=0;p<h;p++){let m=Bp(f[p],!0,this.options,r,n);i+=this.buildAttrPairStr(m,hi(t[l][f[p]]),c)}}else s+=this.processTextOrObjNode(t[l],d,e,r,n)}return{attrStr:i,val:s}};_s.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,hi(e)),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+el(e)+'"'};function Aot(t,e,r,n,i){let s=this.extractAttributes(t);if(n.push(e,s),this.checkStopNode(n)){let l=this.buildRawContent(t,n.getDepth()),u=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(l,e,u,r)}let c=this.j2x(t,r+1,n,i);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,n):this.buildObjectNode(c.val,e,c.attrStr,r)}o(Aot,"processTextOrObjNode");_s.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let n=t[this.options.attributesGroupName];for(let i in n){if(!Object.prototype.hasOwnProperty.call(n,i))continue;let s=i.startsWith(this.options.attributeNamePrefix)?i.substring(this.options.attributeNamePrefix.length):i;e[s]=el(n[i]),r=!0}}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=this.isAttribute(n);i&&(e[i]=el(t[n]),r=!0)}return r?e:null};_s.prototype.buildRawContent=function(t,e=0){if(this.options.maxNestedTags&&e>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");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 r="";for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||this.isAttribute(n)||this.options.attributesGroupName&&n===this.options.attributesGroupName)continue;let i=t[n];if(n===this.options.textNodeName)r+=i;else if(Array.isArray(i)){for(let s of i)if(typeof s=="string"||typeof s=="number")r+=`<${n}>${s}</${n}>`;else if(typeof s=="object"&&s!==null){let a=this.buildRawContent(s,e+1),c=this.buildAttributesForStopNode(s);a===""?r+=`<${n}${c}/>`:r+=`<${n}${c}>${a}</${n}>`}}else if(typeof i=="object"&&i!==null){let s=this.buildRawContent(i,e+1),a=this.buildAttributesForStopNode(i);s===""?r+=`<${n}${a}/>`:r+=`<${n}${a}>${s}</${n}>`}else r+=`<${n}>${i}</${n}>`}return r};_s.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+el(s)+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+el(i)+'"'}}return e};_s.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i="</"+e+this.tagEndChar,s="";return e[0]==="?"&&(s="?",i=""),(r||r==="")&&t.indexOf("<")===-1?this.indentate(n)+"<"+e+r+s+">"+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+`<!--${dw(t)}-->`+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}};_s.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};_s.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};_s.prototype.buildTextValNode=function(t,e,r,n,i){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let s=vT(t);return this.indentate(n)+`<![CDATA[${s}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let s=dw(t);return this.indentate(n)+`<!--${s}-->`+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s=hi(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"</"+e+this.tagEndChar}}};_s.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 mot(t){return this.options.indentBy.repeat(t)}o(mot,"indentate");function got(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(got,"isAttribute");var bH=_s;var Bme={validate:ET};function Nme(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(Nme,"getCommonOptions");function yot(t={}){var e,r;return Object.assign(Object.assign({},Nme(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(yot,"getSerializerOptions");function Eot(t={}){return Object.assign(Object.assign({},Nme(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(Eot,"getParserOptions");function NT(t,e={}){let r=yot(e),n=new bH(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}o(NT,"stringifyXML");async function wH(t,e={}){if(!t)throw new Error("Document is empty");let r=Bme.validate(t);if(r!==!0)throw r;let i=new jg(Eot(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(wH,"parseXML");var _T=Jc("storage-blob");var Rme=require("events");var _me=require("node:stream");var TT=class extends _me.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i<this.byteLength)throw new Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;n<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(s,i);if(a>e-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var Tme=N(require("node:buffer"),1);var RT=Tme.default.constants.MAX_LENGTH,DT=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/RT);for(let s=0;s<i;s++){let a=s===i-1?e%RT:RT;a===0&&(a=RT),this.buffers.push(Buffer.allocUnsafe(a))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,i=0,s=0,a=0,c=0;for(;c<this._size;){let l=e[n],u=this.buffers[i],d=l.copy(u,s,a);c+=d,a+=d,s+=d,a===l.length&&(n++,a=0),s===u.length&&(i++,s=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new TT(this.buffers,this.size)}};var QT=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Rme.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let n=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>n.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new DT(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers<this.maxBuffers)e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++;else return!1;this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var IH;function SH(){return IH||(IH=J0()),IH}o(SH,"getCachedDefaultHttpClient");var tl=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};var Hu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Ve={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 Ef(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(Ef,"setURLParameter");function kT(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(kT,"setURLHost");function PT(t){try{return new URL(t).pathname}catch{return}}o(PT,"getURLPath");function OT(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a<i.length-1});let n={};for(let i of r){let s=i.split("="),a=s[0],c=s[1];n[a]=c}return n}o(OT,"getURLQueries");async function LT(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(LT,"delay");var fw=class extends tl{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Lt?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=Ef(e.url,Hu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Ve.COOKIE),e.headers.remove(Ve.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var hw=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new fw(e,r)}};var xp=class extends tl{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var pw=class extends xp{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var vp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Er=class extends vp{static{o(this,"AnonymousCredential")}create(e,r){return new pw(e,r)}};var Dme=require("node:crypto");var Cot=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]),bot=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]),wot=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 FT(t,e){return Iot(t,e)?-1:1}o(FT,"compareHeader");function Iot(t,e){let r=[Cot,bot,wot],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let a=i<t.length?r[n][t[i].charCodeAt(0)]:1,c=s<e.length?r[n][e[s].charCodeAt(0)]:1;if(a===1&&c===1)i=0,s=0,++n;else if(a===c)++i,++s;else if(a===0)++i;else if(c===0)++s;else return a<c}return!1}o(Iot,"isLessThan");var Aw=class extends xp{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Ve.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ve.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ve.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ve.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ve.CONTENT_MD5),this.getHeaderValueToSign(e,Ve.CONTENT_TYPE),this.getHeaderValueToSign(e,Ve.DATE),this.getHeaderValueToSign(e,Ve.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.IF_MATCH),this.getHeaderValueToSign(e,Ve.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ve.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.RANGE)].join(`
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Ve.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Ve.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Ve.PREFIX_FOR_STORAGE));r.sort((i,s)=>FT(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
`}),n}getCanonicalizedResourceString(e){let r=PT(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=OT(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=`
${c}:${decodeURIComponent(s[c])}`}return n}};var Or=class extends vp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Aw(e,r,this)}computeHMACSHA256(e){return(0,Dme.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Nn=Jc("storage-common");var ea;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(ea||(ea={}));var Cf={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ea.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Sot=new fo("The operation was aborted."),mw=class extends tl{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Cf){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Cf.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Cf.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Cf.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Cf.maxRetryDelayInMs):Cf.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Cf.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Cf.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=kT(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=Ef(i.url,Hu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Nn.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Nn.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Nn.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Nn.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Nn.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Ve.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case ea.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case ea.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${i}ms`),LT(i,n,Sot)}};var gw=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new mw(e,r,this.retryOptions)}};var Bot="storageBrowserPolicy";function Qme(){return{name:Bot,async sendRequest(t,e){return Lt||((t.method==="GET"||t.method==="HEAD")&&(t.url=Ef(t.url,Hu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ve.COOKIE),t.headers.delete(Ve.CONTENT_LENGTH)),e(t)}}}o(Qme,"storageBrowserPolicy");var xot="StorageCorrectContentLengthPolicy";function kme(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:xot,async sendRequest(e,r){return t(e),r(e)}}}o(kme,"storageCorrectContentLengthPolicy");var vot="storageRetryPolicy",Wg={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ea.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Not=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],_ot=new fo("The operation was aborted.");function Pme(t={}){let e=t.retryPolicyType??Wg.retryPolicyType,r=t.maxTries??Wg.maxTries,n=t.retryDelayInMs??Wg.retryDelayInMs,i=t.maxRetryDelayInMs??Wg.maxRetryDelayInMs,s=t.secondaryHost??Wg.secondaryHost,a=t.tryTimeoutInMs??Wg.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:d,response:f,error:h}){if(d>=r)return Nn.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${r}, no further try.`),!1;if(h){for(let p of Not)if(h.name.toUpperCase().includes(p)||h.message.toUpperCase().includes(p)||h.code&&h.code.toString().toUpperCase()===p)return Nn.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(h?.code==="PARSE_ERROR"&&h?.message.startsWith('Error "Error: Unclosed root tag'))return Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(f||h){let p=f?.status??h?.statusCode??0;if(!u&&p===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Nn.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(f&&f?.status>=400){let p=f.headers.get(Ve.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,d){let f=0;if(u)switch(e){case ea.EXPONENTIAL:f=Math.min((Math.pow(2,d-1)-1)*n,i);break;case ea.FIXED:f=n;break}else f=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${f}ms`),f}return o(l,"calculateDelay"),{name:vot,async sendRequest(u,d){a&&(u.url=Ef(u.url,Hu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let f=u.url,h=s?kT(u.url,s):void 0,p=!1,m=1,g=!0,E,y;for(;g;){let C=p||!h||!["GET","HEAD","OPTIONS"].includes(u.method)||m%2===1;u.url=C?f:h,E=void 0,y=void 0;try{Nn.info(`RetryPolicy: =====> Try=${m} ${C?"Primary":"Secondary"}`),E=await d(u),p=p||!C&&E.status===404}catch(w){if(gp(w))Nn.error(`RetryPolicy: Caught error, message: ${w.message}, code: ${w.code}`),y=w;else throw Nn.error(`RetryPolicy: Caught error, message: ${Af(w)}`),w}g=c({isPrimaryRetry:C,attempt:m,response:E,error:y}),g&&await LT(l(C,m),u.abortSignal,_ot),m++}if(E)return E;throw y??new Uu("RetryPolicy failed without known error.")}}}o(Pme,"storageRetryPolicy");var Ome=require("node:crypto");var Tot="storageSharedKeyCredentialPolicy";function BH(t){function e(s){s.headers.set(Ve.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,Ve.CONTENT_LANGUAGE),r(s,Ve.CONTENT_ENCODING),r(s,Ve.CONTENT_LENGTH),r(s,Ve.CONTENT_MD5),r(s,Ve.CONTENT_TYPE),r(s,Ve.DATE),r(s,Ve.IF_MODIFIED_SINCE),r(s,Ve.IF_MATCH),r(s,Ve.IF_NONE_MATCH),r(s,Ve.IF_UNMODIFIED_SINCE),r(s,Ve.RANGE)].join(`
`)+`
`+n(s)+i(s),c=(0,Ome.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(Ve.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===Ve.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,u]of s.headers)l.toLowerCase().startsWith(Ve.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>FT(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,d)=>!(u>0&&l.name.toLowerCase()===d[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=PT(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=OT(s.url),u={};if(l){let d=[];for(let f in l)if(Object.prototype.hasOwnProperty.call(l,f)){let h=f.toLowerCase();u[h]=l[f],d.push(h)}d.sort();for(let f of d)c+=`
${f}:${decodeURIComponent(u[f])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:Tot,async sendRequest(s,a){return e(s),a(s)}}}o(BH,"storageSharedKeyCredentialPolicy");var Rot="storageRequestFailureDetailsParserPolicy";function Lme(){return{name:Rot,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}o(Lme,"storageRequestFailureDetailsParserPolicy");var Fme=require("node:crypto");var MT=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,Fme.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var UT="12.31.0",qT="2026-02-06";var GT="https://storage.azure.com/.default",Vu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var ec="",xH="*",Dot=1*1024*1024;var Qot=4*Dot;var Mme="AES256",Ume="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",qme=["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"],Gme=["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"],Hme="BlobUsesCustomerSpecifiedEncryption",Vme="BlobDoesNotUseCustomerSpecifiedEncryption",zme=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function zu(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(zu,"isPipelineLike");var yw=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function tn(t,e={}){t||(t=new Er);let r=new yw([],e);return r._credential=t,r}o(tn,"newPipeline");function kot(t){let e=[Pot,$me,Oot,Lot,Fot,Mot,qot];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>Uot(i));return{wrappedPolicies:WG(r),afterRetry:n}}}}o(kot,"processDownlevelPipeline");function vH(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?JG(e):SH(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${UT}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=K0({...r,loggingOptions:{additionalAllowedHeaderNames:qme,additionalAllowedQueryParameters:Gme,logger:_T.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:NT,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:wH,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:SG}),i.addPolicy(kme()),i.addPolicy(Pme(r.retryOptions),{phase:"Retry"}),i.addPolicy(Lme()),i.addPolicy(Qme());let c=kot(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=NH(t);ho(l)?i.addPolicy(Mg({credential:l,scopes:r.audience??GT,challengeCallbacks:{authorizeRequestOnChallenge:AT}}),{phase:"Sign"}):l instanceof Or&&i.addPolicy(BH({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(vH,"getCoreClientOptions");function NH(t){if(t._credential)return t._credential;let e=new Er;for(let r of t.factories)if(ho(r.credential))e=r.credential;else if($me(r))return r;return e}o(NH,"getCredentialFromPipeline");function $me(t){return t instanceof Or?!0:t.constructor.name==="StorageSharedKeyCredential"}o($me,"isStorageSharedKeyCredential");function Pot(t){return t instanceof Er?!0:t.constructor.name==="AnonymousCredential"}o(Pot,"isAnonymousCredential");function Oot(t){return ho(t.credential)}o(Oot,"isCoreHttpBearerTokenFactory");function Lot(t){return t instanceof hw?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Lot,"isStorageBrowserPolicyFactory");function Fot(t){return t instanceof gw?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Fot,"isStorageRetryPolicyFactory");function Mot(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Mot,"isStorageTelemetryPolicyFactory");function Uot(t){return t.constructor.name==="InjectorPolicyFactory"}o(Uot,"isInjectorPolicyFactory");function qot(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(qot,"isCoreHttpPolicyFactory");var jme;(function(t){t.AES256="AES256"})(jme||(jme={}));var Wme;(function(t){t.Backup="backup"})(Wme||(Wme={}));var Jme;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(Jme||(Jme={}));var Yme;(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"})(Yme||(Yme={}));var go={};Bqe(go,{AccessPolicy:()=>Zot,AppendBlobAppendBlockExceptionHeaders:()=>WV,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>YV,AppendBlobAppendBlockFromUrlHeaders:()=>JV,AppendBlobAppendBlockHeaders:()=>jV,AppendBlobCreateExceptionHeaders:()=>$V,AppendBlobCreateHeaders:()=>zV,AppendBlobSealExceptionHeaders:()=>XV,AppendBlobSealHeaders:()=>KV,ArrowConfiguration:()=>hat,ArrowField:()=>pat,BlobAbortCopyFromURLExceptionHeaders:()=>yV,BlobAbortCopyFromURLHeaders:()=>gV,BlobAcquireLeaseExceptionHeaders:()=>rV,BlobAcquireLeaseHeaders:()=>tV,BlobBreakLeaseExceptionHeaders:()=>uV,BlobBreakLeaseHeaders:()=>lV,BlobChangeLeaseExceptionHeaders:()=>cV,BlobChangeLeaseHeaders:()=>aV,BlobCopyFromURLExceptionHeaders:()=>mV,BlobCopyFromURLHeaders:()=>AV,BlobCreateSnapshotExceptionHeaders:()=>fV,BlobCreateSnapshotHeaders:()=>dV,BlobDeleteExceptionHeaders:()=>U4,BlobDeleteHeaders:()=>M4,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Y4,BlobDeleteImmutabilityPolicyHeaders:()=>J4,BlobDownloadExceptionHeaders:()=>O4,BlobDownloadHeaders:()=>VT,BlobFlatListSegment:()=>eat,BlobGetAccountInfoExceptionHeaders:()=>bV,BlobGetAccountInfoHeaders:()=>CV,BlobGetPropertiesExceptionHeaders:()=>F4,BlobGetPropertiesHeaders:()=>L4,BlobGetTagsExceptionHeaders:()=>SV,BlobGetTagsHeaders:()=>IV,BlobHierarchyListSegment:()=>iat,BlobItemInternal:()=>tat,BlobName:()=>rat,BlobPrefix:()=>sat,BlobPropertiesInternal:()=>nat,BlobQueryExceptionHeaders:()=>wV,BlobQueryHeaders:()=>$T,BlobReleaseLeaseExceptionHeaders:()=>iV,BlobReleaseLeaseHeaders:()=>nV,BlobRenewLeaseExceptionHeaders:()=>oV,BlobRenewLeaseHeaders:()=>sV,BlobServiceProperties:()=>Ew,BlobServiceStatistics:()=>_H,BlobSetExpiryExceptionHeaders:()=>V4,BlobSetExpiryHeaders:()=>H4,BlobSetHttpHeadersExceptionHeaders:()=>$4,BlobSetHttpHeadersHeaders:()=>z4,BlobSetImmutabilityPolicyExceptionHeaders:()=>W4,BlobSetImmutabilityPolicyHeaders:()=>j4,BlobSetLegalHoldExceptionHeaders:()=>X4,BlobSetLegalHoldHeaders:()=>K4,BlobSetMetadataExceptionHeaders:()=>eV,BlobSetMetadataHeaders:()=>Z4,BlobSetTagsExceptionHeaders:()=>xV,BlobSetTagsHeaders:()=>BV,BlobSetTierExceptionHeaders:()=>EV,BlobSetTierHeaders:()=>zT,BlobStartCopyFromURLExceptionHeaders:()=>pV,BlobStartCopyFromURLHeaders:()=>hV,BlobTag:()=>Kot,BlobTags:()=>bw,BlobUndeleteExceptionHeaders:()=>G4,BlobUndeleteHeaders:()=>q4,Block:()=>oat,BlockBlobCommitBlockListExceptionHeaders:()=>c5,BlockBlobCommitBlockListHeaders:()=>a5,BlockBlobGetBlockListExceptionHeaders:()=>u5,BlockBlobGetBlockListHeaders:()=>l5,BlockBlobPutBlobFromUrlExceptionHeaders:()=>r5,BlockBlobPutBlobFromUrlHeaders:()=>t5,BlockBlobStageBlockExceptionHeaders:()=>i5,BlockBlobStageBlockFromURLExceptionHeaders:()=>o5,BlockBlobStageBlockFromURLHeaders:()=>s5,BlockBlobStageBlockHeaders:()=>n5,BlockBlobUploadExceptionHeaders:()=>e5,BlockBlobUploadHeaders:()=>ZV,BlockList:()=>OH,BlockLookupList:()=>PH,ClearRange:()=>cat,ContainerAcquireLeaseExceptionHeaders:()=>b4,ContainerAcquireLeaseHeaders:()=>C4,ContainerBreakLeaseExceptionHeaders:()=>v4,ContainerBreakLeaseHeaders:()=>x4,ContainerChangeLeaseExceptionHeaders:()=>_4,ContainerChangeLeaseHeaders:()=>N4,ContainerCreateExceptionHeaders:()=>t4,ContainerCreateHeaders:()=>e4,ContainerDeleteExceptionHeaders:()=>s4,ContainerDeleteHeaders:()=>i4,ContainerFilterBlobsExceptionHeaders:()=>E4,ContainerFilterBlobsHeaders:()=>y4,ContainerGetAccessPolicyExceptionHeaders:()=>l4,ContainerGetAccessPolicyHeaders:()=>c4,ContainerGetAccountInfoExceptionHeaders:()=>P4,ContainerGetAccountInfoHeaders:()=>k4,ContainerGetPropertiesExceptionHeaders:()=>n4,ContainerGetPropertiesHeaders:()=>r4,ContainerItem:()=>Wot,ContainerListBlobFlatSegmentExceptionHeaders:()=>R4,ContainerListBlobFlatSegmentHeaders:()=>T4,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Q4,ContainerListBlobHierarchySegmentHeaders:()=>D4,ContainerProperties:()=>Jot,ContainerReleaseLeaseExceptionHeaders:()=>I4,ContainerReleaseLeaseHeaders:()=>w4,ContainerRenameExceptionHeaders:()=>A4,ContainerRenameHeaders:()=>p4,ContainerRenewLeaseExceptionHeaders:()=>B4,ContainerRenewLeaseHeaders:()=>S4,ContainerRestoreExceptionHeaders:()=>h4,ContainerRestoreHeaders:()=>f4,ContainerSetAccessPolicyExceptionHeaders:()=>d4,ContainerSetAccessPolicyHeaders:()=>u4,ContainerSetMetadataExceptionHeaders:()=>a4,ContainerSetMetadataHeaders:()=>o4,ContainerSubmitBatchExceptionHeaders:()=>g4,ContainerSubmitBatchHeaders:()=>m4,CorsRule:()=>zot,DelimitedTextConfiguration:()=>dat,FilterBlobItem:()=>Yot,FilterBlobSegment:()=>Cw,GeoReplication:()=>jot,JsonTextConfiguration:()=>fat,KeyInfo:()=>RH,ListBlobsFlatSegmentResponse:()=>QH,ListBlobsHierarchySegmentResponse:()=>kH,ListContainersSegmentResponse:()=>TH,Logging:()=>Got,Metrics:()=>Vot,PageBlobClearPagesExceptionHeaders:()=>DV,PageBlobClearPagesHeaders:()=>RV,PageBlobCopyIncrementalExceptionHeaders:()=>VV,PageBlobCopyIncrementalHeaders:()=>HV,PageBlobCreateExceptionHeaders:()=>NV,PageBlobCreateHeaders:()=>vV,PageBlobGetPageRangesDiffExceptionHeaders:()=>FV,PageBlobGetPageRangesDiffHeaders:()=>LV,PageBlobGetPageRangesExceptionHeaders:()=>OV,PageBlobGetPageRangesHeaders:()=>PV,PageBlobResizeExceptionHeaders:()=>UV,PageBlobResizeHeaders:()=>MV,PageBlobUpdateSequenceNumberExceptionHeaders:()=>GV,PageBlobUpdateSequenceNumberHeaders:()=>qV,PageBlobUploadPagesExceptionHeaders:()=>TV,PageBlobUploadPagesFromURLExceptionHeaders:()=>kV,PageBlobUploadPagesFromURLHeaders:()=>QV,PageBlobUploadPagesHeaders:()=>_V,PageList:()=>HT,PageRange:()=>aat,QueryFormat:()=>uat,QueryRequest:()=>LH,QuerySerialization:()=>lat,RetentionPolicy:()=>Hot,ServiceFilterBlobsExceptionHeaders:()=>ZH,ServiceFilterBlobsHeaders:()=>XH,ServiceGetAccountInfoExceptionHeaders:()=>JH,ServiceGetAccountInfoHeaders:()=>WH,ServiceGetPropertiesExceptionHeaders:()=>qH,ServiceGetPropertiesHeaders:()=>UH,ServiceGetStatisticsExceptionHeaders:()=>HH,ServiceGetStatisticsHeaders:()=>GH,ServiceGetUserDelegationKeyExceptionHeaders:()=>jH,ServiceGetUserDelegationKeyHeaders:()=>$H,ServiceListContainersSegmentExceptionHeaders:()=>zH,ServiceListContainersSegmentHeaders:()=>VH,ServiceSetPropertiesExceptionHeaders:()=>MH,ServiceSetPropertiesHeaders:()=>FH,ServiceSubmitBatchExceptionHeaders:()=>KH,ServiceSubmitBatchHeaders:()=>YH,SignedIdentifier:()=>Xot,StaticWebsite:()=>$ot,StorageError:()=>te,UserDelegationKey:()=>DH});var Ew={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"}}}}},Got={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"}}}}},Hot={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"}}}}},Vot={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"}}}}},zot={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"}}}}},$ot={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"}}}}},te={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"}}}}},_H={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},jot={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"}}}}},TH={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"}}}}},Wot={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"}}}}}}},Jot={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"}}}}},RH={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"}}}}},DH={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"}}}}},Cw={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"}}}}},Yot={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"}}}}},bw={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"}}}}}}},Kot={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"}}}}},Xot={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"}}}}},Zot={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"}}}}},QH={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"}}}}},eat={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"}}}}}}},tat={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"}}}}},rat={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"}}}}},nat={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"}}}}},kH={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"}}}}},iat={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"}}}}}}},sat={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},PH={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"}}}}}}},OH={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"}}}}}}},oat={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"}}}}},HT={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"}}}}},aat={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"}}}}},cat={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"}}}}},LH={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"}}}}},lat={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},uat={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"}}}}}}},dat={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"}}}}},fat={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},hat={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"}}}}}}},pat={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"}}}}},FH={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"}}}}},MH={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UH={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"}}}}},qH={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GH={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"}}}}},HH={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VH={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"}}}}},zH={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$H={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"}}}}},jH={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WH={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"}}}}},JH={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YH={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"}}}}},KH={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XH={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"}}}}},ZH={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},e4={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"}}}}},t4={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},r4={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"}}}}},n4={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},i4={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"}}}}},s4={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={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"}}}}},a4={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},c4={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"}}}}},l4={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},u4={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"}}}}},d4={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f4={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"}}}}},h4={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},p4={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"}}}}},A4={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},m4={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"}}}}},g4={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y4={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"}}}}},E4={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C4={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"}}}}},b4={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},w4={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"}}}}},I4={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S4={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"}}}}},B4={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},x4={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"}}}}},v4={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={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"}}}}},_4={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T4={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"}}}}},R4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D4={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"}}}}},Q4={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},k4={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"}}}}},P4={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VT={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"}}}}},O4={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L4={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"}}}}},F4={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},M4={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"}}}}},U4={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},q4={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"}}}}},G4={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H4={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"}}}}},V4={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},z4={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"}}}}},$4={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},j4={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"]}}}}},W4={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},J4={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"}}}}},Y4={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},K4={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"}}}}},X4={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z4={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"}}}}},eV={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tV={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"}}}}},rV={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nV={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"}}}}},iV={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sV={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"}}}}},oV={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aV={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"}}}}},cV={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lV={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"}}}}},uV={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dV={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"}}}}},fV={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hV={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"}}}}},pV={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"}}}}},AV={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"}}}}},mV={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"}}}}},gV={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"}}}}},yV={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zT={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"}}}}},EV={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CV={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"}}}}},bV={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$T={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"}}}}},wV={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IV={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"}}}}},SV={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BV={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"}}}}},xV={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vV={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"}}}}},NV={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_V={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"}}}}},TV={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RV={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"}}}}},DV={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QV={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"}}}}},kV={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"}}}}},PV={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"}}}}},OV={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LV={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"}}}}},FV={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MV={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"}}}}},UV={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qV={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"}}}}},GV={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HV={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"}}}}},VV={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zV={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"}}}}},$V={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jV={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"}}}}},WV={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JV={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"}}}}},YV={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"}}}}},KV={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"}}}}},XV={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZV={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"}}}}},e5={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},t5={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"}}}}},r5={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"}}}}},n5={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"}}}}},i5={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s5={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"}}}}},o5={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"}}}}},a5={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"}}}}},c5={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l5={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"}}}}},u5={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var rl={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Kme={parameterPath:"blobServiceProperties",mapper:Ew},ta={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ne={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},ww={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},ra={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ie={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},se={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},oe={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},ye={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Xme={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Iw={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},nl={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},il={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},Zme={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},ege={parameterPath:"keyInfo",mapper:RH},tge={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Jg={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},jT={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},WT={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},JT={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},YT={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},KT={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},$n={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},_i={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},d5={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},rge={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},nge={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},rt={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},Je={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Ye={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},XT={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},f5={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ige={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},ZT={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sge={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},oge={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},age={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cge={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},lge={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},na={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},eR={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},tR={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},rR={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},nR={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bf={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},iR={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},sR={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},oR={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},aR={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},cR={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},h5={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"},p5={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},uge={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Zi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},sl={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Np={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},dge={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},fge={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Lr={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Fr={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Mr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Nt={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},_t={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},dt={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},hge={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},pge={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},Age={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mge={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},gge={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ol={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},al={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},cl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ll={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},ul={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},dl={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},A5={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tc={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},rc={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},yge={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ege={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},En={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},Cge={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$u={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"]}}},m5={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},fl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},hl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},pl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Al={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},lR={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},_p={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},nc={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},bge={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},ml={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},wge={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ju={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Wu={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},uR={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Ju={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Ige={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sge={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},Bge={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},xge={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},vge={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"]}}},Nge={parameterPath:["options","queryRequest"],mapper:LH},_ge={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},g5={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},y5={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},E5={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},C5={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},b5={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},Tge={parameterPath:["options","tags"],mapper:bw},ia={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},gl={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},Rge={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},w5={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},I5={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Tp={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Rp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Dp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},dR={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S5={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},fR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},hR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},pR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Dge={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Yg={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Qge={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Kg={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},kge={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},B5={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pge={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},Oge={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},Lge={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},Fge={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mge={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},x5={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},v5={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},AR={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},mR={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},Uge={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N5={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},qge={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},_5={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},T5={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},Gge={parameterPath:"blocks",mapper:PH},R5={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hge={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var gR=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Aat)}getProperties(e){return this.client.sendOperationRequest({options:e},mat)}getStatistics(e){return this.client.sendOperationRequest({options:e},gat)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},yat)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Eat)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Cat)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},bat)}filterBlobs(e){return this.client.sendOperationRequest({options:e},wat)}},wf=po(go,!0),Aat={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:FH},default:{bodyMapper:te,headersMapper:MH}},requestBody:Kme,queryParameters:[ww,ra,ie],urlParameters:[ne],headerParameters:[rl,ta,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},mat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ew,headersMapper:UH},default:{bodyMapper:te,headersMapper:qH}},queryParameters:[ww,ra,ie],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},gat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_H,headersMapper:GH},default:{bodyMapper:te,headersMapper:HH}},queryParameters:[ww,ie,Xme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},yat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:TH,headersMapper:VH},default:{bodyMapper:te,headersMapper:zH}},queryParameters:[ie,Iw,Sw,nl,il,Zme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},Eat={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:DH,headersMapper:$H},default:{bodyMapper:te,headersMapper:jH}},requestBody:ege,queryParameters:[ww,ie,tge],urlParameters:[ne],headerParameters:[rl,ta,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},Cat={path:"/",httpMethod:"GET",responses:{200:{headersMapper:WH},default:{bodyMapper:te,headersMapper:JH}},queryParameters:[ra,ie,Jg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},bat={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:YH},default:{bodyMapper:te,headersMapper:KH}},requestBody:jT,queryParameters:[ie,WT],urlParameters:[ne],headerParameters:[ta,se,oe,zn,JT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},wat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Cw,headersMapper:XH},default:{bodyMapper:te,headersMapper:ZH}},queryParameters:[ie,nl,il,YT,KT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf};var yR=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Iat)}getProperties(e){return this.client.sendOperationRequest({options:e},Sat)}delete(e){return this.client.sendOperationRequest({options:e},Bat)}setMetadata(e){return this.client.sendOperationRequest({options:e},xat)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},vat)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Nat)}restore(e){return this.client.sendOperationRequest({options:e},_at)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Tat)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Rat)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Dat)}acquireLease(e){return this.client.sendOperationRequest({options:e},Qat)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},kat)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Pat)}breakLease(e){return this.client.sendOperationRequest({options:e},Oat)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Lat)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Fat)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Mat)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Uat)}},jn=po(go,!0),Iat={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:e4},default:{bodyMapper:te,headersMapper:t4}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,_i,d5,rge,nge],isXML:!0,serializer:jn},Sat={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:r4},default:{bodyMapper:te,headersMapper:n4}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},Bat={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:i4},default:{bodyMapper:te,headersMapper:s4}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye],isXML:!0,serializer:jn},xat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:o4},default:{bodyMapper:te,headersMapper:a4}},queryParameters:[ie,$n,XT],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je],isXML:!0,serializer:jn},vat={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:c4},default:{bodyMapper:te,headersMapper:l4}},queryParameters:[ie,$n,f5],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},Nat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:u4},default:{bodyMapper:te,headersMapper:d4}},requestBody:ige,queryParameters:[ie,$n,f5],urlParameters:[ne],headerParameters:[rl,ta,se,oe,d5,rt,Je,Ye],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},_at={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:f4},default:{bodyMapper:te,headersMapper:h4}},queryParameters:[ie,$n,ZT],urlParameters:[ne],headerParameters:[se,oe,ye,sge,oge],isXML:!0,serializer:jn},Tat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:p4},default:{bodyMapper:te,headersMapper:A4}},queryParameters:[ie,$n,age],urlParameters:[ne],headerParameters:[se,oe,ye,cge,lge],isXML:!0,serializer:jn},Rat={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:m4},default:{bodyMapper:te,headersMapper:g4}},requestBody:jT,queryParameters:[ie,WT,$n],urlParameters:[ne],headerParameters:[ta,se,oe,zn,JT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},Dat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Cw,headersMapper:y4},default:{bodyMapper:te,headersMapper:E4}},queryParameters:[ie,nl,il,YT,KT,$n],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Qat={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:C4},default:{bodyMapper:te,headersMapper:b4}},queryParameters:[ie,$n,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,eR,tR,rR],isXML:!0,serializer:jn},kat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:w4},default:{bodyMapper:te,headersMapper:I4}},queryParameters:[ie,$n,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,nR,bf],isXML:!0,serializer:jn},Pat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:S4},default:{bodyMapper:te,headersMapper:B4}},queryParameters:[ie,$n,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,bf,iR],isXML:!0,serializer:jn},Oat={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:x4},default:{bodyMapper:te,headersMapper:v4}},queryParameters:[ie,$n,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,sR,oR],isXML:!0,serializer:jn},Lat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N4},default:{bodyMapper:te,headersMapper:_4}},queryParameters:[ie,$n,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,bf,aR,cR],isXML:!0,serializer:jn},Fat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:QH,headersMapper:T4},default:{bodyMapper:te,headersMapper:R4}},queryParameters:[ie,Iw,Sw,nl,il,$n,h5,p5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Mat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:kH,headersMapper:D4},default:{bodyMapper:te,headersMapper:Q4}},queryParameters:[ie,Iw,Sw,nl,il,$n,h5,p5,uge],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Uat={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:k4},default:{bodyMapper:te,headersMapper:P4}},queryParameters:[ra,ie,Jg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn};var ER=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},qat)}getProperties(e){return this.client.sendOperationRequest({options:e},Gat)}delete(e){return this.client.sendOperationRequest({options:e},Hat)}undelete(e){return this.client.sendOperationRequest({options:e},Vat)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},zat)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},$at)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},jat)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Wat)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Jat)}setMetadata(e){return this.client.sendOperationRequest({options:e},Yat)}acquireLease(e){return this.client.sendOperationRequest({options:e},Kat)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Xat)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Zat)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},ect)}breakLease(e){return this.client.sendOperationRequest({options:e},tct)}createSnapshot(e){return this.client.sendOperationRequest({options:e},rct)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},nct)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},ict)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},sct)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},oct)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},act)}query(e){return this.client.sendOperationRequest({options:e},cct)}getTags(e){return this.client.sendOperationRequest({options:e},lct)}setTags(e){return this.client.sendOperationRequest({options:e},uct)}},Cr=po(go,!0),qat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:VT},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:VT},default:{bodyMapper:te,headersMapper:O4}},queryParameters:[ie,Zi,sl],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Np,dge,fge,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,serializer:Cr},Gat={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:L4},default:{bodyMapper:te,headersMapper:F4}},queryParameters:[ie,Zi,sl],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,serializer:Cr},Hat={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:M4},default:{bodyMapper:te,headersMapper:U4}},queryParameters:[ie,Zi,sl,pge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,hge],isXML:!0,serializer:Cr},Vat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:q4},default:{bodyMapper:te,headersMapper:G4}},queryParameters:[ie,ZT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},zat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:H4},default:{bodyMapper:te,headersMapper:V4}},queryParameters:[ie,Age],urlParameters:[ne],headerParameters:[se,oe,ye,mge,gge],isXML:!0,serializer:Cr},$at={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z4},default:{bodyMapper:te,headersMapper:$4}},queryParameters:[ra,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,ol,al,cl,ll,ul,dl],isXML:!0,serializer:Cr},jat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:j4},default:{bodyMapper:te,headersMapper:W4}},queryParameters:[ie,Zi,sl,A5],urlParameters:[ne],headerParameters:[se,oe,ye,Ye,tc,rc],isXML:!0,serializer:Cr},Wat={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:J4},default:{bodyMapper:te,headersMapper:Y4}},queryParameters:[ie,Zi,sl,A5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},Jat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K4},default:{bodyMapper:te,headersMapper:X4}},queryParameters:[ie,Zi,sl,yge],urlParameters:[ne],headerParameters:[se,oe,ye,Ege],isXML:!0,serializer:Cr},Yat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Z4},default:{bodyMapper:te,headersMapper:eV}},queryParameters:[ie,XT],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En],isXML:!0,serializer:Cr},Kat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tV},default:{bodyMapper:te,headersMapper:rV}},queryParameters:[ie,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,eR,tR,rR,Nt,_t,dt],isXML:!0,serializer:Cr},Xat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:nV},default:{bodyMapper:te,headersMapper:iV}},queryParameters:[ie,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,nR,bf,Nt,_t,dt],isXML:!0,serializer:Cr},Zat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sV},default:{bodyMapper:te,headersMapper:oV}},queryParameters:[ie,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,bf,iR,Nt,_t,dt],isXML:!0,serializer:Cr},ect={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aV},default:{bodyMapper:te,headersMapper:cV}},queryParameters:[ie,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,bf,aR,cR,Nt,_t,dt],isXML:!0,serializer:Cr},tct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:lV},default:{bodyMapper:te,headersMapper:uV}},queryParameters:[ie,na],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,sR,oR,Nt,_t,dt],isXML:!0,serializer:Cr},rct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dV},default:{bodyMapper:te,headersMapper:fV}},queryParameters:[ie,Cge],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En],isXML:!0,serializer:Cr},nct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:hV},default:{bodyMapper:te,headersMapper:pV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je,Ye,Nt,_t,dt,tc,rc,$u,m5,fl,hl,pl,Al,lR,_p,nc,bge,ml],isXML:!0,serializer:Cr},ict={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:AV},default:{bodyMapper:te,headersMapper:mV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je,Ye,Nt,_t,dt,tc,rc,En,$u,fl,hl,pl,Al,_p,nc,ml,wge,ju,Wu,uR,Ju],isXML:!0,serializer:Cr},sct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:gV},default:{bodyMapper:te,headersMapper:yV}},queryParameters:[ie,Ige,Bge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Sge],isXML:!0,serializer:Cr},oct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zT},202:{headersMapper:zT},default:{bodyMapper:te,headersMapper:EV}},queryParameters:[ie,Zi,sl,xge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt,m5,vge],isXML:!0,serializer:Cr},act={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:CV},default:{bodyMapper:te,headersMapper:bV}},queryParameters:[ra,ie,Jg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},cct={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$T},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$T},default:{bodyMapper:te,headersMapper:wV}},requestBody:Nge,queryParameters:[ie,Zi,_ge],urlParameters:[ne],headerParameters:[rl,ta,se,oe,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr},lct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:bw,headersMapper:IV},default:{bodyMapper:te,headersMapper:SV}},queryParameters:[ie,Zi,sl,g5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt,y5,E5,C5,b5],isXML:!0,serializer:Cr},uct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:BV},default:{bodyMapper:te,headersMapper:xV}},requestBody:Tge,queryParameters:[ie,sl,g5],urlParameters:[ne],headerParameters:[rl,ta,se,oe,rt,dt,y5,E5,C5,b5,ia,gl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr};var CR=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},dct)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},fct)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},hct)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},pct)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Act)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},mct)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},gct)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},yct)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Ect)}},Yu=po(go,!0),dct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vV},default:{bodyMapper:te,headersMapper:NV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,ol,al,cl,ll,ul,dl,tc,rc,En,$u,nc,ml,Rge,w5,I5],isXML:!0,serializer:Yu},fct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_V},default:{bodyMapper:te,headersMapper:TV}},requestBody:Rp,queryParameters:[ie,dR],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,Np,Lr,Fr,Mr,Nt,_t,dt,En,ia,gl,Tp,Dp,S5,fR,hR,pR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Yu},hct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RV},default:{bodyMapper:te,headersMapper:DV}},queryParameters:[ie,dR],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Np,Lr,Fr,Mr,Nt,_t,dt,En,fR,hR,pR,Dge],isXML:!0,serializer:Yu},pct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QV},default:{bodyMapper:te,headersMapper:kV}},queryParameters:[ie,dR],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,fl,hl,pl,Al,ju,Wu,Ju,S5,fR,hR,pR,Yg,Qge,Kg,kge],isXML:!0,serializer:Yu},Act={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:HT,headersMapper:PV},default:{bodyMapper:te,headersMapper:OV}},queryParameters:[ie,nl,il,Zi,B5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Np,Nt,_t,dt],isXML:!0,serializer:Yu},mct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:HT,headersMapper:LV},default:{bodyMapper:te,headersMapper:FV}},queryParameters:[ie,nl,il,Zi,B5,Pge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Np,Nt,_t,dt,Oge],isXML:!0,serializer:Yu},gct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MV},default:{bodyMapper:te,headersMapper:UV}},queryParameters:[ra,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,w5],isXML:!0,serializer:Yu},yct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qV},default:{bodyMapper:te,headersMapper:GV}},queryParameters:[ra,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,I5,Lge],isXML:!0,serializer:Yu},Ect={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:HV},default:{bodyMapper:te,headersMapper:VV}},queryParameters:[ie,Fge],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Nt,_t,dt,_p],isXML:!0,serializer:Yu};var bR=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Cct)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},bct)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},wct)}seal(e){return this.client.sendOperationRequest({options:e},Ict)}},wR=po(go,!0),Cct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zV},default:{bodyMapper:te,headersMapper:$V}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,ol,al,cl,ll,ul,dl,tc,rc,En,nc,ml,Mge],isXML:!0,serializer:wR},bct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jV},default:{bodyMapper:te,headersMapper:WV}},requestBody:Rp,queryParameters:[ie,x5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,ia,gl,Tp,Dp,v5,AR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wR},wct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JV},default:{bodyMapper:te,headersMapper:YV}},queryParameters:[ie,x5],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,fl,hl,pl,Al,ju,Wu,Ju,ia,Yg,Kg,v5,AR,mR],isXML:!0,serializer:wR},Ict={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:KV},default:{bodyMapper:te,headersMapper:XV}},queryParameters:[ie,Uge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,AR],isXML:!0,serializer:wR};var IR=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Sct)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},Bct)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},xct)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},vct)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Nct)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},_ct)}},Zg=po(go,!0),Sct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZV},default:{bodyMapper:te,headersMapper:e5}},requestBody:Rp,queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,zn,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,ol,al,cl,ll,ul,dl,tc,rc,En,$u,nc,ml,ia,gl,Tp,Dp,N5],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Zg},Bct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:t5},default:{bodyMapper:te,headersMapper:r5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,ol,al,cl,ll,ul,dl,En,$u,fl,hl,pl,Al,lR,_p,nc,ju,Wu,uR,Ju,ia,N5,qge],isXML:!0,serializer:Zg},xct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:n5},default:{bodyMapper:te,headersMapper:i5}},requestBody:Rp,queryParameters:[ie,_5,T5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Lr,Fr,Mr,En,ia,gl,Tp,Dp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Zg},vct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:s5},default:{bodyMapper:te,headersMapper:o5}},queryParameters:[ie,_5,T5],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Lr,Fr,Mr,En,fl,hl,pl,Al,ju,Wu,Ju,Yg,Kg,mR],isXML:!0,serializer:Zg},Nct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a5},default:{bodyMapper:te,headersMapper:c5}},requestBody:Gge,queryParameters:[ie,R5],urlParameters:[ne],headerParameters:[rl,ta,se,oe,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,ol,al,cl,ll,ul,dl,tc,rc,En,$u,nc,ml,ia,gl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zg},_ct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:OH,headersMapper:l5},default:{bodyMapper:te,headersMapper:u5}},queryParameters:[ie,Zi,R5,Hge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt],isXML:!0,serializer:Zg};var Bw=class extends rw{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new gR(this),this.container=new yR(this),this.blob=new ER(this),this.pageBlob=new CR(this),this.appendBlob=new bR(this),this.blockBlob=new IR(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var xw=class extends Bw{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function zge(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Rct(r),e.pathname=r,e.toString()}o(zge,"escapeURLPath");function Tct(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(Tct,"getProxyUriFromDevConnString");function Qp(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Qp,"getValueInConnString");function kp(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Tct(t),t=Ume);let r=Qp(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Qp(t,"AccountName"),s=Buffer.from(Qp(t,"AccountKey"),"base64"),!r){n=Qp(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Qp(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=Qp(t,"SharedAccessSignature"),i=Qp(t,"AccountName");if(i||(i=P5(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(kp,"extractConnectionStringParts");function Rct(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Rct,"escape");function _n(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(_n,"appendToURLPath");function ey(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(ey,"setURLParameter");function D5(t,e){return new URL(t).searchParams.get(e)??void 0}o(D5,"getURLParameter");function $ge(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o($ge,"getURLScheme");function vw(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(vw,"appendToURLQuery");function Ft(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ft,"truncatedISO8061Date");function Dct(t){return Lt?Buffer.from(t).toString("base64"):btoa(t)}o(Dct,"base64encode");function Q5(t,e){t.length>42&&(t=t.slice(0,42));let s=t+Qct(e.toString(),48-t.length,"0");return Dct(s)}o(Q5,"generateBlockID");function Qct(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(Qct,"padStart");function k5(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(k5,"iEqual");function P5(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:SR(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(P5,"getAccountNameFromUrl");function SR(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&&zme.includes(t.port)}o(SR,"isIpEndpointStyle");function If(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(If,"toBlobTagsString");function jge(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(jge,"toBlobTags");function BR(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(BR,"toTags");function O5(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(O5,"toQuerySerialization");function xR(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(xR,"parseObjectReplicationRecord");function ty(t){return t?t.scheme+" "+t.value:void 0}o(ty,"httpAuthorizationToString");function*L5(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n<e.length&&i<r.length;)e[n].start<r[i].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}o(L5,"ExtractPageRangeInfoItems");function Ne(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(Ne,"assertResponse");var ry=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=zge(e),this.accountName=P5(e),this.pipeline=r,this.storageClientContext=new xw(this.url,vH(r)),this.isHttps=k5($ge(this.url)||"","https"),this.credential=NH(r);let n=this.storageClientContext;n.requestContentType=void 0}};var Ce=W0({packageName:"@azure/storage-blob",packageVersion:UT,namespace:"Microsoft.Storage"});var yl=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};var El=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};function ic(t){return t.end?`${t.start}-${t.end}`:t.start}o(ic,"ipRangeToString");var Wge;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(Wge||(Wge={}));var sc=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,a,c,l,u,d,f,h,p,m,g,E,y,C,w,B,Q){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=u,this.delegatedUserObjectId=Q,this.encryptionScope=B,this.identifier=d,this.resource=f,this.cacheControl=h,this.contentDisposition=p,this.contentEncoding=m,this.contentLanguage=g,this.contentType=E,y&&(this.signedOid=y.signedObjectId,this.signedTenantId=y.signedTenantId,this.signedStartsOn=y.signedStartsOn,this.signedExpiresOn=y.signedExpiresOn,this.signedService=y.signedService,this.signedVersion=y.signedVersion,this.preauthorizedAgentObjectId=C,this.correlationId=w))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?Ft(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Ft(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?ic(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?Ft(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Ft(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};function Nw(t,e,r){return _w(t,e,r).sasQueryParameters}o(Nw,"generateBlobSASQueryParameters");function _w(t,e,r){let n=t.version?t.version:qT,i=e instanceof Or?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new MT(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?Oct(t,i):n>="2025-07-05"?Uct(t,s):Mct(t,s);if(n>="2018-11-09")return i!==void 0?Pct(t,i):n>="2020-02-10"?Fct(t,s):Lct(t,s);if(n>="2015-04-05"){if(i!==void 0)return kct(t,i);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(_w,"generateBlobSASQueryParametersInternal");function kct(t,e){if(t=Op(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=yl.parse(t.permissions.toString()).toString():n=El.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new sc(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(kct,"generateBlobSASQueryParameters20150405");function Pct(t,e){if(t=Op(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(Pct,"generateBlobSASQueryParameters20181109");function Oct(t,e){if(t=Op(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:s}}o(Oct,"generateBlobSASQueryParameters20201206");function Lct(t,e){if(t=Op(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:s}}o(Lct,"generateBlobSASQueryParametersUDK20181109");function Fct(t,e){if(t=Op(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:s}}o(Fct,"generateBlobSASQueryParametersUDK20200210");function Mct(t,e){if(t=Op(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:s}}o(Mct,"generateBlobSASQueryParametersUDK20201206");function Uct(t,e){if(t=Op(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=yl.parse(t.permissions.toString()).toString():i=El.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Pp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?ic(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new sc(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:s}}o(Uct,"generateBlobSASQueryParametersUDK20250705");function Pp(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Pp,"getCanonicalName");function Op(t){let e=t.version?t.version:qT;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Op,"SASSignatureValuesSanityCheckAndAutofill");var Tw=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=Lg()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==ec||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==ec||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 Ce.withSpan("BlobLeaseClient-acquireLease",r,async n=>Ne(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==ec||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==ec||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 Ce.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=Ne(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==ec||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==ec||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 Ce.withSpan("BlobLeaseClient-releaseLease",e,async r=>Ne(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!==ec||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==ec||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 Ce.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!==ec||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==ec||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 Ce.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Ne(await this._containerOrBlobOperation.breakLease(i))})}};var Jge=require("node:stream");var vR=class extends Jge.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new fo("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(r=>{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var NR=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new vR(this.originalResponse.readableStreamBody,r,n,i,s)}};var tye=require("node:stream");var F5=new Uint8Array([79,98,106,1]),Yge="avro.codec",Kge="avro.schema";var vr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<<i,i+=7;while(a&&i<28);if(a){n=n,c=268435456;do s=await t.readByte(e,r),n+=(s&127)*c,c*=128;while(s&128);let l=(n%2?-(n+1):n)/2;if(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}},Lp;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Lp||(Lp={}));var Wn;(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"})(Wn||(Wn={}));var Ku=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Wn.NULL:case Wn.BOOLEAN:case Wn.INT:case Wn.LONG:case Wn.FLOAT:case Wn.DOUBLE:case Wn.BYTES:case Wn.STRING:return new M5(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new q5(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Lp.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new H5(n,e.name);case Lp.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 U5(e.symbols);case Lp.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new G5(t.fromSchema(e.values));case Lp.ARRAY:case Lp.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},M5=class extends Ku{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Wn.NULL:return vr.readNull();case Wn.BOOLEAN:return vr.readBoolean(e,r);case Wn.INT:return vr.readInt(e,r);case Wn.LONG:return vr.readLong(e,r);case Wn.FLOAT:return vr.readFloat(e,r);case Wn.DOUBLE:return vr.readDouble(e,r);case Wn.BYTES:return vr.readBytes(e,r);case Wn.STRING:return vr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},U5=class extends Ku{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await vr.readInt(e,r);return this._symbols[n]}},q5=class extends Ku{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await vr.readInt(e,r);return this._types[n].read(e,r)}},G5=class extends Ku{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return vr.readMap(e,n,r)}},H5=class extends Ku{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}};function V5(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}o(V5,"arraysEqual");var Rw=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await vr.readFixedBytes(this._headerStream,F5.length,{abortSignal:e.abortSignal});if(!V5(r,F5))throw new Error("Stream is not an Avro file.");this._metadata=await vr.readMap(this._headerStream,vr.readString,{abortSignal:e.abortSignal});let n=this._metadata[Yge];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await vr.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Kge]);if(this._itemType=Ku.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await vr.readLong(this._dataStream,{abortSignal:e.abortSignal}),await vr.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s<this._objectIndex;s++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await vr.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!V5(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await vr.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await vr.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Dw=class{static{o(this,"AvroReadable")}};var eye=require("buffer");var Zge=new fo("Reading from the avro stream was aborted."),Qw=class extends Dw{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?eye.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 Zge;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",u)},"cleanUp"),c=o(()=>{let d=this._readable.read(e);d&&(this._position+=d.length,a(),i(this.toUint8Array(d)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),u=o(()=>{a(),s(Zge)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",u)})}};var _R=class extends tye.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new Rw(new Qw(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var TR=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new _R(this.originalResponse.readableStreamBody,r)}};var z5;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(z5||(z5={}));var $5;(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"})($5||($5={}));function Sf(t){if(t!==void 0)return t}o(Sf,"toAccessTier");function Tn(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=Mme)}o(Tn,"ensureCpkIfSpecified");var j5;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(j5||(j5={}));function RR(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(RR,"rangeResponseFromModel");var Uye=N(Mye(),1);var qR=class extends Uye.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=Lw({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return $0(this.intervalInMs)}},Llt=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Lw(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Lw(r)):(r.isCancelled=!0,Lw(r))},"cancel"),Flt=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Lw(r)},"update"),Mlt=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Lw(t){return{state:{...t},cancel:Llt,toString:Mlt,update:Flt}}o(Lw,"makeBlobBeginCopyFromURLPollOperation");function Ts(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Ts,"rangeToString");var qye=require("events");var Fw;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Fw||(Fw={}));var Mw=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=Fw.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new qye.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=Fw.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Fw.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 GR=N(require("node:fs"),1),Gye=N(require("node:util"),1);async function Hye(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(s>=a){clearTimeout(u),c();return}let d=t.read();if(!d)return;typeof d=="string"&&(d=Buffer.from(d,i));let f=s+d.length>a?a-s:d.length;e.fill(d.slice(0,f),r+s,r+s+f),s+=f}),t.on("end",()=>{clearTimeout(u),s<a&&l(new Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${a}`)),c()}),t.on("error",d=>{clearTimeout(u),l(d)})})}o(Hye,"streamToBuffer");async function Vye(t,e){return new Promise((r,n)=>{let i=GR.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(Vye,"readStreamToLocalFile");var zye=Gye.default.promisify(GR.default.stat),$ye=GR.default.createReadStream;var oc=class t extends ry{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if(zu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||ho(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=kp(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=mf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=D5(this.url,Vu.Parameters.SNAPSHOT),this._versionId=D5(this.url,Vu.Parameters.VERSIONID)}withSnapshot(e){return new t(ey(this.url,Vu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(ey(this.url,Vu.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new VR(this.url,this.pipeline)}getBlockBlobClient(){return new sy(this.url,this.pipeline)}getPageBlobClient(){return new zR(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-download",n,async i=>{let s=Ne(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Lt?void 0:n.onProgress},range:e===0&&!r?void 0:Ts({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:xR(s.objectReplicationRules)};if(!Lt)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new NR(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Ts({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Ce.withSpan("BlobClient-exists",e,async r=>{try{return Tn(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===Hme||n.details.errorCode===Vme))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-getProperties",e,async r=>{let n=Ne(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:xR(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Ce.withSpan("BlobClient-delete",e,async r=>Ne(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 Ce.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Ne(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return Ce.withSpan("BlobClient-undelete",e,async r=>Ne(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setHTTPHeaders",r,async n=>Ne(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setMetadata",r,async n=>Ne(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return Ce.withSpan("BlobClient-setTags",r,async n=>Ne(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:jge(e)})))}async getTags(e={}){return Ce.withSpan("BlobClient-getTags",e,async r=>{let n=Ne(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:BR({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Tw(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-createSnapshot",e,async r=>Ne(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:o((...s)=>this.abortCopyFromURL(...s),"abortCopyFromURL"),getProperties:o((...s)=>this.getProperties(...s),"getProperties"),startCopyFromURL:o((...s)=>this.startCopyFromURL(...s),"startCopyFromURL")},i=new qR({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return Ce.withSpan("BlobClient-abortCopyFromURL",r,async n=>Ne(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Ce.withSpan("BlobClient-syncCopyFromURL",r,async n=>Ne(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:ty(r.sourceAuthorization),tier:Sf(r.tier),blobTagsString:If(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return Ce.withSpan("BlobClient-setAccessTier",r,async n=>Ne(await this.blobContext.setTier(Sf(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=4194304),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),Ce.withSpan("BlobClient-downloadToBuffer",l,async d=>{if(!c){let p=await this.getProperties({...l,tracingOptions:d.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(p){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${p.message}`)}if(s.length<c)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${c}`);let f=0,h=new Mw(l.concurrency);for(let p=a;p<a+c;p=p+u)h.addOperation(async()=>{let m=a+c;p+u<m&&(m=p+u);let E=(await this.download(p,m-p,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:d.tracingOptions})).readableStreamBody;await Hye(E,s,p-a,m-a),f+=m-p,l.onProgress&&l.onProgress({loadedBytes:f})});return await h.do(),s})}async downloadToFile(e,r=0,n,i={}){return Ce.withSpan("BlobClient-downloadToFile",i,async s=>{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await Vye(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if(SR(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return Ce.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Ne(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:Sf(r.tier),blobTagsString:If(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Nw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(vw(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return _w({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=Nw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(vw(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return _w({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Ce.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Ne(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return Ce.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Ne(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return Ce.withSpan("BlobClient-setLegalHold",r,async n=>Ne(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return Ce.withSpan("BlobClient-getAccountInfo",e,async r=>Ne(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},VR=class t extends oc{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},zu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||ho(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=kp(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=mf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(ey(this.url,Vu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-create",e,async r=>Ne(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:If(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:xH};return Ce.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=Ne(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},Ce.withSpan("AppendBlobClient-seal",e,async r=>Ne(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlock",n,async i=>Ne(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>Ne(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Ts({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:ty(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},sy=class t extends oc{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},zu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||ho(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=kp(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=mf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(ey(this.url,Vu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Tn(r.customerProvidedKey,this.isHttps),!Lt)throw new Error("This operation currently is only supported in Node.js.");return Ce.withSpan("BlockBlobClient-query",r,async n=>{let i=Ne(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:O5(r.inputTextConfiguration),outputSerialization:O5(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new TR(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-upload",n,async i=>Ne(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:Sf(n.tier),blobTagsString:If(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Ne(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:ty(r.sourceAuthorization),tier:Sf(r.tier),blobTagsString:If(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlock",i,async s=>Ne(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>Ne(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:Ts({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:ty(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-commitBlockList",r,async n=>Ne(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:Sf(r.tier),blobTagsString:If(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return Ce.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=Ne(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Lt){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let s=n.maxSingleShotSize??268435456;if(s<0||s>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(i===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/5e4),i<4194304&&(i=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),Ce.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return Ne(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],u=Lg(),d=0,f=new Mw(n.concurrency);for(let h=0;h<c;h++)f.addOperation(async()=>{let p=Q5(u,h),m=i*h,E=(h===c-1?r:m+i)-m;l.push(p),await this.stageBlock(p,e(m,E),E,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),d+=E,n.onProgress&&n.onProgress({loadedBytes:d})});return await f.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return Ce.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await zye(e)).size;return this.uploadSeekableInternal((s,a)=>()=>$ye(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),Ce.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=Lg(),l=0,u=[];return await new QT(e,r,n,async(f,h)=>{let p=Q5(c,a);u.push(p),a++,await this.stageBlock(p,f,h,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=h,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),Ne(await this.commitBlockList(u,{...i,tracingOptions:s.tracingOptions}))})}},zR=class t extends oc{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},zu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||ho(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=kp(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=mf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(ey(this.url,Vu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-create",r,async n=>Ne(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:Sf(r.tier),blobTagsString:If(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Ce.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:xH},s=Ne(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPages",i,async s=>Ne(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:Ts({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>Ne(await this.pageBlobContext.uploadPagesFromURL(e,Ts({offset:r,count:i}),0,Ts({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:ty(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-clearPages",n,async i=>Ne(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ts({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=Ne(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ts({offset:e,count:r}),tracingOptions:i.tracingOptions}));return RR(s)})}async listPageRangesSegment(e=0,r,n,i={}){return Ce.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>Ne(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:Ts({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*L5(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:Ts({offset:e,count:r}),tracingOptions:s.tracingOptions}));return RR(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return Ce.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:Ts({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*L5(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:Ts({offset:e,count:r}),tracingOptions:s.tracingOptions}));return RR(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},Ce.withSpan("PageBlobClient-resize",r,async n=>Ne(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>Ne(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return Ce.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Ne(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var jye;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(jye||(jye={}));var Wye;(function(t){t.AES256="AES256"})(Wye||(Wye={}));var $R=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var oy=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e}
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};oy.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Up=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Up.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Uw=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Ylt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},gz=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Sent ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function Jye(t,e,r){return Ylt(this,void 0,void 0,function*(){var n;let i=new oc(t),s=i.getBlockBlobClient(),a=new gz((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),D(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new $R(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ut(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(Jye,"uploadCacheArchiveSDK");var Kye=N(require("buffer"),1),Cl=N(require("fs"),1),Xye=N(require("stream"),1),Zye=N(require("util"),1);var jR=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function WR(t){return t?t>=200&&t<300:!1}o(WR,"isSuccessStatusCode");function Klt(t){return t?t>=500:!0}o(Klt,"isServerErrorStatusCode");function Xlt(t){return t?[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout].includes(t):!1}o(Xlt,"isRetryableStatusCode");function Zlt(t){return jR(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Zlt,"sleep");function Yye(t,e,r){return jR(this,arguments,void 0,function*(n,i,s,a=A_,c=m_,l=void 0){let u="",d=1;for(;d<=a;){let f,h,p=!1;try{f=yield i()}catch(m){l&&(f=l(m)),p=!0,u=m.message}if(f&&(h=s(f),!Klt(h)))return f;if(h&&(p=Xlt(h),u=`Cache service responded with ${h}`),D(`${n} - Attempt ${d} of ${a} failed with error: ${u}`),!p){D(`${n} - Error is not retryable`);break}yield Zlt(c),d++}throw Error(`${n} failed: ${u}`)})}o(Yye,"retry");function qw(t,e){return jR(this,arguments,void 0,function*(r,n,i=A_,s=m_){return yield Yye(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof zc)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(qw,"retryTypedResponse");function ay(t,e){return jR(this,arguments,void 0,function*(r,n,i=A_,s=m_){return yield Yye(r,n,a=>a.message.statusCode,i,s)})}o(ay,"retryHttpClientResponse");var sa=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function eut(t,e){return sa(this,void 0,void 0,function*(){yield Zye.promisify(Xye.pipeline)(t.message,e)})}o(eut,"pipeResponseToStream");var JR=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,D(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Received ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function YR(t,e){return sa(this,void 0,void 0,function*(){let r=Cl.createWriteStream(e),n=new Mu("actions/cache"),i=yield ay("downloadCache",()=>sa(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(Q3,()=>{i.message.destroy(),D(`Aborting download, socket timed out after ${Q3} ms`)}),yield eut(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Vc(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else D("Unable to validate download, no Content-Length header")})}o(YR,"downloadCacheHttpClient");function eEe(t,e,r){return sa(this,void 0,void 0,function*(){var n;let i=yield Cl.promises.open(e,"w"),s=new Mu("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield ay("downloadCacheMetadata",()=>sa(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let u=[],d=4*1024*1024;for(let C=0;C<l;C+=d){let w=Math.min(d,l-C);u.push({offset:C,promiseGetter:o(()=>sa(this,void 0,void 0,function*(){return yield tut(s,t,C,w)}),"promiseGetter")})}u.reverse();let f=0,h=0,p=new JR(l);p.startDisplayTimer();let m=p.onProgress(),g=[],E,y=o(()=>sa(this,void 0,void 0,function*(){let C=yield Promise.race(Object.values(g));yield i.write(C.buffer,0,C.count,C.offset),f--,delete g[C.offset],h+=C.count,m({loadedBytes:h})}),"waitAndWrite");for(;E=u.pop();)g[E.offset]=E.promiseGetter(),f++,f>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;f>0;)yield y()}finally{s.dispose(),yield i.close()}})}o(eEe,"downloadCacheHttpClientConcurrent");function tut(t,e,r,n){return sa(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield rEe(3e4,rut(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(tut,"downloadSegmentRetry");function rut(t,e,r,n){return sa(this,void 0,void 0,function*(){let i=yield ay("downloadCachePart",()=>sa(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(rut,"downloadSegment");function tEe(t,e,r){return sa(this,void 0,void 0,function*(){var n;let i=new sy(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)D("Unable to determine content length, downloading file with http-client..."),yield YR(t,e);else{let c=Math.min(134217728,Kye.constants.MAX_LENGTH),l=new JR(a),u=Cl.openSync(e,"w");try{l.startDisplayTimer();let d=new AbortController,f=d.signal;for(;!l.isDone();){let h=l.segmentOffset+l.segmentSize,p=Math.min(c,a-h);l.nextSegment(p);let m=yield rEe(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(h,p,{abortSignal:f,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(m==="timeout")throw d.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(m)&&Cl.writeFileSync(u,m)}}finally{l.stopDisplayTimer(),Cl.closeSync(u)}}})}o(tEe,"downloadCacheStorageSDK");var rEe=o((t,e)=>sa(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout");function yz(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),D(`Use Azure SDK: ${e.useAzureSdk}`),D(`Upload concurrency: ${e.uploadConcurrency}`),D(`Upload chunk size: ${e.uploadChunkSize}`),e}o(yz,"getUploadOptions");function nEe(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),D(`Use Azure SDK: ${e.useAzureSdk}`),D(`Download concurrency: ${e.downloadConcurrency}`),D(`Request timeout (ms): ${e.timeoutInMs}`),D(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),D(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),D(`Lookup only: ${e.lookupOnly}`),e}o(nEe,"getDownloadOptions");function Ez(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(Ez,"isGhes");function Gw(){return Ez()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Gw,"getCacheServiceVersion");var iEe=["none","read","write","write-only"];function Cz(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(Cz,"getCacheMode");function sEe(t){return iEe.includes(t)?t==="read"||t==="write":!0}o(sEe,"isCacheReadable");function oEe(t){return iEe.includes(t)?t==="write"||t==="write-only":!0}o(oEe,"isCacheWritable");function KR(){let t=Gw();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(KR,"getCacheServiceURL");var uEe=N(lEe(),1);function XR(){return`@actions/cache-${uEe.version}`}o(XR,"getUserAgentString");var Rs=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Hw(t){let e=KR();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return D(`Resource Url: ${r}`),r}o(Hw,"getCacheApiUrl");function sut(t,e){return`${t};api-version=${e}`}o(sut,"createAcceptHeader");function out(){return{headers:{Accept:sut("application/json","6.0-preview.1")}}}o(out,"getRequestOptions");function bz(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new _g(t);return new Mu(XR(),[e],out())}o(bz,"createHttpClient");function hEe(t,e,r){return Rs(this,void 0,void 0,function*(){var n;let i=bz(),s=Ng(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,c=yield qw("getCacheEntry",()=>Rs(this,void 0,void 0,function*(){return i.getJson(Hw(a))}));if(c.statusCode===204)return sp()&&(yield aut(t[0],i,s)),null;if(!WR(c.statusCode)){let d=(n=c.error)===null||n===void 0?void 0:n.message;throw d?.includes(g_)?new Error(d):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return Fc(u),D("Cache Result:"),D(JSON.stringify(l)),l})}o(hEe,"getCacheEntry");function aut(t,e,r){return Rs(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield qw("listCache",()=>Rs(this,void 0,void 0,function*(){return e.getJson(Hw(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){D(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
Other caches with similar key:`);for(let c of s?.artifactCaches||[])D(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(aut,"printCachesListForDiagnostics");function wz(t,e,r){return Rs(this,void 0,void 0,function*(){let n=new fEe.URL(t),i=nEe(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield tEe(t,e,i):i.concurrentBlobDownloads?yield eEe(t,e,i):yield YR(t,e):yield YR(t,e)})}o(wz,"downloadCache");function pEe(t,e,r){return Rs(this,void 0,void 0,function*(){let n=bz(),i=Ng(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield qw("reserveCache",()=>Rs(this,void 0,void 0,function*(){return n.postJson(Hw("caches"),s)}))})}o(pEe,"reserveCache");function dEe(t,e){return`bytes ${t}-${e}/*`}o(dEe,"getContentRange");function cut(t,e,r,n,i){return Rs(this,void 0,void 0,function*(){D(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${dEe(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":dEe(n,i)},a=yield ay(`uploadChunk (start: ${n}, end: ${i})`,()=>Rs(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!WR(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(cut,"uploadChunk");function lut(t,e,r,n){return Rs(this,void 0,void 0,function*(){let i=Vc(r),s=Hw(`caches/${e.toString()}`),a=cy.openSync(r,"r"),c=yz(n),l=L3("uploadConcurrency",c.uploadConcurrency),u=L3("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];D("Awaiting all uploads");let f=0;try{yield Promise.all(d.map(()=>Rs(this,void 0,void 0,function*(){for(;f<i;){let h=Math.min(i-f,u),p=f,m=f+h-1;f+=u,yield cut(t,s,()=>cy.createReadStream(r,{fd:a,start:p,end:m,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,m)}})))}finally{cy.closeSync(a)}})}o(lut,"uploadFile");function uut(t,e,r){return Rs(this,void 0,void 0,function*(){let n={size:r};return yield qw("commitCache",()=>Rs(this,void 0,void 0,function*(){return t.postJson(Hw(`caches/${e.toString()}`),n)}))})}o(uut,"commitCache");function Iz(t,e,r,n){return Rs(this,void 0,void 0,function*(){if(yz(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Jye(r,e,n)}else{let s=bz();D("Upload cache"),yield lut(s,t,e,n),D("Commiting cache");let a=Vc(e);O(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield uut(s,t,a);if(!WR(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);O("Cache saved successfully")}})}o(Iz,"saveCache");var cCe=N(tCe(),1),sn=N(nn(),1),Eo=N(nn(),1),zp=N(nn(),1),$p=N(nn(),1),jp=N(nn(),1);var g$=N(nn(),1),y$=N(nn(),1),sCe=N(nn(),1),oCe=N(nn(),1),aCe=N(nn(),1);var p$=N(nn(),1),A$=N(nn(),1),rCe=N(nn(),1),nCe=N(nn(),1),iCe=N(nn(),1);var m$=class extends iCe.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,nCe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rCe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?A$.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,p$.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,p$.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?A$.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},L2=new m$;var E$=class extends aCe.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>L2,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,oCe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,sCe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(L2.internalBinaryRead(e,e.uint32(),n));break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?y$.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,g$.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)L2.internalBinaryWrite(e.scope[s],r.tag(2,g$.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?y$.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Bl=new E$;var C$=class extends jp.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>Bl,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Bl.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.version=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Bl.internalBinaryWrite(e.metadata,r.tag(1,sn.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,sn.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,sn.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},x$=new C$,b$=class extends jp.MessageType{static{o(this,"CreateCacheEntryResponse$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedUploadUrl:"",message:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,sn.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,sn.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,sn.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},v$=new b$,w$=class extends jp.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>Bl,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Bl.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.sizeBytes=e.int64().toString();break;case 4:s.version=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Bl.internalBinaryWrite(e.metadata,r.tag(1,sn.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,sn.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,sn.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,sn.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},N$=new w$,I$=class extends jp.MessageType{static{o(this,"FinalizeCacheEntryUploadResponse$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,entryId:"0",message:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,sn.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,sn.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,sn.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},_$=new I$,S$=class extends jp.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>Bl,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Bl.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.restoreKeys.push(e.string());break;case 4:s.version=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Bl.internalBinaryWrite(e.metadata,r.tag(1,sn.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,sn.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,sn.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,sn.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},T$=new S$,B$=class extends jp.MessageType{static{o(this,"GetCacheEntryDownloadURLResponse$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedDownloadUrl:"",matchedKey:""};return globalThis.Object.defineProperty(r,$p.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Eo.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,sn.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,sn.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,sn.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Eo.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},R$=new B$,LCr=new cCe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:x$,O:v$},{name:"FinalizeCacheEntryUpload",options:{},I:N$,O:_$},{name:"GetCacheEntryDownloadURL",options:{},I:T$,O:R$}]);var F2=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=x$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>v$.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=N$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>_$.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=T$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>R$.fromJson(i,{ignoreUnknownFields:!0}))}};function lCe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Fc(r),Fc(encodeURIComponent(r)))}catch(e){D(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(lCe,"maskSigUrl");function uCe(t){if(typeof t!="object"||t===null){D("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&lCe(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&lCe(t.signed_download_url)}o(uCe,"maskSecretUrls");var M2=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},D$=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=Lhe();this.baseUrl=KR(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Mu(e,[new _g(s)])}request(e,r,n,i){return M2(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;D(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>M2(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return M2(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let c=yield e(),l=c.message.statusCode;i=yield c.readBody(),D(`[Response] - ${c.message.statusCode}`),D(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let u=JSON.parse(i);if(uCe(u),D(`Body: ${JSON.stringify(u,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:u};if(s=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,u.msg){if(Up.isUsageErrorMessage(u.msg))throw new Up;n=`${n}: ${u.msg}`}if(l===Pr.TooManyRequests){let d=c.message.headers["retry-after"];if(d){let f=parseInt(d,10);!isNaN(f)&&f>0&&ut(`You've hit a rate limit, your rate limit will reset in ${f} seconds`)}throw new Uw(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&D(`Raw Body: ${i}`),c instanceof Up||c instanceof Uw)throw c;if(oy.isNetworkErrorCode(c?.code))throw new oy(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);O(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Pr.BadGateway,Pr.GatewayTimeout,Pr.InternalServerError,Pr.ServiceUnavailable].includes(e):!1}sleep(e){return M2(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Q$(t){let e=new D$(XR(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new F2(e)}o(Q$,"internalCacheTwirpClient");var U2=require("fs"),Co=N(require("path"),1);var Zu=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Nf=process.platform==="win32";function Cft(){return Zu(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield Ohe(),e=Dhe;if(t)return{path:t,type:oo.GNU};if((0,U2.existsSync)(e))return{path:e,type:oo.BSD};break}case"darwin":{let t=yield ci("gtar",!1);return t?{path:t,type:oo.GNU}:{path:yield ci("tar",!0),type:oo.BSD}}default:break}return{path:yield ci("tar",!0),type:oo.GNU}})}o(Cft,"getTarPath");function bft(t,e,r){return Zu(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=ff(i),u="cache.tar",d=dCe(),f=n.type===oo.BSD&&i!==Ji.Gzip&&Nf;switch(s){case"create":c.push("--posix","-cf",f?u:l.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"--exclude",f?u:l.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"--files-from",P3);break;case"extract":c.push("-xf",f?u:a.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${Co.sep}`,"g"),"/"));break;case"list":c.push("-tf",f?u:a.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P");break}if(n.type===oo.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(bft,"getTarArgs");function k$(t,e){return Zu(this,arguments,void 0,function*(r,n,i=""){let s,a=yield Cft(),c=yield bft(a,r,n,i),l=n!=="create"?yield wft(a,r,i):yield Ift(a,r),u=a.type===oo.BSD&&r!==Ji.Gzip&&Nf;return u&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],u?s:[s.join(" ")]})}o(k$,"getCommands");function dCe(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(dCe,"getWorkingDirectory");function wft(t,e,r){return Zu(this,void 0,void 0,function*(){let n=t.type===oo.BSD&&e!==Ji.Gzip&&Nf;switch(e){case Ji.Zstd:return n?["zstd -d --long=30 --force -o",P0,r.replace(new RegExp(`\\${Co.sep}`,"g"),"/")]:["--use-compress-program",Nf?'"zstd -d --long=30"':"unzstd --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -d --force -o",P0,r.replace(new RegExp(`\\${Co.sep}`,"g"),"/")]:["--use-compress-program",Nf?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(wft,"getDecompressionProgram");function Ift(t,e){return Zu(this,void 0,void 0,function*(){let r=ff(e),n=t.type===oo.BSD&&e!==Ji.Gzip&&Nf;switch(e){case Ji.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),P0]:["--use-compress-program",Nf?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),P0]:["--use-compress-program",Nf?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(Ift,"getCompressionProgram");function P$(t,e){return Zu(this,void 0,void 0,function*(){for(let r of t)try{yield io(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(P$,"execCommands");function iI(t,e){return Zu(this,void 0,void 0,function*(){let r=yield k$(e,"list",t);yield P$(r)})}o(iI,"listTar");function O$(t,e){return Zu(this,void 0,void 0,function*(){let r=dCe();yield ku(r);let n=yield k$(e,"extract",t);yield P$(n)})}o(O$,"extractTar");function L$(t,e,r){return Zu(this,void 0,void 0,function*(){(0,U2.writeFileSync)(Co.join(t,P3),e.join(`
`));let n=yield k$(r,"create");yield P$(n,t)})}o(L$,"createTar");var Sy=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},lc=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Wp=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},F$="cache write denied:",q2=class t extends Wp{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},fCe=g_,G2=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},H2=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function hCe(t){if(!t||t.length===0)throw new lc("Path Validation Error: At least one directory or file path is required")}o(hCe,"checkPaths");function M$(t){if(t.length>512)throw new lc(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new lc(`Key Validation Error: ${t} cannot contain commas.`)}o(M$,"checkKey");function U$(){return Gw()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(U$,"isFeatureAvailable");function pCe(t,e,r,n){return Sy(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=Gw();D(`Cache service version: ${u}`),hCe(i);let d=Cz();if(!sEe(d)){O(`Cache restore skipped: the effective cache-mode '${d}' does not permit reads.`),D(`Skipped restore for paths [${i.join(", ")}] with primary key '${s}'.`);return}return u==="v2"?yield Bft(i,s,a,c,l):yield Sft(i,s,a,c,l)})}o(pCe,"restoreCache");function Sft(t,e,r,n){return Sy(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;a=a||[];let d=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(d)),d.length>10)throw new lc("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of d)M$(p);let f=yield F0(),h="";try{let p;try{p=yield hEe(d,i,{compressionMethod:f,enableCrossOsArchive:l})}catch(g){let E=(u=g?.message)!==null&&u!==void 0?u:"";throw E.includes(fCe)?new G2(E):g}if(!p?.archiveLocation)return;if(c?.lookupOnly)return O("Lookup only - skipping download"),p.cacheKey;h=sI.join(yield O0(),ff(f)),D(`Archive Path: ${h}`),yield wz(p.archiveLocation,h,c),sp()&&(yield iI(h,f));let m=Vc(h);return O(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield O$(h,f),O("Cache restored successfully"),p.cacheKey}catch(p){let m=p;if(m.name===lc.name)throw p;m instanceof zc&&typeof m.statusCode=="number"&&m.statusCode>=500?gg(`Failed to restore: ${p.message}`):ut(`Failed to restore: ${p.message}`)}finally{try{yield L0(h)}catch(p){D(`Failed to delete archive: ${p}`)}}})}o(Sft,"restoreCacheV1");function Bft(t,e,r,n){return Sy(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let d=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(d)),d.length>10)throw new lc("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of d)M$(h);let f="";try{let h=Q$(),p=yield F0(),m={key:s,restoreKeys:a,version:Ng(i,p,l)},g;try{g=yield h.GetCacheEntryDownloadURL(m)}catch(C){let w=(u=C?.message)!==null&&u!==void 0?u:"";throw w.includes(fCe)?new G2(w):C}if(!g.ok){D(`Cache not found for version ${m.version} of keys: ${d.join(", ")}`);return}if(m.key!==g.matchedKey?O(`Cache hit for restore-key: ${g.matchedKey}`):O(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return O("Lookup only - skipping download"),g.matchedKey;f=sI.join(yield O0(),ff(p)),D(`Archive path: ${f}`),D(`Starting download of archive to: ${f}`),yield wz(g.signedDownloadUrl,f,c);let y=Vc(f);return O(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),sp()&&(yield iI(f,p)),yield O$(f,p),O("Cache restored successfully"),g.matchedKey}catch(h){let p=h;if(p.name===lc.name)throw h;p instanceof zc&&typeof p.statusCode=="number"&&p.statusCode>=500?gg(`Failed to restore: ${h.message}`):ut(`Failed to restore: ${h.message}`)}finally{try{f&&(yield L0(f))}catch(h){D(`Failed to delete archive: ${h}`)}}})}o(Bft,"restoreCacheV2");function q$(t,e,r){return Sy(this,arguments,void 0,function*(n,i,s,a=!1){let c=Gw();D(`Cache service version: ${c}`),hCe(n),M$(i);let l=Cz();return oEe(l)?c==="v2"?yield vft(n,i,s,a):yield xft(n,i,s,a):(O(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),D(`Skipped save for paths [${n.join(", ")}] with key '${i}'.`),-1)})}o(q$,"saveCache");function xft(t,e,r){return Sy(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,d,f,h;let p=yield F0(),m=-1,g=yield O3(n);if(D("Cache Paths:"),D(`${JSON.stringify(g)}`),g.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 E=yield O0(),y=sI.join(E,ff(p));D(`Archive Path: ${y}`);try{yield L$(E,g,p),sp()&&(yield iI(y,p));let C=10*1024*1024*1024,w=Vc(y);if(D(`File Size: ${w}`),w>C&&!Ez())throw new Error(`Cache size of ~${Math.round(w/(1024*1024))} MB (${w} B) is over the 10GB limit, not saving cache.`);D("Reserving Cache");let B=yield pEe(i,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:w});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)m=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((d=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&d!==void 0?d:`Cache size of ~${Math.round(w/(1024*1024))} MB (${w} B) is over the data cap limit, not saving cache.`);{let Q=(f=B?.error)===null||f===void 0?void 0:f.message;throw Q?.startsWith(F$)?new q2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new Wp(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(h=B?.error)===null||h===void 0?void 0:h.message}`)}}D(`Saving Cache (ID: ${m})`),yield Iz(m,y,"",s)}catch(C){let w=C;if(w.name===lc.name)throw C;w.name===Wp.name?O(`Failed to save: ${w.message}`):w instanceof zc&&typeof w.statusCode=="number"&&w.statusCode>=500?gg(`Failed to save: ${w.message}`):ut(`Failed to save: ${w.message}`)}finally{try{yield L0(y)}catch(C){D(`Failed to delete archive: ${C}`)}}return m})}o(xft,"saveCacheV1");function vft(t,e,r){return Sy(this,arguments,void 0,function*(n,i,s,a=!1){var c;s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield F0(),u=Q$(),d=-1,f=yield O3(n);if(D("Cache Paths:"),D(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let h=yield O0(),p=sI.join(h,ff(l));D(`Archive Path: ${p}`);try{yield L$(h,f,l),sp()&&(yield iI(p,l));let m=Vc(p);D(`File Size: ${m}`),s.archiveSizeBytes=m,D("Reserving Cache");let g=Ng(n,l,a),E={key:i,version:g},y;try{let B=yield u.CreateCacheEntry(E);if(!B.ok)throw B.message&&!B.message.startsWith(F$)&&ut(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){D(`Failed to reserve cache: ${B}`);let Q=(c=B?.message)!==null&&c!==void 0?c:"";throw Q.startsWith(F$)?new q2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new Wp(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}D(`Attempting to upload cache located at: ${p}`),yield Iz(d,p,y,s);let C={key:i,version:g,sizeBytes:`${m}`},w=yield u.FinalizeCacheEntryUpload(C);if(D(`FinalizeCacheEntryUploadResponse: ${w.ok}`),!w.ok)throw w.message?new H2(w.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);d=parseInt(w.entryId)}catch(m){let g=m;if(g.name===lc.name)throw m;g.name===Wp.name?O(`Failed to save: ${g.message}`):g.name===H2.name?ut(g.message):g instanceof zc&&typeof g.statusCode=="number"&&g.statusCode>=500?gg(`Failed to save: ${g.message}`):ut(`Failed to save: ${g.message}`)}finally{try{yield L0(p)}catch(m){D(`Failed to delete archive: ${m}`)}}return d})}o(vft,"saveCacheV2");var ACe=N(require("util"),1);var Yn=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=ACe.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=H$.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=H$.default.join(this.cacheDir,this.opts.cacheFile),oI.default.existsSync(this.cacheDir)||oI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){D(`Cache.save ${e}`);let n=this.copyToCache(e),i=await this.cacheToHostedToolCache();if(i&&D(`Cache.save cached to hosted tool cache ${i}`),!this.ghaNoCache&&U$())if(r)try{D(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await q$([this.cacheDir],this.ghaCacheKey)}catch(s){ut(`Failed to save cache: ${s}`)}else D(`Cache.save sending ${this.ghaCacheKey} to post state`),Ja(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=sde(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return O(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&U$()){if(D("GitHub Actions cache feature available"),await pCe([this.cacheDir],this.ghaCacheKey)){if(O(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!oI.default.existsSync(this.cachePath))return ut(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&O(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?O("GitHub Actions cache disabled"):O("GitHub Actions cache feature not available")}catch(e){ut(`Failed to restore cache: ${e}`)}return""}static async post(){let e=tle(t.POST_CACHE_KEY);if(!e)return O("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{O(`Caching ${r.key} to GitHub Actions cache`),await q$([r.dir],r.key)}catch(n){ut(`Failed to save cache: ${n}`)}return r}copyToCache(e){return O(`Copying ${e} to ${this.cachePath}`),oI.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await ide(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){O(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${G$.default.platform()}-${G$.default.arch()}${e?"v"+e:""}`}};var mCe=!!process.env.STATE_isPost;mCe||Ja("isPost","true");async function gCe(t,e){if(mCe)e&&await e(),await kr("Post cache",async()=>{await Yn.post()});else try{await t()}catch(r){PN(r.message)}}o(gCe,"run");var Aa=N(require("fs"),1),Os=N(require("path"),1),QSe=require("util");var kSe=N(uc(),1);var rD=class t{static{o(this,"Git")}static protoRegexp=new RegExp("^[a-zA-Z0-9]+://");static supportedProtos={http:{},https:{},ssh:{},git:{}};static parseURL(e){let r=e.match(t.protoRegexp);if(r&&r.length>0){let n=r[0].toLowerCase();if(n=n.slice(0,n.lastIndexOf("://")),!(n in t.supportedProtos))throw new Error(`Invalid protocol: ${n}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let n;return(e.username||e.password)&&(n={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:n,host:`${e.hostname}${e.port?":"+e.port:""}`,path:e.pathname,fragment:t.splitGitFragment(e.hash),remote:r.toString()}}static splitGitFragment(e){if(e==="")return;let[r,n]=e.slice(1).split(":");return{ref:r,subdir:n}}static parseRef(e){let r={},n;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,n=t.fromURL(new URL("https://"+e));else if(n=t.parseURL(e),["http","git"].includes(n.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(n.scheme)&&!n.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=n.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),n.fragment&&(r.commit=n.fragment.ref,r.subDir=n.fragment.subdir);let i=r.remote.split("/");return r.shortName=i[i.length-1].replace(".git",""),r}};var f8=N(require("fs"),1),RIe=N(require("os"),1),NI=N(require("path"),1),DIe=require("util"),QIe=N(p0e(),1);var Aj=N(require("fs"),1),Q0e=N(require("os"),1),k0e=N(require("path"),1),P0e=N(D0e(),1);var gt=class t{static{o(this,"Context")}static _tmpDir=Aj.default.mkdtempSync(k0e.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||Q0e.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Aj.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return P0e.tmpNameSync(e)}};var _e=class{static{o(this,"Exec")}static async exec(e,r,n){return D(`Exec.exec: ${e} ${r?.join(" ")}`),io(e,r,n)}static async getExecOutput(e,r,n){return D(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Ag(e,r,n)}};var d8=N(require("crypto"),1),_Ie=N(require("fs"),1),vI=N(require("path"),1),TIe=N(c8(),1);var ft=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...i){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let s of i)for(let a in s){let c=s[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var xI=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var GD=o(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let i=t[r];if(i==null||i===!1)e[r]={disabled:!0};else if(typeof i=="string"||typeof i=="number")e[r]={name:`${i}`};else if(xI(i)){if(typeof i.name!="string")throw new ft("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);e[r]=i}else throw new ft("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(i)} at position ${r}`])}return e},"normalize_columns_array");var l8=class{static{o(this,"ResizeableBuffer")}constructor(e=100){this.size=e,this.length=0,this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){let r=this.length+e.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},u8=l8;var BIe=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((n,i)=>{let s=Buffer.from(String.fromCharCode(i),t.encoding);return i!==63&&s.length===1&&s[0]===63||n.push(s),n},[]),r=new Uint8Array(256);for(let n of e)r[n[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new u8(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new u8(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var xIe=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var My=o(function(t){let e={};for(let n in t)e[xIe(n)]=t[n];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new ft("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 ft("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 ft("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(n){let i=Date.parse(n);return isNaN(i)?n:new Date(i)};else if(typeof e.cast_date!="function")throw new ft("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=GD(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new ft("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 ft("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 ft("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 ft("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 ft("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!xI(e.delimiter_auto))throw new ft("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!xI(e.delimiter_auto.preferred))throw new ft("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(n,i)=>(n.total-n.std)*(i.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new ft("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new ft("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ft("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return n}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new ft("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 ft("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 ft("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 ft("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 ft("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(n,i){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ft("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new ft("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var vIe=o(function(t,e){e||({delimiter_auto:e}=My({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(i=>{let s=[],a=HD({delimiter:[]}),c=o(d=>s.push(d),"push"),l=o(()=>{},"close"),u=a.parse(i,!0,c,l);if(u!==void 0)throw u;return s})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([i],s)=>{for(let a=0,c=i.length;a<c;a++){let l=i.charCodeAt(a);r[l].lines[s]===void 0&&(r[l].lines[s]=0),r[l].lines[s]++}}),r.map((i,s)=>{i.char_code=s,i.std=Kyt(i.lines),i.total=i.lines.reduce((a,c)=>a+c,0),i.preferred=!!e.preferred[s],i.score=e.score(i,e)});let n=r.reduce((i,s)=>i.score>s.score?i:s,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),Kyt=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,i)=>n+i)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,i)=>n+i)/e)},"std");var NIe=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Xyt=13,Zyt=10,Uy={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},HD=o(function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=My(t);return{info:e,original_options:t,options:r,state:BIe(r),__needMoreData:o(function(n,i,s){if(s)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:d,recordDelimiterMaxLength:f}=this.state,h=i-n-1,p=Math.max(d,f===0?Buffer.from(`\r
`,a).length:f,u?(c===null?0:c.length)+l.length:0,u?l.length+f:0);return h<p},"__needMoreData"),parse:o(function(n,i,s,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:f,ltrim:h,max_record_size:p,raw:m,relax_quotes:g,rtrim:E,skip_empty_lines:y,to:C,to_line:w}=this.options,{comment:B,escape:Q,quote:q,record_delimiter:v}=this.options,{bomSkipped:$,delimiterDiscovered:R,delimiterBufPrevious:H,rawBuffer:V,escapeIsQuote:J}=this.state;if(!R&&u){let z;if(H===void 0?z=n:H!==void 0&&n===void 0?z=H:z=Buffer.concat([H,n]),n=void 0,i||z.length>u.size)this.options.delimiter=[Buffer.from(vIe(z,this.options.delimiter_auto))],this.state.previousBuf=z,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=z;return}}let{previousBuf:ee}=this.state,ae;if(ee===void 0)if(n===void 0){a();return}else ae=n;else ee!==void 0&&n===void 0?ae=ee:ae=Buffer.concat([ee,n]);if($===!1)if(c===!1)this.state.bomSkipped=!0;else if(ae.length<3){if(i===!1){this.state.previousBuf=ae;return}}else{for(let z in Uy)if(Uy[z].compare(ae,0,Uy[z].length)===0){let Ie=Uy[z].length;this.state.bufBytesStart+=Ie,ae=ae.slice(Ie);let Be=My({...this.original_options,encoding:z});for(let st in Be)this.options[st]=Be[st];({comment:B,escape:Q,quote:q}=this.options);break}this.state.bomSkipped=!0}let Ae=ae.length,Y;for(Y=0;Y<Ae&&!this.__needMoreData(Y,Ae,i);Y++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),w!==-1&&this.info.lines>w){this.state.stop=!0,a();return}this.state.quoting===!1&&v.length===0&&this.__autoDiscoverRecordDelimiter(ae,Y)&&(v=this.options.record_delimiter);let z=ae[Y];if(m===!0&&V.append(z),(z===Xyt||z===Zyt)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(Q!==null&&this.state.quoting===!0&&this.__isEscape(ae,Y,z)&&Y+Q.length<Ae)if(J){if(this.__isQuote(ae,Y+Q.length)){this.state.escaping=!0,Y+=Q.length-1;continue}}else{this.state.escaping=!0,Y+=Q.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ae,Y))if(this.state.quoting===!0){let st=ae[Y+q.length],bt=E&&this.__isCharTrimable(ae,Y+q.length),hr=B!==null&&this.__compareBytes(B,ae,Y+q.length,st),hn=this.__isDelimiter(ae,Y+q.length,st),oi=v.length===0?this.__autoDiscoverRecordDelimiter(ae,Y+q.length):this.__isRecordDelimiter(st,ae,Y+q.length);if(Q!==null&&this.__isEscape(ae,Y,z)&&this.__isQuote(ae,Y+Q.length))Y+=Q.length-1;else if(!st||hn||oi||hr||bt){this.state.quoting=!1,this.state.wasQuoting=!0,Y+=q.length-1;continue}else if(g===!1){let pr=this.__error(new ft("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(st)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(pr!==void 0)return pr}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(q),Y+=q.length-1}else if(this.state.field.length!==0){if(g===!1){let st=this.__infoField(),bt=Object.keys(Uy).map(hn=>Uy[hn].equals(this.state.field.toString())?hn:!1).filter(Boolean)[0],hr=this.__error(new ft("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(st.column)} at line ${st.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,bt?`(${bt} bom)`:void 0],this.options,st,{field:this.state.field}));if(hr!==void 0)return hr}}else{this.state.quoting=!0,Y+=q.length-1;continue}if(this.state.quoting===!1){let st=this.__isRecordDelimiter(z,ae,Y);if(st!==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)>=f){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),Y+=st-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Y+=st-1;continue}this.info.bytes=this.state.bufBytesStart+Y;let hn=this.__onField();if(hn!==void 0)return hn;this.info.bytes=this.state.bufBytesStart+Y+st;let oi=this.__onRecord(s);if(oi!==void 0)return oi;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,Y+=st-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ae,Y,z)!==0){this.state.commenting=!0;continue}let bt=this.__isDelimiter(ae,Y,z);if(bt!==0){this.info.bytes=this.state.bufBytesStart+Y;let hr=this.__onField();if(hr!==void 0)return hr;Y+=bt-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new ft("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${p}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ie=h===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ae,Y),Be=E===!1||this.state.wasQuoting===!1;if(Ie===!0&&Be===!0)this.state.field.append(z);else{if(E===!0&&!this.__isCharTrimable(ae,Y))return this.__error(new ft("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()));Ie===!1&&(Y+=this.__isCharTrimable(ae,Y)-1);continue}}if(i===!0)if(this.state.quoting===!0){let z=this.__error(new ft("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(z!==void 0)return z}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+Y;let z=this.__onField();if(z!==void 0)return z;let Ie=this.__onRecord(s);if(Ie!==void 0)return Ie}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=Y,this.state.previousBuf=ae.slice(Y);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:i,group_columns_by_name:s,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:d,relax_column_count_more:f,raw:h,skip_records_with_empty_values:p}=this.options,{enabled:m,record:g}=this.state;if(m===!1)return this.__resetRecord();let E=g.length;if(i===!0){if(p===!0&&NIe(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}if(i===!1&&this.info.records===0&&(this.state.expectedRecordLength=E),E!==this.state.expectedRecordLength){let y=i===!1?new ft("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g}):new ft("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${i.length},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g});if(u===!0||d===!0&&E<this.state.expectedRecordLength||f===!0&&E>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let C=this.__error(y);if(C)return C}}if(p===!0&&NIe(g)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:y}=this.options;if(i!==!1){let C={};for(let w=0,B=g.length;w<B;w++)i[w]===void 0||i[w].disabled||(s===!0&&Object.hasOwn(C,i[w].name)?Array.isArray(C[i[w].name])?C[i[w].name]=C[i[w].name].concat(g[w]):C[i[w].name]=[C[i[w].name],g[w]]:Object.defineProperty(C,i[w].name,{value:g[w],enumerable:!0,writable:!0,configurable:!0}));if(h===!0||c===!0){let w=Object.assign({record:C},h===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),B=this.__push(y===void 0?w:[C[y],w],n);if(B)return B}else{let w=this.__push(y===void 0?C:[C[y],C],n);if(w)return w}}else if(h===!0||c===!0){let C=Object.assign({record:g},h===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),w=this.__push(y===void 0?C:[g[y],C],n);if(w)return w}else{let C=this.__push(y===void 0?g:[g[y],g],n);if(C)return C}}this.__resetRecord()},"__onRecord"),__firstLineToColumns:o(function(n){let{firstLineToHeaders:i}=this.state;try{let s=i===void 0?n:i.call(null,n);if(!Array.isArray(s))return this.__error(new ft("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(s)}`],this.options,this.__infoField(),{headers:s}));let a=GD(s);this.state.expectedRecordLength=a.length,this.options.columns=a,this.__resetRecord();return}catch(s){return s}},"__firstLineToColumns"),__resetRecord:o(function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},"__resetRecord"),__onField:o(function(){let{cast:n,encoding:i,rtrim:s,max_record_size:a}=this.options,{enabled:c,wasQuoting:l}=this.state;if(c===!1)return this.__resetField();let u=this.state.field.toString(i);if(s===!0&&l===!1&&(u=u.trimRight()),n===!0){let[d,f]=this.__cast(u);if(d!==void 0)return d;u=f}this.state.record.push(u),a!==0&&typeof u=="string"&&(this.state.record_length+=u.length),this.__resetField()},"__onField"),__resetField:o(function(){this.state.field.reset(),this.state.wasQuoting=!1},"__resetField"),__push:o(function(n,i){let{on_record:s}=this.options;if(s!==void 0){let a=this.__infoRecord();try{n=s.call(null,n,a)}catch(c){return c}if(n==null)return}this.info.bytes_records+=this.info.bytes,i(n)},"__push"),__cast:o(function(n){let{columns:i,relax_column_count:s}=this.options;if(Array.isArray(i)===!0&&s&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let c=this.__infoField();return[void 0,this.state.castField.call(null,n,c)]}catch(c){return[c]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let c=this.__infoField();return[void 0,this.options.cast_date.call(null,n,c)]}return[void 0,n]},"__cast"),__compareBytes:o(function(n,i,s,a){if(n[0]!==a)return 0;let c=n.length;for(let l=1;l<c;l++)if(n[l]!==i[s+l])return 0;return c},"__compareBytes"),__isCharTrimable:o(function(n,i){let{timchars:s,timcharFirstBytes:a}=this.state,c=n[i];if(c===void 0||a[c]===0)return 0;e:for(let l=0;l<s.length;l++){let u=s[l];for(let d=0;d<u.length;d++)if(u[d]!==n[i+d])continue e;return u.length}return 0},"__isCharTrimable"),__isDelimiter:o(function(n,i,s){let{delimiter:a,ignore_last_delimiters:c}=this.options;if(c===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(c!==!1&&typeof c=="number"&&this.state.record.length===c-1)return 0;e:for(let l=0;l<a.length;l++){let u=a[l];if(u[0]===s){for(let d=1;d<u.length;d++)if(u[d]!==n[i+d])continue e;return u.length}}return 0},"__isDelimiter"),__isEscape:o(function(n,i,s){let{escape:a}=this.options;if(a===null)return!1;let c=a.length;if(a[0]===s){for(let l=0;l<c;l++)if(a[l]!==n[i+l])return!1;return!0}return!1},"__isEscape"),__isFloat:o(function(n){return n-parseFloat(n)+1>=0},"__isFloat"),__isQuote:o(function(n,i){let{quote:s}=this.options;if(s===null)return!1;let a=s.length;for(let c=0;c<a;c++)if(s[c]!==n[i+c])return!1;return!0},"__isQuote"),__isRecordDelimiter:o(function(n,i,s){let{record_delimiter:a}=this.options,c=a.length;e:for(let l=0;l<c;l++){let u=a[l],d=u.length;if(u[0]===n){for(let f=1;f<d;f++)if(u[f]!==i[s+f])continue e;return u.length}}return 0},"__isRecordDelimiter"),__autoDiscoverRecordDelimiter:o(function(n,i){let{encoding:s}=this.options,a=[Buffer.from(`\r
`,s),Buffer.from(`
`,s),Buffer.from("\r",s)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==n[i+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(n){let{encoding:i,raw:s,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,s?this.state.rawBuffer.toString(i):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:n,raw:i,encoding:s}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:i?this.state.rawBuffer.toString(s):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:n}=this.options,i=Array.isArray(n),s=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:s,column:i===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var So=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=HD(e),i=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),s=o(()=>{},"close"),a=n.parse(t,!0,i,s);if(a!==void 0)throw a;return r},"parse");var re=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(li(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let i=So(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let s of i)s.length==1?r?.ignoreComma?n.push(s[0]):n.push(...s[0].split(",")):r?.ignoreComma?n.push(s.join(",")):n.push(...s);return n.filter(s=>s).map(s=>r?.trimWhitespace===!1?s:s.trim())}static getInputNumber(e){let r=li(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let n=await ci("powershell",!0),i=e.replace(/'/g,"''"),s=[];if(r)for(let a in r)s.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${i}' ${s.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return _Ie.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return d8.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(2))+" "+n[i]}static generateRandomString(e=10){return d8.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return TIe.default.compile(e,r)(n)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let n=vI.default.resolve(e);return vI.default.resolve(r).startsWith(n.endsWith(vI.default.sep)?n:`${n}${vI.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),i=Math.floor(r%3600/60),s=r%60,a=[];return n&&a.push(`${n}h`),i&&a.push(`${i}m`),(s||a.length===0)&&a.push(`${s}s`),a.join("")}};var on=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||NI.default.join(RIe.default.homedir(),".docker")}static configFile(){let e=NI.default.join(t.configDir,"config.json");if(f8.default.existsSync(e))return JSON.parse(f8.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ci("docker",!0).then(e=>(D(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(D(`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 _e.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return _e.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,DIe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}return"unknown error"}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),i=e.lastIndexOf(":");if(n>=0)r=n;else if(i>=0)r=i;else return{repository:e,tag:"latest"};let s=e.slice(r+1);return s.indexOf("/")===-1?{repository:e.slice(0,r),tag:s}:{repository:e,tag:"latest"}}static async pull(e,r){let n=t.parseRepoTag(e),i=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),s=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new Yn({htcName:i,htcVersion:s,baseCacheDir:NI.default.join(t.configDir,".cache","images",i),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(O(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&ut(`Failed to load image from cache: ${t.getErrorMessage(u.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(u){if(l=!1,c)ut(`Failed to pull image, using one from cache: ${u.message}`);else throw u}if(r&&l){let u=NI.default.join(gt.tmpDir(),`${re.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async d=>{if(d.stderr.length>0&&d.exitCode!=0)ut(`Failed to save image: ${t.getErrorMessage(d.stderr)}`);else{let f=await a.save(u);O(`Image cached to ${f}`)}})}}static async pullWithRetry(e){await(0,QIe.default)(async n=>{let i=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let s=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(s)){n(new Error(s));return}throw new Error(s)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{D(`Docker pull failed, retrying (${i}/5)...
${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var RSe=N(require("crypto"),1);var VD=require("fs"),kIe=require("os");var qy=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,VD.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,VD.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${kIe.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 m8=N(MIe(),1),UIe=N(tf(),1);var fEt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function qIe(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}`}o(qIe,"getAuthString");function GIe(t){return new m8.HttpClient().getAgent(t)}o(GIe,"getProxyAgent");function hEt(t){return new m8.HttpClient().getAgentDispatcher(t)}o(hEt,"getProxyAgentDispatcher");function HIe(t){let e=hEt(t);return o((n,i)=>fEt(this,void 0,void 0,function*(){return(0,UIe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(HIe,"getProxyFetch");function VIe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(VIe,"getApiBaseUrl");function g8(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let i=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(i)?t:`${t?`${t} `:""}${i}`}return t}o(g8,"getUserAgentWithOrchestrationId");function Df(){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>"}o(Df,"getUserAgent");function KD(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce((i,s)=>KD.bind(null,t,s,i,n),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((i,s)=>s.hook.bind(null,i,n),r)():r(n))}o(KD,"register");function zIe(t,e,r,n){let i=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=o((s,a)=>Promise.resolve().then(i.bind(null,a)).then(s.bind(null,a)),"hook")),e==="after"&&(n=o((s,a)=>{let c;return Promise.resolve().then(s.bind(null,a)).then(l=>(c=l,i(c,a))).then(()=>c)},"hook")),e==="error"&&(n=o((s,a)=>Promise.resolve().then(s.bind(null,a)).catch(c=>i(c,a)),"hook")),t.registry[r].push({hook:n,orig:i})}o(zIe,"addHook");function $Ie(t,e,r){if(!t.registry[e])return;let n=t.registry[e].map(i=>i.orig).indexOf(r);n!==-1&&t.registry[e].splice(n,1)}o($Ie,"removeHook");var jIe=Function.bind,WIe=jIe.bind(jIe);function JIe(t,e,r){let n=WIe($Ie,null).apply(null,r?[e,r]:[e]);t.api={remove:n},t.remove=n,["before","error","after","wrap"].forEach(i=>{let s=r?[e,i,r]:[e,i];t[i]=t.api[i]=WIe(zIe,null).apply(null,s)})}o(JIe,"bindApi");function AEt(){let t=Symbol("Singular"),e={registry:{}},r=KD.bind(null,e,t);return JIe(r,e,t),r}o(AEt,"Singular");function mEt(){let t={registry:{}},e=KD.bind(null,t);return JIe(e,t),e}o(mEt,"Collection");var YIe={Singular:AEt,Collection:mEt};var gEt="0.0.0-development",yEt=`octokit-endpoint.js/${gEt} ${Df()}`,EEt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":yEt},mediaType:{format:""}};function CEt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(CEt,"lowercaseKeys");function bEt(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)}o(bEt,"isPlainObject");function ZIe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{bEt(e[n])?n in t?r[n]=ZIe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}o(ZIe,"mergeDeep");function KIe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(KIe,"removeUndefinedProperties");function E8(t,e,r){if(typeof e=="string"){let[i,s]=e.split(" ");r=Object.assign(s?{method:i,url:s}:{url:i},r)}else r=Object.assign({},e);r.headers=CEt(r.headers),KIe(r),KIe(r.headers);let n=ZIe(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(n.mediaType.previews=t.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}o(E8,"merge");function wEt(t,e){let r=/\?/.test(t)?"&":"?",n=Object.keys(e);return n.length===0?t:t+r+n.map(i=>i==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(e[i])}`).join("&")}o(wEt,"addQueryParameters");var IEt=/\{[^{}}]+\}/g;function SEt(t){return t.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}o(SEt,"removeNonChars");function BEt(t){let e=t.match(IEt);return e?e.map(SEt).reduce((r,n)=>r.concat(n),[]):[]}o(BEt,"extractUrlVariableNames");function XIe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}o(XIe,"omit");function eSe(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("")}o(eSe,"encodeReserved");function Hy(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(Hy,"encodeUnreserved");function TI(t,e,r){return e=t==="+"||t==="#"?eSe(e):Hy(e),r?Hy(r)+"="+e:e}o(TI,"encodeValue");function Gy(t){return t!=null}o(Gy,"isDefined");function y8(t){return t===";"||t==="&"||t==="?"}o(y8,"isKeyOperator");function xEt(t,e,r,n){var i=t[r],s=[];if(Gy(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),s.push(TI(e,i,y8(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(Gy).forEach(function(a){s.push(TI(e,a,y8(e)?r:""))}):Object.keys(i).forEach(function(a){Gy(i[a])&&s.push(TI(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(Gy).forEach(function(c){a.push(TI(e,c))}):Object.keys(i).forEach(function(c){Gy(i[c])&&(a.push(Hy(c)),a.push(TI(e,i[c].toString())))}),y8(e)?s.push(Hy(r)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else e===";"?Gy(i)&&s.push(Hy(r)):i===""&&(e==="&"||e==="?")?s.push(Hy(r)+"="):i===""&&s.push("");return s}o(xEt,"getValues");function vEt(t){return{expand:NEt.bind(null,t)}}o(vEt,"parseUrl");function NEt(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,s){if(i){let c="",l=[];if(r.indexOf(i.charAt(0))!==-1&&(c=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(u){var d=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(xEt(e,c,d[1],d[2]||d[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return eSe(s)}),t==="/"?t:t.replace(/\/$/,"")}o(NEt,"expand");function tSe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=XIe(t,["method","baseUrl","url","headers","request","mediaType"]),a=BEt(r);r=vEt(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(d=>a.includes(d)).concat("baseUrl"),l=XIe(s,c);if(!/application\/octet-stream/i.test(n.accept)&&(t.mediaType.format&&(n.accept=n.accept.split(/,/).map(d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let d=n.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[];n.accept=d.concat(t.mediaType.previews).map(f=>{let h=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${f}-preview${h}`}).join(",")}return["GET","HEAD"].includes(e)?r=wEt(r,l):"data"in l?i=l.data:Object.keys(l).length&&(i=l),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof i>"u"&&(i=""),Object.assign({method:e,url:r,headers:n},typeof i<"u"?{body:i}:null,t.request?{request:t.request}:null)}o(tSe,"parse");function _Et(t,e,r){return tSe(E8(t,e,r))}o(_Et,"endpointWithDefaults");function rSe(t,e){let r=E8(t,e),n=_Et.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:rSe.bind(null,r),merge:E8.bind(null,r),parse:tSe})}o(rSe,"withDefaults");var nSe=rSe(null,EEt);var mSe=N(aSe(),1);var TEt=/^-?\d+$/,uSe=/^-?\d+n+$/,C8=JSON.stringify,cSe=JSON.parse,REt=/^-?\d+n$/,DEt=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,QEt=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,dSe=o((t,e,r)=>"rawJSON"in JSON?C8(t,(a,c)=>typeof c=="bigint"?JSON.rawJSON(c.toString()):typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r):t?C8(t,(a,c)=>typeof c=="string"&&!!c.match(uSe)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(DEt,"$1$2$3").replace(QEt,"$1$2$3"):C8(t,e,r),"JSONStringify"),kEt=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),PEt=o((t,e,r,n)=>typeof e=="string"&&e.match(REt)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(uSe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),OEt=o((t,e)=>JSON.parse(t,(r,n,i)=>{let s=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n<Number.MIN_SAFE_INTEGER),a=i&&TEt.test(i.source);return s&&a?BigInt(i.source):typeof e!="function"?n:e(r,n,i)}),"JSONParseV2"),fSe=Number.MAX_SAFE_INTEGER.toString(),lSe=fSe.length,LEt=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g,FEt=/^"-?\d+n+"$/,hSe=o((t,e)=>{if(!t)return cSe(t,e);if(kEt())return OEt(t,e);let r=t.replace(LEt,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(FEt))return n.substring(0,n.length-1)+'n"';let u=s||a,d=i&&(i.length<lSe||i.length===lSe&&i<=fSe);return c||u||d?n:'"'+n+'n"'});return cSe(r,(n,i,s)=>PEt(n,i,s,e))},"JSONParse");var sd=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,n){super(e,{cause:n.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in n&&(this.response=n.response);let i=Object.assign({},n.request);n.request.headers.authorization&&(i.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})),i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=i}};var MEt="10.0.8",UEt={headers:{"user-agent":`octokit-request.js/${MEt} ${Df()}`}};function qEt(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)}o(qEt,"isPlainObject");var pSe=o(()=>"","noop");async function ASe(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,n=t.request?.parseSuccessResponseBody!==!1,i=qEt(t.body)||Array.isArray(t.body)?dSe(t.body):t.body,s=Object.fromEntries(Object.entries(t.headers).map(([f,h])=>[f,String(h)])),a;try{a=await e(t.url,{method:t.method,body:i,redirect:t.request?.redirect,headers:s,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(f){let h="Unknown Error";if(f instanceof Error){if(f.name==="AbortError")throw f.status=500,f;h=f.message,f.name==="TypeError"&&"cause"in f&&(f.cause instanceof Error?h=f.cause.message:typeof f.cause=="string"&&(h=f.cause))}let p=new sd(h,500,{request:t});throw p.cause=f,p}let c=a.status,l=a.url,u={};for(let[f,h]of a.headers)u[f]=h;let d={url:l,status:c,headers:u,data:""};if("deprecation"in u){let f=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),h=f&&f.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${h?`. See ${h}`:""}`)}if(c===204||c===205)return d;if(t.method==="HEAD"){if(c<400)return d;throw new sd(a.statusText,c,{response:d,request:t})}if(c===304)throw d.data=await b8(a),new sd("Not modified",c,{response:d,request:t});if(c>=400)throw d.data=await b8(a),new sd(HEt(d.data),c,{response:d,request:t});return d.data=n?await b8(a):a.body,d}o(ASe,"fetchWrapper");async function b8(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(pSe);let r=(0,mSe.safeParse)(e);if(GEt(r)){let n="";try{return n=await t.text(),hSe(n)}catch{return n}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(pSe):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(b8,"getResponseData");function GEt(t){return t.type==="application/json"||t.type==="application/scim+json"}o(GEt,"isJSONResponse");function HEt(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)}`}o(HEt,"toErrorMessage");function w8(t,e){let r=t.defaults(e);return Object.assign(o(function(i,s){let a=r.merge(i,s);if(!a.request||!a.request.hook)return ASe(r.parse(a));let c=o((l,u)=>ASe(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:w8.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:w8.bind(null,r)})}o(w8,"withDefaults");var DI=w8(nSe,UEt);var VEt="0.0.0-development";function zEt(t){return`Request failed due to following response errors:
`+t.errors.map(e=>` - ${e.message}`).join(`
`)}o(zEt,"_buildMessageForResponseErrors");var $Et=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(zEt(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},jEt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],WEt=["query","method","url"],gSe=/\/api\/v3\/?$/;function JEt(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 a in r)if(WEt.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(n).reduce((a,c)=>jEt.includes(c)?(a[c]=n[c],a):(a.variables||(a.variables={}),a.variables[c]=n[c],a),{}),s=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return gSe.test(s)&&(i.url=s.replace(gSe,"/api/graphql")),t(i).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new $Et(i,c,a.data)}return a.data.data})}o(JEt,"graphql");function I8(t,e){let r=t.defaults(e);return Object.assign(o((i,s)=>JEt(r,i,s),"newApi"),{defaults:I8.bind(null,r),endpoint:r.endpoint})}o(I8,"withDefaults");var GSr=I8(DI,{headers:{"user-agent":`octokit-graphql.js/${VEt} ${Df()}`},method:"POST",url:"/graphql"});function ySe(t){return I8(t,{method:"POST",url:"/graphql"})}o(ySe,"withCustomRequest");var S8="(?:[a-zA-Z0-9_-]+)",ESe="\\.",CSe=new RegExp(`^${S8}${ESe}${S8}${ESe}${S8}$`),YEt=CSe.test.bind(CSe);async function KEt(t){let e=YEt(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),n=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}o(KEt,"auth");function XEt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(XEt,"withAuthorizationPrefix");async function ZEt(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=XEt(t),e(i)}o(ZEt,"hook");var bSe=o(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(KEt.bind(null,e),{hook:ZEt.bind(null,e)})},"createTokenAuth2");var B8="7.0.6";var wSe=o(()=>{},"noop"),eCt=console.warn.bind(console),tCt=console.error.bind(console);function rCt(t={}){return typeof t.debug!="function"&&(t.debug=wSe),typeof t.info!="function"&&(t.info=wSe),typeof t.warn!="function"&&(t.warn=eCt),typeof t.error!="function"&&(t.error=tCt),t}o(rCt,"createLogger");var ISe=`octokit-core.js/${B8} ${Df()}`,Vy=class{static{o(this,"Octokit")}static VERSION=B8;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...n){let i=n[0]||{};if(typeof e=="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(i=>!r.includes(i)))}}constructor(e={}){let r=new YIe.Collection,n={baseUrl:DI.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${ISe}`:ISe,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=DI.defaults(n),this.graphql=ySe(this.request).defaults(n),this.log=rCt(e.log),this.hook=r,e.authStrategy){let{authStrategy:s,...a}=e,c=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let s=bSe(e.auth);r.wrap("request",s.hook),this.auth=s}let i=this.constructor;for(let s=0;s<i.plugins.length;++s)Object.assign(this,i.plugins[s](this,e))}request;graphql;log;hook;auth};var x8="17.0.0";var nCt={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"]}},SSe=nCt;var nA=new Map;for(let[t,e]of Object.entries(SSe))for(let[r,n]of Object.entries(e)){let[i,s,a]=n,[c,l]=i.split(/ /),u=Object.assign({method:c,url:l},s);nA.has(t)||nA.set(t,new Map),nA.get(t).set(r,{scope:t,methodName:r,endpointDefaults:u,decorations:a})}var iCt={has({scope:t},e){return nA.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[...nA.get(t).keys()]},set(t,e,r){return t.cache[e]=r},get({octokit:t,scope:e,cache:r},n){if(r[n])return r[n];let i=nA.get(e).get(n);if(!i)return;let{endpointDefaults:s,decorations:a}=i;return a?r[n]=sCt(t,e,n,s,a):r[n]=t.request.defaults(s),r[n]}};function v8(t){let e={};for(let r of nA.keys())e[r]=new Proxy({octokit:t,scope:r,cache:{}},iCt);return e}o(v8,"endpointsToMethods");function sCt(t,e,r,n,i){let s=t.request.defaults(n);function a(...c){let l=s.endpoint.merge(...c);if(i.mapToData)return l=Object.assign({},l,{data:l[i.mapToData],[i.mapToData]:void 0}),s(l);if(i.renamed){let[u,d]=i.renamed;t.log.warn(`octokit.${e}.${r}() has been renamed to octokit.${u}.${d}()`)}if(i.deprecated&&t.log.warn(i.deprecated),i.renamedParameters){let u=s.endpoint.merge(...c);for(let[d,f]of Object.entries(i.renamedParameters))d in u&&(t.log.warn(`"${d}" parameter is deprecated for "octokit.${e}.${r}()". Use "${f}" instead`),f in u||(u[f]=u[d]),delete u[d]);return s(u)}return s(...c)}return o(a,"withDecorations"),Object.assign(a,s)}o(sCt,"decorate");function QI(t){return{rest:v8(t)}}o(QI,"restEndpointMethods");QI.VERSION=x8;function oCt(t){let e=v8(t);return{...e,rest:e}}o(oCt,"legacyRestEndpointMethods");oCt.VERSION=x8;var aCt="0.0.0-development";function cCt(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,n=t.data.repository_selection,i=t.data.total_count,s=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 a=Object.keys(t.data)[0],c=t.data[a];return t.data=c,typeof r<"u"&&(t.data.incomplete_results=r),typeof n<"u"&&(t.data.repository_selection=n),t.data.total_count=i,t.data.total_commits=s,t}o(cCt,"normalizePaginatedListResponse");function N8(t,e,r){let n=typeof e=="function"?e.endpoint(r):t.request.endpoint(e,r),i=typeof e=="function"?e:t.request,s=n.method,a=n.headers,c=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!c)return{done:!0};try{let l=await i({method:s,url:c,headers:a}),u=cCt(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let d=new URL(u.url),f=d.searchParams,h=parseInt(f.get("page")||"1",10),p=parseInt(f.get("per_page")||"250",10);h*p<u.data.total_commits&&(f.set("page",String(h+1)),c=d.toString())}return{value:u}}catch(l){if(l.status!==409)throw l;return c="",{value:{status:200,headers:{},data:[]}}}}})}}o(N8,"iterator");function BSe(t,e,r,n){return typeof r=="function"&&(n=r,r=void 0),xSe(t,[],N8(t,e,r)[Symbol.asyncIterator](),n)}o(BSe,"paginate");function xSe(t,e,r,n){return r.next().then(i=>{if(i.done)return e;let s=!1;function a(){s=!0}return o(a,"done"),e=e.concat(n?n(i.value,a):i.value.data),s?e:xSe(t,e,r,n)})}o(xSe,"gather");var pBr=Object.assign(BSe,{iterator:N8});function kI(t){return{paginate:Object.assign(BSe.bind(null,t),{iterator:N8.bind(null,t)})}}o(kI,"paginateRest");kI.VERSION=aCt;var CBr=new qy,_8=VIe(),lCt={baseUrl:_8,request:{agent:GIe(_8),fetch:HIe(_8)}},vSe=Vy.plugin(QI,kI).defaults(lCt);function NSe(t,e){let r=Object.assign({},e||{}),n=qIe(t,r);n&&(r.auth=n);let i=g8(r.userAgent);return i&&(r.userAgent=i),r}o(NSe,"getOctokitOptions");var is=new qy;function tQ(t,e,...r){let n=vSe.plugin(...r);return new n(NSe(t,e))}o(tQ,"getOctokit");var OI=N(require("http"),1),k8=N(require("https"),1);function R8(t){let e=t.protocol==="https:";if(uCt(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 rQ(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new rQ(`http://${r}`)}else return}o(R8,"getProxyUrl");function uCt(t){if(!t.hostname)return!1;let e=t.hostname;if(dCt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(uCt,"checkBypass");function dCt(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(dCt,"isLoopbackAddress");var rQ=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Qf=N(mm(),1),_Se=N(tf(),1);var cn=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Ps;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Ps||(Ps={}));var ss;(function(t){t.Accept="accept",t.ContentType="content-type"})(ss||(ss={}));var od;(function(t){t.ApplicationJson="application/json"})(od||(od={}));var hCt=[Ps.MovedPermanently,Ps.ResourceMoved,Ps.SeeOther,Ps.TemporaryRedirect,Ps.PermanentRedirect],pCt=[Ps.BadGateway,Ps.ServiceUnavailable,Ps.GatewayTimeout],ACt=["OPTIONS","GET","DELETE","HEAD"],mCt=10,gCt=5,D8=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Q8=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return cn(this,void 0,void 0,function*(){return new Promise(e=>cn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return cn(this,void 0,void 0,function*(){return new Promise(e=>cn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var nQ=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return cn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return cn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return cn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return cn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return cn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return cn(this,arguments,void 0,function*(r,n={}){n[ss.Accept]=this._getExistingOrDefaultHeader(n,ss.Accept,od.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ss.Accept]=this._getExistingOrDefaultHeader(s,ss.Accept,od.ApplicationJson),s[ss.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,od.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ss.Accept]=this._getExistingOrDefaultHeader(s,ss.Accept,od.ApplicationJson),s[ss.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,od.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ss.Accept]=this._getExistingOrDefaultHeader(s,ss.Accept,od.ApplicationJson),s[ss.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,od.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return cn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&ACt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Ps.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&hCt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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 u.readBody(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!pCt.includes(u.message.statusCode))return u;l+=1,l<c&&(yield u.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return u})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return cn(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new Q8(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=R8(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?k8:OI;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},PI(this.requestOptions.headers),PI(e||{})):PI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=PI(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=PI(this.requestOptions.headers)[ss.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[ss.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=R8(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||OI.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?Qf.httpsOverHttps:Qf.httpsOverHttp:l=u?Qf.httpOverHttps:Qf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new k8.Agent(c):new OI.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new _Se.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return cn(this,void 0,void 0,function*(){e=Math.min(mCt,e);let r=gCt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return cn(this,void 0,void 0,function*(){return new Promise((n,i)=>cn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Ps.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new D8(d,s);f.result=a.result,i(f)}else n(a)}))})}},PI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var DSe=require("stream/consumers");var iA=class extends Error{static{o(this,"InvalidTokenError")}};iA.prototype.name="InvalidTokenError";function yCt(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}o(yCt,"b64DecodeUnicode");function ECt(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 yCt(e)}catch{return atob(e)}}o(ECt,"base64UrlDecode");function iQ(t,e){if(typeof t!="string")throw new iA("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,n=t.split(".")[r];if(typeof n!="string")throw new iA(`Invalid token specified: missing part #${r+1}`);let i;try{i=ECt(n)}catch(s){throw new iA(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new iA(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(iQ,"jwtDecode");var sQ=[1e3,3e3],CCt=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),Xe=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=tQ(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...is.repo}).then(e=>e.data)}async releases(e,r){let n;try{n=await this.releasesRaw(e,r)}catch(i){if(!this.githubToken)throw i;n=await this.releasesRaw(e,r,this.githubToken)}return n}async releasesRaw(e,r,n){let i=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,s=n?{Authorization:`token ${n}`}:void 0,a;for(let c=0;c<=sQ.length;c++)try{let u=await new nQ("docker-actions-toolkit").get(i,s),d=await(0,DSe.text)(u.message),f=u.message.statusCode||500;if(f>=400){let h=new Error(`Failed to get ${e} releases from ${i} with status code ${f}: ${d}`);throw h.statusCode=f,h}return JSON.parse(d)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===sQ.length)throw a;O(`${a.message}. Retrying (${c+1}/${sQ.length})...`),await new Promise(u=>setTimeout(u,sQ[c]))}throw a||new Error(`Failed to get ${e} releases from ${i}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let n=e.code,i=e.message.toLowerCase();return n&&CCt.has(n)||i.includes("socket hang up")||i.includes("read econnreset")}static get context(){return is}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(),n=r==="GITHUB.COM",i=r.endsWith(".GHE.COM"),s=r.endsWith(".LOCALHOST");return!n&&!i&&!s}static get repository(){return`${is.repo.owner}/${is.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:is.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?iQ(e):void 0}static printUntrusted(e){let r=RSe.randomUUID();O(`::stop-commands::${r}`);try{O(e)}finally{O(`::${r}::`)}}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 n;switch(r.Permission){case 1:n="read";break;case 2:n="write";break;case 3:n="read/write";break;default:n=`unimplemented (${r.Permission})`}O(`${r.Scope}: ${n}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var yt=class t{static{o(this,"Buildx")}_version;_versionOnce;_standalone;static containerNamePrefix="buildx_buildkit_";constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}static get configDir(){return process.env.BUILDX_CONFIG||Os.default.join(on.configDir,"buildx")}static get refsDir(){return Os.default.join(t.configDir,"refs")}static get refsGroupDir(){return Os.default.join(t.refsDir,"__group__")}static get certsDir(){return Os.default.join(t.configDir,"certs")}async isStandalone(){let e=this._standalone??!await on.isAvailable();return D(`Buildx.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"buildx":"docker",args:r?e:["buildx",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(D(`Buildx.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(D(`Buildx.isAvailable error: ${n}`),!1));return D(`Buildx.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await _e.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse buildx version");return r[1]}static getErrorMessage(e){let r=(0,QSe.stripVTControlCharacters)(e).split(/[\r\n]/),n="";for(let i=r.length-1;i>=0;i--){let s=r[i].trim();if(s.startsWith("ERROR:"))return s.slice(6).trim()||"unknown error";n||=s}return n||"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Buildx.versionSatisfies false: undefined version"),!1;let i=kSe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Buildx.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static resolveCertsDriverOpts(e,r,n){let i;try{i=new URL(r)}catch{return[]}if(i.protocol!="tcp:")return[];let s=[];if(Object.keys(n).length==0)return s;let a=i.hostname;if(i.port.length>0&&(a+=`-${i.port}`),n.cacert!==void 0){let c=Os.default.join(t.certsDir,`cacert_${a}.pem`);Aa.default.writeFileSync(c,n.cacert),s.push(`cacert=${c}`)}if(n.cert!==void 0){let c=Os.default.join(t.certsDir,`cert_${a}.pem`);Aa.default.writeFileSync(c,n.cert),s.push(`cert=${c}`)}if(n.key!==void 0){let c=Os.default.join(t.certsDir,`key_${a}.pem`);Aa.default.writeFileSync(c,n.key),s.push(`key=${c}`)}return e!="remote"?[]:s}static localState(e,r){let[n,i,s]=e.split("/");if(!n||!i||!s)throw new Error(`Invalid build reference: ${e}`);let a=Os.default.join(r||t.refsDir,n,i,s);if(!Aa.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(Aa.default.readFileSync(a,"utf8")))}static fixLocalState(e){let r=o(function(a){let c=a.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(c&&c.length==3){let l=c[1],u=c[2];return u.startsWith("https:/")&&!u.startsWith("https://")&&(u=u.replace("https:/","https://")),u.startsWith("http:/")&&!u.startsWith("http://")&&(u=u.replace("http:/","http://")),u.startsWith("ssh:/")&&!u.startsWith("ssh://")&&(u=u.replace("ssh:/","ssh://")),u.startsWith("git:/")&&!u.startsWith("git://")&&(u=u.replace("git:/","git://")),[u,l,!0]}return[a,"",!1]},"fnTrimToValidContext"),[n,i,s]=r(e.LocalPath);return s&&(e.LocalPath=n,e.DockerfilePath.indexOf(i)===0&&(e.DockerfilePath=e.DockerfilePath.substring(i.length))),e.LocalPath=e.LocalPath.endsWith("/-")?"-":e.LocalPath,e.DockerfilePath=e.DockerfilePath.endsWith("/-")?"-":e.DockerfilePath,e}static refs(e,r={}){let{dir:n,builderName:i,nodeName:s,since:a}=e,c=Os.default.resolve(n);if(e.builderName&&(c=Os.default.join(c,e.builderName)),e.nodeName&&(c=Os.default.join(c,e.nodeName)),!Aa.default.existsSync(c))return r;let l=Aa.default.readdirSync(c);for(let u of l){let d=Os.default.join(c,u),f=Aa.default.statSync(d);if(f.isDirectory()){let h={...e};if(i)s||(h.nodeName=u);else{if(u==="__group__")continue;h.builderName=u}t.refs(h,r)}else{if(a&&f.mtime<a)continue;let h=t.fixLocalState(JSON.parse(Aa.default.readFileSync(d,"utf8"))),p=`${i}/${s}/${u}`;r[p]=h}}return r}static async convertWarningsToGitHubAnnotations(e,r,n){if(e.length===0)return;let i=o(function(l){try{return rD.parseURL(l)}catch{}},"fnGitURL"),s=o(function(l){try{return t.localState(l,n)}catch(u){D(`Buildx.convertWarningsToGitHubAnnotations(${l}): local state not found: ${u.message}`)}},"fnLocalState"),a=[];for(let l of r){let u=s(l);if(!u)continue;if(u.DockerfilePath=="-"){D(`Buildx.convertWarningsToGitHubAnnotations(${l}): skipping stdin Dockerfile`);continue}else u.DockerfilePath==""&&(u.DockerfilePath="Dockerfile");let d=i(u.LocalPath);if(d){D(`Buildx.convertWarningsToGitHubAnnotations(${l}): git context detected: ${u.LocalPath}`);let h=d.host.replace(/:.*/,"");if(h!=="github.com"&&!h.endsWith(".ghe.com")){D(`Buildx.convertWarningsToGitHubAnnotations(${l}): not a GitHub repo: ${h}`);continue}let p=d.path.replace(/^\//,"").replace(/\.git$/,"");if(p!==Xe.repository){D(`Buildx.convertWarningsToGitHubAnnotations(${l}): not same GitHub repo: ${p} != ${Xe.repository}`);continue}a.push({path:u.DockerfilePath,remote:!0});continue}if(!Aa.default.existsSync(u.DockerfilePath)){D(`Buildx.convertWarningsToGitHubAnnotations: Dockerfile not found from localstate ref ${l}: ${u.DockerfilePath}`);continue}let f=Xe.workspace;re.isPathRelativeTo(f,u.DockerfilePath)?a.push({path:Os.default.relative(f,u.DockerfilePath),content:Buffer.from(Aa.default.readFileSync(u.DockerfilePath,{encoding:"utf-8"}),"utf-8").toString("base64")}):D(`Buildx.convertWarningsToGitHubAnnotations: skipping Dockerfile outside of workspace: ${u.DockerfilePath}`)}if(a.length===0){D("Buildx.convertWarningsToGitHubAnnotations: no Dockerfiles found");return}D(`Buildx.convertWarningsToGitHubAnnotations: found ${a.length} Dockerfiles: ${JSON.stringify(a,null,2)}`);let c=[];for(let l of e){if(!l.detail||!l.short){D("Buildx.convertWarningsToGitHubAnnotations: skipping warning without detail or short");continue}let u=l.sourceInfo?.filename,d=l.sourceInfo?.data;if(!u||!d){D("Buildx.convertWarningsToGitHubAnnotations: skipping warning without source info filename or data");continue}let f=l.detail.map(g=>atob(g)).join(" "),h=atob(l.short).replace(/\s\(line \d+\)$/,"");l.url&&(h+=`
More info: ${l.url}`);let p=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,m=!1;for(let g of a)if(g.remote||g.path.endsWith(u)&&g.content===d){c.push({title:f,message:h,file:g.path,startLine:p}),m=!0;break}m||D(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${f}`)}return c}};var P8=N(require("fs"),1),O8=N(require("path"),1);var oQ=class t{static{o(this,"History")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["history",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getExportCommand(e){return await this.getCommand(["export",...e])}async inspect(e){let r=["--format","json"];e.builder&&r.push("--builder",e.builder),e.ref&&r.push(e.ref);let n=await this.getInspectCommand(r);return await _e.getExecOutput(n.command,n.args,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return JSON.parse(i.stdout)})}async export(e){if(!await this.buildx.versionSatisfies(">=0.23.0"))throw new Error("Buildx >= 0.23.0 is required to export a build record");let r="",n="",i=[];for(let f of e.refs){let h=f.split("/");if(h.length!=3)throw new Error(`Invalid build ref: ${f}`);i.push(h[2]),r||(r=h[0]),n||(n=h[1])}if(i.length===0)throw new Error("No build refs provided");let s=O8.default.join(gt.tmpDir(),"export");O(`exporting build record to ${s}`),P8.default.mkdirSync(s,{recursive:!0}),await this.buildx.versionSatisfies("<0.24.0")&&await re.sleep(3);let a={};if(!e.noSummaries)for(let f of i)await this.inspect({ref:f,builder:r}).then(h=>{let p="";h.Error&&h.Status!=="canceled"&&(h.Error.Message?p=h.Error.Message:h.Error.Name&&h.Error.Logs&&(p=`=> ${h.Error.Name}
${h.Error.Logs}`)),a[f]={name:h.Name,status:h.Status,duration:re.formatDuration(h.Duration),numCachedSteps:h.NumCachedSteps,numTotalSteps:h.NumTotalSteps,numCompletedSteps:h.NumCompletedSteps,defaultPlatform:h.Platform?.[0],error:p}});let c=O8.default.join(s,`${t.exportFilename(i)}.dockerbuild`),l=["--builder",r,"--output",c,...i];await this.buildx.versionSatisfies(">=0.24.0")&&l.push("--finalize");let u=await this.getExportCommand(l);await _e.getExecOutput(u.command,u.args);let d=P8.default.statSync(c);return{dockerbuildFilename:c,dockerbuildSize:d.size,builderName:r,nodeName:n,refs:i,summaries:a}}static exportFilename(e){let r=`${Xe.context.repo.owner}~${Xe.context.repo.repo}~${e[0].substring(0,6).toUpperCase()}`;return e.length>1&&(r+=`+${e.length-1}`),r}};var BOe=N(require("fs"),1),yK=N(require("path"),1);var OSe=N(require("os"),1);function LI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(LI,"toCommandValue");function L8(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(L8,"toCommandProperties");function FI(t,e,r){let n=new F8(t,e,r);process.stdout.write(n.toString()+OSe.EOL)}o(FI,"issueCommand");var PSe="::",F8=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=PSe+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${wCt(i)}`)}}return e+=`${PSe}${bCt(this.message)}`,e}};function bCt(t){return LI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(bCt,"escapeData");function wCt(t){return LI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(wCt,"escapeProperty");var USe=N(require("os"),1);var FSe=require("os"),MI=require("fs");var M8=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:ICt,appendFile:SCt,writeFile:BCt}=MI.promises,LSe="GITHUB_STEP_SUMMARY";var U8=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return M8(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[LSe];if(!e)throw new Error(`Unable to find environment variable for $${LSe}. Check if your runtime environment supports job summaries.`);try{yield ICt(e,MI.constants.R_OK|MI.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return M8(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?BCt:SCt)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return M8(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(FSe.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},oxr=new U8;var q8=N(require("os"),1);var dxr=q8.default.platform(),fxr=q8.default.arch();var MSe;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(MSe||(MSe={}));function aQ(t){FI("add-mask",{},t)}o(aQ,"setSecret");function Ze(t){FI("debug",{},t)}o(Ze,"debug");function UI(t,e={}){FI("error",L8(e),t instanceof Error?t.toString():t)}o(UI,"error");function gi(t,e={}){FI("warning",L8(e),t instanceof Error?t.toString():t)}o(gi,"warning");function ct(t){process.stdout.write(t+USe.EOL)}o(ct,"info");var qSe=N(require("os"),1);function sA(){return 8*1024*1024}o(sA,"getUploadChunkSize");function cQ(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(cQ,"getRuntimeToken");function GSe(){let t=process.env.ACTIONS_RESULTS_URL;if(!t)throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable");return new URL(t).origin}o(GSe,"getResultsServiceUrl");function zy(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(zy,"isGhes");function HSe(){let t=process.env.GITHUB_WORKSPACE;if(!t)throw new Error("Unable to get the GITHUB_WORKSPACE env variable");return t}o(HSe,"getGitHubWorkspaceDir");function VSe(){let t=qSe.default.cpus().length,e=32;if(t>4){let n=16*t;e=n>300?300:n}let r=process.env.ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY;if(r){let n=parseInt(r);if(isNaN(n)||n<1)throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable");return n<e?(ct("Set concurrency based on the value set in ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY."),n):(ct(`ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY is higher than the cap of ${e} based on the number of cpus. Set it to the maximum value allowed.`),e)}return 5}o(VSe,"getConcurrency");function zSe(){let t=process.env.ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS;if(!t)return 3e5;let e=parseInt(t);if(isNaN(e))throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS env variable");return e}o(zSe,"getUploadChunkTimeout");function $Se(){let t=process.env.ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT||"1000",e=parseInt(t);if(isNaN(e)||e<1)throw new Error("Invalid value set for ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT env variable");return e}o($Se,"getMaxArtifactListCount");var aPe=N(require("fs"),1),cPe=N(require("path"),1);var h6=N(cr(),1),p6=N(cr(),1),SBe=N(cr(),1),BBe=N(cr(),1),xBe=N(cr(),1),eE=N(cr(),1),vBe=N(cr(),1);var A6=class extends vBe.MessageType{static{o(this,"Timestamp$Type")}constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){let e=this.create(),r=Date.now();return e.seconds=eE.PbLong.from(Math.floor(r/1e3)).toString(),e.nanos=r%1e3*1e6,e}toDate(e){return new Date(eE.PbLong.from(e.seconds).toNumber()*1e3+Math.ceil(e.nanos/1e6))}fromDate(e){let r=this.create(),n=e.getTime();return r.seconds=eE.PbLong.from(Math.floor(n/1e3)).toString(),r.nanos=n%1e3*1e6,r}internalJsonWrite(e,r){let n=eE.PbLong.from(e.seconds).toNumber()*1e3;if(n<Date.parse("0001-01-01T00:00:00Z")||n>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(e.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let i="Z";if(e.nanos>0){let s=(e.nanos+1e9).toString().substring(1);s.substring(3)==="000000"?i="."+s.substring(0,3)+"Z":s.substring(6)==="000"?i="."+s.substring(0,6)+"Z":i="."+s+"Z"}return new Date(n).toISOString().replace(".000Z",i)}internalJsonRead(e,r,n){if(typeof e!="string")throw new Error("Unable to parse Timestamp from JSON "+(0,xBe.typeofJsonValue)(e)+".");let i=e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!i)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let s=Date.parse(i[1]+"-"+i[2]+"-"+i[3]+"T"+i[4]+":"+i[5]+":"+i[6]+(i[8]?i[8]:"Z"));if(Number.isNaN(s))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");return n||(n=this.create()),n.seconds=eE.PbLong.from(s/1e3).toString(),n.nanos=0,i[7]&&(n.nanos=parseInt("1"+i[7]+"0".repeat(9-i[7].length))-1e9),n}create(e){let r={seconds:"0",nanos:0};return globalThis.Object.defineProperty(r,BBe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,SBe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.seconds=e.int64().toString();break;case 2:s.nanos=e.int32();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?p6.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.seconds!=="0"&&r.tag(1,h6.WireType.Varint).int64(e.seconds),e.nanos!==0&&r.tag(2,h6.WireType.Varint).int32(e.nanos);let i=n.writeUnknownFields;return i!==!1&&(i==!0?p6.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},xo=new A6;var ZI=N(cr(),1),B6=N(cr(),1),Dl=N(cr(),1),Ln=N(cr(),1),Ql=N(cr(),1),kl=N(cr(),1),Pl=N(cr(),1);var m6=class extends Pl.MessageType{static{o(this,"DoubleValue$Type")}constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(2,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,1,void 0,"value"),n}create(e){let r={value:0};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.double();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==0&&r.tag(1,Dl.WireType.Bit64).double(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Lvr=new m6,g6=class extends Pl.MessageType{static{o(this,"FloatValue$Type")}constructor(){super("google.protobuf.FloatValue",[{no:1,name:"value",kind:"scalar",T:2}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(1,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,1,void 0,"value"),n}create(e){let r={value:0};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.float();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==0&&r.tag(1,Dl.WireType.Bit32).float(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Fvr=new g6,y6=class extends Pl.MessageType{static{o(this,"Int64Value$Type")}constructor(){super("google.protobuf.Int64Value",[{no:1,name:"value",kind:"scalar",T:3}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(ZI.ScalarType.INT64,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,ZI.ScalarType.INT64,B6.LongType.STRING,"value"),n}create(e){let r={value:"0"};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.int64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!=="0"&&r.tag(1,Dl.WireType.Varint).int64(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},tE=new y6,E6=class extends Pl.MessageType{static{o(this,"UInt64Value$Type")}constructor(){super("google.protobuf.UInt64Value",[{no:1,name:"value",kind:"scalar",T:4}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(ZI.ScalarType.UINT64,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,ZI.ScalarType.UINT64,B6.LongType.STRING,"value"),n}create(e){let r={value:"0"};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.uint64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!=="0"&&r.tag(1,Dl.WireType.Varint).uint64(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Mvr=new E6,C6=class extends Pl.MessageType{static{o(this,"Int32Value$Type")}constructor(){super("google.protobuf.Int32Value",[{no:1,name:"value",kind:"scalar",T:5}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(5,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,5,void 0,"value"),n}create(e){let r={value:0};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.int32();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==0&&r.tag(1,Dl.WireType.Varint).int32(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Uvr=new C6,b6=class extends Pl.MessageType{static{o(this,"UInt32Value$Type")}constructor(){super("google.protobuf.UInt32Value",[{no:1,name:"value",kind:"scalar",T:13}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(13,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,13,void 0,"value"),n}create(e){let r={value:0};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.uint32();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==0&&r.tag(1,Dl.WireType.Varint).uint32(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},qvr=new b6,w6=class extends Pl.MessageType{static{o(this,"BoolValue$Type")}constructor(){super("google.protobuf.BoolValue",[{no:1,name:"value",kind:"scalar",T:8}])}internalJsonWrite(e,r){return e.value}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,8,void 0,"value"),n}create(e){let r={value:!1};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.bool();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==!1&&r.tag(1,Dl.WireType.Varint).bool(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Gvr=new w6,I6=class extends Pl.MessageType{static{o(this,"StringValue$Type")}constructor(){super("google.protobuf.StringValue",[{no:1,name:"value",kind:"scalar",T:9}])}internalJsonWrite(e,r){return e.value}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,9,void 0,"value"),n}create(e){let r={value:""};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value!==""&&r.tag(1,Dl.WireType.LengthDelimited).string(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},bn=new I6,S6=class extends Pl.MessageType{static{o(this,"BytesValue$Type")}constructor(){super("google.protobuf.BytesValue",[{no:1,name:"value",kind:"scalar",T:12}])}internalJsonWrite(e,r){return this.refJsonWriter.scalar(12,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,12,void 0,"value"),n}create(e){let r={value:new Uint8Array(0)};return globalThis.Object.defineProperty(r,kl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ql.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.value=e.bytes();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Ln.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.value.length&&r.tag(1,Dl.WireType.LengthDelimited).bytes(e.value);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Ln.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},Hvr=new S6;var LBe=N(OBe(),1),ht=N(cr(),1),Nr=N(cr(),1),Ea=N(cr(),1),Ca=N(cr(),1),ba=N(cr(),1);var $6=class extends ba.MessageType{static{o(this,"CreateArtifactRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"expires_at",kind:"message",T:o(()=>xo,"T")},{no:5,name:"version",kind:"scalar",T:5},{no:6,name:"mime_type",kind:"message",T:o(()=>bn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.name=e.string();break;case 4:s.expiresAt=xo.internalBinaryRead(e,e.uint32(),n,s.expiresAt);break;case 5:s.version=e.int32();break;case 6:s.mimeType=bn.internalBinaryRead(e,e.uint32(),n,s.mimeType);break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.name!==""&&r.tag(3,ht.WireType.LengthDelimited).string(e.name),e.expiresAt&&xo.internalBinaryWrite(e.expiresAt,r.tag(4,ht.WireType.LengthDelimited).fork(),n).join(),e.version!==0&&r.tag(5,ht.WireType.Varint).int32(e.version),e.mimeType&&bn.internalBinaryWrite(e.mimeType,r.tag(6,ht.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},nW=new $6,j6=class extends ba.MessageType{static{o(this,"CreateArtifactResponse$Type")}constructor(){super("github.actions.results.api.v1.CreateArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedUploadUrl:""};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ht.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.signedUploadUrl);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},iW=new j6,W6=class extends ba.MessageType{static{o(this,"FinalizeArtifactRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"size",kind:"scalar",T:3},{no:5,name:"hash",kind:"message",T:o(()=>bn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.name=e.string();break;case 4:s.size=e.int64().toString();break;case 5:s.hash=bn.internalBinaryRead(e,e.uint32(),n,s.hash);break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.name!==""&&r.tag(3,ht.WireType.LengthDelimited).string(e.name),e.size!=="0"&&r.tag(4,ht.WireType.Varint).int64(e.size),e.hash&&bn.internalBinaryWrite(e.hash,r.tag(5,ht.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},sW=new W6,J6=class extends ba.MessageType{static{o(this,"FinalizeArtifactResponse$Type")}constructor(){super("github.actions.results.api.v1.FinalizeArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"artifact_id",kind:"scalar",T:3}])}create(e){let r={ok:!1,artifactId:"0"};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.artifactId=e.int64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ht.WireType.Varint).bool(e.ok),e.artifactId!=="0"&&r.tag(2,ht.WireType.Varint).int64(e.artifactId);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},oW=new J6,Y6=class extends ba.MessageType{static{o(this,"ListArtifactsRequest$Type")}constructor(){super("github.actions.results.api.v1.ListArtifactsRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name_filter",kind:"message",T:o(()=>bn,"T")},{no:4,name:"id_filter",kind:"message",T:o(()=>tE,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:""};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.nameFilter=bn.internalBinaryRead(e,e.uint32(),n,s.nameFilter);break;case 4:s.idFilter=tE.internalBinaryRead(e,e.uint32(),n,s.idFilter);break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.nameFilter&&bn.internalBinaryWrite(e.nameFilter,r.tag(3,ht.WireType.LengthDelimited).fork(),n).join(),e.idFilter&&tE.internalBinaryWrite(e.idFilter,r.tag(4,ht.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},aW=new Y6,K6=class extends ba.MessageType{static{o(this,"ListArtifactsResponse$Type")}constructor(){super("github.actions.results.api.v1.ListArtifactsResponse",[{no:1,name:"artifacts",kind:"message",repeat:2,T:o(()=>z6,"T")}])}create(e){let r={artifacts:[]};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.artifacts.push(z6.internalBinaryRead(e,e.uint32(),n));break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){for(let s=0;s<e.artifacts.length;s++)z6.internalBinaryWrite(e.artifacts[s],r.tag(1,ht.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},cW=new K6,X6=class extends ba.MessageType{static{o(this,"ListArtifactsResponse_MonolithArtifact$Type")}constructor(){super("github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"database_id",kind:"scalar",T:3},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"size",kind:"scalar",T:3},{no:6,name:"created_at",kind:"message",T:o(()=>xo,"T")},{no:7,name:"digest",kind:"message",T:o(()=>bn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.databaseId=e.int64().toString();break;case 4:s.name=e.string();break;case 5:s.size=e.int64().toString();break;case 6:s.createdAt=xo.internalBinaryRead(e,e.uint32(),n,s.createdAt);break;case 7:s.digest=bn.internalBinaryRead(e,e.uint32(),n,s.digest);break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.databaseId!=="0"&&r.tag(3,ht.WireType.Varint).int64(e.databaseId),e.name!==""&&r.tag(4,ht.WireType.LengthDelimited).string(e.name),e.size!=="0"&&r.tag(5,ht.WireType.Varint).int64(e.size),e.createdAt&&xo.internalBinaryWrite(e.createdAt,r.tag(6,ht.WireType.LengthDelimited).fork(),n).join(),e.digest&&bn.internalBinaryWrite(e.digest,r.tag(7,ht.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},z6=new X6,Z6=class extends ba.MessageType{static{o(this,"GetSignedArtifactURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetSignedArtifactURLRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.name=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.name!==""&&r.tag(3,ht.WireType.LengthDelimited).string(e.name);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},lW=new Z6,eW=class extends ba.MessageType{static{o(this,"GetSignedArtifactURLResponse$Type")}constructor(){super("github.actions.results.api.v1.GetSignedArtifactURLResponse",[{no:1,name:"signed_url",kind:"scalar",T:9}])}create(e){let r={signedUrl:""};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.signedUrl=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.signedUrl!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.signedUrl);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},uW=new eW,tW=class extends ba.MessageType{static{o(this,"DeleteArtifactRequest$Type")}constructor(){super("github.actions.results.api.v1.DeleteArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.workflowRunBackendId=e.string();break;case 2:s.workflowJobRunBackendId=e.string();break;case 3:s.name=e.string();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.workflowRunBackendId!==""&&r.tag(1,ht.WireType.LengthDelimited).string(e.workflowRunBackendId),e.workflowJobRunBackendId!==""&&r.tag(2,ht.WireType.LengthDelimited).string(e.workflowJobRunBackendId),e.name!==""&&r.tag(3,ht.WireType.LengthDelimited).string(e.name);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},dW=new tW,rW=class extends ba.MessageType{static{o(this,"DeleteArtifactResponse$Type")}constructor(){super("github.actions.results.api.v1.DeleteArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"artifact_id",kind:"scalar",T:3}])}create(e){let r={ok:!1,artifactId:"0"};return globalThis.Object.defineProperty(r,Ca.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ea.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.artifactId=e.int64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?Nr.UnknownFieldHandler.onRead:u)(this.typeName,s,c,l,d)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ht.WireType.Varint).bool(e.ok),e.artifactId!=="0"&&r.tag(2,ht.WireType.Varint).int64(e.artifactId);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Nr.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},fW=new rW,INr=new LBe.ServiceType("github.actions.results.api.v1.ArtifactService",[{name:"CreateArtifact",options:{},I:nW,O:iW},{name:"FinalizeArtifact",options:{},I:sW,O:oW},{name:"ListArtifacts",options:{},I:aW,O:cW},{name:"GetSignedArtifactURL",options:{},I:lW,O:uW},{name:"DeleteArtifact",options:{},I:dW,O:fW}]);var jQ=class{static{o(this,"ArtifactServiceClientJSON")}constructor(e){this.rpc=e,this.CreateArtifact.bind(this),this.FinalizeArtifact.bind(this),this.ListArtifacts.bind(this),this.GetSignedArtifactURL.bind(this),this.DeleteArtifact.bind(this)}CreateArtifact(e){let r=nW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",r).then(i=>iW.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeArtifact(e){let r=sW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",r).then(i=>oW.fromJson(i,{ignoreUnknownFields:!0}))}ListArtifacts(e){let r=aW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",r).then(i=>cW.fromJson(i,{ignoreUnknownFields:!0}))}GetSignedArtifactURL(e){let r=lW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",r).then(i=>uW.fromJson(i,{ignoreUnknownFields:!0}))}DeleteArtifact(e){let r=dW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",r).then(i=>fW.fromJson(i,{ignoreUnknownFields:!0}))}};function FBe(t){if(!t)return;let e=k0t();e&&e<t&&(gi(`Retention days cannot be greater than the maximum allowed retention set within the repository. Using ${e} instead.`),t=e);let r=new Date;return r.setDate(r.getDate()+t),xo.fromDate(r)}o(FBe,"getExpiration");function k0t(){let t=process.env.GITHUB_RETENTION_DAYS;if(!t)return;let e=parseInt(t);if(!isNaN(e))return e}o(k0t,"getRetentionDays");var hW=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],[`
`," Line feed \\n"]]),MBe=new Map([...hW,["\\"," Backslash \\"],["/"," Forward slash /"]]);function UBe(t){if(!t)throw new Error("Provided artifact name input during validation is empty");for(let[e,r]of MBe)if(t.includes(e))throw new Error(`The artifact name is not valid: ${t}. Contains the following character: ${r}
Invalid characters include: ${Array.from(MBe.values()).toString()}
These characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`);ct("Artifact name is valid!")}o(UBe,"validateArtifactName");function pW(t){if(!t)throw new Error("Provided file path input during validation is empty");for(let[e,r]of hW)if(t.includes(e))throw new Error(`The path for one of the files in artifact is not valid: ${t}. Contains the following character: ${r}
Invalid characters include: ${Array.from(hW.values()).toString()}
The following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.
`)}o(pW,"validateFilePath");var VBe=N(HBe(),1);function Fl(){return`@actions/artifact-${VBe.version}`}o(Fl,"getUserAgentString");var lE=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}},pc=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}},ld=class extends Error{static{o(this,"ArtifactNotFoundError")}constructor(e="Artifact not found"){super(e),this.name="ArtifactNotFoundError"}},Lf=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}},ud=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e}
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};ud.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var uA=class extends Error{static{o(this,"UsageError")}constructor(){super(`Artifact storage quota has been hit. Unable to upload any new artifacts.
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"}};uA.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var WQ=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function Ml(){let t=cQ(),e=iQ(t);if(!e.scp)throw WQ;let r=e.scp.split(" ");if(r.length===0)throw WQ;for(let n of r){let i=n.split(":");if(i?.[0]!=="Actions.Results")continue;if(i.length!==3)throw WQ;let s={workflowRunBackendId:i[1],workflowJobRunBackendId:i[2]};return Ze(`Workflow Run Backend ID: ${s.workflowRunBackendId}`),Ze(`Workflow Job Run Backend ID: ${s.workflowJobRunBackendId}`),s}throw WQ}o(Ml,"getBackendIdsFromToken");function zBe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(aQ(r),aQ(encodeURIComponent(r)))}catch(e){Ze(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(zBe,"maskSigUrl");function $Be(t){if(typeof t!="object"||t===null){Ze("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&zBe(t.signed_upload_url),"signed_url"in t&&typeof t.signed_url=="string"&&zBe(t.signed_url)}o($Be,"maskSecretUrls");var JQ=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},AW=class{static{o(this,"ArtifactHttpClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=cQ();this.baseUrl=GSe(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Go(e,[new nf(s)])}request(e,r,n,i){return JQ(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;Ze(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>JQ(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return JQ(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let c=yield e(),l=c.message.statusCode;i=yield c.readBody(),Ze(`[Response] - ${c.message.statusCode}`),Ze(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let u=JSON.parse(i);if($Be(u),Ze(`Body: ${JSON.stringify(u,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:u};if(s=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,u.msg){if(uA.isUsageErrorMessage(u.msg))throw new uA;n=`${n}: ${u.msg}`}}catch(c){if(c instanceof SyntaxError&&Ze(`Raw Body: ${i}`),c instanceof uA)throw c;if(ud.isNetworkErrorCode(c?.code))throw new ud(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);ct(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Hn.BadGateway,Hn.GatewayTimeout,Hn.InternalServerError,Hn.ServiceUnavailable,Hn.TooManyRequests].includes(e):!1}sleep(e){return JQ(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Ul(t){let e=new AW(Fl(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new jQ(e)}o(Ul,"internalArtifactTwirpClient");var dE=N(require("fs"),1);var uE=require("path");function jBe(t){if(!dE.existsSync(t))throw new Error(`The provided rootDirectory ${t} does not exist`);if(!dE.statSync(t).isDirectory())throw new Error(`The provided rootDirectory ${t} is not a valid directory`);ct("Root directory input is valid!")}o(jBe,"validateRootDirectory");function WBe(t,e){let r=[];e=(0,uE.normalize)(e),e=(0,uE.resolve)(e);for(let n of t){let i=dE.lstatSync(n,{throwIfNoEntry:!1});if(!i)throw new Error(`File ${n} does not exist`);if(i.isDirectory()){let s=n.replace(e,"");pW(s),r.push({sourcePath:null,destinationPath:s,stats:i})}else{if(n=(0,uE.normalize)(n),n=(0,uE.resolve)(n),!n.startsWith(e))throw new Error(`The rootDirectory: ${e} is not a parent directory of the file: ${n}`);let s=n.replace(e,"");pW(s),r.push({sourcePath:n,destinationPath:s,stats:i})}}return r}o(WBe,"getUploadZipSpecification");var YBe=N(require("crypto"),1),KBe=N(require("stream"),1);var JBe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function XBe(t,e,r){return JBe(this,void 0,void 0,function*(){let n=0,i=Date.now(),s=new AbortController,a=o(E=>JBe(this,void 0,void 0,function*(){return new Promise((y,C)=>{let w=setInterval(()=>{Date.now()-i>E&&C(new Error("Upload progress stalled."))},E);s.signal.addEventListener("abort",()=>{clearInterval(w),y()})})}),"chunkTimer"),c=VSe(),l=sA(),d=new oc(t).getBlockBlobClient();Ze(`Uploading artifact to blob storage with maxConcurrency: ${c}, bufferSize: ${l}, contentType: ${r}`);let h={blobHTTPHeaders:{blobContentType:r},onProgress:o(E=>{ct(`Uploaded bytes ${E.loadedBytes}`),n=E.loadedBytes,i=Date.now()},"uploadCallback"),abortSignal:s.signal},p,m=new KBe.PassThrough,g=YBe.createHash("sha256");e.pipe(m),e.pipe(g).setEncoding("hex"),ct("Beginning upload of artifact content to blob storage");try{yield Promise.race([d.uploadStream(m,l,c,h),a(zSe())])}catch(E){throw ud.isNetworkErrorCode(E?.code)?new ud(E?.code):E}finally{s.abort()}return ct("Finished uploading artifact content to blob storage!"),g.end(),p=g.read(),ct(`SHA256 digest of uploaded artifact is ${p}`),n===0&&gi("No data was uploaded to blob storage. Reported upload byte count is 0."),{uploadSize:n,sha256Hash:p}})}o(XBe,"uploadToBlobStorage");var rPe=require("fs/promises"),nPe=N(Xke(),1);var Zke=N(require("stream"),1),iP=N(require("fs"),1),ePe=require("fs/promises");var XOt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},EB=class extends Zke.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function tPe(t){return XOt(this,void 0,void 0,function*(){Ze(`Creating raw file upload stream for: ${t}`);let e=sA(),r=new EB(e),n=t;(yield iP.promises.lstat(t)).isSymbolicLink()&&(n=yield(0,ePe.realpath)(t));let s=iP.createReadStream(n,{highWaterMark:e});return s.on("error",a=>{UI("An error has occurred while reading the file for upload"),UI(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(tPe,"createRawFileUploadStream");var ZOt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},eLt=6;function iPe(t){return ZOt(this,arguments,void 0,function*(e,r=eLt){Ze(`Creating Artifact archive with compressionLevel: ${r}`);let n=nPe.default.create("zip",{highWaterMark:sA(),zlib:{level:r}});n.on("error",tLt),n.on("warning",rLt),n.on("finish",nLt),n.on("end",iLt);for(let a of e)if(a.sourcePath!==null){let c=a.sourcePath;a.stats.isSymbolicLink()&&(c=yield(0,rPe.realpath)(a.sourcePath)),n.file(c,{name:a.destinationPath})}else n.append("",{name:a.destinationPath});let i=sA(),s=new EB(i);return Ze(`Zip write high watermark value ${s.writableHighWaterMark}`),Ze(`Zip read high watermark value ${s.readableHighWaterMark}`),n.pipe(s),n.finalize(),s})}o(iPe,"createZipUploadStream");var tLt=o(t=>{throw UI("An error has occurred while creating the zip file for upload"),ct(t),new Error("An error has occurred during zip creation for the artifact")},"zipErrorCallback"),rLt=o(t=>{t.code==="ENOENT"?(gi("ENOENT warning during artifact zip creation. No such file or directory"),ct(t)):(gi(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),ct(t))},"zipWarningCallback"),nLt=o(()=>{Ze("Zip stream for upload has finished.")},"zipFinishCallback"),iLt=o(()=>{Ze("Zip stream for upload has ended.")},"zipEndCallback");var sPe=N(require("path"),1);var sLt={".txt":"text/plain",".html":"text/html",".htm":"text/html",".css":"text/css",".csv":"text/csv",".xml":"text/xml",".md":"text/markdown",".js":"application/javascript",".mjs":"application/javascript",".json":"application/json",".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".svg":"image/svg+xml",".webp":"image/webp",".ico":"image/x-icon",".bmp":"image/bmp",".tiff":"image/tiff",".tif":"image/tiff",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".flac":"audio/flac",".mp4":"video/mp4",".webm":"video/webm",".avi":"video/x-msvideo",".mov":"video/quicktime",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".zip":"application/zip",".tar":"application/x-tar",".gz":"application/gzip",".rar":"application/vnd.rar",".7z":"application/x-7z-compressed",".wasm":"application/wasm",".yaml":"application/x-yaml",".yml":"application/x-yaml",".woff":"font/woff",".woff2":"font/woff2",".ttf":"font/ttf",".otf":"font/otf",".eot":"application/vnd.ms-fontobject"};function oPe(t){let e=sPe.extname(t).toLowerCase();return sLt[e]||"application/octet-stream"}o(oPe,"getMimeType");var oLt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function lPe(t,e,r,n){return oLt(this,void 0,void 0,function*(){let i=`${t}.zip`;if(n?.skipArchive){if(e.length===0)throw new lE([]);if(e.length>1)throw new Error("skipArchive option is only supported when uploading a single file");if(!aPe.existsSync(e[0]))throw new lE(e);i=cPe.basename(e[0]),t=i}UBe(t),jBe(r);let s=[];if(!n?.skipArchive&&(s=WBe(e,r),s.length===0))throw new lE(s.flatMap(y=>y.sourcePath?[y.sourcePath]:[]));let a=oPe(i),c=Ml(),l=Ul(),u={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,mimeType:bn.create({value:a}),version:7},d=FBe(n?.retentionDays);d&&(u.expiresAt=d);let f=yield l.CreateArtifact(u);if(!f.ok)throw new pc("CreateArtifact: response from backend was not ok");let h;n?.skipArchive?h=yield tPe(e[0]):h=yield iPe(s,n?.compressionLevel),ct(`Uploading artifact: ${i}`);let p=yield XBe(f.signedUploadUrl,h,a),m={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,size:p.uploadSize?p.uploadSize.toString():"0"};p.sha256Hash&&(m.hash=bn.create({value:`sha256:${p.sha256Hash}`})),ct("Finalizing artifact upload");let g=yield l.FinalizeArtifact(m);if(!g.ok)throw new pc("FinalizeArtifact: response from backend was not ok");let E=BigInt(g.artifactId);return ct(`Artifact ${t} successfully finalized. Artifact ID ${E}`),{size:p.uploadSize,digest:p.sha256Hash,id:Number(E)}})}o(lPe,"uploadArtifact");var AK=N(require("fs/promises"),1),nOe=N(require("fs"),1),iOe=N(require("crypto"),1),sOe=N(require("stream"),1),hP=N(require("path"),1);var sP=require("fs"),uPe=require("os");var sC=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,sP.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,sP.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${uPe.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 lK=N(APe(),1),mPe=N(tf(),1);var ELt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function gPe(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}`}o(gPe,"getAuthString");function yPe(t){return new lK.HttpClient().getAgent(t)}o(yPe,"getProxyAgent");function CLt(t){return new lK.HttpClient().getAgentDispatcher(t)}o(CLt,"getProxyAgentDispatcher");function EPe(t){let e=CLt(t);return o((n,i)=>ELt(this,void 0,void 0,function*(){return(0,mPe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(EPe,"getProxyFetch");function CPe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(CPe,"getApiBaseUrl");var Lkr=new sC,uK=CPe(),FA={baseUrl:uK,request:{agent:yPe(uK),fetch:EPe(uK)}},bPe=Vy.plugin(QI,kI).defaults(FA);function wPe(t,e){let r=Object.assign({},e||{}),n=gPe(t,r);return n&&(r.auth=n),r}o(wPe,"getOctokitOptions");var qkr=new sC;function ih(t,e,...r){let n=bPe.plugin(...r);return new n(wPe(t,e))}o(ih,"getOctokit");var oOe=N(rOe(),1);var cC=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},aOe=o(t=>{let e=new URL(t);return e.search="",e.toString()},"scrubQueryParameters");function JLt(t){return cC(this,void 0,void 0,function*(){try{return yield AK.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}o(JLt,"exists");function cOe(t,e,r){return cC(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield YLt(t,e,{skipDecompress:r})}catch(i){n++,Ze(`Failed to download artifact after ${n} retries due to ${i.message}. Retrying in 5 seconds...`),yield new Promise(s=>setTimeout(s,5e3))}throw new Error(`Artifact download failed after ${n} retries.`)})}o(cOe,"streamExtract");function YLt(t,e){return cC(this,arguments,void 0,function*(r,n,i={}){let{timeout:s=30*1e3,skipDecompress:a=!1}=i,l=yield new Go(Fl()).get(r);if(l.message.statusCode!==200)throw new Error(`Unexpected HTTP response from blob storage: ${l.message.statusCode} ${l.message.statusMessage}`);let u=l.message.headers["content-type"]||"",d=u.split(";",1)[0].trim().toLowerCase(),h=new URL(r).pathname.toLowerCase().endsWith(".zip"),p=d==="application/zip"||d==="application/x-zip-compressed"||d==="application/zip-compressed"||h,m=l.message.headers["content-disposition"]||"",g="artifact",E=m.match(/filename\*\s*=\s*UTF-8''([^;\r\n]*)/i),y=m.match(/(?<!\*)filename\s*=\s*['"]?([^;\r\n"']*)['"]?/i),C=E?.[1]||y?.[1];C&&(g=hP.basename(decodeURIComponent(C.trim()))),Ze(`Content-Type: ${u}, mimeType: ${d}, urlEndsWithZip: ${h}, isZip: ${p}, skipDecompress: ${a}`),Ze(`Content-Disposition: ${m}, fileName: ${g}`);let w;return new Promise((B,Q)=>{let v=setTimeout(o(()=>{let J=new Error(`Blob storage chunk did not respond in ${s}ms`);l.message.destroy(J),Q(J)},"timerFn"),s),$=o(J=>{Ze(`response.message: Artifact download failed: ${J.message}`),clearTimeout(v),Q(J)},"onError"),R=iOe.createHash("sha256").setEncoding("hex"),H=new sOe.PassThrough().on("data",()=>{v.refresh()}).on("error",$);l.message.pipe(H),H.pipe(R);let V=o(()=>{clearTimeout(v),R&&(R.end(),w=R.read(),ct(`SHA256 digest of downloaded artifact is ${w}`)),B({sha256Digest:`sha256:${w}`})},"onClose");if(p&&!a)H.pipe(oOe.default.Extract({path:n})).on("close",V).on("error",$);else{let J=hP.join(n,g),ee=nOe.createWriteStream(J);ct(`Downloading raw file (non-zip) to: ${J}`),H.pipe(ee).on("close",V).on("error",$)}})})}o(YLt,"streamExtractExternal");function lOe(t,e,r,n,i){return cC(this,void 0,void 0,function*(){let s=yield dOe(i?.path),a=ih(n),c=!1;ct(`Downloading artifact '${t}' from '${e}/${r}'`);let{headers:l,status:u}=yield a.rest.actions.downloadArtifact({owner:e,repo:r,artifact_id:t,archive_format:"zip",request:{redirect:"manual"}});if(u!==302)throw new Error(`Unable to download artifact. Unexpected status: ${u}`);let{location:d}=l;if(!d)throw new Error("Unable to redirect to artifact download url");ct(`Redirecting to blob download url: ${aOe(d)}`);try{ct(`Starting download of artifact to: ${s}`);let f=yield cOe(d,s,i?.skipDecompress);ct("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==f.sha256Digest&&(c=!0,Ze(`Computed digest: ${f.sha256Digest}`),Ze(`Expected digest: ${i.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:s,digestMismatch:c}})}o(lOe,"downloadArtifactPublic");function uOe(t,e){return cC(this,void 0,void 0,function*(){let r=yield dOe(e?.path),n=Ul(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:a}=Ml(),c={workflowRunBackendId:s,workflowJobRunBackendId:a,idFilter:tE.create({value:t.toString()})},{artifacts:l}=yield n.ListArtifacts(c);if(l.length===0)throw new ld(`No artifacts found for ID: ${t}
Are you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`);l.length>1&&gi("Multiple artifacts found, defaulting to first.");let u={workflowRunBackendId:l[0].workflowRunBackendId,workflowJobRunBackendId:l[0].workflowJobRunBackendId,name:l[0].name},{signedUrl:d}=yield n.GetSignedArtifactURL(u);ct(`Redirecting to blob download url: ${aOe(d)}`);try{ct(`Starting download of artifact to: ${r}`);let f=yield cOe(d,r,e?.skipDecompress);ct("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==f.sha256Digest&&(i=!0,Ze(`Computed digest: ${f.sha256Digest}`),Ze(`Expected digest: ${e.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:r,digestMismatch:i}})}o(uOe,"downloadArtifactInternal");function dOe(){return cC(this,arguments,void 0,function*(t=HSe()){return(yield JLt(t))?Ze(`Artifact destination folder already exists: ${t}`):(Ze(`Artifact destination folder does not exist, creating: ${t}`),yield AK.default.mkdir(t,{recursive:!0})),t})}o(dOe,"resolveOrCreateDirectory");var KLt=5,XLt=[400,401,403,404,422];function lC(t,e=KLt,r=XLt){var n;if(e<=0)return[{enabled:!1},t.request];let i={enabled:!0};r.length>0&&(i.doNotRetry=r);let s=Object.assign(Object.assign({},t.request),{retries:e});return Ze(`GitHub client configured with: (retries: ${s.retries}, retry-exempt-status-code: ${(n=i.doNotRetry)!==null&&n!==void 0?n:"octokit default: [400, 401, 403, 404, 422]"})`),[i,s]}o(lC,"getRetryOptions");var fOe="6.0.0";function qA(t){t.hook.wrap("request",(e,r)=>{t.log.debug("request",r);let n=Date.now(),i=t.request.endpoint.parse(r),s=i.url.replace(r.baseUrl,"");return e(r).then(a=>{let c=a.headers["x-github-request-id"];return t.log.info(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a}).catch(a=>{let c=a.response?.headers["x-github-request-id"]||"UNKNOWN";throw t.log.error(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a})})}o(qA,"requestLog");qA.VERSION=fOe;var AOe=N(hOe(),1);var ZLt="0.0.0-development";function eFt(t){return t.request!==void 0}o(eFt,"isRequestError");async function pOe(t,e,r,n){if(!eFt(r)||!r?.request.request)throw r;if(r.status>=400&&!t.doNotRetry.includes(r.status)){let i=n.request.retries!=null?n.request.retries:t.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw e.retry.retryRequest(r,i,s)}throw r}o(pOe,"errorRequest");async function tFt(t,e,r,n){let i=new AOe.default;return i.on("failed",function(s,a){let c=~~s.request.request?.retries,l=~~s.request.request?.retryAfter;if(n.request.retryCount=a.retryCount+1,c>a.retryCount)return l*t.retryAfterBaseValue}),i.schedule(rFt.bind(null,t,e,r),n)}o(tFt,"wrapRequest");async function rFt(t,e,r,n){let i=await r(n);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){let s=new sd(i.data.errors[0].message,500,{request:n,response:i});return pOe(t,e,s,n)}return i}o(rFt,"requestWithGraphqlErrorHandling");function GA(t,e){let r=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},e.retry),n={retry:{retryRequest:o((i,s,a)=>(i.request.request=Object.assign({},i.request.request,{retries:s,retryAfter:a}),i),"retryRequest")}};return r.enabled&&(t.hook.error("request",pOe.bind(null,r,n)),t.hook.wrap("request",tFt.bind(null,r,n))),n}o(GA,"retry");GA.VERSION=ZLt;var mOe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function pP(t,e,r,n,i){return mOe(this,void 0,void 0,function*(){var s;let[a,c]=lC(FA),l={log:void 0,userAgent:Fl(),previews:void 0,retry:a,request:c},d=yield ih(i,l,GA,qA).request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:r,repo:n,run_id:e,name:t});if(d.status!==200)throw new pc(`Invalid response from GitHub API: ${d.status} (${(s=d?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);if(d.data.artifacts.length===0)throw new ld(`Artifact not found for name: ${t}
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);let f=d.data.artifacts[0];return d.data.artifacts.length>1&&(f=d.data.artifacts.sort((h,p)=>p.id-h.id)[0],Ze(`More than one artifact found for a single name, returning newest (id: ${f.id})`)),{artifact:{name:f.name,id:f.id,size:f.size_in_bytes,createdAt:f.created_at?new Date(f.created_at):void 0,digest:f.digest}}})}o(pP,"getArtifactPublic");function gOe(t){return mOe(this,void 0,void 0,function*(){var e;let r=Ul(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=Ml(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:bn.create({value:t})},a=yield r.ListArtifacts(s);if(a.artifacts.length===0)throw new ld(`Artifact not found for name: ${t}
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);let c=a.artifacts[0];return a.artifacts.length>1&&(c=a.artifacts.sort((l,u)=>Number(u.databaseId)-Number(l.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${c.databaseId})`)),{artifact:{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?xo.toDate(c.createdAt):void 0,digest:(e=c.digest)===null||e===void 0?void 0:e.value}}})}o(gOe,"getArtifactInternal");var yOe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function EOe(t,e,r,n,i){return yOe(this,void 0,void 0,function*(){var s;let[a,c]=lC(FA),l={log:void 0,userAgent:Fl(),previews:void 0,retry:a,request:c},u=ih(i,l,GA,qA),d=yield pP(t,e,r,n,i),f=yield u.rest.actions.deleteArtifact({owner:r,repo:n,artifact_id:d.artifact.id});if(f.status!==204)throw new pc(`Invalid response from GitHub API: ${f.status} (${(s=f?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);return{id:d.artifact.id}})}o(EOe,"deleteArtifactPublic");function COe(t){return yOe(this,void 0,void 0,function*(){let e=Ul(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Ml(),i={workflowRunBackendId:r,workflowJobRunBackendId:n,nameFilter:bn.create({value:t})},s=yield e.ListArtifacts(i);if(s.artifacts.length===0)throw new ld(`Artifact not found for name: ${t}`);let a=s.artifacts[0];s.artifacts.length>1&&(a=s.artifacts.sort((u,d)=>Number(d.databaseId)-Number(u.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${a.databaseId})`));let c={workflowRunBackendId:a.workflowRunBackendId,workflowJobRunBackendId:a.workflowJobRunBackendId,name:a.name},l=yield e.DeleteArtifact(c);return ct(`Artifact '${t}' (ID: ${l.artifactId}) deleted`),{id:Number(l.artifactId)}})}o(COe,"deleteArtifactInternal");var bOe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},AP=$Se(),mP=100,nFt=Math.ceil(AP/mP);function wOe(t,e,r,n){return bOe(this,arguments,void 0,function*(i,s,a,c,l=!1){ct(`Fetching artifact list for workflow run ${i} in repository ${s}/${a}`);let u=[],[d,f]=lC(FA),h={log:void 0,userAgent:Fl(),previews:void 0,retry:d,request:f},p=ih(c,h,GA,qA),m=1,{data:g}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:mP,page:m}),E=Math.ceil(g.total_count/mP),y=g.total_count;y>AP&&(gi(`Workflow run ${i} has ${y} artifacts, exceeding the limit of ${AP}. Results will be incomplete as only the first ${AP} artifacts will be returned`),E=nFt);for(let C of g.artifacts)u.push({name:C.name,id:C.id,size:C.size_in_bytes,createdAt:C.created_at?new Date(C.created_at):void 0,digest:C.digest});for(m++,m;m<=E;m++){Ze(`Fetching page ${m} of artifact list`);let{data:C}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:mP,page:m});for(let w of C.artifacts)u.push({name:w.name,id:w.id,size:w.size_in_bytes,createdAt:w.created_at?new Date(w.created_at):void 0,digest:w.digest})}return l&&(u=SOe(u)),ct(`Found ${u.length} artifact(s)`),{artifacts:u}})}o(wOe,"listArtifactsPublic");function IOe(){return bOe(this,arguments,void 0,function*(t=!1){let e=Ul(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Ml(),i={workflowRunBackendId:r,workflowJobRunBackendId:n},a=(yield e.ListArtifacts(i)).artifacts.map(c=>{var l;return{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?xo.toDate(c.createdAt):void 0,digest:(l=c.digest)===null||l===void 0?void 0:l.value}});return t&&(a=SOe(a)),ct(`Found ${a.length} artifact(s)`),{artifacts:a}})}o(IOe,"listArtifactsInternal");function SOe(t){t.sort((n,i)=>i.id-n.id);let e=[],r=new Set;for(let n of t)r.has(n.name)||(e.push(n),r.add(n.name));return e}o(SOe,"filterLatest");var BB=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},iFt=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r},uC=class{static{o(this,"DefaultArtifactClient")}uploadArtifact(e,r,n,i){return BB(this,void 0,void 0,function*(){try{if(zy())throw new Lf;return lPe(e,r,n,i)}catch(s){throw gi(`Artifact upload failed with error: ${s}.
Errors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.
If the error persists, please check whether Actions is operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),s}})}downloadArtifact(e,r){return BB(this,void 0,void 0,function*(){try{if(zy())throw new Lf;if(r?.findBy){let{findBy:{repositoryOwner:n,repositoryName:i,token:s}}=r,a=iFt(r,["findBy"]);return lOe(e,n,i,s,a)}return uOe(e,r)}catch(n){throw gi(`Download Artifact failed with error: ${n}.
Errors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.
If the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),n}})}listArtifacts(e){return BB(this,void 0,void 0,function*(){try{if(zy())throw new Lf;if(e?.findBy){let{findBy:{workflowRunId:r,repositoryOwner:n,repositoryName:i,token:s}}=e;return wOe(r,n,i,s,e?.latest)}return IOe(e?.latest)}catch(r){throw gi(`Listing Artifacts failed with error: ${r}.
Errors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.
If the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),r}})}getArtifact(e,r){return BB(this,void 0,void 0,function*(){try{if(zy())throw new Lf;if(r?.findBy){let{findBy:{workflowRunId:n,repositoryOwner:i,repositoryName:s,token:a}}=r;return pP(e,n,i,s,a)}return gOe(e)}catch(n){throw gi(`Get Artifact failed with error: ${n}.
Errors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.
If the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),n}})}deleteArtifact(e,r){return BB(this,void 0,void 0,function*(){try{if(zy())throw new Lf;if(r?.findBy){let{findBy:{repositoryOwner:n,repositoryName:i,workflowRunId:s,token:a}}=r;return EOe(e,s,n,i,a)}return COe(e)}catch(n){throw gi(`Delete Artifact failed with error: ${n}.
Errors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.
If the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),n}})}};var QOr=new uC;var gP=class{static{o(this,"GitHubArtifact")}static async upload(e){if(Xe.isGHES)throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.");let r=yK.default.basename(e.filename),n=new uC;O(`Uploading ${r} as an artifact`);let i=yK.default.dirname(e.filename),s=await n.uploadArtifact(r,[e.filename],i,{retentionDays:e.retentionDays,skipArchive:!0});if(!s.id)throw new pc("Cannot upload artifact");let a=s.size??BOe.default.statSync(e.filename).size,c=`${Xe.workflowRunURL()}/artifacts/${s.id}`;return O(`Artifact download URL: ${c}`),{id:s.id,filename:r,digest:s.digest||"",size:a,url:c}}};var OK=N(xOe(),1);var Pt=Symbol("NOT_RESOLVED");function Li(t,e){return{tagName:t,nodeKind:"scalar",implicit:e.implicit??!1,matchByTagPrefix:e.matchByTagPrefix??!1,implicitFirstChars:e.implicitFirstChars??null,resolve:e.resolve,identify:e.identify,represent:e.represent??(r=>String(r)),representTagName:e.representTagName??(()=>t)}}o(Li,"defineScalarTag");function TK(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"sequence",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addItem:e.addItem,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(TK,"defineSequenceTag");function bP(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"mapping",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addPair:e.addPair,has:e.has,keys:e.keys,get:e.get,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(bP,"defineMappingTag");var sFt=Li("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),oFt=["","~","null","Null","NULL"],aFt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>oFt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),cFt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["n"],resolve:o((t,e)=>t==="null"||e&&t===""?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),lFt=["","~","null","Null","NULL"],uFt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>lFt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),dFt=["true","True","TRUE"],fFt=["false","False","FALSE"],hFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>dFt.indexOf(t)!==-1?!0:fFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),pFt=["true"],AFt=["false"],mFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>pFt.indexOf(t)!==-1?!0:AFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),gFt=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],yFt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],EFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>gFt.indexOf(t)!==-1?!0:yFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),CFt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),bFt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function wFt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(wFt,"parseYamlInteger$2");function IFt(t,e){if(e){if(!bFt.test(t))return Pt}else if(!CFt.test(t))return Pt;let r=wFt(t);return Number.isFinite(r)?r:Pt}o(IFt,"resolveYamlInteger$2");var POe=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:IFt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),SFt=new RegExp("^-?(?:0|[1-9][0-9]*)$"),BFt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function xFt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(xFt,"parseYamlInteger$1");function vFt(t,e){if(e){if(!BFt.test(t))return Pt}else if(!SFt.test(t))return Pt;let r=xFt(t);return Number.isFinite(r)?r:Pt}o(vFt,"resolveYamlInteger$1");var NFt=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:vFt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),_Ft=new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");function TFt(t){let e=t.replace(/_/g,""),r=1;if((e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b"))return r*parseInt(e.slice(2),2);if(e.startsWith("0x"))return r*parseInt(e.slice(2),16);if(e.includes(":")){let n=0;for(let i of e.split(":"))n=n*60+Number(i);return r*n}return e!=="0"&&e[0]==="0"?r*parseInt(e,8):r*parseInt(e,10)}o(TFt,"parseYamlInteger");function RFt(t){if(!_Ft.test(t))return Pt;let e=TFt(t);return Number.isFinite(e)?e:Pt}o(RFt,"resolveYamlInteger");var wK=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:RFt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),DFt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),QFt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function kFt(t){if(!DFt.test(t))return Pt;let e=t.toLowerCase(),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=r*parseFloat(e);return Number.isFinite(n)||QFt.test(t)?n:Pt}o(kFt,"resolveYamlFloat$2");function PFt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(PFt,"representYamlFloat$2");var OOe=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:kFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:PFt}),OFt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),LFt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function FFt(t,e){if(e){if(!LFt.test(t))return Pt;let n=t.toLowerCase(),i=n[0]==="-"?-1:1;if("+-".includes(n[0])&&(n=n.slice(1)),n===".inf")return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(n===".nan")return NaN;let s=i*parseFloat(n);return Number.isFinite(s)?s:Pt}if(!OFt.test(t))return Pt;let r=Number(t);return Number.isFinite(r)?r:Pt}o(FFt,"resolveYamlFloat$1");function MFt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(MFt,"representYamlFloat$1");var UFt=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:FFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:MFt}),qFt=new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),GFt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function HFt(t){if(!qFt.test(t))return Pt;let e=t.toLowerCase().replace(/_/g,""),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=0;if(e.includes(":")){for(let i of e.split(":"))n=n*60+Number(i);n*=r}else n=r*parseFloat(e);return Number.isFinite(n)||GFt.test(t)?n:Pt}o(HFt,"resolveYamlFloat");function VFt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(VFt,"representYamlFloat");var IK=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:HFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:VFt}),zFt=Li("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?"<<":Pt,"resolve"),identify:o(()=>!1,"identify")}),$Ft=/^[A-Za-z0-9+/]*={0,2}$/;function jFt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!$Ft.test(e))return Pt;let r=atob(e),n=new Uint8Array(r.length);for(let i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return n}o(jFt,"resolveYamlBinary");function WFt(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return btoa(e)}o(WFt,"representYamlBinary");var JFt=Li("tag:yaml.org,2002:binary",{resolve:jFt,identify:o(t=>Object.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:WFt}),YFt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),KFt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function vOe(t,e,r,n=0,i=0,s=0,a=0){let c=new Date(Date.UTC(t,e,r,n,i,s,a));return c.setUTCFullYear(t,e,r),c}o(vOe,"makeUtcDate");function XFt(t){let e=YFt.exec(t);if(e===null&&(e=KFt.exec(t)),e===null)return Pt;let r=+e[1],n=+e[2]-1,i=+e[3];if(!e[4]){let d=vOe(r,n,i);return d.getUTCFullYear()!==r||d.getUTCMonth()!==n||d.getUTCDate()!==i?Pt:d}let s=+e[4],a=+e[5],c=+e[6],l=0;if(s>23||a>59||c>59)return Pt;if(e[7]){let d=e[7].slice(0,3);for(;d.length<3;)d+="0";l=+d}let u=vOe(r,n,i,s,a,c,l);if(u.getUTCFullYear()!==r||u.getUTCMonth()!==n||u.getUTCDate()!==i)return Pt;if(e[9]){let d=+e[10],f=+(e[11]||0);if(d>23||f>59)return Pt;let h=(d*60+f)*6e4;u.setTime(u.getTime()-(e[9]==="-"?-h:h))}return u}o(XFt,"resolveYamlTimestamp");var ZFt=Li("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:XFt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),eMt=TK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray});function wP(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(wP,"isPlainObject");function tMt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(tMt,"pick");var rMt=TK("tag:yaml.org,2002:omap",{create:o(()=>({list:[],seen:new Set}),"create"),addItem:o((t,e)=>{let r;if(e instanceof Map){if(e.size!==1)return"cannot resolve an ordered map item";r=e.keys().next().value}else if(wP(e)){let n=Object.keys(e);if(n.length!==1)return"cannot resolve an ordered map item";r=n[0]}else return"cannot resolve an ordered map item";return t.seen.has(r)?"duplicate key in ordered map":(t.seen.add(r),t.list.push(e),"")},"addItem"),finalize:o(t=>t.list,"finalize"),identify:o(()=>!1,"identify")}),nMt=TK("tag:yaml.org,2002:pairs",{create:o(()=>[],"create"),addItem:o((t,e)=>{if(e instanceof Map)return e.size!==1?"cannot resolve a pairs item":(t.push(e.entries().next().value),"");if(Object.prototype.toString.call(e)!=="[object Object]")return"cannot resolve a pairs item";let r=e,n=Object.keys(r);return n.length!==1?"cannot resolve a pairs item":(t.push([n[0],r[n[0]]]),"")},"addItem"),identify:o(()=>!1,"identify")}),iMt=bP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:wP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{if(e!==null&&typeof e=="object")return"object-based map does not support complex keys";let n=String(e);return n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,""},"addPair"),has:o((t,e)=>e!==null&&typeof e=="object"?!1:Object.prototype.hasOwnProperty.call(t,String(e)),"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),sMt=bP("tag:yaml.org,2002:set",{create:o(()=>new Set,"create"),identify:o(t=>t instanceof Set,"identify"),represent:o(t=>{let e=new Map;for(let r of t)e.set(r,null);return e},"represent"),addPair:o((t,e,r)=>r!==null?"cannot resolve a set item":(t.add(e),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o(()=>null,"get")});function oMt(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}o(oMt,"createTagDefinitionMap");function aMt(){return{scalar:[],sequence:[],mapping:[]}}o(aMt,"createTagDefinitionListMap");function cMt(t){let e=[];for(let r of t){let n=e.length;for(let i=0;i<e.length;i++){let s=e[i];if(s.nodeKind===r.nodeKind&&s.tagName===r.tagName&&s.matchByTagPrefix===r.matchByTagPrefix){n=i;break}}e[n]=r}return e}o(cMt,"compileTags");var IP=class LOe{static{o(this,"Schema")}tags;implicitScalarTags;implicitScalarByFirstChar;implicitScalarAnyFirstChar;defaultScalarTag;defaultSequenceTag;defaultMappingTag;exact;prefix;constructor(e){let r=cMt(e),n=[],i=oMt(),s=aMt();for(let d of r){if(d.nodeKind==="scalar"&&d.implicit){if(d.matchByTagPrefix)throw new Error("Implicit scalar tags cannot match by tag prefix");n.push(d)}switch(d.nodeKind){case"scalar":d.matchByTagPrefix?s.scalar.push(d):i.scalar[d.tagName]=d;break;case"sequence":d.matchByTagPrefix?s.sequence.push(d):i.sequence[d.tagName]=d;break;case"mapping":d.matchByTagPrefix?s.mapping.push(d):i.mapping[d.tagName]=d;break}}let a=n.filter(d=>d.implicitFirstChars===null),c=new Set;for(let d of n)if(d.implicitFirstChars!==null)for(let f of d.implicitFirstChars)c.add(f);let l=new Map;for(let d of c)l.set(d,n.filter(f=>f.implicitFirstChars===null||f.implicitFirstChars.indexOf(d)!==-1));let u=i.scalar["tag:yaml.org,2002:str"];if(!u)throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)");this.tags=r,this.implicitScalarTags=n,this.implicitScalarByFirstChar=l,this.implicitScalarAnyFirstChar=a,this.defaultScalarTag=u,this.defaultSequenceTag=i.sequence["tag:yaml.org,2002:seq"],this.defaultMappingTag=i.mapping["tag:yaml.org,2002:map"],this.exact=i,this.prefix=s}lookupScalarTag(e){let r=this.exact.scalar[e];if(r)return r;for(let n of this.prefix.scalar)if(e.startsWith(n.tagName))return n}lookupSequenceTag(e){let r=this.exact.sequence[e];if(r)return r;for(let n of this.prefix.sequence)if(e.startsWith(n.tagName))return n}lookupMappingTag(e){let r=this.exact.mapping[e];if(r)return r;for(let n of this.prefix.mapping)if(e.startsWith(n.tagName))return n}resolveImplicitScalarTag(e){let r=this.implicitScalarByFirstChar.get(e.charAt(0))??this.implicitScalarAnyFirstChar;for(let i of r){let s=i.resolve(e,!1,i.tagName);if(s!==Pt)return{value:s,tag:i}}let n=this.defaultScalarTag;return{value:n.resolve(e,!1,n.tagName),tag:n}}withTags(...e){let r=[];for(let n of e)r=r.concat(n);return new LOe([...this.tags,...r])}},RK=new IP([sFt,eMt,iMt]),HOr=new IP([...RK.tags,cFt,mFt,NFt,UFt]),lMt=new IP([...RK.tags,aFt,hFt,POe,OOe]),uMt=new IP([...RK.tags,uFt,EFt,wK,IK,ZFt,zFt,JFt,rMt,nMt,sMt]),dMt=uMt.withTags({...wK,resolve:o((t,e,r)=>{let n=wK.resolve(t,e,r);return n===Pt?POe.resolve(t,e,r):n},"resolve")},{...IK,resolve:o((t,e,r)=>{let n=IK.resolve(t,e,r);return n===Pt?OOe.resolve(t,e,r):n},"resolve")}),VOr=bP("tag:yaml.org,2002:map",{create:o(()=>new Map,"create"),addPair:o((t,e,r)=>(t.set(e,r),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o((t,e)=>t.get(e),"get"),identify:o(t=>t instanceof Map||wP(t),"identify"),represent:o(t=>{if(t instanceof Map)return t;let e=new Map,r=t;for(let n of Object.keys(r))e.set(n,r[n]);return e},"represent")});function NOe(t){if(Array.isArray(t)){let e=Array.prototype.slice.call(t);for(let r=0;r<e.length;r++){if(Array.isArray(e[r]))return null;typeof e[r]=="object"&&Object.prototype.toString.call(e[r])==="[object Object]"&&(e[r]="[object Object]")}return String(e)}return typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"?"[object Object]":String(t)}o(NOe,"normalizeKey");var zOr=bP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:wP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{let n=NOe(e);return n===null?"nested arrays are not supported inside keys":(n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,"")},"addPair"),has:o((t,e)=>{let r=NOe(e);return r!==null&&Object.prototype.hasOwnProperty.call(t,r)},"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),fMt={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function EK(t,e,r,n,i){let s="",a="",c=Math.floor(i/2)-1;return n-e>c&&(s=" ... ",e=n-c+s.length),r-n>c&&(a=" ...",r=n+c-a.length),{str:s+t.slice(e,r).replace(/\t/g,"\u2192")+a,pos:n-e+s.length}}o(EK,"getLine");function CK(t,e){return" ".repeat(Math.max(e-t.length,0))+t}o(CK,"padStart");function hMt(t,e){if(!t.buffer)return null;let r={...fMt,...e},n=/\r?\n|\r|\0/g,i=[0],s=[],a,c=-1;for(;a=n.exec(t.buffer);)s.push(a.index),i.push(a.index+a[0].length),t.position<=a.index&&c<0&&(c=i.length-2);c<0&&(c=i.length-1);let l="",u=Math.min(t.line+r.linesAfter,s.length).toString().length,d=r.maxLength-(r.indent+u+3);for(let h=1;h<=r.linesBefore&&!(c-h<0);h++){let p=EK(t.buffer,i[c-h],s[c-h],t.position-(i[c]-i[c-h]),d);l=`${" ".repeat(r.indent)}${CK((t.line-h+1).toString(),u)} | ${p.str}
${l}`}let f=EK(t.buffer,i[c],s[c],t.position,d);l+=`${" ".repeat(r.indent)}${CK((t.line+1).toString(),u)} | ${f.str}
`,l+=`${"-".repeat(r.indent+u+3+f.pos)}^
`;for(let h=1;h<=r.linesAfter&&!(c+h>=s.length);h++){let p=EK(t.buffer,i[c+h],s[c+h],t.position-(i[c]-i[c+h]),d);l+=`${" ".repeat(r.indent)}${CK((t.line+h+1).toString(),u)} | ${p.str}
`}return l.replace(/\n$/,"")}o(hMt,"makeSnippet");function _Oe(t,e){let r="";return t.mark?(t.mark.name&&(r+=`in "${t.mark.name}" `),r+=`(${t.mark.line+1}:${t.mark.column+1})`,!e&&t.mark.snippet&&(r+=`
${t.mark.snippet}`),`${t.reason} ${r}`):t.reason}o(_Oe,"formatError");var pMt=class FOe extends Error{static{o(this,"YAMLException")}reason;mark;constructor(e,r){super(),this.name="YAMLException",this.reason=e,this.mark=r,this.message=_Oe(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${_Oe(this,e)}`}static throwAt(e,r,n,i=""){let s=0,a=0;for(let l=0;l<r;l++){let u=e.charCodeAt(l);u===10?(s++,a=l+1):u===13&&(s++,e.charCodeAt(l+1)===10&&l++,a=l+1)}let c={name:i,buffer:e,position:r,line:s,column:r-a};throw c.snippet=hMt(c),new FOe(n,c)}},dC={DOCUMENT:1,SEQUENCE:2,MAPPING:3,SCALAR:4,ALIAS:5,POP:6},it={PLAIN:1,SINGLE_QUOTED:2,DOUBLE_QUOTED:3,LITERAL_BLOCK:4,FOLDED_BLOCK:5},ch={BLOCK:1,FLOW:2},DK={CLIP:1,STRIP:2,KEEP:3};function TOe(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}o(TOe,"simpleEscapeSequence");var AMt=new Array(256),mMt=new Array(256);for(let t=0;t<256;t++)AMt[t]=TOe(t)?1:0,mMt[t]=TOe(t);var $Or=Object.assign(Object.create(null),{"!":"!","!!":"tag:yaml.org,2002:"});function bK(t){return encodeURI(t).replace(/!/g,"%21")}o(bK,"tagPercentEncode");function MOe(t){let e=t;return e.charCodeAt(0)===33?(e=e.slice(1),`!${bK(e)}`):e.slice(0,18)==="tag:yaml.org,2002:"?`!!${bK(e.slice(18))}`:`!<${bK(e)}>`}o(MOe,"tagNameShort");var gMt={filename:"",schema:lMt,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};var SK=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,UOe=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,jOr=new RegExp(`^(?:${SK})*$`),WOr=new RegExp(`^(?:${UOe})+$`),JOr=new RegExp(`^(?:!(?:${SK})*|${UOe}(?:${SK})*)$`),yMt={filename:"",maxDepth:100};var YOr={...yMt,...gMt};var HA=Symbol("INVALID");function EMt(t){let e=new Set([t.defaultScalarTag,t.defaultSequenceTag,t.defaultMappingTag].filter(s=>s!==void 0)),r=t.implicitScalarTags,n=t.tags.filter(s=>!(s.nodeKind==="scalar"&&s.implicit)&&!e.has(s)),i=t.tags.filter(s=>e.has(s));return[...r.map(s=>({tag:s,implicitTag:!0})),...n.map(s=>({tag:s,implicitTag:!1})),...i.map(s=>({tag:s,implicitTag:!0}))]}o(EMt,"buildRepresentTypes");function CMt(t,e){for(let r=0,n=t.representTypes.length;r<n;r+=1){let{tag:i,implicitTag:s}=t.representTypes[r];if(i.identify(e)){let a;return i.matchByTagPrefix?a=i.representTagName(e):a=i.tagName,{tag:i,tagName:a,implicitTag:s}}}return null}o(CMt,"matchTag");function NB(t,e){if(!t.noRefs&&e!==null&&typeof e=="object"){let u=t.refs.get(e);if(u)return u.anchor===void 0&&(u.anchor=`ref_${t.refCounter++}`),{kind:"alias",anchor:u.anchor}}let r=CMt(t,e);if(!r){if(e===void 0||t.skipInvalid)return HA;throw new pMt(`unacceptable kind of an object to dump ${Object.prototype.toString.call(e)}`)}let{tag:n,tagName:i,implicitTag:s}=r,a=s?i:MOe(i);if(n.nodeKind==="scalar")return{kind:"scalar",tag:a,tagged:!s,style:it.PLAIN,value:n.represent(e)};if(n.nodeKind==="sequence"){let u=n.represent(e),d={kind:"sequence",tag:a,tagged:!s,style:ch.BLOCK,items:[]};t.noRefs||t.refs.set(e,d);for(let f=0,h=u.length;f<h;f+=1){let p=NB(t,u[f]);p===HA&&u[f]===void 0&&(p=NB(t,null)),p!==HA&&d.items.push(p)}return d}let c=n.represent(e),l={kind:"mapping",tag:a,tagged:!s,style:ch.BLOCK,items:[]};t.noRefs||t.refs.set(e,l);for(let[u,d]of c){let f=NB(t,u);if(f===HA)continue;let h=NB(t,d);h!==HA&&l.items.push({key:f,value:h})}return l}o(NB,"build");function bMt(t,e,r={}){let n=NB({representTypes:EMt(e),noRefs:r.noRefs??!1,skipInvalid:r.skipInvalid??!1,refs:new Map,refCounter:0},t);return[{contents:n===HA?null:n,directives:[]}]}o(bMt,"jsToAst");var wMt=Symbol("visit:break"),qOe=Symbol("visit:skip");function EP(t,e,r){let n=e(t,r);if(n===wMt)return!0;if(n===qOe)return!1;let i=r.depth+1;switch(t.kind){case"sequence":for(let s of t.items)if(EP(s,e,{depth:i,parent:t,isKey:!1}))return!0;break;case"mapping":for(let{key:s,value:a}of t.items)if(EP(s,e,{depth:i,parent:t,isKey:!0})||EP(a,e,{depth:i,parent:t,isKey:!1}))return!0;break}return!1}o(EP,"visitNode");function ROe(t,e){for(let r of t)if(r.contents&&EP(r.contents,e,{depth:0,parent:null,isKey:!1}))return}o(ROe,"visit");function SP(t,e){return(t&1<<e)!==0}o(SP,"hasBit");var DOe={applyQuoteFlowKeysOption:IMt,doubleQuoteForInvisibles:SMt,doubleQuoteWhitespaceOnly:BMt,applyForceQuotesOption:xMt,tryLongOrMultilineAsBlock:vMt,quoteInvalidPlain:NMt,fallbackToDoubleQuoted:_Mt};function GOe(t){return t.presenterOptions.quoteStyle==="single"&&SP(t.allowedStylesMask,it.SINGLE_QUOTED)?it.SINGLE_QUOTED:it.DOUBLE_QUOTED}o(GOe,"_preferredQuotedStyle");function IMt(t){t.presenterOptions.quoteFlowKeys&&(!t.isKey||!t.flowOnly||t.style!==it.PLAIN||(t.style=it.DOUBLE_QUOTED))}o(IMt,"applyQuoteFlowKeysOption");function SMt(t){t.style===it.PLAIN&&/[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(t.node.value)&&(t.style=it.DOUBLE_QUOTED)}o(SMt,"doubleQuoteForInvisibles");function BMt(t){t.style===it.PLAIN&&/^\s+$/.test(t.node.value)&&(t.style=it.DOUBLE_QUOTED)}o(BMt,"doubleQuoteWhitespaceOnly");function xMt(t){t.presenterOptions.forceQuotes&&(t.isKey||t.style!==it.PLAIN||(t.style=t.node.value.includes(`
`)?it.DOUBLE_QUOTED:GOe(t)))}o(xMt,"applyForceQuotesOption");function vMt(t){if(t.style!==it.PLAIN||t.isKey)return;let e=t.node.value,r=e.indexOf(`
`)!==-1;if(!SP(t.allowedStylesMask,it.LITERAL_BLOCK)){r&&(t.style=it.DOUBLE_QUOTED);return}let n=t.presenterOptions.lineWidth;if(n===-1){r&&(t.style=it.LITERAL_BLOCK);return}let i=Math.max(Math.min(n,40),n-t.shiftOfContent),s=0,a=!1;for(;s<=e.length;){let c=e.length,l=e.indexOf(`
`,s);l!==-1&&(c=l);let u=e.slice(s,c);if(u.length>i&&u[0]!==" "&&/ [^ \t]/.test(u)&&(a=!0),l===-1)break;s=l+1}a?t.style=it.FOLDED_BLOCK:r&&(t.style=it.LITERAL_BLOCK)}o(vMt,"tryLongOrMultilineAsBlock");function NMt(t){t.style===it.PLAIN&&!SP(t.allowedStylesMask,it.PLAIN)&&(t.style=GOe(t))}o(NMt,"quoteInvalidPlain");function _Mt(t){SP(t.allowedStylesMask,t.style)||(t.style=it.DOUBLE_QUOTED)}o(_Mt,"fallbackToDoubleQuoted");function vB(t,e){return t|1<<e}o(vB,"setBit");var TMt="[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]",RMt="[\\n\\r]",DMt="\\uFEFF",QK="[ \\t]",HOe=`(?:(?!(?:${RMt}|${DMt}))${TMt})`,BP=`(?:(?!${QK})${HOe})`,VOe="[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]",zOe="[-?:,\\[\\]{}#&*!|>'\"%@`]",QMt="[,\\[\\]{}]",BK=BP,xK=`(?:(?!${QMt})${BP})`,kMt=`(?:(?:(?!${zOe})${BP})|[?:-](?=${BK}))`,PMt=`(?:(?:(?!${zOe})${BP})|[?:-](?=${xK}))`,$Oe=`(?:(?:(?![:#])${BK})|:(?=${BK}))#*`,jOe=`(?:(?:(?![:#])${xK})|:(?=${xK}))#*`,WOe=`(?:${QK}*${$Oe})*`,JOe=`(?:${QK}*${jOe})*`,YOe=`${kMt}#*${WOe}`,KOe=`${PMt}#*${JOe}`,OMt=YOe,LMt=KOe,FMt=`\\n+${$Oe}${WOe}`,MMt=`\\n+${jOe}${JOe}`,UMt=`${YOe}(?:${FMt})*`,qMt=`${KOe}(?:${MMt})*`,GMt=new RegExp(`^(?:${UMt})$`,"u"),HMt=new RegExp(`^(?:${qMt})$`,"u"),VMt=new RegExp(`^(?:${OMt})$`,"u"),zMt=new RegExp(`^(?:${LMt})$`,"u"),$Mt=new RegExp(`^(?:${VOe})*$`,"u"),jMt=new RegExp(`^(?:${VOe}|\\n)*$`,"u"),WMt=new RegExp(`^(?:${HOe}|\\n)*$`,"u"),JMt=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/,kK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;function YMt(t){let e=t.node.value;if(e!==""){if(!(t.isKey?t.flowOnly?zMt:VMt:t.flowOnly?HMt:GMt).test(e)||t.shiftOfFirstLine===0&&JMt.test(e))return!1;if(t.shiftOfContent===0){let n=e.indexOf(`
`);if(n!==-1){let i=e.slice(n+1);if(kK.test(i))return!1}}}let r=t.presenterOptions.schema.resolveImplicitScalarTag(e).tag.tagName;return!(!t.node.tagged&&r!==t.node.tag||!t.node.tagged&&e==="="&&r===t.presenterOptions.schema.defaultScalarTag.tagName)}o(YMt,"canUsePlain");function KMt(t){let e=t.node.value;if(!(t.isKey?$Mt:jMt).test(e)||/[ \t]\n|\n[ \t]/.test(e))return!1;if(!t.isKey&&t.shiftOfContent===0){let r=e.indexOf(`
`);if(r!==-1&&kK.test(e.slice(r+1)))return!1}return!0}o(KMt,"canUseSingleQuoted");function XMt(t){if(t.flowOnly||!WMt.test(t.node.value))return!1;let e=t.shiftOfContent-t.shiftOfParent;return!(e<1||e>9&&/^\n* /.test(t.node.value)||t.shiftOfContent===0&&kK.test(t.node.value))}o(XMt,"canUseBlock");function ZMt(t){let e=vB(0,it.DOUBLE_QUOTED);YMt(t)&&(e=vB(e,it.PLAIN)),KMt(t)&&(e=vB(e,it.SINGLE_QUOTED)),XMt(t)&&(e=vB(vB(e,it.LITERAL_BLOCK),it.FOLDED_BLOCK)),t.allowedStylesMask=e}o(ZMt,"detectAllowedStyles");function eUt(t){switch(t.style){case it.PLAIN:return tUt(t);case it.SINGLE_QUOTED:return rUt(t);case it.LITERAL_BLOCK:return nUt(t);case it.FOLDED_BLOCK:return iUt(t);case it.DOUBLE_QUOTED:return sUt(t)}}o(eUt,"renderScalar");function tUt(t){return XOe(t.node.value,t.shiftOfContent)}o(tUt,"renderPlain");function rUt(t){return`'${XOe(t.node.value,t.shiftOfContent).replace(/'/g,"''")}'`}o(rUt,"renderSingleQuoted");function nUt(t){let e=t.node.value;return"|"+eLe(e,t.shiftOfParent,t.shiftOfContent)+tLe(ZOe(e,t.shiftOfContent))}o(nUt,"renderLiteralBlock");function iUt(t){let e=t.node.value,r=t.presenterOptions.lineWidth,n=1/0;return r!==-1&&(n=Math.max(Math.min(r,40),r-t.shiftOfContent)),">"+eLe(e,t.shiftOfParent,t.shiftOfContent)+tLe(ZOe(aUt(e,n),t.shiftOfContent))}o(iUt,"renderFoldedBlock");function sUt(t){return`"${uUt(t.node.value)}"`}o(sUt,"renderDoubleQuoted");function XOe(t,e){let r=t.indexOf(`
`);if(r===-1)return t;let n=" ".repeat(e),i=t.slice(0,r),s=/(\n+)([^\n]*)/g;s.lastIndex=r;let a;for(;a=s.exec(t);){let c=a[1].length,l=a[2];i+=`
`.repeat(c+1)+n+l}return i}o(XOe,"encodeFlowBreaks");function ZOe(t,e){let r=" ".repeat(e),n=0,i="",s=t.length;for(;n<s;){let a,c=t.indexOf(`
`,n);c===-1?(a=t.slice(n),n=s):(a=t.slice(n,c+1),n=c+1),a.length&&a!==`
`&&(i+=r),i+=a}return i}o(ZOe,"indentString");function oUt(t){return/^\n* /.test(t)}o(oUt,"needIndentIndicator");function eLe(t,e,r){let n=oUt(t)?String(r-e):"",i=t[t.length-1]===`
`;return`${n}${i&&(t[t.length-2]===`
`||t===`
`)?"+":i?"":"-"}
`}o(eLe,"blockHeader");function tLe(t){return t[t.length-1]===`
`?t.slice(0,-1):t}o(tLe,"dropEndingNewline");function vK(t){return t===" "||t===" "}o(vK,"isMoreIndented");function QOe(t,e){if(t===""||vK(t[0]))return t;let r=/ [^ \t]/g,n,i=0,s,a=0,c=0,l="";for(;n=r.exec(t);)c=n.index,c-i>e&&(s=a>i?a:c,l+=`
${t.slice(i,s)}`,i=s+1),a=c;return l+=`
`,t.length-i>e&&a>i?l+=`${t.slice(i,a)}
${t.slice(a+1)}`:l+=t.slice(i),l.slice(1)}o(QOe,"foldLine");function aUt(t,e){let r=/(\n+)([^\n]*)/g,n=t.indexOf(`
`);n===-1&&(n=t.length),r.lastIndex=n;let i=QOe(t.slice(0,n),e),s=t[0]===`
`||vK(t[0]),a,c;for(;c=r.exec(t);){let l=c[1],u=c[2];a=u!==""&&vK(u[0]),i+=l+(!s&&!a&&u!==""?`
`:"")+QOe(u,e),s=a}return i}o(aUt,"foldBlockScalar");var cUt=/["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;function lUt(t){switch(t){case"\0":return"\\0";case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case`
`:return"\\n";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";case"\x1B":return"\\e";case'"':return'\\"';case"\\":return"\\\\";case"\x85":return"\\N";case"\xA0":return"\\_";case"\u2028":return"\\L";case"\u2029":return"\\P"}let e=t.charCodeAt(0),r=e.toString(16).toUpperCase();return e<=255?`\\x${"0".repeat(2-r.length)}${r}`:`\\u${"0".repeat(4-r.length)}${r}`}o(lUt,"escapeCharacter");function uUt(t){return t.replace(cUt,lUt)}o(uUt,"escapeString");var CP=10,PK={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:"single",forceQuotes:!1,scalarStyleRules:Object.keys(DOe).map(t=>Reflect.get(DOe,t)),tagBeforeAnchor:!1};function dUt(t){return t.tagged?t.tag:MOe(t.tag)}o(dUt,"nodeTagShort");function fUt(t){let e={...PK,...t};return e.flowSkipColonSpace&&(e.quoteFlowKeys=!0),{...e,defaultScalarTagName:e.schema.defaultScalarTag.tagName,openEnded:!1}}o(fUt,"createPresenterState");function NK(t,e){return`
${" ".repeat(t.indent*e)}`}o(NK,"generateNextLine");function hUt(t,e,r,n,i,s){return{node:e,parent:r,level:n,isKey:i,flowOnly:s,shiftOfParent:n===0?-1:t.indent*(n-1),shiftOfContent:t.indent*Math.max(1,n),shiftOfFirstLine:n===0?0:t.indent*n,presenterOptions:t,allowedStylesMask:0,style:e.style}}o(hUt,"scalarLayout");function pUt(t,e,r){let n="";for(let s=0,a=r.items.length;s<a;s+=1){let c=Bd(t,e,r.items[s],r,{}).text;s>0&&(n+=`,${t.flowSkipCommaSpace?"":" "}`),n+=c}let i=t.flowBracketPadding&&r.items.length>0?" ":"";return`[${i}${n}${i}]`}o(pUt,"writeFlowSequence");function kOe(t,e,r,n){let i="";for(let s=0,a=r.items.length;s<a;s+=1){let c=Bd(t,e+1,r.items[s],r,{block:!0,compact:t.seqInlineFirst,isblockseq:!0}).text;(!n||i!=="")&&(i+=NK(t,e)),c===""||CP===c.charCodeAt(0)?i+="-":i+="- ",i+=c}return i}o(kOe,"writeBlockSequence");function AUt(t,e,r){let n="";for(let{key:s,value:a}of r.items){let c="";n!==""&&(c+=`,${t.flowSkipCommaSpace?"":" "}`);let l=Bd(t,e,s,r,{iskey:!0}),u=l.text,d=Bd(t,e,a,r,{}).text,f=t.flowSkipColonSpace||d===""?"":" ",h=s.kind==="scalar"&&l.noBody&&(s.tagged||s.anchor!==void 0),p=s.kind==="alias"||h?" ":"";c+=`${u}${p}:${f}${d}`,n+=c}let i=t.flowBracketPadding&&n!==""?" ":"";return`{${i}${n}${i}}`}o(AUt,"writeFlowMapping");function mUt(t,e,r,n){let i="";for(let s=0,a=r.items.length;s<a;s+=1){let c="";(!n||i!=="")&&(c+=NK(t,e));let{key:l,value:u}=r.items[s],d=(l.kind==="mapping"||l.kind==="sequence")&&l.style===ch.BLOCK&&l.items.length!==0||l.kind==="scalar"&&(l.style===it.LITERAL_BLOCK||l.style===it.FOLDED_BLOCK),f=d?Bd(t,e+1,l,r,{block:!0,compact:!0,isblockseq:!_K(t,l,e+1)}):Bd(t,e+1,l,r,{block:!0,compact:!0,iskey:!0}),h=f.text,p=l.kind==="scalar"&&l.value.indexOf(`
`)!==-1,m=h.length>1024&&/^[\s\S]{1025}/u.test(h),g=d||p||m;g&&(h&&CP===h.charCodeAt(0)?c+="?":c+="? "),c+=h,g&&(c+=NK(t,e));let E=Bd(t,e+1,u,r,{block:!0,compact:g,isblockseq:g&&!_K(t,u,e+1)}).text,y=l.kind==="scalar"&&f.noBody&&(l.tagged||l.anchor!==void 0),C=!g&&(l.kind==="alias"||y)?" ":"";E===""||CP===E.charCodeAt(0)?c+=`${C}:`:c+=`${C}: `,c+=E,i+=c}return i}o(mUt,"writeBlockMapping");function _K(t,e,r){return e.kind==="alias"?!0:e.tagged||e.anchor!==void 0||t.indent<2&&r>0}o(_K,"cannotBeCompact");function Bd(t,e,r,n,i){if(r.kind==="alias")return t.openEnded=!1,{text:`*${r.anchor}`,noBody:!1};let{block:s=!1,iskey:a=!1,isblockseq:c=!1}=i,l=i.compact??!1,u=r.anchor!==void 0;_K(t,r,e)&&(l=!1);let d,f=r.tagged,h=s&&(r.kind==="mapping"||r.kind==="sequence")&&r.style===ch.BLOCK&&r.items.length!==0;if(r.kind==="mapping")h?d=mUt(t,e,r,l):d=AUt(t,e,r);else if(r.kind==="sequence")h?t.seqNoIndent&&!c&&e>0?d=kOe(t,e-1,r,l):d=kOe(t,e,r,l):d=pUt(t,e,r);else{let g=hUt(t,r,n,e,a,!s);ZMt(g);for(let E of t.scalarStyleRules)E(g);d=eUt(g),t.openEnded=(g.style===it.LITERAL_BLOCK||g.style===it.FOLDED_BLOCK)&&(r.value===`
`||r.value.endsWith(`
`)),f=r.tagged||d===""&&g.flowOnly&&n?.kind==="sequence"&&!u||g.style!==it.PLAIN&&r.tag!==t.defaultScalarTagName}(r.kind==="mapping"||r.kind==="sequence")&&!h&&(t.openEnded=!1),h&&l&&e>0&&t.indent>2&&(d=`${" ".repeat(t.indent-2)}${d}`);let p=d==="",m=d;if(f||u){let g=[],E=f?dUt(r):null,y=u?`&${r.anchor}`:null;t.tagBeforeAnchor?(E!==null&&g.push(E),y!==null&&g.push(y)):(y!==null&&g.push(y),E!==null&&g.push(E));let C=d===""||d.charCodeAt(0)===CP?"":" ";m=`${g.join(" ")}${C}${d}`}return{text:m,noBody:p}}o(Bd,"writeNode");function gUt(t){return(t.kind==="sequence"||t.kind==="mapping")&&t.style===ch.BLOCK&&t.items.length!==0&&!t.tagged&&t.anchor===void 0}o(gUt,"rootStartsOwnLine");function yUt(t){let e="";for(let r of t.directives){if(r.kind==="yaml"){e+=`%YAML ${r.version}
`;continue}let{handle:n,prefix:i}=r;e+=`%TAG ${n} ${i}
`}return e}o(yUt,"writeDocumentDirectives");function EUt(t,e){let r=fUt(e),n="",i=!1;for(let s=0;s<t.length;s+=1){let a=t[s];r.openEnded=!1;let c=yUt(a),l=c!=="",u=a.explicitStart||l||s>0&&!i;if(n+=c,a.contents===null)u&&(n+=`---
`);else if(u){let d=Bd(r,0,a.contents,null,{block:!0,compact:!0}).text,f=d===""?"":l||gUt(a.contents)?`
`:" ";n+=`---${f}${d}
`}else n+=Bd(r,0,a.contents,null,{block:!0,compact:!0}).text+`
`;i=a.explicitEnd||r.openEnded,i&&(n+=`...
`)}return n}o(EUt,"present");var CUt={...PK,schema:dMt,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:o(()=>{},"transform")};function bUt(t,e){let r=String(t),n=String(e);return r<n?-1:r>n?1:0}o(bUt,"defaultCompareFn");function rLe(t,e={}){let r={...CUt,...e},n=bMt(t,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});if(r.flowLevel>=0&&ROe(n,(i,s)=>{if(!(s.depth<r.flowLevel))return(i.kind==="sequence"||i.kind==="mapping")&&(i.style=ch.FLOW),qOe}),r.sortKeys){let i=r.sortKeys===!0?bUt:r.sortKeys;ROe(n,s=>{s.kind==="mapping"&&s.items.sort((a,c)=>i(a.key.kind==="scalar"?a.key.value:"",c.key.kind==="scalar"?c.key.value:""))})}return r.transform(n),EUt(n,{...tMt(r,Object.keys(PK)),schema:r.schema})}o(rLe,"dump");var KOr=dC.DOCUMENT,XOr=dC.SEQUENCE,ZOr=dC.MAPPING,eLr=dC.SCALAR,tLr=dC.ALIAS,rLr=dC.POP,nLr=it.PLAIN,iLr=it.SINGLE_QUOTED,sLr=it.DOUBLE_QUOTED,oLr=it.LITERAL_BLOCK,aLr=it.FOLDED_BLOCK,cLr=ch.BLOCK,lLr=ch.FLOW,uLr=DK.CLIP,dLr=DK.STRIP,fLr=DK.KEEP;var nLe=N(require("os"),1);var xP=class t{static{o(this,"GitHubSummary")}static async writeBuildSummary(e){let r=o(function(l,u,d=!1){return`<a href="${u}">${l}</a>`+(d?nLe.default.EOL:"")},"addLink"),n=e.exportRes.refs.length,i=n>0?e.exportRes.refs?.[0]:void 0,s=i?e.exportRes.summaries?.[i]:void 0,a=e.driver==="cloud"&&e.endpoint?e.endpoint?.replace(/^cloud:\/\//,"").split("/")[0]:void 0,c=dq.addHeading("Docker Build summary",2);if(a&&n===1&&i&&s){let l=t.formatDBCBuildURL(a,i,s.defaultPlatform);c.addRaw("<p>").addRaw("For a detailed look at the build, you can check the results at:").addRaw("</p>").addRaw("<p>").addRaw(`:whale: ${r(`<strong>${l}</strong>`,l)}`).addRaw("</p>")}if(e.uploadRes){let l=`./${Xe.runId}/${e.uploadRes.url.split("/").slice(-2).join("/")}`;a&&n===1?c.addRaw("<p>").addRaw("You can also download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("</p>"):c.addRaw("<p>").addRaw("For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("</p>"),c.addRaw("<p>").addRaw(`:arrow_down: ${r(`<strong>${re.stringToUnicodeEntities(e.uploadRes.filename)}</strong>`,l)} (${re.formatFileSize(e.uploadRes.size)} - includes <strong>${n} build record${n>1?"s":""}</strong>)`).addRaw("</p>")}else e.exportRes.summaries&&c.addRaw("<p>").addRaw("The following table provides a brief summary of your build.").addBreak().addRaw("For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("</p>");if(c.addRaw("<p>").addRaw("Find this useful? ").addRaw(r("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("</p>"),e.exportRes.summaries){c.addRaw("<p>");let l=[[{header:!0,data:"ID"},{header:!0,data:"Name"},{header:!0,data:"Status"},{header:!0,data:"Cached"},{header:!0,data:"Duration"},...a&&n>1?[{header:!0,data:"Build result URL"}]:[]]],u;for(let d in e.exportRes.summaries)if(Object.prototype.hasOwnProperty.call(e.exportRes.summaries,d)){let f=e.exportRes.summaries[d];l.push([{data:`<code>${d.substring(0,6).toUpperCase()}</code>`},{data:`<strong>${re.stringToUnicodeEntities(f.name)}</strong>`},{data:`${f.status==="completed"?":white_check_mark:":f.status==="canceled"?":no_entry_sign:":":x:"} ${f.status}`},{data:`${f.numCachedSteps>0?Math.round(f.numCachedSteps/f.numTotalSteps*100):0}%`},{data:f.duration},...a&&n>1?[{data:r(":whale: Open",t.formatDBCBuildURL(a,d,f.defaultPlatform))}]:[]]),f.error&&(u=f.error)}c.addTable([...l]),c.addRaw("</p>"),u&&(c.addRaw("<blockquote>"),re.countLines(u)>10?c.addRaw("<details><summary><strong>Error</strong></summary>").addCodeBlock(OK.default.encode(u),"text").addRaw("</details>"):c.addRaw("<strong>Error</strong>").addBreak().addRaw("<p>").addCodeBlock(OK.default.encode(u),"text").addRaw("</p>"),c.addRaw("</blockquote>"))}e.inputs&&c.addRaw("<details><summary><strong>Build inputs</strong></summary>").addCodeBlock(rLe(e.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw("</details>"),e.bakeDefinition&&c.addRaw("<details><summary><strong>Bake definition</strong></summary>").addCodeBlock(JSON.stringify(e.bakeDefinition,null,2),"json").addRaw("</details>"),O("Writing summary"),await c.addSeparator().write()}static formatDBCBuildURL(e,r,n){return`https://app.docker.com/build/accounts/${e}/builds/${(n??"linux/amd64").replace("/","-")}/${r}`}};var VA=N(require("fs"),1),LK=N(require("path"),1);var jt=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.iidFilename=`build-iidfile-${re.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${re.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),n=e?.attrs||{},i=Object.entries(n).filter(([p])=>!r.has(p)),s=re.parseBoolOrDefault(n["fetch-by-commit"]),a=e?.ref||n.ref||is.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&re.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${Xe.serverURL}/${is.repo.owner}/${is.repo.repo}.git`,l=e?.checksum||n.checksum,u=e?.subdir||n.subdir,d=e?.format;if(!d){if(d="fragment",i.length>0)d="query";else if(re.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(d="query")}catch{}}let f=is.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(f=typeof is.payload.pull_request?.head?.sha=="string"?is.payload.pull_request.head.sha:a);let h=l||f;if(d==="query"){let p=[`ref=${s||l?a:h}`],m=s?h:l;m&&p.push(`checksum=${m}`),u&&u!=="."&&p.push(`subdir=${u}`);for(let[g,E]of i)p.push(`${g}=${E}`);return`${c}?${p.join("&")}`}return`${c}#${h}${u&&u!=="."?`:${u}`:""}`}getImageIDFilePath(){return LK.default.join(gt.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(VA.default.existsSync(e))return VA.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return LK.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!VA.default.existsSync(e))return;let r=VA.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,n]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${n}`}static resolveSecretFile(e){let[r,n]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${n}`}static resolveSecretEnv(e){let[r,n]=t.parseSecretKvp(e);return`id=${r},env=${n}`}static resolveSecret(e,r){let[n,i]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!VA.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=gt.tmpName({tmpdir:gt.tmpDir()});return VA.default.writeFileSync(s,i),[n,s]}static getProvenanceInput(e){let r=li(e);if(!r)return r;try{return ip(e)?`builder-id=${Xe.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Xe.workflowRunURL(!0)}`;let r=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of r)if(n.toString().split(/(?<=^[^=]+?)=/).map(s=>s.trim())[0]=="builder-id")return e;return`${e},builder-id=${Xe.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",i="",s="",a=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());l[0]==="type"?n=l[1]:l[0]==="repository"?i=l[1]:l[0]==="ghtoken"&&(s=l[1])}return n==="gha"&&(i||(e=`${e},repository=${Xe.repository}`),!s&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let n=So(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n){if(i.length==1&&!i[0].startsWith("type="))return e=="local";for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let n=So(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n)for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=So(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),n=[];for(let i of r)for(let s of i)try{let a=re.parseBool(s);n.push(`disabled=${!a}`)}catch{n.push(s)}return n.join(",")}static hasGitAuthTokenSecret(e,r){for(let n of e){if(r&&n.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(n.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let n=e.indexOf("="),i=e.substring(0,n),s=e.substring(n+1);if(i.length==0||s.length==0)throw new Error(`${e} is not a valid secret`);return r&&Fc(s),[i,s]}};var FK=N(require("fs"),1),iLe=N(require("path"),1);var vP=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.metadataFilename=`bake-metadata-${re.generateRandomString()}.json`}getMetadataFilePath(){return iLe.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!FK.default.existsSync(e))return;let r=FK.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let n in e)"buildx.build.ref"in e[n]&&r.push(e[n]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let n=["bake"],i,s=[],a=[...e.files||[],e.source];if(a){for(let l of a.map(u=>u?u.trim():""))if(l.length!=0){if(!re.isValidRef(l)){s.push(l);continue}if(i)throw new Error("Only one remote bake definition can be defined");i=l}}i&&n.push(i);for(let l of s)n.push("--file",l);if(e.overrides)for(let l of e.overrides)n.push("--set",l);if(e.vars)for(let l of e.vars)n.push("--var",l);if(e.allow)for(let l of e.allow)n.push("--allow",l);e.call&&n.push("--call",e.call),e.load&&n.push("--load"),e.noCache&&n.push("--no-cache"),e.provenance&&n.push("--provenance",e.provenance),e.push&&n.push("--push"),e.sbom&&n.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...n,"--print",...e.targets||[]]);return await _e.getExecOutput(c.command,c.args,r).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(`cannot parse bake definitions: ${yt.getErrorMessage(l.stderr)}`);return t.parseDefinition(l.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let n in r.target){let i=r.target[n];i.attest&&Array.isArray(i.attest)&&(i.attest=i.attest.map(s=>t.parseAttestEntry(s))),i["cache-from"]&&Array.isArray(i["cache-from"])&&(i["cache-from"]=i["cache-from"].map(s=>t.parseCacheEntry(s))),i["cache-to"]&&Array.isArray(i["cache-to"])&&(i["cache-to"]=i["cache-to"].map(s=>t.parseCacheEntry(s))),i.output&&Array.isArray(i.output)&&(i.output=i.output.map(s=>t.parseExportEntry(s))),i.secret&&Array.isArray(i.secret)&&(i.secret=i.secret.map(s=>t.parseSecretEntry(s))),i.ssh&&Array.isArray(i.ssh)&&(i.ssh=i.ssh.map(s=>t.parseSSHEntry(s)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(s){case"type":r.type=a;break;case"disabled":r.disabled=re.parseBool(a);break;default:r[s]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&!n[0].includes("="))return r.type="registry",r.ref=n[0],r;for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&n[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],i="";for(let s of n){let[a,c]=s.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(a){case"type":i=c;break;case"id":r.id=c;break;case"source":case"src":r.src=c;break;case"env":r.env=c;break}}return i==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[n,i]=e.split("=",2);return r.id=n,i&&(r.paths=i.split(",")),r}static hasLocalExporter(e){return t.hasExporterType("local",t.exporters(e))}static hasTarExporter(e){return t.hasExporterType("tar",t.exporters(e))}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",t.exporters(e))}static hasExporterType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static exporters(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.output)for(let s of i.output)r.push(t.parseExportEntry(s))}return r}static hasGitAuthTokenSecret(e){for(let r in e.target){let n=e.target[r];if(n.secret){for(let i of n.secret)if(t.parseSecretEntry(i).id==="GIT_AUTH_TOKEN")return!0}}return!1}static hasProvenanceAttestation(e){return t.hasAttestationType("provenance",t.attestations(e))}static hasSBOMAttestation(e){return t.hasAttestationType("sbom",t.attestations(e))}static hasAttestationType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static attestations(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.attest)for(let s of i.attest)r.push(t.parseAttestEntry(s))}return r}};var Dd=N(require("fs"),1),fu=N(require("os"),1),Bh=N(require("path"),1);var $C=N(uc(),1),fZ=N(require("util"),1);var fC=class t{static{o(this,"Git")}static async context(e){let r={...is};return r.ref=await t.ref(e),r.sha=await t.fullCommit(e),r}static async isInsideWorkTree(e){return await t.exec(["rev-parse","--is-inside-work-tree"],e).then(r=>r==="true").catch(()=>!1)}static async remoteSha(e,r,n){let i=e.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(n&&i){Fc(n);let s=tQ(n,{baseUrl:Xe.apiURL}),[a,c]=i.slice(1,3);try{return(await s.rest.repos.listCommits({owner:a,repo:c,sha:r,per_page:1})).data[0].sha}catch(l){throw new Error(`Cannot find remote ref for ${e}#${r}: ${l.message}`)}}return await t.exec(["ls-remote",e,r]).then(s=>{let[a]=s.split(/[\s\t]/);if(a.length==0)throw new Error(`Cannot find remote ref for ${e}#${r}`);return a})}static async remoteURL(e){return await t.exec(["remote","get-url","origin"],e).then(r=>r.length==0?t.exec(["remote","get-url","upstream"],e).then(n=>{if(n.length==0)throw new Error("Cannot find remote URL for origin or upstream");return n}):r)}static async ref(e){return await t.isHeadDetached(e)?await t.getDetachedRef(e):await t.exec(["symbolic-ref","HEAD"],e)}static async fullCommit(e){return await t.exec(["show","--format=%H","HEAD","--quiet","--"],e)}static async shortCommit(e){return await t.exec(["show","--format=%h","HEAD","--quiet","--"],e)}static async commitCount(e){return Number(await t.exec(["rev-list","--count","HEAD","--"],e))}static async tag(e){return await t.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"],e).then(r=>r.length==0?t.exec(["describe","--tags","--abbrev=0"],e):r.split(`
`)[0])}static async isHeadDetached(e){return await t.exec(["branch","--show-current"],e).then(r=>r.length==0)}static async getDetachedRef(e){let r=await t.exec(["show","-s","--pretty=%D"],e);D(`detached HEAD ref: ${r}`);let n=r.replace(/^grafted, /,"").trim();if(n==="HEAD")return await t.inferRefFromHead(e);let i=n.match(/^HEAD, (.*)$/);if(!i||!i[1])throw new Error(`Cannot find detached HEAD ref in "${r}"`);let s=i[1].trim();if(s.startsWith("tag: "))return await t.findDetachedTagRef(s,r,e);if(s.match(/^pull\/\d+\/(head|merge)$/))return`refs/${s}`;let c=s.match(/^[^/]+\/[^/]+, (.+)$/);if(c)return`refs/heads/${c[1].trim()}`;let l=s.match(/^[^/]+\/(.+)$/);if(l)return`refs/heads/${l[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${r}"`)}static async exec(e=[],r){return await _e.getExecOutput("git",e,{cwd:r,ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async inferRefFromHead(e){let r=await t.findContainingRef("refs/heads/",e);if(r)return r;let n=await t.findContainingRef("refs/remotes/",e);if(n){let a=n.match(/^refs\/remotes\/[^/]+\/(.+)$/);return a?`refs/heads/${a[1]}`:n}let i=await t.exec(["tag","--contains","HEAD"],e),[s]=i.split(`
`).map(a=>a.trim()).filter(a=>a.length>0);return s?`refs/tags/${s}`:""}static async findDetachedTagRef(e,r,n){let s=(await t.exec(["for-each-ref","--format=%(refname)","--points-at","HEAD","refs/tags/"],n)).split(`
`).map(a=>a.trim()).filter(a=>a.length>0).sort((a,c)=>c.length-a.length);for(let a of s){let c=`tag: ${a.slice(10)}`;if(e===c||e.startsWith(`${c}, `))return a}if(s.length===1)return s[0];throw new Error(`Cannot find detached tag ref in "${r}"`)}static async findContainingRef(e,r){let n=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e],r),[i]=n.split(`
`).map(s=>s.trim()).filter(s=>s.length>0);return i}static async commitDate(e,r){return new Date(await t.exec(["show","-s",'--format="%ci"',e],r))}};var CUe=require("crypto"),uu=N(require("fs"),1),du=N(require("path"),1);var VC=N($K(),1),bUe=N(aX(),1),zC=N(AUe(),1);var gUe=require("util");var uZ=N($K(),1);var yUe=N(uc(),1);var mUe="application/vnd.oci.empty.v1+json";var zs=class{static{o(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Cosign.isAvailable error: ${r}`),!1));return D(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await _e.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}static getErrorMessage(e){let r=(0,gUe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}return"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Cosign.versionSatisfies false: undefined version"),!1;let i=yUe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Cosign.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static parseCommandOutput(e){let r,n,i,s;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let l;try{l=JSON.parse(c)}catch{continue}if(l&&Array.isArray(l.errors)&&l.errors.length>0&&(s=l.errors),!r&&l&&Array.isArray(l.manifests)&&l.manifests.length>0){let u=l.manifests[0];u?.artifactType===uZ.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===mUe&&typeof u.digest=="string"&&(n=u.digest)}if(!i&&l&&l.mediaType===uZ.BUNDLE_V03_MEDIA_TYPE&&(i=l),i&&(r||n)){s=void 0;break}}return{bundle:i,signatureManifestDigest:r||n,errors:s}}};var dZ=N(require("fs"),1);var oL=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let n=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return n;let i=e.platform,s=new Map;for(let a of r.manifests)a.digest&&s.set(a.digest,a);return n.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let l=s.get(c);return l?l.platform?.os===i.os&&l.platform?.architecture===i.architecture&&(l.platform?.variant??"")===(i.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],n=gt.tmpName({tmpdir:gt.tmpDir(),template:"imagetools-metadata-XXXXXX"}),i=[],s=[];for(let c of e.sources){if(c.startsWith("cwd://")){let l=c.substring(6);l.length>0&&i.push(l);continue}s.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",n);for(let c of i)r.push("--file",c);for(let c of s)r.push(c);let a=await this.getCreateCommand(r);if(e.skipExec){O(`[command]${a.command} ${a.args.join(" ")}`),O("Skipped create command");return}return await _e.getExecOutput(a.command,a.args,{ignoreReturnCode:!0,silent:e.silent}).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(c.stderr.trim());if(!e.dryRun){if(!dZ.default.existsSync(n))return;let l=dZ.default.readFileSync(n,{encoding:"utf-8"}).trim();if(l===""||l==="null")return;let u=JSON.parse(l),d=u["containerimage.descriptor"];return d?{digest:u["containerimage.digest"]||d.digest,descriptor:d,imageNames:u["image.name"]?u["image.name"].split(",").map(f=>f.trim()):[]}:void 0}})}async inspect(e,r,n){let i=await this.getInspectCommand([e.name,"--format",r]);if(!e.retryOnManifestUnknown)return await this.execInspect(i.command,i.args,n);let s=e.retryLimit??15,a;for(let c=0;c<s;c++)try{return await this.execInspect(i.command,i.args,n)}catch(l){if(a=l,!t.isManifestUnknownError(a.message)||c===s-1)throw a;O(`buildx imagetools inspect command failed with manifest not found, retrying attempt ${c+1}/${s}...
${a.message}`),await new Promise(u=>setTimeout(u,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,n){return await _e.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return n(JSON.parse(i.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown)/i.test(e)||/:\s*not found$/i.test(e)}};var HC="https://search.sigstore.dev";var EUe="slsaprovenance1",Sh=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new zs,this.imageTools=e?.imageTools||new oL}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n);for(let s of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${s}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${s}@${c}`;await kr(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1",...await this.bundleFormatArgs(),...i];O(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let d=await _e.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),f=zs.parseCommandOutput(d.stderr.trim());if(d.exitCode!=0)if(f.errors&&f.errors.length>0){let p=f.errors.map(m=>`- [${m.code}] ${m.message} : ${m.detail}`).join(`
`);throw new Error(`Cosign sign command failed with errors:
${p}`)}else throw new Error(`Cosign sign command failed with: ${zs.getErrorMessage(d.stderr)}`);let h=t.parseBundle((0,VC.bundleFromJSON)(f.bundle));h.tlogID&&await this.logTransparencyUpload(h.tlogID,n),O(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...h,imageName:s}})}}}catch(n){throw new Error(`Signing BuildKit attestation manifests failed: ${n.message}`)}return r}async verifySignedManifests(e,r){let n={};for(let[i,s]of Object.entries(e))await kr(`Verifying signature of ${i}`,async()=>{let a=await this.verifyImageAttestation(i,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!s.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});O(`Signature manifest verified: https://oci.dag.dev/?image=${s.imageName}@${a.signatureManifestDigest}`),n[i]=a});return n}async verifyImageAttestations(e,r){let n={},i=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(i.length===0)throw new Error(`No attestation manifests found for ${e}`);let s=e.split(":",1)[0];for(let a of i){let c=`${s}@${a}`,l=await this.verifyImageAttestation(c,r);O(`Signature manifest verified: https://oci.dag.dev/?image=${s}@${l.signatureManifestDigest}`),n[c]=l}return n}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let n=["verify","--experimental-oci11",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&n.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);let a=await _e.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${zs.getErrorMessage(a.stderr)}`);let c=zs.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let i=r.retryLimit??15,s;O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);for(let a=0;a<i;a++){let c=await _e.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),l=zs.parseCommandOutput(c.stderr.trim());if(c.exitCode===0)return{cosignArgs:n,signatureManifestDigest:l.signatureManifestDigest};if(l.errors&&l.errors.length>0){let u=l.errors.map(d=>`- [${d.code}] ${d.message} : ${d.detail}`).join(`
`);if(s=new Error(`Cosign verify command failed with errors:
${u}`),l.errors.some(d=>d.code==="MANIFEST_UNKNOWN"))O(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${i}...
${u}`),await new Promise(d=>setTimeout(d,Math.pow(2,a)*100));else throw s}else throw new Error(`Cosign verify command failed with: ${zs.getErrorMessage(c.stderr)}`)}throw s}async signProvenanceBlobs(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign provenance blobs");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n),s=t.getProvenanceBlobs(e);for(let a of Object.keys(s))await kr(`Signing ${a}`,async()=>{let c=s[a],l=du.default.join(du.default.dirname(a),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(c);if(u.length===0){ut(`No subjects found in provenance ${a}, skip signing.`);return}let d=du.default.join(du.default.dirname(a),u[0].name),f=["attest-blob","--yes","--oidc-provider","github-actions",...await this.bundleFormatArgs(),"--statement",a,"--type",EUe,"--bundle",l,...i];O(`[command]${this.cosign.binPath} ${[...f,d].join(" ")}`);let h=await _e.getExecOutput(this.cosign.binPath,["--verbose",...f,d],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),p=zs.parseCommandOutput(h.stderr.trim());if(h.exitCode!=0)if(p.errors&&p.errors.length>0){let g=p.errors.map(E=>`- [${E.code}] ${E.message} : ${E.detail}`).join(`
`);throw new Error(`Cosign attest-blob command failed with errors:
${g}`)}else throw new Error(`Cosign attest-blob command failed with: ${zs.getErrorMessage(h.stderr)}`);let m=t.parseBundle((0,VC.bundleFromJSON)(JSON.parse(uu.default.readFileSync(l,{encoding:"utf-8"}))));O("Provenance blob signed for:");for(let g of u){let[E,y]=Object.entries(g.digest)[0]||[];O(` - ${g.name} (${E}:${y})`)}m.tlogID&&await this.logTransparencyUpload(m.tlogID,n),O(`Sigstore bundle written to: ${l}`),r[a]={...m,bundlePath:l,subjects:u}})}catch(n){throw new Error(`Signing BuildKit provenance blobs failed: ${n.message}`)}return r}async verifySignedArtifacts(e,r){let n={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[i,s]of Object.entries(e)){let a=du.default.dirname(i);await kr(`Verifying signature bundle ${s.bundlePath}`,async()=>{for(let c of s.subjects){let l=du.default.join(a,c.name);O(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??EUe];(r.noTransparencyLog||!s.tlogID)&&u.push("--use-signed-timestamps","--insecure-ignore-tlog");let d=await _e.getExecOutput(this.cosign.binPath,[...u,"--bundle",s.bundlePath,l],{ignoreReturnCode:!0});if(d.stderr.length>0&&d.exitCode!=0)throw new Error(d.stderr);n[l]={bundlePath:s.bundlePath,cosignArgs:u}}})}return n}async verifyArtifact(e,r,n){O("Verifying keyless verification bundle signature");let i=JSON.parse(uu.default.readFileSync(r,"utf-8")),s=(0,VC.bundleFromJSON)(i);O("Fetching Sigstore TUF trusted root metadata");let a=await bUe.getTrustedRoot({retry:{retries:5}}),c=(0,zC.toTrustMaterial)(a);try{O("Verifying artifact signature");let l=(0,zC.toSignedEntity)(s,uu.default.readFileSync(e)),u=t.parseCertificate(s),d=s.verificationMaterial.tlogEntries,f=d.length>0?d[0].logIndex:void 0,p=new zC.Verifier(c).verify(l,{subjectAlternativeName:n?.subjectAlternativeName,extensions:n?.issuer?{issuer:n.issuer}:void 0});return D(`Sigstore.verifyArtifact signer: ${JSON.stringify(p)}`),{payload:i,certificate:u.toString(),tlogID:f}}catch(l){throw new Error(`Failed to verify artifact signature: ${l}`)}}static noTransparencyLog(e){return e??Xe.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e.noTransparencyLog);if(O(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")){let i=await this.useRekorV2(e);await kr("Creating Sigstore protobuf signing config",async()=>{let s=gt.tmpName({template:"signing-config-XXXXXX.json",tmpdir:gt.tmpDir()}),a=["signing-config","create",i?"--with-default-rekor-v2=true":"--with-default-services=true",`--out=${s}`];n&&a.push("--no-default-rekor=true"),await _e.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),O(JSON.stringify(JSON.parse(uu.default.readFileSync(s,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${s}`)})}else r.push("--use-signing-config"),n&&r.push("--tlog-upload=false");return r}async logTransparencyUpload(e,r){if(await this.useRekorV2(r)){O(`Attestation signature uploaded to Rekor v2 transparency log with index ${e}`);return}O(`Attestation signature uploaded to Rekor transparency log: ${HC}?logIndex=${e}`)}async useRekorV2(e){return e.rekorV2===!0&&!t.noTransparencyLog(e.noTransparencyLog)&&await this.cosign.versionSatisfies(">=3.1.1")}static getProvenanceBlobs(e){let r=du.default.join(e.localExportDir,"provenance.json");if(uu.default.existsSync(r))return{[r]:uu.default.readFileSync(r)};let n=uu.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=n.filter(s=>s.isDirectory());if(i.length>0&&i.length===n.length&&i.every(s=>uu.default.existsSync(du.default.join(e.localExportDir,s.name,"provenance.json")))){let s={};for(let a of i){let c=du.default.join(e.localExportDir,a.name,"provenance.json");s[c]=uu.default.readFileSync(c)}return s}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(n=>({name:n.name,digest:n.digest}))}static parseBundle(e){let r=t.parseCertificate(e),n=e.verificationMaterial.tlogEntries,i=n.length>0?n[0].logIndex:void 0;return{payload:(0,VC.bundleToJSON)(e),certificate:r.toString(),tlogID:i}}static parseCertificate(e){let r;switch(e.verificationMaterial.content.$case){case"x509CertificateChain":r=e.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":r=e.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}return new CUe.X509Certificate(r)}async bundleFormatArgs(){return await this.cosign.versionSatisfies(">=3.1.1")?[]:["--new-bundle-format"]}};var aL=class t{static{o(this,"Install")}standalone;githubToken;sigstore;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.sigstore=e?.sigstore||new Sh}async download(e){let r=await t.getDownloadVersion(e.version);D(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);D(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);D(`Install.download vspec: ${i}`);let s=$C.clean(i)||"";if(!$C.valid(s))throw new Error(`Invalid Buildx version "${i}".`);let a=new Yn({htcName:r.key!="official"?`buildx-dl-bin-${r.key}`:"buildx-dl-bin",htcVersion:i,baseCacheDir:Bh.default.join(yt.configDir,".bin"),cacheFile:fu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:e.ghaNoCache}),c=await a.find();if(!e.disableHtc&&c)return O(`Buildx binary found in ${c}`),c;let l=fZ.format(r.downloadURL,i,this.filename(i));O(`Downloading ${l}`);let u=await $o(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&$C.satisfies(i,">=0.31.0-0",{includePrerelease:!0})&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return O(`Cached to ${d}`),d}async build(e,r){let n=await this.vspec(e);D(`Install.build vspec: ${n}`);let i=new Yn({htcName:"buildx-build-bin",htcVersion:n,baseCacheDir:Bh.default.join(yt.configDir,".bin"),cacheFile:fu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:r}),s=await i.find();if(s)return O(`Buildx binary found in ${s}`),s;let a=Bh.default.join(gt.tmpDir(),"buildx-build-cache"),c=await this.buildCommand(e,a),l=await _e.getExecOutput(c.command,c.args,{ignoreReturnCode:!0}).then(d=>{if(d.stderr.length>0&&d.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(d.stderr)}`);return`${a}/buildx`}),u=await i.save(l);return O(`Cached to ${u}`),u}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=Bh.default.join(r,"buildx-bin-standalone");Dd.default.existsSync(n)||Dd.default.mkdirSync(n,{recursive:!0});let i=fu.default.platform()=="win32"?"buildx.exe":"buildx",s=Bh.default.join(n,i);return Dd.default.copyFileSync(e,s),O("Fixing perms"),Dd.default.chmodSync(s,"0755"),Uc(n),O("Added Buildx to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||on.configDir;let n=Bh.default.join(r,"cli-plugins");Dd.default.existsSync(n)||Dd.default.mkdirSync(n,{recursive:!0});let i=fu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",s=Bh.default.join(n,i);return Dd.default.copyFileSync(e,s),O("Fixing perms"),Dd.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.isStandalone()&&n)D("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.isStandalone()&&i)D("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)D("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)D("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--target","binaries","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push(e),await new yt({standalone:s}).getCommand(a)}async isStandalone(){let e=this.standalone??!await on.isAvailable();return D(`Install.isStandalone: ${e}`),e}async verifySignature(e,r){let n=`${r.replace(/\.exe$/,"")}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i;try{i=await $o(n,void 0,this.githubToken),D(`Install.verifySignature bundlePath: ${i}`)}catch(a){if(a.message&&a.message.statusCode===Ps.NotFound){O(`No signature bundle found at ${n}, skipping verification`);return}throw a}let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:/^https:\/\/github\.com\/docker\/(github-builder-experimental|github-builder)\/\.github\/workflows\/bake\.yml.*$/,issuer:"https://token.actions.githubusercontent.com"});O(`Buildx binary signature verified! ${s.tlogID?`${HC}?logIndex=${s.tlogID}`:""}`)}filename(e){let r;switch(fu.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"arm-v"+s:"arm";break}default:{r=fu.default.arch();break}}let n=fu.default.platform()=="win32"?"windows":fu.default.platform(),i=fu.default.platform()=="win32"?".exe":"";return fZ.format("buildx-v%s.%s-%s%s",e,n,r,i)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await fC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${re.trimSuffix(a,".git")}/${i}`,l=re.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r==="lab"&&(r="cloud"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-lab-releases.json"}};default:throw new Error(`Cannot find buildx version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Buildx",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Buildx release ${e.version} in releases JSON`);return i[e.version]}};var jC=class t{static{o(this,"Builder")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async exists(e){let r=await this.buildx.getCommand(["inspect",e]),n=await _e.getExecOutput(r.command,r.args,{ignoreReturnCode:!0,silent:!0}).then(i=>i.stderr.length>0&&i.exitCode!=0?(D(`Builder.exists cmd err: ${i.stderr.trim()}`),!1):i.exitCode==0).catch(i=>(D(`Builder.exists error: ${i}`),!1));return D(`Builder.exists: ${n}`),n}async inspect(e){let r=Object.assign({},process.env,{DEBUG:"1"}),n=["inspect"];e&&n.push(e);let i=await this.buildx.getCommand(n);return await _e.getExecOutput(i.command,i.args,{ignoreReturnCode:!0,silent:!0,env:r}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return t.parseInspect(s.stdout)})}static parseInspect(e){let r={nodes:[]},n,i={},s,a,c;for(let l of e.trim().split(`
`)){let[u,...d]=l.split(":"),f=u.toLowerCase(),h=d.map(p=>p.trim()).join(":");if(u.length!=0)switch(!0){case f=="name":n=void 0,r.name==null?r.name=h:(s&&i.gcPolicy&&(i.gcPolicy.push(s),s=void 0),i.name&&r.nodes.push(i),i={name:h});break;case f=="driver":n=void 0,r.driver=h;break;case f=="last activity":n=void 0,r.lastActivity=new Date(h);break;case f=="endpoint":n=void 0,i.endpoint=h;break;case f=="driver options":n=void 0,i["driver-opts"]=(h.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(p=>p.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case f=="status":n=void 0,i.status=h;break;case f=="buildkit daemon flags":case f=="flags":n=void 0,i["buildkitd-flags"]=h;break;case f=="buildkit version":case f=="buildkit":n=void 0,i.buildkit=h;break;case f=="platforms":{if(n=void 0,!h)break;let p=[];if(h.includes("*"))for(let m of h.split(", "))m.includes("*")&&p.push(m.replace(/\*/g,""));else p=h.split(", ");i.platforms=p.join(",");break}case f=="features":n="features",i.features={};break;case f=="labels":n="label",i.labels={};break;case f=="devices":n="devices",i.devices=i.devices||[];break;case f.startsWith("gc policy rule#"):n="gcpolicy",i.gcPolicy&&s&&(i.gcPolicy.push(s),s=void 0);break;case f.startsWith("file#"):n="file",c=u.split("#")[1],i.files=i.files||{},i.files[c]="";break;default:switch(n&&n!=="devices"&&i.devices&&a&&(i.devices.push(a),a=void 0),n||""){case"features":{i.features=i.features||{},i.features[u.trim()]=!!h;break}case"label":{i.labels=i.labels||{},i.labels[u.trim()]=h;break}case"devices":{switch(f.trim()){case"name":{i.devices&&a&&i.devices.push(a),a={},a.name=h;break}case"on-demand":{a&&h&&(a.onDemand=h=="true");break}case"automatically allowed":{a&&h&&(a.autoAllow=h=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[u.trim()]=h)}break}case"gcpolicy":{switch(i.gcPolicy=i.gcPolicy||[],s=s||{},f.trim()){case"all":{s.all=h=="true";break}case"filters":{h&&(s.filter=h.split(","));break}case"keep duration":{s.keepDuration=h;break}case"keep bytes":{s.keepBytes=h;break}case"reserved space":{s.reservedSpace=h;break}case"max used space":{s.maxUsedSpace=h;break}case"min free space":{s.minFreeSpace=h;break}}break}case"file":{c&&i.files&&(i.files[c].length>0&&(i.files[c]+=`
`),i.files[c]+=l.replace(/^\s>\s?/,""));break}}}}return a&&i.devices&&i.devices.push(a),s&&i.gcPolicy&&i.gcPolicy.push(s),i.name&&r.nodes.push(i),r}};var wUe=N(uc(),1);var cL=N(require("fs"),1);var lL=class{static{o(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!cL.default.existsSync(e))throw new Error(`config file ${e} not found`);e=cL.default.readFileSync(e,{encoding:"utf-8"})}let n=gt.tmpName({tmpdir:gt.tmpDir()});return cL.default.writeFileSync(n,e),n}};var uL=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new lL,this.buildx=e?.buildx||new yt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){ut(r)}return e.buildkit}async getVersionWithinImage(e){return D(`BuildKit.getVersionWithinImage nodeName: ${e}`),on.getExecOutput(["inspect","--format","{{.Config.Image}}",`${yt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return D(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),on.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.exitCode==0&&n.stdout.length>0)return`${r.stdout.trim()} => ${n.stdout.trim()}`;if(n.stderr.length>0)throw new Error(r.stderr.trim());return n.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,n){n||(n=await new jC({buildx:this.buildx}).inspect(e));for(let i of n.nodes){let s=i.buildkit;if(D(`BuildKit.versionSatisfies ${s}: ${r}`),!s)try{s=await this.getVersionWithinImage(i.name||"")}catch{return D(`BuildKit.versionSatisfies ${i.name}: can't get version`),!1}if(D(`BuildKit.versionSatisfies ${i.name}: version ${s}`),n.driver=="docker"&&!s.endsWith("-moby")||!wUe.satisfies(s.replace(/-moby$/,""),r))return!1}return!0}};var dL=class t{static{o(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await on.isAvailable();return D(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(D(`Compose.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(D(`Compose.isAvailable error: ${n}`),!1));return D(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await _e.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse compose version");return r[1]}};var Qd=N(require("fs"),1),hu=N(require("os"),1),WC=N(require("path"),1);var hL=N(uc(),1),hZ=N(require("util"),1);var fL=class t{static{o(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=hL.clean(s)||"";if(!hL.valid(a))throw new Error(`Invalid Compose version "${s}".`);let c=new Yn({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:s,baseCacheDir:WC.default.join(hu.default.homedir(),".bin","docker-compose"),cacheFile:hu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return O(`Compose binary found in ${l}`),l;let u=hZ.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let d=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return O(`Cached to ${f}`),f}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=WC.default.join(r,"compose-bin-standalone");Qd.default.existsSync(n)||Qd.default.mkdirSync(n,{recursive:!0});let i=hu.default.platform()=="win32"?"compose.exe":"compose",s=WC.default.join(n,i);return Qd.default.copyFileSync(e,s),O("Fixing perms"),Qd.default.chmodSync(s,"0755"),Uc(n),O("Added Compose to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||on.configDir;let n=WC.default.join(r,"cli-plugins");Qd.default.existsSync(n)||Qd.default.mkdirSync(n,{recursive:!0});let i=hu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",s=WC.default.join(n,i);return Qd.default.copyFileSync(e,s),O("Fixing perms"),Qd.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async isStandalone(){let e=this.standalone??!await on.isAvailable();return D(`Install.isStandalone: ${e}`),e}filename(){let e;switch(hu.default.arch()){case"x64":{e="x86_64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}case"arm64":{e="aarch64";break}default:{e=hu.default.arch();break}}let r=hu.default.platform()=="win32"?"windows":hu.default.platform(),n=hu.default.platform()=="win32"?".exe":"";return hZ.format("docker-compose-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/compose/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/compose-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-lab-releases.json"}};default:throw new Error(`Cannot find compose version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Compose",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Compose release ${e.version} in releases JSON`);return i[e.version]}};var ex=N(require("fs"),1),Bc=N(require("os"),1),JC=N(require("path"),1);var YC=N(uc(),1),pZ=N(require("util"),1);var IUe=`
# syntax=docker/dockerfile:1
ARG GO_VERSION="1.24"
ARG ALPINE_VERSION="3.22"
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.7.0 AS xx
FROM --platform=$BUILDPLATFORM golang:\${GO_VERSION}-alpine\${ALPINE_VERSION} AS builder-base
COPY --from=xx / /
RUN apk add --no-cache git
ENV GOTOOLCHAIN=auto
ENV CGO_ENABLED=0
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg/mod \\
--mount=type=bind,source=go.mod,target=go.mod \\
--mount=type=bind,source=go.sum,target=go.sum \\
go mod download
FROM builder-base AS version
RUN --mount=type=bind,target=. <<'EOT'
git rev-parse HEAD 2>/dev/null || {
echo >&2 "Failed to get git revision, make sure --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 is set when building from Git directly"
exit 1
}
set -ex
export PKG=sigs.k8s.io BUILDDATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") TREESTATE=$(if ! git diff --no-ext-diff --quiet --exit-code; then echo dirty; else echo clean; fi) VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags) COMMIT=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi);
echo "-X \${PKG}/release-utils/version.gitVersion=\${VERSION} -X \${PKG}/release-utils/version.gitCommit=\${COMMIT} -X \${PKG}/release-utils/version.gitTreeState=\${TREESTATE} -X \${PKG}/release-utils/version.buildDate=\${BUILDDATE}" > /tmp/.ldflags;
echo -n "\${VERSION}" > /tmp/.version;
EOT
FROM builder-base AS builder
ARG TARGETPLATFORM
RUN --mount=type=bind,target=. \\
--mount=type=cache,target=/root/.cache,id=cosign-$TARGETPLATFORM \\
--mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=version \\
--mount=type=cache,target=/go/pkg/mod <<EOT
set -ex
xx-go build -trimpath -ldflags "-s -w $(cat /tmp/.ldflags)" -o /out/cosign ./cmd/cosign
xx-verify --static /out/cosign
EOT
FROM scratch
COPY --from=builder /out /
`;var pL=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new yt,this.sigstore=e?.sigstore||new Sh}async download(e){let r=await t.getDownloadVersion(e.version);D(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);D(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);D(`Install.download vspec: ${i}`);let s=YC.clean(i)||"";if(!YC.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Yn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:JC.default.join(Bc.default.homedir(),".bin"),cacheFile:Bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return O(`Cosign binary found in ${c}`),c;let l=pZ.format(r.downloadURL,i,this.filename());O(`Downloading ${l}`);let u=await $o(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&YC.satisfies(i,">=3.0.1")&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return O(`Cached to ${d}`),d}async build(e,r,n){let i=await this.vspec(e);D(`Install.build vspec: ${i}`);let s=new Yn({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:JC.default.join(Bc.default.homedir(),".bin"),cacheFile:Bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await s.find();if(a)return O(`Cosign binary found in ${a}`),a;let c=JC.default.join(gt.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await _e.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(IUe)}).then(f=>{if(f.stderr.length>0&&f.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(f.stderr)}`);return`${c}/cosign`}),d=await s.save(u,n);return O(`Cached to ${d}`),d}async install(e,r){r=r||gt.tmpDir();let n=JC.default.join(r,"cosign-bin");ex.default.existsSync(n)||ex.default.mkdirSync(n,{recursive:!0});let i=Bc.default.platform()=="win32"?"cosign.exe":"cosign",s=JC.default.join(n,i);return ex.default.copyFileSync(e,s),O("Fixing perms"),ex.default.chmodSync(s,"0755"),Uc(n),O("Added Cosign to PATH"),O(`Binary path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.buildx.isStandalone()&&n)D("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.buildx.isStandalone()&&i)D("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)D("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)D("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new yt({standalone:s}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i=await $o(n,void 0,this.githubToken);D(`Install.verifySignature bundlePath: ${i}`);let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});O(`Cosign binary signature verified! ${s.tlogID?`${HC}?logIndex=${s.tlogID}`:""}`)}filename(){let e;switch(Bc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=Bc.default.arch();break}}let r=Bc.default.platform()=="win32"?"windows":Bc.default.platform(),n=Bc.default.platform()=="win32"?".exe":"";return pZ.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await fC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${re.trimSuffix(a,".git")}/${i}`,l=re.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Cosign",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return i[e.version]}};var SUe=N(uc(),1);var AL=class{static{o(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await _e.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 _e.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 _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Regctl.isAvailable error: ${r}`),!1));return D(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.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 _e.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Regctl.versionSatisfies false: undefined version"),!1;let i=SUe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Regctl.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var tx=N(require("fs"),1),kd=N(require("os"),1),mL=N(require("path"),1);var yL=N(uc(),1),AZ=N(require("util"),1);var gL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=yL.clean(s)||"";if(!yL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Yn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:mL.default.join(kd.default.homedir(),".bin"),cacheFile:kd.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return O(`regctl binary found in ${l}`),l;let u=AZ.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let d=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return O(`Cached to ${f}`),f}async install(e,r){r=r||gt.tmpDir();let n=mL.default.join(r,"regctl-bin");tx.default.existsSync(n)||tx.default.mkdirSync(n,{recursive:!0});let i=kd.default.platform()=="win32"?"regctl.exe":"regctl",s=mL.default.join(n,i);return tx.default.copyFileSync(e,s),O("Fixing perms"),tx.default.chmodSync(s,"0755"),Uc(n),O("Added regctl to PATH"),O(`Binary path: ${s}`),s}filename(){let e;switch(kd.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}default:{e=kd.default.arch();break}}let r=kd.default.platform()=="win32"?"windows":kd.default.platform(),n=kd.default.platform()=="win32"?".exe":"";return AZ.format("regctl-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`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 i=await new Xe({token:r}).releases("regclient",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return i[e.version]}};var BUe=N(uc(),1);var EL=class{static{o(this,"Undock")}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(n=>{r.push(`--include=${n}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await _e.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Undock.isAvailable error: ${r}`),!1));return D(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.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 _e.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Undock.versionSatisfies false: undefined version"),!1;let i=BUe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Undock.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var rx=N(require("fs"),1),xc=N(require("os"),1),nx=N(require("path"),1);var bL=N(uc(),1),mZ=N(require("util"),1);var CL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=bL.clean(s)||"";if(!bL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Yn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:nx.default.join(xc.default.homedir(),".bin"),cacheFile:xc.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return O(`Undock binary found in ${l}`),l;let u=mZ.format(n.downloadURL,s,this.filename(s));O(`Downloading ${u}`);let d=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f;xc.default.platform()=="win32"?f=await nde(d):f=await rde(d),O(`Extracted to ${f}`);let h=nx.default.join(f,xc.default.platform()=="win32"?"undock.exe":"undock");D(`Install.download exePath: ${h}`);let p=await c.save(h);return O(`Cached to ${p}`),p}async install(e,r){r=r||gt.tmpDir();let n=nx.default.join(r,"undock-bin");rx.default.existsSync(n)||rx.default.mkdirSync(n,{recursive:!0});let i=xc.default.platform()=="win32"?"undock.exe":"undock",s=nx.default.join(n,i);return rx.default.copyFileSync(e,s),O("Fixing perms"),rx.default.chmodSync(s,"0755"),Uc(n),O("Added Undock to PATH"),O(`Binary path: ${s}`),s}filename(e){let r;switch(xc.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"armv"+s:"arm";break}default:{r=xc.default.arch();break}}let n=xc.default.platform()=="win32"?"windows":xc.default.platform(),i=xc.default.platform()=="win32"?".zip":".tar.gz";return mZ.format("undock_%s_%s_%s%s",e,n,r,i)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`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 i=await new Xe({token:r}).releases("Undock",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return i[e.version]}};var wL=class{static{o(this,"Toolkit")}github;buildx;buildxBuild;buildxBake;buildxInstall;builder;buildkit;compose;composeInstall;cosign;cosignInstall;regctl;regctlInstall;sigstore;undock;undockInstall;constructor(e={}){this.github=new Xe({token:e.githubToken}),this.buildx=new yt,this.buildxBuild=new jt({buildx:this.buildx}),this.buildxBake=new vP({buildx:this.buildx}),this.buildxInstall=new aL,this.builder=new jC({buildx:this.buildx}),this.buildkit=new uL({buildx:this.buildx}),this.compose=new dL,this.composeInstall=new fL,this.cosign=new zs,this.cosignInstall=new pL({buildx:this.buildx}),this.regctl=new AL,this.regctlInstall=new gL,this.sigstore=new Sh,this.undock=new EL,this.undockInstall=new CL}};var gZ=N(c8(),1);var xUe;async function vUe(){return xUe??=new jt().gitContext(),await xUe}o(vUe,"getDefaultContext");async function NUe(){let t=await vUe();return{"add-hosts":re.getInputList("add-hosts"),allow:re.getInputList("allow"),annotations:re.getInputList("annotations",{ignoreComma:!0}),attests:re.getInputList("attests",{ignoreComma:!0}),"build-args":re.getInputList("build-args",{ignoreComma:!0}),"build-contexts":re.getInputList("build-contexts",{ignoreComma:!0}),builder:li("builder"),"cache-from":re.getInputList("cache-from",{ignoreComma:!0}),"cache-to":re.getInputList("cache-to",{ignoreComma:!0}),call:li("call"),"cgroup-parent":li("cgroup-parent"),context:gZ.compile(li("context"))({defaultContext:t})||t,file:li("file"),labels:re.getInputList("labels",{ignoreComma:!0}),load:ip("load"),network:li("network"),"no-cache":ip("no-cache"),"no-cache-filters":re.getInputList("no-cache-filters"),outputs:re.getInputList("outputs",{ignoreComma:!0,quote:!1}),platforms:re.getInputList("platforms"),provenance:jt.getProvenanceInput("provenance"),pull:ip("pull"),push:ip("push"),sbom:li("sbom"),secrets:re.getInputList("secrets",{ignoreComma:!0,trimWhitespace:!1}),"secret-envs":re.getInputList("secret-envs"),"secret-files":re.getInputList("secret-files",{ignoreComma:!0}),"shm-size":li("shm-size"),ssh:re.getInputList("ssh"),tags:re.getInputList("tags"),target:li("target"),ulimit:re.getInputList("ulimit",{ignoreComma:!0}),"github-token":li("github-token")}}o(NUe,"getInputs");async function _Ue(t,e){return[...await N5t(t,t.context,e),...await _5t(t,e),t.context]}o(_Ue,"getArgs");async function N5t(t,e,r){let n=await vUe(),i=["build"];if(await re.asyncForEach(t["add-hosts"],async s=>{i.push("--add-host",s)}),await re.asyncForEach(t.allow,async s=>{i.push("--allow",s)}),await r.buildx.versionSatisfies(">=0.12.0")?await re.asyncForEach(t.annotations,async s=>{i.push("--annotation",s)}):t.annotations.length>0&&ut("Annotations are only supported by buildx >= 0.12.0; the input 'annotations' is ignored."),await re.asyncForEach(t["build-args"],async s=>{i.push("--build-arg",s)}),await r.buildx.versionSatisfies(">=0.8.0")?await re.asyncForEach(t["build-contexts"],async s=>{i.push("--build-context",gZ.compile(s)({defaultContext:n}))}):t["build-contexts"].length>0&&ut("Build contexts are only supported by buildx >= 0.8.0; the input 'build-contexts' is ignored."),await re.asyncForEach(t["cache-from"],async s=>{i.push("--cache-from",s)}),await re.asyncForEach(t["cache-to"],async s=>{i.push("--cache-to",s)}),t.call){if(!await r.buildx.versionSatisfies(">=0.15.0"))throw new Error("Buildx >= 0.15.0 is required to use the call flag.");i.push("--call",t.call)}return t["cgroup-parent"]&&i.push("--cgroup-parent",t["cgroup-parent"]),await re.asyncForEach(t["secret-envs"],async s=>{try{i.push("--secret",jt.resolveSecretEnv(s))}catch(a){ut(a.message)}}),t.file&&i.push("--file",t.file),!jt.hasLocalExporter(t.outputs)&&!jt.hasTarExporter(t.outputs)&&(t.platforms.length==0||await r.buildx.versionSatisfies(">=0.4.2"))&&i.push("--iidfile",r.buildxBuild.getImageIDFilePath()),await re.asyncForEach(t.labels,async s=>{i.push("--label",s)}),await re.asyncForEach(t["no-cache-filters"],async s=>{i.push("--no-cache-filter",s)}),await re.asyncForEach(t.outputs,async s=>{i.push("--output",s)}),t.platforms.length>0&&i.push("--platform",t.platforms.join(",")),await r.buildx.versionSatisfies(">=0.10.0")?i.push(...await T5t(t,r)):ut("Attestations are only supported by buildx >= 0.10.0; the inputs 'attests', 'provenance' and 'sbom' are ignored."),await re.asyncForEach(t.secrets,async s=>{try{i.push("--secret",jt.resolveSecretString(s))}catch(a){ut(a.message)}}),await re.asyncForEach(t["secret-files"],async s=>{try{i.push("--secret",jt.resolveSecretFile(s))}catch(a){ut(a.message)}}),t["github-token"]&&!jt.hasGitAuthTokenSecret(t.secrets)&&e.startsWith(n)&&i.push("--secret",jt.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(Xe.serverURL).host.trimEnd()}=${t["github-token"]}`)),t["shm-size"]&&i.push("--shm-size",t["shm-size"]),await re.asyncForEach(t.ssh,async s=>{i.push("--ssh",s)}),await re.asyncForEach(t.tags,async s=>{i.push("--tag",s)}),t.target&&i.push("--target",t.target),await re.asyncForEach(t.ulimit,async s=>{i.push("--ulimit",s)}),i}o(N5t,"getBuildArgs");async function _5t(t,e){let r=[];return t.builder&&r.push("--builder",t.builder),t.load&&r.push("--load"),await e.buildx.versionSatisfies(">=0.6.0")&&r.push("--metadata-file",e.buildxBuild.getMetadataFilePath()),t.network&&r.push("--network",t.network),t["no-cache"]&&r.push("--no-cache"),t.pull&&r.push("--pull"),t.push&&r.push("--push"),r}o(_5t,"getCommonArgs");async function T5t(t,e){let r=[],n=!1;await re.asyncForEach(t.attests,async a=>{jt.hasAttestationType("provenance",a)&&(n=!0)});let i=!1,s=!1;return t.provenance?(r.push("--attest",jt.resolveAttestationAttrs(`type=provenance,${t.provenance}`)),i=!0):!n&&!R5t()&&await e.buildkit.versionSatisfies(t.builder,">=0.11.0")&&!jt.hasDockerExporter(t.outputs,t.load)&&(Xe.context.payload.repository?.private??!1?r.push("--attest",`type=provenance,${jt.resolveProvenanceAttrs("mode=min,inline-only=true")}`):r.push("--attest",`type=provenance,${jt.resolveProvenanceAttrs("mode=max")}`)),t.sbom&&(r.push("--attest",jt.resolveAttestationAttrs(`type=sbom,${t.sbom}`)),s=!0),await re.asyncForEach(t.attests,async a=>{!jt.hasAttestationType("provenance",a)&&!jt.hasAttestationType("sbom",a)?r.push("--attest",jt.resolveAttestationAttrs(a)):!i&&jt.hasAttestationType("provenance",a)?r.push("--attest",jt.resolveProvenanceAttrs(a)):!s&&jt.hasAttestationType("sbom",a)&&r.push("--attest",a)}),r}o(T5t,"getAttestArgs");function R5t(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?re.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(R5t,"noDefaultAttestations");var ix=process.env.STATE_tmpDir||"",TUe=process.env.STATE_builderDriver||"",RUe=process.env.STATE_builderEndpoint||"",DUe=process.env.STATE_summaryInputs?JSON.parse(process.env.STATE_summaryInputs):void 0,yZ=process.env.STATE_buildRef||"",QUe=!!process.env.STATE_isSummarySupported;function kUe(t){Ja("tmpDir",t)}o(kUe,"setTmpDir");function PUe(t){Ja("builderDriver",t)}o(PUe,"setBuilderDriver");function OUe(t){Ja("builderEndpoint",t)}o(OUe,"setBuilderEndpoint");function LUe(t){Ja("buildRef",t)}o(LUe,"setBuildRef");function FUe(){Ja("isSummarySupported","true")}o(FUe,"setSummarySupported");function MUe(t){let e={};for(let r of Object.keys(t)){if(r==="github-token")continue;let n=t[r];if(!(typeof n=="boolean"&&!n)){if(Array.isArray(n)){if(n.length===0)continue;if(r==="secrets"&&n.length>0){let i=[];for(let s of n)try{let[a,c]=jt.parseSecretKvp(s,!0);i.push(a)}catch{}i.length>0&&(e[r]=i);continue}}else if(!n)continue;e[r]=n}}Ja("summaryInputs",JSON.stringify(e))}o(MUe,"setSummaryInputs");gCe(async()=>{let t=new Date,e=await NUe();MUe(e),D(`inputs: ${JSON.stringify(e)}`);let r=new wL;if(await kr("GitHub Actions runtime token ACs",async()=>{try{await Xe.printActionsRuntimeTokenACs()}catch(f){ut(f.message)}}),await kr("Docker info",async()=>{try{await on.printVersion(),await on.printInfo()}catch(f){O(f.message)}}),await kr("Proxy configuration",async()=>{let f,h=!1;try{f=await on.configFile()}catch(p){h=!0,ut(`Unable to parse config file ${qUe.join(on.configDir,"config.json")}: ${p}`)}if(f&&f.proxies)for(let p in f.proxies){let m="";Object.keys(f.proxies).length>1&&(m=" ",O(p));for(let g in f.proxies[p])O(`${m}${g}: ${f.proxies[p][g]}`)}else h||O("No proxy configuration found")}),!await r.buildx.isAvailable()){PN("Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.");return}kUe(gt.tmpDir()),await kr("Buildx version",async()=>{await r.buildx.printVersion()});let n;await kr("Builder info",async()=>{n=await r.builder.inspect(e.builder),PUe(n.driver??""),OUe(n.nodes?.[0]?.endpoint??""),O(JSON.stringify(n,null,2))});let i=await _Ue(e,r);D(`context.getArgs: ${JSON.stringify(i)}`);let s=await r.buildx.getCommand(i);D(`buildCmd.command: ${s.command}`),D(`buildCmd.args: ${JSON.stringify(s.args)}`);let a;await _e.getExecOutput(s.command,s.args,{ignoreReturnCode:!0,env:Object.assign({},process.env,{BUILDX_METADATA_WARNINGS:"true"})}).then(f=>{f.exitCode!=0&&(e.call&&e.call==="check"&&f.stdout.length>0?a=new Error(f.stdout.split(`
`)[0]?.trim()):a=new Error(`buildx failed with: ${yt.getErrorMessage(f.stderr)}`))});let c=r.buildxBuild.resolveImageID(),l=r.buildxBuild.resolveMetadata(),u=r.buildxBuild.resolveDigest(l);c&&await kr("ImageID",async()=>{O(c),kN("imageid",c)}),u&&await kr("Digest",async()=>{O(u),kN("digest",u)}),l&&await kr("Metadata",async()=>{let f=JSON.stringify(l,null,2);Xe.printUntrusted(f),kN("metadata",f)});let d;if(await kr("Reference",async()=>{d=await k5t(r,t,e.builder),d?(O(d),LUe(d)):O("No build reference found")}),P5t()){let f=r.buildxBuild.resolveWarnings(l);if(d&&f&&f.length>0){let h=await yt.convertWarningsToGitHubAnnotations(f,[d]);D(`annotations: ${JSON.stringify(h,null,2)}`),h&&h.length>0&&await kr(`Generating GitHub annotations (${h.length} build checks found)`,async()=>{for(let p of h)ut(p.message,p)})}}if(await kr("Check build summary support",async()=>{O5t()?e.call&&e.call!=="build"?O(`Build summary skipped for ${e.call} subrequest`):Xe.isGHES?O("Build summary is not yet supported on GHES"):await r.buildx.versionSatisfies(">=0.23.0")?d?(O("Build summary supported!"),FUe()):O("Build summary requires a build reference"):O("Build summary requires Buildx >= 0.23.0"):O("Build summary disabled")}),a)throw a},async()=>{QUe&&await kr("Generating build summary",async()=>{try{let t=L5t(),e;t&&(e=F5t());let n=await new oQ().export({refs:yZ?[yZ]:[]});O(`Build record written to ${n.dockerbuildFilename} (${re.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await gP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await xP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:DUe,driver:TUe,endpoint:RUe})}catch(t){ut(t.message)}}),ix.length>0&&await kr(`Removing temp folder ${ix}`,async()=>{try{UUe.rmSync(ix,{recursive:!0})}catch{ut(`Failed to remove temp folder ${ix}`)}})});async function k5t(t,e,r){let n=t.buildxBuild.resolveRef();if(n)return n;r||(r=(await t.builder.inspect()).name);let i=yt.refs({dir:yt.refsDir,builderName:r,since:e});return Object.keys(i).length>0?Object.keys(i)[0]:""}o(k5t,"buildRef");function P5t(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?re.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(P5t,"buildChecksAnnotationsEnabled");function O5t(){return process.env.DOCKER_BUILD_SUMMARY?re.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(O5t,"buildSummaryEnabled");function L5t(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?re.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(L5t,"buildRecordUploadEnabled");function F5t(){let t=process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS;if(t){let e=parseInt(t);if(isNaN(e))throw new Error(`Invalid build record retention days: ${t}`);return e}}o(F5t,"buildRecordRetentionDays");
/*! 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
*)
normalize-path/index.js:
(*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*)
archiver/lib/error.js:
archiver/lib/core.js:
(**
* Archiver Core
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*)
crc-32/crc32.js:
(*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com *)
zip-stream/index.js:
(**
* ZipStream
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
* @copyright (c) 2014 Chris Talkington, contributors.
*)
archiver/lib/plugins/zip.js:
(**
* ZIP Format Plugin
*
* @module plugins/zip
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*)
archiver/lib/plugins/tar.js:
(**
* TAR Format Plugin
*
* @module plugins/tar
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*)
archiver/lib/plugins/json.js:
(**
* JSON Format Plugin
*
* @module plugins/json
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*)
archiver/index.js:
(**
* Archiver Vending
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*)
he/he.js:
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
@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 *)
js-yaml/dist/js-yaml.mjs:
(*! js-yaml 5.4.1 https://github.com/nodeca/js-yaml @license MIT *)
*/
//# sourceMappingURL=index.cjs.map