mirror of
https://gh-proxy.com/https://github.com/docker/build-push-action
synced 2026-11-12 15:35:38 +08:00
395 lines
2.4 MiB
Plaintext
Generated
395 lines
2.4 MiB
Plaintext
Generated
var Cqe=Object.create;var _x=Object.defineProperty;var bqe=Object.getOwnPropertyDescriptor;var wqe=Object.getOwnPropertyNames;var Iqe=Object.getPrototypeOf,Sqe=Object.prototype.hasOwnProperty;var o=(t,e)=>_x(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)_x(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&&_x(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?_x(r,"default",{value:t,enumerable:!0}):r,t));var see=A(pm=>{"use strict";var j5t=require("net"),Dqe=require("tls"),QL=require("http"),ree=require("https"),Qqe=require("events"),W5t=require("assert"),kqe=require("util");pm.httpOverHttp=Pqe;pm.httpsOverHttp=Oqe;pm.httpOverHttps=Lqe;pm.httpsOverHttps=Fqe;function Pqe(t){var e=new yu(t);return e.request=QL.request,e}o(Pqe,"httpOverHttp");function Oqe(t){var e=new yu(t);return e.request=QL.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||QL.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=kL({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=kL({},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=kL({},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 kL(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(kL,"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");pm.debug=Ld});var Am=A((K5t,oee)=>{oee.exports=see()});var mr=A((X5t,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((Z5t,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"),PL=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"),OL=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"),LL=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"),FL=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"),ML=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"),UL=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"),qL=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"),kx=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"),GL=class extends kx{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"),HL=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"),VL=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"),zL=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"),$L=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"),jL=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"),WL=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"),JL=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"),YL=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"),KL=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"),XL=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"),ZL=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"),eF=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"),tF=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"),rF=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:kx,HTTPParserError:KL,UndiciError:gr,HeadersTimeoutError:OL,HeadersOverflowError:LL,BodyTimeoutError:FL,RequestContentLengthMismatchError:VL,ConnectTimeoutError:PL,ResponseStatusCodeError:ML,InvalidArgumentError:UL,InvalidReturnValueError:qL,RequestAbortedError:GL,ClientDestroyedError:$L,ClientClosedError:jL,InformationalError:HL,SocketError:WL,NotSupportedError:JL,ResponseContentLengthMismatchError:zL,BalancedPoolMissingUpstreamError:YL,ResponseExceededMaxSizeError:XL,RequestRetryError:ZL,ResponseError:eF,SecureProxyConnectionError:tF,MessageSizeExceededError:rF}});var Ox=A((tzt,Qee)=>{"use strict";var Px={},nF=["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<nF.length;++t){let e=nF[t],r=e.toLowerCase();Px[e]=Px[r]=r}Object.setPrototypeOf(Px,null);Qee.exports={wellknownHeaderNames:nF,headerNameLowerCasedRecord:Px}});var Lee=A((rzt,Oee)=>{"use strict";var{wellknownHeaderNames:kee,headerNameLowerCasedRecord:Mqe}=Ox(),iF=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}},Lx=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new iF(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},Pee=new Lx;for(let t=0;t<kee.length;++t){let e=Mqe[kee[t]];Pee.insert(e,e)}Oee.exports={TernarySearchTree:Lx,tree:Pee}});var at=A((izt,Zee)=>{"use strict";var ob=require("node:assert"),{kDestroyed:Mee,kBodyUsed:mm,kListeners:sF,kBody:Fee}=mr(),{IncomingMessage:Uqe}=require("node:http"),Ux=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}=Ox(),{tree:Uee}=Lee(),[jqe,Wqe]=process.versions.node.split(".").map(t=>Number(t)),Mx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Fee]=e,this[mm]=!1}async*[Symbol.asyncIterator](){ob(!this[mm],"disturbed"),this[mm]=!0,yield*this[Fee]}};function Jqe(t){return qx(t)?(zee(t)===0&&t.on("data",function(){ob(!1)}),typeof t.readableDidRead!="boolean"&&(t[mm]=!1,zqe.prototype.on.call(t,"data",function(){this[mm]=!0})),t):t&&typeof t.pipeTo=="function"?new Mx(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Vee(t)?new Mx(t):t}o(Jqe,"wrapRequestBody");function Yqe(){}o(Yqe,"nop");function qx(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(qx,"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 Fx(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Fx,"isHttpOrHttpsPrefixed");function Hee(t){if(typeof t=="string"){if(t=new URL(t),!Fx(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(!Fx(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(!Fx(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 ob(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;ob(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(qx(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]||Ux.isDestroyed?.(t))}o($ee,"isDestroyed");function n3e(t,e){t==null||!qx(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&&(Ux.isDisturbed(t)||t[mm]))}o(u3e,"isDisturbed");function d3e(t){return!!(t&&Ux.isErrored(t))}o(d3e,"isErrored");function f3e(t){return!!(t&&Ux.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[sF]??=[]).push([e,r]),t.on(e,r),t}o(S3e,"addListener");function B3e(t){for(let[e,r]of t[sF]??[])t.removeListener(e,r);t[sF]=null}o(B3e,"removeAllListeners");function x3e(t,e,r){try{e.onError(r),ob(e.aborted)}catch(n){t.emit("error",n)}}o(x3e,"errorRequest");var Kee=Object.create(null);Kee.enumerable=!0;var oF={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={...oF,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(oF,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:qx,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:oF,normalizedMethodRecords:Xee,isValidPort:Gee,isHttpOrHttpsPrefixed:Fx,nodeMajor:jqe,nodeMinor:Wqe,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:Jqe}});var gm=A((ozt,tte)=>{"use strict";var Ut=require("node:diagnostics_channel"),cF=require("node:util"),Gx=cF.debuglog("undici"),aF=cF.debuglog("fetch"),Th=cF.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(Gx.enabled||aF.enabled){let t=aF.enabled?aF:Gx;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=Gx.enabled?Gx: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((azt,ite)=>{"use strict";var{InvalidArgumentError:Vt,NotSupportedError:N3e}=Rt(),Eu=require("node:assert"),{isValidHTTPToken:nte,isValidHeaderValue:ab,isStream:_3e,destroy:T3e,isBuffer:R3e,isFormDataLike:D3e,isIterable:Q3e,isBlobLike:k3e,buildURL:P3e,validateHandler:O3e,getServerName:L3e,normalizedMethodRecords:F3e}=at(),{channels:Nc}=gm(),{headerNameLowerCasedRecord:rte}=Ox(),M3e=/[^\u0021-\u00ff]/,Oo=Symbol("handler"),lF=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&&!ab(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)Hx(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");Hx(this,y[0],y[1])}else{let y=Object.keys(s);for(let C=0;C<y.length;++C)Hx(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 Hx(this,e,r),this}};function Hx(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(!ab(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(!ab(a))throw new Vt(`invalid ${e} header`);i.push(a)}}r=i}else if(typeof r=="string"){if(!ab(r))throw new Vt(`invalid ${e} header`)}else if(r===null)r="";else if(r=`${r}`,!ab(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(Hx,"processHeader");ite.exports=lF});var cb=A((lzt,ote)=>{"use strict";var U3e=require("node:events"),Vx=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 uF(this,n)}},uF=class extends Vx{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=Vx});var bm=A((dzt,ate)=>{"use strict";var q3e=cb(),{ClientDestroyedError:dF,ClientClosedError:G3e,InvalidArgumentError:ym}=Rt(),{kDestroy:H3e,kClose:V3e,kClosed:lb,kDestroyed:Em,kDispatch:fF,kInterceptors:Rh}=mr(),Cu=Symbol("onDestroyed"),Cm=Symbol("onClosed"),zx=Symbol("Intercepted Dispatch"),hF=Symbol("webSocketOptions"),pF=class extends q3e{static{o(this,"DispatcherBase")}constructor(e){super(),this[Em]=!1,this[Cu]=null,this[lb]=!1,this[Cm]=[],this[hF]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[hF].maxFragments??131072,maxPayloadSize:this[hF].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Em]}get closed(){return this[lb]}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 ym("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 ym("invalid callback");if(this[Em]){queueMicrotask(()=>e(new dF,null));return}if(this[lb]){this[Cm]?this[Cm].push(e):queueMicrotask(()=>e(null,null));return}this[lb]=!0,this[Cm].push(e);let r=o(()=>{let n=this[Cm];this[Cm]=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 ym("invalid callback");if(this[Em]){this[Cu]?this[Cu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new dF),this[Em]=!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)})}[zx](e,r){if(!this[Rh]||this[Rh].length===0)return this[zx]=this[fF],this[fF](e,r);let n=this[fF].bind(this);for(let i=this[Rh].length-1;i>=0;i--)n=this[Rh][i](n);return this[zx]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new ym("handler must be an object");try{if(!e||typeof e!="object")throw new ym("opts must be an object.");if(this[Em]||this[Cu])throw new dF;if(this[lb])throw new G3e;return this[zx](e,r)}catch(n){if(typeof r.onError!="function")throw new ym("invalid onError method");return r.onError(n),!1}}};ate.exports=pF});var bF=A((hzt,dte)=>{"use strict";var wm=0,AF=1e3,mF=(AF>>1)-1,bu,gF=Symbol("kFastTimer"),wu=[],yF=-2,EF=-1,lte=0,cte=1;function CF(){wm+=mF;let t=0,e=wu.length;for(;t<e;){let r=wu[t];r._state===lte?(r._idleStart=wm-mF,r._state=cte):r._state===cte&&wm>=r._idleStart+r._idleTimeout&&(r._state=EF,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===EF?(r._state=yF,--e!==0&&(wu[t]=wu[e])):++t}wu.length=e,wu.length!==0&&ute()}o(CF,"onTick");function ute(){bu?bu.refresh():(clearTimeout(bu),bu=setTimeout(CF,mF),bu.unref&&bu.unref())}o(ute,"refreshTimeout");var $x=class{static{o(this,"FastTimer")}[gF]=!0;_state=yF;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===yF&&wu.push(this),(!bu||wu.length===1)&&ute(),this._state=lte}clear(){this._state=EF,this._idleStart=-1}};dte.exports={setTimeout(t,e,r){return e<=AF?setTimeout(t,e,r):new $x(t,e,r)},clearTimeout(t){t[gF]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new $x(t,e,r)},clearFastTimeout(t){t.clear()},now(){return wm},tick(t=0){wm+=t-AF+1,CF(),CF()},reset(){wm=0,wu.length=0,clearTimeout(bu),bu=null},kFastTimer:gF}});var ub=A((gzt,mte)=>{"use strict";var z3e=require("node:net"),fte=require("node:assert"),Ate=at(),{InvalidArgumentError:$3e,ConnectTimeoutError:j3e}=Rt(),jx=bF();function hte(){}o(hte,"noop");var wF,IF;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?IF=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))}}:IF=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 IF(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:"){wF||(wF=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=wF.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=jx.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>pte(t.deref(),e))})},e.timeout);return()=>{jx.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return hte;let r=null,n=jx.setFastTimeout(()=>{r=setImmediate(()=>{pte(t.deref(),e)})},e.timeout);return()=>{jx.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(Wx=>{"use strict";Object.defineProperty(Wx,"__esModule",{value:!0});Wx.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");Wx.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 Im;(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"})(Im=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:Im.CONNECTION,"content-length":Im.CONTENT_LENGTH,"proxy-connection":Im.CONNECTION,"transfer-encoding":Im.TRANSFER_ENCODING,upgrade:Im.UPGRADE}});var SF=A((wzt,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((Izt,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 db=A((Szt,_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 xF=A((Bzt,Tte)=>{"use strict";var BF=Symbol.for("undici.globalOrigin.1");function EGe(){return globalThis[BF]}o(EGe,"getGlobalOrigin");function CGe(t){if(t===void 0){Object.defineProperty(globalThis,BF,{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,BF,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(CGe,"setGlobalOrigin");Tte.exports={getGlobalOrigin:EGe,setGlobalOrigin:CGe}});var gs=A((vzt,Lte)=>{"use strict";var Yx=require("node:assert"),bGe=new TextEncoder,fb=/^[!#$%&'*+\-.^_|~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){Yx(t.protocol==="data:");let e=Qte(t,!0);e=e.slice(5);let r={position:0},n=Sm(",",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=vF(n);return c==="failure"&&(c=vF("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 Kx(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(Kx,"collectASequenceOfCodePoints");function Sm(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(Sm,"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 vF(t){t=Jx(t,!0,!0);let e={position:0},r=Sm("/",t,e);if(r.length===0||!fb.test(r)||e.position>t.length)return"failure";e.position++;let n=Sm(";",t,e);if(n=Jx(n,!1,!0),n.length===0||!fb.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++,Kx(u=>wGe.test(u),t,e);let c=Kx(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),Sm(";",t,e);else if(l=Sm(";",t,e),l=Jx(l,!1,!0),l.length===0)continue;c.length!==0&&fb.test(c)&&(l.length===0||SGe.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(vF,"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(Yx(t[e.position]==='"'),e.position++;i+=Kx(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{Yx(s==='"');break}}return r?i:t.slice(n,e.position)}o(Pte,"collectAnHTTPQuotedString");function NGe(t){Yx(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",fb.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 Jx(t,e=!0,r=!0){return NF(t,e,r,_Ge)}o(Jx,"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 NF(t,e,r,TGe)}o(RGe,"removeASCIIWhitespace");function NF(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(NF,"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:Kx,collectASequenceOfCodePointsFast:Sm,stringPercentDecode:kte,parseMIMEType:vF,collectAnHTTPQuotedString:Pte,serializeAMimeType:NGe,removeChars:NF,removeHTTPWhitespace:Jx,minimizeSupportedMimeType:DGe,HTTP_TOKEN_CODEPOINTS:fb,isomorphicDecode:Ote}});var ai=A((_zt,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((Tzt,Xte)=>{"use strict";var{Transform:OGe}=require("node:stream"),Mte=require("node:zlib"),{redirectStatusSet:LGe,referrerPolicySet:FGe,badPortsSet:MGe}=db(),{getGlobalOrigin:Ute}=xF(),{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:hb}=ai(),Gte=[],Zx;try{Zx=require("node:crypto");let t=["sha256","sha384","sha512"];Gte=Zx.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 Ab(t){return t.urlList[t.urlList.length-1]}o(Ab,"requestCurrentURL");function YGe(t){let e=Ab(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&&TF(t.origin)&&!TF(Ab(t))&&(e=null);break;case"same-origin":ev(t,Ab(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(sHe,"appendRequestOriginHeader");function Bm(t,e){return t}o(Bm,"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:Bm(t.domainLookupStartTime,r),domainLookupEndTime:Bm(t.domainLookupEndTime,r),connectionStartTime:Bm(t.connectionStartTime,r),connectionEndTime:Bm(t.connectionEndTime,r),secureConnectionStartTime:Bm(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(oHe,"clampAndCoarsenConnectionTimingInfo");function aHe(t){return Bm(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=_F(r),i=_F(r,!0);n.toString().length>4096&&(n=i);let s=ev(t,n),a=pb(n)&&!pb(t.url);switch(e){case"origin":return i??_F(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=Ab(t);return ev(n,c)?n:pb(n)&&!pb(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(uHe,"determineRequestsReferrer");function _F(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(_F,"stripURLForReferrer");function pb(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(pb,"isURLPotentiallyTrustworthy");function dHe(t,e){if(Zx===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=Zx.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 ev(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(ev,"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 hb.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hb.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hb.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(hb.brandCheck(this,e),hb.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 Xx(t){return Qh(!vHe.test(t)),t}o(Xx,"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 TF(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(TF,"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+=Xx(`${t}`),n+="-",n+=Xx(`${e}`),n+="/",n+=Xx(`${r}`),n}o(THe,"buildContentRange");var RF=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 RF(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 DF=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return Ute()}get origin(){return this.baseUrl?.origin}policyContainer=$te()},QF=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new DF},OHe=new QF;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:Ab,responseURL:Hte,responseLocationURL:WGe,isBlobLike:VGe,isURLPotentiallyTrustworthy:pb,isValidReasonPhrase:XGe,sameOrigin:ev,normalizeMethod:CHe,serializeJavascriptValueToJSONString:bHe,iteratorMixin:IHe,createIterator:Wte,isValidHeaderName:ZGe,isValidHeaderValue:zte,isErrorLike:KGe,fullyReadBody:SHe,bytesMatch:dHe,isReadableStreamLike:BHe,readableStreamClose:xHe,isomorphicEncode:Xx,urlIsLocal:NHe,urlHasHttpsScheme:TF,urlIsHttpHttpsScheme:Yte,readAllBytes:Jte,simpleRangeHeaderValue:_He,buildContentRange:THe,parseMetadata:jte,createInflate:RHe,extractMimeType:DHe,getDecodeSplit:Kte,utf8DecodeBytes:PHe,environmentSettingsObject:OHe}});var Fd=A((Dzt,Zte)=>{"use strict";Zte.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var PF=A((Qzt,ere)=>{"use strict";var{Blob:LHe,File:FHe}=require("node:buffer"),{kState:Iu}=Fd(),{webidl:Tc}=ai(),kF=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:kF,isFileLike:MHe}});var gb=A((Pzt,sre)=>{"use strict";var{isBlobLike:tv,iteratorMixin:UHe}=js(),{kState:qi}=Fd(),{kEnumerableProperty:xm}=at(),{FileLike:tre,isFileLike:qHe}=PF(),{webidl:Xt}=ai(),{File:ire}=require("node:buffer"),rre=require("node:util"),nre=globalThis.File??ire,mb=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&&!tv(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=tv(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=OF(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&&!tv(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=tv(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=OF(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",mb,qi,"name","value");Object.defineProperties(mb.prototype,{append:xm,delete:xm,get:xm,getAll:xm,has:xm,set:xm,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function OF(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(OF,"makeEntry");sre.exports={FormData:mb,makeEntry:OF}});var dre=A((Lzt,ure)=>{"use strict";var{isUSVString:ore,bufferToLowerCasedHeaderName:GHe}=at(),{utf8DecodeBytes:HHe}=js(),{HTTP_TOKEN_CODEPOINTS:VHe,isomorphicDecode:are}=gs(),{isFileLike:zHe}=PF(),{makeEntry:$He}=gb(),rv=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){rv(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&&nv(t,YHe,s)||s.position===t.length-4&&nv(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)),rv(ore(l)),rv(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=vm(c=>c!==10&&c!==13&&c!==58,t,e);if(a=LF(a,!0,!0,c=>c===9||c===32),!VHe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,vm(c=>c===32||c===9,t,e),GHe(a)){case"content-disposition":{if(r=n=null,!nv(t,JHe,e)||(e.position+=17,r=lre(t,e),r===null))return"failure";if(nv(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=vm(l=>l!==10&&l!==13,t,e);c=LF(c,!1,!0,l=>l===9||l===32),i=are(c);break}case"content-transfer-encoding":{let c=vm(l=>l!==10&&l!==13,t,e);c=LF(c,!1,!0,l=>l===9||l===32),s=are(c);break}default:vm(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){rv(t[e.position-1]===34);let r=vm(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 vm(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(vm,"collectASequenceOfBytes");function LF(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(LF,"removeChars");function nv(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(nv,"bufferStartsWith");ure.exports={multipartFormDataParser:e4e,validateBoundary:ZHe}});var Tm=A((Mzt,bre)=>{"use strict";var yb=at(),{ReadableStreamFrom:r4e,isBlobLike:fre,isReadableStreamLike:n4e,readableStreamClose:i4e,createDeferredPromise:s4e,fullyReadBody:o4e,extractMimeType:a4e,utf8DecodeBytes:Are}=js(),{FormData:hre}=gb(),{kState:_m}=Fd(),{webidl:c4e}=ai(),{Blob:l4e}=require("node:buffer"),FF=require("node:assert"),{isErrored:mre,isDisturbed:u4e}=require("node:stream"),{isArrayBuffer:d4e}=require("node:util/types"),{serializeAMimeType:f4e}=gs(),{multipartFormDataParser:h4e}=dre(),MF;try{let t=require("node:crypto");MF=o(e=>t.randomInt(0,e),"random")}catch{MF=o(t=>Math.floor(Math.random(t)),"random")}var iv=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"?iv.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>i4e(l))},start(){},type:"bytes"}),FF(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(yb.isFormDataLike(t)){let l=`----formdata-undici-0${`${MF(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=iv.encode(u+`; name="${d(f(E))}"\r
|
|
\r
|
|
${f(y)}\r
|
|
`);h.push(C),s+=C.byteLength}else{let C=iv.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=iv.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(yb.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"||yb.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&&(FF(!yb.isDisturbed(t),"The body has already been consumed."),FF(!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 Nm(this,r=>{let n=pre(this);return n===null?n="":n&&(n=f4e(n)),new l4e([r],{type:n})},t)},arrayBuffer(){return Nm(this,r=>new Uint8Array(r).buffer,t)},text(){return Nm(this,Are,t)},json(){return Nm(this,C4e,t)},formData(){return Nm(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[_m]=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 Nm(this,r=>new Uint8Array(r),t)}}}o(y4e,"bodyMixinMethods");function E4e(t){Object.assign(t.prototype,y4e(t))}o(E4e,"mixinBody");async function Nm(t,e,r){if(c4e.brandCheck(t,r),Cre(t))throw new TypeError("Body is unusable: Body has already been read");g4e(t[_m]);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[_m].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await o4e(t[_m].body,s,i),n.promise)}o(Nm,"consumeBody");function Cre(t){let e=t[_m].body;return e!=null&&(e.stream.locked||yb.isDisturbed(e.stream))}o(Cre,"bodyUnusable");function C4e(t){return JSON.parse(Are(t))}o(C4e,"parseJSONFromBytes");function pre(t){let e=t[_m].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((qzt,Ore)=>{"use strict";var Te=require("node:assert"),ke=at(),{channels:wre}=gm(),UF=bF(),{RequestContentLengthMismatchError:kh,ResponseContentLengthMismatchError:Ire,RequestAbortedError:Rre,InvalidArgumentError:b4e,HeadersTimeoutError:w4e,HeadersOverflowError:I4e,SocketError:Rm,InformationalError:Dm,BodyTimeoutError:S4e,HTTPParserError:B4e,ResponseExceededMaxSizeError:x4e}=Rt(),{kUrl:Dre,kReset:ys,kClient:cv,kParser:rr,kBlocking:bb,kRunning:An,kPending:Qre,kSize:Sre,kWriting:Md,kQueue:Ma,kNoRef:Eb,kKeepAliveDefaultTimeout:v4e,kHostHeader:N4e,kPendingIdx:_4e,kRunningIdx:Lo,kError:Gi,kPipelining:lv,kSocket:Oh,kKeepAliveTimeoutValue:dv,kMaxHeadersSize:qF,kKeepAliveMaxTimeout:T4e,kKeepAliveTimeoutThreshold:R4e,kHeadersTimeout:D4e,kBodyTimeout:Q4e,kStrictContentLength:VF,kMaxRequests:Bre,kCounter:k4e,kMaxResponseSize:P4e,kOnError:xre,kResume:Su,kHTTPContext:kre}=mr(),Ws=yte(),vre=Buffer.alloc(0),sv=Buffer[Symbol.species],ov=ke.addListener,O4e=ke.removeAllListeners,Lh=Symbol("kIdleSocketValidation"),Ph=Symbol("kIdleSocketValidationTimeout"),WF=Symbol("kSocketUsed"),GF;async function L4e(){let t=process.env.JEST_WORKER_ID?SF():void 0,e;try{e=await WebAssembly.compile(bte())}catch{e=await WebAssembly.compile(t||SF())}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 sv(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 sv(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 sv(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 sv(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 HF=null,zF=L4e();zF.catch();var Qr=null,Rc=null,av=0,Dc=null,F4e=0,Cb=1,Qm=2|Cb,uv=4|Cb,$F=8|F4e,jF=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Te(Number.isFinite(e[qF])&&e[qF]>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[qF],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&Cb^this.timeoutType&Cb?(this.timeout&&(UF.clearTimeout(this.timeout),this.timeout=null),e&&(r&Cb?this.timeout=UF.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===uv),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>av&&(Dc&&n.free(Dc),av=Math.ceil(e.length/4096)*4096,Dc=n.malloc(av)),new Uint8Array(n.memory.buffer,Dc,av).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&&UF.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 Rm("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[cv]=null,i[Gi]=null,O4e(i),n[Oh]=null,n[kre]=null,n[Ma][n[Lo]++]=null,n.emit("disconnect",n[Dre],[n],new Dm("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 Rm("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 Rm("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new Rm("bad upgrade",ke.getSocketInfo(s))),-1;if(Te(this.timeoutType===Qm),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,uv)}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[lv]){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[dv]=f}else i[dv]=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[bb]&&(s[bb]=!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===uv),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[WF]=!0,r[Md])return Te(e[An]===0),ke.destroy(r,new Dm("reset")),Ws.ERROR.PAUSED;if(l){if(r[ys]&&e[An]===0)return ke.destroy(r,new Dm("reset")),Ws.ERROR.PAUSED;e[lv]==null||e[lv]===1?setImmediate(()=>e[Su]()):e[Su]()}else return ke.destroy(r,new Dm("reset")),Ws.ERROR.PAUSED}}};function Nre(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Qm?(!e[Md]||e.writableNeedDrain||n[An]>1)&&(Te(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new w4e)):r===uv?i||ke.destroy(e,new S4e):r===$F&&(Te(n[An]===0&&n[dv]),ke.destroy(e,new Dm("socket idle timeout")))}o(Nre,"onParserTimeout");async function M4e(t,e){t[Oh]=e,HF||(HF=await zF,zF=null),e[Eb]=!1,e[Md]=!1,e[ys]=!1,e[bb]=!1,e[Lh]=0,e[Ph]=null,e[WF]=!1,e[rr]=new jF(t,e,HF),ov(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[cv][xre](s));return}this[Gi]=n,this[cv][xre](n)}),ov(e,"readable",function(){let n=this[rr];n&&n.readMore()}),ov(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 Rm("other side closed",ke.getSocketInfo(this)))}),ov(e,"close",function(){let n=this[cv],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 Rm("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[bb]||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[Eb]&&e.unref&&(e.unref(),e[Eb]=!0):e[Eb]&&e.ref&&(e.ref(),e[Eb]=!1),t[An]===0&&t[Qre]>0&&e[WF]){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!==$F&&e[rr].setTimeout(t[dv],$F);else if(t[An]>0&&e[rr].statusCode<200&&e[rr].timeoutType!==Qm){let r=t[Ma][t[Lo]],n=r.headersTimeout!=null?r.headersTimeout:t[D4e];e[rr].setTimeout(n,Qm)}}}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)){GF||(GF=Tm().extractBody);let[E,y]=GF(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[VF])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 Dm("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[bb]=!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[lv]&&!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 fv({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 fv({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 fv=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[VF])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===Qm&&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[VF])throw new kh;process.emitWarning(new kh)}e[rr].timeout&&e[rr].timeoutType===Qm&&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((Hzt,Vre)=>{"use strict";var Fo=require("node:assert"),{pipeline:$4e}=require("node:stream"),At=at(),{RequestContentLengthMismatchError:JF,RequestAbortedError:Fre,SocketError:wb,InformationalError:YF}=Rt(),{kUrl:hv,kReset:Av,kClient:km,kRunning:mv,kPending:j4e,kQueue:Ud,kPendingIdx:KF,kRunningIdx:Ua,kError:Ga,kSocket:Gn,kStrictContentLength:W4e,kOnError:XF,kMaxConcurrentStreams:Hre,kHTTP2Session:qa,kResume:qd,kSize:J4e,kHTTPContext:Y4e}=mr(),Bu=Symbol("open streams"),Mre,Ure=!1,pv;try{pv=require("node:http2")}catch{pv={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}}=pv;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=pv.connect(t[hv],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[Hre]});r[Bu]=0,r[km]=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{[km]:i}=this,{[Gn]:s}=i,a=this[Gn][Ga]||this[Ga]||new wb("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[km][XF](i)}),At.addListener(e,"end",function(){At.destroy(this,new wb("other side closed",At.getSocketInfo(this)))}),At.addListener(e,"close",function(){let i=this[Ga]||new wb("closed",At.getSocketInfo(this));t[Gn]=null,this[qa]!=null&&this[qa].destroy(i),t[KF]=t[Ua],Fo(t[mv]===0),t.emit("disconnect",t[hv],[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[km][XF](t)}o(aVe,"onHttp2SessionError");function cVe(t,e,r){if(r===0){let n=new YF(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gn][Ga]=n,this[km][XF](n)}}o(cVe,"onHttp2FrameError");function lVe(){let t=new wb("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 wb(`HTTP/2: "GOAWAY" frame received with code ${t}`,At.getSocketInfo(this)),r=this[km];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[KF]=r[Ua]}Fo(r[mv]===0),r.emit("disconnect",r[hv],[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[hv];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??=Tm().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 JF),!1;process.emitWarning(new JF)}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 YF("HTTP/2: stream half-closed (remote)")),t[Ud][t[Ua]++]=null,t[KF]=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 YF(`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[Av]=!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[mv]===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[Av]=!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 JF;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[Av]=!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[mv]===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[Av]=!0),n[qd]()}catch(f){t(f)}finally{e.off("close",u).off("drain",u)}}o(Gre,"writeIterable");Vre.exports=sVe});var yv=A((zzt,Wre)=>{"use strict";var Qc=at(),{kBodyUsed:Ib}=mr(),eM=require("node:assert"),{InvalidArgumentError:AVe}=Rt(),mVe=require("node:events"),gVe=[300,301,302,303,307,308],$re=Symbol("body"),gv=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[$re]=e,this[Ib]=!1}async*[Symbol.asyncIterator](){eM(!this[Ib],"disturbed"),this[Ib]=!0,yield*this[$re]}},ZF=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(){eM(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Ib]=!1,mVe.prototype.on.call(this.opts.body,"data",function(){this[Ib]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new gv(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 gv(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 eM(t==null,"headers must be an object or an array");return n}o(EVe,"cleanRequestHeaders");Wre.exports=ZF});var Ev=A((jzt,Jre)=>{"use strict";var CVe=yv();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 Lm=A((Jzt,sne)=>{"use strict";var xu=require("node:assert"),tne=require("node:net"),wVe=require("node:http"),Fh=at(),{channels:Pm}=gm(),IVe=ste(),SVe=bm(),{InvalidArgumentError:Yr,InformationalError:BVe,ClientDestroyedError:xVe}=Rt(),vVe=ub(),{kUrl:kc,kServerName:Gd,kClient:NVe,kBusy:tM,kConnect:_Ve,kResuming:Mh,kRunning:Nb,kPending:_b,kSize:vb,kQueue:Ha,kConnected:TVe,kConnecting:Om,kNeedDrain:Vd,kKeepAliveDefaultTimeout:Yre,kHostHeader:RVe,kPendingIdx:Va,kRunningIdx:vu,kError:DVe,kPipelining:Cv,kKeepAliveTimeoutValue:QVe,kMaxHeadersSize:kVe,kKeepAliveMaxTimeout:PVe,kKeepAliveTimeoutThreshold:OVe,kHeadersTimeout:LVe,kBodyTimeout:FVe,kStrictContentLength:MVe,kConnector:Sb,kMaxRedirections:UVe,kMaxRequests:rM,kCounter:qVe,kClose:GVe,kDestroy:HVe,kDispatch:VVe,kInterceptors:Kre,kLocalAddress:Bb,kMaxResponseSize:zVe,kOnError:$Ve,kHTTPContext:Kr,kMaxConcurrentStreams:jVe,kResume:xb}=mr(),WVe=Lre(),JVe=zre(),Xre=!1,Hd=Symbol("kClosedResolve"),Zre=o(()=>{},"noop");function rne(t){return t[Cv]??t[Kr]?.defaultPipelining??1}o(rne,"getPipelining");var nM=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[Sb]=Q,this[Cv]=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[Bb]=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[rM]=q,this[Hd]=null,this[zVe]=$>-1?$:-1,this[jVe]=V??100,this[Kr]=null,this[Ha]=[],this[vu]=0,this[Va]=0,this[xb]=ae=>iM(this,ae),this[$Ve]=ae=>nne(this,ae)}get pipelining(){return this[Cv]}set pipelining(e){this[Cv]=e,this[xb](!0)}get[_b](){return this[Ha].length-this[Va]}get[Nb](){return this[Va]-this[vu]}get[vb](){return this[Ha].length-this[vu]}get[TVe](){return!!this[Kr]&&!this[Om]&&!this[Kr].destroyed}get[tM](){return!!(this[Kr]?.busy(null)||this[vb]>=(rne(this)||1)||this[_b]>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(()=>iM(this))):this[xb](!0)),this[Mh]&&this[Vd]!==2&&this[tM]&&(this[Vd]=2),this[Vd]<2}async[GVe](){return new Promise(e=>{this[vb]?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[xb]()})}},YVe=Ev();function nne(t,e){if(t[Nb]===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[vb]===0)}}o(nne,"onError");async function ine(t){xu(!t[Om]),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[Om]=!0,Pm.beforeConnect.hasSubscribers&&Pm.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[Bb]},connector:t[Sb]});try{let s=await new Promise((a,c)=>{t[Sb]({host:e,hostname:r,protocol:n,port:i,servername:t[Gd],localAddress:t[Bb]},(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[Om]=!1,s[qVe]=0,s[rM]=t[rM],s[NVe]=t,s[DVe]=null,Pm.connected.hasSubscribers&&Pm.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[Bb]},connector:t[Sb],socket:s}),t.emit("connect",t[kc],[t])}catch(s){if(t.destroyed)return;if(t[Om]=!1,Pm.connectError.hasSubscribers&&Pm.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Gd],localAddress:t[Bb]},connector:t[Sb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(xu(t[Nb]===0);t[_b]>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[xb]()}o(ine,"connect");function ene(t){t[Vd]=0,t.emit("drain",t[kc],[t])}o(ene,"emitDrain");function iM(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(iM,"resume");function KVe(t,e){for(;;){if(t.destroyed){xu(t[_b]===0);return}if(t[Hd]&&!t[vb]){t[Hd](),t[Hd]=null;return}if(t[Kr]&&t[Kr].resume(),t[tM])t[Vd]=2;else if(t[Vd]===2){e?(t[Vd]=1,queueMicrotask(()=>ene(t))):ene(t);continue}if(t[_b]===0||t[Nb]>=(rne(t)||1))return;let r=t[Ha][t[Va]];if(t[kc].protocol==="https:"&&t[Gd]!==r.servername){if(t[Nb]>0)return;t[Gd]=r.servername,t[Kr]?.destroy(new BVe("servername changed"),()=>{t[Kr]=null,iM(t)})}if(t[Om])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=nM});var sM=A((Xzt,one)=>{"use strict";var bv=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 bv}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new bv),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((e$t,ane)=>{var{kFree:XVe,kConnected:ZVe,kPending:e5e,kQueued:t5e,kRunning:r5e,kSize:n5e}=mr(),Uh=Symbol("pool"),oM=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=oM});var fM=A((r$t,yne)=>{"use strict";var i5e=bm(),s5e=sM(),{kConnected:aM,kSize:lne,kRunning:une,kPending:dne,kQueued:Tb,kBusy:o5e,kFree:a5e,kUrl:c5e,kClose:l5e,kDestroy:u5e,kDispatch:d5e}=mr(),f5e=cne(),Es=Symbol("clients"),Hi=Symbol("needDrain"),Rb=Symbol("queue"),cM=Symbol("closed resolve"),lM=Symbol("onDrain"),fne=Symbol("onConnect"),hne=Symbol("onDisconnect"),pne=Symbol("onConnectionError"),uM=Symbol("get dispatcher"),mne=Symbol("add client"),gne=Symbol("remove client"),Ane=Symbol("stats"),dM=class extends i5e{static{o(this,"PoolBase")}constructor(e){super(e),this[Rb]=new s5e,this[Es]=[],this[Tb]=0;let r=this;this[lM]=o(function(i,s){let a=r[Rb],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[Tb]--,c=!this.dispatch(l.opts,l.handler)}this[Hi]=c,!this[Hi]&&r[Hi]&&(r[Hi]=!1,r.emit("drain",i,[r,...s])),r[cM]&&a.isEmpty()&&Promise.all(r[Es].map(l=>l.close())).then(r[cM])},"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[aM](){return this[Es].filter(e=>e[aM]).length}get[a5e](){return this[Es].filter(e=>e[aM]&&!e[Hi]).length}get[dne](){let e=this[Tb];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[Tb];for(let{[lne]:r}of this[Es])e+=r;return e}get stats(){return this[Ane]}async[l5e](){this[Rb].isEmpty()?await Promise.all(this[Es].map(e=>e.close())):await new Promise(e=>{this[cM]=e})}async[u5e](e){for(;;){let r=this[Rb].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Es].map(r=>r.destroy(e)))}[d5e](e,r){let n=this[uM]();return n?n.dispatch(e,r)||(n[Hi]=!0,this[Hi]=!this[uM]()):(this[Hi]=!0,this[Rb].push({opts:e,handler:r}),this[Tb]++),!this[Hi]}[mne](e){return e.on("drain",this[lM]).on("connect",this[fne]).on("disconnect",this[hne]).on("connectionError",this[pne]),this[Es].push(e),this[Hi]&&queueMicrotask(()=>{this[Hi]&&this[lM](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:dM,kClients:Es,kNeedDrain:Hi,kAddClient:mne,kRemoveClient:gne,kGetDispatcher:uM}});var Fm=A((i$t,wne)=>{"use strict";var{PoolBase:h5e,kClients:wv,kNeedDrain:p5e,kAddClient:A5e,kGetDispatcher:m5e}=fM(),g5e=Lm(),{InvalidArgumentError:hM}=Rt(),Ene=at(),{kUrl:Cne,kInterceptors:y5e}=mr(),E5e=ub(),pM=Symbol("options"),AM=Symbol("connections"),bne=Symbol("factory");function C5e(t,e){return new g5e(t,e)}o(C5e,"defaultFactory");var mM=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 hM("invalid connections");if(typeof n!="function")throw new hM("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new hM("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[AM]=r||null,this[Cne]=Ene.parseOrigin(e),this[pM]={...Ene.deepClone(h),connect:i,allowH2:f},this[pM].interceptors=h.interceptors?{...h.interceptors}:void 0,this[bne]=n,this.on("connectionError",(p,m,g)=>{for(let E of m){let y=this[wv].indexOf(E);y!==-1&&this[wv].splice(y,1)}})}[m5e](){for(let e of this[wv])if(!e[p5e])return e;if(!this[AM]||this[wv].length<this[AM]){let e=this[bne](this[Cne],this[pM]);return this[A5e](e),e}}};wne.exports=mM});var vne=A((o$t,xne)=>{"use strict";var{BalancedPoolMissingUpstreamError:b5e,InvalidArgumentError:w5e}=Rt(),{PoolBase:I5e,kClients:Si,kNeedDrain:Db,kAddClient:S5e,kRemoveClient:B5e,kGetDispatcher:x5e}=fM(),v5e=Fm(),{kUrl:gM,kInterceptors:N5e}=mr(),{parseOrigin:Ine}=at(),Sne=Symbol("factory"),Iv=Symbol("options"),Bne=Symbol("kGreatestCommonDivisor"),qh=Symbol("kCurrentWeight"),Gh=Symbol("kIndex"),Mo=Symbol("kWeight"),Sv=Symbol("kMaxWeightPerServer"),Bv=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 yM=class extends I5e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=T5e,...n}={}){if(super(),this[Iv]=n,this[Gh]=-1,this[qh]=0,this[Sv]=this[Iv].maxWeightPerServer||100,this[Bv]=this[Iv].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[gM].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Sne](r,Object.assign({},this[Iv]));this[S5e](n),n.on("connect",()=>{n[Mo]=Math.min(this[Sv],n[Mo]+this[Bv])}),n.on("connectionError",()=>{n[Mo]=Math.max(1,n[Mo]-this[Bv]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Mo]=Math.max(1,n[Mo]-this[Bv]),this._updateBalancedPoolStats())});for(let i of this[Si])i[Mo]=this[Sv];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[gM].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[gM].origin)}[x5e](){if(this[Si].length===0)throw new b5e;if(!this[Si].find(s=>!s[Db]&&s.closed!==!0&&s.destroyed!==!0)||this[Si].map(s=>s[Db]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[Si].findIndex(s=>!s[Db]);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[Db]&&(i=this[Gh]),this[Gh]===0&&(this[qh]=this[qh]-this[Bne],this[qh]<=0&&(this[qh]=this[Sv])),s[Mo]>=this[qh]&&!s[Db])return s}return this[qh]=this[Si][i][Mo],this[Gh]=i,this[Si][i]}};xne.exports=yM});var Mm=A((c$t,kne)=>{"use strict";var{InvalidArgumentError:xv}=Rt(),{kClients:zd,kRunning:Nne,kClose:R5e,kDestroy:D5e,kDispatch:Q5e,kInterceptors:k5e}=mr(),P5e=bm(),O5e=Fm(),L5e=Lm(),F5e=at(),M5e=Ev(),_ne=Symbol("onConnect"),Tne=Symbol("onDisconnect"),Rne=Symbol("onConnectionError"),U5e=Symbol("maxRedirections"),Dne=Symbol("onDrain"),Qne=Symbol("factory"),EM=Symbol("options");function q5e(t,e){return e&&e.connections===1?new L5e(t,e):new O5e(t,e)}o(q5e,"defaultFactory");var CM=class extends P5e{static{o(this,"Agent")}constructor({factory:e=q5e,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new xv("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new xv("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new xv("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[EM]={...F5e.deepClone(i),connect:n},this[EM].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 xv("opts.origin must be a non-empty string or URL.");let i=this[zd].get(n);return i||(i=this[Qne](e.origin,this[EM]).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=CM});var BM=A((u$t,zne)=>{"use strict";var{kProxy:bM,kClose:Une,kDestroy:qne,kDispatch:Pne,kInterceptors:G5e}=mr(),{URL:Hh}=require("node:url"),H5e=Mm(),Gne=Fm(),Hne=bm(),{InvalidArgumentError:Um,RequestAbortedError:V5e,SecureProxyConnectionError:z5e}=Rt(),One=ub(),Vne=Lm(),vv=Symbol("proxy agent"),Nv=Symbol("proxy client"),$d=Symbol("proxy headers"),wM=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 IM=class extends Hne{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Um("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 Um("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)}},SM=class extends Hne{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Hh)&&!e.uri)throw new Um("Proxy uri is mandatory");let{clientFactory:r=j5e}=e;if(typeof r!="function")throw new Um("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[bM]={uri:s,protocol:l},this[G5e]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[wM]=e.requestTls,this[Lne]=e.proxyTls,this[$d]=e.headers||{},this[Mne]=n,e.auth&&e.token)throw new Um("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[bM].protocol==="http:"?new IM(this[bM].uri,{headers:this[$d],connect:h,factory:p}):p(g,E)},"factory");this[Nv]=r(i,{connect:h}),this[vv]=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[Nv].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[wM]?B=this[wM].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[vv].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[vv].close(),await this[Nv].close()}async[qne](){await this[vv].destroy(),await this[Nv].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 Um("Proxy-Authorization should be sent in ProxyAgent constructor")}o(K5e,"throwIfProxyAuthIsSent");zne.exports=SM});var Kne=A((f$t,Yne)=>{"use strict";var X5e=bm(),{kClose:Z5e,kDestroy:eze,kClosed:$ne,kDestroyed:jne,kDispatch:tze,kNoProxyAgent:Qb,kHttpProxyAgent:jd,kHttpsProxyAgent:Vh}=mr(),Wne=BM(),rze=Mm(),nze={"http:":80,"https:":443},Jne=!1,xM=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[Qb]=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[Qb];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[Qb].close(),this[jd][$ne]||await this[jd].close(),this[Vh][$ne]||await this[Vh].close()}async[eze](e){await this[Qb].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[Qb]}#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=xM});var _v=A((p$t,rie)=>{"use strict";var qm=require("node:assert"),{kRetryHandlerDefaultRetry:Xne}=mr(),{RequestRetryError:Gm}=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 Gm("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(tie,"validatePartialResponseContentLength");var vM=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 Gm("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 Gm("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 Gm("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Gm("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 qm(this.start===u,"content-range mismatch"),qm(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;qm(u!=null&&Number.isFinite(u),"content-range mismatch"),qm(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 qm(Number.isFinite(this.start)),qm(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 Gm("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=vM});var iie=A((m$t,nie)=>{"use strict";var aze=cb(),cze=_v(),NM=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=NM});var kM=A((y$t,hie)=>{"use strict";var lie=require("node:assert"),{Readable:lze}=require("node:stream"),{RequestAbortedError:uie,NotSupportedError:uze,InvalidArgumentError:dze,AbortError:_M}=Rt(),die=at(),{ReadableStreamFrom:fze}=at(),Js=Symbol("kConsume"),kb=Symbol("kReading"),Wd=Symbol("kBody"),sie=Symbol("kAbort"),fie=Symbol("kContentType"),oie=Symbol("kContentLength"),hze=o(()=>{},"noop"),TM=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[kb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new uie),e&&this[sie](),super.destroy(e)}_destroy(e,r){this[kb]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[kb]=!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[kb]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Js]&&e!==null?(DM(this[Js],e),this[kb]?super.push(e):!0):super.push(e)}async text(){return Pb(this,"text")}async json(){return Pb(this,"json")}async blob(){return Pb(this,"blob")}async bytes(){return Pb(this,"bytes")}async arrayBuffer(){return Pb(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 _M);let a=o(()=>{this.destroy(n.reason??new _M)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new _M):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 Pb(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){QM(this[Js],i)}).on("close",function(){this[Js].body!==null&&QM(this[Js],new uie)}),mze(t[Js])})})}o(Pb,"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++)DM(t,e.buffer[i])}else for(let r of e.buffer)DM(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 RM(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(RM,"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(RM(r,s)):e==="json"?n(JSON.parse(RM(r,s))):e==="arrayBuffer"?n(aie(r,s).buffer):e==="blob"?n(new Blob(r,{type:i[fie]})):e==="bytes"&&n(aie(r,s)),QM(t)}catch(a){i.destroy(a)}}o(cie,"consumeEnd");function DM(t,e){t.length+=e.length,t.body.push(e)}o(DM,"consumePush");function QM(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(QM,"consumeFinish");hie.exports={Readable:TM,chunksDecode:RM}});var PM=A((C$t,yie)=>{var gze=require("node:assert"),{ResponseStatusCodeError:pie}=Rt(),{chunksDecode:Aie}=kM(),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((w$t,OM)=>{"use strict";var Cze=require("node:assert"),{Readable:bze}=kM(),{InvalidArgumentError:Hm,RequestAbortedError:Eie}=Rt(),Ys=at(),{getResolveErrorBodyCallback:wze}=PM(),{AsyncResource:Ize}=require("node:async_hooks"),Tv=class extends Ize{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Hm("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 Hm("invalid callback");if(d&&(typeof d!="number"||d<0))throw new Hm("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Hm("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Hm("invalid method");if(c&&typeof c!="function")throw new Hm("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 Tv(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Cie,"request");OM.exports=Cie;OM.exports.RequestHandler=Tv});var Ob=A((S$t,Sie)=>{var{addAbortListener:Sze}=at(),{RequestAbortedError:Bze}=Rt(),Vm=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[Vm]=null,!!e){if(e.aborted){wie(t);return}t[Pc]=e,t[Vm]=()=>{wie(t)},Sze(t[Pc],t[Vm])}}o(xze,"addSignal");function Iie(t){t[Pc]&&("removeEventListener"in t[Pc]?t[Pc].removeEventListener("abort",t[Vm]):t[Pc].removeListener("abort",t[Vm]),t[Pc]=null,t[Vm]=null)}o(Iie,"removeSignal");Sie.exports={addSignal:xze,removeSignal:Iie}});var Nie=A((x$t,vie)=>{"use strict";var vze=require("node:assert"),{finished:Nze,PassThrough:_ze}=require("node:stream"),{InvalidArgumentError:zm,InvalidReturnValueError:Tze}=Rt(),za=at(),{getResolveErrorBodyCallback:Rze}=PM(),{AsyncResource:Dze}=require("node:async_hooks"),{addSignal:Qze,removeSignal:Bie}=Ob(),LM=class extends Dze{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new zm("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 zm("invalid callback");if(typeof r!="function")throw new zm("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new zm("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new zm("invalid method");if(l&&typeof l!="function")throw new zm("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 LM(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((N$t,Rie)=>{"use strict";var{Readable:Tie,Duplex:kze,PassThrough:Pze}=require("node:stream"),{InvalidArgumentError:Lb,InvalidReturnValueError:Oze,RequestAbortedError:FM}=Rt(),Uo=at(),{AsyncResource:Lze}=require("node:async_hooks"),{addSignal:Fze,removeSignal:Mze}=Ob(),_ie=require("node:assert"),$m=Symbol("resume"),MM=class extends Tie{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[$m]=null}_read(){let{[$m]:e}=this;e&&(this[$m]=null,e())}_destroy(e,r){this._read(),r(e)}},UM=class extends Tie{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[$m]=e}_read(){this[$m]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new FM),r(e)}},qM=class extends Lze{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Lb("invalid opts");if(typeof r!="function")throw new Lb("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 Lb("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Lb("invalid method");if(a&&typeof a!="function")throw new Lb("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 MM().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[$m]=d},"write"),destroy:o((l,u)=>{let{body:d,req:f,res:h,ret:p,abort:m}=this;!l&&!p._readableState.endEmitted&&(l=new FM),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 UM(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 FM)}),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 qM(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((T$t,Lie)=>{"use strict";var{InvalidArgumentError:GM,SocketError:qze}=Rt(),{AsyncResource:Gze}=require("node:async_hooks"),Qie=at(),{addSignal:Hze,removeSignal:kie}=Ob(),Pie=require("node:assert"),HM=class extends Gze{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new GM("invalid opts");if(typeof r!="function")throw new GM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new GM("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 HM(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((D$t,Gie)=>{"use strict";var Vze=require("node:assert"),{AsyncResource:zze}=require("node:async_hooks"),{InvalidArgumentError:VM,SocketError:$ze}=Rt(),Mie=at(),{addSignal:jze,removeSignal:Uie}=Ob(),zM=class extends zze{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new VM("invalid opts");if(typeof r!="function")throw new VM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new VM("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 zM(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((k$t,jm)=>{"use strict";jm.exports.request=bie();jm.exports.stream=Nie();jm.exports.pipeline=Die();jm.exports.upgrade=Fie();jm.exports.connect=Hie()});var jM=A((P$t,$ie)=>{"use strict";var{UndiciError:Wze}=Rt(),zie=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),$M=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:$M}});var Wm=A((L$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 Fb=A((F$t,ise)=>{"use strict";var{MockNotMatchedError:zh}=jM(),{kDispatches:Rv,kMockAgent:Jze,kOriginalDispatch:Yze,kOrigin:Kze,kGetNetConnect:Xze}=Wm(),{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 YM(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(YM,"buildHeadersFromArray");function Kie(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=YM(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 WM(t,e){let r=t.findIndex(n=>n.consumed?r$e(n,e):!1);r!==-1&&t.splice(r,1)}o(WM,"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 JM(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(JM,"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[Rv],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 WM(this[Rv],r),e.onError(l),!0;typeof u=="number"&&u>0?setTimeout(()=>{p(this[Rv])},u):p(this[Rv]);function p(g,E=s){let y=Array.isArray(t.headers)?YM(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=JM(a),Q=JM(c);e.onConnect?.(q=>e.onError(q),null),e.onHeaders?.(i,B,m,tse(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(Q),WM(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:WM,buildKey:ese,generateKeyValues:JM,matchValue:Nu,getResponse:i$e,getStatusText:tse,mockDispatch:rse,buildMockDispatch:s$e,checkNetConnect:nse,buildMockOptions:o$e,getHeaderByName:Yie,buildHeadersFromArray:YM}});var nU=A((U$t,rU)=>{"use strict";var{getResponseData:a$e,buildKey:c$e,addMockDispatch:KM}=Fb(),{kDispatches:Dv,kDispatchKey:Qv,kDefaultHeaders:XM,kDefaultTrailers:ZM,kContentLength:eU,kMockDispatch:kv}=Wm(),{InvalidArgumentError:Oc}=Rt(),{buildURL:l$e}=at(),Jm=class{static{o(this,"MockScope")}constructor(e){this[kv]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Oc("waitInMs must be a valid integer > 0");return this[kv].delay=e,this}persist(){return this[kv].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[kv].times=e,this}},tU=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[Qv]=c$e(e),this[Dv]=r,this[XM]={},this[ZM]={},this[eU]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=a$e(r),s=this[eU]?{"content-length":i.length}:{},a={...this[XM],...s,...n.headers},c={...this[ZM],...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=KM(this[Dv],this[Qv],s);return new Jm(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=KM(this[Dv],this[Qv],n);return new Jm(i)}replyWithError(e){if(typeof e>"u")throw new Oc("error must be defined");let r=KM(this[Dv],this[Qv],{error:e});return new Jm(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Oc("headers must be defined");return this[XM]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Oc("trailers must be defined");return this[ZM]=e,this}replyContentLength(){return this[eU]=!0,this}};rU.exports.MockInterceptor=tU;rU.exports.MockScope=Jm});var oU=A((G$t,dse)=>{"use strict";var{promisify:u$e}=require("node:util"),d$e=Lm(),{buildMockDispatch:f$e}=Fb(),{kDispatches:sse,kMockAgent:ose,kClose:ase,kOriginalClose:cse,kOrigin:lse,kOriginalDispatch:h$e,kConnected:iU}=Wm(),{MockInterceptor:p$e}=nU(),use=mr(),{InvalidArgumentError:A$e}=Rt(),sU=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[iU]=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[iU]}intercept(e){return new p$e(e,this[sse])}async[ase](){await u$e(this[cse])(),this[iU]=0,this[ose][use.kClients].delete(this[lse])}};dse.exports=sU});var lU=A((V$t,yse)=>{"use strict";var{promisify:m$e}=require("node:util"),g$e=Fm(),{buildMockDispatch:y$e}=Fb(),{kDispatches:fse,kMockAgent:hse,kClose:pse,kOriginalClose:Ase,kOrigin:mse,kOriginalDispatch:E$e,kConnected:aU}=Wm(),{MockInterceptor:C$e}=nU(),gse=mr(),{InvalidArgumentError:b$e}=Rt(),cU=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[aU]=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[aU]}intercept(e){return new C$e(e,this[fse])}async[pse](){await m$e(this[Ase])(),this[aU]=0,this[hse][gse.kClients].delete(this[mse])}};yse.exports=cU});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((Y$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((X$t,Bse)=>{"use strict";var{kClients:$h}=mr(),N$e=Mm(),{kAgent:uU,kMockAgentSet:Pv,kMockAgentGet:Ise,kDispatches:dU,kIsMockActive:Ov,kNetConnect:jh,kGetNetConnect:_$e,kOptions:Lv,kFactory:Fv}=Wm(),T$e=oU(),R$e=lU(),{matchValue:D$e,buildMockOptions:Q$e}=Fb(),{InvalidArgumentError:Sse,UndiciError:k$e}=Rt(),P$e=cb(),O$e=Cse(),L$e=wse(),fU=class extends P$e{static{o(this,"MockAgent")}constructor(e){if(super(e),this[jh]=!0,this[Ov]=!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[uU]=r,this[$h]=r[$h],this[Lv]=Q$e(e)}get(e){let r=this[Ise](e);return r||(r=this[Fv](e),this[Pv](e,r)),r}dispatch(e,r){return this.get(e.origin),this[uU].dispatch(e,r)}async close(){await this[uU].close(),this[$h].clear()}deactivate(){this[Ov]=!1}activate(){this[Ov]=!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[Ov]}[Pv](e,r){this[$h].set(e,r)}[Fv](e){let r=Object.assign({agent:this},this[Lv]);return this[Lv]&&this[Lv].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[Fv]("http://localhost:9999");return this[Pv](e,n),n}for(let[n,i]of Array.from(this[$h]))if(i&&typeof n!="string"&&D$e(n,e)){let s=this[Fv](e);return this[Pv](e,s),s[dU]=i[dU],s}}[_$e](){return this[jh]}pendingInterceptors(){let e=this[$h];return Array.from(e.entries()).flatMap(([r,n])=>n[dU].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=fU});var Mv=A((ejt,Tse)=>{"use strict";var vse=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:F$e}=Rt(),M$e=Mm();_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 Uv=A((njt,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((sjt,Dse)=>{"use strict";var U$e=yv();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((ajt,kse)=>{"use strict";var q$e=_v();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((ljt,Ose)=>{"use strict";var G$e=at(),{InvalidArgumentError:H$e,RequestAbortedError:V$e}=Rt(),z$e=Uv(),hU=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 hU({maxSize:s},i);return e(n,a)},"Intercept")}o($$e,"createDumpInterceptor");Ose.exports=$$e});var Use=A((djt,Mse)=>{"use strict";var{isIP:j$e}=require("node:net"),{lookup:W$e}=require("node:dns"),J$e=Uv(),{InvalidArgumentError:Ym,InformationalError:Y$e}=Rt(),Fse=Math.pow(2,31)-1,pU=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 AU(this,e,r)}},AU=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 Ym("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Ym("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Ym("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Ym("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Ym("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Ym("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 pU(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((hjt,jse)=>{"use strict";var{kConstruct:K$e}=mr(),{kEnumerableProperty:Km}=at(),{iteratorMixin:X$e,isValidHeaderName:Mb,isValidHeaderValue:Gse}=js(),{webidl:vt}=ai(),mU=require("node:assert"),qv=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}.`});gU(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)gU(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 gU(t,e,r){if(r=Hse(r),Mb(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 yU(t).append(e,r,!1)}o(gU,"appendHeader");function zse(t,e){return t[0]<e[0]?-1:1}o(zse,"compareHeaderName");var Gv=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],mU(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],mU(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],mU(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 Gv,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"),gU(this,e,r)}delete(e){if(vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.delete"),e=vt.converters.ByteString(e,"Headers.delete","name"),!Mb(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"),!Mb(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"),!Mb(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),Mb(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}[qv.inspect.custom](e,r){return r.depth??=e,`Headers ${qv.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:yU,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:Km,delete:Km,get:Km,has:Km,set:Km,getSetCookie:Km,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[qv.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(!qv.types.isProxy(t)&&n===$a.prototype.entries)try{return yU(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:Gv,getHeadersGuard:$se,setHeadersGuard:Z$e,setHeadersList:eje,getHeadersList:yU}});var qb=A((Ajt,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}=Tm(),EU=at(),Yse=require("node:util"),{kEnumerableProperty:Xs}=EU,{isValidReasonPhrase:oje,isCancelled:aje,isAborted:cje,isBlobLike:lje,serializeJavascriptValueToJSONString:uje,isErrorLike:dje,isomorphicEncode:fje,environmentSettingsObject:hje}=js(),{redirectStatusSet:pje,nullBodyStatus:Aje}=db(),{kState:yr,kHeaders:_u}=Fd(),{webidl:tt}=ai(),{FormData:mje}=gb(),{URLSerializer:Kse}=gs(),{kConstruct:Vv}=mr(),CU=require("node:assert"),{types:gje}=require("node:util"),yje=new TextEncoder("utf-8"),Jh=class t{static{o(this,"Response")}static error(){return Ub(zv(),"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=Ub(Xm({}),"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=Ub(Xm({}),"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===Vv)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[yr]=Xm({}),this[_u]=new Zse(Vv),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&&EU.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=bU(this[yr]);return roe&&this[yr].body?.stream&&noe.register(this,new WeakRef(this[yr].body.stream)),Ub(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 bU(t){if(t.internalResponse)return ioe(bU(t.internalResponse),t.type);let e=Xm({...t,body:null});return t.body!=null&&(e.body=nje(e,t.body)),e}o(bU,"cloneResponse");function Xm(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(Xm,"makeResponse");function zv(t){let e=dje(t);return Xm({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(zv,"makeNetworkError");function Eje(t){return t.type==="error"&&t.status===0}o(Eje,"isNetworkError");function Hv(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 CU(!(n in e)),r[n]=i,!0}})}o(Hv,"makeFilteredResponse");function ioe(t,e){if(e==="basic")return Hv(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Hv(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Hv(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Hv(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});CU(!1)}o(ioe,"filterResponse");function Cje(t,e=null){return CU(aje(t)),cje(t)?zv(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):zv(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 Ub(t,e){let r=new Jh(Vv);return r[yr]=t,r[_u]=new Zse(Vv),toe(r[_u],t.headersList),eoe(r[_u],e),roe&&t.body?.stream&&noe.register(r,new WeakRef(t.body.stream)),r}o(Ub,"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):EU.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:zv,makeResponse:Xm,makeAppropriateNetworkError:Cje,filterResponse:ioe,Response:Jh,cloneResponse:bU,fromInnerResponse:Ub}});var loe=A((gjt,coe)=>{"use strict";var{kConnected:ooe,kSize:aoe}=mr(),wU=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[ooe]===0&&this.value[aoe]===0?void 0:this.value}},IU=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:wU,FinalizationRegistry:IU}):{WeakRef,FinalizationRegistry}}});var Zm=A((Ejt,Soe)=>{"use strict";var{extractBody:bje,mixinBody:wje,cloneBody:Ije,bodyUnusable:uoe}=Tm(),{Headers:Eoe,fill:Sje,HeadersList:Jv,setHeadersGuard:BU,getHeadersGuard:Bje,setHeadersList:Coe,getHeadersList:doe}=Wh(),{FinalizationRegistry:xje}=loe()(),jv=at(),foe=require("node:util"),{isValidHTTPToken:vje,sameOrigin:hoe,environmentSettingsObject:$v}=js(),{forbiddenMethodsSet:Nje,corsSafeListedMethodsSet:_je,referrerPolicy:Tje,requestRedirect:Rje,requestMode:Dje,requestCredentials:Qje,requestCache:kje,requestDuplex:Pje}=db(),{kEnumerableProperty:gn,normalizedMethodRecordsBase:Oje,normalizedMethodRecords:Lje}=jv,{kHeaders:Zs,kSignal:Wv,kState:nr,kDispatcher:SU}=Fd(),{webidl:Me}=ai(),{URLSerializer:Fje}=gs(),{kConstruct:Yv}=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)}),Kv=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=Kv.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()}Kv.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===Yv)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=$v.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[SU]=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=Xv({urlList:[y]}),s="cors"}else this[SU]=r.dispatcher||e[SU],Mje(e instanceof t),i=e[nr],c=e[Wv];let l=$v.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=Xv({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:$v.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,$v.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[Wv]=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{}jv.addAbortListener(c,C),boe.register(h,{signal:c,abort:C},C)}}if(this[Zs]=new Eoe(Yv),Coe(this[Zs],i.headersList),BU(this[Zs],"request"),f==="no-cors"){if(!_je.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);BU(this[Zs],"request-no-cors")}if(d){let y=doe(this[Zs]),C=r.headers!==void 0?r.headers:new Jv(y);if(y.clear(),C instanceof Jv){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[Wv]}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&&jv.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=Kv.get(this.signal);n===void 0&&(n=new Set,Kv.set(this.signal,n));let i=new WeakRef(r);n.add(i),jv.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 Xv(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 Jv(t.headersList):new Jv}}o(Xv,"makeRequest");function woe(t){let e=Xv({...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(Yv);return n[nr]=t,n[Wv]=e,n[Zs]=new Eoe(Yv),Coe(n[Zs],t.headersList),BU(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:Xv,fromInnerRequest:Ioe,cloneRequest:woe}});var Hb=A((bjt,Moe)=>{"use strict";var{makeNetworkError:Ht,makeAppropriateNetworkError:Zv,filterResponse:xU,makeResponse:eN,fromInnerResponse:Gje}=qb(),{HeadersList:Boe}=Wh(),{Request:Hje,cloneRequest:Vje}=Zm(),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:RU,appendFetchMetadata:e8e,corsCheck:t8e,crossOriginResourcePolicyCheck:r8e,determineRequestsReferrer:n8e,coarsenedSharedCurrentTime:Gb,createDeferredPromise:i8e,isBlobLike:s8e,sameOrigin:TU,isCancelled:Yh,isAborted:xoe,isErrorLike:o8e,fullyReadBody:a8e,readableStreamClose:c8e,isomorphicEncode:tN,urlIsLocal:l8e,urlIsHttpHttpsScheme:DU,urlHasHttpsScheme:u8e,clampAndCoarsenConnectionTimingInfo:d8e,simpleRangeHeaderValue:f8e,buildContentRange:h8e,createInflate:p8e,extractMimeType:A8e}=js(),{kState:Toe,kDispatcher:m8e}=Fd(),Kh=require("node:assert"),{safelyExtractBody:QU,extractBody:voe}=Tm(),{redirectStatusSet:Roe,nullBodyStatus:Doe,safeMethodsSet:g8e,requestBodyHeader:y8e,subresourceSet:E8e}=db(),C8e=require("node:events"),{Readable:b8e,pipeline:w8e,finished:I8e}=require("node:stream"),{addAbortListener:S8e,isErrored:B8e,isReadable:rN,bufferToLowerCasedHeaderName:Noe}=at(),{dataURLProcessor:x8e,serializeAMimeType:v8e,minimizeSupportedMimeType:N8e}=gs(),{getGlobalDispatcher:_8e}=Mv(),{webidl:T8e}=ai(),{STATUS_CODES:R8e}=require("node:http"),D8e=["GET","HEAD"],Q8e=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",vU,nN=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 NU(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();NU(r,i,d,n.signal.reason)}),l=Poe({request:i,processResponseEndOfBody:k8e,processResponse:o(d=>{if(!c){if(d.aborted){NU(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;DU(r)&&n!==null&&(t.timingAllowPassed||(n=RU({startTime:n.startTime}),i=""),n.endTime=Gb(),t.timingInfo=n,koe(n,r.href,e,globalThis,i))}o(Qoe,"finalizeAndReportTiming");var koe=performance.markResourceTiming;function NU(t,e,r,n){if(t&&t.reject(n),e.body!=null&&rN(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&&rN(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(NU,"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=Gb(u),f=RU({startTime:d}),h={controller:new nN(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 TU(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)):DU(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=xU(n,"basic"):r.responseTainting==="cors"?n=xU(n,"cors"):r.responseTainting==="opaque"?n=xU(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=>_U(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=QU(c)[0],_U(t,n)},"processBody");await a8e(n.body,a,s)}else _U(t,n)}o(Ooe,"mainFetch");function _oe(t){if(Yh(t)&&t.request.redirectCount===0)return Promise.resolve(Zv(t));let{request:e}=t,{protocol:r}=Lc(e);switch(r){case"about:":return Promise.resolve(Ht("about scheme is not supported"));case"blob:":{vU||(vU=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=vU(n.toString());if(e.method!=="GET"||!s8e(i))return Promise.resolve(Ht("invalid method"));let s=eN(),a=i.size,c=tN(`${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=tN(`${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(eN({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:QU(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 _U(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=RU(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(_U,"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(!DU(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)&&!TU(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)}TU(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=QU(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=Gb(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=tN(`${d}`)),f!=null&&s.headersList.append("content-length",f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",tN(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)?Zv(t):Ht("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Yh(t))return Zv(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=eN({status:g,statusText:E,headersList:y,socket:C});else{let w=m[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=eN({status:g,statusText:E,headersList:y})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),Zv(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,rN(f)&&t.controller.controller.error(t.controller.serializedAbortReason)):rN(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=Gb(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=Gb(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:nN,fetching:Poe,finalizeAndReportTiming:Qoe}});var kU=A((Ijt,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((Sjt,qoe)=>{"use strict";var{webidl:eo}=ai(),iN=Symbol("ProgressEvent state"),PU=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[iN]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return eo.brandCheck(this,t),this[iN].lengthComputable}get loaded(){return eo.brandCheck(this,t),this[iN].loaded}get total(){return eo.brandCheck(this,t),this[iN].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:PU}});var Voe=A((xjt,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((Njt,Koe)=>{"use strict";var{kState:eg,kError:OU,kResult:zoe,kAborted:Vb,kLastProgressEventFired:LU}=kU(),{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[eg]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[eg]="loading",t[zoe]=null,t[OU]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[Vb];)try{let{done:u,value:d}=await c;if(l&&!t[Vb]&&queueMicrotask(()=>{Kd("loadstart",t)}),l=!1,!u&&G8e.isUint8Array(d))a.push(d),(t[LU]===void 0||Date.now()-t[LU]>=50)&&!t[Vb]&&(t[LU]=Date.now(),queueMicrotask(()=>{Kd("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[eg]="done";try{let f=z8e(a,r,e.type,n);if(t[Vb])return;t[zoe]=f,Kd("load",t)}catch(f){t[OU]=f,Kd("error",t)}t[eg]!=="loading"&&Kd("loadend",t)});break}}catch(u){if(t[Vb])return;queueMicrotask(()=>{t[eg]="done",t[OU]=u,Kd("error",t),t[eg]!=="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((Tjt,tae)=>{"use strict";var{staticPropertyDescriptors:tg,readOperation:sN,fireAProgressEvent:Zoe}=Xoe(),{kState:Xh,kError:eae,kResult:oN,kEvents:Ot,kAborted:W8e}=kU(),{webidl:zt}=ai(),{kEnumerableProperty:Cs}=at(),ja=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Xh]="empty",this[oN]=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}),sN(this,e,"ArrayBuffer")}readAsBinaryString(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=zt.converters.Blob(e,{strict:!1}),sN(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")),sN(this,e,"Text",r)}readAsDataURL(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=zt.converters.Blob(e,{strict:!1}),sN(this,e,"DataURL")}abort(){if(this[Xh]==="empty"||this[Xh]==="done"){this[oN]=null;return}this[Xh]==="loading"&&(this[Xh]="done",this[oN]=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[oN]}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:tg,LOADING:tg,DONE:tg,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:tg,LOADING:tg,DONE:tg});tae.exports={FileReader:ja}});var aN=A((Djt,nae)=>{"use strict";nae.exports={kConstruct:mr().kConstruct}});var oae=A((Qjt,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((Pjt,cae)=>{"use strict";var{kConstruct:Z8e}=aN(),{urlEquals:e6e,getFieldValues:FU}=oae(),{kEnumerableProperty:Zh,isDisturbed:t6e}=at(),{webidl:ve}=ai(),{Response:r6e,cloneResponse:n6e,fromInnerResponse:i6e}=qb(),{Request:Tu,fromInnerRequest:s6e}=Zm(),{kState:Wa}=Fd(),{fetching:o6e}=Hb(),{urlIsHttpHttpsScheme:cN,createDeferredPromise:rg,readAllBytes:a6e}=js(),MU=require("node:assert"),lN=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(!cN(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(!cN(p.url))throw ve.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let m=rg();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=FU(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=rg(),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],!cN(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=FU(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=rg();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=rg(),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 MU(typeof e=="string"),i=new Tu(e)[Wa];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=rg(),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=rg(),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);MU(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(!cN(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);MU(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=FU(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(lN.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:lN}});var dae=A((Ljt,uae)=>{"use strict";var{kConstruct:zb}=aN(),{Cache:uN}=lae(),{webidl:Bi}=ai(),{kEnumerableProperty:$b}=at(),dN=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==zb&&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 uN(zb,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new uN(zb,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 uN(zb,i)}let n=[];return this.#e.set(e,n),new uN(zb,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(dN.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:$b,has:$b,open:$b,delete:$b,keys:$b});uae.exports={CacheStorage:dN}});var hae=A((Mjt,fae)=>{"use strict";fae.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var GU=A((Ujt,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 UU(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(UU,"validateCookieName");function qU(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(qU,"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"],fN=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()]}, ${fN[t.getUTCDate()]} ${d6e[t.getUTCMonth()]} ${t.getUTCFullYear()} ${fN[t.getUTCHours()]}:${fN[t.getUTCMinutes()]}:${fN[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;UU(t.name),qU(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(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("=");UU(s),qU(a),e.push(`${s}=${a}`)}return e.join("; ")}o(h6e,"stringify");gae.exports={isCTLExcludingHtab:c6e,validateCookieName:UU,validateCookiePath:Aae,validateCookieValue:qU,toIMFDate:mae,stringify:h6e}});var Eae=A((Gjt,yae)=>{"use strict";var{maxNameValuePairSize:p6e,maxAttributeValueSize:A6e}=hae(),{isCTLExcludingHtab:m6e}=GU(),{collectASequenceOfCodePointsFast:hN}=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=hN(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=hN("=",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,...ng(r)}}o(y6e,"parseSetCookie");function ng(t,e={}){if(t.length===0)return e;g6e(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=hN(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=hN("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>A6e)return ng(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 ng(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 ng(t,e)}o(ng,"parseUnparsedAttributes");yae.exports={parseSetCookie:y6e,parseUnparsedAttributes:ng}});var wae=A((Vjt,bae)=>{"use strict";var{parseSetCookie:E6e}=Eae(),{stringify:C6e}=GU(),{webidl:mt}=ai(),{Headers:pN}=Wh();function b6e(t){mt.argumentLengthCheck(arguments,1,"getCookies"),mt.brandCheck(t,pN,{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,pN,{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,pN,{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,pN,{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 sg=A(($jt,Sae)=>{"use strict";var{webidl:xe}=ai(),{kEnumerableProperty:bs}=at(),{kConstruct:Iae}=mr(),{MessagePort:S6e}=require("node:worker_threads"),ig=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}=ig;delete ig.createFastMessageEvent;var AN=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}},mN=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(ig.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:bs,origin:bs,lastEventId:bs,source:bs,ports:bs,initMessageEvent:bs});Object.defineProperties(AN.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:bs,code:bs,wasClean:bs});Object.defineProperties(mN.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 HU=[{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([...HU,{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([...HU,{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([...HU,{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:ig,CloseEvent:AN,ErrorEvent:mN,createFastMessageEvent:B6e}});var ep=A((Wjt,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 jb=A((Jjt,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 Yb=A((Yjt,Pae)=>{"use strict";var{kReadyState:Wb,kController:P6e,kResponse:O6e,kBinaryType:L6e,kWebSocketURL:F6e}=jb(),{states:Jb,opcodes:Xd}=ep(),{ErrorEvent:M6e,createFastMessageEvent:U6e}=sg(),{isUtf8:q6e}=require("node:buffer"),{collectASequenceOfCodePointsFast:G6e,removeHTTPWhitespace:vae}=gs();function H6e(t){return t[Wb]===Jb.CONNECTING}o(H6e,"isConnecting");function V6e(t){return t[Wb]===Jb.OPEN}o(V6e,"isEstablished");function z6e(t){return t[Wb]===Jb.CLOSING}o(z6e,"isClosing");function $6e(t){return t[Wb]===Jb.CLOSED}o($6e,"isClosed");function VU(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(VU,"fireEvent");function j6e(t,e,r){if(t[Wb]!==Jb.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));VU("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&&VU("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:VU,isValidSubprotocol:J6e,isValidStatusCode:Y6e,failWebsocketConnection:_ae,websocketMessageReceived:j6e,utf8Decode:kae,isControlFrame:Tae,isContinuationFrame:Rae,isTextBinaryFrame:Dae,isValidOpcode:K6e,parseExtensions:X6e,isValidClientWindowBits:Z6e}});var yN=A((Xjt,Oae)=>{"use strict";var{maxUnsigned16Bit:eWe}=ep(),gN=16386,zU,Kb=null,og=gN;try{zU=require("node:crypto")}catch{zU={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 og===gN&&(og=0,zU.randomFillSync(Kb??=Buffer.allocUnsafe(gN),0,gN)),[Kb[og++],Kb[og++],Kb[og++],Kb[og++]]}o(tWe,"generateMask");var $U=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:$U}});var WU=A((e8t,Hae)=>{"use strict";var{uid:rWe,states:Xb,sentCloseFrameState:EN,emptyBuffer:nWe,opcodes:iWe}=ep(),{kReadyState:Zb,kSentClose:CN,kByteParser:Fae,kReceivedClose:Lae,kResponse:Mae}=jb(),{fireEvent:sWe,failWebsocketConnection:Zd,isClosing:oWe,isClosed:aWe,isEstablished:cWe,parseExtensions:lWe}=Yb(),{channels:ag}=gm(),{CloseEvent:uWe}=sg(),{makeRequest:dWe}=Zm(),{fetching:fWe}=Hb(),{Headers:hWe,getHeadersList:pWe}=Wh(),{getDecodeSplit:AWe}=js(),{WebsocketFrameSend:mWe}=yN(),jU;try{jU=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=jU.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=jU.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),ag.open.hasSubscribers&&ag.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[Zb]=Xb.CLOSING;else if(t[CN]===EN.NOT_SENT){t[CN]=EN.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[CN]=EN.SENT,t[Zb]=Xb.CLOSING}else t[Zb]=Xb.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[CN]===EN.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[Zb]=Xb.CLOSED,sWe("close",t,(a,c)=>new uWe(a,c),{wasClean:r,code:n,reason:i}),ag.close.hasSubscribers&&ag.close.publish({websocket:t,code:n,reason:i})}o(qae,"onSocketClose");function Gae(t){let{ws:e}=this;e[Zb]=Xb.CLOSING,ag.socketError.hasSubscribers&&ag.socketError.publish(t),this.destroy()}o(Gae,"onSocketError");Hae.exports={establishWebSocketConnection:gWe,closeWebSocketConnection:yWe}});var zae=A((r8t,Vae)=>{"use strict";var{createInflateRaw:EWe,Z_DEFAULT_WINDOWBITS:CWe}=require("node:zlib"),{isValidClientWindowBits:bWe}=Yb(),{MessageSizeExceededError:wWe}=Rt(),IWe=Buffer.from([0,0,255,255]),bN=Symbol("kBuffer"),e0=Symbol("kLength"),JU=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[bN]=[],this.#e[e0]=0,this.#e.on("data",s=>{if(this.#e[e0]+=s.length,this.#n>0&&this.#e[e0]>this.#n){n(new wWe),this.#e.removeAllListeners(),this.#e=null;return}this.#e[bN].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[bN],this.#e[e0]);this.#e[bN].length=0,this.#e[e0]=0,n(null,i)})}};Vae.exports={PerMessageDeflate:JU}});var tce=A((i8t,ece)=>{"use strict";var{Writable:SWe}=require("node:stream"),BWe=require("node:assert"),{parserStates:ws,opcodes:cg,states:xWe,emptyBuffer:$ae,sentCloseFrameState:jae}=ep(),{kReadyState:vWe,kSentClose:Wae,kResponse:Jae,kReceivedClose:Yae}=jb(),{channels:wN}=gm(),{isValidStatusCode:NWe,isValidOpcode:_We,failWebsocketConnection:to,websocketMessageReceived:Kae,utf8Decode:TWe,isControlFrame:YU,isTextBinaryFrame:KU,isContinuationFrame:RWe}=Yb(),{WebsocketFrameSend:Xae}=yN(),{closeWebSocketConnection:Zae}=WU(),{PerMessageDeflate:DWe}=zae(),{MessageSizeExceededError:XU}=Rt();function t0(t,e,r){Zae(t,e,r,Buffer.byteLength(r)),to(t,r)}o(t0,"failWebsocketConnectionWithCode");var ZU=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&&!YU(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#o?(t0(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!==cg.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&&!KU(i)){to(this.ws,"Invalid frame type was fragmented.");return}if(KU(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)&&YU(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);KU(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(YU(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 XU?1009:1007;t0(this.ws,s,n.message);return}if(this.writeFragments(i)){if(this.#o>0&&this.#t>this.#o){t0(this.ws,1009,new XU().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){t0(this.ws,1009,new XU().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?(t0(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===cg.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(cg.CLOSE),a=>{a||(this.ws[Wae]=jae.SENT)})}return this.ws[vWe]=xWe.CLOSING,this.ws[Yae]=!0,!1}else if(r===cg.PING){if(!this.ws[Yae]){let i=new Xae(e);this.ws[Jae].socket.write(i.createFrame(cg.PONG)),wN.ping.hasSubscribers&&wN.ping.publish({payload:e})}}else r===cg.PONG&&wN.pong.hasSubscribers&&wN.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};ece.exports={ByteParser:ZU}});var oce=A((o8t,sce)=>{"use strict";var{WebsocketFrameSend:QWe}=yN(),{opcodes:rce,sendHints:lg}=ep(),kWe=sM(),nce=Buffer[Symbol.species],eq=class{static{o(this,"SendQueue")}#e=new kWe;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==lg.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===lg.string?rce.TEXT:rce.BINARY)}o(ice,"createFrame");function PWe(t,e){switch(e){case lg.string:return Buffer.from(t);case lg.arrayBuffer:case lg.blob:return new nce(t);case lg.typedArray:return new nce(t.buffer,t.byteOffset,t.byteLength)}}o(PWe,"toBuffer");sce.exports={SendQueue:eq}});var mce=A((c8t,Ace)=>{"use strict";var{webidl:He}=ai(),{URLSerializer:OWe}=gs(),{environmentSettingsObject:ace}=js(),{staticPropertyDescriptors:ef,states:r0,sentCloseFrameState:LWe,sendHints:IN}=ep(),{kWebSocketURL:cce,kReadyState:tq,kController:lce,kBinaryType:SN,kResponse:uce,kSentClose:FWe,kByteParser:MWe}=jb(),{isConnecting:UWe,isEstablished:qWe,isClosing:GWe,isValidSubprotocol:HWe,fireEvent:dce}=Yb(),{establishWebSocketConnection:VWe,closeWebSocketConnection:fce}=WU(),{ByteParser:zWe}=tce(),{kEnumerableProperty:qo,isBlobLike:hce}=at(),{getGlobalDispatcher:$We}=Mv(),{types:pce}=require("node:util"),{ErrorEvent:jWe,CloseEvent:WWe}=sg(),{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[tq]=t.CONNECTING,this[FWe]=LWe.NOT_SENT,this[SN]="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},IN.string)}else pce.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},IN.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},IN.typedArray)):hce(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},IN.blob))}get readyState(){return He.brandCheck(this,t),this[tq]}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[SN]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[SN]="blob":this[SN]=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[tq]=r0.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=r0.CONNECTING;ro.OPEN=ro.prototype.OPEN=r0.OPEN;ro.CLOSING=ro.prototype.CLOSING=r0.CLOSING;ro.CLOSED=ro.prototype.CLOSED=r0.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 rq=A((u8t,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((f8t,Cce)=>{"use strict";var{Transform:tJe}=require("node:stream"),{isASCIINumber:yce,isValidLastEventId:Ece}=rq(),Ru=[239,187,191],nq=10,BN=13,rJe=58,nJe=32,iq=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]===nq){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===nq||this.buffer[this.pos]===BN){this.buffer[this.pos]===BN&&(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]===nq||this.buffer[this.pos]===BN){this.buffer[this.pos]===BN&&(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:iq}});var _ce=A((p8t,Nce)=>{"use strict";var{pipeline:iJe}=require("node:stream"),{fetching:sJe}=Hb(),{makeRequest:oJe}=Zm(),{webidl:Du}=ai(),{EventSourceStream:aJe}=bce(),{parseMIMEType:cJe}=gs(),{createFastMessageEvent:lJe}=sg(),{isNetworkError:wce}=qb(),{delay:uJe}=rq(),{kEnumerableProperty:tp}=at(),{environmentSettingsObject:Ice}=js(),Sce=!1,Bce=3e3,n0=0,xce=1,i0=2,dJe="anonymous",fJe="use-credentials",ug=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=n0;#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===i0)return;this.#r=n0;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!==i0&&(this.#r=n0,this.dispatchEvent(new Event("error")),await uJe(this.#a.reconnectionTime),this.#r===n0&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Du.brandCheck(this,t),this.#r!==i0&&(this.#r=i0,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:n0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:xce,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:i0,writable:!1}};Object.defineProperties(ug,vce);Object.defineProperties(ug.prototype,vce);Object.defineProperties(ug.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:ug,defaultReconnectionTime:Bce}});var tf=A((m8t,Ue)=>{"use strict";var hJe=Lm(),Tce=cb(),pJe=Fm(),AJe=vne(),mJe=Mm(),gJe=BM(),yJe=Kne(),EJe=iie(),Rce=Rt(),vN=at(),{InvalidArgumentError:xN}=Rce,dg=Vie(),CJe=ub(),bJe=oU(),wJe=xse(),IJe=lU(),SJe=jM(),BJe=_v(),{getGlobalDispatcher:Dce,setGlobalDispatcher:xJe}=Mv(),vJe=Uv(),NJe=yv(),_Je=Ev();Object.assign(Tce.prototype,dg);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:vN.parseHeaders,headerNameToString:vN.headerNameToString};function s0(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 xN("invalid url");if(r!=null&&typeof r!="object")throw new xN("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new xN("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(vN.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=vN.parseURL(e);let{agent:i,dispatcher:s=Dce()}=r;if(i)throw new xN("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(s0,"makeDispatcher");Ue.exports.setGlobalDispatcher=xJe;Ue.exports.getGlobalDispatcher=Dce;var TJe=Hb().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=qb().Response;Ue.exports.Request=Zm().Request;Ue.exports.FormData=gb().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=rae().FileReader;var{setGlobalOrigin:RJe,getGlobalOrigin:DJe}=xF();Ue.exports.setGlobalOrigin=RJe;Ue.exports.getGlobalOrigin=DJe;var{CacheStorage:QJe}=dae(),{kConstruct:kJe}=aN();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}=sg();Ue.exports.WebSocket=mce().WebSocket;Ue.exports.CloseEvent=qJe;Ue.exports.ErrorEvent=GJe;Ue.exports.MessageEvent=HJe;Ue.exports.request=s0(dg.request);Ue.exports.stream=s0(dg.stream);Ue.exports.pipeline=s0(dg.pipeline);Ue.exports.connect=s0(dg.connect);Ue.exports.upgrade=s0(dg.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 h0=A((U6t,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 p0=A((q6t,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 gg=A((qc,fle)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Nq,MAX_SAFE_BUILD_LENGTH:w9e,MAX_LENGTH:I9e}=h0(),S9e=p0();qc=fle.exports={};var B9e=qc.re=[],x9e=qc.safeRe=[],ce=qc.src=[],v9e=qc.safeSrc=[],le=qc.t={},N9e=0,_q="[a-zA-Z0-9-]",_9e=[["\\s",1],["\\d",I9e],[_q,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-]${_q}*`);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",`${_q}+`);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,${Nq}})(?:\\.(\\d{1,${Nq}}))?(?:\\.(\\d{1,${Nq}}))?`);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 PN=A((H6t,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 Tq=A((z6t,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 ON=p0(),{MAX_LENGTH:gle,MAX_SAFE_INTEGER:LN}=h0(),{safeRe:FN,t:MN}=gg(),P9e=PN(),{compareIdentifiers:Rq}=Tq(),Dq=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`);ON("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?FN[MN.LOOSE]:FN[MN.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>LN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>LN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>LN||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<LN)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(ON("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(ON("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 Rq(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(ON("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 Rq(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?FN[MN.PRERELEASELOOSE]:FN[MN.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]),Rq(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=Dq});var op=A((J6t,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((K6t,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((Z6t,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((tWt,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((nWt,_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((sWt,Rle)=>{"use strict";var H9e=xi(),V9e=o((t,e)=>new H9e(t,e).major,"major");Rle.exports=V9e});var kle=A((aWt,Qle)=>{"use strict";var z9e=xi(),$9e=o((t,e)=>new z9e(t,e).minor,"minor");Qle.exports=$9e});var Ole=A((lWt,Ple)=>{"use strict";var j9e=xi(),W9e=o((t,e)=>new j9e(t,e).patch,"patch");Ple.exports=W9e});var Fle=A((dWt,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((hWt,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((AWt,qle)=>{"use strict";var X9e=Ho(),Z9e=o((t,e,r)=>X9e(e,t,r),"rcompare");qle.exports=Z9e});var Vle=A((gWt,Hle)=>{"use strict";var eYe=Ho(),tYe=o((t,e)=>eYe(t,e,!0),"compareLoose");Hle.exports=tYe});var UN=A((EWt,$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((bWt,jle)=>{"use strict";var nYe=UN(),iYe=o((t,e)=>t.sort((r,n)=>nYe(r,n,e)),"sort");jle.exports=iYe});var Yle=A((IWt,Jle)=>{"use strict";var sYe=UN(),oYe=o((t,e)=>t.sort((r,n)=>sYe(n,r,e)),"rsort");Jle.exports=oYe});var A0=A((BWt,Kle)=>{"use strict";var aYe=Ho(),cYe=o((t,e,r)=>aYe(t,e,r)>0,"gt");Kle.exports=cYe});var qN=A((vWt,Xle)=>{"use strict";var lYe=Ho(),uYe=o((t,e,r)=>lYe(t,e,r)<0,"lt");Xle.exports=uYe});var Qq=A((_Wt,Zle)=>{"use strict";var dYe=Ho(),fYe=o((t,e,r)=>dYe(t,e,r)===0,"eq");Zle.exports=fYe});var kq=A((RWt,eue)=>{"use strict";var hYe=Ho(),pYe=o((t,e,r)=>hYe(t,e,r)!==0,"neq");eue.exports=pYe});var GN=A((QWt,tue)=>{"use strict";var AYe=Ho(),mYe=o((t,e,r)=>AYe(t,e,r)>=0,"gte");tue.exports=mYe});var HN=A((PWt,rue)=>{"use strict";var gYe=Ho(),yYe=o((t,e,r)=>gYe(t,e,r)<=0,"lte");rue.exports=yYe});var Pq=A((LWt,nue)=>{"use strict";var EYe=Qq(),CYe=kq(),bYe=A0(),wYe=GN(),IYe=qN(),SYe=HN(),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((MWt,iue)=>{"use strict";var xYe=xi(),vYe=op(),{safeRe:VN,t:zN}=gg(),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?VN[zN.COERCEFULL]:VN[zN.COERCE]);else{let l=e.includePrerelease?VN[zN.COERCERTLFULL]:VN[zN.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((qWt,oue)=>{"use strict";var Oq=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=Oq});var Vo=A((HWt,due)=>{"use strict";var _Ye=/\s+/g,Lq=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 Fq)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 Fq(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=Lq;var TYe=aue(),cue=new TYe,RYe=PN(),Fq=m0(),ir=p0(),DYe=xi(),{safeRe:zi,t:vi,comparatorTrimReplace:QYe,tildeTrimReplace:kYe,caretTrimReplace:PYe}=gg(),{FLAG_INCLUDE_PRERELEASE:OYe,FLAG_LOOSE:LYe}=h0(),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!==Fq.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 m0=A((zWt,gue)=>{"use strict";var g0=Symbol("SemVer ANY"),qq=class t{static{o(this,"Comparator")}static get ANY(){return g0}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(" "),Uq("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===g0?this.value="":this.value=this.operator+this.semver.version,Uq("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=g0}toString(){return this.value}test(e){if(Uq("Comparator.test",e,this.options.loose),this.semver===g0||e===g0)return!0;if(typeof e=="string")try{e=new Aue(e,this.options)}catch{return!1}return Mq(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("=")||Mq(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Mq(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};gue.exports=qq;var fue=PN(),{safeRe:hue,t:pue}=gg(),Mq=Pq(),Uq=p0(),Aue=xi(),mue=Vo()});var y0=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((JWt,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((KWt,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((ZWt,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((tJt,xue)=>{"use strict";var Gq=xi(),oKe=Vo(),Bue=A0(),aKe=o((t,e)=>{t=new oKe(t,e);let r=new Gq("0.0.0");if(t.test(r)||(r=new Gq("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 Gq(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((nJt,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 $N=A((sJt,Que)=>{"use strict";var uKe=xi(),Due=m0(),{ANY:dKe}=Due,fKe=Vo(),hKe=y0(),Tue=A0(),Rue=qN(),pKe=HN(),AKe=GN(),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((aJt,kue)=>{"use strict";var gKe=$N(),yKe=o((t,e,r)=>gKe(t,e,">",r),"gtr");kue.exports=yKe});var Lue=A((lJt,Oue)=>{"use strict";var EKe=$N(),CKe=o((t,e,r)=>EKe(t,e,"<",r),"ltr");Oue.exports=CKe});var Uue=A((dJt,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((hJt,que)=>{"use strict";var wKe=y0(),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((pJt,jue)=>{"use strict";var Hue=Vo(),Vq=m0(),{ANY:Hq}=Vq,E0=y0(),zq=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 Vq(">=0.0.0-0")],Vue=[new Vq(">=0.0.0")],xKe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Hq){if(e.length===1&&e[0].semver===Hq)return!0;r.includePrerelease?t=BKe:t=Vue}if(e.length===1&&e[0].semver===Hq){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=zq(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&&!E0(p,String(i),r)||s&&!E0(p,String(s),r))return null;for(let m of e)if(!E0(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===">="&&!E0(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==="<="&&!E0(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=zq(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=zq(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");jue.exports=SKe});var jq=A((mJt,Kue)=>{"use strict";var $q=gg(),Jue=h0(),vKe=xi(),Yue=Tq(),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=UN(),qKe=Wle(),GKe=Yle(),HKe=A0(),VKe=qN(),zKe=Qq(),$Ke=kq(),jKe=GN(),WKe=HN(),JKe=Pq(),YKe=sue(),KKe=m0(),XKe=Vo(),ZKe=y0(),e7e=Cue(),t7e=wue(),r7e=Sue(),n7e=vue(),i7e=_ue(),s7e=$N(),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:$q.re,src:$q.src,tokens:$q.t,SEMVER_SPEC_VERSION:Jue.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jue.RELEASE_TYPES,compareIdentifiers:Yue.compareIdentifiers,rcompareIdentifiers:Yue.rcompareIdentifiers}});var Ede=A((g9t,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 s3=A((y9t,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((b9t,Tde)=>{var C9t=Ede(),Sde=s3();Tde.exports=k7e;var Bde="\0SLASH"+Math.random()+"\0",xde="\0OPEN"+Math.random()+"\0",c3="\0CLOSE"+Math.random()+"\0",vde="\0COMMA"+Math.random()+"\0",Nde="\0PERIOD"+Math.random()+"\0",T7e=1e5,R7e=4e6;function o3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(o3,"numeric");function D7e(t){return t.split("\\\\").join(Bde).split("\\{").join(xde).split("\\}").join(c3).split("\\,").join(vde).split("\\.").join(Nde)}o(D7e,"escapeBraces");function Q7e(t){return t.split(Bde).join("\\").split(xde).join("{").split(c3).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)),a3(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 S0(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(S0,"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=o3(i[0]),c=o3(i[1]),l=Math.max(i[0].length,i[1].length),u=i.length===3&&i[2]!==void 0?Math.max(Math.abs(o3(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 a3(t,e,r,n){for(var i=[""],s=[0],a=!1,c=!0,l;;){var u=Sde("{","}",t);if(!u)return S0(i,s,t,[""],e,r,a,[]);var d=u.pre;if(/\$$/.test(d))return S0(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+c3+u.post,n=!0,c=!0,a=!1,s=[];for(var g=0;g<i.length;g++)s.push(i[g].length);continue}return S0(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=a3(y[0],e,r,!1).map(P7e),y.length===1)){if(l=[],i=S0(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=a3(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=S0(i,s,d,E,e,r,a&&!u.post.length,l),s=l,!u.post.length)break;t=u.post}return i}o(a3,"expand")});var Lde=A((I9t,Ode)=>{Ode.exports=so;so.Minimatch=yn;var B0=(function(){try{return require("path")}catch{}})()||{sep:"/"};so.sep=B0.sep;var ap=so.GLOBSTAR=yn.GLOBSTAR={},U7e=Rde(),Dde={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},l3="[^/]",u3=l3+"*?",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 ZN(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);ZN(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&B0.sep!=="/"&&(t=t.split(B0.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,ZN(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:U7e(t)}o(Pde,"braceExpand");var j7e=1024*64,ZN=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 XN={};function W7e(t,e){ZN(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+=u3,i=!0;break;case"?":n+=l3,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,XN);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,XN),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==="*"?u3:C.type==="?"?l3:"\\"+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!==XN&&(Y="$");var z=H+V+ee+Y+J;n=z}if(n!==""&&i&&(n="(?=.)"+n),v&&(n=h+n),e===XN)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?u3: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;B0.sep!=="/"&&(e=e.split(B0.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 Ig=A((z9t,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 N0=A(($9t,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 Sg=A((Hc,Hde)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:f3,MAX_SAFE_BUILD_LENGTH:dXe,MAX_LENGTH:fXe}=Ig(),hXe=N0();Hc=Hde.exports={};var pXe=Hc.re=[],AXe=Hc.safeRe=[],ue=Hc.src=[],mXe=Hc.safeSrc=[],de=Hc.t={},gXe=0,h3="[a-zA-Z0-9-]",yXe=[["\\s",1],["\\d",fXe],[h3,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-]${h3}*`);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",`${h3}+`);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,${f3}})(?:\\.(\\d{1,${f3}}))?(?:\\.(\\d{1,${f3}}))?`);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 r_=A((W9t,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 p3=A((Y9t,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((X9t,Jde)=>{"use strict";var n_=N0(),{MAX_LENGTH:Wde,MAX_SAFE_INTEGER:i_}=Ig(),{safeRe:s_,t:o_}=Sg(),SXe=r_(),{compareIdentifiers:A3}=p3(),m3=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`);n_("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?s_[o_.LOOSE]:s_[o_.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>i_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i_||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<i_)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(n_("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(n_("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 A3(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(n_("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 A3(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?s_[o_.PRERELEASELOOSE]:s_[o_.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]),A3(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=m3});var df=A((eYt,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((rYt,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((iYt,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((oYt,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((cYt,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((uYt,cfe)=>{"use strict";var DXe=ui(),QXe=o((t,e)=>new DXe(t,e).major,"major");cfe.exports=QXe});var dfe=A((fYt,ufe)=>{"use strict";var kXe=ui(),PXe=o((t,e)=>new kXe(t,e).minor,"minor");ufe.exports=PXe});var hfe=A((pYt,ffe)=>{"use strict";var OXe=ui(),LXe=o((t,e)=>new OXe(t,e).patch,"patch");ffe.exports=LXe});var Afe=A((mYt,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((yYt,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((CYt,yfe)=>{"use strict";var qXe=Wo(),GXe=o((t,e,r)=>qXe(e,t,r),"rcompare");yfe.exports=GXe});var bfe=A((wYt,Cfe)=>{"use strict";var HXe=Wo(),VXe=o((t,e)=>HXe(t,e,!0),"compareLoose");Cfe.exports=VXe});var a_=A((SYt,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((xYt,Sfe)=>{"use strict";var $Xe=a_(),jXe=o((t,e)=>t.sort((r,n)=>$Xe(r,n,e)),"sort");Sfe.exports=jXe});var vfe=A((NYt,xfe)=>{"use strict";var WXe=a_(),JXe=o((t,e)=>t.sort((r,n)=>WXe(n,r,e)),"rsort");xfe.exports=JXe});var _0=A((TYt,Nfe)=>{"use strict";var YXe=Wo(),KXe=o((t,e,r)=>YXe(t,e,r)>0,"gt");Nfe.exports=KXe});var c_=A((DYt,_fe)=>{"use strict";var XXe=Wo(),ZXe=o((t,e,r)=>XXe(t,e,r)<0,"lt");_fe.exports=ZXe});var g3=A((kYt,Tfe)=>{"use strict";var eZe=Wo(),tZe=o((t,e,r)=>eZe(t,e,r)===0,"eq");Tfe.exports=tZe});var y3=A((OYt,Rfe)=>{"use strict";var rZe=Wo(),nZe=o((t,e,r)=>rZe(t,e,r)!==0,"neq");Rfe.exports=nZe});var l_=A((FYt,Dfe)=>{"use strict";var iZe=Wo(),sZe=o((t,e,r)=>iZe(t,e,r)>=0,"gte");Dfe.exports=sZe});var u_=A((UYt,Qfe)=>{"use strict";var oZe=Wo(),aZe=o((t,e,r)=>oZe(t,e,r)<=0,"lte");Qfe.exports=aZe});var E3=A((GYt,kfe)=>{"use strict";var cZe=g3(),lZe=y3(),uZe=_0(),dZe=l_(),fZe=c_(),hZe=u_(),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((VYt,Pfe)=>{"use strict";var AZe=ui(),mZe=df(),{safeRe:d_,t:f_}=Sg(),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?d_[f_.COERCEFULL]:d_[f_.COERCE]);else{let l=e.includePrerelease?d_[f_.COERCERTLFULL]:d_[f_.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(($Yt,Lfe)=>{"use strict";var yZe=df(),EZe=Ig(),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((WYt,Mfe)=>{"use strict";var C3=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=C3});var Jo=A((YYt,Vfe)=>{"use strict";var BZe=/\s+/g,b3=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 w3)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 w3(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=b3;var xZe=Ufe(),qfe=new xZe,vZe=r_(),w3=T0(),sr=N0(),NZe=ui(),{safeRe:ji,src:_Ze,t:di,comparatorTrimReplace:TZe,tildeTrimReplace:RZe,caretTrimReplace:DZe}=Sg(),{FLAG_INCLUDE_PRERELEASE:QZe,FLAG_LOOSE:kZe}=Ig(),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!==w3.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 T0=A((XYt,Yfe)=>{"use strict";var R0=Symbol("SemVer ANY"),B3=class t{static{o(this,"Comparator")}static get ANY(){return R0}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(" "),S3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===R0?this.value="":this.value=this.operator+this.semver.version,S3("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=R0}toString(){return this.value}test(e){if(S3("Comparator.test",e,this.options.loose),this.semver===R0||e===R0)return!0;if(typeof e=="string")try{e=new Wfe(e,this.options)}catch{return!1}return I3(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("=")||I3(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||I3(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Yfe.exports=B3;var zfe=r_(),{safeRe:$fe,t:jfe}=Sg(),I3=E3(),S3=N0(),Wfe=ui(),Jfe=Jo()});var D0=A((eKt,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((rKt,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((iKt,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((oKt,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((cKt,she)=>{"use strict";var x3=ui(),iet=Jo(),ihe=_0(),set=o((t,e)=>{t=new iet(t,e);let r=new x3("0.0.0");if(t.test(r)||(r=new x3("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 x3(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((uKt,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 h_=A((fKt,fhe)=>{"use strict";var cet=ui(),dhe=T0(),{ANY:uet}=dhe,det=Jo(),fet=D0(),lhe=_0(),uhe=c_(),het=u_(),pet=l_(),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((pKt,hhe)=>{"use strict";var met=h_(),get=o((t,e,r)=>met(t,e,">",r),"gtr");hhe.exports=get});var mhe=A((mKt,Ahe)=>{"use strict";var yet=h_(),Eet=o((t,e,r)=>yet(t,e,"<",r),"ltr");Ahe.exports=Eet});var Ehe=A((yKt,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((CKt,Che)=>{"use strict";var bet=D0(),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((bKt,xhe)=>{"use strict";var whe=Jo(),_3=T0(),{ANY:v3}=_3,N3=D0(),T3=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 _3(">=0.0.0-0")],Ihe=[new _3(">=0.0.0")],xet=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===v3){if(e.length===1&&e[0].semver===v3)return!0;r.includePrerelease?t=Bet:t=Ihe}if(e.length===1&&e[0].semver===v3){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=T3(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&&!N3(p,String(i),r)||s&&!N3(p,String(s),r))return null;for(let m of e)if(!N3(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=T3(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=T3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");xhe.exports=Iet});var Rhe=A((IKt,The)=>{"use strict";var R3=Sg(),Nhe=Ig(),vet=ui(),_he=p3(),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=a_(),qet=Bfe(),Get=vfe(),Het=_0(),Vet=c_(),zet=g3(),$et=y3(),jet=l_(),Wet=u_(),Jet=E3(),Yet=Ofe(),Ket=Ffe(),Xet=T0(),Zet=Jo(),ett=D0(),ttt=Zfe(),rtt=the(),ntt=nhe(),itt=ohe(),stt=che(),ott=h_(),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:R3.re,src:R3.src,tokens:R3.t,SEMVER_SPEC_VERSION:Nhe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Nhe.RELEASE_TYPES,compareIdentifiers:_he.compareIdentifiers,rcompareIdentifiers:_he.rcompareIdentifiers}});var Epe=A((NXt,ype)=>{var Rg=1e3,Dg=Rg*60,Qg=Dg*60,mp=Qg*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*Qg;case"minutes":case"minute":case"mins":case"min":case"m":return r*Dg;case"seconds":case"second":case"secs":case"sec":case"s":return r*Rg;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>=Qg?Math.round(t/Qg)+"h":e>=Dg?Math.round(t/Dg)+"m":e>=Rg?Math.round(t/Rg)+"s":t+"ms"}o(Ytt,"fmtShort");function Ktt(t){var e=Math.abs(t);return e>=mp?M_(t,e,mp,"day"):e>=Qg?M_(t,e,Qg,"hour"):e>=Dg?M_(t,e,Dg,"minute"):e>=Rg?M_(t,e,Rg,"second"):t+" ms"}o(Ktt,"fmtLong");function M_(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(M_,"plural")});var rG=A((TXt,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,U_)=>{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 ":" ")+"+"+U_.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");U_.exports=rG()(co);var{formatters:irt}=U_.exports;irt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Ipe=A((QXt,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 sG=A((kXt,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 nG(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(nG,"translateLevel");function iG(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(iG,"supportsColor");function ort(t){let e=iG(t,t&&t.isTTY);return nG(e)}o(ort,"getSupportLevel");Bpe.exports={supportsColor:ort,stdout:nG(iG(!0,Spe.isatty(1))),stderr:nG(iG(!0,Spe.isatty(2)))}});var vpe=A((fi,G_)=>{var art=require("tty"),q_=require("util");fi.init=prt;fi.log=drt;fi.formatArgs=lrt;fi.save=frt;fi.load=hrt;fi.useColors=crt;fi.destroy=q_.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=sG();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+"+G_.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(q_.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");G_.exports=rG()(fi);var{formatters:xpe}=G_.exports;xpe.o=function(t){return this.inspectOpts.colors=this.useColors,q_.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};xpe.O=function(t){return this.inspectOpts.colors=this.useColors,q_.inspect(t,this.inspectOpts)}});var H_=A((LXt,oG)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?oG.exports=bpe():oG.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"),aG=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=aG});var Ppe=A(kg=>{"use strict";var Brt=kg&&kg.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kg,"__esModule",{value:!0});kg.parseProxyResponse=void 0;var xrt=Brt(H_()),V_=(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(),V_("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),V_("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){V_("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}V_("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");kg.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 z_=Mpe(require("net")),Ope=Mpe(require("tls")),Trt=Upe(require("assert")),Rrt=Upe(H_()),Drt=kpe(),Qrt=require("url"),krt=Ppe(),H0=(0,Rrt.default)("https-proxy-agent"),Lpe=o(t=>t.servername===void 0&&t.host&&!z_.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),$_=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??{},H0("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:"?(H0("Creating `tls.Socket`: %o",this.connectOpts),i=Ope.connect(Lpe(this.connectOpts))):(H0("Creating `net.Socket`: %o",this.connectOpts),i=z_.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=z_.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?(H0("Upgrading socket connection to TLS"),Ope.connect({...Fpe(Lpe(r),"host","path","port"),socket:i})):i;i.destroy();let f=new z_.Socket({writable:!1});return f.readable=!0,e.once("socket",h=>{H0("Replaying proxy buffer for failed request"),(0,Trt.default)(h.listenerCount("data")>0),h.push(d),h.push(null)}),f}};$_.protocols=["http","https"];Xo.HttpsProxyAgent=$_;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"),cG=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=cG});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(H_()),Xrt=require("events"),Zrt=Wpe(),Jpe=require("url"),Pg=(0,Krt.default)("http-proxy-agent"),j_=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??{},Pg("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;Pg("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Pg("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),Pg("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Pg("Creating `tls.Socket`: %o",this.connectOpts),s=Yrt.connect(this.connectOpts)):(Pg("Creating `net.Socket`: %o",this.connectOpts),s=Jrt.connect(this.connectOpts)),await(0,Xrt.once)(s,"connect"),s}};j_.protocols=["http","https"];Zo.HttpProxyAgent=j_;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(aT=>{"use strict";Object.defineProperty(aT,"__esModule",{value:!0});aT.state=void 0;aT.state={instrumenterImplementation:void 0}});var OAe=A(fT=>{"use strict";Object.defineProperty(fT,"__esModule",{value:!0});fT.state=void 0;fT.state={operationRequestMap:new WeakMap}});var fye=A(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});var Mct=require("os"),Uct=require("util");function qct(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(qct,"_interopDefaultLegacy");var Gct=qct(Uct);function Hct(t,...e){process.stderr.write(`${Gct.default.format(t,...e)}${Mct.EOL}`)}o(Hct,"log");var rye=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,iye,W5=[],J5=[],QR=[];rye&&Y5(rye);var sye=Object.assign(t=>oye(t),{enable:Y5,enabled:K5,disable:Vct,log:Hct});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 QR)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 Vct(){let t=iye||"";return Y5(""),t}o(Vct,"disable");function oye(t){let e=Object.assign(r,{enabled:K5(t),destroy:zct,log:sye.log,namespace:t,extend:$ct});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),QR.push(e),e}o(oye,"createDebugger");function zct(){let t=QR.indexOf(this);return t>=0?(QR.splice(t,1),!0):!1}o(zct,"destroy");function $ct(t){let e=oye(`${this.namespace}:${t}`);return e.log=this.log,e}o($ct,"extend");var Qw=sye,aye=new Set,RR=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,kR,PR=Qw("azure");PR.log=(...t)=>{Qw.log(...t)};var X5=["verbose","info","warning","error"];RR&&(dye(RR)?cye(RR):console.error(`AZURE_LOG_LEVEL set to unknown log level '${RR}'; 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(",")}`);kR=t;let e=[];for(let r of aye)uye(r)&&e.push(r.namespace);Qw.enable(e.join(","))}o(cye,"setLogLevel");function jct(){return kR}o(jct,"getLogLevel");var nye={verbose:400,info:300,warning:200,error:100};function Wct(t){let e=PR.extend(t);return lye(PR,e),{error:DR(e,"error"),warning:DR(e,"warning"),info:DR(e,"info"),verbose:DR(e,"verbose")}}o(Wct,"createClientLogger");function lye(t,e){e.log=(...r)=>{t.log(...r)}}o(lye,"patchLogMethod");function DR(t,e){let r=Object.assign(t.extend(e),{level:e});if(lye(t,r),uye(r)){let n=Qw.disable();Qw.enable(n+","+r.namespace)}return aye.add(r),r}o(DR,"createLogger");function uye(t){return!!(kR&&nye[t.level]<=nye[kR])}o(uye,"shouldEnable");function dye(t){return X5.includes(t)}o(dye,"isAzureLogLevel");ry.AzureLogger=PR;ry.createClientLogger=Wct;ry.getLogLevel=jct;ry.setLogLevel=cye});var tz=A(Pw=>{"use strict";Object.defineProperty(Pw,"__esModule",{value:!0});var ny=new WeakMap,OR=new WeakMap,kw=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,ny.set(this,[]),OR.set(this,!1)}get aborted(){if(!OR.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return OR.get(this)}static get none(){return new t}addEventListener(e,r){if(!ny.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");ny.get(this).push(r)}removeEventListener(e,r){if(!ny.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=ny.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=ny.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),OR.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 kw,!!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 kw,n=setTimeout(hye,e,r);return typeof n.unref=="function"&&n.unref(),r}};Pw.AbortController=ez;Pw.AbortError=Z5;Pw.AbortSignal=kw});var yye=A(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});var Jct=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 Jct.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 Yct="The delay was aborted.";function Kct(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??Yct})}o(Kct,"delay");function Xct(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Xct,"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 Zct(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(Zct,"getErrorMessage");async function elt(t,e,r){let n=Buffer.from(t,"base64");return cz.createHmac("sha256",n).update(e).digest(r)}o(elt,"computeSha256Hmac");async function tlt(t,e){return cz.createHash("sha256").update(t).digest(e)}o(tlt,"computeSha256Hash");function lz(t){return typeof t<"u"&&t!==null}o(lz,"isDefined");function rlt(t,e){if(!lz(t)||typeof t!="object")return!1;for(let r of e)if(!gye(t,r))return!1;return!0}o(rlt,"isObjectWithProperties");function gye(t,e){return lz(t)&&typeof t=="object"&&e in t}o(gye,"objectHasProperty");function nlt(){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(nlt,"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=nlt);function ilt(){return az()}o(ilt,"randomUUID");var nz,iz,sz,oz,slt=typeof window<"u"&&typeof window.document<"u",olt=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"),alt=typeof process<"u"&&!!process.version&&!!(!((oz=process.versions)===null||oz===void 0)&&oz.node),clt=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",llt=typeof Bun<"u"&&typeof Bun.version<"u",ult=typeof navigator<"u"&&navigator?.product==="ReactNative";function dlt(t,e){switch(e){case"utf-8":return Alt(t);case"base64":return hlt(t);case"base64url":return plt(t)}}o(dlt,"uint8ArrayToString");function flt(t,e){switch(e){case"utf-8":return mlt(t);case"base64":return glt(t);case"base64url":return ylt(t)}}o(flt,"stringToUint8Array");function hlt(t){return Buffer.from(t).toString("base64")}o(hlt,"uint8ArrayToBase64");function plt(t){return Buffer.from(t).toString("base64url")}o(plt,"uint8ArrayToBase64Url");function Alt(t){return Buffer.from(t).toString("utf-8")}o(Alt,"uint8ArrayToUtf8String");function mlt(t){return Buffer.from(t)}o(mlt,"utf8StringToUint8Array");function glt(t){return Buffer.from(t,"base64")}o(glt,"base64ToUint8Array");function ylt(t){return Buffer.from(t,"base64url")}o(ylt,"base64UrlToUint8Array");Ur.computeSha256Hash=tlt;Ur.computeSha256Hmac=elt;Ur.createAbortablePromise=pye;Ur.delay=Kct;Ur.getErrorMessage=Zct;Ur.getRandomIntegerInclusive=Xct;Ur.isBrowser=slt;Ur.isBun=llt;Ur.isDefined=lz;Ur.isDeno=clt;Ur.isError=mye;Ur.isNode=alt;Ur.isObject=Aye;Ur.isObjectWithProperties=rlt;Ur.isReactNative=ult;Ur.isWebWorker=olt;Ur.objectHasProperty=gye;Ur.randomUUID=ilt;Ur.stringToUint8Array=flt;Ur.uint8ArrayToString=dlt});var Mye=A(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});var Elt=fye(),Eye=tz(),Clt=yye(),Lp=Elt.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 blt(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(blt,"appendReadableErrorMessage");function wlt(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=blt(e,n.message);return{code:r,message:e}}o(wlt,"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}=wlt(u);d=`. ${h}. ${p}`}let f=`The long-running operation has failed${d}`;r.setError(e,new Error(f)),r.setFailed(e),Lp.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,Ilt({response:c,state:e,processResult:s}))}o(Sye,"processOperationStatus");function Ilt(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Ilt,"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};Lp.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 Slt(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(Lp.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(Slt,"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 Slt({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 Blt(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(Blt,"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:Blt({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 Lp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(Dye,"transformStatus");function xlt(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return Dye({status:r,statusCode:t.statusCode})}o(xlt,"getStatus");function vlt(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(vlt,"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)?Nlt(new Date(e)):r*1e3}}o(Qye,"parseRetryAfter");function kye(t){let e=t.flatResponse.error;if(!e){Lp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Lp.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 Nlt(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(Nlt,"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 _lt(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(_lt,"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 xlt(t);case"ResourceLocation":return fz(t.statusCode);case"Body":return vlt(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 Tlt(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(Tlt,"pollHttpOperation");var Rlt=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 Dlt(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=Rlt(),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 Clt.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(Dlt,"buildCreatePoller");async function Qlt(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Dlt({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(Qlt,"createHttpPoller");var klt=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=klt();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await _lt({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 Tlt({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 Lp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},LR=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},FR=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},MR=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 FR("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 LR("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 MR{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))}};Fp.LroEngine=dz;Fp.Poller=MR;Fp.PollerCancelledError=FR;Fp.PollerStoppedError=LR;Fp.createHttpPoller=Qlt});var aEe=A((Uyr,tut)=>{tut.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((qyr,cEe)=>{var rut=aEe();cEe.exports={version:rut.version}});var XR=A(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.isJsonObject=cy.typeofJsonValue=void 0;function uut(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(uut,"typeofJsonValue");cy.typeofJsonValue=uut;function dut(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(dut,"isJsonObject");cy.isJsonObject=dut});var e2=A(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.base64encode=ly.base64decode=void 0;var Xu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),ZR=[];for(let t=0;t<Xu.length;t++)ZR[Xu[t].charCodeAt(0)]=t;ZR[45]=Xu.indexOf("+");ZR[95]=Xu.indexOf("/");function fut(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=ZR[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(fut,"base64decode");ly.base64decode=fut;function hut(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(hut,"base64encode");ly.base64encode=hut});var AEe=A(t2=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});t2.utf8read=void 0;var Sz=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function put(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(put,"utf8read");t2.utf8read=put});var Hw=A(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.WireType=bl.mergeBinaryOptions=bl.UnknownFieldHandler=void 0;var Aut;(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")})(Aut=bl.UnknownFieldHandler||(bl.UnknownFieldHandler={}));function mut(t,e){return Object.assign(Object.assign({},t),e)}o(mut,"mergeBinaryOptions");bl.mergeBinaryOptions=mut;var gut;(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"})(gut=bl.WireType||(bl.WireType={}))});var n2=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 yut(){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(yut,"varint64read");Ds.varint64read=yut;function Eut(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(Eut,"varint64write");Ds.varint64write=Eut;var r2=65536*65536;function Cut(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>=r2&&(i=i+(n/r2|0),n=n%r2)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(Cut,"int64fromString");Ds.int64fromString=Cut;function but(t,e){if(e>>>0<=2097151)return""+(r2*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(but,"int64toString");Ds.int64toString=but;function wut(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(wut,"varint32write");Ds.varint32write=wut;function Iut(){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(Iut,"varint32read");Ds.varint32read=Iut});var xf=A(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.PbLong=Bf.PbULong=Bf.detectBi=void 0;var Vw=n2(),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]+$/,s2=4294967296,i2=2147483648,o2=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*s2+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},zw=class t extends o2{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]=Vw.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/s2)}throw new Error("unknown value "+typeof e)}toString(){return Wt?this.toBigInt().toString():Vw.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=zw;zw.ZERO=new zw(0,0);var $w=class t extends o2{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]=Vw.int64fromString(e);if(r){if(i>i2||i==i2&&n!=0)throw new Error("signed long too small")}else if(i>=i2)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/s2):new t(-e,-e/s2).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&i2)!==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"-"+Vw.int64toString(e.lo,e.hi)}return Vw.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=$w;$w.ZERO=new $w(0,0)});var Bz=A(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.BinaryReader=dy.binaryReadOptions=void 0;var uy=Hw(),jw=xf(),EEe=n2(),CEe={readUnknownField:!0,readerFactory:o(t=>new a2(t),"readerFactory")};function Sut(t){return t?Object.assign(Object.assign({},CEe),t):CEe}o(Sut,"binaryReadOptions");dy.binaryReadOptions=Sut;var a2=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 uy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case uy.WireType.Bit64:this.pos+=4;case uy.WireType.Bit32:this.pos+=4;break;case uy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case uy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==uy.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 jw.PbLong(...this.varint64())}uint64(){return new jw.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 jw.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 jw.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new jw.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())}};dy.BinaryReader=a2});var fy=A(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.assertFloat32=oa.assertUInt32=oa.assertInt32=oa.assertNever=oa.assert=void 0;function But(t,e){if(!t)throw new Error(e)}o(But,"assert");oa.assert=But;function xut(t,e){throw new Error(e??"Unexpected object: "+t)}o(xut,"assertNever");oa.assertNever=xut;var vut=34028234663852886e22,Nut=-34028234663852886e22,_ut=4294967295,Tut=2147483647,Rut=-2147483648;function Dut(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Tut||t<Rut)throw new Error("invalid int 32: "+t)}o(Dut,"assertInt32");oa.assertInt32=Dut;function Qut(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>_ut||t<0)throw new Error("invalid uint 32: "+t)}o(Qut,"assertUInt32");oa.assertUInt32=Qut;function kut(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>vut||t<Nut))throw new Error("invalid float 32: "+t)}o(kut,"assertFloat32");oa.assertFloat32=kut});var xz=A(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.BinaryWriter=py.binaryWriteOptions=void 0;var Ww=xf(),Jw=n2(),hy=fy(),bEe={writeUnknownFields:!0,writerFactory:o(()=>new c2,"writerFactory")};function Put(t){return t?Object.assign(Object.assign({},bEe),t):bEe}o(Put,"binaryWriteOptions");py.binaryWriteOptions=Put;var c2=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(hy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return hy.assertInt32(e),Jw.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){hy.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){hy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){hy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return hy.assertInt32(e),e=(e<<1^e>>31)>>>0,Jw.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Ww.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=Ww.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Ww.PbLong.from(e);return Jw.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Ww.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Jw.varint64write(i,s,this.buf),this}uint64(e){let r=Ww.PbULong.from(e);return Jw.varint64write(r.lo,r.hi,this.buf),this}};py.BinaryWriter=c2});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 Out(t){return t?Object.assign(Object.assign({},IEe),t):IEe}o(Out,"jsonReadOptions");vf.jsonReadOptions=Out;function Lut(t){return t?Object.assign(Object.assign({},wEe),t):wEe}o(Lut,"jsonWriteOptions");vf.jsonWriteOptions=Lut;function Fut(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(Fut,"mergeJsonOptions");vf.mergeJsonOptions=Fut});var Yw=A(l2=>{"use strict";Object.defineProperty(l2,"__esModule",{value:!0});l2.MESSAGE_TYPE=void 0;l2.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Nz=A(u2=>{"use strict";Object.defineProperty(u2,"__esModule",{value:!0});u2.lowerCamelCase=void 0;function Mut(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(Mut,"lowerCamelCase");u2.lowerCamelCase=Mut});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(),Uut;(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"})(Uut=Rn.ScalarType||(Rn.ScalarType={}));var qut;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(qut=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 Gut(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(Gut,"normalizeFieldInfo");Rn.normalizeFieldInfo=Gut;function Hut(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(Hut,"readFieldOptions");Rn.readFieldOptions=Hut;function Vut(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(Vut,"readFieldOption");Rn.readFieldOption=Vut;function zut(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(zut,"readMessageOption");Rn.readMessageOption=zut});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 $ut(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($ut,"isOneofGroup");Qs.isOneofGroup=$ut;function jut(t,e){return t[e]}o(jut,"getOneofValue");Qs.getOneofValue=jut;function Wut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(Wut,"setOneofValue");Qs.setOneofValue=Wut;function Jut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Jut,"setUnknownOneofValue");Qs.setUnknownOneofValue=Jut;function Yut(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(Yut,"clearOneofValue");Qs.clearOneofValue=Yut;function Kut(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Kut,"getSelectedOneofValue");Qs.getSelectedOneofValue=Kut});var Rz=A(d2=>{"use strict";Object.defineProperty(d2,"__esModule",{value:!0});d2.ReflectionTypeCheck=void 0;var qr=ac(),Xut=_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(!Xut.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)}}};d2.ReflectionTypeCheck=Tz});var h2=A(f2=>{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});f2.reflectionLongConvert=void 0;var xEe=ac();function Zut(t,e){switch(e){case xEe.LongType.BIGINT:return t.toBigInt();case xEe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(Zut,"reflectionLongConvert");f2.reflectionLongConvert=Zut});var Qz=A(m2=>{"use strict";Object.defineProperty(m2,"__esModule",{value:!0});m2.ReflectionJsonReader=void 0;var vEe=XR(),edt=e2(),Dn=ac(),p2=xf(),Up=fy(),A2=h2(),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"&&Up.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 Up.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:(Up.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Up.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&&Up.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?Up.assertUInt32(c):Up.assertInt32(c),c;case Dn.ScalarType.INT64:case Dn.ScalarType.SFIXED64:case Dn.ScalarType.SINT64:if(e===null)return A2.reflectionLongConvert(p2.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return A2.reflectionLongConvert(p2.PbLong.from(e),n);case Dn.ScalarType.FIXED64:case Dn.ScalarType.UINT64:if(e===null)return A2.reflectionLongConvert(p2.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return A2.reflectionLongConvert(p2.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 edt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};m2.ReflectionJsonReader=Dz});var Pz=A(g2=>{"use strict";Object.defineProperty(g2,"__esModule",{value:!0});g2.ReflectionJsonWriter=void 0;var tdt=e2(),NEe=xf(),es=ac(),br=fy(),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?tdt.base64encode(r):a?"":void 0}}};g2.ReflectionJsonWriter=kz});var E2=A(y2=>{"use strict";Object.defineProperty(y2,"__esModule",{value:!0});y2.reflectionScalarDefault=void 0;var cc=ac(),_Ee=h2(),TEe=xf();function rdt(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(rdt,"reflectionScalarDefault");y2.reflectionScalarDefault=rdt});var Lz=A(C2=>{"use strict";Object.defineProperty(C2,"__esModule",{value:!0});C2.ReflectionBinaryReader=void 0;var REe=Hw(),rn=ac(),Kw=h2(),DEe=E2(),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 Kw.reflectionLongConvert(e.int64(),n);case rn.ScalarType.UINT64:return Kw.reflectionLongConvert(e.uint64(),n);case rn.ScalarType.FIXED64:return Kw.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 Kw.reflectionLongConvert(e.sfixed64(),n);case rn.ScalarType.SINT32:return e.sint32();case rn.ScalarType.SINT64:return Kw.reflectionLongConvert(e.sint64(),n)}}};C2.ReflectionBinaryReader=Oz});var Mz=A(b2=>{"use strict";Object.defineProperty(b2,"__esModule",{value:!0});b2.ReflectionBinaryWriter=void 0;var yo=Hw(),er=ac(),Ay=fy(),Xw=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(Ay.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?Ay.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){Ay.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":Ay.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:Ay.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;Ay.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||Xw.PbLong.from(r).isZero(),i="int64";break;case er.ScalarType.UINT64:a=s||Xw.PbULong.from(r).isZero(),i="uint64";break;case er.ScalarType.FIXED64:a=s||Xw.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||Xw.PbLong.from(r).isZero(),n=yo.WireType.Bit64,i="sfixed64";break;case er.ScalarType.SINT32:i="sint32";break;case er.ScalarType.SINT64:a=s||Xw.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};b2.ReflectionBinaryWriter=Fz});var Uz=A(w2=>{"use strict";Object.defineProperty(w2,"__esModule",{value:!0});w2.reflectionCreate=void 0;var ndt=E2(),idt=Yw();function sdt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},idt.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]=ndt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(sdt,"reflectionCreate");w2.reflectionCreate=sdt});var qz=A(I2=>{"use strict";Object.defineProperty(I2,"__esModule",{value:!0});I2.reflectionMergePartial=void 0;function odt(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(odt,"reflectionMergePartial");I2.reflectionMergePartial=odt});var Hz=A(B2=>{"use strict";Object.defineProperty(B2,"__esModule",{value:!0});B2.reflectionEquals=void 0;var Gz=ac();function adt(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(),S2(s),S2(a)):QEe(n.V.kind=="enum"?Gz.ScalarType.INT32:n.V.T,S2(s),S2(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(adt,"reflectionEquals");B2.reflectionEquals=adt;var S2=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(x2=>{"use strict";Object.defineProperty(x2,"__esModule",{value:!0});x2.MessageType=void 0;var cdt=Yw(),ldt=ac(),udt=Rz(),ddt=Qz(),fdt=Pz(),hdt=Lz(),pdt=Mz(),Adt=Uz(),Vz=qz(),mdt=XR(),OEe=vz(),gdt=Hz(),ydt=xz(),Edt=Bz(),LEe=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),Cdt=LEe[cdt.MESSAGE_TYPE]={},zz=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(ldt.normalizeFieldInfo),this.options=n??{},Cdt.value=this,this.messagePrototype=Object.create(null,LEe),this.refTypeCheck=new udt.ReflectionTypeCheck(this),this.refJsonReader=new ddt.ReflectionJsonReader(this),this.refJsonWriter=new fdt.ReflectionJsonWriter(this),this.refBinReader=new hdt.ReflectionBinaryReader(this),this.refBinWriter=new pdt.ReflectionBinaryWriter(this)}create(e){let r=Adt.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 gdt.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=Edt.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=ydt.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 ${mdt.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}};x2.MessageType=zz});var MEe=A(v2=>{"use strict";Object.defineProperty(v2,"__esModule",{value:!0});v2.containsMessageType=void 0;var bdt=Yw();function wdt(t){return t[bdt.MESSAGE_TYPE]!=null}o(wdt,"containsMessageType");v2.containsMessageType=wdt});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 Idt(t){return $z(t).map(e=>e.name)}o(Idt,"listEnumNames");wl.listEnumNames=Idt;function Sdt(t){return $z(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(Sdt,"listEnumNumbers");wl.listEnumNumbers=Sdt});var nn=A(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});var GEe=XR();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=e2();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 Bdt=AEe();Object.defineProperty(Re,"utf8read",{enumerable:!0,get:o(function(){return Bdt.utf8read},"get")});var jz=Hw();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 xdt=Yw();Object.defineProperty(Re,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return xdt.MESSAGE_TYPE},"get")});var vdt=FEe();Object.defineProperty(Re,"MessageType",{enumerable:!0,get:o(function(){return vdt.MessageType},"get")});var qp=ac();Object.defineProperty(Re,"ScalarType",{enumerable:!0,get:o(function(){return qp.ScalarType},"get")});Object.defineProperty(Re,"LongType",{enumerable:!0,get:o(function(){return qp.LongType},"get")});Object.defineProperty(Re,"RepeatType",{enumerable:!0,get:o(function(){return qp.RepeatType},"get")});Object.defineProperty(Re,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return qp.normalizeFieldInfo},"get")});Object.defineProperty(Re,"readFieldOptions",{enumerable:!0,get:o(function(){return qp.readFieldOptions},"get")});Object.defineProperty(Re,"readFieldOption",{enumerable:!0,get:o(function(){return qp.readFieldOption},"get")});Object.defineProperty(Re,"readMessageOption",{enumerable:!0,get:o(function(){return qp.readMessageOption},"get")});var Ndt=Rz();Object.defineProperty(Re,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return Ndt.ReflectionTypeCheck},"get")});var _dt=Uz();Object.defineProperty(Re,"reflectionCreate",{enumerable:!0,get:o(function(){return _dt.reflectionCreate},"get")});var Tdt=E2();Object.defineProperty(Re,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return Tdt.reflectionScalarDefault},"get")});var Rdt=qz();Object.defineProperty(Re,"reflectionMergePartial",{enumerable:!0,get:o(function(){return Rdt.reflectionMergePartial},"get")});var Ddt=Hz();Object.defineProperty(Re,"reflectionEquals",{enumerable:!0,get:o(function(){return Ddt.reflectionEquals},"get")});var Qdt=Lz();Object.defineProperty(Re,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Qdt.ReflectionBinaryReader},"get")});var kdt=Mz();Object.defineProperty(Re,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return kdt.ReflectionBinaryWriter},"get")});var Pdt=Qz();Object.defineProperty(Re,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Pdt.ReflectionJsonReader},"get")});var Odt=Pz();Object.defineProperty(Re,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Odt.ReflectionJsonWriter},"get")});var Ldt=MEe();Object.defineProperty(Re,"containsMessageType",{enumerable:!0,get:o(function(){return Ldt.containsMessageType},"get")});var Zw=_z();Object.defineProperty(Re,"isOneofGroup",{enumerable:!0,get:o(function(){return Zw.isOneofGroup},"get")});Object.defineProperty(Re,"setOneofValue",{enumerable:!0,get:o(function(){return Zw.setOneofValue},"get")});Object.defineProperty(Re,"getOneofValue",{enumerable:!0,get:o(function(){return Zw.getOneofValue},"get")});Object.defineProperty(Re,"clearOneofValue",{enumerable:!0,get:o(function(){return Zw.clearOneofValue},"get")});Object.defineProperty(Re,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Zw.getSelectedOneofValue},"get")});var N2=qEe();Object.defineProperty(Re,"listEnumValues",{enumerable:!0,get:o(function(){return N2.listEnumValues},"get")});Object.defineProperty(Re,"listEnumNames",{enumerable:!0,get:o(function(){return N2.listEnumNames},"get")});Object.defineProperty(Re,"listEnumNumbers",{enumerable:!0,get:o(function(){return N2.listEnumNumbers},"get")});Object.defineProperty(Re,"isEnumObject",{enumerable:!0,get:o(function(){return N2.isEnumObject},"get")});var Fdt=Nz();Object.defineProperty(Re,"lowerCamelCase",{enumerable:!0,get:o(function(){return Fdt.lowerCamelCase},"get")});var eI=fy();Object.defineProperty(Re,"assert",{enumerable:!0,get:o(function(){return eI.assert},"get")});Object.defineProperty(Re,"assertNever",{enumerable:!0,get:o(function(){return eI.assertNever},"get")});Object.defineProperty(Re,"assertInt32",{enumerable:!0,get:o(function(){return eI.assertInt32},"get")});Object.defineProperty(Re,"assertUInt32",{enumerable:!0,get:o(function(){return eI.assertUInt32},"get")});Object.defineProperty(Re,"assertFloat32",{enumerable:!0,get:o(function(){return eI.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 Mdt=nn();function Udt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:Mdt.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(Udt,"normalizeMethodInfo");Il.normalizeMethodInfo=Udt;function qdt(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(qdt,"readMethodOptions");Il.readMethodOptions=qdt;function Gdt(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(Gdt,"readMethodOption");Il.readMethodOption=Gdt;function Hdt(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(Hdt,"readServiceOption");Il.readServiceOption=Hdt});var jEe=A(_2=>{"use strict";Object.defineProperty(_2,"__esModule",{value:!0});_2.ServiceType=void 0;var Vdt=Jz(),Yz=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>Vdt.normalizeMethodInfo(i,this)),this.options=n??{}}};_2.ServiceType=Yz});var Xz=A(T2=>{"use strict";Object.defineProperty(T2,"__esModule",{value:!0});T2.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(`
|
|
`)}};T2.RpcError=Kz});var Zz=A(D2=>{"use strict";Object.defineProperty(D2,"__esModule",{value:!0});D2.mergeRpcOptions=void 0;var WEe=nn();function zdt(t,e){if(!e)return t;let r={};R2(t,r),R2(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={},R2(t.meta,r.meta),R2(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(zdt,"mergeRpcOptions");D2.mergeRpcOptions=zdt;function R2(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(R2,"copy")});var t$=A(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.Deferred=Gp.DeferredState=void 0;var Sl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Sl=Gp.DeferredState||(Gp.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)}};Gp.Deferred=e$});var n$=A(Q2=>{"use strict";Object.defineProperty(Q2,"__esModule",{value:!0});Q2.RpcOutputStreamController=void 0;var JEe=t$(),Hp=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){Hp.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){Hp.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){Hp.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(){Hp.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;Hp.assert(e,"bad state"),Hp.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;Hp.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)}};Q2.RpcOutputStreamController=r$});var s$=A(my=>{"use strict";var $dt=my&&my.__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(my,"__esModule",{value:!0});my.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 $dt(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}})}};my.UnaryCall=i$});var a$=A(gy=>{"use strict";var jdt=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.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}})}};gy.ServerStreamingCall=o$});var l$=A(yy=>{"use strict";var Wdt=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.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 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,headers:e,response:r,status:n,trailers:i}})}};yy.ClientStreamingCall=c$});var d$=A(Ey=>{"use strict";var Jdt=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.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 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,headers:e,status:r,trailers:n}})}};Ey.DuplexStreamingCall=u$});var KEe=A(wy=>{"use strict";var Ydt=wy&&wy.__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(wy,"__esModule",{value:!0});wy.TestTransport=void 0;var aa=Xz(),k2=nn(),YEe=n$(),Kdt=Zz(),Xdt=s$(),Zdt=a$(),eft=l$(),tft=d$(),by=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 Cy?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Cy?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)?(k2.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),k2.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Ydt(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)k2.assert(e.O.is(s)),i.push(s);else this.data.response instanceof aa.RpcError||(k2.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 Kdt.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 Xdt.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 Zdt.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 Cy(this.data,r.abort),new eft.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 Cy(this.data,r.abort),new tft.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};wy.TestTransport=by;by.defaultHeaders={responseHeader:"test"};by.defaultStatus={code:"OK",detail:"all good"};by.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 Cy=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 rft=nn();function tI(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)}rft.assertNever(t)}o(tI,"stackIntercept");ca.stackIntercept=tI;function nft(t,e,r,n){return tI("unary",t,e,n,r)}o(nft,"stackUnaryInterceptors");ca.stackUnaryInterceptors=nft;function ift(t,e,r,n){return tI("serverStreaming",t,e,n,r)}o(ift,"stackServerStreamingInterceptors");ca.stackServerStreamingInterceptors=ift;function sft(t,e,r){return tI("clientStreaming",t,e,r)}o(sft,"stackClientStreamingInterceptors");ca.stackClientStreamingInterceptors=sft;function oft(t,e,r){return tI("duplex",t,e,r)}o(oft,"stackDuplexStreamingInterceptors");ca.stackDuplexStreamingInterceptors=oft});var ZEe=A(P2=>{"use strict";Object.defineProperty(P2,"__esModule",{value:!0});P2.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)}}};P2.ServerCallContextController=f$});var tCe=A(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var aft=jEe();Object.defineProperty(Gr,"ServiceType",{enumerable:!0,get:o(function(){return aft.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 cft=Xz();Object.defineProperty(Gr,"RpcError",{enumerable:!0,get:o(function(){return cft.RpcError},"get")});var lft=Zz();Object.defineProperty(Gr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return lft.mergeRpcOptions},"get")});var uft=n$();Object.defineProperty(Gr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return uft.RpcOutputStreamController},"get")});var dft=KEe();Object.defineProperty(Gr,"TestTransport",{enumerable:!0,get:o(function(){return dft.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 fft=d$();Object.defineProperty(Gr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return fft.DuplexStreamingCall},"get")});var hft=l$();Object.defineProperty(Gr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return hft.ClientStreamingCall},"get")});var pft=a$();Object.defineProperty(Gr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return pft.ServerStreamingCall},"get")});var Aft=s$();Object.defineProperty(Gr,"UnaryCall",{enumerable:!0,get:o(function(){return Aft.UnaryCall},"get")});var rI=XEe();Object.defineProperty(Gr,"stackIntercept",{enumerable:!0,get:o(function(){return rI.stackIntercept},"get")});Object.defineProperty(Gr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return rI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return rI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return rI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return rI.stackUnaryInterceptors},"get")});var mft=ZEe();Object.defineProperty(Gr,"ServerCallContextController",{enumerable:!0,get:o(function(){return mft.ServerCallContextController},"get")})});var Sy=A((hbr,yCe)=>{"use strict";var Nft="2.0.0",_ft=Number.MAX_SAFE_INTEGER||9007199254740991,Tft=16,Rft=250,Dft=["major","premajor","minor","preminor","patch","prepatch","prerelease"];yCe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Tft,MAX_SAFE_BUILD_LENGTH:Rft,MAX_SAFE_INTEGER:_ft,RELEASE_TYPES:Dft,SEMVER_SPEC_VERSION:Nft,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var oI=A((pbr,ECe)=>{"use strict";var Qft=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};ECe.exports=Qft});var By=A((xl,CCe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:V$,MAX_SAFE_BUILD_LENGTH:kft,MAX_LENGTH:Pft}=Sy(),Oft=oI();xl=CCe.exports={};var Lft=xl.re=[],Fft=xl.safeRe=[],fe=xl.src=[],Mft=xl.safeSrc=[],he=xl.t={},Uft=0,z$="[a-zA-Z0-9-]",qft=[["\\s",1],["\\d",Pft],[z$,kft]],Gft=o(t=>{for(let[e,r]of qft)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=Gft(e),i=Uft++;Oft(t,i,e),he[t]=i,fe[i]=e,Mft[i]=n,Lft[i]=new RegExp(e,r?"g":void 0),Fft[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 H2=A((mbr,bCe)=>{"use strict";var Hft=Object.freeze({loose:!0}),Vft=Object.freeze({}),zft=o(t=>t?typeof t!="object"?Hft:t:Vft,"parseOptions");bCe.exports=zft});var $$=A((ybr,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"),$ft=o((t,e)=>ICe(e,t),"rcompareIdentifiers");SCe.exports={compareIdentifiers:ICe,rcompareIdentifiers:$ft}});var pi=A((Cbr,xCe)=>{"use strict";var V2=oI(),{MAX_LENGTH:BCe,MAX_SAFE_INTEGER:z2}=Sy(),{safeRe:$2,t:j2}=By(),jft=H2(),{compareIdentifiers:j$}=$$(),Wft=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`);V2("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?$2[j2.LOOSE]:$2[j2.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>z2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>z2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>z2||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<z2)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(V2("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(V2("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(V2("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?$2[j2.PRERELEASELOOSE]:$2[j2.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]),Wft(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((wbr,NCe)=>{"use strict";var vCe=pi(),Jft=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=Jft});var TCe=A((Sbr,_Ce)=>{"use strict";var Yft=_f(),Kft=o((t,e)=>{let r=Yft(t,e);return r?r.version:null},"valid");_Ce.exports=Kft});var DCe=A((xbr,RCe)=>{"use strict";var Xft=_f(),Zft=o((t,e)=>{let r=Xft(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");RCe.exports=Zft});var PCe=A((Nbr,kCe)=>{"use strict";var QCe=pi(),eht=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=eht});var FCe=A((Tbr,LCe)=>{"use strict";var OCe=_f(),tht=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=tht});var UCe=A((Dbr,MCe)=>{"use strict";var rht=pi(),nht=o((t,e)=>new rht(t,e).major,"major");MCe.exports=nht});var GCe=A((kbr,qCe)=>{"use strict";var iht=pi(),sht=o((t,e)=>new iht(t,e).minor,"minor");qCe.exports=sht});var VCe=A((Obr,HCe)=>{"use strict";var oht=pi(),aht=o((t,e)=>new oht(t,e).patch,"patch");HCe.exports=aht});var $Ce=A((Fbr,zCe)=>{"use strict";var cht=_f(),lht=o((t,e)=>{let r=cht(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");zCe.exports=lht});var la=A((Ubr,WCe)=>{"use strict";var jCe=pi(),uht=o((t,e,r)=>new jCe(t,r).compare(new jCe(e,r)),"compare");WCe.exports=uht});var YCe=A((Gbr,JCe)=>{"use strict";var dht=la(),fht=o((t,e,r)=>dht(e,t,r),"rcompare");JCe.exports=fht});var XCe=A((Vbr,KCe)=>{"use strict";var hht=la(),pht=o((t,e)=>hht(t,e,!0),"compareLoose");KCe.exports=pht});var W2=A(($br,ebe)=>{"use strict";var ZCe=pi(),Aht=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=Aht});var rbe=A((Wbr,tbe)=>{"use strict";var mht=W2(),ght=o((t,e)=>t.sort((r,n)=>mht(r,n,e)),"sort");tbe.exports=ght});var ibe=A((Ybr,nbe)=>{"use strict";var yht=W2(),Eht=o((t,e)=>t.sort((r,n)=>yht(n,r,e)),"rsort");nbe.exports=Eht});var aI=A((Xbr,sbe)=>{"use strict";var Cht=la(),bht=o((t,e,r)=>Cht(t,e,r)>0,"gt");sbe.exports=bht});var J2=A((e0r,obe)=>{"use strict";var wht=la(),Iht=o((t,e,r)=>wht(t,e,r)<0,"lt");obe.exports=Iht});var J$=A((r0r,abe)=>{"use strict";var Sht=la(),Bht=o((t,e,r)=>Sht(t,e,r)===0,"eq");abe.exports=Bht});var Y$=A((i0r,cbe)=>{"use strict";var xht=la(),vht=o((t,e,r)=>xht(t,e,r)!==0,"neq");cbe.exports=vht});var Y2=A((o0r,lbe)=>{"use strict";var Nht=la(),_ht=o((t,e,r)=>Nht(t,e,r)>=0,"gte");lbe.exports=_ht});var K2=A((c0r,ube)=>{"use strict";var Tht=la(),Rht=o((t,e,r)=>Tht(t,e,r)<=0,"lte");ube.exports=Rht});var K$=A((u0r,dbe)=>{"use strict";var Dht=J$(),Qht=Y$(),kht=aI(),Pht=Y2(),Oht=J2(),Lht=K2(),Fht=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 Dht(t,r,n);case"!=":return Qht(t,r,n);case">":return kht(t,r,n);case">=":return Pht(t,r,n);case"<":return Oht(t,r,n);case"<=":return Lht(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");dbe.exports=Fht});var hbe=A((f0r,fbe)=>{"use strict";var Mht=pi(),Uht=_f(),{safeRe:X2,t:Z2}=By(),qht=o((t,e)=>{if(t instanceof Mht)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?X2[Z2.COERCEFULL]:X2[Z2.COERCE]);else{let l=e.includePrerelease?X2[Z2.COERCERTLFULL]:X2[Z2.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 Uht(`${n}.${i}.${s}${a}${c}`,e)},"coerce");fbe.exports=qht});var Abe=A((p0r,pbe)=>{"use strict";var Ght=_f(),Hht=Sy(),Vht=pi(),zht=o((t,e,r)=>{if(!Hht.RELEASE_TYPES.includes(e))return null;let n=$ht(t,r);return n&&jht(n,e)},"truncate"),$ht=o((t,e)=>{let r=t instanceof Vht?t.version:t;return Ght(r,e)},"cloneInputVersion"),jht=o((t,e)=>{if(Wht(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"),Wht=o(t=>t.startsWith("pre"),"isPrerelease");pbe.exports=zht});var gbe=A((m0r,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((y0r,bbe)=>{"use strict";var Jht=/\s+/g,Z$=class t{static{o(this,"Range")}constructor(e,r){if(r=Kht(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(Jht," "),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&&opt(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(spt,"");let n=((this.options.includePrerelease&&npt)|(this.options.loose&&ipt))+":"+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,gpt(this.options.includePrerelease)),or("hyphen replace",e),e=e.replace(ts[Ai.COMPARATORTRIM],ept),or("comparator trim",e),e=e.replace(ts[Ai.TILDETRIM],tpt),or("tilde trim",e),e=e.replace(ts[Ai.CARETTRIM],rpt),or("caret trim",e);let c=e.split(" ").map(f=>apt(f,this.options)).join(" ").split(/\s+/).map(f=>mpt(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 Xht(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(ypt(this.set[r],e,this.options))return!0;return!1}};bbe.exports=Z$;var Yht=gbe(),ybe=new Yht,Kht=H2(),ej=cI(),or=oI(),Xht=pi(),{safeRe:ts,src:Zht,t:Ai,comparatorTrimReplace:ept,tildeTrimReplace:tpt,caretTrimReplace:rpt}=By(),{FLAG_INCLUDE_PRERELEASE:npt,FLAG_LOOSE:ipt}=Sy(),spt=new RegExp(Zht[Ai.BUILD],"g"),Ebe=o(t=>t.value==="<0.0.0-0","isNullSet"),opt=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"),apt=o((t,e)=>(t=t.replace(ts[Ai.BUILD],""),or("comp",t,e),t=dpt(t,e),or("caret",t),t=lpt(t,e),or("tildes",t),t=hpt(t,e),or("xrange",t),t=Apt(t,e),or("stars",t),t),"parseComparator"),Qn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),cpt=o((t,e,r)=>Qn(t)&&!Qn(e)||Qn(e)&&r&&!Qn(r),"invalidXRangeOrder"),lpt=o((t,e)=>t.trim().split(/\s+/).map(r=>upt(r,e)).join(" "),"replaceTildes"),upt=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"),dpt=o((t,e)=>t.trim().split(/\s+/).map(r=>fpt(r,e)).join(" "),"replaceCarets"),fpt=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"),hpt=o((t,e)=>(or("replaceXRanges",t,e),t.split(/\s+/).map(r=>ppt(r,e)).join(" ")),"replaceXRanges"),ppt=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),cpt(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"),Apt=o((t,e)=>(or("replaceStars",t,e),t.trim().replace(ts[Ai.STAR],"")),"replaceStars"),mpt=o((t,e)=>(or("replaceGTE0",t,e),t.trim().replace(ts[e.includePrerelease?Ai.GTE0PRE:Ai.GTE0],"")),"replaceGTE0"),gpt=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"),ypt=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 cI=A((C0r,vbe)=>{"use strict";var lI=Symbol("SemVer ANY"),nj=class t{static{o(this,"Comparator")}static get ANY(){return lI}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===lI?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=lI}toString(){return this.value}test(e){if(rj("Comparator.test",e,this.options.loose),this.semver===lI||e===lI)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=H2(),{safeRe:Ibe,t:Sbe}=By(),tj=K$(),rj=oI(),Bbe=pi(),xbe=ua()});var uI=A((w0r,Nbe)=>{"use strict";var Ept=ua(),Cpt=o((t,e,r)=>{try{e=new Ept(e,r)}catch{return!1}return e.test(t)},"satisfies");Nbe.exports=Cpt});var Tbe=A((S0r,_be)=>{"use strict";var bpt=ua(),wpt=o((t,e)=>new bpt(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");_be.exports=wpt});var Dbe=A((x0r,Rbe)=>{"use strict";var Ipt=pi(),Spt=ua(),Bpt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new Spt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Ipt(n,r))}),n},"maxSatisfying");Rbe.exports=Bpt});var kbe=A((N0r,Qbe)=>{"use strict";var xpt=pi(),vpt=ua(),Npt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new vpt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new xpt(n,r))}),n},"minSatisfying");Qbe.exports=Npt});var Lbe=A((T0r,Obe)=>{"use strict";var ij=pi(),_pt=ua(),Pbe=aI(),Tpt=o((t,e)=>{t=new _pt(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=Tpt});var Mbe=A((D0r,Fbe)=>{"use strict";var Rpt=ua(),Dpt=o((t,e)=>{try{return new Rpt(t,e).range||"*"}catch{return null}},"validRange");Fbe.exports=Dpt});var eD=A((k0r,Hbe)=>{"use strict";var Qpt=pi(),Gbe=cI(),{ANY:kpt}=Gbe,Ppt=ua(),Opt=uI(),Ube=aI(),qbe=J2(),Lpt=K2(),Fpt=Y2(),Mpt=o((t,e,r,n)=>{t=new Qpt(t,n),e=new Ppt(e,n);let i,s,a,c,l;switch(r){case">":i=Ube,s=Lpt,a=qbe,c=">",l=">=";break;case"<":i=qbe,s=Fpt,a=Ube,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Opt(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===kpt&&(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=Mpt});var zbe=A((O0r,Vbe)=>{"use strict";var Upt=eD(),qpt=o((t,e,r)=>Upt(t,e,">",r),"gtr");Vbe.exports=qpt});var jbe=A((F0r,$be)=>{"use strict";var Gpt=eD(),Hpt=o((t,e,r)=>Gpt(t,e,"<",r),"ltr");$be.exports=Hpt});var Ybe=A((U0r,Jbe)=>{"use strict";var Wbe=ua(),Vpt=o((t,e,r)=>(t=new Wbe(t,r),e=new Wbe(e,r),t.intersects(e,r)),"intersects");Jbe.exports=Vpt});var Xbe=A((G0r,Kbe)=>{"use strict";var zpt=uI(),$pt=la();Kbe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>$pt(d,f,r));for(let d of a)zpt(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((H0r,n0e)=>{"use strict";var Zbe=ua(),aj=cI(),{ANY:sj}=aj,oj=uI(),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=Jpt(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Wpt=[new aj(">=0.0.0-0")],e0e=[new aj(">=0.0.0")],Jpt=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=Wpt: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((z0r,a0e)=>{"use strict";var lj=By(),s0e=Sy(),Ypt=pi(),o0e=$$(),Kpt=_f(),Xpt=TCe(),Zpt=DCe(),eAt=PCe(),tAt=FCe(),rAt=UCe(),nAt=GCe(),iAt=VCe(),sAt=$Ce(),oAt=la(),aAt=YCe(),cAt=XCe(),lAt=W2(),uAt=rbe(),dAt=ibe(),fAt=aI(),hAt=J2(),pAt=J$(),AAt=Y$(),mAt=Y2(),gAt=K2(),yAt=K$(),EAt=hbe(),CAt=Abe(),bAt=cI(),wAt=ua(),IAt=uI(),SAt=Tbe(),BAt=Dbe(),xAt=kbe(),vAt=Lbe(),NAt=Mbe(),_At=eD(),TAt=zbe(),RAt=jbe(),DAt=Ybe(),QAt=Xbe(),kAt=i0e();a0e.exports={parse:Kpt,valid:Xpt,clean:Zpt,inc:eAt,diff:tAt,major:rAt,minor:nAt,patch:iAt,prerelease:sAt,compare:oAt,rcompare:aAt,compareLoose:cAt,compareBuild:lAt,sort:uAt,rsort:dAt,gt:fAt,lt:hAt,eq:pAt,neq:AAt,gte:mAt,lte:gAt,cmp:yAt,coerce:EAt,truncate:CAt,Comparator:bAt,Range:wAt,satisfies:IAt,toComparators:SAt,maxSatisfying:BAt,minSatisfying:xAt,minVersion:vAt,validRange:NAt,outside:_At,gtr:TAt,ltr:RAt,intersects:DAt,simplifyRange:QAt,subset:kAt,SemVer:Ypt,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((W0r,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(Wp=>{var PAt=l0e();Wp.operation=function(t){var e=Wp.timeouts(t);return new PAt(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Wp.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};Wp.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};Wp.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=Wp.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((X0r,d0e)=>{d0e.exports=u0e()});var p0e=A((Z0r,h0e)=>{var OAt=f0e();function LAt(t,e){function r(n,i){var s=e||{},a;"randomize"in s||(s.randomize=!0),a=OAt.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(LAt,"retry");h0e.exports=LAt});var D0e=A((twr,ed)=>{var $t=require("fs"),nD=require("os"),kn=require("path"),A0e=require("crypto"),vl={fs:$t.constants,os:nD.constants},m0e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",C0e=/XXXXXX/,FAt=3,b0e=(vl.O_CREAT||vl.fs.O_CREAT)|(vl.O_EXCL||vl.fs.O_EXCL)|(vl.O_RDWR||vl.fs.O_RDWR),MAt=nD.platform()==="win32",UAt=vl.EBADF||vl.os.errno.EBADF,qAt=vl.ENOENT||vl.os.errno.ENOENT,w0e=448,I0e=384,GAt="exit",xy=[],S0e=$t.rmdirSync.bind($t),B0e=!1;function HAt(t,e){return $t.rm(t,{recursive:!0},e)}o(HAt,"rimraf");function x0e(t){return $t.rmSync(t,{recursive:!0})}o(x0e,"FN_RIMRAF_SYNC");function hj(t,e){let r=vy(t,e),n=r[0],i=r[1];ZAt(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=vy(t),r=e[0],n=emt(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 VAt(t,e){let r=vy(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(VAt,"file");function zAt(t){let e=vy(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(zAt,"fileSync");function $At(t,e){let r=vy(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($At,"dir");function jAt(t){let e=vy(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 WAt(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(WAt,"_removeFileAsync");function JAt(t){let e=null;try{0<=t[0]&&$t.closeSync(t[0])}catch(r){if(!tmt(r)&&!fj(r))throw r}finally{try{$t.unlinkSync(t[1])}catch(r){fj(r)||(e=r)}}if(e!==null)throw e}o(JAt,"_removeFileSync");function dj(t,e,r,n){let i=rD(JAt,[e,t],n),s=rD(WAt,[e,t],n,i);return r.keep||xy.unshift(i),n?i:s}o(dj,"_prepareTmpFileRemoveCallback");function v0e(t,e,r){let n=e.unsafeCleanup?HAt:$t.rmdir.bind($t),i=e.unsafeCleanup?x0e:S0e,s=rD(i,t,r),a=rD(n,t,r,s);return e.keep||xy.unshift(s),r?s:a}o(v0e,"_prepareTmpDirRemoveCallback");function rD(t,e,r,n){let i=!1;return o(function s(a){if(!i){let c=n||s,l=xy.indexOf(c);return l>=0&&xy.splice(l,1),i=!0,r||t===S0e||t===x0e?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(rD,"_prepareRemoveCallback");function YAt(){if(B0e)for(;xy.length;)try{xy[0]()}catch{}}o(YAt,"_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 vy(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(vy,"_parseArguments");function KAt(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(KAt,"_resolvePath");function XAt(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(XAt,"_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||FAt: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);KAt(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=XAt(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 ZAt(t,e){nmt(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(ZAt,"_assertAndSanitizeOptions");function emt(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(emt,"_assertAndSanitizeOptionsSync");function tmt(t){return T0e(t,-UAt,"EBADF")}o(tmt,"_isEBADF");function fj(t){return T0e(t,-qAt,"ENOENT")}o(fj,"_isENOENT");function T0e(t,e,r){return MAt?t.code===r:t.code===r&&t.errno===e}o(T0e,"_isExpectedError");function rmt(){B0e=!0}o(rmt,"setGracefulCleanup");function nmt(t,e){return $t.realpath(t&&t.tmpdir||nD.tmpdir(),e)}o(nmt,"_getTmpDir");function R0e(t){return $t.realpathSync(t&&t.tmpdir||nD.tmpdir())}o(R0e,"_getTmpDirSync");process.addListener(GAt,YAt);Object.defineProperty(ed.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return R0e()},"get")});ed.exports.dir=$At;ed.exports.dirSync=jAt;ed.exports.file=VAt;ed.exports.fileSync=zAt;ed.exports.tmpName=hj;ed.exports.tmpNameSync=pj;ed.exports.setGracefulCleanup=rmt});var rs=A(bo=>{"use strict";bo.__esModule=!0;bo.extend=O0e;bo.indexOf=cmt;bo.escapeExpression=lmt;bo.isEmpty=umt;bo.createFrame=dmt;bo.blockParams=fmt;bo.appendContextPath=hmt;var imt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},smt=/[&<>"'`=]/g,omt=/[&<>"'`=]/;function amt(t){return imt[t]}o(amt,"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 cmt(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(cmt,"indexOf");function lmt(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return omt.test(t)?t.replace(smt,amt):t}o(lmt,"escapeExpression");function umt(t){return!t&&t!==0?!0:!!(L0e(t)&&t.length===0)}o(umt,"isEmpty");function dmt(t){var e=O0e({},t);return e._parent=t,e}o(dmt,"createFrame");function fmt(t,e){return t.path=e,t}o(fmt,"blockParams");function hmt(t,e){return(t?t+".":"")+e}o(hmt,"appendContextPath")});var wo=A((iD,F0e)=>{"use strict";iD.__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;iD.default=Ej;F0e.exports=iD.default});var U0e=A((sD,M0e)=>{"use strict";sD.__esModule=!0;var Cj=rs();sD.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=sD.default});var G0e=A((oD,q0e)=>{"use strict";oD.__esModule=!0;function pmt(t){return t&&t.__esModule?t:{default:t}}o(pmt,"_interopRequireDefault");var dI=rs(),Amt=wo(),mmt=pmt(Amt);oD.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new mmt.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=dI.appendContextPath(r.data.contextPath,r.ids[0])+"."),dI.isFunction(e)&&(e=e.call(this)),r.data&&(c=dI.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:dI.blockParams([e[m],m],[l+m,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(dI.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=oD.default});var V0e=A((aD,H0e)=>{"use strict";aD.__esModule=!0;function gmt(t){return t&&t.__esModule?t:{default:t}}o(gmt,"_interopRequireDefault");var ymt=wo(),Emt=gmt(ymt);aD.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Emt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};H0e.exports=aD.default});var W0e=A((cD,j0e)=>{"use strict";cD.__esModule=!0;function Cmt(t){return t&&t.__esModule?t:{default:t}}o(Cmt,"_interopRequireDefault");var z0e=rs(),bmt=wo(),$0e=Cmt(bmt);cD.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=cD.default});var Y0e=A((lD,J0e)=>{"use strict";lD.__esModule=!0;lD.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=lD.default});var X0e=A((uD,K0e)=>{"use strict";uD.__esModule=!0;uD.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};K0e.exports=uD.default});var ewe=A((dD,Z0e)=>{"use strict";dD.__esModule=!0;function wmt(t){return t&&t.__esModule?t:{default:t}}o(wmt,"_interopRequireDefault");var fI=rs(),Imt=wo(),Smt=wmt(Imt);dD.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Smt.default("#with requires exactly one argument");fI.isFunction(e)&&(e=e.call(this));var n=r.fn;if(fI.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=fI.createFrame(r.data),i.contextPath=fI.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:fI.blockParams([e],[i&&i.contextPath])})})};Z0e.exports=dD.default});var bj=A(fD=>{"use strict";fD.__esModule=!0;fD.registerDefaultHelpers=Mmt;fD.moveHelperToHooks=Umt;function Jp(t){return t&&t.__esModule?t:{default:t}}o(Jp,"_interopRequireDefault");var Bmt=U0e(),xmt=Jp(Bmt),vmt=G0e(),Nmt=Jp(vmt),_mt=V0e(),Tmt=Jp(_mt),Rmt=W0e(),Dmt=Jp(Rmt),Qmt=Y0e(),kmt=Jp(Qmt),Pmt=X0e(),Omt=Jp(Pmt),Lmt=ewe(),Fmt=Jp(Lmt);function Mmt(t){xmt.default(t),Nmt.default(t),Tmt.default(t),Dmt.default(t),kmt.default(t),Omt.default(t),Fmt.default(t)}o(Mmt,"registerDefaultHelpers");function Umt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Umt,"moveHelperToHooks")});var rwe=A((hD,twe)=>{"use strict";hD.__esModule=!0;var qmt=rs();hD.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=qmt.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=hD.default});var nwe=A(wj=>{"use strict";wj.__esModule=!0;wj.registerDefaultDecorators=zmt;function Gmt(t){return t&&t.__esModule?t:{default:t}}o(Gmt,"_interopRequireDefault");var Hmt=rwe(),Vmt=Gmt(Hmt);function zmt(t){Vmt.default(t)}o(zmt,"registerDefaultDecorators")});var Ij=A((pD,iwe)=>{"use strict";pD.__esModule=!0;var $mt=rs(),Ny={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=$mt.indexOf(Ny.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=Ny.lookupLevel(e),typeof console<"u"&&Ny.lookupLevel(Ny.level)<=e){var r=Ny.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")};pD.default=Ny;iwe.exports=pD.default});var Sj=A(hI=>{"use strict";hI.__esModule=!0;hI.createProtoAccessControl=Ymt;hI.resultIsAllowed=Kmt;hI.resetLoggedProperties=Zmt;function jmt(t){return t&&t.__esModule?t:{default:t}}o(jmt,"_interopRequireDefault");var swe=rs(),Wmt=Ij(),Jmt=jmt(Wmt),AD=Object.create(null);function Ymt(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(Ymt,"createProtoAccessControl");function Kmt(t,e,r){return owe(typeof t=="function"?e.methods:e.properties,r)}o(Kmt,"resultIsAllowed");function owe(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Xmt(e),!1)}o(owe,"checkWhiteList");function Xmt(t){AD[t]!==!0&&(AD[t]=!0,Jmt.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(Xmt,"logUnexpecedPropertyAccessOnce");function Zmt(){Object.keys(AD).forEach(function(t){delete AD[t]})}o(Zmt,"resetLoggedProperties")});var gD=A(Nl=>{"use strict";Nl.__esModule=!0;Nl.HandlebarsEnvironment=vj;function awe(t){return t&&t.__esModule?t:{default:t}}o(awe,"_interopRequireDefault");var Yp=rs(),egt=wo(),Bj=awe(egt),tgt=bj(),rgt=nwe(),ngt=Ij(),mD=awe(ngt),igt=Sj(),sgt="4.7.9";Nl.VERSION=sgt;var ogt=8;Nl.COMPILER_REVISION=ogt;var agt=7;Nl.LAST_COMPATIBLE_COMPILER_REVISION=agt;var cgt={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=cgt;var xj="[object Object]";function vj(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},tgt.registerDefaultHelpers(this),rgt.registerDefaultDecorators(this)}o(vj,"HandlebarsEnvironment");vj.prototype={constructor:vj,logger:mD.default,log:mD.default.log,registerHelper:o(function(e,r){if(Yp.toString.call(e)===xj){if(r)throw new Bj.default("Arg not supported with multiple helpers");Yp.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(Yp.toString.call(e)===xj)Yp.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(Yp.toString.call(e)===xj){if(r)throw new Bj.default("Arg not supported with multiple decorators");Yp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){igt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var lgt=mD.default.log;Nl.log=lgt;Nl.createFrame=Yp.createFrame;Nl.logger=mD.default});var lwe=A((yD,cwe)=>{"use strict";yD.__esModule=!0;function Nj(t){this.string=t}o(Nj,"SafeString");Nj.prototype.toString=Nj.prototype.toHTML=function(){return""+this.string};yD.default=Nj;cwe.exports=yD.default});var uwe=A(_j=>{"use strict";_j.__esModule=!0;_j.wrapHelper=ugt;function ugt(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(ugt,"wrapHelper")});var mwe=A(Tf=>{"use strict";Tf.__esModule=!0;Tf.checkRevision=mgt;Tf.template=ggt;Tf.wrapProgram=ED;Tf.resolvePartial=ygt;Tf.invokePartial=Egt;Tf.noop=pwe;function dgt(t){return t&&t.__esModule?t:{default:t}}o(dgt,"_interopRequireDefault");function fgt(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(fgt,"_interopRequireWildcard");var hgt=rs(),_y=fgt(hgt),pgt=wo(),td=dgt(pgt),rd=gD(),dwe=bj(),Agt=uwe(),fwe=Sj();function mgt(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(mgt,"checkRevision");function ggt(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=_y.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:_y.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=ED(this,c,p,l,u,d,f):h||(h=this.programs[c]=ED(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=_y.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=Cgt(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=_y.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 ED(i,a,t[a],c,0,l,u)},s}o(ggt,"template");function ED(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(ED,"wrapProgram");function ygt(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=CD(r.partials,t)):r.name==="@partial-block"?t=CD(r.data,"partial-block"):t=CD(r.partials,r.name),t}o(ygt,"resolvePartial");function Egt(t,e,r){var n=CD(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=_y.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(Egt,"invokePartial");function pwe(){return""}o(pwe,"noop");function CD(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(CD,"lookupOwnProperty");function Cgt(t,e){return(!e||!("root"in e))&&(e=e?rd.createFrame(e):{},e.root=t),e}o(Cgt,"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),_y.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]=bgt(i,r)})}o(hwe,"addHelpers");function bgt(t,e){var r=e.lookupProperty;return Agt.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(bgt,"passLookupPropertyOption")});var Tj=A((bD,gwe)=>{"use strict";bD.__esModule=!0;bD.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=bD.default});var wwe=A((wD,bwe)=>{"use strict";wD.__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 wgt=gD(),ywe=Qj(wgt),Igt=lwe(),Sgt=Dj(Igt),Bgt=wo(),xgt=Dj(Bgt),vgt=rs(),Rj=Qj(vgt),Ngt=mwe(),Ewe=Qj(Ngt),_gt=Tj(),Tgt=Dj(_gt);function Cwe(){var t=new ywe.HandlebarsEnvironment;return Rj.extend(t,ywe),t.SafeString=Sgt.default,t.Exception=xgt.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 pI=Cwe();pI.create=Cwe;Tgt.default(pI);pI.default=pI;wD.default=pI;bwe.exports=wD.default});var kj=A((ID,Swe)=>{"use strict";ID.__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")}};ID.default=Iwe;Swe.exports=ID.default});var xwe=A((SD,Bwe)=>{"use strict";SD.__esModule=!0;var Rgt=(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})();SD.default=Rgt;Bwe.exports=SD.default});var ND=A((vD,_we)=>{"use strict";vD.__esModule=!0;function Dgt(t){return t&&t.__esModule?t:{default:t}}o(Dgt,"_interopRequireDefault");var Qgt=wo(),Pj=Dgt(Qgt);function BD(){this.parents=[]}o(BD,"Visitor");BD.prototype={constructor:BD,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!BD.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:xD,Decorator:xD,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:xD,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 xD(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(xD,"visitSubExpression");function vwe(t){xD.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");vD.default=BD;_we.exports=vD.default});var Rwe=A((_D,Twe)=>{"use strict";_D.__esModule=!0;function kgt(t){return t&&t.__esModule?t:{default:t}}o(kgt,"_interopRequireDefault");var Pgt=ND(),Ogt=kgt(Pgt);function _l(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(_l,"WhitespaceControl");_l.prototype=new Ogt.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&&Kp(n,i,!0),c.open&&Rf(n,i,!0),e&&h&&(Kp(n,i),Rf(n,i)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&d&&(Kp((a.program||a.inverse).body),Rf(n,i)),e&&f&&(Kp(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&&Kp(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Rf(e.body,null,!0),a.close&&Kp(n.body,null,!0),t.closeStrip.open&&Rf(i.body,null,!0),!this.options.ignoreStandalone&&Oj(e.body)&&Lj(n.body)&&(Rf(e.body),Kp(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 Kp(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(Kp,"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");_D.default=_l;Twe.exports=_D.default});var Dwe=A(fa=>{"use strict";fa.__esModule=!0;fa.SourceLocation=Mgt;fa.id=Ugt;fa.stripFlags=qgt;fa.stripComment=Ggt;fa.preparePath=Hgt;fa.prepareMustache=Vgt;fa.prepareRawBlock=zgt;fa.prepareBlock=$gt;fa.prepareProgram=jgt;fa.preparePartialBlock=Wgt;function Lgt(t){return t&&t.__esModule?t:{default:t}}o(Lgt,"_interopRequireDefault");var Fgt=wo(),Fj=Lgt(Fgt);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 Mgt(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(Mgt,"SourceLocation");function Ugt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Ugt,"id");function qgt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(qgt,"stripFlags");function Ggt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Ggt,"stripComment");function Hgt(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(Hgt,"preparePath");function Vgt(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(Vgt,"prepareMustache");function zgt(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(zgt,"prepareRawBlock");function $gt(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($gt,"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 Wgt(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(Wgt,"preparePartialBlock")});var kwe=A(mI=>{"use strict";mI.__esModule=!0;mI.parseWithoutProcessing=Qwe;mI.parse=nyt;function Jgt(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(Jgt,"_interopRequireWildcard");function Gj(t){return t&&t.__esModule?t:{default:t}}o(Gj,"_interopRequireDefault");var Ygt=xwe(),Uj=Gj(Ygt),Kgt=Rwe(),Xgt=Gj(Kgt),Zgt=Dwe(),eyt=Jgt(Zgt),tyt=wo(),AI=Gj(tyt),ryt=rs();mI.parser=Uj.default;var TD={};ryt.extend(TD,eyt);function Qwe(t,e){if(t.type==="Program")return iyt(t),t;Uj.default.yy=TD,TD.locInfo=function(n){return new TD.SourceLocation(e&&e.srcName,n)};var r=Uj.default.parse(t);return r}o(Qwe,"parseWithoutProcessing");function nyt(t,e){var r=Qwe(t,e),n=new Xgt.default(e);return n.accept(r)}o(nyt,"parse");function iyt(t){qj(t)}o(iyt,"validateInputAst");function qj(t){if(t!=null){if(Array.isArray(t)){t.forEach(qj);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!syt(t.depth))throw new AI.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new AI.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 AI.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new AI.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new AI.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&qj(t[r])})}}}o(qj,"validateAstNode");function syt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(syt,"isValidDepth")});var Fwe=A(CI=>{"use strict";CI.__esModule=!0;CI.Compiler=Hj;CI.precompile=lyt;CI.compile=uyt;function Owe(t){return t&&t.__esModule?t:{default:t}}o(Owe,"_interopRequireDefault");var oyt=wo(),yI=Owe(oyt),EI=rs(),ayt=kj(),gI=Owe(ayt),cyt=[].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=EI.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 yI.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 yI.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 yI.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,gI.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=gI.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:cyt.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=gI.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&gI.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&&!gI.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&&EI.indexOf(i,e);if(i&&s>=0)return[r,s]}},"blockParamIndex")};function lyt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new yI.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(lyt,"precompile");function uyt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new yI.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=EI.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(uyt,"compile");function Lwe(t,e){if(t===e)return!0;if(EI.isArray(t)&&EI.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 dyt(t){return t<0?(-t<<1)+1:(t<<1)+0}o(dyt,"toVLQSigned");function fyt(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(fyt,"fromVLQSigned");$j.encode=o(function(e){var r="",n,i=dyt(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=fyt(s),n.rest=r},"base64VLQ_decode")});var Dy=A(Ti=>{function hyt(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(hyt,"getArg");Ti.getArg=hyt;var zwe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,pyt=/^data:.+\,.+$/;function bI(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(bI,"urlParse");Ti.urlParse=bI;function Ty(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(Ty,"urlGenerate");Ti.urlGenerate=Ty;function Wj(t){var e=t,r=bI(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,Ty(r)):e}o(Wj,"normalize");Ti.normalize=Wj;function $we(t,e){t===""&&(t="."),e===""&&(e=".");var r=bI(e),n=bI(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Ty(r);if(r||e.match(pyt))return e;if(n&&!n.host&&!n.path)return n.host=e,Ty(n);var i=e.charAt(0)==="/"?e:Wj(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Ty(n)):i}o($we,"join");Ti.join=$we;Ti.isAbsolute=function(t){return t.charAt(0)==="/"||zwe.test(t)};function Ayt(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(Ayt,"relative");Ti.relative=Ayt;var jwe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Wwe(t){return t}o(Wwe,"identity");function myt(t){return Jwe(t)?"$"+t:t}o(myt,"toSetString");Ti.toSetString=jwe?Wwe:myt;function gyt(t){return Jwe(t)?t.slice(1):t}o(gyt,"fromSetString");Ti.fromSetString=jwe?Wwe:gyt;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 yyt(t,e,r){var n=Ry(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:Ry(t.name,e.name)}o(yyt,"compareByOriginalPositions");Ti.compareByOriginalPositions=yyt;function Eyt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=Ry(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:Ry(t.name,e.name)}o(Eyt,"compareByGeneratedPositionsDeflated");Ti.compareByGeneratedPositionsDeflated=Eyt;function Ry(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(Ry,"strcmp");function Cyt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=Ry(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Ry(t.name,e.name)}o(Cyt,"compareByGeneratedPositionsInflated");Ti.compareByGeneratedPositionsInflated=Cyt;function byt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(byt,"parseSourceMapInput");Ti.parseSourceMapInput=byt;function wyt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=bI(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(Ty(n),e)}return Wj(e)}o(wyt,"computeSourceURL");Ti.computeSourceURL=wyt});var Kj=A(Ywe=>{var Jj=Dy(),Yj=Object.prototype.hasOwnProperty,Xp=typeof Map<"u";function nd(){this._array=[],this._set=Xp?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 Xp?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");nd.prototype.add=o(function(e,r){var n=Xp?e:Jj.toSetString(e),i=Xp?this.has(e):Yj.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Xp?this._set.set(e,s):this._set[n]=s)},"ArraySet_add");nd.prototype.has=o(function(e){if(Xp)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(Xp){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=Dy();function Iyt(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(Iyt,"generatedPositionAfter");function RD(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(RD,"MappingList");RD.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");RD.prototype.add=o(function(e){Iyt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");RD.prototype.toArray=o(function(){return this._sorted||(this._array.sort(Kwe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");Xwe.MappingList=RD});var Xj=A(eIe=>{var wI=jj(),Cn=Dy(),DD=Kj().ArraySet,Syt=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 DD,this._names=new DD,this._mappings=new Syt,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 DD,c=new DD;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+=wI.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=wI.encode(f-a),a=f,l+=wI.encode(u.originalLine-1-i),i=u.originalLine-1,l+=wI.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=wI.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(Zp=>{Zp.GREATEST_LOWER_BOUND=1;Zp.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==Zp.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?Zj(t,a,r,n,i,s):s==Zp.LEAST_UPPER_BOUND?a:t<0?-1:t}o(Zj,"recursiveSearch");Zp.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=Zj(-1,r.length,e,r,n,i||Zp.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 Byt(t,e){return Math.round(t+Math.random()*(e-t))}o(Byt,"randomIntInRange");function t8(t,e,r,n){if(r<n){var i=Byt(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(QD=>{var Ee=Dy(),r8=tIe(),Qy=Kj().ArraySet,xyt=jj(),II=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");QD.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=Qy.fromArray(s.map(String),!0),this._sources=Qy.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=Qy.fromArray(e._names.toArray(),!0),s=n._sources=Qy.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 II(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;)xyt.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)}II(m,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,II(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");QD.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 Qy,this._names=new Qy;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)}II(this.__generatedMappings,Ee.compareByGeneratedPositionsDeflated),II(this.__originalMappings,Ee.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");QD.IndexedSourceMapConsumer=dc});var aIe=A(oIe=>{var vyt=Xj().SourceMapGenerator,kD=Dy(),Nyt=/(\r?\n)/,_yt=10,ky="$$$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[ky]=!0,n!=null&&this.add(n)}o(Io,"SourceNode");Io.fromStringWithSourceMap=o(function(e,r,n){var i=new Io,s=e.split(Nyt),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=kD.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?kD.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[ky]||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[ky]||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[ky]?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[ky]?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[kD.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][ky]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(kD.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 vyt(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)===_yt?(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(PD=>{PD.SourceMapGenerator=Xj().SourceMapGenerator;PD.SourceMapConsumer=sIe().SourceMapConsumer;PD.SourceNode=aIe().SourceNode});var fIe=A((OD,dIe)=>{"use strict";OD.__esModule=!0;var i8=rs(),eA=void 0;try{(typeof define!="function"||!define.amd)&&(lIe=cIe(),eA=lIe.SourceNode)}catch{}var lIe;eA||(eA=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),eA.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 eA(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 eA?e:(e=n8(e,this,r),new eA(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")};OD.default=uIe;dIe.exports=OD.default});var gIe=A((LD,mIe)=>{"use strict";LD.__esModule=!0;function AIe(t){return t&&t.__esModule?t:{default:t}}o(AIe,"_interopRequireDefault");var hIe=gD(),Tyt=wo(),s8=AIe(Tyt),Ryt=rs(),Dyt=fIe(),pIe=AIe(Dyt);function Py(t){this.value=t}o(Py,"Literal");function Oy(){}o(Oy,"JavaScriptCompiler");Oy.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 Ryt.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(Qyt(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:Oy,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 Py||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new Py(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 Py)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 Py)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 Py)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 Py?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=Oy.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();Oy.isValidJavaScriptVariableName=function(t){return!Oy.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function Qyt(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(Qyt,"strictLookup");LD.default=Oy;mIe.exports=LD.default});var CIe=A((FD,EIe)=>{"use strict";FD.__esModule=!0;function SI(t){return t&&t.__esModule?t:{default:t}}o(SI,"_interopRequireDefault");var kyt=wwe(),Pyt=SI(kyt),Oyt=kj(),Lyt=SI(Oyt),o8=kwe(),a8=Fwe(),Fyt=gIe(),Myt=SI(Fyt),Uyt=ND(),qyt=SI(Uyt),Gyt=Tj(),Hyt=SI(Gyt),Vyt=Pyt.default.create;function yIe(){var t=Vyt();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=Lyt.default,t.Compiler=a8.Compiler,t.JavaScriptCompiler=Myt.default,t.Parser=o8.parser,t.parse=o8.parse,t.parseWithoutProcessing=o8.parseWithoutProcessing,t}o(yIe,"create");var Ly=yIe();Ly.create=yIe;Hyt.default(Ly);Ly.Visitor=qyt.default;Ly.default=Ly;FD.default=Ly;EIe.exports=FD.default});var bIe=A(MD=>{"use strict";MD.__esModule=!0;MD.print=Wyt;MD.PrintVisitor=Hr;function zyt(t){return t&&t.__esModule?t:{default:t}}o(zyt,"_interopRequireDefault");var $yt=ND(),jyt=zyt($yt);function Wyt(t){return new Hr().accept(t)}o(Wyt,"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((dIr,SIe)=>{var UD=CIe().default,IIe=bIe();UD.PrintVisitor=IIe.PrintVisitor;UD.print=IIe.print;SIe.exports=UD;function wIe(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=UD.compile(n)}o(wIe,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=wIe,require.extensions[".hbs"]=wIe)});var LIe=A(zD=>{"use strict";Object.defineProperty(zD,"__esModule",{value:!0});zD.getProxyUrl=Xyt;zD.checkBypass=OIe;function Xyt(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 VD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new VD(`http://${r}`)}else return}o(Xyt,"getProxyUrl");function OIe(t){if(!t.hostname)return!1;let e=t.hostname;if(Zyt(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 Zyt(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(Zyt,"isLoopbackAddress");var VD=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 eEt=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]})),tEt=wr&&wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),JD=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"&&eEt(r,e,n[i]);return tEt(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=nEt;wr.isHttps=lEt;var h8=JD(require("http")),FIe=JD(require("https")),p8=JD(LIe()),$D=JD(Am()),rEt=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 nEt(t){let e=p8.getProxyUrl(new URL(t));return e?e.href:""}o(nEt,"getProxyUrl");var iEt=[pa.MovedPermanently,pa.ResourceMoved,pa.SeeOther,pa.TemporaryRedirect,pa.PermanentRedirect],sEt=[pa.BadGateway,pa.ServiceUnavailable,pa.GatewayTimeout],oEt=["OPTIONS","GET","DELETE","HEAD"],aEt=10,cEt=5,jD=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=jD;var WD=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=WD;function lEt(t){return new URL(t).protocol==="https:"}o(lEt,"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&&oEt.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&&iEt.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||!sEt.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 WD(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({},NI(this.requestOptions.headers),NI(e||{})):NI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=NI(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=NI(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?$D.httpsOverHttps:$D.httpsOverHttp:l=u?$D.httpOverHttps:$D.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 rEt.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(aEt,e);let r=cEt*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 jD(d,s);f.result=a.result,i(f)}else n(a)}))})}};wr.HttpClient=A8;var NI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var aSe=A((xSr,TI)=>{"use strict";var ZD=o(function(){},"NullObject");ZD.prototype=Object.create(null);var KD=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,XD=/\\([\v\u0020-\u00ff])/gu,iSe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,tA={type:"",parameters:new ZD};Object.freeze(tA.parameters);Object.freeze(tA);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 ZD};if(e===-1)return n;let i,s,a;for(KD.lastIndex=e;s=KD.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),XD.test(a)&&(a=a.replace(XD,"$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 tA;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(iSe.test(r)===!1)return tA;let n={type:r.toLowerCase(),parameters:new ZD};if(e===-1)return n;let i,s,a;for(KD.lastIndex=e;s=KD.exec(t);){if(s.index!==e)return tA;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),XD.test(a)&&(a=a.replace(XD,"$1"))),n.parameters[i]=a}return e!==t.length?tA:n}o(oSe,"safeParse");TI.exports.default={parse:sSe,safeParse:oSe};TI.exports.parse=sSe;TI.exports.safeParse=oSe;TI.exports.defaultContentType=tA});var cQ=A(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.isJsonObject=zy.typeofJsonValue=void 0;function BCt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(BCt,"typeofJsonValue");zy.typeofJsonValue=BCt;function xCt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(xCt,"isJsonObject");zy.isJsonObject=xCt});var uQ=A($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});$y.base64encode=$y.base64decode=void 0;var cd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lQ=[];for(let t=0;t<cd.length;t++)lQ[cd[t].charCodeAt(0)]=t;lQ[45]=cd.indexOf("+");lQ[95]=cd.indexOf("/");function vCt(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=lQ[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(vCt,"base64decode");$y.base64decode=vCt;function NCt(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(NCt,"base64encode");$y.base64encode=NCt});var jSe=A(dQ=>{"use strict";Object.defineProperty(dQ,"__esModule",{value:!0});dQ.utf8read=void 0;var G8=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function _Ct(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(_Ct,"utf8read");dQ.utf8read=_Ct});var UI=A(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.WireType=Tl.mergeBinaryOptions=Tl.UnknownFieldHandler=void 0;var TCt;(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")})(TCt=Tl.UnknownFieldHandler||(Tl.UnknownFieldHandler={}));function RCt(t,e){return Object.assign(Object.assign({},t),e)}o(RCt,"mergeBinaryOptions");Tl.mergeBinaryOptions=RCt;var DCt;(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"})(DCt=Tl.WireType||(Tl.WireType={}))});var hQ=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 QCt(){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(QCt,"varint64read");Ls.varint64read=QCt;function kCt(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(kCt,"varint64write");Ls.varint64write=kCt;var fQ=65536*65536;function PCt(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>=fQ&&(i=i+(n/fQ|0),n=n%fQ)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(PCt,"int64fromString");Ls.int64fromString=PCt;function OCt(t,e){if(e>>>0<=2097151)return""+(fQ*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(OCt,"int64toString");Ls.int64toString=OCt;function LCt(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(LCt,"varint32write");Ls.varint32write=LCt;function FCt(){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(FCt,"varint32read");Ls.varint32read=FCt});var Pf=A(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.PbLong=kf.PbULong=kf.detectBi=void 0;var qI=hQ(),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]+$/,AQ=4294967296,pQ=2147483648,mQ=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*AQ+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},GI=class t extends mQ{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]=qI.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/AQ)}throw new Error("unknown value "+typeof e)}toString(){return Jt?this.toBigInt().toString():qI.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=GI;GI.ZERO=new GI(0,0);var HI=class t extends mQ{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]=qI.int64fromString(e);if(r){if(i>pQ||i==pQ&&n!=0)throw new Error("signed long too small")}else if(i>=pQ)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/AQ):new t(-e,-e/AQ).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&pQ)!==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"-"+qI.int64toString(e.lo,e.hi)}return qI.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=HI;HI.ZERO=new HI(0,0)});var H8=A(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});Wy.BinaryReader=Wy.binaryReadOptions=void 0;var jy=UI(),VI=Pf(),KSe=hQ(),XSe={readUnknownField:!0,readerFactory:o(t=>new gQ(t),"readerFactory")};function MCt(t){return t?Object.assign(Object.assign({},XSe),t):XSe}o(MCt,"binaryReadOptions");Wy.binaryReadOptions=MCt;var gQ=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 jy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case jy.WireType.Bit64:this.pos+=4;case jy.WireType.Bit32:this.pos+=4;break;case jy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case jy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==jy.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 VI.PbLong(...this.varint64())}uint64(){return new VI.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 VI.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 VI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new VI.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())}};Wy.BinaryReader=gQ});var Jy=A(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.assertFloat32=ma.assertUInt32=ma.assertInt32=ma.assertNever=ma.assert=void 0;function UCt(t,e){if(!t)throw new Error(e)}o(UCt,"assert");ma.assert=UCt;function qCt(t,e){throw new Error(e??"Unexpected object: "+t)}o(qCt,"assertNever");ma.assertNever=qCt;var GCt=34028234663852886e22,HCt=-34028234663852886e22,VCt=4294967295,zCt=2147483647,$Ct=-2147483648;function jCt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>zCt||t<$Ct)throw new Error("invalid int 32: "+t)}o(jCt,"assertInt32");ma.assertInt32=jCt;function WCt(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>VCt||t<0)throw new Error("invalid uint 32: "+t)}o(WCt,"assertUInt32");ma.assertUInt32=WCt;function JCt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>GCt||t<HCt))throw new Error("invalid float 32: "+t)}o(JCt,"assertFloat32");ma.assertFloat32=JCt});var V8=A(Ky=>{"use strict";Object.defineProperty(Ky,"__esModule",{value:!0});Ky.BinaryWriter=Ky.binaryWriteOptions=void 0;var zI=Pf(),$I=hQ(),Yy=Jy(),ZSe={writeUnknownFields:!0,writerFactory:o(()=>new yQ,"writerFactory")};function YCt(t){return t?Object.assign(Object.assign({},ZSe),t):ZSe}o(YCt,"binaryWriteOptions");Ky.binaryWriteOptions=YCt;var yQ=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(Yy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Yy.assertInt32(e),$I.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){Yy.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){Yy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Yy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Yy.assertInt32(e),e=(e<<1^e>>31)>>>0,$I.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=zI.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=zI.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=zI.PbLong.from(e);return $I.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=zI.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return $I.varint64write(i,s,this.buf),this}uint64(e){let r=zI.PbULong.from(e);return $I.varint64write(r.lo,r.hi,this.buf),this}};Ky.BinaryWriter=yQ});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 KCt(t){return t?Object.assign(Object.assign({},tBe),t):tBe}o(KCt,"jsonReadOptions");Of.jsonReadOptions=KCt;function XCt(t){return t?Object.assign(Object.assign({},eBe),t):eBe}o(XCt,"jsonWriteOptions");Of.jsonWriteOptions=XCt;function ZCt(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(ZCt,"mergeJsonOptions");Of.mergeJsonOptions=ZCt});var jI=A(EQ=>{"use strict";Object.defineProperty(EQ,"__esModule",{value:!0});EQ.MESSAGE_TYPE=void 0;EQ.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var $8=A(CQ=>{"use strict";Object.defineProperty(CQ,"__esModule",{value:!0});CQ.lowerCamelCase=void 0;function ebt(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(ebt,"lowerCamelCase");CQ.lowerCamelCase=ebt});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(),tbt;(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"})(tbt=Pn.ScalarType||(Pn.ScalarType={}));var rbt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(rbt=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 nbt(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(nbt,"normalizeFieldInfo");Pn.normalizeFieldInfo=nbt;function ibt(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(ibt,"readFieldOptions");Pn.readFieldOptions=ibt;function sbt(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(sbt,"readFieldOption");Pn.readFieldOption=sbt;function obt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(obt,"readMessageOption");Pn.readMessageOption=obt});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 abt(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(abt,"isOneofGroup");Fs.isOneofGroup=abt;function cbt(t,e){return t[e]}o(cbt,"getOneofValue");Fs.getOneofValue=cbt;function lbt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(lbt,"setOneofValue");Fs.setOneofValue=lbt;function ubt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(ubt,"setUnknownOneofValue");Fs.setUnknownOneofValue=ubt;function dbt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(dbt,"clearOneofValue");Fs.clearOneofValue=dbt;function fbt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(fbt,"getSelectedOneofValue");Fs.getSelectedOneofValue=fbt});var J8=A(bQ=>{"use strict";Object.defineProperty(bQ,"__esModule",{value:!0});bQ.ReflectionTypeCheck=void 0;var Vr=fc(),hbt=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(!hbt.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)}}};bQ.ReflectionTypeCheck=W8});var IQ=A(wQ=>{"use strict";Object.defineProperty(wQ,"__esModule",{value:!0});wQ.reflectionLongConvert=void 0;var iBe=fc();function pbt(t,e){switch(e){case iBe.LongType.BIGINT:return t.toBigInt();case iBe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(pbt,"reflectionLongConvert");wQ.reflectionLongConvert=pbt});var K8=A(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.ReflectionJsonReader=void 0;var sBe=cQ(),Abt=uQ(),On=fc(),SQ=Pf(),sA=Jy(),BQ=IQ(),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"&&sA.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 sA.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:(sA.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}sA.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&&sA.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?sA.assertUInt32(c):sA.assertInt32(c),c;case On.ScalarType.INT64:case On.ScalarType.SFIXED64:case On.ScalarType.SINT64:if(e===null)return BQ.reflectionLongConvert(SQ.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return BQ.reflectionLongConvert(SQ.PbLong.from(e),n);case On.ScalarType.FIXED64:case On.ScalarType.UINT64:if(e===null)return BQ.reflectionLongConvert(SQ.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return BQ.reflectionLongConvert(SQ.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 Abt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};xQ.ReflectionJsonReader=Y8});var Z8=A(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.ReflectionJsonWriter=void 0;var mbt=uQ(),oBe=Pf(),os=fc(),Ir=Jy(),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?mbt.base64encode(r):a?"":void 0}}};vQ.ReflectionJsonWriter=X8});var _Q=A(NQ=>{"use strict";Object.defineProperty(NQ,"__esModule",{value:!0});NQ.reflectionScalarDefault=void 0;var hc=fc(),aBe=IQ(),cBe=Pf();function gbt(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(gbt,"reflectionScalarDefault");NQ.reflectionScalarDefault=gbt});var t6=A(TQ=>{"use strict";Object.defineProperty(TQ,"__esModule",{value:!0});TQ.ReflectionBinaryReader=void 0;var lBe=UI(),ln=fc(),WI=IQ(),uBe=_Q(),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 WI.reflectionLongConvert(e.int64(),n);case ln.ScalarType.UINT64:return WI.reflectionLongConvert(e.uint64(),n);case ln.ScalarType.FIXED64:return WI.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 WI.reflectionLongConvert(e.sfixed64(),n);case ln.ScalarType.SINT32:return e.sint32();case ln.ScalarType.SINT64:return WI.reflectionLongConvert(e.sint64(),n)}}};TQ.ReflectionBinaryReader=e6});var n6=A(RQ=>{"use strict";Object.defineProperty(RQ,"__esModule",{value:!0});RQ.ReflectionBinaryWriter=void 0;var Bo=UI(),tr=fc(),Xy=Jy(),JI=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(Xy.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?Xy.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){Xy.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":Xy.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:Xy.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;Xy.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||JI.PbLong.from(r).isZero(),i="int64";break;case tr.ScalarType.UINT64:a=s||JI.PbULong.from(r).isZero(),i="uint64";break;case tr.ScalarType.FIXED64:a=s||JI.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||JI.PbLong.from(r).isZero(),n=Bo.WireType.Bit64,i="sfixed64";break;case tr.ScalarType.SINT32:i="sint32";break;case tr.ScalarType.SINT64:a=s||JI.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};RQ.ReflectionBinaryWriter=r6});var i6=A(DQ=>{"use strict";Object.defineProperty(DQ,"__esModule",{value:!0});DQ.reflectionCreate=void 0;var ybt=_Q(),Ebt=jI();function Cbt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Ebt.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]=ybt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(Cbt,"reflectionCreate");DQ.reflectionCreate=Cbt});var s6=A(QQ=>{"use strict";Object.defineProperty(QQ,"__esModule",{value:!0});QQ.reflectionMergePartial=void 0;function bbt(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(bbt,"reflectionMergePartial");QQ.reflectionMergePartial=bbt});var a6=A(PQ=>{"use strict";Object.defineProperty(PQ,"__esModule",{value:!0});PQ.reflectionEquals=void 0;var o6=fc();function wbt(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(),kQ(s),kQ(a)):dBe(n.V.kind=="enum"?o6.ScalarType.INT32:n.V.T,kQ(s),kQ(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(wbt,"reflectionEquals");PQ.reflectionEquals=wbt;var kQ=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(OQ=>{"use strict";Object.defineProperty(OQ,"__esModule",{value:!0});OQ.MessageType=void 0;var Ibt=jI(),Sbt=fc(),Bbt=J8(),xbt=K8(),vbt=Z8(),Nbt=t6(),_bt=n6(),Tbt=i6(),c6=s6(),Rbt=cQ(),pBe=z8(),Dbt=a6(),Qbt=V8(),kbt=H8(),Pbt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),l6=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(Sbt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},Pbt),{[Ibt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new Bbt.ReflectionTypeCheck(this),this.refJsonReader=new xbt.ReflectionJsonReader(this),this.refJsonWriter=new vbt.ReflectionJsonWriter(this),this.refBinReader=new Nbt.ReflectionBinaryReader(this),this.refBinWriter=new _bt.ReflectionBinaryWriter(this)}create(e){let r=Tbt.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 Dbt.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=kbt.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=Qbt.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 ${Rbt.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}};OQ.MessageType=l6});var mBe=A(LQ=>{"use strict";Object.defineProperty(LQ,"__esModule",{value:!0});LQ.containsMessageType=void 0;var Obt=jI();function Lbt(t){return t[Obt.MESSAGE_TYPE]!=null}o(Lbt,"containsMessageType");LQ.containsMessageType=Lbt});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 Fbt(t){return u6(t).map(e=>e.name)}o(Fbt,"listEnumNames");Rl.listEnumNames=Fbt;function Mbt(t){return u6(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(Mbt,"listEnumNumbers");Rl.listEnumNumbers=Mbt});var cr=A(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var EBe=cQ();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=uQ();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 Ubt=jSe();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return Ubt.utf8read},"get")});var d6=UI();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 qbt=jI();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return qbt.MESSAGE_TYPE},"get")});var Gbt=ABe();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return Gbt.MessageType},"get")});var oA=fc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return oA.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return oA.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return oA.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return oA.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return oA.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return oA.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return oA.readMessageOption},"get")});var Hbt=J8();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return Hbt.ReflectionTypeCheck},"get")});var Vbt=i6();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return Vbt.reflectionCreate},"get")});var zbt=_Q();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return zbt.reflectionScalarDefault},"get")});var $bt=s6();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return $bt.reflectionMergePartial},"get")});var jbt=a6();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return jbt.reflectionEquals},"get")});var Wbt=t6();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Wbt.ReflectionBinaryReader},"get")});var Jbt=n6();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Jbt.ReflectionBinaryWriter},"get")});var Ybt=K8();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Ybt.ReflectionJsonReader},"get")});var Kbt=Z8();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Kbt.ReflectionJsonWriter},"get")});var Xbt=mBe();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return Xbt.containsMessageType},"get")});var YI=j8();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return YI.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return YI.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return YI.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return YI.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return YI.getSelectedOneofValue},"get")});var FQ=yBe();Object.defineProperty(De,"listEnumValues",{enumerable:!0,get:o(function(){return FQ.listEnumValues},"get")});Object.defineProperty(De,"listEnumNames",{enumerable:!0,get:o(function(){return FQ.listEnumNames},"get")});Object.defineProperty(De,"listEnumNumbers",{enumerable:!0,get:o(function(){return FQ.listEnumNumbers},"get")});Object.defineProperty(De,"isEnumObject",{enumerable:!0,get:o(function(){return FQ.isEnumObject},"get")});var Zbt=$8();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return Zbt.lowerCamelCase},"get")});var KI=Jy();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return KI.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return KI.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return KI.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return KI.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return KI.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 e0t=cr();function t0t(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:e0t.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(t0t,"normalizeMethodInfo");Ol.normalizeMethodInfo=t0t;function r0t(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(r0t,"readMethodOptions");Ol.readMethodOptions=r0t;function n0t(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(n0t,"readMethodOption");Ol.readMethodOption=n0t;function i0t(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(i0t,"readServiceOption");Ol.readServiceOption=i0t});var NBe=A(MQ=>{"use strict";Object.defineProperty(MQ,"__esModule",{value:!0});MQ.ServiceType=void 0;var s0t=x6(),v6=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>s0t.normalizeMethodInfo(i,this)),this.options=n??{}}};MQ.ServiceType=v6});var _6=A(UQ=>{"use strict";Object.defineProperty(UQ,"__esModule",{value:!0});UQ.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(`
|
|
`)}};UQ.RpcError=N6});var T6=A(GQ=>{"use strict";Object.defineProperty(GQ,"__esModule",{value:!0});GQ.mergeRpcOptions=void 0;var _Be=cr();function o0t(t,e){if(!e)return t;let r={};qQ(t,r),qQ(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={},qQ(t.meta,r.meta),qQ(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(o0t,"mergeRpcOptions");GQ.mergeRpcOptions=o0t;function qQ(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(qQ,"copy")});var D6=A(aA=>{"use strict";Object.defineProperty(aA,"__esModule",{value:!0});aA.Deferred=aA.DeferredState=void 0;var Ll;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ll=aA.DeferredState||(aA.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)}};aA.Deferred=R6});var k6=A(HQ=>{"use strict";Object.defineProperty(HQ,"__esModule",{value:!0});HQ.RpcOutputStreamController=void 0;var TBe=D6(),cA=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){cA.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){cA.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){cA.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(){cA.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;cA.assert(e,"bad state"),cA.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;cA.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)}};HQ.RpcOutputStreamController=Q6});var O6=A(tE=>{"use strict";var a0t=tE&&tE.__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(tE,"__esModule",{value:!0});tE.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 a0t(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}})}};tE.UnaryCall=P6});var F6=A(rE=>{"use strict";var c0t=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.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 c0t(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}})}};rE.ServerStreamingCall=L6});var U6=A(nE=>{"use strict";var l0t=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.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 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,headers:e,response:r,status:n,trailers:i}})}};nE.ClientStreamingCall=M6});var G6=A(iE=>{"use strict";var u0t=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.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 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,headers:e,status:r,trailers:n}})}};iE.DuplexStreamingCall=q6});var DBe=A(aE=>{"use strict";var d0t=aE&&aE.__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(aE,"__esModule",{value:!0});aE.TestTransport=void 0;var ga=_6(),VQ=cr(),RBe=k6(),f0t=T6(),h0t=O6(),p0t=F6(),A0t=U6(),m0t=G6(),oE=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 sE?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof sE?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)?(VQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),VQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return d0t(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)VQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ga.RpcError||(VQ.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 f0t.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 h0t.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 p0t.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 sE(this.data,r.abort),new A0t.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 sE(this.data,r.abort),new m0t.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};aE.TestTransport=oE;oE.defaultHeaders={responseHeader:"test"};oE.defaultStatus={code:"OK",detail:"all good"};oE.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 sE=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 g0t=cr();function ZI(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)}g0t.assertNever(t)}o(ZI,"stackIntercept");ya.stackIntercept=ZI;function y0t(t,e,r,n){return ZI("unary",t,e,n,r)}o(y0t,"stackUnaryInterceptors");ya.stackUnaryInterceptors=y0t;function E0t(t,e,r,n){return ZI("serverStreaming",t,e,n,r)}o(E0t,"stackServerStreamingInterceptors");ya.stackServerStreamingInterceptors=E0t;function C0t(t,e,r){return ZI("clientStreaming",t,e,r)}o(C0t,"stackClientStreamingInterceptors");ya.stackClientStreamingInterceptors=C0t;function b0t(t,e,r){return ZI("duplex",t,e,r)}o(b0t,"stackDuplexStreamingInterceptors");ya.stackDuplexStreamingInterceptors=b0t});var kBe=A(zQ=>{"use strict";Object.defineProperty(zQ,"__esModule",{value:!0});zQ.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)}}};zQ.ServerCallContextController=H6});var OBe=A(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var w0t=NBe();Object.defineProperty(zr,"ServiceType",{enumerable:!0,get:o(function(){return w0t.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 I0t=_6();Object.defineProperty(zr,"RpcError",{enumerable:!0,get:o(function(){return I0t.RpcError},"get")});var S0t=T6();Object.defineProperty(zr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return S0t.mergeRpcOptions},"get")});var B0t=k6();Object.defineProperty(zr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return B0t.RpcOutputStreamController},"get")});var x0t=DBe();Object.defineProperty(zr,"TestTransport",{enumerable:!0,get:o(function(){return x0t.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 v0t=G6();Object.defineProperty(zr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return v0t.DuplexStreamingCall},"get")});var N0t=U6();Object.defineProperty(zr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return N0t.ClientStreamingCall},"get")});var _0t=F6();Object.defineProperty(zr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return _0t.ServerStreamingCall},"get")});var T0t=O6();Object.defineProperty(zr,"UnaryCall",{enumerable:!0,get:o(function(){return T0t.UnaryCall},"get")});var eS=QBe();Object.defineProperty(zr,"stackIntercept",{enumerable:!0,get:o(function(){return eS.stackIntercept},"get")});Object.defineProperty(zr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return eS.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(zr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return eS.stackClientStreamingInterceptors},"get")});Object.defineProperty(zr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return eS.stackServerStreamingInterceptors},"get")});Object.defineProperty(zr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return eS.stackUnaryInterceptors},"get")});var R0t=kBe();Object.defineProperty(zr,"ServerCallContextController",{enumerable:!0,get:o(function(){return R0t.ServerCallContextController},"get")})});var qBe=A((FNr,Q0t)=>{Q0t.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((MNr,GBe)=>{var k0t=qBe();GBe.exports={version:k0t.version}});var exe=A((p_r,ZBe)=>{var P0t=typeof process=="object"&&process&&process.platform==="win32";ZBe.exports=P0t?{sep:"\\"}:{sep:"/"}});var yW=A((A_r,axe)=>{var txe=s3();axe.exports=F0t;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 O0t(t){return t.split("\\\\").join(rxe).split("\\{").join(nxe).split("\\}").join(gW).split("\\,").join(ixe).split("\\.").join(sxe)}o(O0t,"escapeBraces");function L0t(t){return t.split(rxe).join("\\").split(nxe).join("{").split(gW).join("}").split(ixe).join(",").split(sxe).join(".")}o(L0t,"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 F0t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),tS(O0t(t),!0).map(L0t)):[]}o(F0t,"expandTop");function M0t(t){return"{"+t+"}"}o(M0t,"embrace");function U0t(t){return/^-?0\d/.test(t)}o(U0t,"isPadded");function q0t(t,e){return t<=e}o(q0t,"lte");function G0t(t,e){return t>=e}o(G0t,"gte");function tS(t,e){var r=[],n=txe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?tS(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,tS(t)):[t];var h;if(d)h=n.body.split(/\.\./);else if(h=oxe(n.body),h.length===1&&(h=tS(h[0],!1).map(M0t),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=q0t,w=g<m;w&&(y*=-1,C=G0t);var B=h.some(U0t);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,tS(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(tS,"expand")});var hxe=A((y_r,IW)=>{var vo=IW.exports=(t,e,r={})=>(JQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new dE(e,r).match(t));IW.exports=vo;var bW=exe();vo.sep=bW.sep;var Ac=Symbol("globstar **");vo.GLOBSTAR=Ac;var H0t=yW(),cxe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},wW="[^/]",EW=wW+"*?",V0t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",z0t="(?:(?!(?:\\/|^)\\.).)*?",dxe=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),lxe=dxe("().*{}+?[]^$\\!"),$0t=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={})=>(JQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:H0t(t)),"braceExpand"),j0t=1024*64,JQ=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 dE(t,e||{}).makeRe();vo.match=(t,e,r={})=>{let n=new dE(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var W0t=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),J0t=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),Y0t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),K0t=o(t=>t.replace(/[[\]\\]/g,"\\$&"),"braExpEscape"),dE=class{static{o(this,"Minimatch")}constructor(e,r){JQ(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){JQ(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("["+K0t(J0t(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=$0t[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 W0t(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?V0t:z0t,i=r.nocase?"i":"",s=e.map(a=>(a=a.map(c=>typeof c=="string"?Y0t(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=dE});var yxe=A((C_r,gxe)=>{gxe.exports=mxe;var BW=require("fs"),{EventEmitter:X0t}=require("events"),{Minimatch:SW}=hxe(),{resolve:Z0t}=require("path");function ewt(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(ewt,"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 ewt(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*twt(t,e,r,n){yield*Axe("",t,e,r,n,!0)}o(twt,"explore");function rwt(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(rwt,"readOptions");var YQ=class extends X0t{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=rwt(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=twt(Z0t(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 YQ(t,e,r)}o(mxe,"readdirGlob");mxe.ReaddirGlob=YQ});var Cxe=A((KQ,Exe)=>{(function(t,e){typeof KQ=="object"&&typeof Exe<"u"?e(KQ):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.async={}))})(KQ,(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(", "));fm(Un,()=>{Ar--,Ar===0&&Bt(we,Oe)})})}),Qt(),ko();function Bt(we,Oe){Se.push(()=>ib(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 fm(we,Oe){var xt=W[we];xt||(xt=W[we]=[]),xt.push(Oe)}o(fm,"addListener");function Nh(we){var Oe=W[we]||[];Oe.forEach(xt=>xt()),ko()}o(Nh,"taskComplete");function ib(we,Oe){if(!G){var xt=ee((Un,...Po)=>{if(L--,Un===!1){M=!0;return}if(Po.length<2&&([Po]=Po),Un){var hm={};if(Object.keys(k).forEach(_h=>{hm[_h]=k[_h]}),hm[we]=Po,G=!0,W=Object.create(null),M)return;S(Un,hm)}else k[we]=Po,Nh(we)});L++;var Ar=E(Oe[Oe.length-1]);Oe.length>1?Ar(k,xt):Ar(xt)}}o(ib,"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*=>)/,ix=/,/,YC=/(=.+)?(\s*)$/;function KC(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(KC,"stripComments");function sx(I){let b=KC(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(ix).map(k=>k.replace(YC,"").trim())}o(sx,"parseParams");function cm(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=sx(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(cm,"autoInject");class ox{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):XC(this,b)}push(b){this.tail?this.insertAfter(this.tail,b):XC(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 XC(I,b){I.length=1,I.head=I.tail=b}o(XC,"setInitial");function lm(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,...sb){if(_h)return Oe?Un(_h):Ar();if(sb.length<=1)return Ar(sb[0]);Ar(sb)}o(Po,"promiseCallback");var hm=Qt._createTaskItem(Pe,Oe?Po:xt||Po);if(we?Qt._tasks.unshift(hm):Qt._tasks.push(hm),Dt||(Dt=!0,u(()=>{Dt=!1,Qt.process()})),Oe||!xt)return new Promise((_h,sb)=>{Ar=_h,Un=sb})}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 fm(Pe){return Pe.length===0&&Qt.idle()?(u(()=>wt("drain")),!0):!1}o(fm,"_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 ib=!1,Qt={_tasks:new ox,_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)?fm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!1,we)):Bt(Pe,!1,!1,we)},pushAsync(Pe,we){return Array.isArray(Pe)?fm(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)?fm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!1,we)):Bt(Pe,!0,!1,we)},unshiftAsync(Pe,we){return Array.isArray(Pe)?fm(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!0,we)):Bt(Pe,!0,!0,we)},remove(Pe){Qt._tasks.remove(Pe)},process(){if(!ib){for(ib=!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)}ib=!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(lm,"queue$1");function um(I,b){return lm(I,1,b)}o(um,"cargo$1");function $s(I,b,S){return lm(I,b,S)}o($s,"cargo");function ax(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(ax,"reduce");var Fa=y(ax,4);function ZC(...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(ZC,"seq");function be(...I){return ZC(...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 dm=y(vh,3);function cx(I,b,S,T){return Kt(k=>k,(k,L)=>L)(Ae(b),I,S,T)}o(cx,"detectLimit");var lx=y(cx,4);function GUe(I,b,S){return Kt(T=>T,(T,k)=>k)(Ae(1),I,b,S)}o(GUe,"detectSeries");var ux=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 eb=y(HUe,3);function bZ(I,b,S){let T=E(b);return eb(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 dx=y(VUe,3);function zUe(I,b,S,T){return Ae(b)(I,wZ(E(S)),T)}o(zUe,"eachLimit");var tb=y(zUe,4);function $Ue(I,b,S){return tb(I,1,b,S)}o($Ue,"eachSeries");var rb=y($Ue,3);function wL(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(wL,"ensureAsync");function jUe(I,b,S){return Kt(T=>!T,T=>!T)(bt,I,b,S)}o(jUe,"every");var fx=y(jUe,3);function WUe(I,b,S,T){return Kt(k=>!k,k=>!k)(Ae(b),I,S,T)}o(WUe,"everyLimit");var hx=y(WUe,4);function JUe(I,b,S){return Kt(T=>!T,T=>!T)(Jr,I,b,S)}o(JUe,"everySeries");var px=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 Ax(I,b,S,T){var k=B(b)?YUe:KUe;return k(I,b,E(S),T)}o(Ax,"_filter");function XUe(I,b,S){return Ax(bt,I,b,S)}o(XUe,"filter");var mx=y(XUe,3);function ZUe(I,b,S,T){return Ax(Ae(b),I,S,T)}o(ZUe,"filterLimit");var gx=y(ZUe,4);function eqe(I,b,S){return Ax(Jr,I,b,S)}o(eqe,"filterSeries");var yx=y(eqe,3);function tqe(I,b){var S=ee(b),T=E(wL(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 Ex=y(rqe,4);function SZ(I,b,S){return Ex(I,1/0,b,S)}o(SZ,"groupBy");function BZ(I,b,S){return Ex(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 Cx=y(nqe,4);function vZ(I,b,S){return Cx(I,1/0,b,S)}o(vZ,"mapValues");function NZ(I,b,S){return Cx(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 bx;s?bx=process.nextTick:i?bx=setImmediate:bx=a;var TZ=c(bx),IL=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 IL(bt,I,b)}o(RZ,"parallel");function DZ(I,b,S){return IL(Ae(b),I,S)}o(DZ,"parallelLimit");function SL(I,b){var S=E(I);return lm((T,k)=>{S(T[0],k)},b,1)}o(SL,"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&&BL(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&&BL(this.heap[S+1],this.heap[S])&&(S=S+1),!BL(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 BL(I,b){return I.priority!==b.priority?I.priority<b.priority:I.pushCount<b.pushCount}o(BL,"smaller");function kZ(I,b){var S=SL(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 wx(I,b,S,T){var k=[...I].reverse();return Fa(k,b,S,T)}o(wx,"reduceRight");function Ix(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(Ix,"reflect");function OZ(I){var b;return Array.isArray(I)?b=I.map(Ix):(b={},Object.keys(I).forEach(S=>{b[S]=Ix.call(this,I[S])})),b}o(OZ,"reflectAll");function xL(I,b,S,T){let k=E(S);return Ax(I,b,(L,M)=>{k(L,(G,W)=>{M(G,!W)})},T)}o(xL,"reject$2");function aqe(I,b,S){return xL(bt,I,b,S)}o(aqe,"reject");var LZ=y(aqe,3);function cqe(I,b,S,T){return xL(Ae(b),I,S,T)}o(cqe,"rejectLimit");var FZ=y(cqe,4);function lqe(I,b,S){return xL(Jr,I,b,S)}o(lqe,"rejectSeries");var MZ=y(lqe,3);function UZ(I){return function(){return I}}o(UZ,"constant");let vL=5,qZ=0;function Sx(I,b,S){var T={times:vL,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(Sx,"retry");function uqe(I,b){if(typeof b=="object")I.times=+b.times||vL,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||vL;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?Sx(I,M,L):Sx(M,L),L[ms]})}o(GZ,"retryable");function HZ(I,b){return IL(Jr,I,b)}o(HZ,"series");function dqe(I,b,S){return Kt(Boolean,T=>T)(bt,I,b,S)}o(dqe,"some");var Bx=y(dqe,3);function fqe(I,b,S,T){return Kt(Boolean,k=>k)(Ae(b),I,S,T)}o(fqe,"someLimit");var xx=y(fqe,4);function hqe(I,b,S){return Kt(Boolean,T=>T)(Jr,I,b,S)}o(hqe,"someSeries");var vx=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 Nx(I,b,S,T){var k=E(S);return x(Aqe(I),b,k,T)}o(Nx,"timesLimit");function $Z(I,b,S){return Nx(I,1/0,b,S)}o($Z,"times");function jZ(I,b,S){return Nx(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 rb(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 nb=y(gqe,3);function KZ(I,b,S){let T=E(I);return nb(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:cm,cargo:um,cargoQueue:$s,compose:be,concat:X,concatLimit:U,concatSeries:St,constant:pn,detect:dm,detectLimit:lx,detectSeries:ux,dir:CZ,doUntil:bZ,doWhilst:eb,each:dx,eachLimit:tb,eachOf:bt,eachOfLimit:z,eachOfSeries:Jr,eachSeries:rb,ensureAsync:wL,every:fx,everyLimit:hx,everySeries:px,filter:mx,filterLimit:gx,filterSeries:yx,forever:IZ,groupBy:SZ,groupByLimit:Ex,groupBySeries:BZ,log:xZ,map:hn,mapLimit:x,mapSeries:pu,mapValues:vZ,mapValuesLimit:Cx,mapValuesSeries:NZ,memoize:_Z,nextTick:TZ,parallel:RZ,parallelLimit:DZ,priorityQueue:kZ,queue:SL,race:PZ,reduce:Fa,reduceRight:wx,reflect:Ix,reflectAll:OZ,reject:LZ,rejectLimit:FZ,rejectSeries:MZ,retry:Sx,retryable:GZ,seq:ZC,series:HZ,setImmediate:u,some:Bx,someLimit:xx,someSeries:vx,sortBy:VZ,timeout:zZ,times:$Z,timesLimit:Nx,timesSeries:jZ,transform:WZ,tryEach:JZ,unmemoize:YZ,until:KZ,waterfall:XZ,whilst:nb,all:fx,allLimit:hx,allSeries:px,any:Bx,anyLimit:xx,anySeries:vx,find:dm,findLimit:lx,findSeries:ux,flatMap:X,flatMapLimit:U,flatMapSeries:St,forEach:dx,forEachSeries:rb,forEachLimit:tb,forEachOf:bt,forEachOfSeries:Jr,forEachOfLimit:z,inject:Fa,foldl:Fa,foldr:wx,select:mx,selectLimit:gx,selectSeries:yx,wrapSync:d,during:nb,doDuring:eb};t.all=fx,t.allLimit=hx,t.allSeries=px,t.any=Bx,t.anyLimit=xx,t.anySeries=vx,t.apply=e,t.applyEach=oi,t.applyEachSeries=vc,t.asyncify=d,t.auto=Pd,t.autoInject=cm,t.cargo=um,t.cargoQueue=$s,t.compose=be,t.concat=X,t.concatLimit=U,t.concatSeries=St,t.constant=pn,t.default=Eqe,t.detect=dm,t.detectLimit=lx,t.detectSeries=ux,t.dir=CZ,t.doDuring=eb,t.doUntil=bZ,t.doWhilst=eb,t.during=nb,t.each=dx,t.eachLimit=tb,t.eachOf=bt,t.eachOfLimit=z,t.eachOfSeries=Jr,t.eachSeries=rb,t.ensureAsync=wL,t.every=fx,t.everyLimit=hx,t.everySeries=px,t.filter=mx,t.filterLimit=gx,t.filterSeries=yx,t.find=dm,t.findLimit=lx,t.findSeries=ux,t.flatMap=X,t.flatMapLimit=U,t.flatMapSeries=St,t.foldl=Fa,t.foldr=wx,t.forEach=dx,t.forEachLimit=tb,t.forEachOf=bt,t.forEachOfLimit=z,t.forEachOfSeries=Jr,t.forEachSeries=rb,t.forever=IZ,t.groupBy=SZ,t.groupByLimit=Ex,t.groupBySeries=BZ,t.inject=Fa,t.log=xZ,t.map=hn,t.mapLimit=x,t.mapSeries=pu,t.mapValues=vZ,t.mapValuesLimit=Cx,t.mapValuesSeries=NZ,t.memoize=_Z,t.nextTick=TZ,t.parallel=RZ,t.parallelLimit=DZ,t.priorityQueue=kZ,t.queue=SL,t.race=PZ,t.reduce=Fa,t.reduceRight=wx,t.reflect=Ix,t.reflectAll=OZ,t.reject=LZ,t.rejectLimit=FZ,t.rejectSeries=MZ,t.retry=Sx,t.retryable=GZ,t.select=mx,t.selectLimit=gx,t.selectSeries=yx,t.seq=ZC,t.series=HZ,t.setImmediate=u,t.some=Bx,t.someLimit=xx,t.someSeries=vx,t.sortBy=VZ,t.timeout=zZ,t.times=$Z,t.timesLimit=Nx,t.timesSeries=jZ,t.transform=WZ,t.tryEach=JZ,t.unmemoize=YZ,t.until=KZ,t.waterfall=XZ,t.whilst=nb,t.wrapSync=d,Object.defineProperty(t,"__esModule",{value:!0})}))});var wxe=A((I_r,bxe)=>{var Mf=require("constants"),nwt=process.cwd,XQ=null,iwt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return XQ||(XQ=nwt.call(process)),XQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(xW=process.chdir,process.chdir=function(t){XQ=null,xW.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,xW));var xW;bxe.exports=swt;function swt(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(){}),iwt==="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(swt,"patch")});var Bxe=A((B_r,Sxe)=>{var Ixe=require("stream").Stream;Sxe.exports=owt;function owt(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(owt,"legacy")});var vxe=A((v_r,xxe)=>{"use strict";xxe.exports=cwt;var awt=Object.getPrototypeOf||function(t){return t.__proto__};function cwt(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:awt(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(cwt,"clone")});var TW=A((__r,_W)=>{var _r=require("fs"),lwt=wxe(),uwt=Bxe(),dwt=vxe(),ZQ=require("util"),yi,t1;typeof Symbol=="function"&&typeof Symbol.for=="function"?(yi=Symbol.for("graceful-fs.queue"),t1=Symbol.for("graceful-fs.previous")):(yi="___graceful-fs.queue",t1="___graceful-fs.previous");function fwt(){}o(fwt,"noop");function Txe(t,e){Object.defineProperty(t,yi,{get:o(function(){return e},"get")})}o(Txe,"publishQueue");var uA=fwt;ZQ.debuglog?uA=ZQ.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(uA=o(function(){var t=ZQ.format.apply(ZQ,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,t1,{value:t}),e})(_r.close),_r.closeSync=(function(t){function e(r){t.apply(_r,arguments),_xe()}return o(e,"closeSync"),Object.defineProperty(e,t1,{value:t}),e})(_r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){uA(_r[yi]),require("assert").equal(_r[yi].length,0)}));var Nxe;global[yi]||Txe(global,_r[yi]);_W.exports=vW(dwt(_r));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!_r.__patched&&(_W.exports=vW(_r),_r.__patched=!0);function vW(t){lwt(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")?fE([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")?fE([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")?fE([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")?fE([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")?fE([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=uwt(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")?fE([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 fE(t){uA("ENQUEUE",t[0].name,t[1]),_r[yi].push(t),NW()}o(fE,"enqueue");var e1;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(e1),e1=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)uA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){uA("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?(uA("RETRY",e.name,r),e.apply(null,r.concat([i]))):_r[yi].push(t)}e1===void 0&&(e1=setTimeout(NW,0))}}o(NW,"retry")});var r1=A((R_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 rS=A((Q_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:hwt}:RW.exports=process;function hwt(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(hwt,"nextTick")});var Qxe=A((P_r,Dxe)=>{var pwt={}.toString;Dxe.exports=Array.isArray||function(t){return pwt.call(t)=="[object Array]"}});var DW=A((O_r,kxe)=>{kxe.exports=require("stream")});var nS=A((QW,Oxe)=>{var n1=require("buffer"),dd=n1.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=n1:(Pxe(n1,QW),QW.Buffer=hE);function hE(t,e,r){return dd(t,e,r)}o(hE,"SafeBuffer");Pxe(dd,hE);hE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return dd(t,e,r)};hE.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};hE.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return dd(t)};hE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return n1.SlowBuffer(t)}});var pE=A(Ri=>{function Awt(t){return Array.isArray?Array.isArray(t):i1(t)==="[object Array]"}o(Awt,"isArray");Ri.isArray=Awt;function mwt(t){return typeof t=="boolean"}o(mwt,"isBoolean");Ri.isBoolean=mwt;function gwt(t){return t===null}o(gwt,"isNull");Ri.isNull=gwt;function ywt(t){return t==null}o(ywt,"isNullOrUndefined");Ri.isNullOrUndefined=ywt;function Ewt(t){return typeof t=="number"}o(Ewt,"isNumber");Ri.isNumber=Ewt;function Cwt(t){return typeof t=="string"}o(Cwt,"isString");Ri.isString=Cwt;function bwt(t){return typeof t=="symbol"}o(bwt,"isSymbol");Ri.isSymbol=bwt;function wwt(t){return t===void 0}o(wwt,"isUndefined");Ri.isUndefined=wwt;function Iwt(t){return i1(t)==="[object RegExp]"}o(Iwt,"isRegExp");Ri.isRegExp=Iwt;function Swt(t){return typeof t=="object"&&t!==null}o(Swt,"isObject");Ri.isObject=Swt;function Bwt(t){return i1(t)==="[object Date]"}o(Bwt,"isDate");Ri.isDate=Bwt;function xwt(t){return i1(t)==="[object Error]"||t instanceof Error}o(xwt,"isError");Ri.isError=xwt;function vwt(t){return typeof t=="function"}o(vwt,"isFunction");Ri.isFunction=vwt;function Nwt(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(Nwt,"isPrimitive");Ri.isPrimitive=Nwt;Ri.isBuffer=require("buffer").Buffer.isBuffer;function i1(t){return Object.prototype.toString.call(t)}o(i1,"objectToString")});var Lxe=A((U_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 AE=A((G_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((H_r,LW)=>{"use strict";function _wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(_wt,"_classCallCheck");var Fxe=nS().Buffer,iS=require("util");function Twt(t,e,r){t.copy(e,r)}o(Twt,"copyBuffer");LW.exports=(function(){function t(){_wt(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;)Twt(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();iS&&iS.inspect&&iS.inspect.custom&&(LW.exports.prototype[iS.inspect.custom]=function(){var t=iS.inspect({length:this.length});return this.constructor.name+" "+t})});var FW=A((z_r,Uxe)=>{"use strict";var s1=rS();function Rwt(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,s1.nextTick(o1,this,t)):s1.nextTick(o1,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,s1.nextTick(o1,r,s)):s1.nextTick(o1,r,s):e&&e(s)}),this)}o(Rwt,"destroy");function Dwt(){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(Dwt,"undestroy");function o1(t,e){t.emit("error",e)}o(o1,"emitErrorNT");Uxe.exports={destroy:Rwt,undestroy:Dwt}});var Gxe=A((j_r,qxe)=>{qxe.exports=require("util").deprecate});var UW=A((W_r,Yxe)=>{"use strict";var dA=rS();Yxe.exports=wn;function Vxe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Ywt(e,t)}}o(Vxe,"CorkedRequest");var Qwt=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:dA.nextTick,mE;wn.WritableState=oS;var zxe=Object.create(pE());zxe.inherits=AE();var kwt={deprecate:Gxe()},$xe=DW(),c1=nS().Buffer,Pwt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Owt(t){return c1.from(t)}o(Owt,"_uint8ArrayToBuffer");function Lwt(t){return c1.isBuffer(t)||t instanceof Pwt}o(Lwt,"_isUint8Array");var jxe=FW();zxe.inherits(wn,$xe);function Fwt(){}o(Fwt,"nop");function oS(t,e){mE=mE||fA(),t=t||{};var r=e instanceof mE;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){zwt(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(oS,"WritableState");oS.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(oS.prototype,"buffer",{get:kwt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var a1;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(a1=Function.prototype[Symbol.hasInstance],Object.defineProperty(wn,Symbol.hasInstance,{value:o(function(t){return a1.call(this,t)?!0:this!==wn?!1:t&&t._writableState instanceof oS},"value")})):a1=o(function(t){return t instanceof this},"realHasInstance");function wn(t){if(mE=mE||fA(),!a1.call(wn,this)&&!(this instanceof mE))return new wn(t);this._writableState=new oS(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 Mwt(t,e){var r=new Error("write after end");t.emit("error",r),dA.nextTick(e,r)}o(Mwt,"writeAfterEnd");function Uwt(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),dA.nextTick(n,s),i=!1),i}o(Uwt,"validChunk");wn.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&Lwt(t);return s&&!c1.isBuffer(t)&&(t=Owt(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=Fwt),n.ended?Mwt(this,r):(s||Uwt(this,n,t,r))&&(n.pendingcb++,i=Gwt(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 qwt(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=c1.from(e,r)),e}o(qwt,"decodeChunk");Object.defineProperty(wn.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function Gwt(t,e,r,n,i,s){if(!r){var a=qwt(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(Gwt,"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 Hwt(t,e,r,n,i){--e.pendingcb,r?(dA.nextTick(i,n),dA.nextTick(sS,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),sS(t,e))}o(Hwt,"onwriteError");function Vwt(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}o(Vwt,"onwriteStateUpdate");function zwt(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(Vwt(r),e)Hwt(t,r,n,e,i);else{var s=Jxe(r);!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Wxe(t,r),n?Qwt(Hxe,t,r,s,i):Hxe(t,r,s,i)}}o(zwt,"onwrite");function Hxe(t,e,r,n){r||$wt(t,e),e.pendingcb--,n(),sS(t,e)}o(Hxe,"afterWrite");function $wt(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}o($wt,"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||Jwt(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"),sS(t,e)})}o(jwt,"callFinal");function Wwt(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"?(e.pendingcb++,e.finalCalled=!0,dA.nextTick(jwt,t,e)):(e.prefinished=!0,t.emit("prefinish")))}o(Wwt,"prefinish");function sS(t,e){var r=Jxe(e);return r&&(Wwt(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"))),r}o(sS,"finishMaybe");function Jwt(t,e,r){e.ending=!0,sS(t,e),r&&(e.finished?dA.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}o(Jwt,"endWritable");function Ywt(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(Ywt,"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 fA=A((Y_r,eve)=>{"use strict";var Kxe=rS(),Kwt=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};eve.exports=fd;var Xxe=Object.create(pE());Xxe.inherits=AE();var Zxe=HW(),GW=UW();Xxe.inherits(fd,Zxe);for(qW=Kwt(GW.prototype),l1=0;l1<qW.length;l1++)u1=qW[l1],fd.prototype[u1]||(fd.prototype[u1]=GW.prototype[u1]);var qW,u1,l1;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",Xwt)}o(fd,"Duplex");Object.defineProperty(fd.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function Xwt(){this.allowHalfOpen||this._writableState.ended||Kxe.nextTick(Zwt,this)}o(Xwt,"onend");function Zwt(t){t.end()}o(Zwt,"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=nS().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 eIt(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(eIt,"_normalizeEncoding");function tIt(t){var e=eIt(t);if(typeof e!="string"&&(zW.isEncoding===tve||!tve(t)))throw new Error("Unknown encoding: "+t);return e||t}o(tIt,"normalizeEncoding");rve.StringDecoder=aS;function aS(t){this.encoding=tIt(t);var e;switch(this.encoding){case"utf16le":this.text=aIt,this.end=cIt,e=4;break;case"utf8":this.fillLast=iIt,e=4;break;case"base64":this.text=lIt,this.end=uIt,e=3;break;default:this.write=dIt,this.end=fIt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=zW.allocUnsafe(e)}o(aS,"StringDecoder");aS.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||""};aS.prototype.end=oIt;aS.prototype.text=sIt;aS.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 rIt(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(rIt,"utf8CheckIncomplete");function nIt(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(nIt,"utf8CheckExtraBytes");function iIt(t){var e=this.lastTotal-this.lastNeed,r=nIt(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(iIt,"utf8FillLast");function sIt(t,e){var r=rIt(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(sIt,"utf8Text");function oIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o(oIt,"utf8End");function aIt(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(aIt,"utf16Text");function cIt(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(cIt,"utf16End");function lIt(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(lIt,"base64Text");function uIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(uIt,"base64End");function dIt(t){return t.toString(this.encoding)}o(dIt,"simpleWrite");function fIt(t){return t&&t.length?this.write(t):""}o(fIt,"simpleEnd")});var HW=A((tTr,pve)=>{"use strict";var yE=rS();pve.exports=lr;var hIt=Qxe(),cS;lr.ReadableState=lve;var eTr=require("events").EventEmitter,ove=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),KW=DW(),lS=nS().Buffer,pIt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function AIt(t){return lS.from(t)}o(AIt,"_uint8ArrayToBuffer");function mIt(t){return lS.isBuffer(t)||t instanceof pIt}o(mIt,"_isUint8Array");var ave=Object.create(pE());ave.inherits=AE();var jW=require("util"),Mt=void 0;jW&&jW.debuglog?Mt=jW.debuglog("stream"):Mt=o(function(){},"debug");var gIt=Mxe(),cve=FW(),gE;ave.inherits(lr,KW);var WW=["error","close","destroy","pause","resume"];function yIt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):hIt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(yIt,"prependListener");function lve(t,e){cS=cS||fA(),t=t||{};var r=e instanceof cS;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 gIt,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&&(gE||(gE=$W().StringDecoder),this.decoder=new gE(t.encoding),this.encoding=t.encoding)}o(lve,"ReadableState");function lr(t){if(cS=cS||fA(),!(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=lS.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,wIt(t,s);else{var a;i||(a=EIt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==lS.prototype&&(e=AIt(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 CIt(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&&d1(t)),dve(t,e)}o(JW,"addChunk");function EIt(t,e){var r;return!mIt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(EIt,"chunkInvalid");function CIt(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||t.length===0)}o(CIt,"needMoreData");lr.prototype.isPaused=function(){return this._readableState.flowing===!1};lr.prototype.setEncoding=function(t){return gE||(gE=$W().StringDecoder),this._readableState.decoder=new gE(t),this._readableState.encoding=t,this};var nve=8388608;function bIt(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(bIt,"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=bIt(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):d1(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 wIt(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,d1(t)}}o(wIt,"onEofChunk");function d1(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Mt("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?yE.nextTick(sve,t):sve(t))}o(d1,"emitReadable");function sve(t){Mt("emit readable"),t.emit("readable"),XW(t)}o(sve,"emitReadable_");function dve(t,e){e.readingMore||(e.readingMore=!0,yE.nextTick(IIt,t,e))}o(dve,"maybeReadMore");function IIt(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(IIt,"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?yE.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=SIt(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"),yIt(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 SIt(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(SIt,"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&&d1(this):yE.nextTick(BIt,this))}return r};lr.prototype.addListener=lr.prototype.on;function BIt(t){Mt("readable nexttick read 0"),t.read(0)}o(BIt,"nReadingNextTick");lr.prototype.resume=function(){var t=this._readableState;return t.flowing||(Mt("resume"),t.flowing=!0,xIt(this,t)),this};function xIt(t,e){e.resumeScheduled||(e.resumeScheduled=!0,yE.nextTick(vIt,t,e))}o(xIt,"resume");function vIt(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(vIt,"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=NIt(t,e.buffer,e.decoder),r}o(fve,"fromList");function NIt(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?_It(t,e):TIt(t,e),n}o(NIt,"fromListPartial");function _It(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(_It,"copyFromBufferString");function TIt(t,e){var r=lS.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(TIt,"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,yE.nextTick(RIt,e,t))}o(YW,"endReadable");function RIt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(RIt,"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((nTr,gve)=>{"use strict";gve.exports=hd;var f1=fA(),mve=Object.create(pE());mve.inherits=AE();mve.inherits(hd,f1);function DIt(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(DIt,"afterTransform");function hd(t){if(!(this instanceof hd))return new hd(t);f1.call(this,t),this._transformState={afterTransform:DIt.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",QIt)}o(hd,"Transform");function QIt(){var t=this;typeof this._flush=="function"?this._flush(function(e,r){Ave(t,e,r)}):Ave(this,null,null)}o(QIt,"prefinish");hd.prototype.push=function(t,e){return this._transformState.needTransform=!1,f1.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;f1.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((sTr,Cve)=>{"use strict";Cve.exports=uS;var yve=ZW(),Eve=Object.create(pE());Eve.inherits=AE();Eve.inherits(uS,yve);function uS(t){if(!(this instanceof uS))return new uS(t);yve.call(this,t)}o(uS,"PassThrough");uS.prototype._transform=function(t,e,r){r(null,t)}});var wve=A((Ei,h1)=>{var Gl=require("stream");process.env.READABLE_STREAM==="disable"&&Gl?(h1.exports=Gl,Ei=h1.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=h1.exports=HW(),Ei.Stream=Gl||Ei,Ei.Readable=Ei,Ei.Writable=UW(),Ei.Duplex=fA(),Ei.Transform=ZW(),Ei.PassThrough=bve())});var Sve=A((aTr,Ive)=>{Ive.exports=wve().PassThrough});var Nve=A((cTr,vve)=>{var Bve=require("util"),m1=Sve();vve.exports={Readable:p1,Writable:A1};Bve.inherits(p1,m1);Bve.inherits(A1,m1);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 p1(t,e){if(!(this instanceof p1))return new p1(t,e);m1.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(p1,"Readable");function A1(t,e){if(!(this instanceof A1))return new A1(t,e);m1.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(A1,"Writable")});var eJ=A((uTr,_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((dTr,Tve)=>{function kIt(t){return t}o(kIt,"identity");Tve.exports=kIt});var Dve=A((hTr,Rve)=>{function PIt(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(PIt,"apply");Rve.exports=PIt});var Pve=A((ATr,kve)=>{var OIt=Dve(),Qve=Math.max;function LIt(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),OIt(t,this,c)}}o(LIt,"overRest");kve.exports=LIt});var Lve=A((gTr,Ove)=>{function FIt(t){return function(){return t}}o(FIt,"constant");Ove.exports=FIt});var rJ=A((ETr,Fve)=>{var MIt=typeof global=="object"&&global&&global.Object===Object&&global;Fve.exports=MIt});var EE=A((CTr,Mve)=>{var UIt=rJ(),qIt=typeof self=="object"&&self&&self.Object===Object&&self,GIt=UIt||qIt||Function("return this")();Mve.exports=GIt});var g1=A((bTr,Uve)=>{var HIt=EE(),VIt=HIt.Symbol;Uve.exports=VIt});var Vve=A((wTr,Hve)=>{var qve=g1(),Gve=Object.prototype,zIt=Gve.hasOwnProperty,$It=Gve.toString,dS=qve?qve.toStringTag:void 0;function jIt(t){var e=zIt.call(t,dS),r=t[dS];try{t[dS]=void 0;var n=!0}catch{}var i=$It.call(t);return n&&(e?t[dS]=r:delete t[dS]),i}o(jIt,"getRawTag");Hve.exports=jIt});var $ve=A((STr,zve)=>{var WIt=Object.prototype,JIt=WIt.toString;function YIt(t){return JIt.call(t)}o(YIt,"objectToString");zve.exports=YIt});var fS=A((xTr,Jve)=>{var jve=g1(),KIt=Vve(),XIt=$ve(),ZIt="[object Null]",eSt="[object Undefined]",Wve=jve?jve.toStringTag:void 0;function tSt(t){return t==null?t===void 0?eSt:ZIt:Wve&&Wve in Object(t)?KIt(t):XIt(t)}o(tSt,"baseGetTag");Jve.exports=tSt});var hS=A((NTr,Yve)=>{function rSt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(rSt,"isObject");Yve.exports=rSt});var nJ=A((TTr,Kve)=>{var nSt=fS(),iSt=hS(),sSt="[object AsyncFunction]",oSt="[object Function]",aSt="[object GeneratorFunction]",cSt="[object Proxy]";function lSt(t){if(!iSt(t))return!1;var e=nSt(t);return e==oSt||e==aSt||e==sSt||e==cSt}o(lSt,"isFunction");Kve.exports=lSt});var Zve=A((DTr,Xve)=>{var uSt=EE(),dSt=uSt["__core-js_shared__"];Xve.exports=dSt});var rNe=A((QTr,tNe)=>{var iJ=Zve(),eNe=(function(){var t=/[^.]+$/.exec(iJ&&iJ.keys&&iJ.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function fSt(t){return!!eNe&&eNe in t}o(fSt,"isMasked");tNe.exports=fSt});var iNe=A((PTr,nNe)=>{var hSt=Function.prototype,pSt=hSt.toString;function ASt(t){if(t!=null){try{return pSt.call(t)}catch{}try{return t+""}catch{}}return""}o(ASt,"toSource");nNe.exports=ASt});var oNe=A((LTr,sNe)=>{var mSt=nJ(),gSt=rNe(),ySt=hS(),ESt=iNe(),CSt=/[\\^$.*+?()[\]{}|]/g,bSt=/^\[object .+?Constructor\]$/,wSt=Function.prototype,ISt=Object.prototype,SSt=wSt.toString,BSt=ISt.hasOwnProperty,xSt=RegExp("^"+SSt.call(BSt).replace(CSt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vSt(t){if(!ySt(t)||gSt(t))return!1;var e=mSt(t)?xSt:bSt;return e.test(ESt(t))}o(vSt,"baseIsNative");sNe.exports=vSt});var cNe=A((MTr,aNe)=>{function NSt(t,e){return t?.[e]}o(NSt,"getValue");aNe.exports=NSt});var pS=A((qTr,lNe)=>{var _St=oNe(),TSt=cNe();function RSt(t,e){var r=TSt(t,e);return _St(r)?r:void 0}o(RSt,"getNative");lNe.exports=RSt});var dNe=A((HTr,uNe)=>{var DSt=pS(),QSt=(function(){try{var t=DSt(Object,"defineProperty");return t({},"",{}),t}catch{}})();uNe.exports=QSt});var pNe=A((VTr,hNe)=>{var kSt=Lve(),fNe=dNe(),PSt=tJ(),OSt=fNe?function(t,e){return fNe(t,"toString",{configurable:!0,enumerable:!1,value:kSt(e),writable:!0})}:PSt;hNe.exports=OSt});var mNe=A((zTr,ANe)=>{var LSt=800,FSt=16,MSt=Date.now;function USt(t){var e=0,r=0;return function(){var n=MSt(),i=FSt-(n-r);if(r=n,i>0){if(++e>=LSt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(USt,"shortOut");ANe.exports=USt});var yNe=A((jTr,gNe)=>{var qSt=pNe(),GSt=mNe(),HSt=GSt(qSt);gNe.exports=HSt});var y1=A((WTr,ENe)=>{var VSt=tJ(),zSt=Pve(),$St=yNe();function jSt(t,e){return $St(zSt(t,e,VSt),t+"")}o(jSt,"baseRest");ENe.exports=jSt});var E1=A((YTr,CNe)=>{function WSt(t,e){return t===e||t!==t&&e!==e}o(WSt,"eq");CNe.exports=WSt});var sJ=A((XTr,bNe)=>{var JSt=9007199254740991;function YSt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=JSt}o(YSt,"isLength");bNe.exports=YSt});var C1=A((eRr,wNe)=>{var KSt=nJ(),XSt=sJ();function ZSt(t){return t!=null&&XSt(t.length)&&!KSt(t)}o(ZSt,"isArrayLike");wNe.exports=ZSt});var oJ=A((rRr,INe)=>{var eBt=9007199254740991,tBt=/^(?:0|[1-9]\d*)$/;function rBt(t,e){var r=typeof t;return e=e??eBt,!!e&&(r=="number"||r!="symbol"&&tBt.test(t))&&t>-1&&t%1==0&&t<e}o(rBt,"isIndex");INe.exports=rBt});var BNe=A((iRr,SNe)=>{var nBt=E1(),iBt=C1(),sBt=oJ(),oBt=hS();function aBt(t,e,r){if(!oBt(r))return!1;var n=typeof e;return(n=="number"?iBt(r)&&sBt(e,r.length):n=="string"&&e in r)?nBt(r[e],t):!1}o(aBt,"isIterateeCall");SNe.exports=aBt});var vNe=A((oRr,xNe)=>{function cBt(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}o(cBt,"baseTimes");xNe.exports=cBt});var CE=A((cRr,NNe)=>{function lBt(t){return t!=null&&typeof t=="object"}o(lBt,"isObjectLike");NNe.exports=lBt});var TNe=A((uRr,_Ne)=>{var uBt=fS(),dBt=CE(),fBt="[object Arguments]";function hBt(t){return dBt(t)&&uBt(t)==fBt}o(hBt,"baseIsArguments");_Ne.exports=hBt});var aJ=A((fRr,QNe)=>{var RNe=TNe(),pBt=CE(),DNe=Object.prototype,ABt=DNe.hasOwnProperty,mBt=DNe.propertyIsEnumerable,gBt=RNe((function(){return arguments})())?RNe:function(t){return pBt(t)&&ABt.call(t,"callee")&&!mBt.call(t,"callee")};QNe.exports=gBt});var cJ=A((hRr,kNe)=>{var yBt=Array.isArray;kNe.exports=yBt});var ONe=A((pRr,PNe)=>{function EBt(){return!1}o(EBt,"stubFalse");PNe.exports=EBt});var UNe=A((AS,bE)=>{var CBt=EE(),bBt=ONe(),MNe=typeof AS=="object"&&AS&&!AS.nodeType&&AS,LNe=MNe&&typeof bE=="object"&&bE&&!bE.nodeType&&bE,wBt=LNe&&LNe.exports===MNe,FNe=wBt?CBt.Buffer:void 0,IBt=FNe?FNe.isBuffer:void 0,SBt=IBt||bBt;bE.exports=SBt});var GNe=A((mRr,qNe)=>{var BBt=fS(),xBt=sJ(),vBt=CE(),NBt="[object Arguments]",_Bt="[object Array]",TBt="[object Boolean]",RBt="[object Date]",DBt="[object Error]",QBt="[object Function]",kBt="[object Map]",PBt="[object Number]",OBt="[object Object]",LBt="[object RegExp]",FBt="[object Set]",MBt="[object String]",UBt="[object WeakMap]",qBt="[object ArrayBuffer]",GBt="[object DataView]",HBt="[object Float32Array]",VBt="[object Float64Array]",zBt="[object Int8Array]",$Bt="[object Int16Array]",jBt="[object Int32Array]",WBt="[object Uint8Array]",JBt="[object Uint8ClampedArray]",YBt="[object Uint16Array]",KBt="[object Uint32Array]",ur={};ur[HBt]=ur[VBt]=ur[zBt]=ur[$Bt]=ur[jBt]=ur[WBt]=ur[JBt]=ur[YBt]=ur[KBt]=!0;ur[NBt]=ur[_Bt]=ur[qBt]=ur[TBt]=ur[GBt]=ur[RBt]=ur[DBt]=ur[QBt]=ur[kBt]=ur[PBt]=ur[OBt]=ur[LBt]=ur[FBt]=ur[MBt]=ur[UBt]=!1;function XBt(t){return vBt(t)&&xBt(t.length)&&!!ur[BBt(t)]}o(XBt,"baseIsTypedArray");qNe.exports=XBt});var lJ=A((yRr,HNe)=>{function ZBt(t){return function(e){return t(e)}}o(ZBt,"baseUnary");HNe.exports=ZBt});var zNe=A((mS,wE)=>{var ext=rJ(),VNe=typeof mS=="object"&&mS&&!mS.nodeType&&mS,gS=VNe&&typeof wE=="object"&&wE&&!wE.nodeType&&wE,txt=gS&&gS.exports===VNe,uJ=txt&&ext.process,rxt=(function(){try{var t=gS&&gS.require&&gS.require("util").types;return t||uJ&&uJ.binding&&uJ.binding("util")}catch{}})();wE.exports=rxt});var JNe=A((CRr,WNe)=>{var nxt=GNe(),ixt=lJ(),$Ne=zNe(),jNe=$Ne&&$Ne.isTypedArray,sxt=jNe?ixt(jNe):nxt;WNe.exports=sxt});var KNe=A((bRr,YNe)=>{var oxt=vNe(),axt=aJ(),cxt=cJ(),lxt=UNe(),uxt=oJ(),dxt=JNe(),fxt=Object.prototype,hxt=fxt.hasOwnProperty;function pxt(t,e){var r=cxt(t),n=!r&&axt(t),i=!r&&!n&&lxt(t),s=!r&&!n&&!i&&dxt(t),a=r||n||i||s,c=a?oxt(t.length,String):[],l=c.length;for(var u in t)(e||hxt.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||uxt(u,l)))&&c.push(u);return c}o(pxt,"arrayLikeKeys");YNe.exports=pxt});var ZNe=A((IRr,XNe)=>{var Axt=Object.prototype;function mxt(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Axt;return t===r}o(mxt,"isPrototype");XNe.exports=mxt});var t_e=A((BRr,e_e)=>{function gxt(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(gxt,"nativeKeysIn");e_e.exports=gxt});var n_e=A((vRr,r_e)=>{var yxt=hS(),Ext=ZNe(),Cxt=t_e(),bxt=Object.prototype,wxt=bxt.hasOwnProperty;function Ixt(t){if(!yxt(t))return Cxt(t);var e=Ext(t),r=[];for(var n in t)n=="constructor"&&(e||!wxt.call(t,n))||r.push(n);return r}o(Ixt,"baseKeysIn");r_e.exports=Ixt});var s_e=A((_Rr,i_e)=>{var Sxt=KNe(),Bxt=n_e(),xxt=C1();function vxt(t){return xxt(t)?Sxt(t,!0):Bxt(t)}o(vxt,"keysIn");i_e.exports=vxt});var c_e=A((RRr,a_e)=>{var Nxt=y1(),_xt=E1(),Txt=BNe(),Rxt=s_e(),o_e=Object.prototype,Dxt=o_e.hasOwnProperty,Qxt=Nxt(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&Txt(e[0],e[1],i)&&(n=1);++r<n;)for(var s=e[r],a=Rxt(s),c=-1,l=a.length;++c<l;){var u=a[c],d=t[u];(d===void 0||_xt(d,o_e[u])&&!Dxt.call(t,u))&&(t[u]=s[u])}return t});a_e.exports=Qxt});var Tr=A((DRr,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((CS,ES)=>{"use strict";Object.defineProperty(CS,"__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 IE(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(IE,"Event");IE.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(IE.prototype,"constructor",{value:IE,configurable:!0,writable:!0});typeof window<"u"&&typeof window.Event<"u"&&(Object.setPrototypeOf(IE.prototype,window.Event.prototype),dJ.set(window.Event.prototype,IE));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 kxt(t){return{value(){let e=dr(this).event;return e[t].apply(e,arguments)},configurable:!0,enumerable:!0}}o(kxt,"defineCallDescriptor");function Pxt(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?kxt(s):m_e(s))}}return n}o(Pxt,"defineWrapper");function g_e(t){if(t==null||t===Object.prototype)return IE;let e=dJ.get(t);return e==null&&(e=Pxt(g_e(Object.getPrototypeOf(t)),t),dJ.set(t,e)),e}o(g_e,"getWrapper");function Oxt(t,e){let r=g_e(Object.getPrototypeOf(e));return new r(t,e)}o(Oxt,"wrapEvent");function Lxt(t){return dr(t).immediateStopped}o(Lxt,"isStopped");function Fxt(t,e){dr(t).eventPhase=e}o(Fxt,"setEventPhase");function Mxt(t,e){dr(t).currentTarget=e}o(Mxt,"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,b1=3;function w1(t){return t!==null&&typeof t=="object"}o(w1,"isObject");function yS(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(yS,"getListeners");function Uxt(t){return{get(){let r=yS(this).get(t);for(;r!=null;){if(r.listenerType===b1)return r.listener;r=r.next}return null},set(e){typeof e!="function"&&!w1(e)&&(e=null);let r=yS(this),n=null,i=r.get(t);for(;i!=null;)i.listenerType===b1?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:b1,passive:!1,once:!1,next:null};n===null?r.set(t,s):n.next=s}},configurable:!0,enumerable:!0}}o(Uxt,"defineEventAttributeDescriptor");function fJ(t,e){Object.defineProperty(t,`on${e}`,Uxt(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"&&!w1(e))throw new TypeError("'listener' should be a function or an object.");let n=yS(this),i=w1(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=yS(this),s=(w1(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=yS(this),r=t.type,n=e.get(r);if(n==null)return!0;let i=Oxt(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!==b1&&typeof n.listener.handleEvent=="function"&&n.listener.handleEvent(i);if(Lxt(i))break;n=n.next}return d_e(i,null),Fxt(i,0),Mxt(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);CS.defineEventAttribute=fJ;CS.EventTarget=mc;CS.default=mc;ES.exports=mc;ES.exports.EventTarget=ES.exports.default=mc;ES.exports.defineEventAttribute=fJ});var SE=A((wS,bS)=>{"use strict";Object.defineProperty(wS,"__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=I1.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 qxt(){let t=Object.create(Uf.prototype);return hJ.EventTarget.call(t),I1.set(t,!1),t}o(qxt,"createAbortSignal");function Gxt(t){I1.get(t)===!1&&(I1.set(t,!0),t.dispatchEvent({type:"abort"}))}o(Gxt,"abortSignal");var I1=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,qxt())}get signal(){return C_e(this)}abort(){Gxt(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"});wS.AbortController=qf;wS.AbortSignal=Uf;wS.default=qf;bS.exports=qf;bS.exports.AbortController=bS.exports.default=qf;bS.exports.AbortSignal=Uf});var Di=A((PRr,AJ)=>{"use strict";var Hxt=require("buffer"),{kResistStopPropagation:Vxt,SymbolDispose:zxt}=Tr(),$xt=globalThis.AbortSignal||SE().AbortSignal,jxt=globalThis.AbortController||SE().AbortController,Wxt=Object.getPrototypeOf(async function(){}).constructor,w_e=globalThis.Blob||Hxt.Blob,Jxt=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"),Yxt=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 Wxt},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:Jxt,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"),Yxt(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[Vxt]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[zxt](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:$xt.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((LRr,x_e)=>{"use strict";var{format:Kxt,inspect:S1,AggregateError:Xxt}=Di(),Zxt=globalThis.AggregateError||Xxt,evt=Symbol("kIsNodeError"),tvt=["string","function","number","object","Function","Object","boolean","bigint","symbol"],rvt=/^([A-Z][a-z0-9]*)+$/,nvt="__node_internal_",B1={};function hA(t,e){if(!t)throw new B1.ERR_INTERNAL_ASSERTION(e)}o(hA,"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 ivt(t,e,r){if(typeof e=="function")return hA(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 hA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:Kxt(e,...r)}o(ivt,"getMessage");function Ci(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(ivt(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[evt]=!0,B1[t]=n}o(Ci,"E");function B_e(t){let e=nvt+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(B_e,"hideStackFrames");function svt(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new Zxt([e,t],e.message);return r.code=e.code,r}return t||e}o(svt,"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 B1.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)=>{hA(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)hA(typeof l=="string","All expected entries have to be of type string"),tvt.includes(l)?i.push(l.toLowerCase()):rvt.test(l)?s.push(l):(hA(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=S1(r,{depth:-1});n+=`. Received ${l}`}}else{let l=S1(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=S1(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)=>{hA(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)=>{hA(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=S1(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(svt),hideStackFrames:B_e,codes:B1}});var xE=A((MRr,O_e)=>{"use strict";var{ArrayIsArray:yJ,ArrayPrototypeIncludes:T_e,ArrayPrototypeJoin:R_e,ArrayPrototypeMap:ovt,NumberIsInteger:EJ,NumberIsNaN:avt,NumberMAX_SAFE_INTEGER:cvt,NumberMIN_SAFE_INTEGER:lvt,NumberParseInt:uvt,ObjectPrototypeHasOwnProperty:dvt,RegExpPrototypeExec:D_e,String:fvt,StringPrototypeToUpperCase:hvt,StringPrototypeTrim:pvt}=Tr(),{hideStackFrames:wa,codes:{ERR_SOCKET_BAD_PORT:Avt,ERR_INVALID_ARG_TYPE:Qi,ERR_INVALID_ARG_VALUE:BE,ERR_OUT_OF_RANGE:pA,ERR_UNKNOWN_SIGNAL:v_e}}=as(),{normalizeEncoding:mvt}=Di(),{isAsyncFunction:gvt,isArrayBufferView:yvt}=Di().types,N_e={};function Evt(t){return t===(t|0)}o(Evt,"isInt32");function Cvt(t){return t===t>>>0}o(Cvt,"isUint32");var bvt=/^[0-7]+$/,wvt="must be a 32-bit unsigned integer or an octal string";function Ivt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(D_e(bvt,t)===null)throw new BE(e,t,wvt);t=uvt(t,8)}return Q_e(t,e),t}o(Ivt,"parseFileMode");var Svt=wa((t,e,r=lvt,n=cvt)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!EJ(t))throw new pA(e,"an integer",t);if(t<r||t>n)throw new pA(e,`>= ${r} && <= ${n}`,t)}),Bvt=wa((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!EJ(t))throw new pA(e,"an integer",t);if(t<r||t>n)throw new pA(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 pA(e,"an integer",t);let n=r?1:0,i=4294967295;if(t<n||t>i)throw new pA(e,`>= ${n} && <= ${i}`,t)});function CJ(t,e){if(typeof t!="string")throw new Qi(e,"string",t)}o(CJ,"validateString");function xvt(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)&&avt(t))throw new pA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(xvt,"validateNumber");var vvt=wa((t,e,r)=>{if(!T_e(r,t)){let i="must be one of: "+R_e(ovt(r,s=>typeof s=="string"?`'${s}'`:fvt(s)),", ");throw new BE(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||!dvt(t,e)?r:t[e]}o(gJ,"getOwnPropertyValueOrDefault");var Nvt=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)}),_vt=wa((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Qi(e,"a dictionary",t)}),x1=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 BE(e,t,n)}});function Tvt(t,e){x1(t,e);for(let r=0;r<t.length;r++)CJ(t[r],`${e}[${r}]`)}o(Tvt,"validateStringArray");function Rvt(t,e){x1(t,e);for(let r=0;r<t.length;r++)k_e(t[r],`${e}[${r}]`)}o(Rvt,"validateBooleanArray");function Dvt(t,e){x1(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(Dvt,"validateAbortSignalArray");function Qvt(t,e="signal"){if(CJ(t,e),N_e[t]===void 0)throw N_e[hvt(t)]!==void 0?new v_e(t+" (signals must use all capital letters)"):new v_e(t)}o(Qvt,"validateSignalName");var kvt=wa((t,e="buffer")=>{if(!yvt(t))throw new Qi(e,["Buffer","TypedArray","DataView"],t)});function Pvt(t,e){let r=mvt(e),n=t.length;if(r==="hex"&&n%2!==0)throw new BE("encoding",e,`is invalid for data of length ${n}`)}o(Pvt,"validateEncoding");function Ovt(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&pvt(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new Avt(e,t,r);return t|0}o(Ovt,"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)}),Lvt=wa((t,e)=>{if(typeof t!="function")throw new Qi(e,"Function",t)}),Fvt=wa((t,e)=>{if(typeof t!="function"||gvt(t))throw new Qi(e,"Function",t)}),Mvt=wa((t,e)=>{if(t!==void 0)throw new Qi(e,"undefined",t)});function Uvt(t,e,r){if(!T_e(r,t))throw new Qi(e,`('${R_e(r,"|")}')`,t)}o(Uvt,"validateUnion");var qvt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function __e(t,e){if(typeof t>"u"||!D_e(qvt,t))throw new BE(e,t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}o(__e,"validateLinkHeaderFormat");function Gvt(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 BE("hints",t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}o(Gvt,"validateLinkHeaderValue");O_e.exports={isInt32:Evt,isUint32:Cvt,parseFileMode:Ivt,validateArray:x1,validateStringArray:Tvt,validateBooleanArray:Rvt,validateAbortSignalArray:Dvt,validateBoolean:k_e,validateBuffer:kvt,validateDictionary:_vt,validateEncoding:Pvt,validateFunction:Lvt,validateInt32:Bvt,validateInteger:Svt,validateNumber:xvt,validateObject:Nvt,validateOneOf:vvt,validatePlainFunction:Fvt,validatePort:Ovt,validateSignalName:Qvt,validateString:CJ,validateUint32:Q_e,validateUndefined:Mvt,validateUnion:Uvt,validateAbortSignal:P_e,validateLinkHeaderValue:Gvt}});var Gf=A((qRr,L_e)=>{L_e.exports=global.process});var Vl=A((GRr,X_e)=>{"use strict";var{SymbolAsyncIterator:F_e,SymbolIterator:M_e,SymbolFor:AA}=Tr(),U_e=AA("nodejs.stream.destroyed"),q_e=AA("nodejs.stream.errored"),bJ=AA("nodejs.stream.readable"),wJ=AA("nodejs.stream.writable"),G_e=AA("nodejs.stream.disturbed"),Hvt=AA("nodejs.webstream.isClosedPromise"),Vvt=AA("nodejs.webstream.controllerErrorFunction");function v1(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(v1,"isReadableNodeStream");function N1(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(N1,"isWritableNodeStream");function zvt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(zvt,"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 $vt(t){return H_e(t)||V_e(t)||z_e(t)}o($vt,"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 _1(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(_1,"isDestroyed");function $_e(t){if(!N1(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 Wvt(t,e){if(!N1(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(Wvt,"isWritableFinished");function Jvt(t){if(!v1(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(Jvt,"isReadableEnded");function j_e(t,e){if(!v1(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:_1(t)?!1:v1(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:_1(t)?!1:N1(t)&&t.writable&&!$_e(t)}o(J_e,"isWritable");function Yvt(t,e){return Hl(t)?_1(t)?!0:!(e?.readable!==!1&&W_e(t)||e?.writable!==!1&&J_e(t)):null}o(Yvt,"isFinished");function Kvt(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(Kvt,"isWritableErrored");function Xvt(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(Xvt,"isReadableErrored");function Zvt(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(Zvt,"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 eNt(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(eNt,"isServerRequest");function tNt(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(tNt,"willEmitClose");function rNt(t){var e;return!!(t&&((e=t[G_e])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(rNt,"isDisturbed");function nNt(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(nNt,"isErrored");X_e.exports={isDestroyed:_1,kIsDestroyed:U_e,isDisturbed:rNt,kIsDisturbed:G_e,isErrored:nNt,kIsErrored:q_e,isReadable:W_e,kIsReadable:bJ,kIsClosedPromise:Hvt,kControllerErrorFunction:Vvt,kIsWritable:wJ,isClosed:Zvt,isDuplexNodeStream:zvt,isFinished:Yvt,isIterable:jvt,isReadableNodeStream:v1,isReadableStream:H_e,isReadableEnded:Jvt,isReadableFinished:j_e,isReadableErrored:Xvt,isNodeStream:Hl,isWebStream:$vt,isWritable:J_e,isWritableNodeStream:N1,isWritableStream:V_e,isWritableEnded:$_e,isWritableFinished:Wvt,isWritableErrored:Kvt,isServerRequest:eNt,isServerResponse:K_e,willEmitClose:tNt,isTransformStream:z_e}});var pd=A((VRr,vJ)=>{var Hf=Gf(),{AbortError:aTe,codes:iNt}=as(),{ERR_INVALID_ARG_TYPE:sNt,ERR_STREAM_PREMATURE_CLOSE:Z_e}=iNt,{kEmptyObject:SJ,once:BJ}=Di(),{validateAbortSignal:oNt,validateFunction:aNt,validateObject:cNt,validateBoolean:lNt}=xE(),{Promise:uNt,PromisePrototypeThen:dNt,SymbolDispose:cTe}=Tr(),{isClosed:fNt,isReadable:eTe,isReadableNodeStream:IJ,isReadableStream:hNt,isReadableFinished:tTe,isReadableErrored:rTe,isWritable:nTe,isWritableNodeStream:iTe,isWritableStream:pNt,isWritableFinished:sTe,isWritableErrored:oTe,isNodeStream:ANt,willEmitClose:mNt,kIsClosedPromise:gNt}=Vl(),vE;function yNt(t){return t.setHeader&&typeof t.abort=="function"}o(yNt,"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:cNt(e,"options"),aNt(r,"callback"),oNt(e.signal,"options.signal"),r=BJ(r),hNt(t)||pNt(t))return ENt(t,e,r);if(!ANt(t))throw new sNt("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=mNt(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=fNt(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");yNt(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{vE=vE||Di().addAbortListener;let q=vE(e.signal,Q),v=r;r=BJ((...$)=>{q[cTe](),v.apply(t,$)})}}return B}o(lTe,"eos");function ENt(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{vE=vE||Di().addAbortListener;let a=vE(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 dNt(t[gNt].promise,s,s),xJ}o(ENt,"eosWeb");function CNt(t,e){var r;let n=!1;return e===null&&(e=SJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(lNt(e.cleanup,"cleanup"),n=e.cleanup),new uNt((i,s)=>{let a=lTe(t,e,c=>{n&&a(),c?s(c):i()})})}o(CNt,"finished");vJ.exports=lTe;vJ.exports.finished=CNt});var mA=A(($Rr,gTe)=>{"use strict";var zl=Gf(),{aggregateTwoErrors:bNt,codes:{ERR_MULTIPLE_CALLBACK:wNt},AbortError:INt}=as(),{Symbol:fTe}=Tr(),{kIsDestroyed:SNt,isDestroyed:BNt,isFinished:xNt,isServerRequest:vNt}=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 NNt(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,bNt(s,t),e)}),this)}o(NNt,"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(_Nt,t,s):zl.nextTick(ATe,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(uTe,"_destroy");function _Nt(t,e){_J(t,e),ATe(t)}o(_Nt,"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 TNt(){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(TNt,"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 RNt(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(DNt,t)}o(RNt,"construct");function DNt(t){let e=!1;function r(n){if(e){TJ(t,n??new wNt);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(QNt,t)}o(r,"onConstruct");try{t._construct(n=>{zl.nextTick(r,n)})}catch(n){zl.nextTick(r,n)}}o(DNt,"constructNT");function QNt(t){t.emit(NJ)}o(QNt,"emitConstructNT");function dTe(t){return t?.setHeader&&typeof t.abort=="function"}o(dTe,"isRequest");function mTe(t){t.emit("close")}o(mTe,"emitCloseLegacy");function kNt(t,e){t.emit("error",e),zl.nextTick(mTe,t)}o(kNt,"emitErrorCloseLegacy");function PNt(t,e){!t||BNt(t)||(!e&&!xNt(t)&&(e=new INt),vNt(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(kNt,t,e):zl.nextTick(mTe,t),t.destroyed||(t[SNt]=!0))}o(PNt,"destroyer");gTe.exports={construct:RNt,destroyer:PNt,destroy:NNt,undestroy:TNt,errorOrDestroy:TJ}});var D1=A((WRr,ETe)=>{"use strict";var{ArrayIsArray:ONt,ObjectSetPrototypeOf:yTe}=Tr(),{EventEmitter:T1}=require("events");function R1(t){T1.call(this,t)}o(R1,"Stream");yTe(R1.prototype,T1.prototype);yTe(R1,T1);R1.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(),T1.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):ONt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(RJ,"prependListener");ETe.exports={Stream:R1,prependListener:RJ}});var IS=A((YRr,Q1)=>{"use strict";var{SymbolDispose:LNt}=Tr(),{AbortError:CTe,codes:FNt}=as(),{isNodeStream:bTe,isWebStream:MNt,kControllerErrorFunction:UNt}=Vl(),qNt=pd(),{ERR_INVALID_ARG_TYPE:wTe}=FNt,DJ,GNt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new wTe(e,"AbortSignal",t)},"validateAbortSignal");Q1.exports.addAbortSignal=o(function(e,r){if(GNt(e,"signal"),!bTe(r)&&!MNt(r))throw new wTe("stream",["ReadableStream","WritableStream","Stream"],r);return Q1.exports.addAbortSignalNoValidate(e,r)},"addAbortSignal");Q1.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[UNt](new CTe(void 0,{cause:t.reason}))};if(t.aborted)r();else{DJ=DJ||Di().addAbortListener;let n=DJ(t,r);qNt(e,n[LNt])}return e}});var BTe=A((ZRr,STe)=>{"use strict";var{StringPrototypeSlice:ITe,SymbolIterator:HNt,TypedArrayPrototypeSet:k1,Uint8Array:VNt}=Tr(),{Buffer:QJ}=require("buffer"),{inspect:zNt}=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;)k1(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}*[HNt](){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)k1(r,a,n-e),e-=a.length;else{e===a.length?(k1(r,a,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(k1(r,new VNt(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 zNt(this,{...r,depth:0,customInspect:!1})}}});var SS=A((t2r,_Te)=>{"use strict";var{MathFloor:$Nt,NumberIsInteger:jNt}=Tr(),{validateInteger:WNt}=xE(),{ERR_INVALID_ARG_VALUE:JNt}=as().codes,xTe=16*1024,vTe=16;function YNt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(YNt,"highWaterMarkFrom");function NTe(t){return t?vTe:xTe}o(NTe,"getDefaultHighWaterMark");function KNt(t,e){WNt(e,"value",0),t?vTe=e:xTe=e}o(KNt,"setDefaultHighWaterMark");function XNt(t,e,r,n){let i=YNt(e,n,r);if(i!=null){if(!jNt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new JNt(s,i)}return $Nt(i)}return NTe(t.objectMode)}o(XNt,"getHighWaterMark");_Te.exports={getHighWaterMark:XNt,getDefaultHighWaterMark:NTe,setDefaultHighWaterMark:KNt}});var kJ=A((n2r,QTe)=>{"use strict";var TTe=Gf(),{PromisePrototypeThen:ZNt,SymbolAsyncIterator:RTe,SymbolIterator:DTe}=Tr(),{Buffer:e_t}=require("buffer"),{ERR_INVALID_ARG_TYPE:t_t,ERR_STREAM_NULL_VALUES:r_t}=as().codes;function n_t(t,e,r){let n;if(typeof e=="string"||e instanceof e_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 t_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){ZNt(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 r_t;if(s.push(f))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o(n_t,"from");QTe.exports=n_t});var xS=A((s2r,KTe)=>{var gc=Gf(),{ArrayPrototypeIndexOf:i_t,NumberIsInteger:s_t,NumberIsNaN:o_t,NumberParseInt:a_t,ObjectDefineProperties:GJ,ObjectKeys:c_t,ObjectSetPrototypeOf:OTe,Promise:LTe,SafeSet:l_t,SymbolAsyncDispose:u_t,SymbolAsyncIterator:d_t,Symbol:f_t}=Tr();KTe.exports=ot;ot.ReadableState=F1;var{EventEmitter:h_t}=require("events"),{Stream:Vf,prependListener:p_t}=D1(),{Buffer:PJ}=require("buffer"),{addAbortSignal:A_t}=IS(),FTe=pd(),Et=Di().debuglog("stream",t=>{Et=t}),m_t=BTe(),TE=mA(),{getHighWaterMark:g_t,getDefaultHighWaterMark:y_t}=SS(),{aggregateTwoErrors:kTe,codes:{ERR_INVALID_ARG_TYPE:E_t,ERR_METHOD_NOT_IMPLEMENTED:C_t,ERR_OUT_OF_RANGE:b_t,ERR_STREAM_PUSH_AFTER_EOF:w_t,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:I_t},AbortError:S_t}=as(),{validateObject:B_t}=xE(),gA=f_t("kPaused"),{StringDecoder:MTe}=require("string_decoder"),x_t=kJ();OTe(ot.prototype,Vf.prototype);OTe(ot,Vf);var OJ=o(()=>{},"nop"),{errorOrDestroy:NE}=TE,_E=1,v_t=2,UTe=4,BS=8,qTe=16,P1=32,O1=64,GTe=128,N_t=256,__t=512,T_t=1024,UJ=2048,qJ=4096,R_t=8192,D_t=16384,Q_t=32768,HTe=65536,k_t=1<<17,P_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(F1.prototype,{objectMode:Fn(_E),ended:Fn(v_t),endEmitted:Fn(UTe),reading:Fn(BS),constructed:Fn(qTe),sync:Fn(P1),needReadable:Fn(O1),emittedReadable:Fn(GTe),readableListening:Fn(N_t),resumeScheduled:Fn(__t),errorEmitted:Fn(T_t),emitClose:Fn(UJ),autoDestroy:Fn(qJ),destroyed:Fn(R_t),closed:Fn(D_t),closeEmitted:Fn(Q_t),multiAwaitDrain:Fn(HTe),readingMore:Fn(k_t),dataEmitted:Fn(P_t)});function F1(t,e,r){typeof r!="boolean"&&(r=e instanceof $l()),this.state=UJ|qJ|qTe|P1,t&&t.objectMode&&(this.state|=_E),r&&t&&t.readableObjectMode&&(this.state|=_E),this.highWaterMark=t?g_t(this,t,"readableHighWaterMark",r):y_t(!1),this.buffer=new m_t,this.length=0,this.pipes=[],this.flowing=null,this[gA]=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(F1,"ReadableState");function ot(t){if(!(this instanceof ot))return new ot(t);let e=this instanceof $l();this._readableState=new F1(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&&A_t(t.signal,this)),Vf.call(this,t),TE.construct(this,()=>{this._readableState.needReadable&&L1(this,this._readableState)})}o(ot,"Readable");ot.prototype.destroy=TE.destroy;ot.prototype._undestroy=TE.undestroy;ot.prototype._destroy=function(t,e){e(t)};ot.prototype[h_t.captureRejectionSymbol]=function(t){this.destroy(t)};ot.prototype[u_t]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new S_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&_E)===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 E_t("chunk",["string","Buffer","Uint8Array"],e))),s)NE(t,s);else if(e===null)i.state&=~BS,F_t(t,i);else if((i.state&_E)!==0||e&&e.length>0)if(n)if((i.state&UTe)!==0)NE(t,new I_t);else{if(i.destroyed||i.errored)return!1;LJ(t,i,e,!0)}else if(i.ended)NE(t,new w_t);else{if(i.destroyed||i.errored)return!1;i.state&=~BS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?LJ(t,i,e,!1):L1(t,i)):LJ(t,i,e,!1)}else n||(i.state&=~BS,L1(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&O1)!==0&&M1(t)),L1(t,e)}o(LJ,"addChunk");ot.prototype.isPaused=function(){let t=this._readableState;return t[gA]===!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 O_t=1073741824;function L_t(t){if(t>O_t)throw new b_t("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(L_t,"computeNewHighWaterMark");function PTe(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&_E)!==0?1:o_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:s_t(t)||(t=a_t(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=L_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):M1(this),null;if(t=PTe(t,e),t===0&&e.ended)return e.length===0&&FJ(this),null;let n=(e.state&O1)!==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|=BS|P1,e.length===0&&(e.state|=O1);try{this._read(e.highWaterMark)}catch(s){NE(this,s)}e.state&=~P1,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 F_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?M1(t):(e.needReadable=!1,e.emittedReadable=!0,zTe(t))}}o(F_t,"onEofChunk");function M1(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(M1,"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 L1(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,gc.nextTick(M_t,t,e))}o(L1,"maybeReadMore");function M_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(M_t,"maybeReadMore_");ot.prototype._read=function(t){throw new C_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 l_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=U_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?NE(t,y):t.emit("error",y)}}o(p,"onerror"),p_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 U_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(U_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=i_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?M1(this):n.reading||gc.nextTick(q_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[gA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o($Te,"updateReadableListening");function q_t(t){Et("readable nexttick read 0"),t.read(0)}o(q_t,"nReadingNextTick");ot.prototype.resume=function(){let t=this._readableState;return t.flowing||(Et("resume"),t.flowing=!t.readableListening,G_t(this,t)),t[gA]=!1,this};function G_t(t,e){e.resumeScheduled||(e.resumeScheduled=!0,gc.nextTick(H_t,t,e))}o(G_t,"resume");function H_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(H_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[gA]=!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=>{NE(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=c_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[d_t]=function(){return WTe(this)};ot.prototype.iterator=function(t){return t!==void 0&&B_t(t,"options"),WTe(this,t)};function WTe(t,e){typeof t.read!="function"&&(t=ot.wrap(t,{objectMode:!0}));let r=V_t(t,e);return r.stream=t,r}o(WTe,"streamToAsyncIterator");async function*V_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)?TE.destroyer(t,null):(t.off("readable",n),s())}}o(V_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(F1.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[gA]!==!1},set(t){this[gA]=!!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(z_t,e,t))}o(FJ,"endReadable");function z_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($_t,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(z_t,"endReadableNT");function $_t(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o($_t,"endWritableNT");ot.from=function(t,e){return x_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){TE.destroyer(t,i),s(i)}}).wrap(t)}});var V1=A((a2r,lRe)=>{var yA=Gf(),{ArrayPrototypeSlice:eRe,Error:j_t,FunctionPrototypeSymbolHasInstance:tRe,ObjectDefineProperty:rRe,ObjectDefineProperties:W_t,ObjectSetPrototypeOf:nRe,StringPrototypeToLowerCase:J_t,Symbol:Y_t,SymbolHasInstance:K_t}=Tr();lRe.exports=Rr;Rr.WritableState=_S;var{EventEmitter:X_t}=require("events"),vS=D1().Stream,{Buffer:U1}=require("buffer"),H1=mA(),{addAbortSignal:Z_t}=IS(),{getHighWaterMark:eTt,getDefaultHighWaterMark:tTt}=SS(),{ERR_INVALID_ARG_TYPE:rTt,ERR_METHOD_NOT_IMPLEMENTED:nTt,ERR_MULTIPLE_CALLBACK:iRe,ERR_STREAM_CANNOT_PIPE:iTt,ERR_STREAM_DESTROYED:NS,ERR_STREAM_ALREADY_FINISHED:sTt,ERR_STREAM_NULL_VALUES:oTt,ERR_STREAM_WRITE_AFTER_END:aTt,ERR_UNKNOWN_ENCODING:sRe}=as().codes,{errorOrDestroy:RE}=H1;nRe(Rr.prototype,vS.prototype);nRe(Rr,vS);function zJ(){}o(zJ,"nop");var DE=Y_t("kOnFinished");function _S(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?eTt(this,t,"writableHighWaterMark",r):tTt(!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=lTt.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,G1(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[DE]=[]}o(_S,"WritableState");function G1(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(G1,"resetBuffer");_S.prototype.getBuffer=o(function(){return eRe(this.buffered,this.bufferedIndex)},"getBuffer");rRe(_S.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 _S(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&&Z_t(t.signal,this)),vS.call(this,t),H1.construct(this,()=>{let r=this._writableState;r.writing||jJ(this,r),WJ(this,r)})}o(Rr,"Writable");rRe(Rr,K_t,{__proto__:null,value:o(function(t){return tRe(this,t)?!0:this!==Rr?!1:t&&t._writableState instanceof _S},"value")});Rr.prototype.pipe=function(){RE(this,new iTt)};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"&&!U1.isEncoding(r))throw new sRe(r);typeof n!="function"&&(n=zJ)}if(e===null)throw new oTt;if(!i.objectMode)if(typeof e=="string")i.decodeStrings!==!1&&(e=U1.from(e,r),r="buffer");else if(e instanceof U1)r="buffer";else if(vS._isUint8Array(e))e=vS._uint8ArrayToBuffer(e),r="buffer";else throw new rTt("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new aTt:i.destroyed&&(s=new NS("write")),s?(yA.nextTick(n,s),RE(t,s,!0),s):(i.pendingcb++,cTt(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=J_t(e)),!U1.isEncoding(e))throw new sRe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function cTt(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(cTt,"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 NS("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),RE(t,r)}o(ZTe,"onwriteError");function lTt(t,e){let r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function"){RE(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?yA.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},yA.nextTick(uTt,r.afterWriteTickInfo)):aRe(t,r,1,i))}o(lTt,"onwrite");function uTt({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,aRe(t,e,r,n)}o(uTt,"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 NS("write"))}let r=t[DE].splice(0);for(let i=0;i<r.length;i++){var n;r[i]((n=t.errored)!==null&&n!==void 0?n:new NS("end"))}G1(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),G1(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?G1(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 nTt("_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 sTt("end"):n.destroyed&&(i=new NS("end"))),typeof r=="function"&&(i||n.finished?yA.nextTick(r,i):n[DE].push(r)),this};function q1(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(q1,"needFinish");function dTt(t,e){let r=!1;function n(i){if(r){RE(t,i??iRe());return}if(r=!0,e.pendingcb--,i){let s=e[DE].splice(0);for(let a=0;a<s.length;a++)s[a](i);RE(t,i,e.sync)}else q1(e)&&(e.prefinished=!0,t.emit("prefinish"),e.pendingcb++,yA.nextTick(VJ,t,e))}o(n,"onFinish"),e.sync=!0,e.pendingcb++;try{t._final(n)}catch(i){n(i)}e.sync=!1}o(dTt,"callFinal");function fTt(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.finalCalled=!0,dTt(t,e)):(e.prefinished=!0,t.emit("prefinish")))}o(fTt,"prefinish");function WJ(t,e,r){q1(e)&&(fTt(t,e),e.pendingcb===0&&(r?(e.pendingcb++,yA.nextTick((n,i)=>{q1(i)?VJ(n,i):i.pendingcb--},t,e)):q1(e)&&(e.pendingcb++,VJ(t,e))))}o(WJ,"finishMaybe");function VJ(t,e){e.pendingcb--,e.finished=!0;let r=e[DE].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");W_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 hTt=H1.destroy;Rr.prototype.destroy=function(t,e){let r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[DE].length)&&yA.nextTick($J,r),hTt.call(this,t,e),this};Rr.prototype._undestroy=H1.undestroy;Rr.prototype._destroy=function(t,e){e(t)};Rr.prototype[X_t.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((l2r,IRe)=>{var JJ=Gf(),pTt=require("buffer"),{isReadable:ATt,isWritable:mTt,isIterable:uRe,isNodeStream:gTt,isReadableNodeStream:dRe,isWritableNodeStream:fRe,isDuplexNodeStream:yTt,isReadableStream:hRe,isWritableStream:pRe}=Vl(),ARe=pd(),{AbortError:bRe,codes:{ERR_INVALID_ARG_TYPE:ETt,ERR_INVALID_RETURN_VALUE:mRe}}=as(),{destroyer:kE}=mA(),CTt=$l(),wRe=xS(),bTt=V1(),{createDeferredPromise:gRe}=Di(),yRe=kJ(),ERe=globalThis.Blob||pTt.Blob,wTt=o(typeof ERe<"u"?function(e){return e instanceof ERe}:function(e){return!1},"isBlob"),ITt=globalThis.AbortController||SE().AbortController,{FunctionPrototypeCall:CRe}=Tr(),zf=class extends CTt{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(yTt(e))return e;if(dRe(e))return QE({readable:e});if(fRe(e))return QE({writable:e});if(gTt(e))return QE({writable:!1,readable:!1});if(hRe(e))return QE({readable:wRe.fromWeb(e)});if(pRe(e))return QE({writable:bTt.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=STt(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=>{kE(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(wTt(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 QE({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=>{kE(i,s)}),i=new zf({objectMode:!0,writable:!1,read(){}})}throw new ETt(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function STt(t){let{promise:e,resolve:r}=gRe(),n=new ITt,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(STt,"fromAsyncGen");function QE(t){let e=t.readable&&typeof t.readable.read!="function"?wRe.wrap(t.readable):t.readable,r=t.writable,n=!!ATt(e),i=!!mTt(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&&kE(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&&kE(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,kE(r,f),kE(e,f))},u}o(QE,"_duplexify")});var $l=A((d2r,vRe)=>{"use strict";var{ObjectDefineProperties:BTt,ObjectGetOwnPropertyDescriptor:Ad,ObjectKeys:xTt,ObjectSetPrototypeOf:BRe}=Tr();vRe.exports=yc;var XJ=xS(),Ia=V1();BRe(yc.prototype,XJ.prototype);BRe(yc,XJ);{let t=xTt(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");BTt(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((h2r,_Re)=>{"use strict";var{ObjectSetPrototypeOf:NRe,Symbol:vTt}=Tr();_Re.exports=md;var{ERR_METHOD_NOT_IMPLEMENTED:NTt}=as().codes,e9=$l(),{getHighWaterMark:_Tt}=SS();NRe(md.prototype,e9.prototype);NRe(md,e9);var TS=vTt("kCallback");function md(t){if(!(this instanceof md))return new md(t);let e=t?_Tt(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[TS]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",TTt)}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 TTt(){this._final!==ZJ&&ZJ.call(this)}o(TTt,"prefinish");md.prototype._final=ZJ;md.prototype._transform=function(t,e,r){throw new NTt("_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[TS]=r})};md.prototype._read=function(){if(this[TS]){let t=this[TS];this[TS]=null,t()}}});var n9=A((A2r,RRe)=>{"use strict";var{ObjectSetPrototypeOf:TRe}=Tr();RRe.exports=PE;var r9=t9();TRe(PE.prototype,r9.prototype);TRe(PE,r9);function PE(t){if(!(this instanceof PE))return new PE(t);r9.call(this,t)}o(PE,"PassThrough");PE.prototype._transform=function(t,e,r){r(null,t)}});var W1=A((g2r,ORe)=>{var RS=Gf(),{ArrayIsArray:RTt,Promise:DTt,SymbolAsyncIterator:QTt,SymbolDispose:kTt}=Tr(),j1=pd(),{once:PTt}=Di(),OTt=mA(),DRe=$l(),{aggregateTwoErrors:LTt,codes:{ERR_INVALID_ARG_TYPE:f9,ERR_INVALID_RETURN_VALUE:i9,ERR_MISSING_ARGS:FTt,ERR_STREAM_DESTROYED:MTt,ERR_STREAM_PREMATURE_CLOSE:UTt},AbortError:qTt}=as(),{validateFunction:GTt,validateAbortSignal:HTt}=xE(),{isIterable:EA,isReadable:s9,isReadableNodeStream:$1,isNodeStream:QRe,isTransformStream:OE,isWebStream:VTt,isReadableStream:o9,isReadableFinished:zTt}=Vl(),$Tt=globalThis.AbortController||SE().AbortController,a9,c9,l9;function kRe(t,e,r){let n=!1;t.on("close",()=>{n=!0});let i=j1(t,{readable:e,writable:r},s=>{n=!s});return{destroy:o(s=>{n||(n=!0,OTt.destroyer(t,s||new MTt("pipe")))},"destroy"),cleanup:i}}o(kRe,"destroyer");function jTt(t){return GTt(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(jTt,"popCallback");function u9(t){if(EA(t))return t;if($1(t))return WTt(t);throw new f9("val",["Readable","Iterable","AsyncIterable"],t)}o(u9,"makeAsyncIterable");async function*WTt(t){c9||(c9=xS()),yield*c9.prototype[QTt].call(t)}o(WTt,"fromReadable");async function z1(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 DTt((u,d)=>{i?d(i):s=o(()=>{i?d(i):u()},"onresolve")}),"wait");e.on("drain",a);let l=j1(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?LTt(i,u):u)}finally{l(),e.off("drain",a)}}o(z1,"pumpToNode");async function d9(t,e,r,{end:n}){OE(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 JTt(...t){return PRe(t,PTt(jTt(t)))}o(JTt,"pipeline");function PRe(t,e,r){if(t.length===1&&RTt(t[0])&&(t=t[0]),t.length<2)throw new FTt("streams");let n=new $Tt,i=n.signal,s=r?.signal,a=[];HTt(s,"options.signal");function c(){m(new qTt)}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[kTt](),n.abort(),B&&(u||a.forEach(q=>q()),RS.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}),!EA(g))throw new i9("Iterable, AsyncIterable or Stream","source",g)}else EA(B)||$1(B)||OE(B)?g=B:g=DRe.from(B);else if(typeof B=="function"){if(OE(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(!EA(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(),RS.nextTick(p)},ee=>{R.destroy(ee),RS.nextTick(p,ee)});else if(EA(g,!0))h++,z1(g,R,p,{end:v});else if(o9(g)||OE(g)){let ee=g.readable||g;h++,z1(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($1(g)){h+=2;let R=YTt(g,B,p,{end:v});s9(B)&&$&&a.push(R)}else if(OE(g)||o9(g)){let R=g.readable||g;h++,z1(R,B,p,{end:v})}else if(EA(g))h++,z1(g,B,p,{end:v});else throw new f9("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else if(VTt(B)){if($1(g))h++,d9(u9(g),B,p,{end:v});else if(o9(g)||EA(g))h++,d9(g,B,p,{end:v});else if(OE(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)&&RS.nextTick(c),g}o(PRe,"pipelineImpl");function YTt(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new UTt)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),zTt(t)?RS.nextTick(a):t.once("end",a)}else r();return j1(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)}),j1(e,{readable:!1,writable:!0},r)}o(YTt,"pipe");ORe.exports={pipelineImpl:PRe,pipeline:JTt}});var p9=A((E2r,GRe)=>{"use strict";var{pipeline:KTt}=W1(),J1=$l(),{destroyer:XTt}=mA(),{isNodeStream:Y1,isReadable:LRe,isWritable:FRe,isWebStream:h9,isTransformStream:CA,isWritableStream:MRe,isReadableStream:URe}=Vl(),{AbortError:ZTt,codes:{ERR_INVALID_ARG_VALUE:qRe,ERR_MISSING_ARGS:eRt}}=as(),tRt=pd();GRe.exports=o(function(...e){if(e.length===0)throw new eRt("streams");if(e.length===1)return J1.from(e[0]);let r=[...e];if(typeof e[0]=="function"&&(e[0]=J1.from(e[0])),typeof e[e.length-1]=="function"){let p=e.length-1;e[p]=J1.from(e[p])}for(let p=0;p<e.length;++p)if(!(!Y1(e[p])&&!h9(e[p]))){if(p<e.length-1&&!(LRe(e[p])||URe(e[p])||CA(e[p])))throw new qRe(`streams[${p}]`,r[p],"must be readable");if(p>0&&!(FRe(e[p])||MRe(e[p])||CA(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=KTt(e,l),f=!!(FRe(u)||MRe(u)||CA(u)),h=!!(LRe(d)||URe(d)||CA(d));if(c=new J1({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(d!=null&&d.readableObjectMode),writable:f,readable:h}),f){if(Y1(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=(CA(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=CA(d)?d.readable:d;tRt(p,()=>{if(i){let m=i;i=null,m()}})}if(h){if(Y1(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=(CA(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 ZTt),s=null,n=null,i=null,a===null?m(p):(a=m,Y1(d)&&XTt(d,p))},c},"compose")});var XRe=A((b2r,g9)=>{"use strict";var rRt=globalThis.AbortController||SE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:nRt,ERR_INVALID_ARG_TYPE:DS,ERR_MISSING_ARGS:iRt,ERR_OUT_OF_RANGE:sRt},AbortError:jl}=as(),{validateAbortSignal:bA,validateInteger:HRe,validateObject:wA}=xE(),oRt=Tr().Symbol("kWeak"),aRt=Tr().Symbol("kResistStopPropagation"),{finished:cRt}=pd(),lRt=p9(),{addAbortSignalNoValidate:uRt}=IS(),{isWritable:dRt,isNodeStream:fRt}=Vl(),{deprecate:hRt}=Di(),{ArrayPrototypePush:pRt,Boolean:ARt,MathFloor:VRe,Number:mRt,NumberIsNaN:gRt,Promise:zRe,PromiseReject:$Re,PromiseResolve:yRt,PromisePrototypeThen:jRe,Symbol:JRe}=Tr(),K1=JRe("kEmpty"),WRe=JRe("kEof");function ERt(t,e){if(e!=null&&wA(e,"options"),e?.signal!=null&&bA(e.signal,"options.signal"),fRt(t)&&!dRt(t))throw new nRt("stream",t,"must be writable");let r=lRt(this,t);return e!=null&&e.signal&&uRt(e.signal,r),r}o(ERt,"compose");function X1(t,e){if(typeof t!="function")throw new DS("fn",["Function","AsyncFunction"],t);e!=null&&wA(e,"options"),e?.signal!=null&&bA(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(ARt)),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===K1)continue;y=yRt(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!==K1&&(yield y),c.shift(),g()}await new zRe(y=>{u=y})}}finally{f=!0,d&&(d(),d=null)}},"map").call(this)}o(X1,"map");function CRt(t=void 0){return t!=null&&wA(t,"options"),t?.signal!=null&&bA(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(CRt,"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 bRt(t,e=void 0){if(typeof t!="function")throw new DS("fn",["Function","AsyncFunction"],t);return!await YRe.call(this,async(...r)=>!await t(...r),e)}o(bRt,"every");async function wRt(t,e){for await(let r of m9.call(this,t,e))return r}o(wRt,"find");async function IRt(t,e){if(typeof t!="function")throw new DS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),K1}o(r,"forEachFn");for await(let n of X1.call(this,r,e));}o(IRt,"forEach");function m9(t,e){if(typeof t!="function")throw new DS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:K1}return o(r,"filterFn"),X1.call(this,r,e)}o(m9,"filter");var A9=class extends iRt{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function SRt(t,e,r){var n;if(typeof t!="function")throw new DS("reducer",["Function","AsyncFunction"],t);r!=null&&wA(r,"options"),r?.signal!=null&&bA(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 cRt(this.destroy(u)),u}let s=new rRt,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[oRt]:this,[aRt]:!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(SRt,"reduce");async function BRt(t){t!=null&&wA(t,"options"),t?.signal!=null&&bA(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});pRt(e,n)}return e}o(BRt,"toArray");function xRt(t,e){let r=X1.call(this,t,e);return o(async function*(){for await(let i of r)yield*i},"flatMap").call(this)}o(xRt,"flatMap");function KRe(t){if(t=mRt(t),gRt(t))return 0;if(t<0)throw new sRt("number",">= 0",t);return t}o(KRe,"toIntegerOrInfinity");function vRt(t,e=void 0){return e!=null&&wA(e,"options"),e?.signal!=null&&bA(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(vRt,"drop");function NRt(t,e=void 0){return e!=null&&wA(e,"options"),e?.signal!=null&&bA(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(NRt,"take");g9.exports.streamReturningOperators={asIndexedPairs:hRt(CRt,"readable.asIndexedPairs will be removed in a future version."),drop:vRt,filter:m9,flatMap:xRt,map:X1,take:NRt,compose:ERt};g9.exports.promiseReturningOperators={every:bRt,forEach:IRt,reduce:SRt,toArray:BRt,some:YRe,find:wRt}});var y9=A((I2r,ZRe)=>{"use strict";var{ArrayPrototypePop:_Rt,Promise:TRt}=Tr(),{isIterable:RRt,isNodeStream:DRt,isWebStream:QRt}=Vl(),{pipelineImpl:kRt}=W1(),{finished:PRt}=pd();E9();function ORt(...t){return new TRt((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!DRt(s)&&!RRt(s)&&!QRt(s)){let a=_Rt(t);n=a.signal,i=a.end}kRt(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(ORt,"pipeline");ZRe.exports={finished:PRt,pipeline:ORt}});var E9=A((B2r,c2e)=>{var{Buffer:LRt}=require("buffer"),{ObjectDefineProperty:gd,ObjectKeys:r2e,ReflectApply:n2e}=Tr(),{promisify:{custom:i2e}}=Di(),{streamReturningOperators:e2e,promiseReturningOperators:t2e}=XRe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:s2e}}=as(),FRt=p9(),{setDefaultHighWaterMark:MRt,getDefaultHighWaterMark:URt}=SS(),{pipeline:o2e}=W1(),{destroyer:qRt}=mA(),a2e=pd(),C9=y9(),QS=Vl(),fr=c2e.exports=D1().Stream;fr.isDestroyed=QS.isDestroyed;fr.isDisturbed=QS.isDisturbed;fr.isErrored=QS.isErrored;fr.isReadable=QS.isReadable;fr.isWritable=QS.isWritable;fr.Readable=xS();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=V1();fr.Duplex=$l();fr.Transform=t9();fr.PassThrough=n9();fr.pipeline=o2e;var{addAbortSignal:GRt}=IS();fr.addAbortSignal=GRt;fr.finished=a2e;fr.destroy=qRt;fr.compose=FRt;fr.setDefaultHighWaterMark=MRt;fr.getDefaultHighWaterMark=URt;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 LRt.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var IA=A((v2r,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((N2r,l2e)=>{function HRt(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}o(HRt,"arrayPush");l2e.exports=HRt});var p2e=A((T2r,h2e)=>{var d2e=g1(),VRt=aJ(),zRt=cJ(),f2e=d2e?d2e.isConcatSpreadable:void 0;function $Rt(t){return zRt(t)||VRt(t)||!!(f2e&&t&&t[f2e])}o($Rt,"isFlattenable");h2e.exports=$Rt});var Z1=A((D2r,m2e)=>{var jRt=u2e(),WRt=p2e();function A2e(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=WRt),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((k2r,g2e)=>{var JRt=Z1();function YRt(t){var e=t==null?0:t.length;return e?JRt(t,1):[]}o(YRt,"flatten");g2e.exports=YRt});var kS=A((O2r,E2e)=>{var KRt=pS(),XRt=KRt(Object,"create");E2e.exports=XRt});var w2e=A((L2r,b2e)=>{var C2e=kS();function ZRt(){this.__data__=C2e?C2e(null):{},this.size=0}o(ZRt,"hashClear");b2e.exports=ZRt});var S2e=A((M2r,I2e)=>{function e2t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(e2t,"hashDelete");I2e.exports=e2t});var x2e=A((q2r,B2e)=>{var t2t=kS(),r2t="__lodash_hash_undefined__",n2t=Object.prototype,i2t=n2t.hasOwnProperty;function s2t(t){var e=this.__data__;if(t2t){var r=e[t];return r===r2t?void 0:r}return i2t.call(e,t)?e[t]:void 0}o(s2t,"hashGet");B2e.exports=s2t});var N2e=A((H2r,v2e)=>{var o2t=kS(),a2t=Object.prototype,c2t=a2t.hasOwnProperty;function l2t(t){var e=this.__data__;return o2t?e[t]!==void 0:c2t.call(e,t)}o(l2t,"hashHas");v2e.exports=l2t});var T2e=A((z2r,_2e)=>{var u2t=kS(),d2t="__lodash_hash_undefined__";function f2t(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=u2t&&e===void 0?d2t:e,this}o(f2t,"hashSet");_2e.exports=f2t});var D2e=A((j2r,R2e)=>{var h2t=w2e(),p2t=S2e(),A2t=x2e(),m2t=N2e(),g2t=T2e();function LE(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(LE,"Hash");LE.prototype.clear=h2t;LE.prototype.delete=p2t;LE.prototype.get=A2t;LE.prototype.has=m2t;LE.prototype.set=g2t;R2e.exports=LE});var k2e=A((J2r,Q2e)=>{function y2t(){this.__data__=[],this.size=0}o(y2t,"listCacheClear");Q2e.exports=y2t});var PS=A((K2r,P2e)=>{var E2t=E1();function C2t(t,e){for(var r=t.length;r--;)if(E2t(t[r][0],e))return r;return-1}o(C2t,"assocIndexOf");P2e.exports=C2t});var L2e=A((Z2r,O2e)=>{var b2t=PS(),w2t=Array.prototype,I2t=w2t.splice;function S2t(t){var e=this.__data__,r=b2t(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():I2t.call(e,r,1),--this.size,!0}o(S2t,"listCacheDelete");O2e.exports=S2t});var M2e=A((tDr,F2e)=>{var B2t=PS();function x2t(t){var e=this.__data__,r=B2t(e,t);return r<0?void 0:e[r][1]}o(x2t,"listCacheGet");F2e.exports=x2t});var q2e=A((nDr,U2e)=>{var v2t=PS();function N2t(t){return v2t(this.__data__,t)>-1}o(N2t,"listCacheHas");U2e.exports=N2t});var H2e=A((sDr,G2e)=>{var _2t=PS();function T2t(t,e){var r=this.__data__,n=_2t(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o(T2t,"listCacheSet");G2e.exports=T2t});var z2e=A((aDr,V2e)=>{var R2t=k2e(),D2t=L2e(),Q2t=M2e(),k2t=q2e(),P2t=H2e();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,"ListCache");FE.prototype.clear=R2t;FE.prototype.delete=D2t;FE.prototype.get=Q2t;FE.prototype.has=k2t;FE.prototype.set=P2t;V2e.exports=FE});var j2e=A((lDr,$2e)=>{var O2t=pS(),L2t=EE(),F2t=O2t(L2t,"Map");$2e.exports=F2t});var Y2e=A((uDr,J2e)=>{var W2e=D2e(),M2t=z2e(),U2t=j2e();function q2t(){this.size=0,this.__data__={hash:new W2e,map:new(U2t||M2t),string:new W2e}}o(q2t,"mapCacheClear");J2e.exports=q2t});var X2e=A((fDr,K2e)=>{function G2t(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(G2t,"isKeyable");K2e.exports=G2t});var OS=A((pDr,Z2e)=>{var H2t=X2e();function V2t(t,e){var r=t.__data__;return H2t(e)?r[typeof e=="string"?"string":"hash"]:r.map}o(V2t,"getMapData");Z2e.exports=V2t});var tDe=A((mDr,eDe)=>{var z2t=OS();function $2t(t){var e=z2t(this,t).delete(t);return this.size-=e?1:0,e}o($2t,"mapCacheDelete");eDe.exports=$2t});var nDe=A((yDr,rDe)=>{var j2t=OS();function W2t(t){return j2t(this,t).get(t)}o(W2t,"mapCacheGet");rDe.exports=W2t});var sDe=A((CDr,iDe)=>{var J2t=OS();function Y2t(t){return J2t(this,t).has(t)}o(Y2t,"mapCacheHas");iDe.exports=Y2t});var aDe=A((wDr,oDe)=>{var K2t=OS();function X2t(t,e){var r=K2t(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(X2t,"mapCacheSet");oDe.exports=X2t});var lDe=A((SDr,cDe)=>{var Z2t=Y2e(),eDt=tDe(),tDt=nDe(),rDt=sDe(),nDt=aDe();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,"MapCache");ME.prototype.clear=Z2t;ME.prototype.delete=eDt;ME.prototype.get=tDt;ME.prototype.has=rDt;ME.prototype.set=nDt;cDe.exports=ME});var dDe=A((xDr,uDe)=>{var iDt="__lodash_hash_undefined__";function sDt(t){return this.__data__.set(t,iDt),this}o(sDt,"setCacheAdd");uDe.exports=sDt});var hDe=A((NDr,fDe)=>{function oDt(t){return this.__data__.has(t)}o(oDt,"setCacheHas");fDe.exports=oDt});var w9=A((TDr,pDe)=>{var aDt=lDe(),cDt=dDe(),lDt=hDe();function ek(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new aDt;++e<r;)this.add(t[e])}o(ek,"SetCache");ek.prototype.add=ek.prototype.push=cDt;ek.prototype.has=lDt;pDe.exports=ek});var mDe=A((DDr,ADe)=>{function uDt(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(uDt,"baseFindIndex");ADe.exports=uDt});var yDe=A((kDr,gDe)=>{function dDt(t){return t!==t}o(dDt,"baseIsNaN");gDe.exports=dDt});var CDe=A((ODr,EDe)=>{function fDt(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}o(fDt,"strictIndexOf");EDe.exports=fDt});var wDe=A((FDr,bDe)=>{var hDt=mDe(),pDt=yDe(),ADt=CDe();function mDt(t,e,r){return e===e?ADt(t,e,r):hDt(t,pDt,r)}o(mDt,"baseIndexOf");bDe.exports=mDt});var I9=A((UDr,IDe)=>{var gDt=wDe();function yDt(t,e){var r=t==null?0:t.length;return!!r&&gDt(t,e,0)>-1}o(yDt,"arrayIncludes");IDe.exports=yDt});var S9=A((GDr,SDe)=>{function EDt(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(EDt,"arrayIncludesWith");SDe.exports=EDt});var xDe=A((VDr,BDe)=>{function CDt(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(CDt,"arrayMap");BDe.exports=CDt});var B9=A(($Dr,vDe)=>{function bDt(t,e){return t.has(e)}o(bDt,"cacheHas");vDe.exports=bDt});var _De=A((WDr,NDe)=>{var wDt=w9(),IDt=I9(),SDt=S9(),BDt=xDe(),xDt=lJ(),vDt=B9(),NDt=200;function _Dt(t,e,r,n){var i=-1,s=IDt,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=BDt(e,xDt(r))),n?(s=SDt,a=!1):e.length>=NDt&&(s=vDt,a=!1,e=new wDt(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(_Dt,"baseDifference");NDe.exports=_Dt});var x9=A((YDr,TDe)=>{var TDt=C1(),RDt=CE();function DDt(t){return RDt(t)&&TDt(t)}o(DDt,"isArrayLikeObject");TDe.exports=DDt});var QDe=A((XDr,DDe)=>{var QDt=_De(),kDt=Z1(),PDt=y1(),RDe=x9(),ODt=PDt(function(t,e){return RDe(t)?QDt(t,kDt(e,1,RDe,!0)):[]});DDe.exports=ODt});var PDe=A((ZDr,kDe)=>{var LDt=pS(),FDt=EE(),MDt=LDt(FDt,"Set");kDe.exports=MDt});var LDe=A((eQr,ODe)=>{function UDt(){}o(UDt,"noop");ODe.exports=UDt});var v9=A((rQr,FDe)=>{function qDt(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(qDt,"setToArray");FDe.exports=qDt});var UDe=A((iQr,MDe)=>{var N9=PDe(),GDt=LDe(),HDt=v9(),VDt=1/0,zDt=N9&&1/HDt(new N9([,-0]))[1]==VDt?function(t){return new N9(t)}:GDt;MDe.exports=zDt});var GDe=A((sQr,qDe)=>{var $Dt=w9(),jDt=I9(),WDt=S9(),JDt=B9(),YDt=UDe(),KDt=v9(),XDt=200;function ZDt(t,e,r){var n=-1,i=jDt,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=WDt;else if(s>=XDt){var u=e?null:YDt(t);if(u)return KDt(u);a=!1,i=JDt,l=new $Dt}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(ZDt,"baseUniq");qDe.exports=ZDt});var VDe=A((aQr,HDe)=>{var eQt=Z1(),tQt=y1(),rQt=GDe(),nQt=x9(),iQt=tQt(function(t){return rQt(eQt(t,1,nQt,!0))});HDe.exports=iQt});var $De=A((cQr,zDe)=>{function sQt(t,e){return function(r){return t(e(r))}}o(sQt,"overArg");zDe.exports=sQt});var WDe=A((uQr,jDe)=>{var oQt=$De(),aQt=oQt(Object.getPrototypeOf,Object);jDe.exports=aQt});var KDe=A((dQr,YDe)=>{var cQt=fS(),lQt=WDe(),uQt=CE(),dQt="[object Object]",fQt=Function.prototype,hQt=Object.prototype,JDe=fQt.toString,pQt=hQt.hasOwnProperty,AQt=JDe.call(Object);function mQt(t){if(!uQt(t)||cQt(t)!=dQt)return!1;var e=lQt(t);if(e===null)return!0;var r=pQt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&JDe.call(r)==AQt}o(mQt,"isPlainObject");YDe.exports=mQt});var XDe=A(tk=>{"use strict";Object.defineProperty(tk,"__esModule",{value:!0});tk.assertValidPattern=void 0;var gQt=1024*64,yQt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>gQt)throw new TypeError("pattern is too long")},"assertValidPattern");tk.assertValidPattern=yQt});var eQe=A(rk=>{"use strict";Object.defineProperty(rk,"__esModule",{value:!0});rk.parseClass=void 0;var EQt={"[: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]},LS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),CQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),ZDe=o(t=>t.join(""),"rangesToString"),bQt=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(EQt))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(LS(f)+"-"+LS(g)):g===f&&n.push(LS(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(LS(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(LS(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[CQt(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");rk.parseClass=bQt});var ik=A(nk=>{"use strict";Object.defineProperty(nk,"__esModule",{value:!0});nk.unescape=void 0;var wQt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),"unescape");nk.unescape=wQt});var R9=A(ck=>{"use strict";var Ms;Object.defineProperty(ck,"__esModule",{value:!0});ck.AST=void 0;var IQt=eQe(),sk=ik(),SQt=new Set(["!","?","+","*","@"]),_9=o(t=>SQt.has(t),"isExtglobType"),tQe=o(t=>_9(t.type),"isExtglobAST"),BQt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),xQt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),vQt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),rQe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),NQt="(?!(?:^|/)\\.\\.?(?:$|/))",ok="(?!\\.)",_Qt=new Set(["[","."]),TQt=new Set(["..","."]),RQt=new Set("().*{}+?[]^$\\!"),DQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),T9="[^/]",nQe=T9+"*?",iQe=T9+"+?",ak=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,xQt)}#E(e,r=BQt){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=vQt){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&&TQt.has(this.#r[0]))){let m=_Qt,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?NQt:E?ok:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,sk.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,sk.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!ok?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?ok:"")+iQe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?ok:"")+nQe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,sk.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+=(RQt.has(u)?"\\":"")+u,c=!1;continue}if(u==="\\"){l===e.length-1?s+="\\\\":i=!0;continue}if(u==="["){let[d,f,h,p]=(0,IQt.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+=DQt(u)}return[s,(0,sk.unescape)(e),!!r,a]}};ck.AST=ak;Ms=ak});var D9=A(lk=>{"use strict";Object.defineProperty(lk,"__esModule",{value:!0});lk.escape=void 0;var QQt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");lk.escape=QQt});var $f=A(pe=>{"use strict";var kQt=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 PQt=kQt(yW()),uk=XDe(),aQe=R9(),OQt=D9(),LQt=ik(),FQt=o((t,e,r={})=>((0,uk.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new SA(e,r).match(t)),"minimatch");pe.minimatch=FQt;var MQt=/^\*+([^+@!?\*\[\(]*)$/,UQt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),qQt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),GQt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),HQt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),VQt=/^\*+\.\*+$/,zQt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),$Qt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),jQt=/^\.\*+$/,WQt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),JQt=/^\*+$/,YQt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),KQt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),XQt=/^\?+([^+@!?\*\[\(]*)?$/,ZQt=o(([t,e=""])=>{let r=cQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),e1t=o(([t,e=""])=>{let r=lQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),t1t=o(([t,e=""])=>{let r=lQe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),r1t=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 n1t="[^/]",i1t=n1t+"*?",s1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",o1t="(?:(?!(?:\\/|^)\\.).)*?",a1t=o((t,e={})=>r=>(0,pe.minimatch)(r,t,e),"filter");pe.filter=a1t;pe.minimatch.filter=pe.filter;var Sa=o((t,e={})=>Object.assign({},t,e),"ext"),c1t=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=c1t;pe.minimatch.defaults=pe.defaults;var l1t=o((t,e={})=>((0,uk.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,PQt.default)(t)),"braceExpand");pe.braceExpand=l1t;pe.minimatch.braceExpand=pe.braceExpand;var u1t=o((t,e={})=>new SA(t,e).makeRe(),"makeRe");pe.makeRe=u1t;pe.minimatch.makeRe=pe.makeRe;var d1t=o((t,e,r={})=>{let n=new SA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");pe.match=d1t;pe.minimatch.match=pe.match;var oQe=/[?*]|[+@!]\(.*?\)|\[|\]/,f1t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),SA=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,uk.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,uk.assertValidPattern)(e);let r=this.options;if(e==="**")return pe.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(JQt))?i=r.dot?KQt:YQt:(n=e.match(MQt))?i=(r.nocase?r.dot?HQt:GQt:r.dot?qQt:UQt)(n[1]):(n=e.match(XQt))?i=(r.nocase?r.dot?e1t:ZQt:r.dot?t1t:r1t)(n):(n=e.match(VQt))?i=r.dot?$Qt:zQt:(n=e.match(jQt))&&(i=WQt);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?i1t:r.dot?s1t:o1t,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"?f1t(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=SA;var h1t=R9();Object.defineProperty(pe,"AST",{enumerable:!0,get:o(function(){return h1t.AST},"get")});var p1t=D9();Object.defineProperty(pe,"escape",{enumerable:!0,get:o(function(){return p1t.escape},"get")});var A1t=ik();Object.defineProperty(pe,"unescape",{enumerable:!0,get:o(function(){return A1t.unescape},"get")});pe.minimatch.AST=aQe.AST;pe.minimatch.Minimatch=SA;pe.minimatch.escape=OQt.escape;pe.minimatch.unescape=LQt.unescape});var AQe=A(fk=>{"use strict";Object.defineProperty(fk,"__esModule",{value:!0});fk.LRUCache=void 0;var UE=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"),dk=globalThis.AbortController,dQe=globalThis.AbortSignal;if(typeof dk>"u"){dQe=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},dk=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 m1t=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?qE:null:null,"getUintArray"),qE=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";m1t(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 qE(this.#e),r=new qE(this.#e);this.#b=e,this.#C=r,this.#u=(s,a,c=UE.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?UE.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=UE.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 qE(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-(UE.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=UE.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=UE.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 dk,{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 dk}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)}}};fk.LRUCache=P9});var bQe=A(ls=>{"use strict";var g1t=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=g1t(require("stream")),y1t=require("string_decoder"),E1t=o(t=>!!t&&typeof t=="object"&&(t instanceof Ek||t instanceof CQe.default||(0,ls.isReadable)(t)||(0,ls.isWritable)(t)),"isStream");ls.isStream=E1t;var C1t=o(t=>!!t&&typeof t=="object"&&t instanceof G9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==CQe.default.Writable.prototype.pipe,"isReadable");ls.isReadable=C1t;var b1t=o(t=>!!t&&typeof t=="object"&&t instanceof G9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");ls.isWritable=b1t;var yd=Symbol("EOF"),Ed=Symbol("maybeEmitEnd"),Wf=Symbol("emittedEnd"),hk=Symbol("emittingEnd"),FS=Symbol("emittedError"),pk=Symbol("closed"),gQe=Symbol("read"),Ak=Symbol("flush"),yQe=Symbol("flushChunk"),Ec=Symbol("encoding"),GE=Symbol("decoder"),Xn=Symbol("flowing"),MS=Symbol("paused"),HE=Symbol("resume"),Zn=Symbol("buffer"),cs=Symbol("pipes"),ei=Symbol("bufferLength"),O9=Symbol("bufferPush"),mk=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"),gk=Symbol("aborted"),US=Symbol("signal"),BA=Symbol("dataListeners"),No=Symbol("discarded"),qS=o(t=>Promise.resolve().then(t),"defer"),w1t=o(t=>t(),"nodefer"),I1t=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),S1t=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),B1t=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),yk=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[HE](),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 yk{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)}},x1t=o(t=>!!t.objectMode,"isObjectModeOptions"),v1t=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),Ek=class extends G9.EventEmitter{static{o(this,"Minipass")}[Xn]=!1;[MS]=!1;[cs]=[];[Zn]=[];[ki];[Ec];[Wl];[GE];[yd]=!1;[Wf]=!1;[hk]=!1;[pk]=!1;[FS]=null;[ei]=0;[un]=!1;[US];[gk]=!1;[BA]=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");x1t(r)?(this[ki]=!0,this[Ec]=null):v1t(r)?(this[Ec]=r.encoding,this[ki]=!1):(this[ki]=!1,this[Ec]=null),this[Wl]=!!r.async,this[GE]=this[Ec]?new y1t.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[US]=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[gk]=!0,this.emit("abort",this[US]?.reason),this.destroy(this[US]?.reason)}get aborted(){return this[gk]}set aborted(e){}write(e,r,n){if(this[gk])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]?qS:w1t;if(!this[ki]&&!Buffer.isBuffer(e)){if(B1t(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(S1t(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[Ak](!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[GE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Ec]&&(e=this[GE].write(e)),this[Xn]&&this[ei]!==0&&this[Ak](!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[mk]();else{let n=r;e===n.length||e===null?this[mk]():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[MS])&&this[Ed](),this}[HE](){this[un]||(!this[BA]&&!this[cs].length&&(this[No]=!0),this[MS]=!1,this[Xn]=!0,this.emit("resume"),this[Zn].length?this[Ak]():this[yd]?this[Ed]():this.emit("drain"))}resume(){return this[HE]()}pause(){this[Xn]=!1,this[MS]=!0,this[No]=!1}get destroyed(){return this[un]}get flowing(){return this[Xn]}get paused(){return this[MS]}[O9](e){this[ki]?this[ei]+=1:this[ei]+=e.length,this[Zn].push(e)}[mk](){return this[ki]?this[ei]-=1:this[ei]-=this[Zn][0].length,this[Zn].shift()}[Ak](e=!1){do;while(this[yQe](this[mk]())&&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 yk(this,e,r)),this[Wl]?qS(()=>this[HE]()):this[HE]()),e}unpipe(e){let r=this[cs].find(n=>n.dest===e);r&&(this[cs].length===1?(this[Xn]&&this[BA]===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[BA]++,!this[cs].length&&!this[Xn]&&this[HE]();else if(e==="readable"&&this[ei]!==0)super.emit("readable");else if(I1t(e)&&this[Wf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[FS]){let i=r;this[Wl]?qS(()=>i.call(this,this[FS])):i.call(this,this[FS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[BA]=this.listeners("data").length,this[BA]===0&&!this[No]&&!this[cs].length&&(this[Xn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[BA]=0,!this[No]&&!this[cs].length&&(this[Xn]=!1)),r}get emittedEnd(){return this[Wf]}[Ed](){!this[hk]&&!this[Wf]&&!this[un]&&this[Zn].length===0&&this[yd]&&(this[hk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[pk]&&this.emit("close"),this[hk]=!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]?(qS(()=>this[F9](n)),!0):this[F9](n);if(e==="end")return this[EQe]();if(e==="close"){if(this[pk]=!0,!this[Wf]&&!this[un])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[FS]=n,super.emit(L9,n);let s=!this[US]||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]?(qS(()=>this[M9]()),!0):this[M9]())}[M9](){if(this[GE]){let r=this[GE].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[pk]&&r.close(),e?this.emit("error",e):this.emit(un),this}static get isStream(){return ls.isStream}};ls.Minipass=Ek});var OQe=A(qt=>{"use strict";var N1t=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]})),_1t=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),T1t=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)&&N1t(e,t,r);return _1t(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(),Sk=require("node:path"),R1t=require("node:url"),HS=require("fs"),D1t=T1t(require("node:fs")),Q1t=HS.realpathSync.native,Ck=require("node:fs/promises"),wQe=bQe(),VS={lstatSync:HS.lstatSync,readdir:HS.readdir,readdirSync:HS.readdirSync,readlinkSync:HS.readlinkSync,realpathSync:Q1t,promises:{lstat:Ck.lstat,readdir:Ck.readdir,readlink:Ck.readlink,realpath:Ck.realpath}},NQe=o(t=>!t||t===VS||t===D1t?VS:{...VS,...t,promises:{...VS.promises,...t.promises||{}}},"fsFromOption"),_Qe=/^\\\\\?\\([a-z]:)\\?$/i,k1t=o(t=>t.replace(/\//g,"\\").replace(_Qe,"$1\\"),"uncToDrive"),P1t=/[\\\/]/,xa=0,TQe=1,RQe=2,Jl=4,DQe=6,QQe=8,xA=10,kQe=12,Ba=15,GS=~Ba,H9=16,IQe=32,zS=64,Cc=128,bk=256,Ik=512,SQe=zS|Cc|Ik,O1t=1023,V9=o(t=>t.isFile()?QQe:t.isDirectory()?Jl:t.isSymbolicLink()?xA:t.isCharacterDevice()?RQe:t.isBlockDevice()?DQe:t.isSocket()?kQe:t.isFIFO()?TQe:xa,"entToType"),BQe=new Map,$S=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,wk=o(t=>{let e=xQe.get(t);if(e)return e;let r=$S(t.toLowerCase());return xQe.set(t,r),r},"normalizeNocase"),jS=class extends vQe.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};qt.ResolveCache=jS;var Bk=class extends vQe.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};qt.ChildrenCache=Bk;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?wk(e):$S(e),this.#u=r&O1t,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?wk(e):$S(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&xA)===xA}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!==xA||this.#u&bk||this.#u&Cc)}calledReaddir(){return!!(this.#u&H9)}isENOENT(){return!!(this.#u&Cc)}isNamed(e){return this.nocase?this.#g===wk(e):this.#g===$S(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)&GS,this.#T())}#T(){let e=this.children();e.provisional=0;for(let r of e)r.#_()}#L(){this.#u|=Ik,this.#D()}#D(){if(this.#u&zS)return;let e=this.#u;(e&Ba)===Jl&&(e&=GS),this.#u=e|zS,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|=bk,e==="ENOENT"&&(r|=Cc),(e==="EINVAL"||e==="UNKNOWN")&&(r&=GS),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!==xA&&s!==xa&&(i.#u|=zS),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?wk(e.name):$S(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&GS|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&GS|B|IQe,B!==xa&&B!==Jl&&B!==xA&&(this.#u|=zS)}#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===xA}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(!((Ik|bk|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(!((Ik|bk|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 WS=class t extends bi{static{o(this,"PathWin32")}sep="\\";splitSep=P1t;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 Sk.win32.parse(e).root}getRoot(e){if(e=k1t(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 KS(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(_Qe,"$1\\"),e===r}};qt.PathWin32=WS;var JS=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=JS;var YS=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=VS}={}){this.#r=NQe(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,R1t.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new jS,this.#t=new jS,this.#n=new Bk(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=YS;var KS=class extends YS{static{o(this,"PathScurryWin32")}sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,Sk.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return Sk.win32.parse(e).root.toUpperCase()}newRoot(e){return new WS(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=KS;var XS=class extends YS{static{o(this,"PathScurryPosix")}sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,Sk.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new JS(this.rootPath,Jl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};qt.PathScurryPosix=XS;var xk=class extends XS{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};qt.PathScurryDarwin=xk;qt.Path=process.platform==="win32"?WS:JS;qt.PathScurry=process.platform==="win32"?KS:process.platform==="darwin"?xk:XS});var $9=A(vk=>{"use strict";Object.defineProperty(vk,"__esModule",{value:!0});vk.Pattern=void 0;var L1t=$f(),F1t=o(t=>t.length>=1,"isPatternList"),M1t=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(!F1t(e))throw new TypeError("empty pattern list");if(!M1t(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]===L1t.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)}};vk.Pattern=z9});var GQe=A(ds=>{"use strict";var U1t=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=U1t(require("node:stream")),q1t=require("node:string_decoder"),G1t=o(t=>!!t&&typeof t=="object"&&(t instanceof kk||t instanceof qQe.default||(0,ds.isReadable)(t)||(0,ds.isWritable)(t)),"isStream");ds.isStream=G1t;var H1t=o(t=>!!t&&typeof t=="object"&&t instanceof Z9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==qQe.default.Writable.prototype.pipe,"isReadable");ds.isReadable=H1t;var V1t=o(t=>!!t&&typeof t=="object"&&t instanceof Z9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");ds.isWritable=V1t;var Cd=Symbol("EOF"),bd=Symbol("maybeEmitEnd"),Jf=Symbol("emittedEnd"),Nk=Symbol("emittingEnd"),ZS=Symbol("emittedError"),_k=Symbol("closed"),FQe=Symbol("read"),Tk=Symbol("flush"),MQe=Symbol("flushChunk"),bc=Symbol("encoding"),VE=Symbol("decoder"),ti=Symbol("flowing"),eB=Symbol("paused"),zE=Symbol("resume"),ri=Symbol("buffer"),us=Symbol("pipes"),ni=Symbol("bufferLength"),j9=Symbol("bufferPush"),Rk=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"),Dk=Symbol("aborted"),tB=Symbol("signal"),vA=Symbol("dataListeners"),_o=Symbol("discarded"),rB=o(t=>Promise.resolve().then(t),"defer"),z1t=o(t=>t(),"nodefer"),$1t=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"),W1t=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),Qk=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[zE](),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 Qk{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)}},J1t=o(t=>!!t.objectMode,"isObjectModeOptions"),Y1t=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),kk=class extends Z9.EventEmitter{static{o(this,"Minipass")}[ti]=!1;[eB]=!1;[us]=[];[ri]=[];[Pi];[bc];[Yl];[VE];[Cd]=!1;[Jf]=!1;[Nk]=!1;[_k]=!1;[ZS]=null;[ni]=0;[dn]=!1;[tB];[Dk]=!1;[vA]=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");J1t(r)?(this[Pi]=!0,this[bc]=null):Y1t(r)?(this[bc]=r.encoding,this[Pi]=!1):(this[Pi]=!1,this[bc]=null),this[Yl]=!!r.async,this[VE]=this[bc]?new q1t.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[tB]=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[Dk]=!0,this.emit("abort",this[tB]?.reason),this.destroy(this[tB]?.reason)}get aborted(){return this[Dk]}set aborted(e){}write(e,r,n){if(this[Dk])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]?rB:z1t;if(!this[Pi]&&!Buffer.isBuffer(e)){if(W1t(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[Tk](!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[VE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[bc]&&(e=this[VE].write(e)),this[ti]&&this[ni]!==0&&this[Tk](!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[Rk]();else{let n=r;e===n.length||e===null?this[Rk]():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[eB])&&this[bd](),this}[zE](){this[dn]||(!this[vA]&&!this[us].length&&(this[_o]=!0),this[eB]=!1,this[ti]=!0,this.emit("resume"),this[ri].length?this[Tk]():this[Cd]?this[bd]():this.emit("drain"))}resume(){return this[zE]()}pause(){this[ti]=!1,this[eB]=!0,this[_o]=!1}get destroyed(){return this[dn]}get flowing(){return this[ti]}get paused(){return this[eB]}[j9](e){this[Pi]?this[ni]+=1:this[ni]+=e.length,this[ri].push(e)}[Rk](){return this[Pi]?this[ni]-=1:this[ni]-=this[ri][0].length,this[ri].shift()}[Tk](e=!1){do;while(this[MQe](this[Rk]())&&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 Qk(this,e,r)),this[Yl]?rB(()=>this[zE]()):this[zE]()),e}unpipe(e){let r=this[us].find(n=>n.dest===e);r&&(this[us].length===1?(this[ti]&&this[vA]===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[vA]++,!this[us].length&&!this[ti]&&this[zE]();else if(e==="readable"&&this[ni]!==0)super.emit("readable");else if($1t(e)&&this[Jf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[ZS]){let i=r;this[Yl]?rB(()=>i.call(this,this[ZS])):i.call(this,this[ZS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[vA]=this.listeners("data").length,this[vA]===0&&!this[_o]&&!this[us].length&&(this[ti]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[vA]=0,!this[_o]&&!this[us].length&&(this[ti]=!1)),r}get emittedEnd(){return this[Jf]}[bd](){!this[Nk]&&!this[Jf]&&!this[dn]&&this[ri].length===0&&this[Cd]&&(this[Nk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[_k]&&this.emit("close"),this[Nk]=!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]?(rB(()=>this[J9](n)),!0):this[J9](n);if(e==="end")return this[UQe]();if(e==="close"){if(this[_k]=!0,!this[Jf]&&!this[dn])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[ZS]=n,super.emit(W9,n);let s=!this[tB]||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]?(rB(()=>this[Y9]()),!0):this[Y9]())}[Y9](){if(this[VE]){let r=this[VE].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[_k]&&r.close(),e?this.emit("error",e):this.emit(dn),this}static get isStream(){return ds.isStream}};ds.Minipass=kk});var tY=A(Pk=>{"use strict";Object.defineProperty(Pk,"__esModule",{value:!0});Pk.Ignore=void 0;var HQe=$f(),K1t=$9(),X1t=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=X1t}){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 K1t.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}};Pk.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(),Ok=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=Ok;var Lk=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=Lk;var Fk=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=Fk;var rY=class t{static{o(this,"Processor")}hasWalkedCache;matches=new Lk;subwalks=new Fk;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new Ok}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 Z1t=GQe(),$Qe=tY(),jQe=zQe(),ekt=o((t,e)=>typeof t=="string"?new $Qe.Ignore([t],e):Array.isArray(t)?new $Qe.Ignore(t,e):t,"makeIgnore"),nB=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=ekt(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=nB;var nY=class extends nB{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 nB{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new Z1t.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(qk=>{"use strict";Object.defineProperty(qk,"__esModule",{value:!0});qk.Glob=void 0;var tkt=$f(),rkt=require("node:url"),Mk=OQe(),nkt=$9(),Uk=WQe(),ikt=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,rkt.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||ikt,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"?Mk.PathScurryWin32:r.platform==="darwin"?Mk.PathScurryDarwin:r.platform?Mk.PathScurryPosix:Mk.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 tkt.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 nkt.Pattern(l,d,0,this.platform)})}async walk(){return[...await new Uk.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 Uk.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 Uk.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 Uk.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()}};qk.Glob=sY});var aY=A(Gk=>{"use strict";Object.defineProperty(Gk,"__esModule",{value:!0});Gk.hasMagic=void 0;var skt=$f(),okt=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new skt.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");Gk.hasMagic=okt});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=iB;Ct.globStream=cY;Ct.globSync=lY;Ct.globIterateSync=sB;Ct.globIterate=uY;var JQe=$f(),NA=oY(),akt=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 ckt=oY();Object.defineProperty(Ct,"Glob",{enumerable:!0,get:o(function(){return ckt.Glob},"get")});var lkt=aY();Object.defineProperty(Ct,"hasMagic",{enumerable:!0,get:o(function(){return lkt.hasMagic},"get")});var ukt=tY();Object.defineProperty(Ct,"Ignore",{enumerable:!0,get:o(function(){return ukt.Ignore},"get")});function iB(t,e={}){return new NA.Glob(t,e).streamSync()}o(iB,"globStreamSync");function cY(t,e={}){return new NA.Glob(t,e).stream()}o(cY,"globStream");function lY(t,e={}){return new NA.Glob(t,e).walkSync()}o(lY,"globSync");async function YQe(t,e={}){return new NA.Glob(t,e).walk()}o(YQe,"glob_");function sB(t,e={}){return new NA.Glob(t,e).iterateSync()}o(sB,"globIterateSync");function uY(t,e={}){return new NA.Glob(t,e).iterate()}o(uY,"globIterate");Ct.streamSync=iB;Ct.stream=Object.assign(cY,{sync:iB});Ct.iterateSync=sB;Ct.iterate=Object.assign(uY,{sync:sB});Ct.sync=Object.assign(lY,{stream:iB,iterate:sB});Ct.glob=Object.assign(YQe,{glob:YQe,globSync:lY,sync:Ct.sync,globStream:cY,stream:Ct.stream,globStreamSync:iB,streamSync:Ct.streamSync,globIterate:uY,iterate:Ct.iterate,globIterateSync:sB,iterateSync:Ct.iterateSync,Glob:NA.Glob,hasMagic:akt.hasMagic,escape:JQe.escape,unescape:JQe.unescape});Ct.glob.glob=Ct.glob});var r1e=A((KQr,t1e)=>{var e1e=TW(),$E=require("path"),dY=y2e(),dkt=QDe(),fkt=VDe(),hkt=KDe(),pkt=XQe(),_A=t1e.exports={},ZQe=/[\/\\]/g,Akt=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=dkt(r,s):r=fkt(r,s)}),r},"processPatterns");_A.exists=function(){var t=$E.join.apply($E,arguments);return e1e.existsSync(t)};_A.expand=function(...t){var e=hkt(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=Akt(r,function(i){return pkt.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=$E.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):e1e.statSync(i)[e.filter]()}catch{return!1}})),n};_A.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return $E.join(s||"",a)},"rename")},r);var n=[],i={};return _A.expand(r,t).forEach(function(s){var a=s;r.flatten&&(a=$E.basename(a)),r.ext&&(a=a.replace(/(\.[^\/]*)?$/,r.ext));var c=r.rename(e,a,r);r.cwd&&(s=$E.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};_A.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 _A.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=_A.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var jE=A((e1r,s1e)=>{var fY=TW(),n1e=require("path"),mkt=r1(),gkt=Nve(),i1e=eJ(),ykt=c_e(),ZQr=require("stream").Stream,Ekt=IA().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]||{},ykt(...n)};To.isStream=function(t){return mkt(t)};To.lazyReadStream=function(t){return new gkt.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 Ekt):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 Ckt=require("util"),bkt={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=bkt[t]||t,this.code=t,this.data=e}o(o1e,"ArchiverError");Ckt.inherits(o1e,Error);a1e=c1e.exports=o1e});var p1e=A((n1r,h1e)=>{var AY=require("fs"),d1e=yxe(),u1e=Cxe(),hY=require("path"),Xl=jE(),wkt=require("util").inherits,$r=l1e(),f1e=IA().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");wkt(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 Vk=A((s1r,A1e)=>{var Hk=A1e.exports=function(){};Hk.prototype.getName=function(){};Hk.prototype.getSize=function(){};Hk.prototype.getLastModifiedDate=function(){};Hk.prototype.isDirectory=function(){}});var zk=A((o1r,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((a1r,w1e)=>{var g1e=zk(),y1e=8,E1e=1,Ikt=4,Skt=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&Skt)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&Ikt)!==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((c1r,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((l1r,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((u1r,T1e)=>{var Bkt=require("util").inherits,xkt=eJ(),v1e=Vk(),N1e=mY(),x1e=S1e(),fs=gY(),_1e=zk(),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)};Bkt(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=xkt(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((f1r,R1e)=>{var d1r=require("stream").Stream,vkt=IA().PassThrough,Nkt=r1(),_kt=R1e.exports={};_kt.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(Nkt(t)&&!t._readableState){var e=new vkt;return t.pipe(e),e}return t}});var bY=A((h1r,D1e)=>{var Tkt=require("util").inherits,Rkt=r1(),CY=IA().Transform,Dkt=Vk(),Qkt=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}};Tkt(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 Dkt)){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=Qkt.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(Rkt(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 $k=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((m1r,k1e)=>{"use strict";var{Transform:kkt}=IA(),Pkt=$k(),IY=class extends kkt{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=Pkt.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((y1r,O1e)=>{"use strict";var{DeflateRaw:Okt}=require("zlib"),Lkt=$k(),SY=class extends Okt{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=Lkt.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((C1r,F1e)=>{"use strict";F1e.exports={CRC32Stream:P1e(),DeflateCRC32Stream:L1e()}});var q1e=A((S1r,U1e)=>{var Fkt=require("util").inherits,Mkt=$k(),{CRC32Stream:Ukt}=BY(),{DeflateCRC32Stream:qkt}=BY(),M1e=bY(),b1r=yY(),w1r=mY(),nt=gY(),I1r=EY(),Le=zk(),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}};Fkt(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(Mkt.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 qkt(this.options.zlib):new Ukt,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((x1r,G1e)=>{G1e.exports={ArchiveEntry:Vk(),ZipArchiveEntry:yY(),ArchiveOutputStream:bY(),ZipArchiveOutputStream:q1e()}});var V1e=A((v1r,H1e)=>{var Gkt=require("util").inherits,NY=xY().ZipArchiveOutputStream,Hkt=xY().ZipArchiveEntry,vY=jE(),WE=H1e.exports=function(t){if(!(this instanceof WE))return new WE(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)};Gkt(WE,NY);WE.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};WE.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 Hkt(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)};WE.prototype.finalize=function(){this.finish()}});var $1e=A((N1r,z1e)=>{var Vkt=V1e(),zkt=jE(),Kf=o(function(t){if(!(this instanceof Kf))return new Kf(t);t=this.options=zkt.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new Vkt(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((T1r,j1e)=>{j1e.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var Y1e=A((R1r,J1e)=>{J1e.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):W1e()});var X1e=A((Q1r,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((O1r,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((F1r,Ike)=>{var{EventEmitter:$kt}=require("events"),Xk=new Error("Stream was destroyed"),TY=new Error("Premature close"),ske=Y1e(),oke=_Y(),jr=(1<<28)-1,kA=1,LY=2,TA=4,oB=8,ake=jr^kA,jkt=jr^LY,fB=16,aB=32,ZE=64,Xf=128,hB=256,FY=512,RA=1024,RY=2048,MY=4096,UY=8192,wc=16384,JE=32768,Zk=65536,DA=131072,cke=hB|FY,Wkt=fB|Zk,Jkt=ZE|fB,Ykt=MY|Xf,qY=hB|DA,Kkt=jr^fB,Xkt=jr^ZE,Zkt=jr^(ZE|Zk),ePt=jr^Zk,tPt=jr^hB,rPt=jr^(Xf|UY),nPt=jr^RA,tke=jr^cke,lke=jr^JE,iPt=jr^aB,uke=jr^DA,sPt=jr^qY,Zf=1<<18,KE=2<<18,pB=4<<18,QA=8<<18,AB=16<<18,PA=32<<18,DY=64<<18,YE=128<<18,GY=256<<18,XE=512<<18,dke=jr^(Zf|GY),fke=jr^pB,oPt=jr^XE,aPt=jr^AB,cPt=jr^QA,hke=jr^YE,lPt=jr^KE,cB=fB|Zf,pke=jr^cB,HY=wc|PA,wd=TA|oB|LY,Do=wd|kA,Ake=wd|HY,uPt=fke&Xkt,VY=YE|JE,dPt=VY&pke,mke=Do|dPt,fPt=Do|RA|wc,rke=Do|wc|Xf,hPt=Do|RA|Xf,pPt=Do|MY|Xf|UY,APt=Do|fB|RA|wc|Zk|DA,mPt=wd|RA|wc,gPt=aB|Do|JE|ZE,yPt=Do|XE|PA,EPt=QA|AB,gke=QA|Zf,CPt=QA|AB|Do|Zf,nke=Do|Zf|QA,bPt=pB|Zf,wPt=Zf|GY,IPt=Do|XE|gke|PA,SPt=AB|wd|XE|PA,BPt=KE|Do|YE|pB,jk=Symbol.asyncIterator||Symbol("asyncIterator"),Wk=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=NPt.bind(this),this.afterUpdateNextTick=RPt.bind(this)}get ended(){return(this.stream._duplexState&PA)!==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|=QA,!0):(this.stream._duplexState|=EPt,!1)}shift(){let e=this.queue.shift();return this.buffered-=this.byteLength(e),this.buffered===0&&(this.stream._duplexState&=cPt),e}end(e){typeof e=="function"?this.stream.once("finish",e):e!=null&&this.push(e),this.stream._duplexState=(this.stream._duplexState|XE)&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|=KE;do{for(;(e._duplexState&nke)===QA;){let r=this.shift();e._duplexState|=wPt,e._write(r,this.afterWrite)}(e._duplexState&bPt)===0&&this.updateNonPrimary()}while(this.continueUpdate()===!0);e._duplexState&=lPt}updateNonPrimary(){let e=this.stream;if((e._duplexState&IPt)===XE){e._duplexState=(e._duplexState|Zf)&oPt,e._final(vPt.bind(this));return}if((e._duplexState&wd)===TA){(e._duplexState&VY)===0&&(e._duplexState|=cB,e._destroy(yke.bind(this)));return}(e._duplexState&mke)===kA&&(e._duplexState=(e._duplexState|cB)&ake,e._open(Eke.bind(this)))}continueUpdate(){return(this.stream._duplexState&YE)===0?!1:(this.stream._duplexState&=hke,!0)}updateCallback(){(this.stream._duplexState&BPt)===pB?this.update():this.updateNextTick()}updateNextTick(){(this.stream._duplexState&YE)===0&&(this.stream._duplexState|=YE,(this.stream._duplexState&KE)===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=_Pt.bind(this),this.afterUpdateNextTick=TPt.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),dB(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",xPt.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|RA)&Zkt,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|Xf)&ePt,this.buffered<this.highWaterMark)}shift(){let e=this.queue.shift();return this.buffered-=this.byteLength(e),this.buffered===0&&(this.stream._duplexState&=rPt),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|=DA,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|=aB;do{for(this.drain();this.buffered<this.highWaterMark&&(e._duplexState&APt)===DA;)e._duplexState|=Wkt,e._read(this.afterRead),this.drain();(e._duplexState&pPt)===Ykt&&(e._duplexState|=UY,e.emit("readable")),(e._duplexState&Jkt)===0&&this.updateNonPrimary()}while(this.continueUpdate()===!0);e._duplexState&=iPt}updateNonPrimary(){let e=this.stream;if((e._duplexState&hPt)===RA&&(e._duplexState=(e._duplexState|wc)&nPt,e.emit("end"),(e._duplexState&Ake)===HY&&(e._duplexState|=TA),this.pipeTo!==null&&this.pipeTo.end()),(e._duplexState&wd)===TA){(e._duplexState&VY)===0&&(e._duplexState|=cB,e._destroy(yke.bind(this)));return}(e._duplexState&mke)===kA&&(e._duplexState=(e._duplexState|cB)&ake,e._open(Eke.bind(this)))}continueUpdate(){return(this.stream._duplexState&JE)===0?!1:(this.stream._duplexState&=lke,!0)}updateCallback(){(this.stream._duplexState&gPt)===ZE?this.update():this.updateNextTick()}updateNextTick(){(this.stream._duplexState&JE)===0&&(this.stream._duplexState|=JE,(this.stream._duplexState&aB)===0&&ske(this.afterUpdateNextTick))}},kY=class{static{o(this,"TransformState")}constructor(e){this.data=null,this.afterTransform=QPt.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 xPt(){this.stream._duplexState|=FY,this.updateCallback()}o(xPt,"afterDrain");function vPt(t){let e=this.stream;t&&e.destroy(t),(e._duplexState&wd)===0&&(e._duplexState|=PA,e.emit("finish")),(e._duplexState&Ake)===HY&&(e._duplexState|=TA),e._duplexState&=dke,(e._duplexState&KE)===0?this.update():this.updateNextTick()}o(vPt,"afterFinal");function yke(t){let e=this.stream;!t&&this.error!==Xk&&(t=this.error),t&&e.emit("error",t),e._duplexState|=oB,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 NPt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=dke,this.drains!==null&&DPt(this.drains),(e._duplexState&CPt)===AB&&(e._duplexState&=aPt,(e._duplexState&DY)===DY&&e.emit("drain")),this.updateCallback()}o(NPt,"afterWrite");function _Pt(t){t&&this.stream.destroy(t),this.stream._duplexState&=Kkt,this.readAhead===!1&&(this.stream._duplexState&hB)===0&&(this.stream._duplexState&=uke),this.updateCallback()}o(_Pt,"afterRead");function TPt(){(this.stream._duplexState&aB)===0&&(this.stream._duplexState&=lke,this.update())}o(TPt,"updateReadNT");function RPt(){(this.stream._duplexState&KE)===0&&(this.stream._duplexState&=hke,this.update())}o(RPt,"updateWriteNT");function DPt(t){for(let e=0;e<t.length;e++)--t[e].writes===0&&(t.shift().resolve(!0),e--)}o(DPt,"tickDrains");function Eke(t){let e=this.stream;t&&e.destroy(t),(e._duplexState&TA)===0&&((e._duplexState&fPt)===0&&(e._duplexState|=ZE),(e._duplexState&yPt)===0&&(e._duplexState|=pB),e.emit("open")),e._duplexState&=pke,e._writableState!==null&&e._writableState.updateCallback(),e._readableState!==null&&e._readableState.updateCallback()}o(Eke,"afterOpen");function QPt(t,e){e!=null&&this.push(e),this._writableState.afterWrite(t)}o(QPt,"afterTransform");function kPt(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(kPt,"newListener");var lB=class extends $kt{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",UPt.bind(this))),this.on("newListener",kPt)}_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&oB)!==0}get destroying(){return(this._duplexState&wd)!==0}destroy(e){(this._duplexState&wd)===0&&(e||(e=Xk),this._duplexState=(this._duplexState|TA)&uPt,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())}},Jk=class t extends lB{static{o(this,"Readable")}constructor(e){super(e),this._duplexState|=kA|PA|DA,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?sPt:tPt,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(FPt(e))return e;if(e[jk])return this._fromAsyncIterator(e[jk](),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&mPt)!==0||e._readableState.buffered>=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&hB)===0}[jk](){let e=this,r=null,n=null,i=null;return this.on("error",u=>{r=u}),this.on("readable",s),this.on("close",a),{[jk](){return this},next(){return new Promise(function(u,d){n=u,i=d;let f=e.read();f!==null?c(f):(e._duplexState&oB)!==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(Xk):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&oB)return d({value:void 0,done:!0});e.once("close",function(){u?f(u):d({value:void 0,done:!0})})})}o(l,"destroy")}},Yk=class extends lB{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=kA|wc,this._writableState=new Wk(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&SPt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(qPt(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}},uB=class extends Jk{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=kA|this._duplexState&DA,this._writableState=new Wk(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}},Kk=class extends uB{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(PPt.bind(this))}},OY=class extends Kk{static{o(this,"PassThrough")}};function PPt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(PPt,"transformAfterFlush");function OPt(...t){return new Promise((e,r)=>Cke(...t,n=>{if(n)return r(n);e()}))}o(OPt,"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],dB(i)?i.pipe(s,l):(c(i,!0,u>1,l),i.pipe(s)),i=s;if(n){let u=!1,d=dB(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 dB(t){return typeof t._duplexState=="number"&&bke(t)}o(dB,"isStreamx");function LPt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===Xk?null:e}o(LPt,"getStreamError");function FPt(t){return dB(t)&&t.readable}o(FPt,"isReadStreamx");function MPt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(MPt,"isTypedArray");function wke(t){return MPt(t)?t.byteLength:1024}o(wke,"defaultByteLength");function ike(){}o(ike,"noop");function UPt(){this.destroy(new Error("Stream aborted."))}o(UPt,"abort");function qPt(t){return t._writev!==Yk.prototype._writev&&t._writev!==uB.prototype._writev}o(qPt,"isWritev");Ike.exports={pipeline:Cke,pipelinePromise:OPt,isStream:bke,isStreamx:dB,getStreamError:LPt,Stream:lB,Writable:Yk,Readable:Jk,Duplex:uB,Transform:Kk,PassThrough:OY}});var eP=A((U1r,Ske)=>{function GPt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(GPt,"isBuffer");function HPt(t){return Buffer.isEncoding(t)}o(HPt,"isEncoding");function VPt(t,e,r){return Buffer.alloc(t,e,r)}o(VPt,"alloc");function zPt(t){return Buffer.allocUnsafe(t)}o(zPt,"allocUnsafe");function $Pt(t){return Buffer.allocUnsafeSlow(t)}o($Pt,"allocUnsafeSlow");function jPt(t,e){return Buffer.byteLength(t,e)}o(jPt,"byteLength");function WPt(t,e){return Buffer.compare(t,e)}o(WPt,"compare");function JPt(t,e){return Buffer.concat(t,e)}o(JPt,"concat");function YPt(t,e,r,n,i){return In(t).copy(e,r,n,i)}o(YPt,"copy");function KPt(t,e){return In(t).equals(e)}o(KPt,"equals");function XPt(t,e,r,n,i){return In(t).fill(e,r,n,i)}o(XPt,"fill");function ZPt(t,e,r){return Buffer.from(t,e,r)}o(ZPt,"from");function eOt(t,e,r,n){return In(t).includes(e,r,n)}o(eOt,"includes");function tOt(t,e,r,n){return In(t).indexOf(e,r,n)}o(tOt,"indexOf");function rOt(t,e,r,n){return In(t).lastIndexOf(e,r,n)}o(rOt,"lastIndexOf");function nOt(t){return In(t).swap16()}o(nOt,"swap16");function iOt(t){return In(t).swap32()}o(iOt,"swap32");function sOt(t){return In(t).swap64()}o(sOt,"swap64");function In(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(In,"toBuffer");function oOt(t,e,r,n){return In(t).toString(e,r,n)}o(oOt,"toString");function aOt(t,e,r,n,i){return In(t).write(e,r,n,i)}o(aOt,"write");function cOt(t,e,r){return In(t).writeDoubleLE(e,r)}o(cOt,"writeDoubleLE");function lOt(t,e,r){return In(t).writeFloatLE(e,r)}o(lOt,"writeFloatLE");function uOt(t,e,r){return In(t).writeUInt32LE(e,r)}o(uOt,"writeUInt32LE");function dOt(t,e,r){return In(t).writeInt32LE(e,r)}o(dOt,"writeInt32LE");function fOt(t,e){return In(t).readDoubleLE(e)}o(fOt,"readDoubleLE");function hOt(t,e){return In(t).readFloatLE(e)}o(hOt,"readFloatLE");function pOt(t,e){return In(t).readUInt32LE(e)}o(pOt,"readUInt32LE");function AOt(t,e){return In(t).readInt32LE(e)}o(AOt,"readInt32LE");Ske.exports={isBuffer:GPt,isEncoding:HPt,alloc:VPt,allocUnsafe:zPt,allocUnsafeSlow:$Pt,byteLength:jPt,compare:WPt,concat:JPt,copy:YPt,equals:KPt,fill:XPt,from:ZPt,includes:eOt,indexOf:tOt,lastIndexOf:rOt,swap16:nOt,swap32:iOt,swap64:sOt,toBuffer:In,toString:oOt,write:aOt,writeDoubleLE:cOt,writeFloatLE:lOt,writeUInt32LE:uOt,writeInt32LE:dOt,readDoubleLE:fOt,readFloatLE:hOt,readUInt32LE:pOt,readInt32LE:AOt}});var WY=A(tC=>{var Tt=eP(),mOt="0000000000000000000",gOt="7777777777777777777",tP=48,Bke=Tt.from([117,115,116,97,114,0]),yOt=Tt.from([tP,tP]),EOt=Tt.from([117,115,116,97,114,32]),COt=Tt.from([32,0]),bOt=4095,mB=257,jY=263;tC.decodeLongPath=o(function(e,r){return eC(e,0,e.length,r)},"decodeLongPath");tC.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");tC.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");tC.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&bOt,6),100),Tt.write(r,th(e.uid,6),108),Tt.write(r,th(e.gid,6),116),NOt(e.size,r,124),Tt.write(r,th(e.mtime.getTime()/1e3|0,11),136),r[156]=tP+xOt(e.type),e.linkname&&Tt.write(r,e.linkname,157),Tt.copy(Bke,r,mB),Tt.copy(yOt,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");tC.decode=o(function(e,r,n){let i=e[156]===0?0:e[156]-tP,s=eC(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=BOt(i),h=e[157]===0?null:eC(e,157,100,r),p=eC(e,265,32),m=eC(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(wOt(e))e[345]&&(s=eC(e,345,155,r)+"/"+s);else if(!IOt(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 wOt(t){return Tt.equals(Bke,t.subarray(mB,mB+6))}o(wOt,"isUSTAR");function IOt(t){return Tt.equals(EOt,t.subarray(mB,mB+6))&&Tt.equals(COt,t.subarray(jY,jY+2))}o(IOt,"isGNU");function SOt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(SOt,"clamp");function BOt(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(BOt,"toType");function xOt(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(xOt,"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?gOt.slice(0,e)+" ":mOt.slice(0,e-t.length)+t+" "}o(th,"encodeOct");function vOt(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(vOt,"encodeSizeBin");function NOt(t,e,r){t.toString(8).length>11?vOt(t,e,r):Tt.write(e,th(t,11),r)}o(NOt,"encodeSize");function _Ot(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(_Ot,"parse256");function eh(t,e,r){if(t=t.subarray(e,e+r),e=0,t[e]&128)return _Ot(t);{for(;e<t.length&&t[e]===32;)e++;let n=SOt(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 eC(t,e,r,n){return Tt.toString(t.subarray(e,xke(t,0,e,e+r)),n)}o(eC,"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((V1r,Rke)=>{var{Writable:TOt,Readable:ROt,getStreamError:Nke}=zY(),DOt=_Y(),_ke=eP(),rC=WY(),QOt=_ke.alloc(0),YY=class{static{o(this,"BufferList")}constructor(){this.buffered=0,this.shifted=0,this.queue=new DOt,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 QOt;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 ROt{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 TOt{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=rC.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=rC.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=rC.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=rC.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?rC.decodePax(e):Object.assign({},this._paxGlobal,rC.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(($1r,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:kOt,Writable:POt,getStreamError:Pke}=zY(),OA=eP(),nC=kke(),rP=WY(),OOt=493,LOt=420,Oke=OA.alloc(1024),tK=class extends POt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:MOt,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?OA.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?OA.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 kOt{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=FOt(e.mode)),e.mode||(e.mode=e.type==="directory"?OOt:LOt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=OA.from(r));let i=new tK(this,e,n);return OA.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=rP.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=rP.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(rP.encode(n)),this.push(r),Lke(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(rP.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 FOt(t){switch(t&nC.S_IFMT){case nC.S_IFBLK:return"block-device";case nC.S_IFCHR:return"character-device";case nC.S_IFDIR:return"directory";case nC.S_IFIFO:return"fifo";case nC.S_IFLNK:return"symlink"}return"file"}o(FOt,"modeToType");function eK(){}o(eK,"noop");function Lke(t,e){e&=511,e&&t.push(Oke.subarray(0,512-e))}o(Lke,"overflow");function MOt(t){return OA.isBuffer(t)?t:OA.from(t)}o(MOt,"mapWritable")});var Uke=A(nK=>{nK.extract=Dke();nK.pack=Mke()});var Hke=A((Y1r,Gke)=>{var UOt=require("zlib"),qOt=Uke(),qke=jE(),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=qOt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=UOt.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((X1r,zke)=>{"use strict";function GOt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(GOt,"getDefaultExportFromCjs");var HOt=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 VOt(t){let e=Vke(4);return e.writeInt32BE(t,0),e}o(VOt,"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=HOt[(r^t[n])&255]^r>>>8;return r^-1}o(iK,"_crc32");function sK(){return VOt(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 zOt=sK,$Ot=GOt(zOt);zke.exports=$Ot});var Yke=A((ekr,Jke)=>{var jOt=require("util").inherits,jke=IA().Transform,WOt=$ke(),Wke=jE(),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=WOt.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((rkr,Kke)=>{var JOt=p1e(),gB={},nh=o(function(t,e){return nh.create(t,e)},"vending");nh.create=function(t,e){if(gB[t]){var r=new JOt(t,e);return r.setFormat(t),r.setModule(new gB[t](e)),r}else throw new Error("create("+t+"): format not registered")};nh.registerFormat=function(t,e){if(gB[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");gB[t]=e};nh.isRegisteredFormat=function(t){return!!gB[t]};nh.registerFormat("zip",$1e());nh.registerFormat("tar",Hke());nh.registerFormat("json",Yke());Kke.exports=nh});var hPe=A(oP=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});oP.getProxyUrl=sLt;oP.checkBypass=fPe;function sLt(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 sP(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new sP(`http://${r}`)}else return}o(sLt,"getProxyUrl");function fPe(t){if(!t.hostname)return!1;let e=t.hostname;if(oLt(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 oLt(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(oLt,"isLoopbackAddress");var sP=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 aLt=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]})),cLt=Sr&&Sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uP=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"&&aLt(r,e,n[i]);return cLt(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=uLt;Sr.isHttps=mLt;var oK=uP(require("http")),pPe=uP(require("https")),aK=uP(hPe()),aP=uP(Am()),lLt=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 uLt(t){let e=aK.getProxyUrl(new URL(t));return e?e.href:""}o(uLt,"getProxyUrl");var dLt=[Na.MovedPermanently,Na.ResourceMoved,Na.SeeOther,Na.TemporaryRedirect,Na.PermanentRedirect],fLt=[Na.BadGateway,Na.ServiceUnavailable,Na.GatewayTimeout],hLt=["OPTIONS","GET","DELETE","HEAD"],pLt=10,ALt=5,cP=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=cP;var lP=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=lP;function mLt(t){return new URL(t).protocol==="https:"}o(mLt,"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&&hLt.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&&dLt.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||!fLt.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 lP(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({},EB(this.requestOptions.headers),EB(e||{})):EB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=EB(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=EB(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?aP.httpsOverHttps:aP.httpsOverHttp:l=u?aP.httpOverHttps:aP.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 lLt.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(pLt,e);let r=ALt*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 cP(d,s);f.result=a.result,i(f)}else n(a)}))})}};Sr.HttpClient=cK;var EB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var xPe=A((qkr,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((Hkr,vPe)=>{var bLt=xPe(),wLt=require("events").EventEmitter;vPe.exports=sC;function sC(t){var e=sC.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}o(sC,"Chainsaw");sC.light=o(function(e){var r=sC.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()},"ChainsawLight");sC.saw=function(t,e){var r=new wLt;return r.handlers=e,r.actions=[],r.chain=function(){var n=bLt(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=sC.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(){ILt(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 ILt(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(ILt,"upgradeChainsaw")});var TPe=A((zkr,_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((FA,LPe)=>{var SLt=NPe(),QPe=require("events").EventEmitter,BLt=TPe(),dP=DPe(),xLt=require("stream").Stream;FA=LPe.exports=function(t,e){if(Buffer.isBuffer(t))return FA.parse(t);var r=FA.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};FA.stream=function(t){if(t)return FA.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=dP(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=SLt.light(s);a.writable=!0;var c=BLt();a.write=function(f){c.push(f),i()};var l=dP(),u=!1,d=!1;return a.end=function(){d=!0},a.pipe=xLt.prototype.pipe,Object.getOwnPropertyNames(QPe.prototype).forEach(function(f){a[f]=QPe.prototype[f]}),a};FA.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=dP();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=dP(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 vLt(t){var e=PPe(t);return(t[0]&128)==128&&(e-=Math.pow(256,t.length)),e}o(vLt,"decodeBEs");function NLt(t){var e=kPe(t);return(t[t.length-1]&128)==128&&(e-=Math.pow(256,t.length)),e}o(NLt,"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,NLt),e["word"+n+"be"]=e["word"+n+"bu"]=t(r,PPe),e["word"+n+"bs"]=t(r,vLt)}),e.word8=e.word8u=e.word8be,e.word8s=e.word8bs,e}o(OPe,"words")});var qPe=A((Ykr,UPe)=>{var MPe=require("stream").Transform,_Lt=require("util");function MA(t,e){if(!(this instanceof MA))return new MA;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(MA,"MatcherStream");_Lt.inherits(MA,MPe);MA.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}};MA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};MA.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=MA});var HPe=A((Xkr,GPe)=>{"use strict";var dK=require("stream"),TLt=require("util").inherits;function CB(){if(!(this instanceof CB))return new CB;dK.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(CB,"Entry");TLt(CB,dK.PassThrough);CB.prototype.autodrain=function(){return this.pipe(new dK.Transform({transform:o(function(t,e,r){r()},"transform")}))};GPe.exports=CB});var hK=A((ePr,zPe)=>{"use strict";var sh=FPe(),fK=require("stream"),RLt=require("util"),DLt=require("zlib"),QLt=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},bB=4294967296,kLt=67324752,PLt=134695760,OLt=33639248,LLt=101075792,FLt=117853008,MLt=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");RLt.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 kLt:this.state=Fe.LOCAL_FILE_HEADER;break;case OLt:this.state=Fe.CENTRAL_DIRECTORY_FILE_HEADER;break;case LLt:this.state=Fe.CDIR64_END;break;case FLt:this.state=Fe.CDIR64_LOCATOR;break;case MLt: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===bB-1&&(this.parsedEntity.uncompressedSize=g.parsed.uncompressedSize),Number.isFinite(g.parsed.compressedSize)&&this.parsedEntity.compressedSize===bB-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(PLt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},d=new QLt(u,function(g,E){var y=r._readDataDescriptor(g,c),C=y.compressedSize===E;if(!c&&!C&&E>=bB)for(var w=E-bB;w>=0&&(C=y.compressedSize===w,!C);)w-=bB;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=DLt.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 ULt="\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+=ULt[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((rPr,$Pe)=>{var wB=require("stream").Transform,qLt=require("util"),GLt=hK();function oh(t){if(!(this instanceof oh))return new oh(t);var e=t||{};wB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new GLt(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");qLt.inherits(oh,wB);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"?wB.prototype.on.call(this,"data",e):wB.prototype.on.call(this,t,e)};oh.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new wB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};$Pe.exports=oh});var KPe=A((iPr,YPe)=>{var IB=require("path"),WPe=require("fs"),JPe=parseInt("0777",8);YPe.exports=oC.mkdirp=oC.mkdirP=oC;function oC(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=IB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(IB.dirname(t)===t)return a(c);oC(IB.dirname(t),e,function(l,u){l?a(l,u):oC(t,e,a,u)});break;default:s.stat(t,function(l,u){l||!u.isDirectory()?a(c,n):a(null,n)});break}})}o(oC,"mkdirP");oC.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=IB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(IB.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((oPr,eOe)=>{var HLt=require("fs"),XPe=require("path"),VLt=require("util"),zLt=KPe(),ZPe=require("stream").Transform,$Lt=hK();function ah(t){if(!(this instanceof ah))return new ah(t);ZPe.call(this),this.opts=t||{},this.unzipStream=new $Lt(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");VLt.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=HLt.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();zLt(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,ix,YC,KC,sx,cm,ox,XC,lm,um,$s,ax=[].splice;cm=10,ix=5,$s=i,ox=h,KC=B,sx=$,XC=Pd,YC=l,lm=V,um=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 ox(cm),this._scheduled={},this._states=new lm(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new YC(this),this._submitLock=new um("submit",this.Promise),this._registerLock=new um("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 XC(this,j,U);if(this.datastore==="local")return U=$s.load(x,this.localStoreDefaults,{}),new sx(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:cm-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]=ax.call(x,-1),X=$s.load({},this.jobDefaults)):(St=x,[X,U,...x]=St,[F]=ax.call(x,-1),X=$s.load(X,this.jobDefaults)),pn=o((...Kt)=>new this.Promise(function(vh,dm){return U(...Kt,function(...cx){return(cx[0]!=null?dm:vh)(cx)})}),"task"),j=new KC(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 KC(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=YC,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:ix,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,ZC=Fa;return ZC}))});var xOe=A((gP,BB)=>{(function(t){var e=typeof gP=="object"&&gP,r=typeof BB=="object"&&BB&&BB.exports==e&&BB,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={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},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(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),bt&&(z=z.replace(c,function(pr){return"&"+l[pr]+";"}))):bt?(hr||(z=z.replace(u,function(pr){return"&"+l[pr]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),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})(gP)});var NP=A(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.Signature=lh.Envelope=void 0;lh.Envelope={fromJSON(t){return{payload:vP(t.payload)?Buffer.from(sLe(t.payload)):Buffer.alloc(0),payloadType:vP(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:vP(t.sig)?Buffer.from(sLe(t.sig)):Buffer.alloc(0),keyid:vP(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 vP(t){return t!=null}o(vP,"isSet")});var cLe=A(_P=>{"use strict";Object.defineProperty(_P,"__esModule",{value:!0});_P.Timestamp=void 0;_P.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 CUt=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(VA(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=dLe(t.algorithm)),t.digest.length!==0&&(e.digest=zA(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(VA(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=zA(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:Sn(t.keyId)?Buffer.from(VA(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=zA(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:Sn(t.signedTimestamp)?Buffer.from(VA(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=zA(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:Sn(t.rawBytes)?Buffer.from(VA(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=zA(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(VA(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=zA(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(VA(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=zA(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 VA(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(VA,"bytesFromBase64");function zA(t){return globalThis.Buffer.from(t).toString("base64")}o(zA,"base64FromBytes");function bUt(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(bUt,"fromTimestamp");function lLe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):bUt(CUt.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(TP(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(TP(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=RP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>RP(r))),t.checkpoint!==void 0&&(e.checkpoint=Bn.Checkpoint.toJSON(t.checkpoint)),e}};Bn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:As(t.signedEntryTimestamp)?Buffer.from(TP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=RP(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(TP(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=RP(t.canonicalizedBody)),e}};function TP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(TP,"bytesFromBase64");function RP(t){return globalThis.Buffer.from(t).toString("base64")}o(RP,"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=NP(),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(wUt(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=IUt(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 wUt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(wUt,"bytesFromBase64");function IUt(t){return globalThis.Buffer.from(t).toString("base64")}o(IUt,"base64FromBytes");function Yt(t){return t!=null}o(Yt,"isSet")});var hC=A(Ta=>{"use strict";var SUt=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]})),fC=Ta&&Ta.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&SUt(e,t,r)};Object.defineProperty(Ta,"__esModule",{value:!0});fC(NP(),Ta);fC(UK(),Ta);fC(xd(),Ta);fC(MK(),Ta);fC(qK(),Ta);fC(ILe(),Ta)});var DP=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=BUt;qs.isBundleWithPublicKey=xUt;qs.isBundleWithMessageSignature=vUt;qs.isBundleWithDsseEnvelope=NUt;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 BUt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(BUt,"isBundleWithCertificateChain");function xUt(t){return t.verificationMaterial.content.$case==="publicKey"}o(xUt,"isBundleWithPublicKey");function vUt(t){return t.content.$case==="messageSignature"}o(vUt,"isBundleWithMessageSignature");function NUt(t){return t.content.$case==="dsseEnvelope"}o(NUt,"isBundleWithDsseEnvelope")});var BLe=A(kP=>{"use strict";Object.defineProperty(kP,"__esModule",{value:!0});kP.toMessageSignatureBundle=TUt;kP.toDSSEBundle=RUt;var _Ut=hC(),QP=DP();function TUt(t){return{mediaType:t.certificateChain?QP.BUNDLE_V02_MEDIA_TYPE:QP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:_Ut.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:SLe(t)}}o(TUt,"toMessageSignatureBundle");function RUt(t){return{mediaType:t.certificateChain?QP.BUNDLE_V02_MEDIA_TYPE:QP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:DUt(t)},verificationMaterial:SLe(t)}}o(RUt,"toDSSEBundle");function DUt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[QUt(t)]}}o(DUt,"toEnvelope");function QUt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(QUt,"toSignature");function SLe(t){return{content:kUt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(SLe,"toVerificationMaterial");function kUt(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(kUt,"toKeyContent")});var HK=A(PP=>{"use strict";Object.defineProperty(PP,"__esModule",{value:!0});PP.ValidationError=void 0;var GK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};PP.ValidationError=GK});var VK=A($A=>{"use strict";Object.defineProperty($A,"__esModule",{value:!0});$A.assertBundle=PUt;$A.assertBundleV01=xLe;$A.isBundleV01=OUt;$A.assertBundleV02=LUt;$A.assertBundleLatest=FUt;var OP=HK();function PUt(t){let e=LP(t);if(e.length>0)throw new OP.ValidationError("invalid bundle",e)}o(PUt,"assertBundle");function xLe(t){let e=[];if(e.push(...LP(t)),e.push(...MUt(t)),e.length>0)throw new OP.ValidationError("invalid v0.1 bundle",e)}o(xLe,"assertBundleV01");function OUt(t){try{return xLe(t),!0}catch{return!1}}o(OUt,"isBundleV01");function LUt(t){let e=[];if(e.push(...LP(t)),e.push(...vLe(t)),e.length>0)throw new OP.ValidationError("invalid v0.2 bundle",e)}o(LUt,"assertBundleV02");function FUt(t){let e=[];if(e.push(...LP(t)),e.push(...vLe(t)),e.push(...UUt(t)),e.length>0)throw new OP.ValidationError("invalid bundle",e)}o(FUt,"assertBundleLatest");function LP(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(LP,"validateBundleBase");function MUt(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(MUt,"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 UUt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(UUt,"validateNoCertificateChain")});var _Le=A(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.envelopeToJSON=ru.envelopeFromJSON=ru.bundleToJSON=ru.bundleFromJSON=void 0;var FP=hC(),NLe=DP(),zK=VK(),qUt=o(t=>{let e=FP.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=qUt;var GUt=o(t=>FP.Bundle.toJSON(t),"bundleToJSON");ru.bundleToJSON=GUt;var HUt=o(t=>FP.Envelope.fromJSON(t),"envelopeFromJSON");ru.envelopeFromJSON=HUt;var VUt=o(t=>FP.Envelope.toJSON(t),"envelopeToJSON");ru.envelopeToJSON=VUt});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=DP();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 zUt=HK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return zUt.ValidationError},"get")});var MP=_Le();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return MP.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return MP.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return MP.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return MP.envelopeToJSON},"get")});var NB=VK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return NB.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return NB.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return NB.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return NB.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return NB.isBundleV01},"get")})});var DLe=A(_B=>{"use strict";var RLe=_B&&_B.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_B,"__esModule",{value:!0});_B.appDataPath=jUt;var $Ut=RLe(require("os")),pC=RLe(require("path"));function jUt(t){let e=$Ut.default.homedir();switch(process.platform){case"darwin":{let r=pC.default.join(e,"Library","Application Support");return pC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||pC.default.join(e,"AppData","Local");return pC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||pC.default.join(e,".local","share");return pC.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 TB=class extends Error{static{o(this,"RepositoryError")}};Gs.RepositoryError=TB;var WK=class extends TB{static{o(this,"UnsignedMetadataError")}};Gs.UnsignedMetadataError=WK;var JK=class extends TB{static{o(this,"LengthOrHashMismatchError")}};Gs.LengthOrHashMismatchError=JK;var UP=class extends Error{static{o(this,"CryptoError")}};Gs.CryptoError=UP;var YK=class extends UP{static{o(this,"UnsupportedAlgorithmError")}};Gs.UnsupportedAlgorithmError=YK});var kLe=A(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.isDefined=WUt;hh.isObject=QLe;hh.isStringArray=JUt;hh.isObjectArray=YUt;hh.isStringRecord=KUt;hh.isObjectRecord=XUt;function WUt(t){return t!==void 0}o(WUt,"isDefined");function QLe(t){return typeof t=="object"&&t!==null}o(QLe,"isObject");function JUt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(JUt,"isStringArray");function YUt(t){return Array.isArray(t)&&t.every(QLe)}o(YUt,"isObjectArray");function KUt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(KUt,"isStringRecord");function XUt(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(XUt,"isObjectRecord")});var XK=A((mFr,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(AC=>{"use strict";var ZUt=AC&&AC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(AC,"__esModule",{value:!0});AC.verifySignature=void 0;var eqt=XK(),tqt=ZUt(require("crypto")),rqt=o((t,e,r)=>{let n=Buffer.from((0,eqt.canonicalize)(t));return tqt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");AC.verifySignature=rqt});var Ic=A(Ra=>{"use strict";var nqt=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]})),iqt=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"&&nqt(r,e,n[i]);return iqt(r,e),r}})();Object.defineProperty(Ra,"__esModule",{value:!0});Ra.crypto=Ra.guard=void 0;Ra.guard=FLe(kLe());Ra.crypto=FLe(LLe())});var jA=A(vd=>{"use strict";var sqt=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=aqt;var oqt=sqt(require("util")),RB=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 aqt(t){return typeof t=="string"&&Object.values(e7).includes(t)}o(aqt,"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=>cqt(n)))throw new RB.ValueError("Failed to parse specVersion");if(r[0]!=MLe[0])throw new RB.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&&oqt.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 RB.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 RB.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 RB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};vd.Signed=t7;function cqt(t){return!isNaN(Number(t))}o(cqt,"isNumeric")});var DB=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")),GP=ULe(require("util")),ph=nu(),qP=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&&GP.default.isDeepStrictEqual(this.hashes,e.hashes)&&GP.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(qP.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(qP.guard.isDefined(i)&&!qP.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&&GP.default.isDeepStrictEqual(this.hashes,e.hashes)&&GP.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(!qP.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=uqt;var lqt=6;function uqt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=dqt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([lqt,i.length,...i])}o(uqt,"encodeOIDString");function dqt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(dqt,"encodeVariableLengthInteger")});var jLe=A(kB=>{"use strict";var fqt=kB&&kB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kB,"__esModule",{value:!0});kB.getPublicKey=mqt;var mC=fqt(require("crypto")),QB=nu(),s7=HLe(),HP=48,VLe=3,zLe=0,hqt="1.3.101.112",pqt="1.2.840.10045.2.1",Aqt="1.2.840.10045.3.1.7",o7="-----BEGIN PUBLIC KEY-----";function mqt(t){switch(t.keyType){case"rsa":return gqt(t);case"ed25519":return yqt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return Eqt(t);default:throw new QB.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(mqt,"getPublicKey");function gqt(t){if(!t.keyVal.startsWith(o7))throw new QB.CryptoError("Invalid key format");let e=mC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:mC.default.constants.RSA_PKCS1_PSS_PADDING};throw new QB.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(gqt,"getRSAPublicKey");function yqt(t){let e;if(t.keyVal.startsWith(o7))e=mC.default.createPublicKey(t.keyVal);else{if(!$Le(t.keyVal))throw new QB.CryptoError("Invalid key format");e=mC.default.createPublicKey({key:Cqt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(yqt,"getED25519PublicKey");function Eqt(t){let e;if(t.keyVal.startsWith(o7))e=mC.default.createPublicKey(t.keyVal);else{if(!$Le(t.keyVal))throw new QB.CryptoError("Invalid key format");e=mC.default.createPublicKey({key:bqt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(Eqt,"getECDCSAPublicKey");var Cqt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,s7.encodeOIDString)(hqt),n=Buffer.concat([Buffer.concat([Buffer.from([HP]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([VLe]),Buffer.from([e.length+1]),Buffer.from([zLe]),e])]);return Buffer.concat([Buffer.from([HP]),Buffer.from([n.length]),n])},"hexToDER")},bqt={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)(pqt),(0,s7.encodeOIDString)(Aqt)]),i=Buffer.concat([Buffer.from([HP]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([HP]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},$Le=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var VP=A(gC=>{"use strict";var wqt=gC&&gC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gC,"__esModule",{value:!0});gC.Key=void 0;var WLe=wqt(require("util")),PB=nu(),JLe=Ic(),Iqt=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 PB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new PB.UnsignedMetadataError("no public key found");let n=(0,Iqt.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 PB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof PB.UnsignedMetadataError?s:new PB.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})}};gC.Key=a7});var KLe=A(WA=>{"use strict";Object.defineProperty(WA,"__esModule",{value:!0});WA.range=WA.balanced=void 0;var Sqt=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,WA.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");WA.balanced=Sqt;var YLe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),Bqt=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");WA.range=Bqt});var iFe=A(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.EXPANSION_MAX=void 0;yC.expand=Fqt;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",xqt=new RegExp(ZLe,"g"),vqt=new RegExp(eFe,"g"),Nqt=new RegExp(l7,"g"),_qt=new RegExp(tFe,"g"),Tqt=new RegExp(rFe,"g"),Rqt=/\\\\/g,Dqt=/\\{/g,Qqt=/\\}/g,kqt=/\\,/g,Pqt=/\\\./g;yC.EXPANSION_MAX=1e5;function c7(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(c7,"numeric");function Oqt(t){return t.replace(Rqt,ZLe).replace(Dqt,eFe).replace(Qqt,l7).replace(kqt,tFe).replace(Pqt,rFe)}o(Oqt,"escapeBraces");function Lqt(t){return t.replace(xqt,"\\").replace(vqt,"{").replace(Nqt,"}").replace(_qt,",").replace(Tqt,".")}o(Lqt,"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 Fqt(t,e={}){if(!t)return[];let{max:r=yC.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),OB(Oqt(t),r,!0).map(Lqt)}o(Fqt,"expand");function Mqt(t){return"{"+t+"}"}o(Mqt,"embrace");function Uqt(t){return/^-?0\d/.test(t)}o(Uqt,"isPadded");function qqt(t,e){return t<=e}o(qqt,"lte");function Gqt(t,e){return t>=e}o(Gqt,"gte");function OB(t,e,r){let n=[],i=(0,XLe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?OB(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,OB(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=OB(f[0],e,!1).map(Mqt),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=qqt;m<p&&(E*=-1,y=Gqt);let w=f.some(Uqt);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,OB(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(OB,"expand_")});var sFe=A(zP=>{"use strict";Object.defineProperty(zP,"__esModule",{value:!0});zP.assertValidPattern=void 0;var Hqt=1024*64,Vqt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Hqt)throw new TypeError("pattern is too long")},"assertValidPattern");zP.assertValidPattern=Vqt});var aFe=A($P=>{"use strict";Object.defineProperty($P,"__esModule",{value:!0});$P.parseClass=void 0;var zqt={"[: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]},LB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),$qt=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(zqt))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(LB(f)+"-"+LB(g)):g===f&&n.push(LB(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(LB(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(LB(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[$qt(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");$P.parseClass=jqt});var WP=A(jP=>{"use strict";Object.defineProperty(jP,"__esModule",{value:!0});jP.unescape=void 0;var Wqt=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");jP.unescape=Wqt});var f7=A(XP=>{"use strict";var Hs;Object.defineProperty(XP,"__esModule",{value:!0});XP.AST=void 0;var Jqt=aFe(),JP=WP(),Yqt=new Set(["!","?","+","*","@"]),u7=o(t=>Yqt.has(t),"isExtglobType"),cFe=o(t=>u7(t.type),"isExtglobAST"),Kqt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),Xqt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),Zqt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),lFe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),e3t="(?!(?:^|/)\\.\\.?(?:$|/))",YP="(?!\\.)",t3t=new Set(["[","."]),r3t=new Set(["..","."]),n3t=new Set("().*{}+?[]^$\\!"),i3t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),d7="[^/]",uFe=d7+"*?",dFe=d7+"+?",s3t=0,KP=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;id=++s3t;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,Xqt)}#E(e,r=Kqt){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=Zqt){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&&r3t.has(this.#r[0]))){let m=t3t,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?e3t:E?YP:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,JP.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,JP.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!YP?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?YP:"")+dFe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?YP:"")+uFe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,JP.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+=(n3t.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,Jqt.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+=i3t(u)}return[s,(0,JP.unescape)(e),!!r,a]}};XP.AST=KP;Hs=KP});var h7=A(ZP=>{"use strict";Object.defineProperty(ZP,"__esModule",{value:!0});ZP.escape=void 0;var o3t=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");ZP.escape=o3t});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 a3t=iFe(),eO=sFe(),pFe=f7(),c3t=h7(),l3t=WP(),u3t=o((t,e,r={})=>((0,eO.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new JA(e,r).match(t)),"minimatch");me.minimatch=u3t;var d3t=/^\*+([^+@!?*[(]*)$/,f3t=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),h3t=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),p3t=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),A3t=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),m3t=/^\*+\.\*+$/,g3t=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),y3t=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),E3t=/^\.\*+$/,C3t=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),b3t=/^\*+$/,w3t=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),I3t=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),S3t=/^\?+([^+@!?*[(]*)?$/,B3t=o(([t,e=""])=>{let r=AFe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),x3t=o(([t,e=""])=>{let r=mFe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),v3t=o(([t,e=""])=>{let r=mFe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),N3t=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 _3t="[^/]",T3t=_3t+"*?",R3t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",D3t="(?:(?!(?:\\/|^)\\.).)*?",Q3t=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=Q3t;me.minimatch.filter=me.filter;var Da=o((t,e={})=>Object.assign({},t,e),"ext"),k3t=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=k3t;me.minimatch.defaults=me.defaults;var P3t=o((t,e={})=>((0,eO.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,a3t.expand)(t,{max:e.braceExpandMax})),"braceExpand");me.braceExpand=P3t;me.minimatch.braceExpand=me.braceExpand;var O3t=o((t,e={})=>new JA(t,e).makeRe(),"makeRe");me.makeRe=O3t;me.minimatch.makeRe=me.makeRe;var L3t=o((t,e,r={})=>{let n=new JA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=L3t;me.minimatch.match=me.match;var hFe=/[?*]|[+@!]\(.*?\)|\[|\]/,F3t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),JA=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,eO.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,eO.assertValidPattern)(e);let r=this.options;if(e==="**")return me.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(b3t))?i=r.dot?I3t:w3t:(n=e.match(d3t))?i=(r.nocase?r.dot?A3t:p3t:r.dot?h3t:f3t)(n[1]):(n=e.match(S3t))?i=(r.nocase?r.dot?x3t:B3t:r.dot?v3t:N3t)(n):(n=e.match(m3t))?i=r.dot?y3t:g3t:(n=e.match(E3t))&&(i=C3t);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?T3t:r.dot?R3t:D3t,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"?F3t(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=JA;var M3t=f7();Object.defineProperty(me,"AST",{enumerable:!0,get:o(function(){return M3t.AST},"get")});var U3t=h7();Object.defineProperty(me,"escape",{enumerable:!0,get:o(function(){return U3t.escape},"get")});var q3t=WP();Object.defineProperty(me,"unescape",{enumerable:!0,get:o(function(){return q3t.unescape},"get")});me.minimatch.AST=pFe.AST;me.minimatch.Minimatch=JA;me.minimatch.escape=c3t.escape;me.minimatch.unescape=l3t.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")),G3t=yFe(),tO=EFe(require("util")),rO=nu(),YA=Ic();Qa.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var FB=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(H3t(r))throw new rO.ValueError("duplicate key IDs found");if(n<1)throw new rO.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&&tO.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&tO.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(!YA.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=FB;function H3t(t){return new Set(t).size!==t.length}o(H3t,"hasDuplicates");var p7=class t extends FB{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 rO.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&&tO.default.isDeepStrictEqual(this.paths,e.paths)&&tO.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>z3t(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(!YA.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(YA.guard.isDefined(a)&&!YA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(YA.guard.isDefined(c)&&!YA.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 V3t=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function z3t(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:V3t(r,n).every(([i,s])=>(0,G3t.minimatch)(i,s))}o(z3t,"isTargetInPathPattern");var A7=class t extends FB{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 rO.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(!YA.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(EC=>{"use strict";var $3t=EC&&EC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(EC,"__esModule",{value:!0});EC.Root=void 0;var bFe=$3t(require("util")),g7=jA(),wFe=nu(),j3t=VP(),nO=m7(),iO=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=nO.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new nO.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!nO.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:W3t(this.keys),roles:J3t(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:Y3t(i),roles:K3t(s),consistentSnapshot:a,unrecognizedFields:c})}};EC.Root=y7;function W3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(W3t,"keysToJSON");function J3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(J3t,"rolesToJSON");function Y3t(t){let e;if(iO.guard.isDefined(t)){if(!iO.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(Y3t,"keysFromJSON");function K3t(t){let e;if(iO.guard.isDefined(t)){if(!iO.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:nO.Role.fromJSON(i)}),{})}return e}o(K3t,"rolesFromJSON")});var b7=A(sO=>{"use strict";Object.defineProperty(sO,"__esModule",{value:!0});sO.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})}};sO.Signature=C7});var S7=A(CC=>{"use strict";var X3t=CC&&CC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CC,"__esModule",{value:!0});CC.Snapshot=void 0;var Z3t=X3t(require("util")),w7=jA(),SFe=DB(),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)&&Z3t.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:eGt(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:tGt(i),unrecognizedFields:s})}};CC.Snapshot=I7;function eGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(eGt,"metaToJSON");function tGt(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(tGt,"metaFromJSON")});var BFe=A(bC=>{"use strict";var rGt=bC&&bC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bC,"__esModule",{value:!0});bC.Delegations=void 0;var oO=rGt(require("util")),nGt=nu(),iGt=VP(),B7=m7(),aO=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 nGt.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?oO.default.isDeepStrictEqual(this.keys,e.keys)&&oO.default.isDeepStrictEqual(this.roles,e.roles)&&oO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&oO.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:sGt(this.keys),...this.unrecognizedFields};return this.roles?e.roles=oGt(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 aO.guard.isObject(i)&&(a=B7.SuccinctRoles.fromJSON(i)),new t({keys:aGt(r),roles:cGt(n),unrecognizedFields:s,succinctRoles:a})}};bC.Delegations=x7;function sGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(sGt,"keysToJSON");function oGt(t){return Object.values(t).map(e=>e.toJSON())}o(oGt,"rolesToJSON");function aGt(t){if(!aO.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:iGt.Key.fromJSON(r,n)}),{})}o(aGt,"keysFromJSON");function cGt(t){let e;if(aO.guard.isDefined(t)){if(!aO.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(cGt,"rolesFromJSON")});var _7=A(wC=>{"use strict";var lGt=wC&&wC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wC,"__esModule",{value:!0});wC.Targets=void 0;var xFe=lGt(require("util")),v7=jA(),uGt=BFe(),dGt=DB(),cO=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:fGt(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:hGt(i),delegations:pGt(s),unrecognizedFields:a})}};wC.Targets=N7;function fGt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(fGt,"targetsToJSON");function hGt(t){let e;if(cO.guard.isDefined(t))if(cO.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:dGt.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(hGt,"targetsFromJSON");function pGt(t){let e;if(cO.guard.isDefined(t))if(cO.guard.isObject(t))e=uGt.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(pGt,"delegationsFromJSON")});var Q7=A(lO=>{"use strict";Object.defineProperty(lO,"__esModule",{value:!0});lO.Timestamp=void 0;var T7=jA(),vFe=DB(),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:AGt(i),unrecognizedFields:s})}};lO.Timestamp=D7;function AGt(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(AGt,"snapshotMetaFromJSON")});var _Fe=A(SC=>{"use strict";var mGt=SC&&SC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(SC,"__esModule",{value:!0});SC.Metadata=void 0;var gGt=XK(),NFe=mGt(require("util")),IC=jA(),MB=nu(),yGt=E7(),EGt=b7(),CGt=S7(),bGt=_7(),wGt=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,gGt.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 IC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case IC.MetadataKind.Targets:if(!this.signed.delegations)throw new MB.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 MB.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 MB.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 MB.ValueError(`expected '${e}', got ${n._type}`);if(!k7.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case IC.MetadataKind.Root:a=yGt.Root.fromJSON(n);break;case IC.MetadataKind.Timestamp:a=wGt.Timestamp.fromJSON(n);break;case IC.MetadataKind.Snapshot:a=CGt.Snapshot.fromJSON(n);break;case IC.MetadataKind.Targets:a=bGt.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=EGt.Signature.fromJSON(l);if(c[u.keyID])throw new MB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};SC.Metadata=P7});var uO=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 IGt=jA();Object.defineProperty(xr,"MetadataKind",{enumerable:!0,get:o(function(){return IGt.MetadataKind},"get")});var SGt=nu();Object.defineProperty(xr,"ValueError",{enumerable:!0,get:o(function(){return SGt.ValueError},"get")});var TFe=DB();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 BGt=VP();Object.defineProperty(xr,"Key",{enumerable:!0,get:o(function(){return BGt.Key},"get")});var xGt=_Fe();Object.defineProperty(xr,"Metadata",{enumerable:!0,get:o(function(){return xGt.Metadata},"get")});var vGt=E7();Object.defineProperty(xr,"Root",{enumerable:!0,get:o(function(){return vGt.Root},"get")});var NGt=b7();Object.defineProperty(xr,"Signature",{enumerable:!0,get:o(function(){return NGt.Signature},"get")});var _Gt=S7();Object.defineProperty(xr,"Snapshot",{enumerable:!0,get:o(function(){return _Gt.Snapshot},"get")});var TGt=_7();Object.defineProperty(xr,"Targets",{enumerable:!0,get:o(function(){return TGt.Targets},"get")});var RGt=Q7();Object.defineProperty(xr,"Timestamp",{enumerable:!0,get:o(function(){return RGt.Timestamp},"get")})});var DFe=A((pMr,RFe)=>{var BC=1e3,xC=BC*60,vC=xC*60,KA=vC*24,DGt=KA*7,QGt=KA*365.25;RFe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return kGt(t);if(r==="number"&&isFinite(t))return e.long?OGt(t):PGt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function kGt(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*QGt;case"weeks":case"week":case"w":return r*DGt;case"days":case"day":case"d":return r*KA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*vC;case"minutes":case"minute":case"mins":case"min":case"m":return r*xC;case"seconds":case"second":case"secs":case"sec":case"s":return r*BC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(kGt,"parse");function PGt(t){var e=Math.abs(t);return e>=KA?Math.round(t/KA)+"d":e>=vC?Math.round(t/vC)+"h":e>=xC?Math.round(t/xC)+"m":e>=BC?Math.round(t/BC)+"s":t+"ms"}o(PGt,"fmtShort");function OGt(t){var e=Math.abs(t);return e>=KA?dO(t,e,KA,"day"):e>=vC?dO(t,e,vC,"hour"):e>=xC?dO(t,e,xC,"minute"):e>=BC?dO(t,e,BC,"second"):t+" ms"}o(OGt,"fmtLong");function dO(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(dO,"plural")});var O7=A((mMr,QFe)=>{function LGt(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(LGt,"setup");QFe.exports=LGt});var kFe=A((Vs,fO)=>{Vs.formatArgs=MGt;Vs.save=UGt;Vs.load=qGt;Vs.useColors=FGt;Vs.storage=GGt();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 FGt(){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(FGt,"useColors");function MGt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+fO.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(MGt,"formatArgs");Vs.log=console.debug||console.log||(()=>{});function UGt(t){try{t?Vs.storage.setItem("debug",t):Vs.storage.removeItem("debug")}catch{}}o(UGt,"save");function qGt(){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(qGt,"load");function GGt(){try{return localStorage}catch{}}o(GGt,"localstorage");fO.exports=O7()(Vs);var{formatters:HGt}=fO.exports;HGt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var OFe=A((si,pO)=>{var VGt=require("tty"),hO=require("util");si.init=KGt;si.log=WGt;si.formatArgs=$Gt;si.save=JGt;si.load=YGt;si.useColors=zGt;si.destroy=hO.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=sG();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 zGt(){return"colors"in si.inspectOpts?!!si.inspectOpts.colors:VGt.isatty(process.stderr.fd)}o(zGt,"useColors");function $Gt(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+"+pO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=jGt()+e+" "+t[0]}o($Gt,"formatArgs");function jGt(){return si.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(jGt,"getDate");function WGt(...t){return process.stderr.write(hO.formatWithOptions(si.inspectOpts,...t)+`
|
|
`)}o(WGt,"log");function JGt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(JGt,"save");function YGt(){return process.env.DEBUG}o(YGt,"load");function KGt(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(KGt,"init");pO.exports=O7()(si);var{formatters:PFe}=pO.exports;PFe.o=function(t){return this.inspectOpts.colors=this.useColors,hO.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};PFe.O=function(t){return this.inspectOpts.colors=this.useColors,hO.inspect(t,this.inspectOpts)}});var F7=A((CMr,L7)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?L7.exports=kFe():L7.exports=OFe()});var mO=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 UB=class extends Error{static{o(this,"RepositoryError")}};Wr.RepositoryError=UB;var AO=class extends UB{static{o(this,"BadVersionError")}};Wr.BadVersionError=AO;var G7=class extends AO{static{o(this,"EqualVersionError")}};Wr.EqualVersionError=G7;var H7=class extends UB{static{o(this,"ExpiredMetadataError")}};Wr.ExpiredMetadataError=H7;var qB=class extends Error{static{o(this,"DownloadError")}};Wr.DownloadError=qB;var V7=class extends qB{static{o(this,"DownloadLengthMismatchError")}};Wr.DownloadLengthMismatchError=V7;var z7=class extends qB{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};Wr.DownloadHTTPError=z7});var FFe=A(NC=>{"use strict";var j7=NC&&NC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(NC,"__esModule",{value:!0});NC.withTempFile=void 0;var $7=j7(require("fs/promises")),XGt=j7(require("os")),LFe=j7(require("path")),ZGt=o(async t=>eHt(async e=>t(LFe.default.join(e,"tempfile"))),"withTempFile");NC.withTempFile=ZGt;var eHt=o(async t=>{let e=await $7.default.realpath(XGt.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((BMr,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((vMr,GFe)=>{var{RetryOperation:tHt}=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"),rHt=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),nHt=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 tHt(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(!rHt(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");GFe.exports={promiseRetry:nHt}});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 iHt=Y7(F7()),VFe=Y7(require("fs")),sHt=Y7(require("util")),zFe=mO(),oHt=FFe(),aHt=HFe(),cHt=(0,iHt.default)("tuf:fetch"),lHt="User-Agent",gO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,oHt.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 uHt(c,Buffer.from(d))}}finally{l.releaseLock(),await sHt.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=gO;var J7=class extends gO{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,aHt.promiseRetry)(async(n,i)=>{cHt("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[lHt]: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 uHt=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var $Fe=A((RMr,dHt)=>{dHt.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(yO=>{"use strict";Object.defineProperty(yO,"__esModule",{value:!0});yO.defaultConfig=void 0;yO.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(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});EO.TrustedMetadataStore=void 0;var xn=uO(),Dr=mO(),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")}};EO.TrustedMetadataStore=X7});var JFe=A(Z7=>{"use strict";Object.defineProperty(Z7,"__esModule",{value:!0});Z7.join=hHt;var fHt=require("url");function hHt(t,e){return new fHt.URL(pHt(t)+AHt(e)).toString()}o(hHt,"join");function pHt(t){return t.endsWith("/")?t:t+"/"}o(pHt,"ensureTrailingSlash");function AHt(t){return t.startsWith("/")?t.slice(1):t}o(AHt,"removeLeadingSlash")});var KFe=A(ka=>{"use strict";var mHt=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]})),gHt=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"&&mHt(r,e,n[i]);return gHt(r,e),r}})(),yHt=ka&&ka.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ka,"__esModule",{value:!0});ka.Updater=void 0;var iu=uO(),EHt=yHt(F7()),_C=rX(require("fs")),CO=rX(require("path")),YFe=$Fe(),CHt=jFe(),XA=mO(),bHt=K7(),wHt=WFe(),GB=rX(JFe()),eX=(0,EHt.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 wHt.TrustedMetadataStore(l),this.config={...CHt.defaultConfig,...c};let u=c?.userAgent?`${c.userAgent} tuf-js/${YFe.version}`:`tuf-js/${YFe.version}`;this.fetcher=a||new bHt.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 XA.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}=CO.parse(s),f=`${l[0]}.${d}`;s=u?`${u}/${f}`:f}let c=GB.join(n,s);return await this.fetcher.downloadFile(c,e.length,async l=>{await e.verify(_C.createReadStream(l)),eX("WRITE %s",i),_C.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(_C.existsSync(r))return await e.verify(_C.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=CO.join(this.dir,`${e}.json`);return eX("READ %s",r),_C.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=GB.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 XA.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=GB.join(this.metadataBaseUrl,"timestamp.json"),n=await this.fetcher.downloadBytes(r,this.config.timestampMaxLength);try{this.trustedSet.updateTimestamp(n)}catch(i){if(i instanceof XA.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=GB.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 XA.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=GB.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 XA.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 XA.ValueError("Target directory not set");let r=encodeURIComponent(e.path);return CO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=CO.join(this.dir,`${n}.json`);eX("WRITE %s",i),_C.writeFileSync(i,r.toString("utf8"))}catch(i){throw new XA.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 IHt=uO();Object.defineProperty(gh,"TargetFile",{enumerable:!0,get:o(function(){return IHt.TargetFile},"get")});var SHt=K7();Object.defineProperty(gh,"BaseFetcher",{enumerable:!0,get:o(function(){return SHt.BaseFetcher},"get")});var BHt=KFe();Object.defineProperty(gh,"Updater",{enumerable:!0,get:o(function(){return BHt.Updater},"get")})});var ZFe=A((qMr,xHt)=>{xHt.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(bO=>{"use strict";Object.defineProperty(bO,"__esModule",{value:!0});bO.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}};bO.TUFError=nX});var eMe=A(HB=>{"use strict";var vHt=HB&&HB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(HB,"__esModule",{value:!0});HB.readTarget=_Ht;var NHt=vHt(require("fs")),wO=iX();async function _Ht(t,e){let r=await THt(t,e);return new Promise((n,i)=>{NHt.default.readFile(r,"utf-8",(s,a)=>{s?i(new wO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(_Ht,"readTarget");async function THt(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new wO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new wO.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 wO.TUFError({code:"TUF_DOWNLOAD_TARGET_ERROR",message:`error downloading target ${n}`,cause:i})}return n}o(THt,"getTargetPath")});var tMe=A(($Mr,RHt)=>{RHt.exports={"https://tuf-repo-cdn.sigstore.dev":{"root.json":"ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMGVhMmYzNzRmNDA5ODEwZTJkYjk1MDc0OWQ5Y2ZlZDA5YTE1YjZhNWUyNWYzZDVmZmQwNzk5NDU5ZDdiZWUxNjcwMjIwMjhkM2FjZGRlNmRiZDUwMzRjZmFkMjIyZDMxYjQxMDkwZWUyMTg5NGUyYzQ2Y2I4OTc0MTk4YWIwMzc3ZGI0NCIKICB9LAogIHsKICAgImtleWlkIjogIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM5MTZjNjFmNDYyZTZmNTJiMDYiLAogICAic2lnIjogIjMwNDQwMjIwN2ViYjI0ZTMyMzdlNDcwNjkxZDc4NzU5MDNhNzc1NGQwZWYyYWU3ZTdiNTAyNGE3ODg4YzlhMzhhNTJkZWVjZDAyMjA2ZWQ1YWQxYzZmNGZhYjQ2OTk1ODQzYWI2YjIzZjk0MjBjNWE0Y2Y2Y2UxY2IyY2IyYTZmYzJlODdlMmVmM2UxIgogIH0sCiAgewogICAia2V5aWQiOiAiNjE2NDM4MzgxMjViNDQwYjQwZGI2OTQyZjVjYjVhMzFjMGRjMDQzNjgzMTZlYjJhYWE1OGI5NTkwNGE1ODIyMiIsCiAgICJzaWciOiAiMzA0NjAyMjEwMDg5ZDlkZmQ4ZTEwNmNjOTU4MDg4YTRkYTNjOGNmNzI1NGFiNmY2NWE5NjQ3ZDM3YWRhNzMwZWY0NzYzYzUxNjMwMjIxMDBkODgyZWU3NDQ2MTViZTc5ODYxZTIxNGUxZWViOWUxZWRkZjZhMWUyMDNhMjAxYjRjNWQwM2Y1MjI0ZDcxZDE2IgogIH0sCiAgewogICAia2V5aWQiOiAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCIsCiAgICJzaWciOiAiMzA0NTAyMjEwMDg4YmQ0Yjg4ZTgzZjU4NmNlNTY4ZDI3ZDA0MjE0YzRhYjNmZDE4OTQxNzhlZjAxNTMwM2Q1NmFmYTkzOTIwNTMwMjIwNTUzOGViYWI5Mzg3NmFiYjkwNzVhZDc3MTE0YmZmMjhhMGQ3OWE3Y2MyMjliNTM0YTBjNWNlZDU1MjZiNDhlNyIKICB9LAogIHsKICAgImtleWlkIjogIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiLAogICAic2lnIjogIjMwNDUwMjIxMDBmMzViMDdlOTM4ZDQ5NDljYWY4MmU2OWU4NmNjOWRiM2I2OWI2ZGJjNjc0MGMxZjM0M2QwNjg5M2Y5OTZmYmViMDIyMDAxZTg0N2Q4MTYyNTlhOTZhNDllNDI3NzlhMjM1MGRhYjk3YjcxYzhhZTdlMjZiMjM4MGM2ZmE3ZjU4MTMxYjMiCiAgfQogXSwKICJzaWduZWQiOiB7CiAgIl90eXBlIjogInJvb3QiLAogICJjb25zaXN0ZW50X3NuYXBzaG90IjogdHJ1ZSwKICAiZXhwaXJlcyI6ICIyMDI2LTExLTIwVDEzOjU4OjE4WiIsCiAgImtleXMiOiB7CiAgICIwYzg3NDMyYzNiZjA5ZmQ5OTE4OWZkYzMyZmE1ZWFlZGY0ZTRhNWZhYzdiYWI3M2ZhMDRhMmUwZmM2NGFmNmY1IjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFV1JpR3I1K2orM0o1U3NIK1p0cjVuRTJIMndPN1xuQlYrbk8zczkzZ0xjYTE4cVRPekhZMW9XeUFHRHlrTVNzR1RVQlN0OUQrQW4wS2ZLc0QybWZTTTQyUT09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLW9ubGluZS11cmkiOiAiZ2Nwa21zOnByb2plY3RzL3NpZ3N0b3JlLXJvb3Qtc2lnbmluZy9sb2NhdGlvbnMvZ2xvYmFsL2tleVJpbmdzL3Jvb3QvY3J5cHRvS2V5cy90aW1lc3RhbXAvY3J5cHRvS2V5VmVyc2lvbnMvMSIKICAgfSwKICAgIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiOiB7CiAgICAia2V5dHlwZSI6ICJlY2RzYSIsCiAgICAia2V5dmFsIjogewogICAgICJwdWJsaWMiOiAiLS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS1cbk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRU14cFBPSkNJWjVvdEc0MTA2ZkdKc2VFUWkzVjlcbnBrTVlRNHV5VjlUajFNN1dIWEl5TEcramtmdnVHMGdsUTFKWmJSWlpCVjNnQVI0c29qZEdISVNlb3c9PVxuLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tXG4iCiAgICB9LAogICAgInNjaGVtZSI6ICJlY2RzYS1zaGEyLW5pc3RwMjU2IiwKICAgICJ4LXR1Zi1vbi1jaS1rZXlvd25lciI6ICJAbGFuY2UiCiAgIH0sCiAgICIyMmY0Y2FlYzZkOGU2Zjk1NTVhZjY2YjNkNGMzY2IwNmEzYmIyM2ZkYzdlMzljOTE2YzYxZjQ2MmU2ZjUyYjA2IjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFekJ6Vk9tSENQb2pNVkxTSTM2NFdpaVY4TlByRFxuNklnUnhWbGlza3ovdit5M0pFUjVtY1ZHY09ObGlEY1dNQzVKMmxmSG1qUE5QaGI0SDd4bThMemZTQT09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLWtleW93bmVyIjogIkBzYW50aWFnb3RvcnJlcyIKICAgfSwKICAgIjYxNjQzODM4MTI1YjQ0MGI0MGRiNjk0MmY1Y2I1YTMxYzBkYzA0MzY4MzE2ZWIyYWFhNThiOTU5MDRhNTgyMjIiOiB7CiAgICAia2V5aWRfaGFzaF9hbGdvcml0aG1zIjogWwogICAgICJzaGEyNTYiLAogICAgICJzaGE1MTIiCiAgICBdLAogICAgImtleXR5cGUiOiAiZWNkc2EiLAogICAgImtleXZhbCI6IHsKICAgICAicHVibGljIjogIi0tLS0tQkVHSU4gUFVCTElDIEtFWS0tLS0tXG5NRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpbmlrU3NBUW1Za05lSDVlWXEvQ25JekxhYWNPXG54bFNhYXdRRE93cUt5L3RDcXhxNXh4UFNKYzIxSzRXSWhzOUd5T2tLZnp1ZVkzR0lMemNNSlo0Y1d3PT1cbi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLVxuIgogICAgfSwKICAgICJzY2hlbWUiOiAiZWNkc2Etc2hhMi1uaXN0cDI1NiIsCiAgICAieC10dWYtb24tY2kta2V5b3duZXIiOiAiQGJvYmNhbGxhd2F5IgogICB9LAogICAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCI6IHsKICAgICJrZXlpZF9oYXNoX2FsZ29yaXRobXMiOiBbCiAgICAgInNoYTI1NiIsCiAgICAgInNoYTUxMiIKICAgIF0sCiAgICAia2V5dHlwZSI6ICJlY2RzYSIsCiAgICAia2V5dmFsIjogewogICAgICJwdWJsaWMiOiAiLS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS1cbk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTBnaHJoOTJMdzFZcjNpZEdWNVdxQ3RNREI4Q3hcbitEOGhkQzR3MlpMTklwbFZSb1ZHTHNrWWEzZ2hlTXlPamlKOGtQaTE1YVEyLy83UCtvajdVdkpQR3c9PVxuLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tXG4iCiAgICB9LAogICAgInNjaGVtZSI6ICJlY2RzYS1zaGEyLW5pc3RwMjU2IiwKICAgICJ4LXR1Zi1vbi1jaS1rZXlvd25lciI6ICJAam9zaHVhZ2wiCiAgIH0sCiAgICJlNzFhNTRkNTQzODM1YmE4NmFkYWQ5NDYwMzc5Yzc2NDFmYjg3MjZkMTY0ZWE3NjY4MDFhMWM1MjJhYmE3ZWEyIjogewogICAgImtleWlkX2hhc2hfYWxnb3JpdGhtcyI6IFsKICAgICAic2hhMjU2IiwKICAgICAic2hhNTEyIgogICAgXSwKICAgICJrZXl0eXBlIjogImVjZHNhIiwKICAgICJrZXl2YWwiOiB7CiAgICAgInB1YmxpYyI6ICItLS0tLUJFR0lOIFBVQkxJQyBLRVktLS0tLVxuTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFRVhzejNTWlhGYjhqTVY0Mmo2cEpseWpialI4S1xuTjNCd29jZXhxNkxNSWI1cXNXS09RdkxOMTZOVWVmTGM0SHN3T291bVJzVlZhYWpTcFFTNmZvYmtSdz09XG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS1cbiIKICAgIH0sCiAgICAic2NoZW1lIjogImVjZHNhLXNoYTItbmlzdHAyNTYiLAogICAgIngtdHVmLW9uLWNpLWtleW93bmVyIjogIkBtbm02NzgiCiAgIH0KICB9LAogICJyb2xlcyI6IHsKICAgInJvb3QiOiB7CiAgICAia2V5aWRzIjogWwogICAgICJlNzFhNTRkNTQzODM1YmE4NmFkYWQ5NDYwMzc5Yzc2NDFmYjg3MjZkMTY0ZWE3NjY4MDFhMWM1MjJhYmE3ZWEyIiwKICAgICAiMjJmNGNhZWM2ZDhlNmY5NTU1YWY2NmIzZDRjM2NiMDZhM2JiMjNmZGM3ZTM5YzkxNmM2MWY0NjJlNmY1MmIwNiIsCiAgICAgIjYxNjQzODM4MTI1YjQ0MGI0MGRiNjk0MmY1Y2I1YTMxYzBkYzA0MzY4MzE2ZWIyYWFhNThiOTU5MDRhNTgyMjIiLAogICAgICJhNjg3ZTViZjRmYWI4MmIwZWU1OGQ0NmUwNWM5NTM1MTQ1YTJjOWFmYjQ1OGY0M2Q0MmI0NWNhMGZkY2UyYTcwIiwKICAgICAiMTgzZTY0ZjM3NjcwZGMxM2NhMGQyODk5NWEzMDUzZjM3NDA5NTRkZGNlNDQzMjFhNDFlNDY1MzRjZjQ0ZTYzMiIKICAgIF0sCiAgICAidGhyZXNob2xkIjogMwogICB9LAogICAic25hcHNob3QiOiB7CiAgICAia2V5aWRzIjogWwogICAgICIwYzg3NDMyYzNiZjA5ZmQ5OTE4OWZkYzMyZmE1ZWFlZGY0ZTRhNWZhYzdiYWI3M2ZhMDRhMmUwZmM2NGFmNmY1IgogICAgXSwKICAgICJ0aHJlc2hvbGQiOiAxLAogICAgIngtdHVmLW9uLWNpLWV4cGlyeS1wZXJpb2QiOiAzNjUwLAogICAgIngtdHVmLW9uLWNpLXNpZ25pbmctcGVyaW9kIjogMzY1CiAgIH0sCiAgICJ0YXJnZXRzIjogewogICAgImtleWlkcyI6IFsKICAgICAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICAgIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM5MTZjNjFmNDYyZTZmNTJiMDYiLAogICAgICI2MTY0MzgzODEyNWI0NDBiNDBkYjY5NDJmNWNiNWEzMWMwZGMwNDM2ODMxNmViMmFhYTU4Yjk1OTA0YTU4MjIyIiwKICAgICAiYTY4N2U1YmY0ZmFiODJiMGVlNThkNDZlMDVjOTUzNTE0NWEyYzlhZmI0NThmNDNkNDJiNDVjYTBmZGNlMmE3MCIsCiAgICAgIjE4M2U2NGYzNzY3MGRjMTNjYTBkMjg5OTVhMzA1M2YzNzQwOTU0ZGRjZTQ0MzIxYTQxZTQ2NTM0Y2Y0NGU2MzIiCiAgICBdLAogICAgInRocmVzaG9sZCI6IDMKICAgfSwKICAgInRpbWVzdGFtcCI6IHsKICAgICJrZXlpZHMiOiBbCiAgICAgIjBjODc0MzJjM2JmMDlmZDk5MTg5ZmRjMzJmYTVlYWVkZjRlNGE1ZmFjN2JhYjczZmEwNGEyZTBmYzY0YWY2ZjUiCiAgICBdLAogICAgInRocmVzaG9sZCI6IDEsCiAgICAieC10dWYtb24tY2ktZXhwaXJ5LXBlcmlvZCI6IDcsCiAgICAieC10dWYtb24tY2ktc2lnbmluZy1wZXJpb2QiOiA2CiAgIH0KICB9LAogICJzcGVjX3ZlcnNpb24iOiAiMS4wIiwKICAidmVyc2lvbiI6IDE1LAogICJ4LXR1Zi1vbi1jaS1leHBpcnktcGVyaW9kIjogMTk3LAogICJ4LXR1Zi1vbi1jaS1zaWduaW5nLXBlcmlvZCI6IDQ2CiB9Cn0=",targets:{"trusted_root.json":"ewogICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRldi5zaWdzdG9yZS50cnVzdGVkcm9vdCtqc29uO3ZlcnNpb249MC4xIiwKICAidGxvZ3MiOiBbCiAgICB7CiAgICAgICJiYXNlVXJsIjogImh0dHBzOi8vcmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUyRzJZKzJ0YWJkVFY1QmNHaUJJeDBhOWZBRndya0JibUxTR3RrczRMM3FYNnlZWTB6dWZCbmhDOFVyL2l5NTVHaFdQLzlBL2JZMkxoQzMwTTkrUll0dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDEtMTJUMTE6NTM6MjdaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ3Tkk5YXRRR2x6K1ZXZk82TFJ5Z0g0UVVmWS84VzRSRndpVDVpNVdSZ0IwPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9sb2cyMDI1LTEucmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNQ293QlFZREsyVndBeUVBdDhybHAxa25Hd2pmYmNYQVlQWUFrbjBYaUx6MXg4TzR0MFlrRWhpZTI0ND0iLAogICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUQyNTUxOSIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjUtMDktMjNUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ6eEdaRlZ2ZDBGRW1qUjhXckZ3TWRjQUo5dnRhWS9RWGY0NFkxd1VlUDZBPSIKICAgICAgfQogICAgfQogIF0sCiAgImNlcnRpZmljYXRlQXV0aG9yaXRpZXMiOiBbCiAgICB7CiAgICAgICJzdWJqZWN0IjogewogICAgICAgICJvcmdhbml6YXRpb24iOiAic2lnc3RvcmUuZGV2IiwKICAgICAgICAiY29tbW9uTmFtZSI6ICJzaWdzdG9yZSIKICAgICAgfSwKICAgICAgInVyaSI6ICJodHRwczovL2Z1bGNpby5zaWdzdG9yZS5kZXYiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlCK0RDQ0FYNmdBd0lCQWdJVE5Wa0Rab0Npb2ZQRHN5N2RmbTZnZUxidWh6QUtCZ2dxaGtqT1BRUURBekFxTVJVd0V3WURWUVFLRXd4emFXZHpkRzl5WlM1a1pYWXhFVEFQQmdOVkJBTVRDSE5wWjNOMGIzSmxNQjRYRFRJeE1ETXdOekF6TWpBeU9Wb1hEVE14TURJeU16QXpNakF5T1Zvd0tqRVZNQk1HQTFVRUNoTU1jMmxuYzNSdmNtVXVaR1YyTVJFd0R3WURWUVFERXdoemFXZHpkRzl5WlRCMk1CQUdCeXFHU000OUFnRUdCU3VCQkFBaUEySUFCTFN5QTdJaTVrK3BOTzhaRVdZMHlsZW1XRG93T2tOYTNrTCtHWkU1WjVHV2VoTDkvQTliUk5BM1JicnNaNWkwSmNhc3RhUkw3U3A1ZnAvakQ1ZHhxYy9VZFRWbmx2UzE2YW4rMllmc3dlL1F1TG9sUlVDcmNPRTIrMmlBNSt0emQ2Tm1NR1F3RGdZRFZSMFBBUUgvQkFRREFnRUdNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk1qRkhRQkJtaVFwTWxFazZ3MnVTdTFLQnRQc01COEdBMVVkSXdRWU1CYUFGTWpGSFFCQm1pUXBNbEVrNncydVN1MUtCdFBzTUFvR0NDcUdTTTQ5QkFNREEyZ0FNR1VDTUg4bGlXSmZNdWk2dlhYQmhqRGdZNE13c2xtTi9USnhWZS84M1dyRm9td21OZjA1NnkxWDQ4RjljNG0zYTNvelhBSXhBS2pSYXk1L2FqL2pzS0tHSWttUWF0akk4dXVwSHIvK0N4RnZhSldtcFlxTmtMREdSVSs5b3J6aDVoSTJScmN1YVE9PSIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0sCiAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAic3RhcnQiOiAiMjAyMS0wMy0wN1QwMzoyMDoyOVoiLAogICAgICAgICJlbmQiOiAiMjAyMi0xMi0zMVQyMzo1OTo1OS45OTlaIgogICAgICB9CiAgICB9LAogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUiCiAgICAgIH0sCiAgICAgICJ1cmkiOiAiaHR0cHM6Ly9mdWxjaW8uc2lnc3RvcmUuZGV2IiwKICAgICAgImNlcnRDaGFpbiI6IHsKICAgICAgICAiY2VydGlmaWNhdGVzIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmF3Qnl0ZXMiOiAiTUlJQ0dqQ0NBYUdnQXdJQkFnSVVBTG5WaVZmblUwYnJKYXNtUmtIcm4vVW5mYVF3Q2dZSUtvWkl6ajBFQXdNd0tqRVZNQk1HQTFVRUNoTU1jMmxuYzNSdmNtVXVaR1YyTVJFd0R3WURWUVFERXdoemFXZHpkRzl5WlRBZUZ3MHlNakEwTVRNeU1EQTJNVFZhRncwek1URXdNRFV4TXpVMk5UaGFNRGN4RlRBVEJnTlZCQW9UREhOcFozTjBiM0psTG1SbGRqRWVNQndHQTFVRUF4TVZjMmxuYzNSdmNtVXRhVzUwWlhKdFpXUnBZWFJsTUhZd0VBWUhLb1pJemowQ0FRWUZLNEVFQUNJRFlnQUU4UlZTL3lzSCtOT3Z1RFp5UEladGlsZ1VGOU5sYXJZcEFkOUhQMXZCQkgxVTVDVjc3TFNTN3MwWmlING5FN0h2N3B0UzZMdnZSL1NUazc5OExWZ016TGxKNEhlSWZGM3RIU2FleExjWXBTQVNyMWtTME4vUmdCSnovOWpXQ2lYbm8zc3dlVEFPQmdOVkhROEJBZjhFQkFNQ0FRWXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUhBd013RWdZRFZSMFRBUUgvQkFnd0JnRUIvd0lCQURBZEJnTlZIUTRFRmdRVTM5UHB6MVlrRVpiNXFOanBLRldpeGk0WVpEOHdId1lEVlIwakJCZ3dGb0FVV01BZVg1RkZwV2FwZXN5UW9aTWkwQ3JGeGZvd0NnWUlLb1pJemowRUF3TURad0F3WkFJd1BDc1FLNERZaVpZRFBJYURpNUhGS25meFh4NkFTU1ZtRVJmc3luWUJpWDJYNlNKUm5aVTg0LzlEWmRuRnZ2eG1BakJPdDZRcEJsYzRKLzBEeHZrVENxcGNsdnppTDZCQ0NQbmpkbElCM1B1M0J4c1BteWdVWTdJaTJ6YmRDZGxpaW93PSIKICAgICAgICAgIH0sCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlCOXpDQ0FYeWdBd0lCQWdJVUFMWk5BUEZkeEhQd2plRGxvRHd5WUNoQU8vNHdDZ1lJS29aSXpqMEVBd013S2pFVk1CTUdBMVVFQ2hNTWMybG5jM1J2Y21VdVpHVjJNUkV3RHdZRFZRUURFd2h6YVdkemRHOXlaVEFlRncweU1URXdNRGN4TXpVMk5UbGFGdzB6TVRFd01EVXhNelUyTlRoYU1Db3hGVEFUQmdOVkJBb1RESE5wWjNOMGIzSmxMbVJsZGpFUk1BOEdBMVVFQXhNSWMybG5jM1J2Y21Vd2RqQVFCZ2NxaGtqT1BRSUJCZ1VyZ1FRQUlnTmlBQVQ3WGVGVDRyYjNQUUd3UzRJYWp0TGszL09sbnBnYW5nYUJjbFlwc1lCcjVpKzR5bkIwN2NlYjNMUDBPSU9aZHhleFg2OWM1aVZ1eUpSUStIejA1eWkrVUYzdUJXQWxIcGlTNXNoMCtIMkdIRTdTWHJrMUVDNW0xVHIxOUw5Z2c5MmpZekJoTUE0R0ExVWREd0VCL3dRRUF3SUJCakFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZERnUVdCQlJZd0I1ZmtVV2xacWw2ekpDaGt5TFFLc1hGK2pBZkJnTlZIU01FR0RBV2dCUll3QjVma1VXbFpxbDZ6SkNoa3lMUUtzWEYrakFLQmdncWhrak9QUVFEQXdOcEFEQm1BakVBajFuSGVYWnArMTNOV0JOYStFRHNEUDhHMVdXZzF0Q01XUC9XSFBxcGFWbzBqaHN3ZU5GWmdTczBlRTd3WUk0cUFqRUEyV0I5b3Q5OHNJa29GM3ZaWWRkMy9WdFdCNWI5VE5NZWE3SXgvc3RKNVRmY0xMZUFCTEU0Qk5KT3NRNHZuQkhKIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfSwKICAgICAgInZhbGlkRm9yIjogewogICAgICAgICJzdGFydCI6ICIyMDIyLTA0LTEzVDIwOjA2OjE1WiIKICAgICAgfQogICAgfQogIF0sCiAgImN0bG9ncyI6IFsKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi90ZXN0IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUViZndSK1JKdWRYc2NnUkJScEtYMVhGRHkzUHl1ZER4ei9TZm5SaTFmVDhla3BmQmQyTzF1b3o3anIzWjhuS3p4QTY5RVVRK2VGQ0ZJM3pldWJQV1U3dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDMtMTRUMDA6MDA6MDBaIiwKICAgICAgICAgICJlbmQiOiAiMjAyMi0xMC0zMVQyMzo1OTo1OS45OTlaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJDR0NTOENoUy8yaEYwZEZySjRTY1JXY1lyQlk5d3pqU2JlYThJZ1kyYjNJPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi8yMDIyIiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpUFNsRmkwQ21GVGZFakNVcUY5SHVDRWNZWE5LQWFZYWxJSm1CWjh5eWV6UGpUcWh4cktCcE1uYW9jVnRMSkJJMWVNM3VYblF6UUdBSmRKNGdzOUZ5dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjItMTAtMjBUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICIzVDB3YXNiSEVUSmpHUjRjbVdjM0FxSktYcmplUEszL2g0cHlnQzhwN280PSIKICAgICAgfQogICAgfQogIF0sCiAgInRpbWVzdGFtcEF1dGhvcml0aWVzIjogWwogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUtdHNhLXNlbGZzaWduZWQiCiAgICAgIH0sCiAgICAgICJ1cmkiOiAiaHR0cHM6Ly90aW1lc3RhbXAuc2lnc3RvcmUuZGV2L2FwaS92MS90aW1lc3RhbXAiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlDRURDQ0FaYWdBd0lCQWdJVU9oTlVMd3lRWWU2OHdVTXZ5NHFPaXlvaml3d3dDZ1lJS29aSXpqMEVBd013T1RFVk1CTUdBMVVFQ2hNTWMybG5jM1J2Y21VdVpHVjJNU0F3SGdZRFZRUURFeGR6YVdkemRHOXlaUzEwYzJFdGMyVnNabk5wWjI1bFpEQWVGdzB5TlRBME1EZ3dOalU1TkROYUZ3MHpOVEEwTURZd05qVTVORE5hTUM0eEZUQVRCZ05WQkFvVERITnBaM04wYjNKbExtUmxkakVWTUJNR0ExVUVBeE1NYzJsbmMzUnZjbVV0ZEhOaE1IWXdFQVlIS29aSXpqMENBUVlGSzRFRUFDSURZZ0FFNHJhMlo4aEtOaWcyVDlrRmpDQVRvR0czMGpreStXUXYzQnpMK21LdmgxU0tOUi9Vd3V3c2ZOQ2c0c3J5b1lBZDhFNmlzb3ZWQTNNNGFvTmRtOVFEaTUwWjhuVEV5dnFnZkRQdFRJd1hJdGZpVy9BRmYxVjd1d2tia0FvajB4eGNvMm93YURBT0JnTlZIUThCQWY4RUJBTUNCNEF3SFFZRFZSME9CQllFRkluOWVVT0h6OUJsUnNNQ1JzY3NjMXQ5dE9zRE1COEdBMVVkSXdRWU1CYUFGSmpzQWU5L3UxSC8xSlVlYjRxSW1GTUhpYzYvTUJZR0ExVWRKUUVCL3dRTU1Bb0dDQ3NHQVFVRkJ3TUlNQW9HQ0NxR1NNNDlCQU1EQTJnQU1HVUNNRHRwc1YvNkthTzBxeUYvVU1zWDJhU1VYS1FGZG9HVHB0UUdjMGZ0cTFjc3VsSFBHRzZkc215TU5kM0pCK0czRVFJeEFPYWp2QmNqcEptS2I0TnYrMlRhb2o4VWM1K2I2aWg2RlhDQ0tyYVNxdXBlMDd6cXN3TWNYSlRlMWNFeHZIdnZsdz09IgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgInJhd0J5dGVzIjogIk1JSUI5ekNDQVh5Z0F3SUJBZ0lVVjdmMEdMRE9vRXpJaDhMWFNXODBPSmlVcDE0d0NnWUlLb1pJemowRUF3TXdPVEVWTUJNR0ExVUVDaE1NYzJsbmMzUnZjbVV1WkdWMk1TQXdIZ1lEVlFRREV4ZHphV2R6ZEc5eVpTMTBjMkV0YzJWc1puTnBaMjVsWkRBZUZ3MHlOVEEwTURnd05qVTVORE5hRncwek5UQTBNRFl3TmpVNU5ETmFNRGt4RlRBVEJnTlZCQW9UREhOcFozTjBiM0psTG1SbGRqRWdNQjRHQTFVRUF4TVhjMmxuYzNSdmNtVXRkSE5oTFhObGJHWnphV2R1WldRd2RqQVFCZ2NxaGtqT1BRSUJCZ1VyZ1FRQUlnTmlBQVFVUU50ZlJUL291M1lBVGE2d0Iva0tUZTcwY2ZKd3lSSUJvdk1udDhSY0pwaC9DT0U4MnV5UzZGbXBwTExMMVZCUEdjUGZwUVBZSk5Yeld3aThpY3doS1E2Vy9RZTJoM29lYkJiMkZIcHdOSkRxbytUTWFDL3RkZmt2L0VsSkI3MmpSVEJETUE0R0ExVWREd0VCL3dRRUF3SUJCakFTQmdOVkhSTUJBZjhFQ0RBR0FRSC9BZ0VBTUIwR0ExVWREZ1FXQkJTWTdBSHZmN3RSLzlTVkhtK0tpSmhUQjRuT3Z6QUtCZ2dxaGtqT1BRUURBd05wQURCbUFqRUF3R0VHcmZHWlIxY2VuMVI4L0RUVk1JOTQzTHNzWm1KUnREcC9pN1NmR0htR1JQNmdSYnVqOXZPSzNiNjdaMFFRQWpFQXVUMkg2NzNMUUVhSFRjeVFTWnJrcDRtWDdXd2ttRitzVmJrWVk1bVhOK1JNSDEzS1VFSEhPcUFTYWVtWVdLL0UiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9LAogICAgICAidmFsaWRGb3IiOiB7CiAgICAgICAgInN0YXJ0IjogIjIwMjUtMDctMDRUMDA6MDA6MDBaIgogICAgICB9CiAgICB9CiAgXQp9Cg==","registry.npmjs.org%2Fkeys.json":"ewogICAgImtleXMiOiBbCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OmpsM2J3c3d1ODBQampva0NnaDBvMnc1YzJVNExoUUFFNTdnajljejFrekEiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTFPbGIzek1BRkZ4WEtIaUlrUU81Y0ozWWhsNWk2VVBwK0lodXRlQkpidUhjQTVVb2dLbzBFV3RsV3dXNktTYUtvVE5FWUw3SmxDUWlWbmtoQmt0VWdnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var iMe=A(TC=>{"use strict";var nMe=TC&&TC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(TC,"__esModule",{value:!0});TC.TUFClient=void 0;var yh=nMe(require("fs")),VB=nMe(require("path")),DHt=XFe(),QHt=aX(),rMe=ZFe(),kHt=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=VB.default.join(e.cachePath,n);PHt(i),OHt({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=LHt({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,kHt.readTarget)(this.updater,e)}};TC.TUFClient=sX;function PHt(t){let e=VB.default.join(t,oX);yh.default.existsSync(t)||yh.default.mkdirSync(t,{recursive:!0}),yh.default.existsSync(e)||yh.default.mkdirSync(e)}o(PHt,"initTufCache");function OHt({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=VB.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 QHt.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(VB.default.join(t,oX,c),Buffer.from(l,"base64"))})}}o(OHt,"seedCache");function LHt(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(rMe.name)}/${rMe.version}`};return new DHt.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:VB.default.join(t.cachePath,oX),forceCache:t.forceCache,config:e})}o(LHt,"initClient")});var aX=A(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.TUFError=Nd.DEFAULT_MIRROR_URL=void 0;Nd.getTrustedRoot=zHt;Nd.initTUF=$Ht;var FHt=hC(),MHt=DLe(),UHt=iMe();Nd.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var qHt="sigstore-js",GHt={retries:2},HHt=5e3,VHt="trusted_root.json";async function zHt(t={}){let r=await sMe(t).getTarget(VHt);return FHt.TrustedRoot.fromJSON(JSON.parse(r))}o(zHt,"getTrustedRoot");async function $Ht(t={}){let e=sMe(t);return e.refresh().then(()=>e)}o($Ht,"initTUF");function sMe(t){return new UHt.TUFClient({cachePath:t.cachePath||(0,MHt.appDataPath)(qHt),rootPath:t.rootPath,mirrorURL:t.mirrorURL||Nd.DEFAULT_MIRROR_URL,retry:t.retry??GHt,timeout:t.timeout??HHt,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 zB=A(IO=>{"use strict";Object.defineProperty(IO,"__esModule",{value:!0});IO.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}};IO.ByteStream=lX});var $B=A(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.ASN1TypeError=RC.ASN1ParseError=void 0;var uX=class extends Error{static{o(this,"ASN1ParseError")}};RC.ASN1ParseError=uX;var dX=class extends Error{static{o(this,"ASN1TypeError")}};RC.ASN1TypeError=dX});var oMe=A(BO=>{"use strict";Object.defineProperty(BO,"__esModule",{value:!0});BO.decodeLength=WHt;BO.encodeLength=JHt;var SO=$B();function WHt(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new SO.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 SO.ASN1ParseError("non-minimal length encoding");n=n*256+s}if(n===0)throw new SO.ASN1ParseError("indefinite length encoding not supported");if(n<128)throw new SO.ASN1ParseError("non-minimal length encoding");return n}o(WHt,"decodeLength");function JHt(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(JHt,"encodeLength")});var cMe=A(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.parseInteger=XHt;Eh.parseStringASCII=aMe;Eh.parseTime=ZHt;Eh.parseOID=e4t;Eh.parseBoolean=t4t;Eh.parseBitString=r4t;var fX=$B(),YHt=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,KHt=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function XHt(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(XHt,"parseInteger");function aMe(t){return t.toString("ascii")}o(aMe,"parseStringASCII");function ZHt(t,e){let r=aMe(t),n=e?YHt.exec(r):KHt.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(ZHt,"parseTime");function e4t(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(e4t,"parseOID");function t4t(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(t4t,"parseBoolean");function r4t(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(r4t,"parseBitString")});var uMe=A(xO=>{"use strict";Object.defineProperty(xO,"__esModule",{value:!0});xO.ASN1Tag=void 0;var lMe=$B(),ZA={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===ZA.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===ZA.INTEGER}isBitString(){return this.isUniversal()&&this.number===ZA.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===ZA.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===ZA.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===ZA.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===ZA.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};xO.ASN1Tag=pX});var pMe=A(NO=>{"use strict";Object.defineProperty(NO,"__esModule",{value:!0});NO.ASN1Obj=void 0;var AX=zB(),_d=$B(),fMe=oMe(),DC=cMe(),n4t=uMe(),vO=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,DC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new _d.ASN1TypeError("not an integer");return(0,DC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new _d.ASN1TypeError("not an OID");return(0,DC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,DC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,DC.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,DC.parseBitString)(this.value)}};NO.ASN1Obj=vO;var i4t=100;function hMe(t,e=0){if(e>i4t)throw new _d.ASN1ParseError("maximum nesting depth exceeded");let r=new n4t.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 vO(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 TO=A(_O=>{"use strict";Object.defineProperty(_O,"__esModule",{value:!0});_O.ASN1Obj=void 0;var s4t=pMe();Object.defineProperty(_O,"ASN1Obj",{enumerable:!0,get:o(function(){return s4t.ASN1Obj},"get")})});var kC=A(Ch=>{"use strict";var o4t=Ch&&Ch.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ch,"__esModule",{value:!0});Ch.createPublicKey=a4t;Ch.digest=c4t;Ch.verify=l4t;Ch.bufferEqual=u4t;var QC=o4t(require("crypto"));function a4t(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?QC.default.createPublicKey(t):QC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):QC.default.createPublicKey({key:t,format:"der",type:e})}o(a4t,"createPublicKey");function c4t(t,...e){let r=QC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(c4t,"digest");function l4t(t,e,r,n){try{return QC.default.verify(n,t,e,r)}catch{return!1}}o(l4t,"verify");function u4t(t,e){try{return QC.default.timingSafeEqual(t,e)}catch{return!1}}o(u4t,"bufferEqual")});var AMe=A(mX=>{"use strict";Object.defineProperty(mX,"__esModule",{value:!0});mX.preAuthEncoding=f4t;var d4t="DSSEv1";function f4t(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${d4t} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(f4t,"preAuthEncoding")});var yMe=A(RO=>{"use strict";Object.defineProperty(RO,"__esModule",{value:!0});RO.base64Encode=h4t;RO.base64Decode=p4t;var mMe="base64",gMe="utf-8";function h4t(t){return Buffer.from(t,gMe).toString(mMe)}o(h4t,"base64Encode");function p4t(t){return Buffer.from(t,mMe).toString(gMe)}o(p4t,"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(DO=>{"use strict";Object.defineProperty(DO,"__esModule",{value:!0});DO.toDER=g4t;DO.fromDER=y4t;var A4t=/-----BEGIN (.*)-----/,m4t=/-----END (.*)-----/;function g4t(t){let e="";return t.split(`
|
|
`).forEach(r=>{r.match(A4t)||r.match(m4t)||(e+=r)}),Buffer.from(e,"base64")}o(g4t,"toDER");function y4t(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(`
|
|
`).concat(`
|
|
`)}o(y4t,"fromDER")});var QO=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(kO=>{"use strict";Object.defineProperty(kO,"__esModule",{value:!0});kO.RFC3161TimestampVerificationError=void 0;var CX=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};kO.RFC3161TimestampVerificationError=CX});var bMe=A(su=>{"use strict";var E4t=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]})),C4t=su&&su.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),b4t=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"&&E4t(r,e,n[i]);return C4t(r,e),r}})();Object.defineProperty(su,"__esModule",{value:!0});su.TSTInfo=void 0;var CMe=b4t(kC()),w4t=QO(),I4t=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 w4t.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 I4t.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};su.TSTInfo=wX});var IMe=A(ou=>{"use strict";var S4t=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]})),B4t=ou&&ou.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),x4t=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"&&S4t(r,e,n[i]);return B4t(r,e),r}})();Object.defineProperty(ou,"__esModule",{value:!0});ou.RFC3161Timestamp=void 0;var v4t=TO(),IX=x4t(kC()),wMe=QO(),jB=bX(),N4t=bMe(),_4t="1.2.840.113549.1.7.2",T4t="1.2.840.113549.1.9.16.1.4",R4t="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=v4t.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 N4t.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new jB.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==_4t)throw new jB.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==T4t)throw new jB.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 jB.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 jB.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()===R4t)}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(PO=>{"use strict";Object.defineProperty(PO,"__esModule",{value:!0});PO.RFC3161Timestamp=void 0;var D4t=IMe();Object.defineProperty(PO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return D4t.RFC3161Timestamp},"get")})});var xMe=A(au=>{"use strict";var Q4t=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]})),k4t=au&&au.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),P4t=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"&&Q4t(r,e,n[i]);return k4t(r,e),r}})();Object.defineProperty(au,"__esModule",{value:!0});au.SignedCertificateTimestamp=void 0;var O4t=P4t(kC()),BMe=zB(),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),O4t.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 L4t=zB(),F4t=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 L4t.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position<n;){let s=r.getUint16(),a=r.getBlock(s);i.push(F4t.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 M4t=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]})),U4t=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"&&M4t(r,e,n[i]);return U4t(r,e),r}})();Object.defineProperty(Qo,"__esModule",{value:!0});Qo.X509Certificate=Qo.EXTENSION_OID_SCT=void 0;var q4t=TO(),vMe=NMe(kC()),QX=QO(),G4t=NMe(EX()),em=DX(),H4t="2.5.29.14",V4t="2.5.29.15",z4t="2.5.29.17",$4t="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"?G4t.toDER(e):e,n=q4t.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(V4t);return e?new em.X509KeyUsageExtension(e):void 0}get extBasicConstraints(){let e=this.findExtension($4t);return e?new em.X509BasicConstraintsExtension(e):void 0}get extSubjectAltName(){let e=this.findExtension(z4t);return e?new em.X509SubjectAlternativeNameExtension(e):void 0}get extAuthorityKeyID(){let e=this.findExtension(j4t);return e?new em.X509AuthorityKeyIDExtension(e):void 0}get extSubjectKeyID(){let e=this.findExtension(H4t);return e?new em.X509SubjectKeyIDExtension(e):void 0}get extSCT(){let e=this.findExtension(Qo.EXTENSION_OID_SCT);return e?new em.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 em.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 W4t=DX();Object.defineProperty(wh,"X509SCTExtension",{enumerable:!0,get:o(function(){return W4t.X509SCTExtension},"get")})});var Sc=A(Gt=>{"use strict";var J4t=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]})),Y4t=Gt&&Gt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WB=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"&&J4t(r,e,n[i]);return Y4t(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 K4t=TO();Object.defineProperty(Gt,"ASN1Obj",{enumerable:!0,get:o(function(){return K4t.ASN1Obj},"get")});Gt.crypto=WB(kC());Gt.dsse=WB(AMe());Gt.encoding=WB(yMe());Gt.json=WB(EMe());Gt.pem=WB(EX());var X4t=SMe();Object.defineProperty(Gt,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return X4t.RFC3161Timestamp},"get")});var Z4t=zB();Object.defineProperty(Gt,"ByteStream",{enumerable:!0,get:o(function(){return Z4t.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(OO=>{"use strict";Object.defineProperty(OO,"__esModule",{value:!0});OO.DSSESignatureContent=void 0;var tm=Sc(),OX=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return tm.crypto.bufferEqual(e,tm.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return tm.crypto.bufferEqual(e,tm.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return tm.crypto.bufferEqual(e,this.signature)}verifySignature(e){return tm.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 tm.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};OO.DSSESignatureContent=OX});var QMe=A(LO=>{"use strict";Object.defineProperty(LO,"__esModule",{value:!0});LO.MessageSignatureContent=void 0;var LX=Sc(),PC=hC(),eVt={[PC.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[PC.HashAlgorithm.SHA2_256]:"sha256",[PC.HashAlgorithm.SHA2_384]:"sha384",[PC.HashAlgorithm.SHA2_512]:"sha512",[PC.HashAlgorithm.SHA3_256]:"sha3-256",[PC.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=eVt[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)}};LO.MessageSignatureContent=FX});var PMe=A(FO=>{"use strict";Object.defineProperty(FO,"__esModule",{value:!0});FO.toSignedEntity=nVt;FO.signatureContent=kMe;var MX=Sc(),tVt=DMe(),rVt=QMe();function nVt(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:iVt(t),tlogEntries:r,timestamps:i}}o(nVt,"toSignedEntity");function kMe(t,e){switch(t.content.$case){case"dsseEnvelope":return new tVt.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new rVt.MessageSignatureContent(t.content.messageSignature,e)}}o(kMe,"signatureContent");function iVt(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(iVt,"key")});var Ui=A(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.PolicyError=OC.VerificationError=void 0;var MO=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 MO{static{o(this,"VerificationError")}};OC.VerificationError=UX;var qX=class extends MO{static{o(this,"PolicyError")}};OC.PolicyError=qX});var OMe=A(UO=>{"use strict";Object.defineProperty(UO,"__esModule",{value:!0});UO.filterCertAuthorities=sVt;UO.filterTLogAuthorities=oVt;function sVt(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(sVt,"filterCertAuthorities");function oVt(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(oVt,"filterTLogAuthorities")});var LC=A(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.filterTLogAuthorities=rm.filterCertAuthorities=void 0;rm.toTrustMaterial=cVt;var GX=Sc(),JB=hC(),aVt=Ui(),HX=new Date(0),VX=new Date(864e13),MMe=OMe();Object.defineProperty(rm,"filterCertAuthorities",{enumerable:!0,get:o(function(){return MMe.filterCertAuthorities},"get")});Object.defineProperty(rm,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return MMe.filterTLogAuthorities},"get")});function cVt(t,e){let r=typeof e=="function"?e:lVt(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(cVt,"toTrustMaterial");function LMe(t){let e=t.publicKey.keyDetails,r=e===JB.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===JB.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===JB.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===JB.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===JB.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 lVt(t){return e=>{let r=(t||{})[e];if(!r)throw new aVt.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(lVt,"keyLocator")});var zX=A(YB=>{"use strict";Object.defineProperty(YB,"__esModule",{value:!0});YB.CertificateChainVerifier=void 0;YB.verifyCertificateChain=dVt;var Ih=Ui(),uVt=LC();function dVt(t,e,r){let n=(0,uVt.filterCertAuthorities)(r,t),i;for(let s of n)try{return new qO({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(dVt,"verifyCertificateChain");var qO=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=fVt([...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"})}}}};YB.CertificateChainVerifier=qO;function fVt(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(fVt,"dedupeCertificates")});var UMe=A($X=>{"use strict";Object.defineProperty($X,"__esModule",{value:!0});$X.verifySCTs=AVt;var GO=Sc(),hVt=Ui(),pVt=LC();function AVt(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()===GO.EXTENSION_OID_SCT){n=new GO.X509SCTExtension(u),i.extensions.splice(l,1);break}}if(!n)return[];if(n.signedCertificateTimestamps.length===0)return[];let s=new GO.ByteStream,a=GO.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,pVt.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(f=>l.verify(s.buffer,f.publicKey)))throw new hVt.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o(AVt,"verifySCTs")});var qMe=A(HO=>{"use strict";Object.defineProperty(HO,"__esModule",{value:!0});HO.verifyPublicKey=wVt;HO.verifyCertificate=IVt;var mVt=Sc(),gVt=Ui(),yVt=zX(),EVt=UMe(),CVt="1.3.6.1.4.1.57264.1.1",bVt="1.3.6.1.4.1.57264.1.8";function wVt(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new gVt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(wVt,"verifyPublicKey");function IVt(t,e,r){let n=[];return e.forEach(i=>{n=(0,yVt.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,EVt.verifySCTs)(n[0],n[1],r.ctlogs),signer:SVt(n[0])}}o(IVt,"verifyCertificate");function SVt(t){let e,r=t.extension(bVt);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(CVt)?.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:mVt.crypto.createPublicKey(t.publicKey),identity:i}}o(SVt,"getSigner")});var GMe=A(KB=>{"use strict";Object.defineProperty(KB,"__esModule",{value:!0});KB.verifySubjectAlternativeName=BVt;KB.verifyExtensions=xVt;KB.verifyOIDs=vVt;var jX=Ui();function BVt(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(BVt,"verifySubjectAlternativeName");function xVt(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(xVt,"verifyExtensions");function vVt(t,e=[]){for(let r of t)if(!e.find(i=>NVt(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(vVt,"verifyOIDs");function NVt(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(NVt,"oidEquals")});var VMe=A(JX=>{"use strict";Object.defineProperty(JX,"__esModule",{value:!0});JX.verifyRFC3161Timestamp=RVt;var WX=Sc(),HMe=Ui(),_Vt=zX(),TVt=LC();function RVt(t,e,r){let n=t.signingTime;if(r=(0,TVt.filterCertAuthorities)(r,n),r=QVt(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return DVt(t,e,s),!0}catch{return!1}}))throw new HMe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(RVt,"verifyRFC3161Timestamp");function DVt(t,e,r){let[n,...i]=r.certChain,s=WX.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new _Vt.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(DVt,"verifyTimestampForCA");function QVt(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(QVt,"filterCAsBySerialAndIssuer")});var zMe=A(VO=>{"use strict";Object.defineProperty(VO,"__esModule",{value:!0});VO.getTSATimestamp=PVt;VO.getTLogTimestamp=OVt;var kVt=VMe();function PVt(t,e,r){return(0,kVt.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(PVt,"getTSATimestamp");function OVt(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(OVt,"getTLogTimestamp")});var $O=A(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.Signature=Pa.Verifier=Pa.PublicKey=void 0;var zO=xd();Pa.PublicKey={fromJSON(t){return{rawBytes:FC(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:FC(t.publicKey)?{$case:"publicKey",publicKey:Pa.PublicKey.fromJSON(t.publicKey)}:FC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:zO.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:FC(t.keyDetails)?(0,zO.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=zO.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,zO.publicKeyDetailsToJSON)(t.keyDetails)),e}};Pa.Signature={fromJSON(t){return{content:FC(t.content)?Buffer.from($Me(t.content)):Buffer.alloc(0),verifier:FC(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 FC(t){return t!=null}o(FC,"isSet")});var YX=A(MC=>{"use strict";Object.defineProperty(MC,"__esModule",{value:!0});MC.DSSELogEntryV002=MC.DSSERequestV002=void 0;var WMe=NP(),JMe=xd(),jO=$O();MC.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=>jO.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=>jO.Verifier.toJSON(r))),e}};MC.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=>jO.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=>jO.Signature.toJSON(r))),e}};function YMe(t){return t!=null}o(YMe,"isSet")});var KX=A(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.HashedRekordLogEntryV002=UC.HashedRekordRequestV002=void 0;var KMe=xd(),WO=$O();UC.HashedRekordRequestV002={fromJSON(t){return{digest:JO(t.digest)?Buffer.from(LVt(t.digest)):Buffer.alloc(0),signature:JO(t.signature)?WO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=FVt(t.digest)),t.signature!==void 0&&(e.signature=WO.Signature.toJSON(t.signature)),e}};UC.HashedRekordLogEntryV002={fromJSON(t){return{data:JO(t.data)?KMe.HashOutput.fromJSON(t.data):void 0,signature:JO(t.signature)?WO.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=WO.Signature.toJSON(t.signature)),e}};function LVt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(LVt,"bytesFromBase64");function FVt(t){return globalThis.Buffer.from(t).toString("base64")}o(FVt,"base64FromBytes");function JO(t){return t!=null}o(JO,"isSet")});var XMe=A(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.CreateEntryRequest=cu.Spec=cu.Entry=void 0;var YO=YX(),KO=KX();cu.Entry={fromJSON(t){return{kind:nm(t.kind)?globalThis.String(t.kind):"",apiVersion:nm(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:nm(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:nm(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:KO.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:nm(t.dsseV002)?{$case:"dsseV002",dsseV002:YO.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=KO.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=YO.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};cu.CreateEntryRequest={fromJSON(t){return{spec:nm(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:KO.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:nm(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:YO.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=KO.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=YO.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function nm(t){return t!=null}o(nm,"isSet")});var ZMe=A(lu=>{"use strict";var MVt=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]})),XO=lu&&lu.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&MVt(e,t,r)};Object.defineProperty(lu,"__esModule",{value:!0});XO(YX(),lu);XO(XMe(),lu);XO(KX(),lu);XO($O(),lu)});var eUe=A(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.DSSE_API_VERSION_V1=void 0;im.verifyDSSETLogBody=UVt;im.verifyDSSETLogBodyV2=qVt;var Rd=Ui();im.DSSE_API_VERSION_V1="0.0.1";function UVt(t,e){if(t.apiVersion===im.DSSE_API_VERSION_V1)return GVt(t,e);throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(UVt,"verifyDSSETLogBody");function qVt(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 HVt(r.dsseV002,e);throw new Rd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(qVt,"verifyDSSETLogBodyV2");function GVt(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(GVt,"verifyDSSE001TLogBody");function HVt(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(HVt,"verifyDSSE002TLogBody")});var tUe=A(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});om.HASHEDREKORD_API_VERSION_V1=void 0;om.verifyHashedRekordTLogBody=VVt;om.verifyHashedRekordTLogBodyV2=zVt;var sm=Ui();om.HASHEDREKORD_API_VERSION_V1="0.0.1";function VVt(t,e){if(t.apiVersion===om.HASHEDREKORD_API_VERSION_V1)return $Vt(t,e);throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o(VVt,"verifyHashedRekordTLogBody");function zVt(t,e){let r=t.spec?.spec;if(!r)throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return jVt(r.hashedRekordV002,e);throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(zVt,"verifyHashedRekordTLogBodyV2");function $Vt(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o($Vt,"verifyHashedrekord001TLogBody");function jVt(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new sm.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new sm.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=WVt;var ZO=Ui();function WVt(t,e){if(t.apiVersion==="0.0.2")return JVt(t,e);throw new ZO.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(WVt,"verifyIntotoTLogBody");function JVt(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new ZO.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=YVt(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new ZO.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 ZO.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(JVt,"verifyIntoto002TLogBody");function YVt(t){return Buffer.from(t,"base64").toString("utf-8")}o(YVt,"base64Decode")});var iUe=A(XB=>{"use strict";Object.defineProperty(XB,"__esModule",{value:!0});XB.LogCheckpoint=void 0;XB.verifyCheckpoint=XVt;var nUe=Sc(),qC=Ui(),ZX=`
|
|
|
|
`,KVt=/\u2014 (\S+) (\S+)\n/g;function XVt(t,e){let r=t.inclusionProof,n=eZ.fromString(r.checkpoint.envelope),i=eL.fromString(n.note);if(!ZVt(n,e))throw new qC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(XVt,"verifyCheckpoint");function ZVt(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(ZVt,"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 qC.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(KVt),a=Array.from(s,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new qC.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 qC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},eL=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 qC.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 qC.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)}};XB.LogCheckpoint=eL});var sUe=A(nZ=>{"use strict";Object.defineProperty(nZ,"__esModule",{value:!0});nZ.verifyMerkleInclusion=r5t;var rZ=Sc(),tL=Ui(),e5t=Buffer.from([0]),t5t=Buffer.from([1]);function r5t(t,e){let r=t.inclusionProof,n;try{n=BigInt(r.logIndex)}catch{throw new tL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let i=BigInt(e.logSize);if(n<0n||n>=i)throw new tL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=n5t(n,i);if(r.hashes.length!==s+a)throw new tL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=l5t(t.canonicalizedBody),d=s5t(i5t(u,c,n),l);if(!rZ.crypto.bufferEqual(d,e.logHash))throw new tL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(r5t,"verifyMerkleInclusion");function n5t(t,e){let r=o5t(t,e),n=a5t(t>>BigInt(r));return{inner:r,border:n}}o(n5t,"decompInclProof");function i5t(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?tZ(i,n):tZ(n,i),t)}o(i5t,"chainInner");function s5t(t,e){return e.reduce((r,n)=>tZ(n,r),t)}o(s5t,"chainBorderRight");function o5t(t,e){return c5t(t^e-BigInt(1))}o(o5t,"innerProofSize");function a5t(t){return t.toString(2).split("1").length-1}o(a5t,"onesCount");function c5t(t){return t===0n?0:t.toString(2).length}o(c5t,"bitLength");function tZ(t,e){return rZ.crypto.digest("sha256",t5t,t,e)}o(tZ,"hashChildren");function l5t(t){return rZ.crypto.digest("sha256",e5t,t)}o(l5t,"hashLeaf")});var aUe=A(iZ=>{"use strict";Object.defineProperty(iZ,"__esModule",{value:!0});iZ.verifyTLogSET=f5t;var oUe=Sc(),u5t=Ui(),d5t=LC();function f5t(t,e){if(!(0,d5t.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=h5t(t),a=Buffer.from(oUe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return oUe.crypto.verify(a,i.publicKey,c)}))throw new u5t.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(f5t,"verifyTLogSET");function h5t(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(h5t,"toVerificationPayload")});var lUe=A(nL=>{"use strict";Object.defineProperty(nL,"__esModule",{value:!0});nL.verifyTLogBody=y5t;nL.verifyTLogInclusion=E5t;var cUe=ZMe(),rL=Ui(),sZ=eUe(),oZ=tUe(),p5t=rUe(),A5t=iUe(),m5t=sUe(),g5t=aUe();function y5t(t,e){let{kind:r,version:n}=t.kindVersion,i;try{i=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new rL.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==i.kind||n!==i.apiVersion)throw new rL.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,p5t.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 rL.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(y5t,"verifyTLogBody");function E5t(t,e){let r=!1;if(C5t(t)&&((0,g5t.verifyTLogSET)(t,e),r=!0),b5t(t)){let n=(0,A5t.verifyCheckpoint)(t,e);(0,m5t.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new rL.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(E5t,"verifyTLogInclusion");function C5t(t){return t.inclusionPromise!==void 0}o(C5t,"isTLogEntryWithInclusionPromise");function b5t(t){return t.inclusionProof!==void 0}o(b5t,"isTLogEntryWithInclusionProof")});var hUe=A(iL=>{"use strict";Object.defineProperty(iL,"__esModule",{value:!0});iL.Verifier=void 0;var w5t=require("util"),am=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 am.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.length<this.options.timestampThreshold)throw new am.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 am.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length<this.options.ctlogThreshold)throw new am.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 am.VerificationError({code:"TLOG_ERROR",message:"duplicate tlog entry"});if(n.length<this.options.tlogThreshold)throw new am.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 am.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)}};iL.Verifier=lZ;function cZ(t){for(let e=0;e<t.length;e++)for(let r=e+1;r<t.length;r++)if((0,w5t.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 I5t=PMe();Object.defineProperty(Oa,"toSignedEntity",{enumerable:!0,get:o(function(){return I5t.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 S5t=LC();Object.defineProperty(Oa,"toTrustMaterial",{enumerable:!0,get:o(function(){return S5t.toTrustMaterial},"get")});var B5t=hUe();Object.defineProperty(Oa,"Verifier",{enumerable:!0,get:o(function(){return B5t.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 NL(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(NL,"toCommandProperties");function gu(t,e,r){let n=new _L(t,e,r);process.stdout.write(n.toString()+eee.EOL)}o(gu,"issueCommand");function TL(t,e=""){gu(t,{},e)}o(TL,"issue");var ZZ="::",_L=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),Rx=N(require("fs"),1),Tx=N(require("os"),1);function Dx(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Rx.existsSync(r))throw new Error(`Missing file at path: ${r}`);Rx.appendFileSync(r,`${mu(e)}${Tx.EOL}`,{encoding:"utf8"})}o(Dx,"issueFileCommand");function RL(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}${Tx.EOL}${n}${Tx.EOL}${r}`}o(RL,"prepareKeyValueMessage");var bq=N(require("os"),1),ele=N(require("path"),1);var a0=N(require("http"),1),aq=N(require("https"),1);function DL(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 Qx(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Qx(`http://${r}`)}else return}o(DL,"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 Qx=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(Am(),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,sq=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},oq=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 oq(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=DL(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?aq:a0;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({},o0(this.requestOptions.headers),o0(e||{})):o0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=o0(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=o0(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=DL(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||a0.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 aq.Agent(c):new a0.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 sq(d,s);f.result=a.result,i(f)}else n(a)}))})}},o0=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"),c0=require("fs");var cq=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}=c0.promises,Pce="GITHUB_STEP_SUMMARY";var lq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return cq(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,c0.constants.R_OK|c0.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 cq(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 cq(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 lq;var uq=e9e;var Eq=N(require("os"),1);var yq=require("string_decoder");var u0=N(require("os"),1),gq=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 l0=N(require("fs"),1),sf=N(require("path"),1);var dq=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:fq,copyFile:Fce,lstat:NN,mkdir:Mce,open:T8t,readdir:hq,rename:t9e,rm:Uce,rmdir:R8t,stat:rp,symlink:qce,unlink:pq}=l0.promises,Mc=process.platform==="win32";function Gce(t){return dq(this,void 0,void 0,function*(){let e=yield l0.promises.readlink(t);return Mc&&!e.endsWith("\\")?`${e}\\`:e})}o(Gce,"readlink");var D8t=l0.constants.O_RDONLY;function fg(t){return dq(this,void 0,void 0,function*(){try{yield rp(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(fg,"exists");function _N(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(_N,"isRooted");function Aq(t,e){return dq(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 hq(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(Aq,"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 fg(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 fg(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 TN(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(TN,"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(_N(t)){let i=yield Aq(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 Aq(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 hq(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield NN(a)).isDirectory()?yield $ce(a,c,r,n):yield jce(a,c,n)}yield fq(e,(yield rp(t)).mode)})}o($ce,"cpDirRecursive");function jce(t,e,r){return np(this,void 0,void 0,function*(){if((yield NN(t)).isSymbolicLink()){try{yield NN(e),yield pq(e)}catch(i){i.code==="EPERM"&&(yield fq(e,"0666"),yield pq(e))}let n=yield Gce(t);yield qce(n,e,Mc?"junction":null)}else(!(yield fg(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())})},RN=process.platform==="win32",DN=class extends gq.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(RN)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(u0.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+u0.EOL.length),s=i.indexOf(u0.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return RN&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(RN&&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!_N(this.toolPath)&&(this.toolPath.includes("/")||RN&&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)+u0.EOL);let i=new mq(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield fg(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 mq=class t extends gq.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 DN(i,e,r).exec()})}o(io,"exec");function pg(t,e,r){return Zce(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new yq.StringDecoder("utf8"),l=new yq.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(pg,"getExecOutput");var F8t=Eq.default.platform(),M8t=Eq.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())})},Cq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Cq||(Cq={}));function Fc(t){gu("add-mask",{},t)}o(Fc,"setSecret");function Uc(t){process.env.GITHUB_PATH||""?Dx("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 QN(t,e){if(process.env.GITHUB_OUTPUT||"")return Dx("OUTPUT",RL(t,e));process.stdout.write(bq.EOL),gu("set-output",{name:t},mu(e))}o(QN,"setOutput");function kN(t){process.exitCode=Cq.Failure,mg(t)}o(kN,"setFailed");function sp(){return process.env.RUNNER_DEBUG==="1"}o(sp,"isDebug");function D(t){gu("debug",{},t)}o(D,"debug");function mg(t,e={}){gu("error",NL(e),t instanceof Error?t.toString():t)}o(mg,"error");function ut(t,e={}){gu("warning",NL(e),t instanceof Error?t.toString():t)}o(ut,"warning");function O(t){process.stdout.write(t+bq.EOL)}o(O,"info");function c9e(t){TL("group",t)}o(c9e,"startGroup");function l9e(){TL("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 Dx("STATE",RL(t,e));gu("save-state",{name:t},mu(e))}o(Ja,"saveState");function tle(t){return process.env[`STATE_${t}`]||""}o(tle,"getState");var sI=N(require("fs"),1),G$=N(require("os"),1),H$=N(require("path"),1);var nle=N(require("os"),1);function d0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(d0,"toCommandValue");function ile(t,e,r){let n=new wq(t,e,r);process.stdout.write(n.toString()+nle.EOL)}o(ile,"issueCommand");var rle="::",wq=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 d0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(u9e,"escapeData");function d9e(t){return d0(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"),f0=require("fs");var Iq=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}=f0.promises,sle="GITHUB_STEP_SUMMARY";var Sq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Iq(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,f0.constants.R_OK|f0.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 Iq(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 Iq(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()}},p6t=new Sq;var Bq=N(require("os"),1);var E6t=Bq.default.platform(),C6t=Bq.default.arch();var ale;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(ale||(ale={}));function xq(){return process.env.RUNNER_DEBUG==="1"}o(xq,"isDebug");function Zt(t){ile("debug",{},t)}o(Zt,"debug");function vq(t){process.stdout.write(t+cle.EOL)}o(vq,"info");var Jq=N(require("crypto"),1),Ni=N(require("fs"),1);var d7e=N(jq(),1);var JN=N(require("os"),1),Ya=N(require("path"),1);var zo=N(jq(),1),Zue=N(require("stream"),1),ede=N(require("util"),1),Yq=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())})},jN=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;vq(s.message)}let i=this.getSleepAmount();vq(`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())})},WN=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",SJt=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(),Jq.randomUUID()),yield ku(Ya.dirname(e)),Zt(`Downloading ${t}`),Zt(`Destination ${e}`);let i=3,s=Wq("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Wq("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new jN(i,s,a).execute(()=>Gc(this,void 0,void 0,function*(){return yield p7e(t,e||"",r,n)}),l=>!(l instanceof WN&&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 WN(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=Wq("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 TN(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],xq()&&!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];xq()||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||JN.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||JN.arch(),!ade(e)){let i=g7e(t,r);e=C7e(i,e)}let n="";if(e){e=zo.clean(e)||"";let i=Ya.join(YN(),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||JN.arch();let n=Ya.join(YN(),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(),Jq.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(YN(),t,zo.clean(e)||e,r||"");Zt(`destination ${n}`);let i=`${n}.complete`;return yield TN(n),yield TN(i),yield ku(n),n})}o(y7e,"_createToolPath");function E7e(t,e,r){let i=`${Ya.join(YN(),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 YN(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Yq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(YN,"_getCacheDirectory");function cde(){let t=process.env.RUNNER_TEMP||"";return(0,Yq.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(cde,"_getTempDirectory");function Wq(t,e){let r=global[t];return r!==void 0?r:e}o(Wq,"_getGlobal");var iI=N(require("path"),1);var ude=N(require("os"),1);function C0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(C0,"toCommandValue");function dde(t,e,r){let n=new Kq(t,e,r);process.stdout.write(n.toString()+ude.EOL)}o(dde,"issueCommand");var lde="::",Kq=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 C0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(b7e,"escapeData");function w7e(t){return C0(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"),b0=require("fs");var Xq=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}=b0.promises,fde="GITHUB_STEP_SUMMARY";var Zq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Xq(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,b0.constants.R_OK|b0.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 Xq(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 Xq(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()}},UJt=new Zq;var e3=N(require("os"),1);var zJt=e3.default.platform(),$Jt=e3.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 wg=N(require("fs"),1);function r3(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(r3,"getOptions");var t_=N(require("path"),1);var Eg=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=Eg.dirname(t);return af&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Pu(e)),e}o(Ou,"dirname");function KN(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"),w0(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)(w0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||af&&t.endsWith("\\")||(t+=Eg.sep),t+e}o(KN,"ensureAbsoluteRoot");function w0(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(w0,"hasAbsoluteRoot");function I0(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(I0,"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(Eg.sep)||t===Eg.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 i3(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(i3,"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),bg=N(require("path"),1);var lf=N(require("assert"),1),Mde=N(Lde(),1);var cp=N(require("path"),1);var Cg=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,Cg.default)(e,"Parameter 'itemPath' must not be empty"),e=Pu(e),!I0(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,Cg.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,Cg.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Ka(e[r]),r===0&&I0(n)?(n=Pu(n),(0,Cg.default)(n===Ou(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,Cg.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",x0=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&&w0(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(bg.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(bg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${bg.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)(!I0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Ka(e),e==="."||e.startsWith(`.${bg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${bg.sep}`))r=r||Fde.homedir(),(0,lf.default)(r,"Unable to determine HOME directory"),(0,lf.default)(w0(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=KN("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=KN("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=KN(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 v0=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var d3=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",e_=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=r3(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return d3(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=r3(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 x0(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of i3(n)){jo(`Search path '${a}'`);try{yield uf(wg.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new v0(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&&t_.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(wg.promises.readdir(a.path))).map(h=>new v0(t_.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 d3(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 x0(s));return n.searchPaths.push(...i3(n.patterns)),n})}static stat(e,r,n){return d3(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield wg.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 wg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield wg.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 e_.create(t,e)})}o(Ude,"create");var g_=N(require("crypto"),1),xg=N(require("fs"),1),up=N(require("path"),1),Qhe=N(Rhe(),1),khe=N(require("util"),1);var Q0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Q0||(Q0={}));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 p_=2,A_=5e3,D3=5e3,Q3=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,Dhe=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,k0="cache.tar",k3="manifest.txt",SKt=10*Math.pow(1024,3),m_="cache read denied:";var Bg=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 P0(){return Bg(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,g_.randomUUID());return yield ku(r),r})}o(P0,"createTempDirectory");function Vc(t){return xg.statSync(t).size}o(Vc,"getArchiveFileSizeInBytes");function P3(t){return Bg(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(P3,"resolvePaths");function O0(t){return Bg(this,void 0,void 0,function*(){return khe.promisify(xg.unlink)(t)})}o(O0,"unlinkFile");function Phe(t){return Bg(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 L0(){return Bg(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(L0,"getCompressionMethod");function ff(t){return t===Ji.Gzip?Q0.Gzip:Q0.Zstd}o(ff,"getCacheFileName");function Ohe(){return Bg(this,void 0,void 0,function*(){return xg.existsSync(Q3)?Q3:(yield Phe("tar")).toLowerCase().includes("gnu tar")?ci("tar"):""})}o(Ohe,"getGnuTarPathOnWindows");function O3(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(O3,"assertDefined");function vg(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(htt),g_.createHash("sha256").update(n.join("|")).digest("hex")}o(vg,"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 M0=N(require("http"),1),M3=N(require("https"),1);function L3(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 E_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new E_(`http://${r}`)}else return}o(L3,"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 E_=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(Am(),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)}},F3=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&>t.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 F3(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=L3(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?M3:M0;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({},F0(this.requestOptions.headers),F0(e||{})):F0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=F0(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=F0(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=L3(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||M0.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 M3.Agent(c):new M0.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)}))})}},F0=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 Ng=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 ay=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,U3=[],q3=[],C_=[];Hhe&&G3(Hhe);var $he=Object.assign(t=>jhe(t),{enable:G3,enabled:H3,disable:Itt,log:Ghe});function G3(t){zhe=t,U3=[],q3=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?q3.push(r.substring(1)):U3.push(r);for(let r of C_)r.enabled=H3(r.namespace)}o(G3,"enable");function H3(t){if(t.endsWith("*"))return!0;for(let e of q3)if(Vhe(t,e))return!1;for(let e of U3)if(Vhe(t,e))return!0;return!1}o(H3,"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 G3(""),t}o(Itt,"disable");function jhe(t){let e=Object.assign(r,{enabled:H3(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"),C_.push(e),e}o(jhe,"createDebugger");function Stt(){let t=C_.indexOf(this);return t>=0?(C_.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 _g=$he;var V3=["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 V3.includes(t)}o(Yhe,"isTypeSpecRuntimeLogLevel");function b_(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=_g(t.namespace);i.log=(...d)=>{_g.log(...d)};function s(d){if(d&&!Yhe(d))throw new Error(`Unknown log level '${d}'. Acceptable values: ${V3.join(",")}`);n=d;let f=[];for(let h of e)a(h)&&f.push(h.namespace);_g.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: ${V3.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=_g.disable();_g.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(b_,"createLoggerContext");var Khe=b_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),xtt=Khe.logger;function U0(t){return Khe.createClientLogger(t)}o(U0,"createClientLogger");function w_(t){return t.toLowerCase()}o(w_,"normalizeName");function*vtt(t){for(let e of t.values())yield[e.name,e.value]}o(vtt,"headerIterator");var z3=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(w_(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(w_(e))?.value}has(e){return this._headersMap.has(w_(e))}delete(e){this._headersMap.delete(w_(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 z3(t)}o(ao,"createHttpHeaders");function dp(){return crypto.randomUUID()}o(dp,"randomUUID");var $3=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 I_(t){return new $3(t)}o(I_,"createPipelineRequest");var Xhe=new Set(["Deserialize","Serialize","Retry","Sign"]),j3=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 S_(){return j3.create()}o(S_,"createEmptyPipeline");function Tg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Tg,"isObject");function fp(t){if(Tg(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 W3="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)||Tg(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,W3);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]=W3;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]=W3;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 B_(t){return t instanceof Ki?!0:fp(t)&&t.name==="RestError"}o(B_,"isRestError");function Is(t,e){return Buffer.from(t,e)}o(Is,"stringToUint8Array");var x_=N(require("node:http"),1),v_=N(require("node:https"),1),J3=N(require("node:zlib"),1),rpe=require("node:stream");var Yo=U0("ts-http-runtime");var Rtt={};function q0(t){return t&&typeof t.pipe=="function"}o(q0,"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 N_=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}},Y3=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 N_(m);g.on("error",E=>{Yo.error("Error in upload progress",E)}),q0(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 N_(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();q0(c)&&(u=tpe(c));let d=Promise.resolve();q0(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?x_.default.request(c,l):v_.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&&q0(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?x_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new x_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return v_.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 v_.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=J3.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=J3.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:q0(t)?null:npe(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Ptt,"getBodyLength");function ipe(){return new Y3}o(ipe,"createNodeHttpClient");function __(){return ipe()}o(__,"createDefaultHttpClient");var K3="logPolicy";function T_(t={}){let e=t.logger??Yo.info,r=new Za({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:K3,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(T_,"logPolicy");var R_="redirectPolicy",spe=["GET","HEAD"];function D_(t={}){let{maxRetries:e=20}=t;return{name:R_,async sendRequest(r,n){let i=await n(r);return ope(n,i,e)}}}o(D_,"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 V7t=cpe();var Q_="decompressResponsePolicy";function k_(){return{name:Q_,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(k_,"decompressResponsePolicy");function G0(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(G0,"getRandomIntegerInclusive");function P_(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+G0(0,n/2)}}o(P_,"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 X3="Retry-After",Ltt=["retry-after-ms","x-ms-retry-after-ms",X3];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===X3?1e3:1)}let e=t.headers.get(X3);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 Z3(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=dpe(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(Z3,"throttlingRetryStrategy");var Ftt=1e3,Mtt=1e3*64;function O_(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}:P_(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(O_,"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=U0("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 eG="defaultRetryPolicy";function L_(t={}){return{name:eG,sendRequest:pp([Z3(),O_(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(L_,"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 tG="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 F_(){return{name:tG,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(F_,"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",lG="proxyPolicy",Xpe=[],nAe=!1,snt=new Map;function W_(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(W_,"getEnvironmentValue");function iAe(){if(!process)return;let t=W_(tnt),e=W_(nnt),r=W_(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=W_(int);return nAe=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(ant,"loadNoProxy");function uG(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(uG,"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 J_(t,e){nAe||Xpe.push(...ant());let r=t?Zpe(t):cnt(),n={};return{name:lG,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(J_,"proxyPolicy");var dG="agentPolicy";function Y_(t){return{name:dG,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(Y_,"agentPolicy");var fG="tlsPolicy";function K_(t){return{name:fG,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(K_,"tlsPolicy");function X_(t){return typeof t.stream=="function"}o(X_,"isBlob");var Z_=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),Z_.Readable.fromWeb(t)):t}o(oAe,"ensureNodeStream");function unt(t){return t instanceof Uint8Array?Z_.Readable.from(Buffer.from(t)):X_(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 Z_.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:X_(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 V0="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 eT(){return{name:V0,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(eT,"multipartPolicy");function tT(){return S_()}o(tT,"createEmptyPipeline");var cAe=b_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),wtr=cAe.logger;function Jc(t){return cAe.createClientLogger(t)}o(Jc,"createClientLogger");var Yc=Jc("core-rest-pipeline");function AG(t={}){return T_({logger:Yc.info,...t})}o(AG,"logPolicy");var mG=R_;function gG(t={}){return D_(t)}o(gG,"redirectPolicy");var rT=N(require("node:os"),1),nT=N(require("node:process"),1);function lAe(){return"User-Agent"}o(lAe,"getHeaderName");async function uAe(t){if(nT.default&&nT.default.versions){let e=`${rT.default.type()} ${rT.default.release()}; ${rT.default.arch()}`,r=nT.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 iT="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 sT(t){let e=new Map;e.set("core-rest-pipeline",iT),await uAe(e);let r=xnt(e);return t?`${t} ${r}`:r}o(sT,"getUserAgentValue");var fAe=dAe(),hAe="userAgentPolicy";function yG(t={}){let e=sT(t.userAgentPrefix);return{name:hAe,async sendRequest(r,n){return r.headers.has(fAe)||r.headers.set(fAe,await e),n(r)}}}o(yG,"userAgentPolicy");var fo=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function EG(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(EG,"createAbortablePromise");var Rnt="The delay was aborted.";function z0(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return EG(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Rnt})}o(z0,"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 Og(){return dp()}o(Og,"randomUUID");var Lt=Ap;var AAe=Symbol("rawContent");function bG(t){return typeof t[AAe]=="function"}o(bG,"hasRawContent");function mAe(t){return bG(t)?t[AAe]():t}o(mAe,"getRawContent");var oT=V0;function wG(){let t=eT();return{name:oT,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)bG(n.body)&&(n.body=mAe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(wG,"multipartPolicy");var IG=Q_;function SG(){return k_()}o(SG,"decompressResponsePolicy");function BG(t={}){return L_(t)}o(BG,"defaultRetryPolicy");function xG(){return F_()}o(xG,"formDataPolicy");function mf(t){return uG(t)}o(mf,"getDefaultProxySettings");function vG(t,e){return J_(t,e)}o(vG,"proxyPolicy");var gAe="setClientRequestIdPolicy";function NG(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(NG,"setClientRequestIdPolicy");function _G(t){return Y_(t)}o(_G,"agentPolicy");function TG(t){return K_(t)}o(TG,"tlsPolicy");var Lg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function yAe(t={}){let e=new RG(t.parentContext);return t.span&&(e=e.setValue(Lg.span,t.span)),t.namespace&&(e=e.setValue(Lg.namespace,t.namespace)),e}o(yAe,"createTracingContext");var RG=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),cT=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 $0(){return cT.instrumenterImplementation||(cT.instrumenterImplementation=Qnt()),cT.instrumenterImplementation}o($0,"getInstrumenter");function j0(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(u,d,f){let h=$0().startSpan(u,{...f,packageName:r,packageVersion:n,tracingContext:d?.tracingOptions?.tracingContext}),p=h.tracingContext,m=h.span;p.getValue(Lg.namespace)||(p=p.setValue(Lg.namespace,e)),m.setAttribute("az.namespace",p.getValue(Lg.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 $0().withContext(u,d,...f)}o(a,"withContext");function c(u){return $0().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return $0().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(j0,"createTracingClient");var Uu=Ki;function gp(t){return B_(t)}o(gp,"isRestError");var bAe="tracingPolicy";function DG(t={}){let e=sT(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(DG,"tracingPolicy");function knt(){try{return j0({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:iT})}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 lT(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(lT,"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}=lT(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(wAe,"wrapAbortSignalLikePolicy");function QG(t){let e=tT();return Lt&&(t.agent&&e.addPolicy(_G(t.agent)),t.tlsOptions&&e.addPolicy(TG(t.tlsOptions)),e.addPolicy(vG(t.proxyOptions)),e.addPolicy(SG())),e.addPolicy(wAe()),e.addPolicy(xG(),{beforePolicies:[oT]}),e.addPolicy(yG(t.userAgentOptions)),e.addPolicy(NG(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(wG(),{afterPhase:"Deserialize"}),e.addPolicy(BG(t.retryOptions),{phase:"Retry"}),e.addPolicy(DG({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Lt&&e.addPolicy(gG(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(AG(t.loggingOptions),{afterPhase:"Sign"}),e}o(QG,"createPipelineFromOptions");function W0(){let t=__();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?lT(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(W0,"createDefaultHttpClient");function qu(t){return ao(t)}o(qu,"createHttpHeaders");function J0(t){return I_(t)}o(J0,"createPipelineRequest");var Xir=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 z0(e),i=await n();return i}o(Unt,"beginRefresh");function kG(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(kG,"createTokenCycler");var xAe="bearerTokenAuthenticationPolicy";async function uT(t,e){try{return[await e(t),void 0]}catch(r){if(gp(r)&&r.response)return[r.response,r];throw r}}o(uT,"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 Fg(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?kG(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 uT(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 uT(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 uT(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 uT(c,l))}}if(d)throw d;return u}}}o(Fg,"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 PG="DisableKeepAlivePolicy";function vAe(){return{name:PG,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(vAe,"createDisableKeepAlivePolicy");function NAe(t){return t.getOrderedPolicies().some(e=>e.name===PG)}o(NAe,"pipelineContainsDisableKeepAlivePolicy");function OG(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(OG,"encodeByteArray");function LG(t){return Buffer.from(t,"base64")}o(LG,"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 FG(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(FG,"flattenResponse");var MG=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=LG(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 MG(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=OG(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,"/"),LG(t)}}o(Ynt,"base64UrlToByteArray");function UG(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(UG,"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=OG(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(dT(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=UG(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=dT(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??"_";dT(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=UG(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(UG(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=dT(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 dT(t,e){return e.type.polymorphicDiscriminator||RAe(t,e.type.uberParent)||RAe(t,e.type.className)}o(dT,"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),qG=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=qG.operationRequestMap.get(t);return e||(e={},qG.operationRequestMap.set(t,e)),e}o(Gu,"getOperationRequestInfo");var pit=["application/json","text/json"],Ait=["application/xml","application/atom+xml"],UAe="deserializationPolicy";function GG(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(GG,"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 hT(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(hT,"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 Y0(t={}){let e=QG(t??{});return t.credentialOptions&&e.addPolicy(Fg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(hT(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(GG(t.deserializationOptions),{phase:"Deserialize"}),e}o(Y0,"createClientPipeline");var HG;function HAe(){return HG||(HG=W0()),HG}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 VG=Jc("core-client");var K0=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&&VG.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=J0({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=FG(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=FG(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 Y0({...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 pT=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 Z0(t,e={}){let n=t[jAe],i=qu(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=J0({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(Z0,"toPipelineRequest");function yp(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:ew(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(Z0(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 ew(t){return new zG(t.toJSON({preserveCase:!0}))}o(ew,"toHttpHeadersLike");function X0(t){return t.toLowerCase()}o(X0,"getHeaderKey");var zG=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[X0(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[X0(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[X0(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[X0(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[X0(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 AT(t,e){let r=yp(t.request),n=ew(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(AT,"toCompatResponse");function mT(t){let r=t[WAe],n=qu(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:Z0(t.request)}}o(mT,"toPipelineResponse");var tw=class extends K0{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:mG})}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:AT(i)}),a}};var $G;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})($G||($G={}));var Git={log(t,e){},shouldLog(t){return!1}},JAe="RequestPolicyFactoryPolicy";function jG(t){let e=t.slice().reverse();return{name:JAe,async sendRequest(r,n){let i={async sendRequest(c){let l=await n(Z0(c));return AT(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 mT(a)}}}o(jG,"createRequestPolicyFactoryPolicy");function WG(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(yp(e,{createProxy:!0}));return mT(r)},"sendRequest")}}o(WG,"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 JG=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 rw=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],gT=["__proto__","constructor","prototype"];var jit={allowBooleanAttributes:!1,unpairedTags:[]};function yT(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&&!Ug(t[s]))return en("InvalidXml","Extra text at the end",Xi(t,s));t[s]==="<"&&s--}}else{if(Ug(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(yT,"validate");function Ug(t){return t===" "||t===" "||t===`
|
|
`||t==="\r"}o(Ug,"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&&Ug(t[n]);)n++;if(n>=r)break;if(t[n]==="="){n=i+1;continue}let s=t.slice(i,n),a=n;for(;n<r&&!Ug(t[n])&&t[n]!=="=";)n++;let c=t.slice(a,n),l,u=n;for(;u<r&&Ug(t[u]);)u++;u<r&&t[u]==="="&&(l=t.slice(n,u+1),n=u+1);let d,f,h=n;for(;h<r&&Ug(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.",nw(r[i]));if(r[i][3]!==void 0&&r[i][4]===void 0)return en("InvalidAttr","Attribute '"+r[i][2]+"' is without value.",nw(r[i]));if(r[i][3]===void 0&&!e.allowBooleanAttributes)return en("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",nw(r[i]));let s=r[i][2];if(!est(s))return en("InvalidAttr","Attribute '"+s+"' is an invalid name.",nw(r[i]));if(!Object.prototype.hasOwnProperty.call(n,s))n[s]=1;else return en("InvalidAttr","Attribute '"+s+"' is repeated.",nw(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 JG(t)}o(est,"validateAttrName");function tst(t){return JG(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 nw(t){return t.startIndex+t[1].length}o(nw,"getPositionFromMatch");var YG={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 iw={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},KG={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 qg=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 sw(...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(sw,"mergeEntityMaps");var Ep="external",ET="base",XG="all";function nst(t){return!t||t===Ep?new Set([Ep]):t===XG?new Set([XG]):t===ET?new Set([ET]):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 Gg=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=sw(iw,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===qg.BLOCK)return!1;if(s===qg.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=sw(e);return}let r=sw(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=sw(e);return}let r=sw(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=ET}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(XG)?!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:ET}}_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=>rw.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(rw.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(gT.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",ZG=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}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),ust=ZG(ame,cst),dst=ZG(cme,lst,"u"),lme=":A-Za-z_",fst=lme+"\\-\\.\\d",hst=ZG(lme,fst),ume=o((t="1.0",e=!1)=>e?hst:t==="1.1"?dst:ust,"getRegexes");var eH=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1}={})=>ume(e,r).qName.test(t),"qName");var ome=["name","ncName","qName","nmToken","nmTokens"],CT=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=>{let l=s.get(c);if(l!==void 0)return l;let u=i.test(c);return s.size<n&&s.set(c,u),u},"validator");return a.reset=()=>{s=new Map},a},"createValidator");var aw=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(ow(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&&ow(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&&!eH(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(ow(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(!ow(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(),!ow(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 ow(t,e){if(eH(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(ow,"validateEntityName");var pst=[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],bT=255,wT=new Map,dme=65535,fme=1632,Hg=fme,Ast=dme-fme+1,IT=new Uint8Array(Ast).fill(bT);for(let t of pst)for(let e=0;e<10;e++){let r=t+e;r<=dme?IT[r-Hg]=e:wT.set(r,e)}var hme=48,pme=57,Ame=45,ST=new Set([8722,65293,65123]);function mst(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<Hg){if(ST.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(wT.has(c)){r=i;break}}}continue}if(IT[s-Hg]!==bT||ST.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<Hg){n.push(ST.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=wT.get(l);if(u!==void 0){n.push(String.fromCharCode(u+48)),i++;continue}}}n.push(t[i]);continue}if(ST.has(s)){n.push("-");continue}let a=IT[s-Hg];n.push(a!==bT?String.fromCharCode(a+48):t[i])}return n.join("")}o(mst,"anynum");var mme=mst;var gst=/^[-+]?0x[a-fA-F0-9]+$/,yst=/^0b[01]+$/,Est=/^0o[0-7]+$/,Cst=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,bst={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1};function rH(t,e={}){if(e=Object.assign({},bst,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&&gst.test(r))return tH(r,16);if(e.binary&&yst.test(r))return tH(r,2);if(e.octal&&Est.test(r))return tH(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return Ist(t,r,e);{let n=Cst.exec(r);if(n){let i=n[1]||"",s=n[2],a=Sst(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:Bst(t,n,e)}}o(rH,"toNumber");var wst=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Ist(t,e,r){if(!r.eNotation)return t;let n=e.match(wst);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(Ist,"resolveEnotation");function Sst(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(Sst,"trimZeros");function tH(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(tH,"parse_int");function Bst(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(Bst,"handleInfinity");function nH(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(nH,"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 Vg=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 iH=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 iH(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 xst=[{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. <script or <script)",pattern:/(?:�*3[Cc];?|�*60;?|<)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial \u2014 catches common j or j for "j")',pattern:/(?:�*6[Aa];?|�*106;?)\s*(?:�*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=xst;var vst=[{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=vst;var Nst=[{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}],BT=Nst;var _st=[{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}],cw=_st;var Tst=[{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}],sH=Tst;var Rst=[{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,}\)/}],oH=Rst;var mo=`["'\\s]*:`,Dst=[{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__["']\]/}],aH=Dst;var Qst=[{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\[/}],cH=Qst;var kst=[{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}],Pst=[...cw,...kst],lH=Pst;var gme=Object.freeze({colon:":",Tab:" ",NewLine:`
|
|
`}),Ost=/&(?:#[xX]0*([0-9a-fA-F]{1,6});?|#0*([0-9]{1,7});?|([a-zA-Z][a-zA-Z0-9]{1,15});)/g;function uH(t){return t.indexOf("&")===-1?t:t.replace(Ost,(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(uH,"decodeEntities");wp.label="HTML";Ip.label="XML";BT.label="SVG";wp.decodeEntities=!0;Ip.decodeEntities=!0;BT.decodeEntities=!0;cw.label="SQL";lH.label="SQL-STRICT";sH.label="SHELL";oH.label="REDOS";aH.label="NOSQL";cH.label="LOG";var Glr=Object.freeze({HTML:wp,XML:Ip,SVG:BT,SQL:cw,"SQL-STRICT":lH,SHELL:sH,REDOS:oH,NOSQL:aH,LOG:cH});function Lst(t){if(typeof t!="string")throw new TypeError(`is-unsafe: first argument must be a string, got ${typeof t}`)}o(Lst,"assertString");function Fst(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(Fst,"assertContext");function Mst(t){return t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null}}o(Mst,"normalise");function Ust(t,e){if(!e.decodeEntities)return null;let r=uH(t);return r===t?null:r}o(Ust,"decodedCopy");function qst(t,e){let r=e.label??"CUSTOM",n=Ust(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(qst,"matchList");function yme(t,e){Lst(t),Fst(e);let{lists:r,regex:n}=Mst(e);if(n)return n.test(t);for(let i of r)if(qst(t,i)!==null)return!0;return!1}o(yme,"isUnsafe");function Gst(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(Gst,"extractRawAttributes");function Hst(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(Hst,"extractNamespace");var lw=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Wst,this.parseTextData=Vst,this.resolveNameSpace=zst,this.buildAttributesMap=jst,this.isItStopNode=Xst,this.replaceEntitiesValue=Yst,this.readStopNodeData=tot,this.saveTextToParentTag=Kst,this.addChild=Jst,this.ignoreAttributesFn=nH(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...iw};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...KG,...YG}),this.entityDecoder=new Gg({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])?qg.BLOCK:qg.ALLOW,"onInputEntity")})),this.matcher=new Zc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Vg;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 Vst(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?hH(t,c.parseTagValue,c.numberParseOptions):t}}o(Vst,"parseTextData");function zst(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(zst,"resolveNameSpace");var $st=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function jst(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=KAe(t,$st),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=s[p][4];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=Eme(g,i),s[p][4]!==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]=hH(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 Wst=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 aw(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=zg(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=dH(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=fH(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=zg(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=zg(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=fH(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}=dH(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=Hst(p),h!==n.tagname&&this.matcher.push(h,{},Q),h!==m&&g&&(w=this.buildAttributesMap(m,this.matcher,h),w&&(B=Gst(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}=dH(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 Jst(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(Jst,"addChild");function Yst(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(Yst,"replaceEntitiesValue");function Kst(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(Kst,"saveTextToParentTag");function Xst(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Xst,"isItStopNode");function Zst(t,e,r=">"){let n=0,i=t.length,s=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let u=e;u<i;u++){let d=t.charCodeAt(u);if(n)d===n&&(n=0);else if(d===34||d===39)n=d;else if(d===s)if(a!==-1){if(t.charCodeAt(u+1)===a)return c+=t.substring(l,u),{data:c,index:u}}else return c+=t.substring(l,u),{data:c,index:u};else d===9&&!n&&(c+=t.substring(l,u)+" ",l=u+1)}}o(Zst,"tagExpWithClosingIndex");function zg(t,e,r,n){let i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i+e.length-1}o(zg,"findClosingIndex");function eot(t,e,r,n){let i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i}o(eot,"findClosingChar");function fH(t,e,r,n=">"){let i=Zst(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(fH,"readTagExp");function tot(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=eot(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=zg(t,"?>",r+1,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=zg(t,"-->",r+3,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===91)r=zg(t,"]]>",r,"StopNode is not closed.")-2;else{let u=s?void 0:fH(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(tot,"readStopNodeData");function hH(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:rH(t,r)}else return XAe(t)?t:""}o(hH,"parseValue");function dH(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=Eme(e,n),{tagName:e,tagExp:r}}o(dH,"transformTagName");function Eme(t,e){if(gT.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return rw.includes(t)?e.onDangerousProperty(t):t}o(Eme,"sanitizeName");var pH=vs.getMetaDataSymbol();function rot(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(rot,"stripAttributePrefix");function AH(t,e,r,n){return Cme(t,e,r,n)}o(AH,"prettify");function Cme(t,e,r,n){let i,s={};for(let a=0;a<t.length;a++){let c=t[a],l=not(c);if(l!==void 0&&l!==e.textNodeName){let u=rot(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=Cme(c[l],e,r,n),d=sot(u,e);if(Object.keys(u).length===0&&e.alwaysCreateTextNode&&(u[e.textNodeName]=""),c[":@"]?iot(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[pH]!==void 0&&typeof u=="object"&&u!==null&&(u[pH]=c[pH]),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(Cme,"compress");function not(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(not,"propName");function iot(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(iot,"assignAttributes");function sot(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(sot,"isLeafTag");var $g=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=yT(e,r);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}let n=new lw(this.options,this.externalEntities),i=n.parseXml(e);return this.options.preserveOrder||i===void 0?i:AH(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 '
'");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 uw(t){return hi(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(uw,"safeComment");function xT(t){return hi(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(xT,"safeCdata");function el(t){return hi(t).replace(/"/g,""").replace(/'/g,"'")}o(el,"escapeAttribute");var oot=`
|
|
`;function aot(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(yH(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(aot,"detectXmlVersionFromArray");function wme(t,e,r,n,i){return!r.sanitizeName||i(t)?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(wme,"resolveTagName");function gH(t,e){let r="";e.format&&(r=oot);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=aot(t,e),s=CT("qName",{xmlVersion:i}),a=new Zc;return Ime(t,e,r,a,n,s)}o(gH,"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=mH(l,e),l}return""}for(let l=0;l<t.length;l++){let u=t[l],d=yH(u);if(d===void 0)continue;let h=d===e.textNodeName||d===e.cdataPropName||d===e.commentPropName||d[0]==="?"?d:wme(d,!1,e,n,s),p=cot(u[":@"],e);n.push(h,p);let m=uot(n,i);if(h===e.textNodeName){let w=u[d];m||(w=e.tagValueProcessor(h,w),w=mH(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=xT(w);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(h===e.commentPropName){let w=u[d][0][e.textNodeName],B=uw(w);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(h[0]==="?"){let w=bme(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=bme(u[":@"],e,m,n,s),y=r+`<${h}${E}`,C;m?C=Sme(u[d],e):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 cot(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(cot,"extractAttributeValues");function Sme(t,e){if(!Array.isArray(t))return t!=null?hi(t):"";let r="";for(let n=0;n<t.length;n++){let i=t[n],s=yH(i);if(s===e.textNodeName)r+=hi(i[s]);else if(s===e.cdataPropName)r+=i[s][0][e.textNodeName];else if(s===e.commentPropName)r+=i[s][0][e.textNodeName];else{if(s&&s[0]==="?")continue;if(s){let a=lot(i[":@"],e),c=Sme(i[s],e);!c||c.length===0?r+=`<${s}${a}/>`:r+=`<${s}${a}>${c}</${s}>`}}}return r}o(Sme,"getRawContent");function lot(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(lot,"attr_to_str_raw");function yH(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(yH,"propName");function bme(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:wme(c,!0,e,n,i),u;r?u=t[a]:(u=e.attributeValueProcessor(a,t[a]),u=mH(u,e)),u===!0&&e.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${el(u)}"`}return s}o(bme,"attr_to_str");function uot(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(uot,"checkStopNode");function mH(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(mH,"replaceEntitiesValue");function EH(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(EH,"getIgnoreAttributesFn");var dot={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:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function _s(t){if(this.options=Object.assign({},dot,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=EH(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Aot),this.processTextOrObjNode=hot,this.options.format?(this.indentate=pot,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(_s,"Builder");function fot(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(fot,"detectXmlVersionFromObj");function CH(t,e,r,n,i){return!r.sanitizeName||i(t)?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(CH,"resolveTagName");_s.prototype.build=function(t){if(this.options.preserveOrder)return gH(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Zc,r=fot(t,this.options),n=CT("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[0]==="?"?l:CH(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=CH(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=CH(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 hot(t,e,r,n,i){let s=this.extractAttributes(t);if(n.push(e,s),this.checkStopNode(n)){let l=this.buildRawContent(t),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(hot,"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){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let n=t[r];if(r===this.options.textNodeName)e+=n;else if(Array.isArray(n)){for(let i of n)if(typeof i=="string"||typeof i=="number")e+=`<${r}>${i}</${r}>`;else if(typeof i=="object"&&i!==null){let s=this.buildRawContent(i),a=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${s}</${r}>`}}else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}</${r}>`}else e+=`<${r}>${n}</${r}>`}return e};_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)+`<!--${uw(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=xT(t);return this.indentate(n)+`<![CDATA[${s}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let s=uw(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 pot(t){return this.options.indentBy.repeat(t)}o(pot,"indentate");function Aot(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(Aot,"isAttribute");var bH=_s;var Bme={validate:yT};function Nme(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(Nme,"getCommonOptions");function mot(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(mot,"getSerializerOptions");function got(t={}){return Object.assign(Object.assign({},Nme(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(got,"getParserOptions");function vT(t,e={}){let r=mot(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(vT,"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 $g(got(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 NT=Jc("storage-blob");var Rme=require("events");var _me=require("node:stream");var _T=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 TT=Tme.default.constants.MAX_LENGTH,RT=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/TT);for(let s=0;s<i;s++){let a=s===i-1?e%TT:TT;a===0&&(a=TT),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 _T(this.buffers,this.size)}};var DT=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 RT(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=W0()),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 QT(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(QT,"setURLHost");function kT(t){try{return new URL(t).pathname}catch{return}}o(kT,"getURLPath");function PT(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(PT,"getURLQueries");async function OT(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(OT,"delay");var dw=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 fw=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new dw(e,r)}};var Bp=class extends tl{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var hw=class extends Bp{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var xp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Er=class extends xp{static{o(this,"AnonymousCredential")}create(e,r){return new hw(e,r)}};var Dme=require("node:crypto");var yot=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]),Eot=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]),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,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 LT(t,e){return bot(t,e)?-1:1}o(LT,"compareHeader");function bot(t,e){let r=[yot,Eot,Cot],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(bot,"isLessThan");var pw=class extends Bp{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)=>LT(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=kT(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=PT(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 xp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new pw(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},wot=new fo("The operation was aborted."),Aw=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=QT(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`),OT(i,n,wot)}};var mw=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Aw(e,r,this.retryOptions)}};var Iot="storageBrowserPolicy";function Qme(){return{name:Iot,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 Sot="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:Sot,async sendRequest(e,r){return t(e),r(e)}}}o(kme,"storageCorrectContentLengthPolicy");var Bot="storageRetryPolicy",jg={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ea.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},xot=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],vot=new fo("The operation was aborted.");function Pme(t={}){let e=t.retryPolicyType??jg.retryPolicyType,r=t.maxTries??jg.maxTries,n=t.retryDelayInMs??jg.retryDelayInMs,i=t.maxRetryDelayInMs??jg.maxRetryDelayInMs,s=t.secondaryHost??jg.secondaryHost,a=t.tryTimeoutInMs??jg.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 xot)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:Bot,async sendRequest(u,d){a&&(u.url=Ef(u.url,Hu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let f=u.url,h=s?QT(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 OT(l(C,m),u.abortSignal,vot),m++}if(E)return E;throw y??new Uu("RetryPolicy failed without known error.")}}}o(Pme,"storageRetryPolicy");var Ome=require("node:crypto");var Not="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)=>LT(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=kT(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=PT(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:Not,async sendRequest(s,a){return e(s),a(s)}}}o(BH,"storageSharedKeyCredentialPolicy");var _ot="storageRequestFailureDetailsParserPolicy";function Lme(){return{name:_ot,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 FT=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 MT="12.31.0",UT="2026-02-06";var qT="https://storage.azure.com/.default",Vu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var ec="",xH="*",Tot=1*1024*1024;var Rot=4*Tot;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 gw=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 gw([],e);return r._credential=t,r}o(tn,"newPipeline");function Dot(t){let e=[Qot,$me,kot,Pot,Oot,Lot,Mot];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>Fot(i));return{wrappedPolicies:jG(r),afterRetry:n}}}}o(Dot,"processDownlevelPipeline");function vH(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?WG(e):SH(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${MT}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=Y0({...r,loggingOptions:{additionalAllowedHeaderNames:qme,additionalAllowedQueryParameters:Gme,logger:NT.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:vT,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:wH,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:IG}),i.addPolicy(kme()),i.addPolicy(Pme(r.retryOptions),{phase:"Retry"}),i.addPolicy(Lme()),i.addPolicy(Qme());let c=Dot(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=NH(t);ho(l)?i.addPolicy(Fg({credential:l,scopes:r.audience??qT,challengeCallbacks:{authorizeRequestOnChallenge:pT}}),{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 Qot(t){return t instanceof Er?!0:t.constructor.name==="AnonymousCredential"}o(Qot,"isAnonymousCredential");function kot(t){return ho(t.credential)}o(kot,"isCoreHttpBearerTokenFactory");function Pot(t){return t instanceof fw?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Pot,"isStorageBrowserPolicyFactory");function Oot(t){return t instanceof mw?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Oot,"isStorageRetryPolicyFactory");function Lot(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Lot,"isStorageTelemetryPolicyFactory");function Fot(t){return t.constructor.name==="InjectorPolicyFactory"}o(Fot,"isInjectorPolicyFactory");function Mot(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(Mot,"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:()=>Kot,AppendBlobAppendBlockExceptionHeaders:()=>WV,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>YV,AppendBlobAppendBlockFromUrlHeaders:()=>JV,AppendBlobAppendBlockHeaders:()=>jV,AppendBlobCreateExceptionHeaders:()=>$V,AppendBlobCreateHeaders:()=>zV,AppendBlobSealExceptionHeaders:()=>XV,AppendBlobSealHeaders:()=>KV,ArrowConfiguration:()=>dat,ArrowField:()=>fat,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:()=>HT,BlobFlatListSegment:()=>Xot,BlobGetAccountInfoExceptionHeaders:()=>bV,BlobGetAccountInfoHeaders:()=>CV,BlobGetPropertiesExceptionHeaders:()=>F4,BlobGetPropertiesHeaders:()=>L4,BlobGetTagsExceptionHeaders:()=>SV,BlobGetTagsHeaders:()=>IV,BlobHierarchyListSegment:()=>rat,BlobItemInternal:()=>Zot,BlobName:()=>eat,BlobPrefix:()=>nat,BlobPropertiesInternal:()=>tat,BlobQueryExceptionHeaders:()=>wV,BlobQueryHeaders:()=>zT,BlobReleaseLeaseExceptionHeaders:()=>iV,BlobReleaseLeaseHeaders:()=>nV,BlobRenewLeaseExceptionHeaders:()=>oV,BlobRenewLeaseHeaders:()=>sV,BlobServiceProperties:()=>yw,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:()=>VT,BlobStartCopyFromURLExceptionHeaders:()=>pV,BlobStartCopyFromURLHeaders:()=>hV,BlobTag:()=>Jot,BlobTags:()=>Cw,BlobUndeleteExceptionHeaders:()=>G4,BlobUndeleteHeaders:()=>q4,Block:()=>iat,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:()=>oat,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:()=>$ot,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:()=>Hot,DelimitedTextConfiguration:()=>lat,FilterBlobItem:()=>Wot,FilterBlobSegment:()=>Ew,GeoReplication:()=>zot,JsonTextConfiguration:()=>uat,KeyInfo:()=>RH,ListBlobsFlatSegmentResponse:()=>QH,ListBlobsHierarchySegmentResponse:()=>kH,ListContainersSegmentResponse:()=>TH,Logging:()=>Uot,Metrics:()=>Got,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:()=>GT,PageRange:()=>sat,QueryFormat:()=>cat,QueryRequest:()=>LH,QuerySerialization:()=>aat,RetentionPolicy:()=>qot,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:()=>Yot,StaticWebsite:()=>Vot,StorageError:()=>te,UserDelegationKey:()=>DH});var yw={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"}}}}},Uot={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"}}}}},qot={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"}}}}},Got={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"}}}}},Hot={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"}}}}},Vot={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"}}}}},zot={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"}}}}},$ot={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"}}}}},Ew={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"}}}}},Wot={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"}}}}},Cw={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"}}}}}}},Jot={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"}}}}},Yot={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"}}}}},Kot={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"}}}}},Xot={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"}}}}}}},Zot={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"}}}}},eat={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"}}}}},tat={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"}}}}},rat={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"}}}}}}},nat={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"}}}}}}},iat={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"}}}}},GT={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"}}}}},sat={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"}}}}},oat={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"}}}}},aat={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},cat={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"}}}}}}},lat={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"}}}}},uat={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},dat={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"}}}}}}},fat={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"}}}}},HT={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"}}}}},VT={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"}}}}},zT={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:yw},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},bw={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"}}},ww={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Iw={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"}}},Wg={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},$T={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},jT={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"}}},WT={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},JT={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YT={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"}}},KT={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"}}}}},XT={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"}}},ZT={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},eR={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},tR={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},rR={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"}}},nR={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},iR={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},sR={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},oR={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},aR={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"}}},vp={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"}}},cR={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Np={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"}}},lR={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:Cw},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"}}},_p={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Tp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Rp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},uR={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"}}},dR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},fR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},hR={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"}}},Jg={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"}}},Yg={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"}}},pR={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},AR={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 mR=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},hat)}getProperties(e){return this.client.sendOperationRequest({options:e},pat)}getStatistics(e){return this.client.sendOperationRequest({options:e},Aat)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},mat)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},gat)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},yat)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Eat)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Cat)}},wf=po(go,!0),hat={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:FH},default:{bodyMapper:te,headersMapper:MH}},requestBody:Kme,queryParameters:[bw,ra,ie],urlParameters:[ne],headerParameters:[rl,ta,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},pat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yw,headersMapper:UH},default:{bodyMapper:te,headersMapper:qH}},queryParameters:[bw,ra,ie],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},Aat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_H,headersMapper:GH},default:{bodyMapper:te,headersMapper:HH}},queryParameters:[bw,ie,Xme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},mat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:TH,headersMapper:VH},default:{bodyMapper:te,headersMapper:zH}},queryParameters:[ie,ww,Iw,nl,il,Zme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},gat={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:DH,headersMapper:$H},default:{bodyMapper:te,headersMapper:jH}},requestBody:ege,queryParameters:[bw,ie,tge],urlParameters:[ne],headerParameters:[rl,ta,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},yat={path:"/",httpMethod:"GET",responses:{200:{headersMapper:WH},default:{bodyMapper:te,headersMapper:JH}},queryParameters:[ra,ie,Wg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf},Eat={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:YH},default:{bodyMapper:te,headersMapper:KH}},requestBody:$T,queryParameters:[ie,jT],urlParameters:[ne],headerParameters:[ta,se,oe,zn,WT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wf},Cat={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ew,headersMapper:XH},default:{bodyMapper:te,headersMapper:ZH}},queryParameters:[ie,nl,il,JT,YT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:wf};var gR=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},bat)}getProperties(e){return this.client.sendOperationRequest({options:e},wat)}delete(e){return this.client.sendOperationRequest({options:e},Iat)}setMetadata(e){return this.client.sendOperationRequest({options:e},Sat)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Bat)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},xat)}restore(e){return this.client.sendOperationRequest({options:e},vat)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Nat)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},_at)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Tat)}acquireLease(e){return this.client.sendOperationRequest({options:e},Rat)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Dat)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Qat)}breakLease(e){return this.client.sendOperationRequest({options:e},kat)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Pat)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Oat)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Lat)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Fat)}},jn=po(go,!0),bat={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},wat={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},Iat={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},Sat={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:o4},default:{bodyMapper:te,headersMapper:a4}},queryParameters:[ie,$n,KT],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je],isXML:!0,serializer:jn},Bat={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},xat={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},vat={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:f4},default:{bodyMapper:te,headersMapper:h4}},queryParameters:[ie,$n,XT],urlParameters:[ne],headerParameters:[se,oe,ye,sge,oge],isXML:!0,serializer:jn},Nat={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},_at={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:m4},default:{bodyMapper:te,headersMapper:g4}},requestBody:$T,queryParameters:[ie,jT,$n],urlParameters:[ne],headerParameters:[ta,se,oe,zn,WT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},Tat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Ew,headersMapper:y4},default:{bodyMapper:te,headersMapper:E4}},queryParameters:[ie,nl,il,JT,YT,$n],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Rat={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,ZT,eR,tR],isXML:!0,serializer:jn},Dat={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,rR,bf],isXML:!0,serializer:jn},Qat={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,nR],isXML:!0,serializer:jn},kat={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,iR,sR],isXML:!0,serializer:jn},Pat={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,oR,aR],isXML:!0,serializer:jn},Oat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:QH,headersMapper:T4},default:{bodyMapper:te,headersMapper:R4}},queryParameters:[ie,ww,Iw,nl,il,$n,h5,p5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Lat={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:kH,headersMapper:D4},default:{bodyMapper:te,headersMapper:Q4}},queryParameters:[ie,ww,Iw,nl,il,$n,h5,p5,uge],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Fat={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:k4},default:{bodyMapper:te,headersMapper:P4}},queryParameters:[ra,ie,Wg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn};var yR=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Mat)}getProperties(e){return this.client.sendOperationRequest({options:e},Uat)}delete(e){return this.client.sendOperationRequest({options:e},qat)}undelete(e){return this.client.sendOperationRequest({options:e},Gat)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},Hat)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Vat)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},zat)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},$at)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},jat)}setMetadata(e){return this.client.sendOperationRequest({options:e},Wat)}acquireLease(e){return this.client.sendOperationRequest({options:e},Jat)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Yat)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Kat)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Xat)}breakLease(e){return this.client.sendOperationRequest({options:e},Zat)}createSnapshot(e){return this.client.sendOperationRequest({options:e},ect)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},tct)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},rct)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},nct)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},ict)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},sct)}query(e){return this.client.sendOperationRequest({options:e},oct)}getTags(e){return this.client.sendOperationRequest({options:e},act)}setTags(e){return this.client.sendOperationRequest({options:e},cct)}},Cr=po(go,!0),Mat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:HT},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:HT},default:{bodyMapper:te,headersMapper:O4}},queryParameters:[ie,Zi,sl],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,vp,dge,fge,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,serializer:Cr},Uat={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},qat={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},Gat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:q4},default:{bodyMapper:te,headersMapper:G4}},queryParameters:[ie,XT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},Hat={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},Vat={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},zat={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},$at={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},Wat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Z4},default:{bodyMapper:te,headersMapper:eV}},queryParameters:[ie,KT],urlParameters:[ne],headerParameters:[se,oe,ye,_i,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En],isXML:!0,serializer:Cr},Jat={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,ZT,eR,tR,Nt,_t,dt],isXML:!0,serializer:Cr},Yat={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,rR,bf,Nt,_t,dt],isXML:!0,serializer:Cr},Kat={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,nR,Nt,_t,dt],isXML:!0,serializer:Cr},Xat={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,oR,aR,Nt,_t,dt],isXML:!0,serializer:Cr},Zat={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,iR,sR,Nt,_t,dt],isXML:!0,serializer:Cr},ect={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},tct={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,cR,Np,nc,bge,ml],isXML:!0,serializer:Cr},rct={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,Np,nc,ml,wge,ju,Wu,lR,Ju],isXML:!0,serializer:Cr},nct={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},ict={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VT},202:{headersMapper:VT},default:{bodyMapper:te,headersMapper:EV}},queryParameters:[ie,Zi,sl,xge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt,m5,vge],isXML:!0,serializer:Cr},sct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:CV},default:{bodyMapper:te,headersMapper:bV}},queryParameters:[ra,ie,Wg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},oct={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zT},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zT},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},act={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Cw,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},cct={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 ER=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},lct)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},uct)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},dct)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},fct)}getPageRanges(e){return this.client.sendOperationRequest({options:e},hct)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},pct)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},Act)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},mct)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},gct)}},Yu=po(go,!0),lct={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},uct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_V},default:{bodyMapper:te,headersMapper:TV}},requestBody:Tp,queryParameters:[ie,uR],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,vp,Lr,Fr,Mr,Nt,_t,dt,En,ia,gl,_p,Rp,S5,dR,fR,hR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Yu},dct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RV},default:{bodyMapper:te,headersMapper:DV}},queryParameters:[ie,uR],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,vp,Lr,Fr,Mr,Nt,_t,dt,En,dR,fR,hR,Dge],isXML:!0,serializer:Yu},fct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QV},default:{bodyMapper:te,headersMapper:kV}},queryParameters:[ie,uR],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,dR,fR,hR,Jg,Qge,Yg,kge],isXML:!0,serializer:Yu},hct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:GT,headersMapper:PV},default:{bodyMapper:te,headersMapper:OV}},queryParameters:[ie,nl,il,Zi,B5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,vp,Nt,_t,dt],isXML:!0,serializer:Yu},pct={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:GT,headersMapper:LV},default:{bodyMapper:te,headersMapper:FV}},queryParameters:[ie,nl,il,Zi,B5,Pge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,vp,Nt,_t,dt,Oge],isXML:!0,serializer:Yu},Act={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},mct={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},gct={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,Np],isXML:!0,serializer:Yu};var CR=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},yct)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Ect)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},Cct)}seal(e){return this.client.sendOperationRequest({options:e},bct)}},bR=po(go,!0),yct={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:bR},Ect={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jV},default:{bodyMapper:te,headersMapper:WV}},requestBody:Tp,queryParameters:[ie,x5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,ia,gl,_p,Rp,v5,pR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bR},Cct={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,Jg,Yg,v5,pR,AR],isXML:!0,serializer:bR},bct={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,pR],isXML:!0,serializer:bR};var wR=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},wct)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},Ict)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},Sct)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},Bct)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},xct)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},vct)}},Xg=po(go,!0),wct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZV},default:{bodyMapper:te,headersMapper:e5}},requestBody:Tp,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,_p,Rp,N5],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Xg},Ict={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,cR,Np,nc,ju,Wu,lR,Ju,ia,N5,qge],isXML:!0,serializer:Xg},Sct={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:n5},default:{bodyMapper:te,headersMapper:i5}},requestBody:Tp,queryParameters:[ie,_5,T5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Lr,Fr,Mr,En,ia,gl,_p,Rp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Xg},Bct={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,Jg,Yg,AR],isXML:!0,serializer:Xg},xct={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:Xg},vct={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:Xg};var Sw=class extends tw{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 mR(this),this.container=new gR(this),this.blob=new yR(this),this.pageBlob=new ER(this),this.appendBlob=new CR(this),this.blockBlob=new wR(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Bw=class extends Sw{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=_ct(r),e.pathname=r,e.toString()}o(zge,"escapeURLPath");function Nct(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(Nct,"getProxyUriFromDevConnString");function Dp(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Dp,"getValueInConnString");function Qp(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Nct(t),t=Ume);let r=Dp(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=Dp(t,"AccountName"),s=Buffer.from(Dp(t,"AccountKey"),"base64"),!r){n=Dp(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=Dp(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=Dp(t,"SharedAccessSignature"),i=Dp(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(Qp,"extractConnectionStringParts");function _ct(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(_ct,"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 Zg(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(Zg,"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 xw(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(xw,"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 Tct(t){return Lt?Buffer.from(t).toString("base64"):btoa(t)}o(Tct,"base64encode");function Q5(t,e){t.length>42&&(t=t.slice(0,42));let s=t+Rct(e.toString(),48-t.length,"0");return Tct(s)}o(Q5,"generateBlockID");function Rct(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(Rct,"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]:IR(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(P5,"getAccountNameFromUrl");function IR(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(IR,"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 SR(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(SR,"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 BR(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(BR,"parseObjectReplicationRecord");function ey(t){return t?t.scheme+" "+t.value:void 0}o(ey,"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 ty=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 Bw(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=j0({packageName:"@azure/storage-blob",packageVersion:MT,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 vw(t,e,r){return Nw(t,e,r).sasQueryParameters}o(vw,"generateBlobSASQueryParameters");function Nw(t,e,r){let n=t.version?t.version:UT,i=e instanceof Or?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new FT(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?kct(t,i):n>="2025-07-05"?Fct(t,s):Lct(t,s);if(n>="2018-11-09")return i!==void 0?Qct(t,i):n>="2020-02-10"?Oct(t,s):Pct(t,s);if(n>="2015-04-05"){if(i!==void 0)return Dct(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(Nw,"generateBlobSASQueryParametersInternal");function Dct(t,e){if(t=Pp(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):"",kp(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(Dct,"generateBlobSASQueryParameters20150405");function Qct(t,e){if(t=Pp(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):"",kp(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(Qct,"generateBlobSASQueryParameters20181109");function kct(t,e){if(t=Pp(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):"",kp(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(kct,"generateBlobSASQueryParameters20201206");function Pct(t,e){if(t=Pp(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):"",kp(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(Pct,"generateBlobSASQueryParametersUDK20181109");function Oct(t,e){if(t=Pp(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):"",kp(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(Oct,"generateBlobSASQueryParametersUDK20200210");function Lct(t,e){if(t=Pp(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):"",kp(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(Lct,"generateBlobSASQueryParametersUDK20201206");function Fct(t,e){if(t=Pp(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):"",kp(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(Fct,"generateBlobSASQueryParametersUDK20250705");function kp(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(kp,"getCanonicalName");function Pp(t){let e=t.version?t.version:UT;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(Pp,"SASSignatureValuesSanityCheckAndAutofill");var _w=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=Og()),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 xR=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 vR=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 xR(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}},Op;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Op||(Op={}));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 Op.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 Op.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 Op.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new G5(t.fromSchema(e.values));case Op.ARRAY:case Op.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 Tw=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 Rw=class{static{o(this,"AvroReadable")}};var eye=require("buffer");var Zge=new fo("Reading from the avro stream was aborted."),Dw=class extends Rw{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 NR=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 Tw(new Dw(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 _R=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 NR(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 TR(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(TR,"rangeResponseFromModel");var Uye=N(Mye(),1);var UR=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=Ow({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return z0(this.intervalInMs)}},Plt=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Ow(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Ow(r)):(r.isCancelled=!0,Ow(r))},"cancel"),Olt=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 Ow(r)},"update"),Llt=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Ow(t){return{state:{...t},cancel:Plt,toString:Llt,update:Olt}}o(Ow,"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 Lw;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Lw||(Lw={}));var Fw=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=Lw.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=Lw.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Lw.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 qR=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=qR.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(qR.default.stat),$ye=qR.default.createReadStream;var oc=class t extends ty{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=Qp(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(Zg(this.url,Vu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Zg(this.url,Vu.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new HR(this.url,this.pipeline)}getBlockBlobClient(){return new iy(this.url,this.pipeline)}getPageBlobClient(){return new VR(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:BR(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 vR(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:BR(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:SR({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new _w(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 UR({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:ey(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 Fw(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(IR(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=vw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(xw(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 Nw({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=vw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(xw(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Nw({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})))}},HR=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=Qp(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(Zg(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:ey(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},iy=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=Qp(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(Zg(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 _R(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:ey(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:ey(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=Og(),d=0,f=new Fw(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=Og(),l=0,u=[];return await new DT(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}))})}},VR=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=Qp(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(Zg(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:ey(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 TR(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 TR(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 TR(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 zR=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var sy=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"}};sy.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Mp=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"}};Mp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Mw=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Wlt=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 Wlt(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 zR(`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 $R=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 jR(t){return t?t>=200&&t<300:!1}o(jR,"isSuccessStatusCode");function Jlt(t){return t?t>=500:!0}o(Jlt,"isServerErrorStatusCode");function Ylt(t){return t?[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout].includes(t):!1}o(Ylt,"isRetryableStatusCode");function Klt(t){return $R(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Klt,"sleep");function Yye(t,e,r){return $R(this,arguments,void 0,function*(n,i,s,a=p_,c=A_,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),!Jlt(h)))return f;if(h&&(p=Ylt(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 Klt(c),d++}throw Error(`${n} failed: ${u}`)})}o(Yye,"retry");function Uw(t,e){return $R(this,arguments,void 0,function*(r,n,i=p_,s=A_){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(Uw,"retryTypedResponse");function oy(t,e){return $R(this,arguments,void 0,function*(r,n,i=p_,s=A_){return yield Yye(r,n,a=>a.message.statusCode,i,s)})}o(oy,"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 Xlt(t,e){return sa(this,void 0,void 0,function*(){yield Zye.promisify(Xye.pipeline)(t.message,e)})}o(Xlt,"pipeResponseToStream");var WR=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 JR(t,e){return sa(this,void 0,void 0,function*(){let r=Cl.createWriteStream(e),n=new Mu("actions/cache"),i=yield oy("downloadCache",()=>sa(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(D3,()=>{i.message.destroy(),D(`Aborting download, socket timed out after ${D3} ms`)}),yield Xlt(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(JR,"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 oy("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 Zlt(s,t,C,w)}),"promiseGetter")})}u.reverse();let f=0,h=0,p=new WR(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 Zlt(t,e,r,n){return sa(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield rEe(3e4,eut(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(Zlt,"downloadSegmentRetry");function eut(t,e,r,n){return sa(this,void 0,void 0,function*(){let i=yield oy("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(eut,"downloadSegment");function tEe(t,e,r){return sa(this,void 0,void 0,function*(){var n;let i=new iy(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 JR(t,e);else{let c=Math.min(134217728,Kye.constants.MAX_LENGTH),l=new WR(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 qw(){return Ez()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(qw,"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 YR(){let t=qw();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(YR,"getCacheServiceURL");var uEe=N(lEe(),1);function KR(){return`@actions/cache-${uEe.version}`}o(KR,"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 Gw(t){let e=YR();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(Gw,"getCacheApiUrl");function nut(t,e){return`${t};api-version=${e}`}o(nut,"createAcceptHeader");function iut(){return{headers:{Accept:nut("application/json","6.0-preview.1")}}}o(iut,"getRequestOptions");function bz(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new Ng(t);return new Mu(KR(),[e],iut())}o(bz,"createHttpClient");function hEe(t,e,r){return Rs(this,void 0,void 0,function*(){var n;let i=bz(),s=vg(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,c=yield Uw("getCacheEntry",()=>Rs(this,void 0,void 0,function*(){return i.getJson(Gw(a))}));if(c.statusCode===204)return sp()&&(yield sut(t[0],i,s)),null;if(!jR(c.statusCode)){let d=(n=c.error)===null||n===void 0?void 0:n.message;throw d?.includes(m_)?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 sut(t,e,r){return Rs(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield Uw("listCache",()=>Rs(this,void 0,void 0,function*(){return e.getJson(Gw(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(sut,"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 JR(t,e):yield JR(t,e)})}o(wz,"downloadCache");function pEe(t,e,r){return Rs(this,void 0,void 0,function*(){let n=bz(),i=vg(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield Uw("reserveCache",()=>Rs(this,void 0,void 0,function*(){return n.postJson(Gw("caches"),s)}))})}o(pEe,"reserveCache");function dEe(t,e){return`bytes ${t}-${e}/*`}o(dEe,"getContentRange");function out(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 oy(`uploadChunk (start: ${n}, end: ${i})`,()=>Rs(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!jR(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(out,"uploadChunk");function aut(t,e,r,n){return Rs(this,void 0,void 0,function*(){let i=Vc(r),s=Gw(`caches/${e.toString()}`),a=ay.openSync(r,"r"),c=yz(n),l=O3("uploadConcurrency",c.uploadConcurrency),u=O3("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 out(t,s,()=>ay.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{ay.closeSync(a)}})}o(aut,"uploadFile");function cut(t,e,r){return Rs(this,void 0,void 0,function*(){let n={size:r};return yield Uw("commitCache",()=>Rs(this,void 0,void 0,function*(){return t.postJson(Gw(`caches/${e.toString()}`),n)}))})}o(cut,"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 aut(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 cut(s,t,a);if(!jR(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),Vp=N(nn(),1),zp=N(nn(),1),$p=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}},O2=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(()=>O2,"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(O2.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++)O2.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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 $p.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,zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Vp.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$,PCr=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 L2=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 F2=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=YR(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Mu(e,[new Ng(s)])}request(e,r,n,i){return F2(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(()=>F2(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 F2(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(Mp.isUsageErrorMessage(u.msg))throw new Mp;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 Mw(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&D(`Raw Body: ${i}`),c instanceof Mp||c instanceof Mw)throw c;if(sy.isNetworkErrorCode(c?.code))throw new sy(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 F2(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$(KR(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new L2(e)}o(Q$,"internalCacheTwirpClient");var M2=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 yft(){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,M2.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(yft,"getTarPath");function Eft(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",k3);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(Eft,"getTarArgs");function k$(t,e){return Zu(this,arguments,void 0,function*(r,n,i=""){let s,a=yield yft(),c=yield Eft(a,r,n,i),l=n!=="create"?yield Cft(a,r,i):yield bft(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 Cft(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",k0,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",k0,r.replace(new RegExp(`\\${Co.sep}`,"g"),"/")]:["--use-compress-program",Nf?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(Cft,"getDecompressionProgram");function bft(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"),"/"),k0]:["--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"),"/"),k0]:["--use-compress-program",Nf?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(bft,"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 nI(t,e){return Zu(this,void 0,void 0,function*(){let r=yield k$(e,"list",t);yield P$(r)})}o(nI,"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,M2.writeFileSync)(Co.join(t,k3),e.join(`
|
|
`));let n=yield k$(r,"create");yield P$(n,t)})}o(L$,"createTar");var Iy=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)}},jp=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},F$="cache write denied:",U2=class t extends jp{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},fCe=m_,q2=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},G2=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 qw()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(U$,"isFeatureAvailable");function pCe(t,e,r,n){return Iy(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=qw();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 Ift(i,s,a,c,l):yield wft(i,s,a,c,l)})}o(pCe,"restoreCache");function wft(t,e,r,n){return Iy(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 L0(),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 q2(E):g}if(!p?.archiveLocation)return;if(c?.lookupOnly)return O("Lookup only - skipping download"),p.cacheKey;h=iI.join(yield P0(),ff(f)),D(`Archive Path: ${h}`),yield wz(p.archiveLocation,h,c),sp()&&(yield nI(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?mg(`Failed to restore: ${p.message}`):ut(`Failed to restore: ${p.message}`)}finally{try{yield O0(h)}catch(p){D(`Failed to delete archive: ${p}`)}}})}o(wft,"restoreCacheV1");function Ift(t,e,r,n){return Iy(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 L0(),m={key:s,restoreKeys:a,version:vg(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 q2(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=iI.join(yield P0(),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 nI(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?mg(`Failed to restore: ${h.message}`):ut(`Failed to restore: ${h.message}`)}finally{try{f&&(yield O0(f))}catch(h){D(`Failed to delete archive: ${h}`)}}})}o(Ift,"restoreCacheV2");function q$(t,e,r){return Iy(this,arguments,void 0,function*(n,i,s,a=!1){let c=qw();D(`Cache service version: ${c}`),hCe(n),M$(i);let l=Cz();return oEe(l)?c==="v2"?yield Bft(n,i,s,a):yield Sft(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 Sft(t,e,r){return Iy(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,d,f,h;let p=yield L0(),m=-1,g=yield P3(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 P0(),y=iI.join(E,ff(p));D(`Archive Path: ${y}`);try{yield L$(E,g,p),sp()&&(yield nI(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 U2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new jp(`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===jp.name?O(`Failed to save: ${w.message}`):w instanceof zc&&typeof w.statusCode=="number"&&w.statusCode>=500?mg(`Failed to save: ${w.message}`):ut(`Failed to save: ${w.message}`)}finally{try{yield O0(y)}catch(C){D(`Failed to delete archive: ${C}`)}}return m})}o(Sft,"saveCacheV1");function Bft(t,e,r){return Iy(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 L0(),u=Q$(),d=-1,f=yield P3(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 P0(),p=iI.join(h,ff(l));D(`Archive Path: ${p}`);try{yield L$(h,f,l),sp()&&(yield nI(p,l));let m=Vc(p);D(`File Size: ${m}`),s.archiveSizeBytes=m,D("Reserving Cache");let g=vg(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 U2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new jp(`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 G2(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===jp.name?O(`Failed to save: ${g.message}`):g.name===G2.name?ut(g.message):g instanceof zc&&typeof g.statusCode=="number"&&g.statusCode>=500?mg(`Failed to save: ${g.message}`):ut(`Failed to save: ${g.message}`)}finally{try{yield O0(p)}catch(m){D(`Failed to delete archive: ${m}`)}}return d})}o(Bft,"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),sI.default.existsSync(this.cacheDir)||sI.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`),!sI.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}`),sI.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){kN(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 tD=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),vI=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(" ")}`),pg(e,r,n)}};var d8=N(require("crypto"),1),_Ie=N(require("fs"),1),xI=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 BI=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var qD=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(BI(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 Fy=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=qD(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(!BI(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(!BI(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}=Fy({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(i=>{let s=[],a=GD({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=Jyt(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"),Jyt=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"),Yyt=13,Kyt=10,My={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},GD=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=Fy(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 My)if(My[z].compare(ae,0,My[z].length)===0){let Ie=My[z].length;this.state.bufBytesStart+=Ie,ae=ae.slice(Ie);let Be=Fy({...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===Yyt||z===Kyt)&&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(My).map(hn=>My[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=qD(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=GD(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=xI.default.resolve(e);return xI.default.resolve(r).startsWith(n.endsWith(xI.default.sep)?n:`${n}${xI.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||vI.default.join(RIe.default.homedir(),".docker")}static configFile(){let e=vI.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:vI.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=vI.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 HD=require("fs"),kIe=require("os");var Uy=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,HD.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,HD.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 uEt=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 dEt(t){return new m8.HttpClient().getAgentDispatcher(t)}o(dEt,"getProxyAgentDispatcher");function HIe(t){let e=dEt(t);return o((n,i)=>uEt(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 YD(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)=>YD.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(YD,"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 hEt(){let t=Symbol("Singular"),e={registry:{}},r=YD.bind(null,e,t);return JIe(r,e,t),r}o(hEt,"Singular");function pEt(){let t={registry:{}},e=YD.bind(null,t);return JIe(e,t),e}o(pEt,"Collection");var YIe={Singular:hEt,Collection:pEt};var AEt="0.0.0-development",mEt=`octokit-endpoint.js/${AEt} ${Df()}`,gEt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":mEt},mediaType:{format:""}};function yEt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(yEt,"lowercaseKeys");function EEt(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(EEt,"isPlainObject");function ZIe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{EEt(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=yEt(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 CEt(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(CEt,"addQueryParameters");var bEt=/\{[^{}}]+\}/g;function wEt(t){return t.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}o(wEt,"removeNonChars");function IEt(t){let e=t.match(bEt);return e?e.map(wEt).reduce((r,n)=>r.concat(n),[]):[]}o(IEt,"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 Gy(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(Gy,"encodeUnreserved");function _I(t,e,r){return e=t==="+"||t==="#"?eSe(e):Gy(e),r?Gy(r)+"="+e:e}o(_I,"encodeValue");function qy(t){return t!=null}o(qy,"isDefined");function y8(t){return t===";"||t==="&"||t==="?"}o(y8,"isKeyOperator");function SEt(t,e,r,n){var i=t[r],s=[];if(qy(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(_I(e,i,y8(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(qy).forEach(function(a){s.push(_I(e,a,y8(e)?r:""))}):Object.keys(i).forEach(function(a){qy(i[a])&&s.push(_I(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(qy).forEach(function(c){a.push(_I(e,c))}):Object.keys(i).forEach(function(c){qy(i[c])&&(a.push(Gy(c)),a.push(_I(e,i[c].toString())))}),y8(e)?s.push(Gy(r)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else e===";"?qy(i)&&s.push(Gy(r)):i===""&&(e==="&"||e==="?")?s.push(Gy(r)+"="):i===""&&s.push("");return s}o(SEt,"getValues");function BEt(t){return{expand:xEt.bind(null,t)}}o(BEt,"parseUrl");function xEt(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(SEt(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(xEt,"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=IEt(r);r=BEt(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=CEt(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 vEt(t,e,r){return tSe(E8(t,e,r))}o(vEt,"endpointWithDefaults");function rSe(t,e){let r=E8(t,e),n=vEt.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,gEt);var mSe=N(aSe(),1);var NEt=/^-?\d+$/,uSe=/^-?\d+n+$/,C8=JSON.stringify,cSe=JSON.parse,_Et=/^-?\d+n$/,TEt=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,REt=/([\[:])?("-?\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(TEt,"$1$2$3").replace(REt,"$1$2$3"):C8(t,e,r),"JSONStringify"),DEt=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),QEt=o((t,e,r,n)=>typeof e=="string"&&e.match(_Et)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(uSe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),kEt=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&&NEt.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,PEt=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g,OEt=/^"-?\d+n+"$/,hSe=o((t,e)=>{if(!t)return cSe(t,e);if(DEt())return kEt(t,e);let r=t.replace(PEt,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(OEt))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)=>QEt(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 LEt="10.0.8",FEt={headers:{"user-agent":`octokit-request.js/${LEt} ${Df()}`}};function MEt(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(MEt,"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=MEt(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(qEt(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(UEt(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 UEt(t){return t.type==="application/json"||t.type==="application/scim+json"}o(UEt,"isJSONResponse");function qEt(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(qEt,"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 RI=w8(nSe,FEt);var GEt="0.0.0-development";function HEt(t){return`Request failed due to following response errors:
|
|
`+t.errors.map(e=>` - ${e.message}`).join(`
|
|
`)}o(HEt,"_buildMessageForResponseErrors");var VEt=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(HEt(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},zEt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],$Et=["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($Et.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)=>zEt.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 VEt(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 USr=I8(RI,{headers:{"user-agent":`octokit-graphql.js/${GEt} ${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}$`),WEt=CSe.test.bind(CSe);async function JEt(t){let e=WEt(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(JEt,"auth");function YEt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(YEt,"withAuthorizationPrefix");async function KEt(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=YEt(t),e(i)}o(KEt,"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(JEt.bind(null,e),{hook:KEt.bind(null,e)})},"createTokenAuth2");var B8="7.0.6";var wSe=o(()=>{},"noop"),XEt=console.warn.bind(console),ZEt=console.error.bind(console);function eCt(t={}){return typeof t.debug!="function"&&(t.debug=wSe),typeof t.info!="function"&&(t.info=wSe),typeof t.warn!="function"&&(t.warn=XEt),typeof t.error!="function"&&(t.error=ZEt),t}o(eCt,"createLogger");var ISe=`octokit-core.js/${B8} ${Df()}`,Hy=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:RI.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=RI.defaults(n),this.graphql=ySe(this.request).defaults(n),this.log=eCt(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 tCt={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=tCt;var rA=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);rA.has(t)||rA.set(t,new Map),rA.get(t).set(r,{scope:t,methodName:r,endpointDefaults:u,decorations:a})}var rCt={has({scope:t},e){return rA.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[...rA.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=rA.get(e).get(n);if(!i)return;let{endpointDefaults:s,decorations:a}=i;return a?r[n]=nCt(t,e,n,s,a):r[n]=t.request.defaults(s),r[n]}};function v8(t){let e={};for(let r of rA.keys())e[r]=new Proxy({octokit:t,scope:r,cache:{}},rCt);return e}o(v8,"endpointsToMethods");function nCt(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(nCt,"decorate");function DI(t){return{rest:v8(t)}}o(DI,"restEndpointMethods");DI.VERSION=x8;function iCt(t){let e=v8(t);return{...e,rest:e}}o(iCt,"legacyRestEndpointMethods");iCt.VERSION=x8;var sCt="0.0.0-development";function oCt(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(oCt,"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=oCt(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 fBr=Object.assign(BSe,{iterator:N8});function QI(t){return{paginate:Object.assign(BSe.bind(null,t),{iterator:N8.bind(null,t)})}}o(QI,"paginateRest");QI.VERSION=sCt;var yBr=new Uy,_8=VIe(),aCt={baseUrl:_8,request:{agent:GIe(_8),fetch:HIe(_8)}},vSe=Hy.plugin(DI,QI).defaults(aCt);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 Uy;function eQ(t,e,...r){let n=vSe.plugin(...r);return new n(NSe(t,e))}o(eQ,"getOctokit");var PI=N(require("http"),1),k8=N(require("https"),1);function R8(t){let e=t.protocol==="https:";if(cCt(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 tQ(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new tQ(`http://${r}`)}else return}o(R8,"getProxyUrl");function cCt(t){if(!t.hostname)return!1;let e=t.hostname;if(lCt(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(cCt,"checkBypass");function lCt(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(lCt,"isLoopbackAddress");var tQ=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(Am(),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 dCt=[Ps.MovedPermanently,Ps.ResourceMoved,Ps.SeeOther,Ps.TemporaryRedirect,Ps.PermanentRedirect],fCt=[Ps.BadGateway,Ps.ServiceUnavailable,Ps.GatewayTimeout],hCt=["OPTIONS","GET","DELETE","HEAD"],pCt=10,ACt=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 rQ=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&&hCt.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&&dCt.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||!fCt.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:PI;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({},kI(this.requestOptions.headers),kI(e||{})):kI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=kI(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=kI(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||PI.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 PI.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(pCt,e);let r=ACt*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)}))})}},kI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var DSe=require("stream/consumers");var nA=class extends Error{static{o(this,"InvalidTokenError")}};nA.prototype.name="InvalidTokenError";function mCt(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(mCt,"b64DecodeUnicode");function gCt(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 mCt(e)}catch{return atob(e)}}o(gCt,"base64UrlDecode");function nQ(t,e){if(typeof t!="string")throw new nA("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 nA(`Invalid token specified: missing part #${r+1}`);let i;try{i=gCt(n)}catch(s){throw new nA(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new nA(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(nQ,"jwtDecode");var iQ=[1e3,3e3],yCt=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=eQ(`${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<=iQ.length;c++)try{let u=await new rQ("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===iQ.length)throw a;O(`${a.message}. Retrying (${c+1}/${iQ.length})...`),await new Promise(u=>setTimeout(u,iQ[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&&yCt.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?nQ(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 tD.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 sQ=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 OI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(OI,"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 LI(t,e,r){let n=new F8(t,e,r);process.stdout.write(n.toString()+OSe.EOL)}o(LI,"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}=${CCt(i)}`)}}return e+=`${PSe}${ECt(this.message)}`,e}};function ECt(t){return OI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(ECt,"escapeData");function CCt(t){return OI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(CCt,"escapeProperty");var USe=N(require("os"),1);var FSe=require("os"),FI=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:bCt,appendFile:wCt,writeFile:ICt}=FI.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 bCt(e,FI.constants.R_OK|FI.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?ICt:wCt)(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()}},ixr=new U8;var q8=N(require("os"),1);var lxr=q8.default.platform(),uxr=q8.default.arch();var MSe;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(MSe||(MSe={}));function oQ(t){LI("add-mask",{},t)}o(oQ,"setSecret");function Ze(t){LI("debug",{},t)}o(Ze,"debug");function MI(t,e={}){LI("error",L8(e),t instanceof Error?t.toString():t)}o(MI,"error");function gi(t,e={}){LI("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 iA(){return 8*1024*1024}o(iA,"getUploadChunkSize");function aQ(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(aQ,"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 Vy(){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(Vy,"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),Zy=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=Zy.PbLong.from(Math.floor(r/1e3)).toString(),e.nanos=r%1e3*1e6,e}toDate(e){return new Date(Zy.PbLong.from(e.seconds).toNumber()*1e3+Math.ceil(e.nanos/1e6))}fromDate(e){let r=this.create(),n=e.getTime();return r.seconds=Zy.PbLong.from(Math.floor(n/1e3)).toString(),r.nanos=n%1e3*1e6,r}internalJsonWrite(e,r){let n=Zy.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=Zy.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 XI=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}},Pvr=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}},Ovr=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(XI.ScalarType.INT64,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,XI.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}},eE=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(XI.ScalarType.UINT64,e.value,"value",!1,!0)}internalJsonRead(e,r,n){return n||(n=this.create()),n.value=this.refJsonReader.scalar(e,XI.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}},Lvr=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}},Fvr=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}},Mvr=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}},Uvr=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}},qvr=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(()=>eE,"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=eE.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&&eE.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,bNr=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 $Q=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=D0t();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 D0t(){let t=process.env.GITHUB_RETENTION_DAYS;if(!t)return;let e=parseInt(t);if(!isNaN(e))return e}o(D0t,"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 cE=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 lA=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"}};lA.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var jQ=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function Ml(){let t=aQ(),e=nQ(t);if(!e.scp)throw jQ;let r=e.scp.split(" ");if(r.length===0)throw jQ;for(let n of r){let i=n.split(":");if(i?.[0]!=="Actions.Results")continue;if(i.length!==3)throw jQ;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 jQ}o(Ml,"getBackendIdsFromToken");function zBe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(oQ(r),oQ(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 WQ=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=aQ();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 WQ(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(()=>WQ(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 WQ(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(lA.isUsageErrorMessage(u.msg))throw new lA;n=`${n}: ${u.msg}`}}catch(c){if(c instanceof SyntaxError&&Ze(`Raw Body: ${i}`),c instanceof lA)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 WQ(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 $Q(e)}o(Ul,"internalArtifactTwirpClient");var uE=N(require("fs"),1);var lE=require("path");function jBe(t){if(!uE.existsSync(t))throw new Error(`The provided rootDirectory ${t} does not exist`);if(!uE.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,lE.normalize)(e),e=(0,lE.resolve)(e);for(let n of t){let i=uE.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,lE.normalize)(n),n=(0,lE.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=iA(),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),nP=N(require("fs"),1),ePe=require("fs/promises");var YOt=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())})},yB=class extends Zke.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function tPe(t){return YOt(this,void 0,void 0,function*(){Ze(`Creating raw file upload stream for: ${t}`);let e=iA(),r=new yB(e),n=t;(yield nP.promises.lstat(t)).isSymbolicLink()&&(n=yield(0,ePe.realpath)(t));let s=nP.createReadStream(n,{highWaterMark:e});return s.on("error",a=>{MI("An error has occurred while reading the file for upload"),MI(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(tPe,"createRawFileUploadStream");var KOt=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())})},XOt=6;function iPe(t){return KOt(this,arguments,void 0,function*(e,r=XOt){Ze(`Creating Artifact archive with compressionLevel: ${r}`);let n=nPe.default.create("zip",{highWaterMark:iA(),zlib:{level:r}});n.on("error",ZOt),n.on("warning",eLt),n.on("finish",tLt),n.on("end",rLt);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=iA(),s=new yB(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 ZOt=o(t=>{throw MI("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"),eLt=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"),tLt=o(()=>{Ze("Zip stream for upload has finished.")},"zipFinishCallback"),rLt=o(()=>{Ze("Zip stream for upload has ended.")},"zipEndCallback");var sPe=N(require("path"),1);var nLt={".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 nLt[e]||"application/octet-stream"}o(oPe,"getMimeType");var iLt=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 iLt(this,void 0,void 0,function*(){let i=`${t}.zip`;if(n?.skipArchive){if(e.length===0)throw new cE([]);if(e.length>1)throw new Error("skipArchive option is only supported when uploading a single file");if(!aPe.existsSync(e[0]))throw new cE(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 cE(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),fP=N(require("path"),1);var iP=require("fs"),uPe=require("os");var iC=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,iP.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,iP.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 gLt=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 yLt(t){return new lK.HttpClient().getAgentDispatcher(t)}o(yLt,"getProxyAgentDispatcher");function EPe(t){let e=yLt(t);return o((n,i)=>gLt(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 Pkr=new iC,uK=CPe(),LA={baseUrl:uK,request:{agent:yPe(uK),fetch:EPe(uK)}},bPe=Hy.plugin(DI,QI).defaults(LA);function wPe(t,e){let r=Object.assign({},e||{}),n=gPe(t,r);return n&&(r.auth=n),r}o(wPe,"getOctokitOptions");var Mkr=new iC;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 aC=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 aC(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 aC(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield WLt(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 WLt(t,e){return aC(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=fP.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=fP.join(n,g),ee=nOe.createWriteStream(J);ct(`Downloading raw file (non-zip) to: ${J}`),H.pipe(ee).on("close",V).on("error",$)}})})}o(WLt,"streamExtractExternal");function lOe(t,e,r,n,i){return aC(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 aC(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:eE.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 aC(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 JLt=5,YLt=[400,401,403,404,422];function cC(t,e=JLt,r=YLt){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(cC,"getRetryOptions");var fOe="6.0.0";function UA(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(UA,"requestLog");UA.VERSION=fOe;var AOe=N(hOe(),1);var KLt="0.0.0-development";function XLt(t){return t.request!==void 0}o(XLt,"isRequestError");async function pOe(t,e,r,n){if(!XLt(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 ZLt(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(eFt.bind(null,t,e,r),n)}o(ZLt,"wrapRequest");async function eFt(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(eFt,"requestWithGraphqlErrorHandling");function qA(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",ZLt.bind(null,r,n))),n}o(qA,"retry");qA.VERSION=KLt;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 hP(t,e,r,n,i){return mOe(this,void 0,void 0,function*(){var s;let[a,c]=cC(LA),l={log:void 0,userAgent:Fl(),previews:void 0,retry:a,request:c},d=yield ih(i,l,qA,UA).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(hP,"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]=cC(LA),l={log:void 0,userAgent:Fl(),previews:void 0,retry:a,request:c},u=ih(i,l,qA,UA),d=yield hP(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())})},pP=$Se(),AP=100,tFt=Math.ceil(pP/AP);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]=cC(LA),h={log:void 0,userAgent:Fl(),previews:void 0,retry:d,request:f},p=ih(c,h,qA,UA),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:AP,page:m}),E=Math.ceil(g.total_count/AP),y=g.total_count;y>pP&&(gi(`Workflow run ${i} has ${y} artifacts, exceeding the limit of ${pP}. Results will be incomplete as only the first ${pP} artifacts will be returned`),E=tFt);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:AP,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 SB=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())})},rFt=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},lC=class{static{o(this,"DefaultArtifactClient")}uploadArtifact(e,r,n,i){return SB(this,void 0,void 0,function*(){try{if(Vy())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 SB(this,void 0,void 0,function*(){try{if(Vy())throw new Lf;if(r?.findBy){let{findBy:{repositoryOwner:n,repositoryName:i,token:s}}=r,a=rFt(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 SB(this,void 0,void 0,function*(){try{if(Vy())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 SB(this,void 0,void 0,function*(){try{if(Vy())throw new Lf;if(r?.findBy){let{findBy:{workflowRunId:n,repositoryOwner:i,repositoryName:s,token:a}}=r;return hP(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 SB(this,void 0,void 0,function*(){try{if(Vy())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 ROr=new lC;var mP=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 lC;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 CP(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(CP,"defineMappingTag");var nFt=Li("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),iFt=["","~","null","Null","NULL"],sFt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>iFt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),oFt=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")}),aFt=["","~","null","Null","NULL"],cFt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>aFt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),lFt=["true","True","TRUE"],uFt=["false","False","FALSE"],dFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>lFt.indexOf(t)!==-1?!0:uFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),fFt=["true"],hFt=["false"],pFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>fFt.indexOf(t)!==-1?!0:hFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),AFt=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],mFt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],gFt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>AFt.indexOf(t)!==-1?!0:mFt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),yFt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),EFt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function CFt(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(CFt,"parseYamlInteger$2");function bFt(t,e){if(e){if(!EFt.test(t))return Pt}else if(!yFt.test(t))return Pt;let r=CFt(t);return Number.isFinite(r)?r:Pt}o(bFt,"resolveYamlInteger$2");var POe=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:bFt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),wFt=new RegExp("^-?(?:0|[1-9][0-9]*)$"),IFt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function SFt(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(SFt,"parseYamlInteger$1");function BFt(t,e){if(e){if(!IFt.test(t))return Pt}else if(!wFt.test(t))return Pt;let r=SFt(t);return Number.isFinite(r)?r:Pt}o(BFt,"resolveYamlInteger$1");var xFt=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:BFt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),vFt=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 NFt(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(NFt,"parseYamlInteger");function _Ft(t){if(!vFt.test(t))return Pt;let e=NFt(t);return Number.isFinite(e)?e:Pt}o(_Ft,"resolveYamlInteger");var wK=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:_Ft,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),TFt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),RFt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function DFt(t){if(!TFt.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)||RFt.test(t)?n:Pt}o(DFt,"resolveYamlFloat$2");function QFt(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(QFt,"representYamlFloat$2");var OOe=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:DFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:QFt}),kFt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),PFt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function OFt(t,e){if(e){if(!PFt.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(!kFt.test(t))return Pt;let r=Number(t);return Number.isFinite(r)?r:Pt}o(OFt,"resolveYamlFloat$1");function LFt(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(LFt,"representYamlFloat$1");var FFt=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:OFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:LFt}),MFt=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))$"),UFt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function qFt(t){if(!MFt.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)||UFt.test(t)?n:Pt}o(qFt,"resolveYamlFloat");function GFt(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(GFt,"representYamlFloat");var IK=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:qFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:GFt}),HFt=Li("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?"<<":Pt,"resolve"),identify:o(()=>!1,"identify")}),VFt=/^[A-Za-z0-9+/]*={0,2}$/;function zFt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!VFt.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(zFt,"resolveYamlBinary");function $Ft(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return btoa(e)}o($Ft,"representYamlBinary");var jFt=Li("tag:yaml.org,2002:binary",{resolve:zFt,identify:o(t=>Object.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:$Ft}),WFt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JFt=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 YFt(t){let e=WFt.exec(t);if(e===null&&(e=JFt.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(YFt,"resolveYamlTimestamp");var KFt=Li("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:YFt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),XFt=TK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray});function bP(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(bP,"isPlainObject");function ZFt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(ZFt,"pick");var eMt=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(bP(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")}),tMt=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")}),rMt=CP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:bP,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")}),nMt=CP("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 iMt(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}o(iMt,"createTagDefinitionMap");function sMt(){return{scalar:[],sequence:[],mapping:[]}}o(sMt,"createTagDefinitionListMap");function oMt(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(oMt,"compileTags");var wP=class LOe{static{o(this,"Schema")}tags;implicitScalarTags;implicitScalarByFirstChar;implicitScalarAnyFirstChar;defaultScalarTag;defaultSequenceTag;defaultMappingTag;exact;prefix;constructor(e){let r=oMt(e),n=[],i=iMt(),s=sMt();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 wP([nFt,XFt,rMt]),qOr=new wP([...RK.tags,oFt,pFt,xFt,FFt]),aMt=new wP([...RK.tags,sFt,dFt,POe,OOe]),cMt=new wP([...RK.tags,cFt,gFt,wK,IK,KFt,HFt,jFt,eMt,tMt,nMt]),lMt=cMt.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")}),GOr=CP("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||bP(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 HOr=CP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:bP,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")}),uMt={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 dMt(t,e){if(!t.buffer)return null;let r={...uMt,...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(dMt,"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 fMt=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=dMt(c),new FOe(n,c)}},uC={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 hMt=new Array(256),pMt=new Array(256);for(let t=0;t<256;t++)hMt[t]=TOe(t)?1:0,pMt[t]=TOe(t);var VOr=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 AMt={filename:"",schema:aMt,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\-#;/?:@&=+$.~*'()_])`,zOr=new RegExp(`^(?:${SK})*$`),$Or=new RegExp(`^(?:${UOe})+$`),jOr=new RegExp(`^(?:!(?:${SK})*|${UOe}(?:${SK})*)$`),mMt={filename:"",maxDepth:100};var WOr={...mMt,...AMt};var GA=Symbol("INVALID");function gMt(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(gMt,"buildRepresentTypes");function yMt(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(yMt,"matchTag");function vB(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=yMt(t,e);if(!r){if(e===void 0||t.skipInvalid)return GA;throw new fMt(`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=vB(t,u[f]);p===GA&&u[f]===void 0&&(p=vB(t,null)),p!==GA&&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=vB(t,u);if(f===GA)continue;let h=vB(t,d);h!==GA&&l.items.push({key:f,value:h})}return l}o(vB,"build");function EMt(t,e,r={}){let n=vB({representTypes:gMt(e),noRefs:r.noRefs??!1,skipInvalid:r.skipInvalid??!1,refs:new Map,refCounter:0},t);return[{contents:n===GA?null:n,directives:[]}]}o(EMt,"jsToAst");var CMt=Symbol("visit:break"),qOe=Symbol("visit:skip");function yP(t,e,r){let n=e(t,r);if(n===CMt)return!0;if(n===qOe)return!1;let i=r.depth+1;switch(t.kind){case"sequence":for(let s of t.items)if(yP(s,e,{depth:i,parent:t,isKey:!1}))return!0;break;case"mapping":for(let{key:s,value:a}of t.items)if(yP(s,e,{depth:i,parent:t,isKey:!0})||yP(a,e,{depth:i,parent:t,isKey:!1}))return!0;break}return!1}o(yP,"visitNode");function ROe(t,e){for(let r of t)if(r.contents&&yP(r.contents,e,{depth:0,parent:null,isKey:!1}))return}o(ROe,"visit");function IP(t,e){return(t&1<<e)!==0}o(IP,"hasBit");var DOe={applyQuoteFlowKeysOption:bMt,doubleQuoteForInvisibles:wMt,doubleQuoteWhitespaceOnly:IMt,applyForceQuotesOption:SMt,tryLongOrMultilineAsBlock:BMt,quoteInvalidPlain:xMt,fallbackToDoubleQuoted:vMt};function GOe(t){return t.presenterOptions.quoteStyle==="single"&&IP(t.allowedStylesMask,it.SINGLE_QUOTED)?it.SINGLE_QUOTED:it.DOUBLE_QUOTED}o(GOe,"_preferredQuotedStyle");function bMt(t){t.presenterOptions.quoteFlowKeys&&(!t.isKey||!t.flowOnly||t.style!==it.PLAIN||(t.style=it.DOUBLE_QUOTED))}o(bMt,"applyQuoteFlowKeysOption");function wMt(t){t.style===it.PLAIN&&/[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(t.node.value)&&(t.style=it.DOUBLE_QUOTED)}o(wMt,"doubleQuoteForInvisibles");function IMt(t){t.style===it.PLAIN&&/^\s+$/.test(t.node.value)&&(t.style=it.DOUBLE_QUOTED)}o(IMt,"doubleQuoteWhitespaceOnly");function SMt(t){t.presenterOptions.forceQuotes&&(t.isKey||t.style!==it.PLAIN||(t.style=t.node.value.includes(`
|
|
`)?it.DOUBLE_QUOTED:GOe(t)))}o(SMt,"applyForceQuotesOption");function BMt(t){if(t.style!==it.PLAIN||t.isKey)return;let e=t.node.value,r=e.indexOf(`
|
|
`)!==-1;if(!IP(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(BMt,"tryLongOrMultilineAsBlock");function xMt(t){t.style===it.PLAIN&&!IP(t.allowedStylesMask,it.PLAIN)&&(t.style=GOe(t))}o(xMt,"quoteInvalidPlain");function vMt(t){IP(t.allowedStylesMask,t.style)||(t.style=it.DOUBLE_QUOTED)}o(vMt,"fallbackToDoubleQuoted");function xB(t,e){return t|1<<e}o(xB,"setBit");var NMt="[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]",_Mt="[\\n\\r]",TMt="\\uFEFF",QK="[ \\t]",HOe=`(?:(?!(?:${_Mt}|${TMt}))${NMt})`,SP=`(?:(?!${QK})${HOe})`,VOe="[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]",zOe="[-?:,\\[\\]{}#&*!|>'\"%@`]",RMt="[,\\[\\]{}]",BK=SP,xK=`(?:(?!${RMt})${SP})`,DMt=`(?:(?:(?!${zOe})${SP})|[?:-](?=${BK}))`,QMt=`(?:(?:(?!${zOe})${SP})|[?:-](?=${xK}))`,$Oe=`(?:(?:(?![:#])${BK})|:(?=${BK}))#*`,jOe=`(?:(?:(?![:#])${xK})|:(?=${xK}))#*`,WOe=`(?:${QK}*${$Oe})*`,JOe=`(?:${QK}*${jOe})*`,YOe=`${DMt}#*${WOe}`,KOe=`${QMt}#*${JOe}`,kMt=YOe,PMt=KOe,OMt=`\\n+${$Oe}${WOe}`,LMt=`\\n+${jOe}${JOe}`,FMt=`${YOe}(?:${OMt})*`,MMt=`${KOe}(?:${LMt})*`,UMt=new RegExp(`^(?:${FMt})$`,"u"),qMt=new RegExp(`^(?:${MMt})$`,"u"),GMt=new RegExp(`^(?:${kMt})$`,"u"),HMt=new RegExp(`^(?:${PMt})$`,"u"),VMt=new RegExp(`^(?:${VOe})*$`,"u"),zMt=new RegExp(`^(?:${VOe}|\\n)*$`,"u"),$Mt=new RegExp(`^(?:${HOe}|\\n)*$`,"u"),jMt=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/,kK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;function WMt(t){let e=t.node.value;if(e!==""){if(!(t.isKey?t.flowOnly?HMt:GMt:t.flowOnly?qMt:UMt).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(WMt,"canUsePlain");function JMt(t){let e=t.node.value;if(!(t.isKey?VMt:zMt).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(JMt,"canUseSingleQuoted");function YMt(t){if(t.flowOnly||!$Mt.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(YMt,"canUseBlock");function KMt(t){let e=xB(0,it.DOUBLE_QUOTED);WMt(t)&&(e=xB(e,it.PLAIN)),JMt(t)&&(e=xB(e,it.SINGLE_QUOTED)),YMt(t)&&(e=xB(xB(e,it.LITERAL_BLOCK),it.FOLDED_BLOCK)),t.allowedStylesMask=e}o(KMt,"detectAllowedStyles");function XMt(t){switch(t.style){case it.PLAIN:return ZMt(t);case it.SINGLE_QUOTED:return eUt(t);case it.LITERAL_BLOCK:return tUt(t);case it.FOLDED_BLOCK:return rUt(t);case it.DOUBLE_QUOTED:return nUt(t)}}o(XMt,"renderScalar");function ZMt(t){return XOe(t.node.value,t.shiftOfContent)}o(ZMt,"renderPlain");function eUt(t){return`'${XOe(t.node.value,t.shiftOfContent).replace(/'/g,"''")}'`}o(eUt,"renderSingleQuoted");function tUt(t){let e=t.node.value;return"|"+eLe(e,t.shiftOfParent,t.shiftOfContent)+tLe(ZOe(e,t.shiftOfContent))}o(tUt,"renderLiteralBlock");function rUt(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(sUt(e,n),t.shiftOfContent))}o(rUt,"renderFoldedBlock");function nUt(t){return`"${cUt(t.node.value)}"`}o(nUt,"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 iUt(t){return/^\n* /.test(t)}o(iUt,"needIndentIndicator");function eLe(t,e,r){let n=iUt(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 sUt(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(sUt,"foldBlockScalar");var oUt=/["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;function aUt(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(aUt,"escapeCharacter");function cUt(t){return t.replace(oUt,aUt)}o(cUt,"escapeString");var EP=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 lUt(t){return t.tagged?t.tag:MOe(t.tag)}o(lUt,"nodeTagShort");function uUt(t){let e={...PK,...t};return e.flowSkipColonSpace&&(e.quoteFlowKeys=!0),{...e,defaultScalarTagName:e.schema.defaultScalarTag.tagName,openEnded:!1}}o(uUt,"createPresenterState");function NK(t,e){return`
|
|
${" ".repeat(t.indent*e)}`}o(NK,"generateNextLine");function dUt(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(dUt,"scalarLayout");function fUt(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(fUt,"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===""||EP===c.charCodeAt(0)?i+="-":i+="- ",i+=c}return i}o(kOe,"writeBlockSequence");function hUt(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(hUt,"writeFlowMapping");function pUt(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&&EP===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===""||EP===E.charCodeAt(0)?c+=`${C}:`:c+=`${C}: `,c+=E,i+=c}return i}o(pUt,"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=pUt(t,e,r,l):d=hUt(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=fUt(t,e,r);else{let g=dUt(t,r,n,e,a,!s);KMt(g);for(let E of t.scalarStyleRules)E(g);d=XMt(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?lUt(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)===EP?"":" ";m=`${g.join(" ")}${C}${d}`}return{text:m,noBody:p}}o(Bd,"writeNode");function AUt(t){return(t.kind==="sequence"||t.kind==="mapping")&&t.style===ch.BLOCK&&t.items.length!==0&&!t.tagged&&t.anchor===void 0}o(AUt,"rootStartsOwnLine");function mUt(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(mUt,"writeDocumentDirectives");function gUt(t,e){let r=uUt(e),n="",i=!1;for(let s=0;s<t.length;s+=1){let a=t[s];r.openEnded=!1;let c=mUt(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||AUt(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(gUt,"present");var yUt={...PK,schema:lMt,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:o(()=>{},"transform")};function EUt(t,e){let r=String(t),n=String(e);return r<n?-1:r>n?1:0}o(EUt,"defaultCompareFn");function rLe(t,e={}){let r={...yUt,...e},n=EMt(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?EUt: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),gUt(n,{...ZFt(r,Object.keys(PK)),schema:r.schema})}o(rLe,"dump");var JOr=uC.DOCUMENT,YOr=uC.SEQUENCE,KOr=uC.MAPPING,XOr=uC.SCALAR,ZOr=uC.ALIAS,eLr=uC.POP,tLr=it.PLAIN,rLr=it.SINGLE_QUOTED,nLr=it.DOUBLE_QUOTED,iLr=it.LITERAL_BLOCK,sLr=it.FOLDED_BLOCK,oLr=ch.BLOCK,aLr=ch.FLOW,cLr=DK.CLIP,lLr=DK.STRIP,uLr=DK.KEEP;var nLe=N(require("os"),1);var BP=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=uq.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 HA=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(HA.default.existsSync(e))return HA.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return LK.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!HA.default.existsSync(e))return;let r=HA.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(!HA.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=gt.tmpName({tmpdir:gt.tmpDir()});return HA.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 xP=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 zC=N(uc(),1),fZ=N(require("util"),1);var dC=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=eQ(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 HC=N($K(),1),bUe=N(aX(),1),VC=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 sL=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 GC="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 sL}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,HC.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,HC.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,HC.bundleFromJSON)(i);O("Fetching Sigstore TUF trusted root metadata");let a=await bUe.getTrustedRoot({retry:{retries:5}}),c=(0,VC.toTrustMaterial)(a);try{O("Verifying artifact signature");let l=(0,VC.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 VC.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: ${GC}?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,HC.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 oL=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=zC.clean(i)||"";if(!zC.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&&zC.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?`${GC}?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 dC.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 $C=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 aL=N(require("fs"),1);var cL=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(!aL.default.existsSync(e))throw new Error(`config file ${e} not found`);e=aL.default.readFileSync(e,{encoding:"utf-8"})}let n=gt.tmpName({tmpdir:gt.tmpDir()});return aL.default.writeFileSync(n,e),n}};var lL=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new cL,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 $C({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 uL=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),jC=N(require("path"),1);var fL=N(uc(),1),hZ=N(require("util"),1);var dL=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=fL.clean(s)||"";if(!fL.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:jC.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=jC.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=jC.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=jC.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=jC.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 ZB=N(require("fs"),1),Bc=N(require("os"),1),WC=N(require("path"),1);var JC=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 hL=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=JC.clean(i)||"";if(!JC.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Yn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:WC.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&&JC.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:WC.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=WC.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=WC.default.join(r,"cosign-bin");ZB.default.existsSync(n)||ZB.default.mkdirSync(n,{recursive:!0});let i=Bc.default.platform()=="win32"?"cosign.exe":"cosign",s=WC.default.join(n,i);return ZB.default.copyFileSync(e,s),O("Fixing perms"),ZB.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?`${GC}?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 dC.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 pL=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 ex=N(require("fs"),1),kd=N(require("os"),1),AL=N(require("path"),1);var gL=N(uc(),1),AZ=N(require("util"),1);var mL=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=gL.clean(s)||"";if(!gL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Yn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:AL.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=AL.default.join(r,"regctl-bin");ex.default.existsSync(n)||ex.default.mkdirSync(n,{recursive:!0});let i=kd.default.platform()=="win32"?"regctl.exe":"regctl",s=AL.default.join(n,i);return ex.default.copyFileSync(e,s),O("Fixing perms"),ex.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 yL=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 tx=N(require("fs"),1),xc=N(require("os"),1),rx=N(require("path"),1);var CL=N(uc(),1),mZ=N(require("util"),1);var EL=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=CL.clean(s)||"";if(!CL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Yn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:rx.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=rx.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=rx.default.join(r,"undock-bin");tx.default.existsSync(n)||tx.default.mkdirSync(n,{recursive:!0});let i=xc.default.platform()=="win32"?"undock.exe":"undock",s=rx.default.join(n,i);return tx.default.copyFileSync(e,s),O("Fixing perms"),tx.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 bL=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 xP({buildx:this.buildx}),this.buildxInstall=new oL,this.builder=new $C({buildx:this.buildx}),this.buildkit=new lL({buildx:this.buildx}),this.compose=new uL,this.composeInstall=new dL,this.cosign=new zs,this.cosignInstall=new hL({buildx:this.buildx}),this.regctl=new pL,this.regctlInstall=new mL,this.sigstore=new Sh,this.undock=new yL,this.undockInstall=new EL}};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 x5t(t,t.context,e),...await v5t(t,e),t.context]}o(_Ue,"getArgs");async function x5t(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 N5t(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(x5t,"getBuildArgs");async function v5t(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(v5t,"getCommonArgs");async function N5t(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&&!_5t()&&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(N5t,"getAttestArgs");function _5t(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?re.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(_5t,"noDefaultAttestations");var nx=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 bL;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()){kN("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),QN("imageid",c)}),u&&await kr("Digest",async()=>{O(u),QN("digest",u)}),l&&await kr("Metadata",async()=>{let f=JSON.stringify(l,null,2);Xe.printUntrusted(f),QN("metadata",f)});let d;if(await kr("Reference",async()=>{d=await D5t(r,t,e.builder),d?(O(d),LUe(d)):O("No build reference found")}),Q5t()){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()=>{k5t()?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=P5t(),e;t&&(e=O5t());let n=await new sQ().export({refs:yZ?[yZ]:[]});O(`Build record written to ${n.dockerbuildFilename} (${re.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await mP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await BP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:DUe,driver:TUe,endpoint:RUe})}catch(t){ut(t.message)}}),nx.length>0&&await kr(`Removing temp folder ${nx}`,async()=>{try{UUe.rmSync(nx,{recursive:!0})}catch{ut(`Failed to remove temp folder ${nx}`)}})});async function D5t(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(D5t,"buildRef");function Q5t(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?re.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(Q5t,"buildChecksAnnotationsEnabled");function k5t(){return process.env.DOCKER_BUILD_SUMMARY?re.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(k5t,"buildSummaryEnabled");function P5t(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?re.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(P5t,"buildRecordUploadEnabled");function O5t(){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(O5t,"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
|