@skyramp/testbot-core 0.13.0-v3.230 → 0.13.0-v3.232
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION.json +1 -1
- package/dist/main.js +322 -322
- package/dist/post.js +34 -34
- package/dist/runner-client.cjs +1 -1
- package/dist/runner-client.d.cts +2 -0
- package/package.json +1 -1
package/dist/post.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";var KT=Object.create;var Yu=Object.defineProperty;var ZT=Object.getOwnPropertyDescriptor;var XT=Object.getOwnPropertyNames;var eD=Object.getPrototypeOf,tD=Object.prototype.hasOwnProperty;var kt=(t,e,n)=>()=>{if(n)throw n[0];try{return t&&(e=t(t=0)),e}catch(r){throw n=[r],r}};var L=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(n){throw e=0,n}},ip=(t,e)=>{for(var n in e)Yu(t,n,{get:e[n],enumerable:!0})},lE=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of XT(e))!tD.call(t,s)&&s!==n&&Yu(t,s,{get:()=>e[s],enumerable:!(r=ZT(e,s))||r.enumerable});return t};var Re=(t,e,n)=>(n=t!=null?KT(eD(t)):{},lE(e||!t||!t.__esModule?Yu(n,"default",{value:t,enumerable:!0}):n,t)),nD=t=>lE(Yu({},"__esModule",{value:!0}),t);function Xa(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function qu(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}var ju=kt(()=>{});function ei(t,e,n){let r=new op(t,e,n);process.stdout.write(r.toString()+pE.EOL)}function ap(t,e=""){ei(t,{},e)}function rD(t){return Xa(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function sD(t){return Xa(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var pE,dE,op,hE=kt(()=>{pE=Re(require("os"),1);ju();dE="::",op=class{constructor(e,n,r){e||(e="missing.command"),this.command=e,this.properties=n,this.message=r}toString(){let e=dE+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let n=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(n?n=!1:e+=",",e+=`${r}=${sD(s)}`)}}return e+=`${dE}${rD(this.message)}`,e}}});var fE=kt(()=>{ju()});function cp(t){let e=t.protocol==="https:";if(iD(t))return;let n=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(n)try{return new Ju(n)}catch{if(!n.startsWith("http://")&&!n.startsWith("https://"))return new Ju(`http://${n}`)}else return}function iD(t){if(!t.hostname)return!1;let e=t.hostname;if(oD(e))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||"";if(!n)return!1;let r;t.port?r=Number(t.port):t.protocol==="http:"?r=80:t.protocol==="https:"&&(r=443);let s=[t.hostname.toUpperCase()];typeof r=="number"&&s.push(`${s[0]}:${r}`);for(let i of n.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||s.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}function oD(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var Ju,gE=kt(()=>{Ju=class extends URL{constructor(e,n){super(e,n),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var CE=L(Co=>{"use strict";var rz=require("net"),cD=require("tls"),up=require("http"),mE=require("https"),uD=require("events"),sz=require("assert"),AD=require("util");Co.httpOverHttp=lD;Co.httpsOverHttp=dD;Co.httpOverHttps=pD;Co.httpsOverHttps=hD;function lD(t){var e=new Tr(t);return e.request=up.request,e}function dD(t){var e=new Tr(t);return e.request=up.request,e.createSocket=yE,e.defaultPort=443,e}function pD(t){var e=new Tr(t);return e.request=mE.request,e}function hD(t){var e=new Tr(t);return e.request=mE.request,e.createSocket=yE,e.defaultPort=443,e}function Tr(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||up.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(r,s,i,a){for(var c=EE(s,i,a),A=0,l=e.requests.length;A<l;++A){var p=e.requests[A];if(p.host===c.host&&p.port===c.port){e.requests.splice(A,1),p.request.onSocket(r);return}}r.destroy(),e.removeSocket(r)})}AD.inherits(Tr,uD.EventEmitter);Tr.prototype.addRequest=function(e,n,r,s){var i=this,a=Ap({request:e},i.options,EE(n,r,s));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",A),c.on("close",l),c.on("agentRemove",l),e.onSocket(c);function A(){i.emit("free",c,a)}function l(p){i.removeSocket(c),c.removeListener("free",A),c.removeListener("close",l),c.removeListener("agentRemove",l)}})};Tr.prototype.createSocket=function(e,n){var r=this,s={};r.sockets.push(s);var i=Ap({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),cs("making CONNECT request");var a=r.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",A),a.once("connect",l),a.once("error",p),a.end();function c(h){h.upgrade=!0}function A(h,g,C){process.nextTick(function(){l(h,g,C)})}function l(h,g,C){if(a.removeAllListeners(),g.removeAllListeners(),h.statusCode!==200){cs("tunneling socket could not be established, statusCode=%d",h.statusCode),g.destroy();var S=new Error("tunneling socket could not be established, statusCode="+h.statusCode);S.code="ECONNRESET",e.request.emit("error",S),r.removeSocket(s);return}if(C.length>0){cs("got illegal response body from proxy"),g.destroy();var S=new Error("got illegal response body from proxy");S.code="ECONNRESET",e.request.emit("error",S),r.removeSocket(s);return}return cs("tunneling connection has established"),r.sockets[r.sockets.indexOf(s)]=g,n(g)}function p(h){a.removeAllListeners(),cs(`tunneling socket could not be established, cause=%s
|
|
2
|
-
`,h.message,h.stack);var g=new Error("tunneling socket could not be established, cause="+h.message);g.code="ECONNRESET",e.request.emit("error",g),r.removeSocket(s)}};Tr.prototype.removeSocket=function(e){var n=this.sockets.indexOf(e);if(n!==-1){this.sockets.splice(n,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function yE(t,e){var n=this;Tr.prototype.createSocket.call(n,t,function(r){var s=t.request.getHeader("host"),i=Ap({},n.options,{socket:r,servername:s?s.replace(/:.*$/,""):t.host}),a=cD.connect(0,i);n.sockets[n.sockets.indexOf(r)]=a,e(a)})}function EE(t,e,n){return typeof t=="string"?{host:t,port:e,localAddress:n}:t}function Ap(t){for(var e=1,n=arguments.length;e<n;++e){var r=arguments[e];if(typeof r=="object")for(var s=Object.keys(r),i=0,a=s.length;i<a;++i){var c=s[i];r[c]!==void 0&&(t[c]=r[c])}}return t}var cs;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?cs=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)}:cs=function(){};Co.debug=cs});var BE=L((oz,IE)=>{IE.exports=CE()});var He=L((az,wE)=>{wE.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 xe=L((cz,JE)=>{"use strict";var QE=Symbol.for("undici.error.UND_ERR"),Ye=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[QE]===!0}[QE]=!0},bE=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),lp=class extends Ye{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[bE]===!0}[bE]=!0},SE=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),dp=class extends Ye{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[SE]===!0}[SE]=!0},kE=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),pp=class extends Ye{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[kE]===!0}[kE]=!0},vE=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),hp=class extends Ye{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[vE]===!0}[vE]=!0},RE=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),fp=class extends Ye{constructor(e,n,r,s){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=n,this.statusCode=n,this.headers=r}static[Symbol.hasInstance](e){return e&&e[RE]===!0}[RE]=!0},xE=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),gp=class extends Ye{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[xE]===!0}[xE]=!0},TE=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),mp=class extends Ye{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[TE]===!0}[TE]=!0},DE=Symbol.for("undici.error.UND_ERR_ABORT"),Wu=class extends Ye{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[DE]===!0}[DE]=!0},NE=Symbol.for("undici.error.UND_ERR_ABORTED"),yp=class extends Wu{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[NE]===!0}[NE]=!0},FE=Symbol.for("undici.error.UND_ERR_INFO"),Ep=class extends Ye{constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[FE]===!0}[FE]=!0},ME=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),Cp=class extends Ye{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[ME]===!0}[ME]=!0},UE=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),Ip=class extends Ye{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[UE]===!0}[UE]=!0},_E=Symbol.for("undici.error.UND_ERR_DESTROYED"),Bp=class extends Ye{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[_E]===!0}[_E]=!0},LE=Symbol.for("undici.error.UND_ERR_CLOSED"),wp=class extends Ye{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[LE]===!0}[LE]=!0},PE=Symbol.for("undici.error.UND_ERR_SOCKET"),Qp=class extends Ye{constructor(e,n){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=n}static[Symbol.hasInstance](e){return e&&e[PE]===!0}[PE]=!0},OE=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),bp=class extends Ye{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[OE]===!0}[OE]=!0},$E=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),Sp=class extends Ye{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[$E]===!0}[$E]=!0},VE=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),kp=class extends Error{constructor(e,n,r){super(e),this.name="HTTPParserError",this.code=n?`HPE_${n}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&e[VE]===!0}[VE]=!0},GE=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),vp=class extends Ye{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[GE]===!0}[GE]=!0},HE=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),Rp=class extends Ye{constructor(e,n,{headers:r,data:s}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=n,this.data=s,this.headers=r}static[Symbol.hasInstance](e){return e&&e[HE]===!0}[HE]=!0},YE=Symbol.for("undici.error.UND_ERR_RESPONSE"),xp=class extends Ye{constructor(e,n,{headers:r,data:s}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=n,this.data=s,this.headers=r}static[Symbol.hasInstance](e){return e&&e[YE]===!0}[YE]=!0},qE=Symbol.for("undici.error.UND_ERR_PRX_TLS"),Tp=class extends Ye{constructor(e,n,r){super(n,{cause:e,...r??{}}),this.name="SecureProxyConnectionError",this.message=n||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[qE]===!0}[qE]=!0},jE=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),Dp=class extends Ye{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[jE]===!0}get[jE](){return!0}};JE.exports={AbortError:Wu,HTTPParserError:kp,UndiciError:Ye,HeadersTimeoutError:dp,HeadersOverflowError:pp,BodyTimeoutError:hp,RequestContentLengthMismatchError:Cp,ConnectTimeoutError:lp,ResponseStatusCodeError:fp,InvalidArgumentError:gp,InvalidReturnValueError:mp,RequestAbortedError:yp,ClientDestroyedError:Bp,ClientClosedError:wp,InformationalError:Ep,SocketError:Qp,NotSupportedError:bp,ResponseContentLengthMismatchError:Ip,BalancedPoolMissingUpstreamError:Sp,ResponseExceededMaxSizeError:vp,RequestRetryError:Rp,ResponseError:xp,SecureProxyConnectionError:Tp,MessageSizeExceededError:Dp}});var Ku=L((uz,WE)=>{"use strict";var zu={},Np=["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<Np.length;++t){let e=Np[t],n=e.toLowerCase();zu[e]=zu[n]=n}Object.setPrototypeOf(zu,null);WE.exports={wellknownHeaderNames:Np,headerNameLowerCasedRecord:zu}});var XE=L((Az,ZE)=>{"use strict";var{wellknownHeaderNames:zE,headerNameLowerCasedRecord:fD}=Ku(),Fp=class t{value=null;left=null;middle=null;right=null;code;constructor(e,n,r){if(r===void 0||r>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw new TypeError("key must be ascii string");e.length!==++r?this.middle=new t(e,n,r):this.value=n}add(e,n){let r=e.length;if(r===0)throw new TypeError("Unreachable");let s=0,i=this;for(;;){let a=e.charCodeAt(s);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(r===++s){i.value=n;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,n,s);break}else if(i.code<a)if(i.left!==null)i=i.left;else{i.left=new t(e,n,s);break}else if(i.right!==null)i=i.right;else{i.right=new t(e,n,s);break}}}search(e){let n=e.length,r=0,s=this;for(;s!==null&&r<n;){let i=e[r];for(i<=90&&i>=65&&(i|=32);s!==null;){if(i===s.code){if(n===++r)return s;s=s.middle;break}s=s.code<i?s.left:s.right}}return null}},Zu=class{node=null;insert(e,n){this.node===null?this.node=new Fp(e,n,0):this.node.add(e,n)}lookup(e){return this.node?.search(e)?.value??null}},KE=new Zu;for(let t=0;t<zE.length;++t){let e=fD[zE[t]];KE.insert(e,e)}ZE.exports={TernarySearchTree:Zu,tree:KE}});var Ie=L((lz,fC)=>{"use strict";var ec=require("node:assert"),{kDestroyed:tC,kBodyUsed:Io,kListeners:Mp,kBody:eC}=He(),{IncomingMessage:gD}=require("node:http"),tA=require("node:stream"),mD=require("node:net"),{Blob:yD}=require("node:buffer"),ED=require("node:util"),{stringify:CD}=require("node:querystring"),{EventEmitter:ID}=require("node:events"),{InvalidArgumentError:at}=xe(),{headerNameLowerCasedRecord:BD}=Ku(),{tree:nC}=XE(),[wD,QD]=process.versions.node.split(".").map(t=>Number(t)),eA=class{constructor(e){this[eC]=e,this[Io]=!1}async*[Symbol.asyncIterator](){ec(!this[Io],"disturbed"),this[Io]=!0,yield*this[eC]}};function bD(t){return nA(t)?(aC(t)===0&&t.on("data",function(){ec(!1)}),typeof t.readableDidRead!="boolean"&&(t[Io]=!1,ID.prototype.on.call(t,"data",function(){this[Io]=!0})),t):t&&typeof t.pipeTo=="function"?new eA(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&oC(t)?new eA(t):t}function SD(){}function nA(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function rC(t){if(t===null)return!1;if(t instanceof yD)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}function kD(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let n=CD(e);return n&&(t+="?"+n),t}function sC(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}function Xu(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}function iC(t){if(typeof t=="string"){if(t=new URL(t),!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new at("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&sC(t.port)===!1)throw new at("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 at("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new at("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new at("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new at("Invalid URL origin: the origin must be a string or null/undefined.");if(!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,n=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,r=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return n[n.length-1]==="/"&&(n=n.slice(0,n.length-1)),r&&r[0]!=="/"&&(r=`/${r}`),new URL(`${n}${r}`)}if(!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}function vD(t){if(t=iC(t),t.pathname!=="/"||t.search||t.hash)throw new at("invalid url");return t}function RD(t){if(t[0]==="["){let n=t.indexOf("]");return ec(n!==-1),t.substring(1,n)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function xD(t){if(!t)return null;ec(typeof t=="string");let e=RD(t);return mD.isIP(e)?"":e}function TD(t){return JSON.parse(JSON.stringify(t))}function DD(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function oC(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function aC(t){if(t==null)return 0;if(nA(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(rC(t))return t.size!=null?t.size:null;if(AC(t))return t.byteLength}return null}function cC(t){return t&&!!(t.destroyed||t[tC]||tA.isDestroyed?.(t))}function ND(t,e){t==null||!nA(t)||cC(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===gD&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[tC]=!0))}var FD=/timeout=(\d+)/;function MD(t){let e=t.toString().match(FD);return e?parseInt(e[1],10)*1e3:null}function uC(t){return typeof t=="string"?BD[t]??t.toLowerCase():nC.lookup(t)??t.toString("latin1").toLowerCase()}function UD(t){return nC.lookup(t)??t.toString("latin1").toLowerCase()}function _D(t,e){e===void 0&&(e={});for(let n=0;n<t.length;n+=2){let r=uC(t[n]),s=e[r];if(s)typeof s=="string"&&(s=[s],e[r]=s),s.push(t[n+1].toString("utf8"));else{let i=t[n+1];typeof i=="string"?e[r]=i:e[r]=Array.isArray(i)?i.map(a=>a.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}function LD(t){let e=t.length,n=new Array(e),r=!1,s=-1,i,a,c=0;for(let A=0;A<t.length;A+=2)i=t[A],a=t[A+1],typeof i!="string"&&(i=i.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=i.length,c===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?r=!0:c===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(s=A+1),n[A]=i,n[A+1]=a;return r&&s!==-1&&(n[s]=Buffer.from(n[s]).toString("latin1")),n}function AC(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function PD(t,e,n){if(!t||typeof t!="object")throw new at("handler must be an object");if(typeof t.onConnect!="function")throw new at("invalid onConnect method");if(typeof t.onError!="function")throw new at("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new at("invalid onBodySent method");if(n||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new at("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new at("invalid onHeaders method");if(typeof t.onData!="function")throw new at("invalid onData method");if(typeof t.onComplete!="function")throw new at("invalid onComplete method")}}function OD(t){return!!(t&&(tA.isDisturbed(t)||t[Io]))}function $D(t){return!!(t&&tA.isErrored(t))}function VD(t){return!!(t&&tA.isReadable(t))}function GD(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}function HD(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(n){let{done:r,value:s}=await e.next();if(r)queueMicrotask(()=>{n.close(),n.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);i.byteLength&&n.enqueue(new Uint8Array(i))}return n.desiredSize>0},async cancel(n){await e.return()},type:"bytes"})}function YD(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}function qD(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}var jD=typeof String.prototype.toWellFormed=="function",JD=typeof String.prototype.isWellFormed=="function";function lC(t){return jD?`${t}`.toWellFormed():ED.toUSVString(t)}function WD(t){return JD?`${t}`.isWellFormed():lC(t)===`${t}`}function dC(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}function zD(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!dC(t.charCodeAt(e)))return!1;return!0}var KD=/[^\t\x20-\x7e\x80-\xff]/;function ZD(t){return!KD.test(t)}function XD(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}function eN(t,e,n){return(t[Mp]??=[]).push([e,n]),t.on(e,n),t}function tN(t){for(let[e,n]of t[Mp]??[])t.removeListener(e,n);t[Mp]=null}function nN(t,e,n){try{e.onError(n),ec(e.aborted)}catch(r){t.emit("error",r)}}var pC=Object.create(null);pC.enumerable=!0;var Up={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},hC={...Up,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(Up,null);Object.setPrototypeOf(hC,null);fC.exports={kEnumerableProperty:pC,nop:SD,isDisturbed:OD,isErrored:$D,isReadable:VD,toUSVString:lC,isUSVString:WD,isBlobLike:rC,parseOrigin:vD,parseURL:iC,getServerName:xD,isStream:nA,isIterable:oC,isAsyncIterable:DD,isDestroyed:cC,headerNameToString:uC,bufferToLowerCasedHeaderName:UD,addListener:eN,removeAllListeners:tN,errorRequest:nN,parseRawHeaders:LD,parseHeaders:_D,parseKeepAliveTimeout:MD,destroy:ND,bodyLength:aC,deepClone:TD,ReadableStreamFrom:HD,isBuffer:AC,validateHandler:PD,getSocketInfo:GD,isFormDataLike:YD,buildURL:kD,addAbortListener:qD,isValidHTTPToken:zD,isValidHeaderValue:ZD,isTokenCharCode:dC,parseRangeHeader:XD,normalizedMethodRecordsBase:Up,normalizedMethodRecords:hC,isValidPort:sC,isHttpOrHttpsPrefixed:Xu,nodeMajor:wD,nodeMinor:QD,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:bD}});var Bo=L((dz,mC)=>{"use strict";var De=require("node:diagnostics_channel"),Lp=require("node:util"),rA=Lp.debuglog("undici"),_p=Lp.debuglog("fetch"),ti=Lp.debuglog("websocket"),gC=!1,rN={beforeConnect:De.channel("undici:client:beforeConnect"),connected:De.channel("undici:client:connected"),connectError:De.channel("undici:client:connectError"),sendHeaders:De.channel("undici:client:sendHeaders"),create:De.channel("undici:request:create"),bodySent:De.channel("undici:request:bodySent"),headers:De.channel("undici:request:headers"),trailers:De.channel("undici:request:trailers"),error:De.channel("undici:request:error"),open:De.channel("undici:websocket:open"),close:De.channel("undici:websocket:close"),socketError:De.channel("undici:websocket:socket_error"),ping:De.channel("undici:websocket:ping"),pong:De.channel("undici:websocket:pong")};if(rA.enabled||_p.enabled){let t=_p.enabled?_p:rA;De.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,r,n)}),De.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,r,n)}),De.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,r,n,a.message)}),De.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("sending request to %s %s/%s",n,s,r)}),De.channel("undici:request:headers").subscribe(e=>{let{request:{method:n,path:r,origin:s},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",n,s,r,i)}),De.channel("undici:request:trailers").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("trailers received from %s %s/%s",n,s,r)}),De.channel("undici:request:error").subscribe(e=>{let{request:{method:n,path:r,origin:s},error:i}=e;t("request to %s %s/%s errored - %s",n,s,r,i.message)}),gC=!0}if(ti.enabled){if(!gC){let t=rA.enabled?rA:ti;De.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connecting to %s%s using %s%s",i,s?`:${s}`:"",r,n)}),De.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connected to %s%s using %s%s",i,s?`:${s}`:"",r,n)}),De.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",r,n,a.message)}),De.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("sending request to %s %s/%s",n,s,r)})}De.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:n}}=t;ti("connection opened %s%s",e,n?`:${n}`:"")}),De.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:n,reason:r}=t;ti("closed connection to %s - %s %s",e.url,n,r)}),De.channel("undici:websocket:socket_error").subscribe(t=>{ti("connection errored - %s",t.message)}),De.channel("undici:websocket:ping").subscribe(t=>{ti("ping received")}),De.channel("undici:websocket:pong").subscribe(t=>{ti("pong received")})}mC.exports={channels:rN}});var IC=L((pz,CC)=>{"use strict";var{InvalidArgumentError:Me,NotSupportedError:sN}=xe(),tn=require("node:assert"),{isValidHTTPToken:EC,isValidHeaderValue:tc,isStream:iN,destroy:oN,isBuffer:aN,isFormDataLike:cN,isIterable:uN,isBlobLike:AN,buildURL:lN,validateHandler:dN,getServerName:pN,normalizedMethodRecords:hN}=Ie(),{channels:ht}=Bo(),{headerNameLowerCasedRecord:yC}=Ku(),fN=/[^\u0021-\u00ff]/,gn=Symbol("handler"),Pp=class{constructor(e,{path:n,method:r,body:s,headers:i,query:a,idempotent:c,blocking:A,upgrade:l,headersTimeout:p,bodyTimeout:h,reset:g,throwOnError:C,expectContinue:S,servername:v},T){if(typeof n!="string")throw new Me("path must be a string");if(n[0]!=="/"&&!(n.startsWith("http://")||n.startsWith("https://"))&&r!=="CONNECT")throw new Me("path must be an absolute URL or start with a slash");if(fN.test(n))throw new Me("invalid request path");if(typeof r!="string")throw new Me("method must be a string");if(hN[r]===void 0&&!EC(r))throw new Me("invalid request method");if(l&&typeof l!="string")throw new Me("upgrade must be a string");if(l&&!tc(l))throw new Me("invalid upgrade header");if(p!=null&&(!Number.isFinite(p)||p<0))throw new Me("invalid headersTimeout");if(h!=null&&(!Number.isFinite(h)||h<0))throw new Me("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new Me("invalid reset");if(S!=null&&typeof S!="boolean")throw new Me("invalid expectContinue");if(this.headersTimeout=p,this.bodyTimeout=h,this.throwOnError=C===!0,this.method=r,this.abort=null,s==null)this.body=null;else if(iN(s)){this.body=s;let x=this.body._readableState;(!x||!x.autoDestroy)&&(this.endHandler=function(){oN(this)},this.body.on("end",this.endHandler)),this.errorHandler=F=>{this.abort?this.abort(F):this.error=F},this.body.on("error",this.errorHandler)}else if(aN(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if(typeof s=="string")this.body=s.length?Buffer.from(s):null;else if(cN(s)||uN(s)||AN(s))this.body=s;else throw new Me("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=l||null,this.path=a?lN(n,a):n,this.origin=e,this.idempotent=c??(r==="HEAD"||r==="GET"),this.blocking=A??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=S??!1,Array.isArray(i)){if(i.length%2!==0)throw new Me("headers array must be even");for(let x=0;x<i.length;x+=2)sA(this,i[x],i[x+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let x of i){if(!Array.isArray(x)||x.length!==2)throw new Me("headers must be in key-value pair format");sA(this,x[0],x[1])}else{let x=Object.keys(i);for(let F=0;F<x.length;++F)sA(this,x[F],i[x[F]])}else if(i!=null)throw new Me("headers must be an object or an array");dN(T,r,l),this.servername=v||pN(this.host),this[gn]=T,ht.create.hasSubscribers&&ht.create.publish({request:this})}onBodySent(e){if(this[gn].onBodySent)try{return this[gn].onBodySent(e)}catch(n){this.abort(n)}}onRequestSent(){if(ht.bodySent.hasSubscribers&&ht.bodySent.publish({request:this}),this[gn].onRequestSent)try{return this[gn].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(tn(!this.aborted),tn(!this.completed),this.error)e(this.error);else return this.abort=e,this[gn].onConnect(e)}onResponseStarted(){return this[gn].onResponseStarted?.()}onHeaders(e,n,r,s){tn(!this.aborted),tn(!this.completed),ht.headers.hasSubscribers&&ht.headers.publish({request:this,response:{statusCode:e,headers:n,statusText:s}});try{return this[gn].onHeaders(e,n,r,s)}catch(i){this.abort(i)}}onData(e){tn(!this.aborted),tn(!this.completed);try{return this[gn].onData(e)}catch(n){return this.abort(n),!1}}onUpgrade(e,n,r,s=""){this.onFinally(),tn(!this.aborted),tn(!this.completed),e!==null&&this.#e(e,n,s);let i=this[gn].onUpgrade(e,n,r);return this.aborted||(this.completed=!0,e!==null&&this.#t()),i}onUpgradeResponse(e,n,r,s=""){tn(!this.aborted),tn(this.completed),ht.headers.hasSubscribers&&this.#e(e,r(n),s),this.#t()}onUpgradeError(e){tn(!this.aborted),tn(this.completed),ht.error.hasSubscribers&&ht.error.publish({request:this,error:e})}#e(e,n,r){ht.headers.hasSubscribers&&ht.headers.publish({request:this,response:{statusCode:e,headers:n,statusText:r}})}#t(){ht.trailers.hasSubscribers&&ht.trailers.publish({request:this,trailers:[]})}onComplete(e){this.onFinally(),tn(!this.aborted),this.completed=!0,ht.trailers.hasSubscribers&&ht.trailers.publish({request:this,trailers:e});try{return this[gn].onComplete(e)}catch(n){this.onError(n)}}onError(e){if(this.onFinally(),ht.error.hasSubscribers&&ht.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[gn].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,n){return sA(this,e,n),this}};function sA(t,e,n){if(n&&typeof n=="object"&&!Array.isArray(n))throw new Me(`invalid ${e} header`);if(n===void 0)return;let r=yC[e];if(r===void 0&&(r=e.toLowerCase(),yC[r]===void 0&&!EC(r)))throw new Me("invalid header key");if(Array.isArray(n)){let s=[];for(let i=0;i<n.length;i++)if(typeof n[i]=="string"){if(!tc(n[i]))throw new Me(`invalid ${e} header`);s.push(n[i])}else if(n[i]===null)s.push("");else{if(typeof n[i]=="object")throw new Me(`invalid ${e} header`);{let a=`${n[i]}`;if(!tc(a))throw new Me(`invalid ${e} header`);s.push(a)}}n=s}else if(typeof n=="string"){if(!tc(n))throw new Me(`invalid ${e} header`)}else if(n===null)n="";else if(n=`${n}`,!tc(n))throw new Me(`invalid ${e} header`);if(r==="host"){if(t.host!==null)throw new Me("duplicate host header");if(typeof n!="string")throw new Me("invalid host header");t.host=n}else if(r==="content-length"){if(t.contentLength!==null)throw new Me("duplicate content-length header");if(t.contentLength=parseInt(n,10),!Number.isFinite(t.contentLength))throw new Me("invalid content-length header")}else if(t.contentType===null&&r==="content-type")t.contentType=n,t.headers.push(e,n);else{if(r==="transfer-encoding"||r==="keep-alive"||r==="upgrade")throw new Me(`invalid ${r} header`);if(r==="connection"){let s=typeof n=="string"?n.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Me("invalid connection header");s==="close"&&(t.reset=!0)}else{if(r==="expect")throw new sN("expect header not supported");t.headers.push(e,n)}}}CC.exports=Pp});var nc=L((hz,BC)=>{"use strict";var gN=require("node:events"),iA=class extends gN{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let n=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let s of n)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(r=s(r),r==null||typeof r!="function"||r.length!==2)throw new TypeError("invalid interceptor")}return new Op(this,r)}},Op=class extends iA{#e=null;#t=null;constructor(e,n){super(),this.#e=e,this.#t=n}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};BC.exports=iA});var So=L((fz,QC)=>{"use strict";var mN=require("node:buffer"),yN=nc(),{ClientDestroyedError:$p,ClientClosedError:EN,InvalidArgumentError:wo}=xe(),{kDestroy:CN,kClose:IN,kClosed:rc,kDestroyed:Qo,kDispatch:Vp,kInterceptors:ni}=He(),Dr=Symbol("onDestroyed"),bo=Symbol("onClosed"),oA=Symbol("Intercepted Dispatch"),Gp=Symbol("webSocketOptions"),wC=Symbol("eventSourceOptions"),Hp=class extends yN{constructor(e){super(),this[Qo]=!1,this[Dr]=null,this[rc]=!1,this[bo]=[],this[Gp]=e?.webSocket??{},this[wC]=e?.eventSource??{}}get webSocketOptions(){return{maxFragments:this[Gp].maxFragments??131072,maxPayloadSize:this[Gp].maxPayloadSize??128*1024*1024}}get eventSourceOptions(){return{maxEventSize:this[wC].maxEventSize??mN.kStringMaxLength}}get destroyed(){return this[Qo]}get closed(){return this[rc]}get interceptors(){return this[ni]}set interceptors(e){if(e){for(let n=e.length-1;n>=0;n--)if(typeof this[ni][n]!="function")throw new wo("interceptor must be an function")}this[ni]=e}close(e){if(e===void 0)return new Promise((r,s)=>{this.close((i,a)=>i?s(i):r(a))});if(typeof e!="function")throw new wo("invalid callback");if(this[Qo]){queueMicrotask(()=>e(new $p,null));return}if(this[rc]){this[bo]?this[bo].push(e):queueMicrotask(()=>e(null,null));return}this[rc]=!0,this[bo].push(e);let n=()=>{let r=this[bo];this[bo]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[IN]().then(()=>this.destroy()).then(()=>{queueMicrotask(n)})}destroy(e,n){if(typeof e=="function"&&(n=e,e=null),n===void 0)return new Promise((s,i)=>{this.destroy(e,(a,c)=>a?i(a):s(c))});if(typeof n!="function")throw new wo("invalid callback");if(this[Qo]){this[Dr]?this[Dr].push(n):queueMicrotask(()=>n(null,null));return}e||(e=new $p),this[Qo]=!0,this[Dr]=this[Dr]||[],this[Dr].push(n);let r=()=>{let s=this[Dr];this[Dr]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[CN](e).then(()=>{queueMicrotask(r)})}[oA](e,n){if(!this[ni]||this[ni].length===0)return this[oA]=this[Vp],this[Vp](e,n);let r=this[Vp].bind(this);for(let s=this[ni].length-1;s>=0;s--)r=this[ni][s](r);return this[oA]=r,r(e,n)}dispatch(e,n){if(!n||typeof n!="object")throw new wo("handler must be an object");try{if(!e||typeof e!="object")throw new wo("opts must be an object.");if(this[Qo]||this[Dr])throw new $p;if(this[rc])throw new EN;return this[oA](e,n)}catch(r){if(typeof n.onError!="function")throw new wo("invalid onError method");return n.onError(r),!1}}};QC.exports=Hp});var Kp=L((gz,vC)=>{"use strict";var ko=0,Yp=1e3,qp=(Yp>>1)-1,Nr,jp=Symbol("kFastTimer"),Fr=[],Jp=-2,Wp=-1,SC=0,bC=1;function zp(){ko+=qp;let t=0,e=Fr.length;for(;t<e;){let n=Fr[t];n._state===SC?(n._idleStart=ko-qp,n._state=bC):n._state===bC&&ko>=n._idleStart+n._idleTimeout&&(n._state=Wp,n._idleStart=-1,n._onTimeout(n._timerArg)),n._state===Wp?(n._state=Jp,--e!==0&&(Fr[t]=Fr[e])):++t}Fr.length=e,Fr.length!==0&&kC()}function kC(){Nr?Nr.refresh():(clearTimeout(Nr),Nr=setTimeout(zp,qp),Nr.unref&&Nr.unref())}var aA=class{[jp]=!0;_state=Jp;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,n,r){this._onTimeout=e,this._idleTimeout=n,this._timerArg=r,this.refresh()}refresh(){this._state===Jp&&Fr.push(this),(!Nr||Fr.length===1)&&kC(),this._state=SC}clear(){this._state=Wp,this._idleStart=-1}};vC.exports={setTimeout(t,e,n){return e<=Yp?setTimeout(t,e,n):new aA(t,e,n)},clearTimeout(t){t[jp]?t.clear():clearTimeout(t)},setFastTimeout(t,e,n){return new aA(t,e,n)},clearFastTimeout(t){t.clear()},now(){return ko},tick(t=0){ko+=t-Yp+1,zp(),zp()},reset(){ko=0,Fr.length=0,clearTimeout(Nr),Nr=null},kFastTimer:jp}});var sc=L((Ez,NC)=>{"use strict";var BN=require("node:net"),RC=require("node:assert"),DC=Ie(),{InvalidArgumentError:wN,ConnectTimeoutError:QN}=xe(),cA=Kp();function xC(){}var Zp,Xp;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Xp=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(n=>{if(this._sessionCache.size<this._maxCachedSessions)return;let r=this._sessionCache.get(n);r!==void 0&&r.deref()===void 0&&this._sessionCache.delete(n)})}get(e){let n=this._sessionCache.get(e);return n?n.deref():null}set(e,n){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(n)),this._sessionRegistry.register(n,e))}}:Xp=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,n){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:r}=this._sessionCache.keys().next();this._sessionCache.delete(r)}this._sessionCache.set(e,n)}}};function bN({allowH2:t,maxCachedSessions:e,socketPath:n,timeout:r,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new wN("maxCachedSessions must be a positive integer or zero");let a={path:n,...i},c=new Xp(e??100);return r=r??1e4,t=t??!1,function({hostname:l,host:p,protocol:h,port:g,servername:C,localAddress:S,httpSocket:v},T){let x;if(h==="https:"){Zp||(Zp=require("node:tls")),C=C||a.servername||DC.getServerName(p)||null;let Y=C||l;RC(Y);let $=s||c.get(Y)||null;g=g||443,x=Zp.connect({highWaterMark:16384,...a,servername:C,session:$,localAddress:S,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:v,port:g,host:l}),x.on("session",function(ae){c.set(Y,ae)})}else RC(!v,"httpSocket can only be sent on TLS update"),g=g||80,x=BN.connect({highWaterMark:64*1024,...a,localAddress:S,port:g,host:l});if(a.keepAlive==null||a.keepAlive){let Y=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;x.setKeepAlive(!0,Y)}let F=SN(new WeakRef(x),{timeout:r,hostname:l,port:g});return x.setNoDelay(!0).once(h==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(F),T){let Y=T;T=null,Y(null,this)}}).on("error",function(Y){if(queueMicrotask(F),T){let $=T;T=null,$(Y)}}),x}}var SN=process.platform==="win32"?(t,e)=>{if(!e.timeout)return xC;let n=null,r=null,s=cA.setFastTimeout(()=>{n=setImmediate(()=>{r=setImmediate(()=>TC(t.deref(),e))})},e.timeout);return()=>{cA.clearFastTimeout(s),clearImmediate(n),clearImmediate(r)}}:(t,e)=>{if(!e.timeout)return xC;let n=null,r=cA.setFastTimeout(()=>{n=setImmediate(()=>{TC(t.deref(),e)})},e.timeout);return()=>{cA.clearFastTimeout(r),clearImmediate(n)}};function TC(t,e){if(t==null)return;let n="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:n+=` (attempted address: ${e.hostname}:${e.port},`,n+=` timeout: ${e.timeout}ms)`,DC.destroy(t,new QN(n))}NC.exports=bN});var FC=L(uA=>{"use strict";Object.defineProperty(uA,"__esModule",{value:!0});uA.enumToMap=void 0;function kN(t){let e={};return Object.keys(t).forEach(n=>{let r=t[n];typeof r=="number"&&(e[n]=r)}),e}uA.enumToMap=kN});var MC=L(H=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});H.SPECIAL_HEADERS=H.HEADER_STATE=H.MINOR=H.MAJOR=H.CONNECTION_TOKEN_CHARS=H.HEADER_CHARS=H.TOKEN=H.STRICT_TOKEN=H.HEX=H.URL_CHAR=H.STRICT_URL_CHAR=H.USERINFO_CHARS=H.MARK=H.ALPHANUM=H.NUM=H.HEX_MAP=H.NUM_MAP=H.ALPHA=H.FINISH=H.H_METHOD_MAP=H.METHOD_MAP=H.METHODS_RTSP=H.METHODS_ICE=H.METHODS_HTTP=H.METHODS=H.LENIENT_FLAGS=H.FLAGS=H.TYPE=H.ERROR=void 0;var vN=FC(),RN;(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"})(RN=H.ERROR||(H.ERROR={}));var xN;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(xN=H.TYPE||(H.TYPE={}));var TN;(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"})(TN=H.FLAGS||(H.FLAGS={}));var DN;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(DN=H.LENIENT_FLAGS||(H.LENIENT_FLAGS={}));var ne;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(ne=H.METHODS||(H.METHODS={}));H.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];H.METHODS_ICE=[ne.SOURCE];H.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];H.METHOD_MAP=vN.enumToMap(ne);H.H_METHOD_MAP={};Object.keys(H.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(H.H_METHOD_MAP[t]=H.METHOD_MAP[t])});var NN;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(NN=H.FINISH||(H.FINISH={}));H.ALPHA=[];for(let t=65;t<=90;t++)H.ALPHA.push(String.fromCharCode(t)),H.ALPHA.push(String.fromCharCode(t+32));H.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};H.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};H.NUM=["0","1","2","3","4","5","6","7","8","9"];H.ALPHANUM=H.ALPHA.concat(H.NUM);H.MARK=["-","_",".","!","~","*","'","(",")"];H.USERINFO_CHARS=H.ALPHANUM.concat(H.MARK).concat(["%",";",":","&","=","+","$",","]);H.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(H.ALPHANUM);H.URL_CHAR=H.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)H.URL_CHAR.push(t);H.HEX=H.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);H.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(H.ALPHANUM);H.TOKEN=H.STRICT_TOKEN.concat([" "]);H.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&H.HEADER_CHARS.push(t);H.CONNECTION_TOKEN_CHARS=H.HEADER_CHARS.filter(t=>t!==44);H.MAJOR=H.NUM_MAP;H.MINOR=H.MAJOR;var vo;(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"})(vo=H.HEADER_STATE||(H.HEADER_STATE={}));H.SPECIAL_HEADERS={connection:vo.CONNECTION,"content-length":vo.CONTENT_LENGTH,"proxy-connection":vo.CONNECTION,"transfer-encoding":vo.TRANSFER_ENCODING,upgrade:vo.UPGRADE}});var eh=L((Bz,UC)=>{"use strict";var{Buffer:FN}=require("node:buffer");UC.exports=FN.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvD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ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBC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YCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0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wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBAC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EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var ic=L((Qz,qC)=>{"use strict";var PC=["GET","HEAD","POST"],UN=new Set(PC),_N=[101,204,205,304],OC=[301,302,303,307,308],LN=new Set(OC),$C=["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"],PN=new Set($C),VC=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],ON=new Set(VC),$N=["follow","manual","error"],GC=["GET","HEAD","OPTIONS","TRACE"],VN=new Set(GC),GN=["navigate","same-origin","no-cors","cors"],HN=["omit","same-origin","include"],YN=["default","no-store","reload","no-cache","force-cache","only-if-cached"],qN=["content-encoding","content-language","content-location","content-type","content-length"],jN=["half"],HC=["CONNECT","TRACE","TRACK"],JN=new Set(HC),YC=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],WN=new Set(YC);qC.exports={subresource:YC,forbiddenMethods:HC,requestBodyHeader:qN,referrerPolicy:VC,requestRedirect:$N,requestMode:GN,requestCredentials:HN,requestCache:YN,redirectStatus:OC,corsSafeListedMethods:PC,nullBodyStatus:_N,safeMethods:GC,badPorts:$C,requestDuplex:jN,subresourceSet:WN,badPortsSet:PN,redirectStatusSet:LN,corsSafeListedMethodsSet:UN,safeMethodsSet:VN,forbiddenMethodsSet:JN,referrerPolicySet:ON}});var nh=L((bz,jC)=>{"use strict";var th=Symbol.for("undici.globalOrigin.1");function zN(){return globalThis[th]}function KN(t){if(t===void 0){Object.defineProperty(globalThis,th,{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,th,{value:e,writable:!0,enumerable:!1,configurable:!1})}jC.exports={getGlobalOrigin:zN,setGlobalOrigin:KN}});var Pt=L((Sz,eI)=>{"use strict";var lA=require("node:assert"),ZN=new TextEncoder,oc=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,XN=/[\u000A\u000D\u0009\u0020]/,eF=/[\u0009\u000A\u000C\u000D\u0020]/g,tF=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function nF(t){lA(t.protocol==="data:");let e=zC(t,!0);e=e.slice(5);let n={position:0},r=Ro(",",e,n),s=r.length;if(r=cF(r,!0,!0),n.position>=e.length)return"failure";n.position++;let i=e.slice(s+1),a=KC(i);if(/;(\u0020){0,}base64$/i.test(r)){let A=XC(a);if(a=sF(A),a==="failure")return"failure";r=r.slice(0,-6),r=r.replace(/(\u0020)+$/,""),r=r.slice(0,-1)}r.startsWith(";")&&(r="text/plain"+r);let c=rh(r);return c==="failure"&&(c=rh("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}function zC(t,e=!1){if(!e)return t.href;let n=t.href,r=t.hash.length,s=r===0?n:n.substring(0,n.length-r);return!r&&n.endsWith("#")?s.slice(0,-1):s}function dA(t,e,n){let r="";for(;n.position<e.length&&t(e[n.position]);)r+=e[n.position],n.position++;return r}function Ro(t,e,n){let r=e.indexOf(t,n.position),s=n.position;return r===-1?(n.position=e.length,e.slice(s)):(n.position=r,e.slice(s,n.position))}function KC(t){let e=ZN.encode(t);return rF(e)}function JC(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function WC(t){return t>=48&&t<=57?t-48:(t&223)-55}function rF(t){let e=t.length,n=new Uint8Array(e),r=0;for(let s=0;s<e;++s){let i=t[s];i!==37?n[r++]=i:i===37&&!(JC(t[s+1])&&JC(t[s+2]))?n[r++]=37:(n[r++]=WC(t[s+1])<<4|WC(t[s+2]),s+=2)}return e===r?n:n.subarray(0,r)}function rh(t){t=AA(t,!0,!0);let e={position:0},n=Ro("/",t,e);if(n.length===0||!oc.test(n)||e.position>t.length)return"failure";e.position++;let r=Ro(";",t,e);if(r=AA(r,!1,!0),r.length===0||!oc.test(r))return"failure";let s=n.toLowerCase(),i=r.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.position<t.length;){e.position++,dA(l=>XN.test(l),t,e);let c=dA(l=>l!==";"&&l!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let A=null;if(t[e.position]==='"')A=ZC(t,e,!0),Ro(";",t,e);else if(A=Ro(";",t,e),A=AA(A,!1,!0),A.length===0)continue;c.length!==0&&oc.test(c)&&(A.length===0||tF.test(A))&&!a.parameters.has(c)&&a.parameters.set(c,A)}return a}function sF(t){t=t.replace(eF,"");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 n=Buffer.from(t,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}function ZC(t,e,n){let r=e.position,s="";for(lA(t[e.position]==='"'),e.position++;s+=dA(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){s+="\\";break}s+=t[e.position],e.position++}else{lA(i==='"');break}}return n?s:t.slice(r,e.position)}function iF(t){lA(t!=="failure");let{parameters:e,essence:n}=t,r=n;for(let[s,i]of e.entries())r+=";",r+=s,r+="=",oc.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),r+=i;return r}function oF(t){return t===13||t===10||t===9||t===32}function AA(t,e=!0,n=!0){return sh(t,e,n,oF)}function aF(t){return t===13||t===10||t===9||t===12||t===32}function cF(t,e=!0,n=!0){return sh(t,e,n,aF)}function sh(t,e,n,r){let s=0,i=t.length-1;if(e)for(;s<t.length&&r(t.charCodeAt(s));)s++;if(n)for(;i>0&&r(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}function XC(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let n="",r=0,s=65535;for(;r<e;)r+s>e&&(s=e-r),n+=String.fromCharCode.apply(null,t.subarray(r,r+=s));return n}function uF(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":""}eI.exports={dataURLProcessor:nF,URLSerializer:zC,collectASequenceOfCodePoints:dA,collectASequenceOfCodePointsFast:Ro,stringPercentDecode:KC,parseMIMEType:rh,collectAnHTTPQuotedString:ZC,serializeAMimeType:iF,removeChars:sh,removeHTTPWhitespace:AA,minimizeSupportedMimeType:uF,HTTP_TOKEN_CODEPOINTS:oc,isomorphicDecode:XC}});var ft=L((kz,tI)=>{"use strict";var{types:tr,inspect:AF}=require("node:util"),{markAsUncloneable:lF}=require("node:worker_threads"),{toUSVString:dF}=Ie(),V={};V.converters={};V.util={};V.errors={};V.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};V.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",n=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return V.errors.exception({header:t.prefix,message:n})};V.errors.invalidArgument=function(t){return V.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};V.brandCheck=function(t,e,n){if(n?.strict!==!1){if(!(t instanceof e)){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}};V.argumentLengthCheck=function({length:t},e,n){if(t<e)throw V.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:n})};V.illegalConstructor=function(){throw V.errors.exception({header:"TypeError",message:"Illegal constructor"})};V.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"}};V.util.markAsUncloneable=lF||(()=>{});V.util.ConvertToInt=function(t,e,n,r){let s,i;e===64?(s=Math.pow(2,53)-1,n==="unsigned"?i=0:i=Math.pow(-2,53)+1):n==="unsigned"?(i=0,s=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,s=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),r?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw V.errors.exception({header:"Integer conversion",message:`Could not convert ${V.util.Stringify(t)} to an integer.`});if(a=V.util.IntegerPart(a),a<i||a>s)throw V.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${a}.`});return a}return!Number.isNaN(a)&&r?.clamp===!0?(a=Math.min(Math.max(a,i),s),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=V.util.IntegerPart(a),a=a%Math.pow(2,e),n==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};V.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};V.util.Stringify=function(t){switch(V.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return AF(t);case"String":return`"${t}"`;default:return`${t}`}};V.sequenceConverter=function(t){return(e,n,r,s)=>{if(V.util.Type(e)!=="Object")throw V.errors.exception({header:n,message:`${r} (${V.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw V.errors.exception({header:n,message:`${r} is not iterable.`});for(;;){let{done:A,value:l}=i.next();if(A)break;a.push(t(l,n,`${r}[${c++}]`))}return a}};V.recordConverter=function(t,e){return(n,r,s)=>{if(V.util.Type(n)!=="Object")throw V.errors.exception({header:r,message:`${s} ("${V.util.Type(n)}") is not an Object.`});let i={};if(!tr.isProxy(n)){let c=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(let A of c){let l=t(A,r,s),p=e(n[A],r,s);i[l]=p}return i}let a=Reflect.ownKeys(n);for(let c of a)if(Reflect.getOwnPropertyDescriptor(n,c)?.enumerable){let l=t(c,r,s),p=e(n[c],r,s);i[l]=p}return i}};V.interfaceConverter=function(t){return(e,n,r,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw V.errors.exception({header:n,message:`Expected ${r} ("${V.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};V.dictionaryConverter=function(t){return(e,n,r)=>{let s=V.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw V.errors.exception({header:n,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:A,required:l,converter:p}=a;if(l===!0&&!Object.hasOwn(e,c))throw V.errors.exception({header:n,message:`Missing required key "${c}".`});let h=e[c],g=Object.hasOwn(a,"defaultValue");if(g&&h!==null&&(h??=A()),l||g||h!==void 0){if(h=p(h,n,`${r}.${c}`),a.allowedValues&&!a.allowedValues.includes(h))throw V.errors.exception({header:n,message:`${h} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=h}}return i}};V.nullableConverter=function(t){return(e,n,r)=>e===null?e:t(e,n,r)};V.converters.DOMString=function(t,e,n,r){if(t===null&&r?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw V.errors.exception({header:e,message:`${n} is a symbol, which cannot be converted to a DOMString.`});return String(t)};V.converters.ByteString=function(t,e,n){let r=V.converters.DOMString(t,e,n);for(let s=0;s<r.length;s++)if(r.charCodeAt(s)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${s} has a value of ${r.charCodeAt(s)} which is greater than 255.`);return r};V.converters.USVString=dF;V.converters.boolean=function(t){return!!t};V.converters.any=function(t){return t};V.converters["long long"]=function(t,e,n){return V.util.ConvertToInt(t,64,"signed",void 0,e,n)};V.converters["unsigned long long"]=function(t,e,n){return V.util.ConvertToInt(t,64,"unsigned",void 0,e,n)};V.converters["unsigned long"]=function(t,e,n){return V.util.ConvertToInt(t,32,"unsigned",void 0,e,n)};V.converters["unsigned short"]=function(t,e,n,r){return V.util.ConvertToInt(t,16,"unsigned",r,e,n)};V.converters.ArrayBuffer=function(t,e,n,r){if(V.util.Type(t)!=="Object"||!tr.isAnyArrayBuffer(t))throw V.errors.conversionFailed({prefix:e,argument:`${n} ("${V.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(r?.allowShared===!1&&tr.isSharedArrayBuffer(t))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.TypedArray=function(t,e,n,r,s){if(V.util.Type(t)!=="Object"||!tr.isTypedArray(t)||t.constructor.name!==e.name)throw V.errors.conversionFailed({prefix:n,argument:`${r} ("${V.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&tr.isSharedArrayBuffer(t.buffer))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.DataView=function(t,e,n,r){if(V.util.Type(t)!=="Object"||!tr.isDataView(t))throw V.errors.exception({header:e,message:`${n} is not a DataView.`});if(r?.allowShared===!1&&tr.isSharedArrayBuffer(t.buffer))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.BufferSource=function(t,e,n,r){if(tr.isAnyArrayBuffer(t))return V.converters.ArrayBuffer(t,e,n,{...r,allowShared:!1});if(tr.isTypedArray(t))return V.converters.TypedArray(t,t.constructor,e,n,{...r,allowShared:!1});if(tr.isDataView(t))return V.converters.DataView(t,e,n,{...r,allowShared:!1});throw V.errors.conversionFailed({prefix:e,argument:`${n} ("${V.util.Stringify(t)}")`,types:["BufferSource"]})};V.converters["sequence<ByteString>"]=V.sequenceConverter(V.converters.ByteString);V.converters["sequence<sequence<ByteString>>"]=V.sequenceConverter(V.converters["sequence<ByteString>"]);V.converters["record<ByteString, ByteString>"]=V.recordConverter(V.converters.ByteString,V.converters.ByteString);tI.exports={webidl:V}});var nn=L((vz,fI)=>{"use strict";var{Transform:pF}=require("node:stream"),nI=require("node:zlib"),{redirectStatusSet:hF,referrerPolicySet:fF,badPortsSet:gF}=ic(),{getGlobalOrigin:rI}=nh(),{collectASequenceOfCodePoints:ri,collectAnHTTPQuotedString:mF,removeChars:yF,parseMIMEType:EF}=Pt(),{performance:CF}=require("node:perf_hooks"),{isBlobLike:IF,ReadableStreamFrom:BF,isValidHTTPToken:sI,normalizedMethodRecordsBase:wF}=Ie(),si=require("node:assert"),{isUint8Array:QF}=require("node:util/types"),{webidl:ac}=ft(),iI=[],hA;try{hA=require("node:crypto");let t=["sha256","sha384","sha512"];iI=hA.getHashes().filter(e=>t.includes(e))}catch{}function oI(t){let e=t.urlList,n=e.length;return n===0?null:e[n-1].toString()}function bF(t,e){if(!hF.has(t.status))return null;let n=t.headersList.get("location",!0);return n!==null&&cI(n)&&(aI(n)||(n=SF(n)),n=new URL(n,oI(t))),n&&!n.hash&&(n.hash=e),n}function aI(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n>126||n<32)return!1}return!0}function SF(t){return Buffer.from(t,"binary").toString("utf8")}function uc(t){return t.urlList[t.urlList.length-1]}function kF(t){let e=uc(t);return pI(e)&&gF.has(e.port)?"blocked":"allowed"}function vF(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function RF(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(!(n===9||n>=32&&n<=126||n>=128&&n<=255))return!1}return!0}var xF=sI;function cI(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
3
|
-
`)||t.includes("\r")||t.includes("\0"))===!1}function TF(t,e){let{headersList:n}=e,r=(n.get("referrer-policy",!0)??"").split(","),s="";if(r.length>0)for(let i=r.length;i!==0;i--){let a=r[i-1].trim();if(fF.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}function DF(){return"allowed"}function NF(){return"success"}function FF(){return"success"}function MF(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function UF(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&&oh(t.origin)&&!oh(uc(t))&&(e=null);break;case"same-origin":fA(t,uc(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function xo(t,e){return t}function _F(t,e,n){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:xo(t.domainLookupStartTime,n),domainLookupEndTime:xo(t.domainLookupEndTime,n),connectionStartTime:xo(t.connectionStartTime,n),connectionEndTime:xo(t.connectionEndTime,n),secureConnectionStartTime:xo(t.secureConnectionStartTime,n),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function LF(t){return xo(CF.now(),t)}function PF(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function uI(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function OF(t){return{referrerPolicy:t.referrerPolicy}}function $F(t){let e=t.referrerPolicy;si(e);let n=null;if(t.referrer==="client"){let c=rI();if(!c||c.origin==="null")return"no-referrer";n=new URL(c)}else t.referrer instanceof URL&&(n=t.referrer);let r=ih(n),s=ih(n,!0);r.toString().length>4096&&(r=s);let i=fA(t,r),a=cc(r)&&!cc(t.url);switch(e){case"origin":return s??ih(n,!0);case"unsafe-url":return r;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?r:s;case"strict-origin-when-cross-origin":{let c=uc(t);return fA(r,c)?r:cc(r)&&!cc(c)?"no-referrer":s}default:return a?"no-referrer":s}}function ih(t,e){return si(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function cc(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(n){if(n==null||n==="null")return!1;let r=new URL(n);return!!(r.protocol==="https:"||r.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(r.hostname)||r.hostname==="localhost"||r.hostname.includes("localhost.")||r.hostname.endsWith(".localhost"))}}function VF(t,e){if(hA===void 0)return!0;let n=AI(e);if(n==="no metadata"||n.length===0)return!0;let r=HF(n),s=YF(n,r);for(let i of s){let a=i.algo,c=i.hash,A=hA.createHash(a).update(t).digest("base64");if(A[A.length-1]==="="&&(A[A.length-2]==="="?A=A.slice(0,-2):A=A.slice(0,-1)),qF(A,c))return!0}return!1}var GF=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function AI(t){let e=[],n=!0;for(let r of t.split(" ")){n=!1;let s=GF.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();iI.includes(i)&&e.push(s.groups)}return n===!0?"no metadata":e}function HF(t){let e=t[0].algo;if(e[3]==="5")return e;for(let n=1;n<t.length;++n){let r=t[n];if(r.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;r.algo[3]==="3"&&(e="sha384")}}return e}function YF(t,e){if(t.length===1)return t;let n=0;for(let r=0;r<t.length;++r)t[r].algo===e&&(t[n++]=t[r]);return t.length=n,t}function qF(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(t[n]!==e[n]){if(t[n]==="+"&&e[n]==="-"||t[n]==="/"&&e[n]==="_")continue;return!1}return!0}function jF(t){}function fA(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function JF(){let t,e;return{promise:new Promise((r,s)=>{t=r,e=s}),resolve:t,reject:e}}function WF(t){return t.controller.state==="aborted"}function zF(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function KF(t){return wF[t.toLowerCase()]??t}function ZF(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return si(typeof e=="string"),e}var XF=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function lI(t,e,n=0,r=1){class s{#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],A=c.length;if(a>=A)return{value:void 0,done:!0};let{[n]:l,[r]:p}=c[a];this.#n=a+1;let h;switch(this.#t){case"key":h=l;break;case"value":h=p;break;case"key+value":h=[l,p];break}return{value:h,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,XF),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new s(i,a)}}function eM(t,e,n,r=0,s=1){let i=lI(t,n,r,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(A,l=globalThis){if(ac.brandCheck(this,e),ac.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof A!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:p,1:h}of i(this,"key+value"))A.call(l,h,p,this)}}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}async function tM(t,e,n){let r=e,s=n,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{r(await dI(i))}catch(a){s(a)}}function nM(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}function rM(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}var sM=/[^\x00-\xFF]/;function pA(t){return si(!sM.test(t)),t}async function dI(t){let e=[],n=0;for(;;){let{done:r,value:s}=await t.read();if(r)return Buffer.concat(e,n);if(!QF(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),n+=s.length}}function iM(t){si("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function oh(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}function pI(t){si("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}function oM(t,e){let n=t;if(!n.startsWith("bytes"))return"failure";let r={position:5};if(e&&ri(A=>A===" "||A===" ",n,r),n.charCodeAt(r.position)!==61)return"failure";r.position++,e&&ri(A=>A===" "||A===" ",n,r);let s=ri(A=>{let l=A.charCodeAt(0);return l>=48&&l<=57},n,r),i=s.length?Number(s):null;if(e&&ri(A=>A===" "||A===" ",n,r),n.charCodeAt(r.position)!==45)return"failure";r.position++,e&&ri(A=>A===" "||A===" ",n,r);let a=ri(A=>{let l=A.charCodeAt(0);return l>=48&&l<=57},n,r),c=a.length?Number(a):null;return r.position<n.length||c===null&&i===null||i>c?"failure":{rangeStartValue:i,rangeEndValue:c}}function aM(t,e,n){let r="bytes ";return r+=pA(`${t}`),r+="-",r+=pA(`${e}`),r+="/",r+=pA(`${n}`),r}var ah=class extends pF{#e;constructor(e){super(),this.#e=e}_transform(e,n,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?nI.createInflate(this.#e):nI.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(e,n,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function cM(t){return new ah(t)}function uM(t){let e=null,n=null,r=null,s=hI("content-type",t);if(s===null)return"failure";for(let i of s){let a=EF(i);a==="failure"||a.essence==="*/*"||(r=a,r.essence!==n?(e=null,r.parameters.has("charset")&&(e=r.parameters.get("charset")),n=r.essence):!r.parameters.has("charset")&&e!==null&&r.parameters.set("charset",e))}return r??"failure"}function AM(t){let e=t,n={position:0},r=[],s="";for(;n.position<e.length;){if(s+=ri(i=>i!=='"'&&i!==",",e,n),n.position<e.length)if(e.charCodeAt(n.position)===34){if(s+=mF(e,n),n.position<e.length)continue}else si(e.charCodeAt(n.position)===44),n.position++;s=yF(s,!0,!0,i=>i===9||i===32),r.push(s),s=""}return r}function hI(t,e){let n=e.get(t,!0);return n===null?null:AM(n)}var lM=new TextDecoder;function dM(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),lM.decode(t))}var ch=class{get baseUrl(){return rI()}get origin(){return this.baseUrl?.origin}policyContainer=uI()},uh=class{settingsObject=new ch},pM=new uh;fI.exports={isAborted:WF,isCancelled:zF,isValidEncodedURL:aI,createDeferredPromise:JF,ReadableStreamFrom:BF,tryUpgradeRequestToAPotentiallyTrustworthyURL:jF,clampAndCoarsenConnectionTimingInfo:_F,coarsenedSharedCurrentTime:LF,determineRequestsReferrer:$F,makePolicyContainer:uI,clonePolicyContainer:OF,appendFetchMetadata:MF,appendRequestOriginHeader:UF,TAOCheck:FF,corsCheck:NF,crossOriginResourcePolicyCheck:DF,createOpaqueTimingInfo:PF,setRequestReferrerPolicyOnRedirect:TF,isValidHTTPToken:sI,requestBadPort:kF,requestCurrentURL:uc,responseURL:oI,responseLocationURL:bF,isBlobLike:IF,isURLPotentiallyTrustworthy:cc,isValidReasonPhrase:RF,sameOrigin:fA,normalizeMethod:KF,serializeJavascriptValueToJSONString:ZF,iteratorMixin:eM,createIterator:lI,isValidHeaderName:xF,isValidHeaderValue:cI,isErrorLike:vF,fullyReadBody:tM,bytesMatch:VF,isReadableStreamLike:nM,readableStreamClose:rM,isomorphicEncode:pA,urlIsLocal:iM,urlHasHttpsScheme:oh,urlIsHttpHttpsScheme:pI,readAllBytes:dI,simpleRangeHeaderValue:oM,buildContentRange:aM,parseMetadata:AI,createInflate:cM,extractMimeType:uM,getDecodeSplit:hI,utf8DecodeBytes:dM,environmentSettingsObject:pM}});var us=L((Rz,gI)=>{"use strict";gI.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var lh=L((xz,mI)=>{"use strict";var{Blob:hM,File:fM}=require("node:buffer"),{kState:Mr}=us(),{webidl:nr}=ft(),Ah=class t{constructor(e,n,r={}){let s=n,i=r.type,a=r.lastModified??Date.now();this[Mr]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return nr.brandCheck(this,t),this[Mr].blobLike.stream(...e)}arrayBuffer(...e){return nr.brandCheck(this,t),this[Mr].blobLike.arrayBuffer(...e)}slice(...e){return nr.brandCheck(this,t),this[Mr].blobLike.slice(...e)}text(...e){return nr.brandCheck(this,t),this[Mr].blobLike.text(...e)}get size(){return nr.brandCheck(this,t),this[Mr].blobLike.size}get type(){return nr.brandCheck(this,t),this[Mr].blobLike.type}get name(){return nr.brandCheck(this,t),this[Mr].name}get lastModified(){return nr.brandCheck(this,t),this[Mr].lastModified}get[Symbol.toStringTag](){return"File"}};nr.converters.Blob=nr.interfaceConverter(hM);function gM(t){return t instanceof fM||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}mI.exports={FileLike:Ah,isFileLike:gM}});var lc=L((Tz,BI)=>{"use strict";var{isBlobLike:gA,iteratorMixin:mM}=nn(),{kState:vt}=us(),{kEnumerableProperty:To}=Ie(),{FileLike:yI,isFileLike:yM}=lh(),{webidl:Oe}=ft(),{File:II}=require("node:buffer"),EI=require("node:util"),CI=globalThis.File??II,Ac=class t{constructor(e){if(Oe.util.markAsUncloneable(this),e!==void 0)throw Oe.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[vt]=[]}append(e,n,r=void 0){Oe.brandCheck(this,t);let s="FormData.append";if(Oe.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gA(n))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,s,"name"),n=gA(n)?Oe.converters.Blob(n,s,"value",{strict:!1}):Oe.converters.USVString(n,s,"value"),r=arguments.length===3?Oe.converters.USVString(r,s,"filename"):void 0;let i=dh(e,n,r);this[vt].push(i)}delete(e){Oe.brandCheck(this,t);let n="FormData.delete";Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt]=this[vt].filter(r=>r.name!==e)}get(e){Oe.brandCheck(this,t);let n="FormData.get";Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name");let r=this[vt].findIndex(s=>s.name===e);return r===-1?null:this[vt][r].value}getAll(e){Oe.brandCheck(this,t);let n="FormData.getAll";return Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt].filter(r=>r.name===e).map(r=>r.value)}has(e){Oe.brandCheck(this,t);let n="FormData.has";return Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt].findIndex(r=>r.name===e)!==-1}set(e,n,r=void 0){Oe.brandCheck(this,t);let s="FormData.set";if(Oe.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gA(n))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,s,"name"),n=gA(n)?Oe.converters.Blob(n,s,"name",{strict:!1}):Oe.converters.USVString(n,s,"name"),r=arguments.length===3?Oe.converters.USVString(r,s,"name"):void 0;let i=dh(e,n,r),a=this[vt].findIndex(c=>c.name===e);a!==-1?this[vt]=[...this[vt].slice(0,a),i,...this[vt].slice(a+1).filter(c=>c.name!==e)]:this[vt].push(i)}[EI.inspect.custom](e,n){let r=this[vt].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});n.depth??=e,n.colors??=!0;let s=EI.formatWithOptions(n,r);return`FormData ${s.slice(s.indexOf("]")+2)}`}};mM("FormData",Ac,vt,"name","value");Object.defineProperties(Ac.prototype,{append:To,delete:To,get:To,getAll:To,has:To,set:To,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function dh(t,e,n){if(typeof e!="string"){if(yM(e)||(e=e instanceof Blob?new CI([e],"blob",{type:e.type}):new yI(e,"blob",{type:e.type})),n!==void 0){let r={type:e.type,lastModified:e.lastModified};e=e instanceof II?new CI([e],n,r):new yI(e,n,r)}}return{name:t,value:e}}BI.exports={FormData:Ac,makeEntry:dh}});var vI=L((Dz,kI)=>{"use strict";var{isUSVString:wI,bufferToLowerCasedHeaderName:EM}=Ie(),{utf8DecodeBytes:CM}=nn(),{HTTP_TOKEN_CODEPOINTS:IM,isomorphicDecode:QI}=Pt(),{isFileLike:BM}=lh(),{makeEntry:wM}=lc(),mA=require("node:assert"),{File:QM}=require("node:buffer"),bM=globalThis.File??QM,SM=Buffer.from('form-data; name="'),bI=Buffer.from("; filename"),kM=Buffer.from("--"),vM=Buffer.from(`--\r
|
|
2
|
+
`,h.message,h.stack);var g=new Error("tunneling socket could not be established, cause="+h.message);g.code="ECONNRESET",e.request.emit("error",g),r.removeSocket(s)}};Tr.prototype.removeSocket=function(e){var n=this.sockets.indexOf(e);if(n!==-1){this.sockets.splice(n,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function yE(t,e){var n=this;Tr.prototype.createSocket.call(n,t,function(r){var s=t.request.getHeader("host"),i=Ap({},n.options,{socket:r,servername:s?s.replace(/:.*$/,""):t.host}),a=cD.connect(0,i);n.sockets[n.sockets.indexOf(r)]=a,e(a)})}function EE(t,e,n){return typeof t=="string"?{host:t,port:e,localAddress:n}:t}function Ap(t){for(var e=1,n=arguments.length;e<n;++e){var r=arguments[e];if(typeof r=="object")for(var s=Object.keys(r),i=0,a=s.length;i<a;++i){var c=s[i];r[c]!==void 0&&(t[c]=r[c])}}return t}var cs;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?cs=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)}:cs=function(){};Co.debug=cs});var BE=L((oz,IE)=>{IE.exports=CE()});var He=L((az,wE)=>{wE.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 xe=L((cz,JE)=>{"use strict";var QE=Symbol.for("undici.error.UND_ERR"),Ye=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[QE]===!0}[QE]=!0},bE=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),lp=class extends Ye{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[bE]===!0}[bE]=!0},SE=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),dp=class extends Ye{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[SE]===!0}[SE]=!0},kE=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),pp=class extends Ye{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[kE]===!0}[kE]=!0},vE=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),hp=class extends Ye{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[vE]===!0}[vE]=!0},RE=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),fp=class extends Ye{constructor(e,n,r,s){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=n,this.statusCode=n,this.headers=r}static[Symbol.hasInstance](e){return e&&e[RE]===!0}[RE]=!0},xE=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),gp=class extends Ye{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[xE]===!0}[xE]=!0},TE=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),mp=class extends Ye{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[TE]===!0}[TE]=!0},DE=Symbol.for("undici.error.UND_ERR_ABORT"),Wu=class extends Ye{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[DE]===!0}[DE]=!0},NE=Symbol.for("undici.error.UND_ERR_ABORTED"),yp=class extends Wu{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[NE]===!0}[NE]=!0},FE=Symbol.for("undici.error.UND_ERR_INFO"),Ep=class extends Ye{constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[FE]===!0}[FE]=!0},ME=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),Cp=class extends Ye{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[ME]===!0}[ME]=!0},_E=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),Ip=class extends Ye{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[_E]===!0}[_E]=!0},UE=Symbol.for("undici.error.UND_ERR_DESTROYED"),Bp=class extends Ye{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[UE]===!0}[UE]=!0},LE=Symbol.for("undici.error.UND_ERR_CLOSED"),wp=class extends Ye{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[LE]===!0}[LE]=!0},PE=Symbol.for("undici.error.UND_ERR_SOCKET"),Qp=class extends Ye{constructor(e,n){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=n}static[Symbol.hasInstance](e){return e&&e[PE]===!0}[PE]=!0},OE=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),bp=class extends Ye{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[OE]===!0}[OE]=!0},$E=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),Sp=class extends Ye{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[$E]===!0}[$E]=!0},VE=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),kp=class extends Error{constructor(e,n,r){super(e),this.name="HTTPParserError",this.code=n?`HPE_${n}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&e[VE]===!0}[VE]=!0},GE=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),vp=class extends Ye{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[GE]===!0}[GE]=!0},HE=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),Rp=class extends Ye{constructor(e,n,{headers:r,data:s}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=n,this.data=s,this.headers=r}static[Symbol.hasInstance](e){return e&&e[HE]===!0}[HE]=!0},YE=Symbol.for("undici.error.UND_ERR_RESPONSE"),xp=class extends Ye{constructor(e,n,{headers:r,data:s}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=n,this.data=s,this.headers=r}static[Symbol.hasInstance](e){return e&&e[YE]===!0}[YE]=!0},qE=Symbol.for("undici.error.UND_ERR_PRX_TLS"),Tp=class extends Ye{constructor(e,n,r){super(n,{cause:e,...r??{}}),this.name="SecureProxyConnectionError",this.message=n||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[qE]===!0}[qE]=!0},jE=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),Dp=class extends Ye{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[jE]===!0}get[jE](){return!0}};JE.exports={AbortError:Wu,HTTPParserError:kp,UndiciError:Ye,HeadersTimeoutError:dp,HeadersOverflowError:pp,BodyTimeoutError:hp,RequestContentLengthMismatchError:Cp,ConnectTimeoutError:lp,ResponseStatusCodeError:fp,InvalidArgumentError:gp,InvalidReturnValueError:mp,RequestAbortedError:yp,ClientDestroyedError:Bp,ClientClosedError:wp,InformationalError:Ep,SocketError:Qp,NotSupportedError:bp,ResponseContentLengthMismatchError:Ip,BalancedPoolMissingUpstreamError:Sp,ResponseExceededMaxSizeError:vp,RequestRetryError:Rp,ResponseError:xp,SecureProxyConnectionError:Tp,MessageSizeExceededError:Dp}});var Ku=L((uz,WE)=>{"use strict";var zu={},Np=["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<Np.length;++t){let e=Np[t],n=e.toLowerCase();zu[e]=zu[n]=n}Object.setPrototypeOf(zu,null);WE.exports={wellknownHeaderNames:Np,headerNameLowerCasedRecord:zu}});var XE=L((Az,ZE)=>{"use strict";var{wellknownHeaderNames:zE,headerNameLowerCasedRecord:fD}=Ku(),Fp=class t{value=null;left=null;middle=null;right=null;code;constructor(e,n,r){if(r===void 0||r>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw new TypeError("key must be ascii string");e.length!==++r?this.middle=new t(e,n,r):this.value=n}add(e,n){let r=e.length;if(r===0)throw new TypeError("Unreachable");let s=0,i=this;for(;;){let a=e.charCodeAt(s);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(r===++s){i.value=n;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,n,s);break}else if(i.code<a)if(i.left!==null)i=i.left;else{i.left=new t(e,n,s);break}else if(i.right!==null)i=i.right;else{i.right=new t(e,n,s);break}}}search(e){let n=e.length,r=0,s=this;for(;s!==null&&r<n;){let i=e[r];for(i<=90&&i>=65&&(i|=32);s!==null;){if(i===s.code){if(n===++r)return s;s=s.middle;break}s=s.code<i?s.left:s.right}}return null}},Zu=class{node=null;insert(e,n){this.node===null?this.node=new Fp(e,n,0):this.node.add(e,n)}lookup(e){return this.node?.search(e)?.value??null}},KE=new Zu;for(let t=0;t<zE.length;++t){let e=fD[zE[t]];KE.insert(e,e)}ZE.exports={TernarySearchTree:Zu,tree:KE}});var Ie=L((lz,fC)=>{"use strict";var ec=require("node:assert"),{kDestroyed:tC,kBodyUsed:Io,kListeners:Mp,kBody:eC}=He(),{IncomingMessage:gD}=require("node:http"),tA=require("node:stream"),mD=require("node:net"),{Blob:yD}=require("node:buffer"),ED=require("node:util"),{stringify:CD}=require("node:querystring"),{EventEmitter:ID}=require("node:events"),{InvalidArgumentError:at}=xe(),{headerNameLowerCasedRecord:BD}=Ku(),{tree:nC}=XE(),[wD,QD]=process.versions.node.split(".").map(t=>Number(t)),eA=class{constructor(e){this[eC]=e,this[Io]=!1}async*[Symbol.asyncIterator](){ec(!this[Io],"disturbed"),this[Io]=!0,yield*this[eC]}};function bD(t){return nA(t)?(aC(t)===0&&t.on("data",function(){ec(!1)}),typeof t.readableDidRead!="boolean"&&(t[Io]=!1,ID.prototype.on.call(t,"data",function(){this[Io]=!0})),t):t&&typeof t.pipeTo=="function"?new eA(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&oC(t)?new eA(t):t}function SD(){}function nA(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function rC(t){if(t===null)return!1;if(t instanceof yD)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}function kD(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let n=CD(e);return n&&(t+="?"+n),t}function sC(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}function Xu(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}function iC(t){if(typeof t=="string"){if(t=new URL(t),!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new at("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&sC(t.port)===!1)throw new at("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 at("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new at("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new at("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new at("Invalid URL origin: the origin must be a string or null/undefined.");if(!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,n=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,r=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return n[n.length-1]==="/"&&(n=n.slice(0,n.length-1)),r&&r[0]!=="/"&&(r=`/${r}`),new URL(`${n}${r}`)}if(!Xu(t.origin||t.protocol))throw new at("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}function vD(t){if(t=iC(t),t.pathname!=="/"||t.search||t.hash)throw new at("invalid url");return t}function RD(t){if(t[0]==="["){let n=t.indexOf("]");return ec(n!==-1),t.substring(1,n)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function xD(t){if(!t)return null;ec(typeof t=="string");let e=RD(t);return mD.isIP(e)?"":e}function TD(t){return JSON.parse(JSON.stringify(t))}function DD(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function oC(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function aC(t){if(t==null)return 0;if(nA(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(rC(t))return t.size!=null?t.size:null;if(AC(t))return t.byteLength}return null}function cC(t){return t&&!!(t.destroyed||t[tC]||tA.isDestroyed?.(t))}function ND(t,e){t==null||!nA(t)||cC(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===gD&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[tC]=!0))}var FD=/timeout=(\d+)/;function MD(t){let e=t.toString().match(FD);return e?parseInt(e[1],10)*1e3:null}function uC(t){return typeof t=="string"?BD[t]??t.toLowerCase():nC.lookup(t)??t.toString("latin1").toLowerCase()}function _D(t){return nC.lookup(t)??t.toString("latin1").toLowerCase()}function UD(t,e){e===void 0&&(e={});for(let n=0;n<t.length;n+=2){let r=uC(t[n]),s=e[r];if(s)typeof s=="string"&&(s=[s],e[r]=s),s.push(t[n+1].toString("utf8"));else{let i=t[n+1];typeof i=="string"?e[r]=i:e[r]=Array.isArray(i)?i.map(a=>a.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}function LD(t){let e=t.length,n=new Array(e),r=!1,s=-1,i,a,c=0;for(let A=0;A<t.length;A+=2)i=t[A],a=t[A+1],typeof i!="string"&&(i=i.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=i.length,c===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?r=!0:c===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(s=A+1),n[A]=i,n[A+1]=a;return r&&s!==-1&&(n[s]=Buffer.from(n[s]).toString("latin1")),n}function AC(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function PD(t,e,n){if(!t||typeof t!="object")throw new at("handler must be an object");if(typeof t.onConnect!="function")throw new at("invalid onConnect method");if(typeof t.onError!="function")throw new at("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new at("invalid onBodySent method");if(n||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new at("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new at("invalid onHeaders method");if(typeof t.onData!="function")throw new at("invalid onData method");if(typeof t.onComplete!="function")throw new at("invalid onComplete method")}}function OD(t){return!!(t&&(tA.isDisturbed(t)||t[Io]))}function $D(t){return!!(t&&tA.isErrored(t))}function VD(t){return!!(t&&tA.isReadable(t))}function GD(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}function HD(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(n){let{done:r,value:s}=await e.next();if(r)queueMicrotask(()=>{n.close(),n.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);i.byteLength&&n.enqueue(new Uint8Array(i))}return n.desiredSize>0},async cancel(n){await e.return()},type:"bytes"})}function YD(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}function qD(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}var jD=typeof String.prototype.toWellFormed=="function",JD=typeof String.prototype.isWellFormed=="function";function lC(t){return jD?`${t}`.toWellFormed():ED.toUSVString(t)}function WD(t){return JD?`${t}`.isWellFormed():lC(t)===`${t}`}function dC(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}function zD(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!dC(t.charCodeAt(e)))return!1;return!0}var KD=/[^\t\x20-\x7e\x80-\xff]/;function ZD(t){return!KD.test(t)}function XD(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}function eN(t,e,n){return(t[Mp]??=[]).push([e,n]),t.on(e,n),t}function tN(t){for(let[e,n]of t[Mp]??[])t.removeListener(e,n);t[Mp]=null}function nN(t,e,n){try{e.onError(n),ec(e.aborted)}catch(r){t.emit("error",r)}}var pC=Object.create(null);pC.enumerable=!0;var _p={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},hC={..._p,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(_p,null);Object.setPrototypeOf(hC,null);fC.exports={kEnumerableProperty:pC,nop:SD,isDisturbed:OD,isErrored:$D,isReadable:VD,toUSVString:lC,isUSVString:WD,isBlobLike:rC,parseOrigin:vD,parseURL:iC,getServerName:xD,isStream:nA,isIterable:oC,isAsyncIterable:DD,isDestroyed:cC,headerNameToString:uC,bufferToLowerCasedHeaderName:_D,addListener:eN,removeAllListeners:tN,errorRequest:nN,parseRawHeaders:LD,parseHeaders:UD,parseKeepAliveTimeout:MD,destroy:ND,bodyLength:aC,deepClone:TD,ReadableStreamFrom:HD,isBuffer:AC,validateHandler:PD,getSocketInfo:GD,isFormDataLike:YD,buildURL:kD,addAbortListener:qD,isValidHTTPToken:zD,isValidHeaderValue:ZD,isTokenCharCode:dC,parseRangeHeader:XD,normalizedMethodRecordsBase:_p,normalizedMethodRecords:hC,isValidPort:sC,isHttpOrHttpsPrefixed:Xu,nodeMajor:wD,nodeMinor:QD,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:bD}});var Bo=L((dz,mC)=>{"use strict";var De=require("node:diagnostics_channel"),Lp=require("node:util"),rA=Lp.debuglog("undici"),Up=Lp.debuglog("fetch"),ti=Lp.debuglog("websocket"),gC=!1,rN={beforeConnect:De.channel("undici:client:beforeConnect"),connected:De.channel("undici:client:connected"),connectError:De.channel("undici:client:connectError"),sendHeaders:De.channel("undici:client:sendHeaders"),create:De.channel("undici:request:create"),bodySent:De.channel("undici:request:bodySent"),headers:De.channel("undici:request:headers"),trailers:De.channel("undici:request:trailers"),error:De.channel("undici:request:error"),open:De.channel("undici:websocket:open"),close:De.channel("undici:websocket:close"),socketError:De.channel("undici:websocket:socket_error"),ping:De.channel("undici:websocket:ping"),pong:De.channel("undici:websocket:pong")};if(rA.enabled||Up.enabled){let t=Up.enabled?Up:rA;De.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,r,n)}),De.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,r,n)}),De.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,r,n,a.message)}),De.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("sending request to %s %s/%s",n,s,r)}),De.channel("undici:request:headers").subscribe(e=>{let{request:{method:n,path:r,origin:s},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",n,s,r,i)}),De.channel("undici:request:trailers").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("trailers received from %s %s/%s",n,s,r)}),De.channel("undici:request:error").subscribe(e=>{let{request:{method:n,path:r,origin:s},error:i}=e;t("request to %s %s/%s errored - %s",n,s,r,i.message)}),gC=!0}if(ti.enabled){if(!gC){let t=rA.enabled?rA:ti;De.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connecting to %s%s using %s%s",i,s?`:${s}`:"",r,n)}),De.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i}}=e;t("connected to %s%s using %s%s",i,s?`:${s}`:"",r,n)}),De.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:n,protocol:r,port:s,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",r,n,a.message)}),De.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:n,path:r,origin:s}}=e;t("sending request to %s %s/%s",n,s,r)})}De.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:n}}=t;ti("connection opened %s%s",e,n?`:${n}`:"")}),De.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:n,reason:r}=t;ti("closed connection to %s - %s %s",e.url,n,r)}),De.channel("undici:websocket:socket_error").subscribe(t=>{ti("connection errored - %s",t.message)}),De.channel("undici:websocket:ping").subscribe(t=>{ti("ping received")}),De.channel("undici:websocket:pong").subscribe(t=>{ti("pong received")})}mC.exports={channels:rN}});var IC=L((pz,CC)=>{"use strict";var{InvalidArgumentError:Me,NotSupportedError:sN}=xe(),tn=require("node:assert"),{isValidHTTPToken:EC,isValidHeaderValue:tc,isStream:iN,destroy:oN,isBuffer:aN,isFormDataLike:cN,isIterable:uN,isBlobLike:AN,buildURL:lN,validateHandler:dN,getServerName:pN,normalizedMethodRecords:hN}=Ie(),{channels:ht}=Bo(),{headerNameLowerCasedRecord:yC}=Ku(),fN=/[^\u0021-\u00ff]/,gn=Symbol("handler"),Pp=class{constructor(e,{path:n,method:r,body:s,headers:i,query:a,idempotent:c,blocking:A,upgrade:l,headersTimeout:p,bodyTimeout:h,reset:g,throwOnError:C,expectContinue:S,servername:v},T){if(typeof n!="string")throw new Me("path must be a string");if(n[0]!=="/"&&!(n.startsWith("http://")||n.startsWith("https://"))&&r!=="CONNECT")throw new Me("path must be an absolute URL or start with a slash");if(fN.test(n))throw new Me("invalid request path");if(typeof r!="string")throw new Me("method must be a string");if(hN[r]===void 0&&!EC(r))throw new Me("invalid request method");if(l&&typeof l!="string")throw new Me("upgrade must be a string");if(l&&!tc(l))throw new Me("invalid upgrade header");if(p!=null&&(!Number.isFinite(p)||p<0))throw new Me("invalid headersTimeout");if(h!=null&&(!Number.isFinite(h)||h<0))throw new Me("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new Me("invalid reset");if(S!=null&&typeof S!="boolean")throw new Me("invalid expectContinue");if(this.headersTimeout=p,this.bodyTimeout=h,this.throwOnError=C===!0,this.method=r,this.abort=null,s==null)this.body=null;else if(iN(s)){this.body=s;let x=this.body._readableState;(!x||!x.autoDestroy)&&(this.endHandler=function(){oN(this)},this.body.on("end",this.endHandler)),this.errorHandler=F=>{this.abort?this.abort(F):this.error=F},this.body.on("error",this.errorHandler)}else if(aN(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if(typeof s=="string")this.body=s.length?Buffer.from(s):null;else if(cN(s)||uN(s)||AN(s))this.body=s;else throw new Me("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=l||null,this.path=a?lN(n,a):n,this.origin=e,this.idempotent=c??(r==="HEAD"||r==="GET"),this.blocking=A??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=S??!1,Array.isArray(i)){if(i.length%2!==0)throw new Me("headers array must be even");for(let x=0;x<i.length;x+=2)sA(this,i[x],i[x+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let x of i){if(!Array.isArray(x)||x.length!==2)throw new Me("headers must be in key-value pair format");sA(this,x[0],x[1])}else{let x=Object.keys(i);for(let F=0;F<x.length;++F)sA(this,x[F],i[x[F]])}else if(i!=null)throw new Me("headers must be an object or an array");dN(T,r,l),this.servername=v||pN(this.host),this[gn]=T,ht.create.hasSubscribers&&ht.create.publish({request:this})}onBodySent(e){if(this[gn].onBodySent)try{return this[gn].onBodySent(e)}catch(n){this.abort(n)}}onRequestSent(){if(ht.bodySent.hasSubscribers&&ht.bodySent.publish({request:this}),this[gn].onRequestSent)try{return this[gn].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(tn(!this.aborted),tn(!this.completed),this.error)e(this.error);else return this.abort=e,this[gn].onConnect(e)}onResponseStarted(){return this[gn].onResponseStarted?.()}onHeaders(e,n,r,s){tn(!this.aborted),tn(!this.completed),ht.headers.hasSubscribers&&ht.headers.publish({request:this,response:{statusCode:e,headers:n,statusText:s}});try{return this[gn].onHeaders(e,n,r,s)}catch(i){this.abort(i)}}onData(e){tn(!this.aborted),tn(!this.completed);try{return this[gn].onData(e)}catch(n){return this.abort(n),!1}}onUpgrade(e,n,r,s=""){this.onFinally(),tn(!this.aborted),tn(!this.completed),e!==null&&this.#e(e,n,s);let i=this[gn].onUpgrade(e,n,r);return this.aborted||(this.completed=!0,e!==null&&this.#t()),i}onUpgradeResponse(e,n,r,s=""){tn(!this.aborted),tn(this.completed),ht.headers.hasSubscribers&&this.#e(e,r(n),s),this.#t()}onUpgradeError(e){tn(!this.aborted),tn(this.completed),ht.error.hasSubscribers&&ht.error.publish({request:this,error:e})}#e(e,n,r){ht.headers.hasSubscribers&&ht.headers.publish({request:this,response:{statusCode:e,headers:n,statusText:r}})}#t(){ht.trailers.hasSubscribers&&ht.trailers.publish({request:this,trailers:[]})}onComplete(e){this.onFinally(),tn(!this.aborted),this.completed=!0,ht.trailers.hasSubscribers&&ht.trailers.publish({request:this,trailers:e});try{return this[gn].onComplete(e)}catch(n){this.onError(n)}}onError(e){if(this.onFinally(),ht.error.hasSubscribers&&ht.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[gn].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,n){return sA(this,e,n),this}};function sA(t,e,n){if(n&&typeof n=="object"&&!Array.isArray(n))throw new Me(`invalid ${e} header`);if(n===void 0)return;let r=yC[e];if(r===void 0&&(r=e.toLowerCase(),yC[r]===void 0&&!EC(r)))throw new Me("invalid header key");if(Array.isArray(n)){let s=[];for(let i=0;i<n.length;i++)if(typeof n[i]=="string"){if(!tc(n[i]))throw new Me(`invalid ${e} header`);s.push(n[i])}else if(n[i]===null)s.push("");else{if(typeof n[i]=="object")throw new Me(`invalid ${e} header`);{let a=`${n[i]}`;if(!tc(a))throw new Me(`invalid ${e} header`);s.push(a)}}n=s}else if(typeof n=="string"){if(!tc(n))throw new Me(`invalid ${e} header`)}else if(n===null)n="";else if(n=`${n}`,!tc(n))throw new Me(`invalid ${e} header`);if(r==="host"){if(t.host!==null)throw new Me("duplicate host header");if(typeof n!="string")throw new Me("invalid host header");t.host=n}else if(r==="content-length"){if(t.contentLength!==null)throw new Me("duplicate content-length header");if(t.contentLength=parseInt(n,10),!Number.isFinite(t.contentLength))throw new Me("invalid content-length header")}else if(t.contentType===null&&r==="content-type")t.contentType=n,t.headers.push(e,n);else{if(r==="transfer-encoding"||r==="keep-alive"||r==="upgrade")throw new Me(`invalid ${r} header`);if(r==="connection"){let s=typeof n=="string"?n.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Me("invalid connection header");s==="close"&&(t.reset=!0)}else{if(r==="expect")throw new sN("expect header not supported");t.headers.push(e,n)}}}CC.exports=Pp});var nc=L((hz,BC)=>{"use strict";var gN=require("node:events"),iA=class extends gN{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let n=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let s of n)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(r=s(r),r==null||typeof r!="function"||r.length!==2)throw new TypeError("invalid interceptor")}return new Op(this,r)}},Op=class extends iA{#e=null;#t=null;constructor(e,n){super(),this.#e=e,this.#t=n}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};BC.exports=iA});var So=L((fz,QC)=>{"use strict";var mN=require("node:buffer"),yN=nc(),{ClientDestroyedError:$p,ClientClosedError:EN,InvalidArgumentError:wo}=xe(),{kDestroy:CN,kClose:IN,kClosed:rc,kDestroyed:Qo,kDispatch:Vp,kInterceptors:ni}=He(),Dr=Symbol("onDestroyed"),bo=Symbol("onClosed"),oA=Symbol("Intercepted Dispatch"),Gp=Symbol("webSocketOptions"),wC=Symbol("eventSourceOptions"),Hp=class extends yN{constructor(e){super(),this[Qo]=!1,this[Dr]=null,this[rc]=!1,this[bo]=[],this[Gp]=e?.webSocket??{},this[wC]=e?.eventSource??{}}get webSocketOptions(){return{maxFragments:this[Gp].maxFragments??131072,maxPayloadSize:this[Gp].maxPayloadSize??128*1024*1024}}get eventSourceOptions(){return{maxEventSize:this[wC].maxEventSize??mN.kStringMaxLength}}get destroyed(){return this[Qo]}get closed(){return this[rc]}get interceptors(){return this[ni]}set interceptors(e){if(e){for(let n=e.length-1;n>=0;n--)if(typeof this[ni][n]!="function")throw new wo("interceptor must be an function")}this[ni]=e}close(e){if(e===void 0)return new Promise((r,s)=>{this.close((i,a)=>i?s(i):r(a))});if(typeof e!="function")throw new wo("invalid callback");if(this[Qo]){queueMicrotask(()=>e(new $p,null));return}if(this[rc]){this[bo]?this[bo].push(e):queueMicrotask(()=>e(null,null));return}this[rc]=!0,this[bo].push(e);let n=()=>{let r=this[bo];this[bo]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[IN]().then(()=>this.destroy()).then(()=>{queueMicrotask(n)})}destroy(e,n){if(typeof e=="function"&&(n=e,e=null),n===void 0)return new Promise((s,i)=>{this.destroy(e,(a,c)=>a?i(a):s(c))});if(typeof n!="function")throw new wo("invalid callback");if(this[Qo]){this[Dr]?this[Dr].push(n):queueMicrotask(()=>n(null,null));return}e||(e=new $p),this[Qo]=!0,this[Dr]=this[Dr]||[],this[Dr].push(n);let r=()=>{let s=this[Dr];this[Dr]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[CN](e).then(()=>{queueMicrotask(r)})}[oA](e,n){if(!this[ni]||this[ni].length===0)return this[oA]=this[Vp],this[Vp](e,n);let r=this[Vp].bind(this);for(let s=this[ni].length-1;s>=0;s--)r=this[ni][s](r);return this[oA]=r,r(e,n)}dispatch(e,n){if(!n||typeof n!="object")throw new wo("handler must be an object");try{if(!e||typeof e!="object")throw new wo("opts must be an object.");if(this[Qo]||this[Dr])throw new $p;if(this[rc])throw new EN;return this[oA](e,n)}catch(r){if(typeof n.onError!="function")throw new wo("invalid onError method");return n.onError(r),!1}}};QC.exports=Hp});var Kp=L((gz,vC)=>{"use strict";var ko=0,Yp=1e3,qp=(Yp>>1)-1,Nr,jp=Symbol("kFastTimer"),Fr=[],Jp=-2,Wp=-1,SC=0,bC=1;function zp(){ko+=qp;let t=0,e=Fr.length;for(;t<e;){let n=Fr[t];n._state===SC?(n._idleStart=ko-qp,n._state=bC):n._state===bC&&ko>=n._idleStart+n._idleTimeout&&(n._state=Wp,n._idleStart=-1,n._onTimeout(n._timerArg)),n._state===Wp?(n._state=Jp,--e!==0&&(Fr[t]=Fr[e])):++t}Fr.length=e,Fr.length!==0&&kC()}function kC(){Nr?Nr.refresh():(clearTimeout(Nr),Nr=setTimeout(zp,qp),Nr.unref&&Nr.unref())}var aA=class{[jp]=!0;_state=Jp;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,n,r){this._onTimeout=e,this._idleTimeout=n,this._timerArg=r,this.refresh()}refresh(){this._state===Jp&&Fr.push(this),(!Nr||Fr.length===1)&&kC(),this._state=SC}clear(){this._state=Wp,this._idleStart=-1}};vC.exports={setTimeout(t,e,n){return e<=Yp?setTimeout(t,e,n):new aA(t,e,n)},clearTimeout(t){t[jp]?t.clear():clearTimeout(t)},setFastTimeout(t,e,n){return new aA(t,e,n)},clearFastTimeout(t){t.clear()},now(){return ko},tick(t=0){ko+=t-Yp+1,zp(),zp()},reset(){ko=0,Fr.length=0,clearTimeout(Nr),Nr=null},kFastTimer:jp}});var sc=L((Ez,NC)=>{"use strict";var BN=require("node:net"),RC=require("node:assert"),DC=Ie(),{InvalidArgumentError:wN,ConnectTimeoutError:QN}=xe(),cA=Kp();function xC(){}var Zp,Xp;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Xp=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(n=>{if(this._sessionCache.size<this._maxCachedSessions)return;let r=this._sessionCache.get(n);r!==void 0&&r.deref()===void 0&&this._sessionCache.delete(n)})}get(e){let n=this._sessionCache.get(e);return n?n.deref():null}set(e,n){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(n)),this._sessionRegistry.register(n,e))}}:Xp=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,n){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:r}=this._sessionCache.keys().next();this._sessionCache.delete(r)}this._sessionCache.set(e,n)}}};function bN({allowH2:t,maxCachedSessions:e,socketPath:n,timeout:r,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new wN("maxCachedSessions must be a positive integer or zero");let a={path:n,...i},c=new Xp(e??100);return r=r??1e4,t=t??!1,function({hostname:l,host:p,protocol:h,port:g,servername:C,localAddress:S,httpSocket:v},T){let x;if(h==="https:"){Zp||(Zp=require("node:tls")),C=C||a.servername||DC.getServerName(p)||null;let Y=C||l;RC(Y);let $=s||c.get(Y)||null;g=g||443,x=Zp.connect({highWaterMark:16384,...a,servername:C,session:$,localAddress:S,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:v,port:g,host:l}),x.on("session",function(ae){c.set(Y,ae)})}else RC(!v,"httpSocket can only be sent on TLS update"),g=g||80,x=BN.connect({highWaterMark:64*1024,...a,localAddress:S,port:g,host:l});if(a.keepAlive==null||a.keepAlive){let Y=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;x.setKeepAlive(!0,Y)}let F=SN(new WeakRef(x),{timeout:r,hostname:l,port:g});return x.setNoDelay(!0).once(h==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(F),T){let Y=T;T=null,Y(null,this)}}).on("error",function(Y){if(queueMicrotask(F),T){let $=T;T=null,$(Y)}}),x}}var SN=process.platform==="win32"?(t,e)=>{if(!e.timeout)return xC;let n=null,r=null,s=cA.setFastTimeout(()=>{n=setImmediate(()=>{r=setImmediate(()=>TC(t.deref(),e))})},e.timeout);return()=>{cA.clearFastTimeout(s),clearImmediate(n),clearImmediate(r)}}:(t,e)=>{if(!e.timeout)return xC;let n=null,r=cA.setFastTimeout(()=>{n=setImmediate(()=>{TC(t.deref(),e)})},e.timeout);return()=>{cA.clearFastTimeout(r),clearImmediate(n)}};function TC(t,e){if(t==null)return;let n="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:n+=` (attempted address: ${e.hostname}:${e.port},`,n+=` timeout: ${e.timeout}ms)`,DC.destroy(t,new QN(n))}NC.exports=bN});var FC=L(uA=>{"use strict";Object.defineProperty(uA,"__esModule",{value:!0});uA.enumToMap=void 0;function kN(t){let e={};return Object.keys(t).forEach(n=>{let r=t[n];typeof r=="number"&&(e[n]=r)}),e}uA.enumToMap=kN});var MC=L(H=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});H.SPECIAL_HEADERS=H.HEADER_STATE=H.MINOR=H.MAJOR=H.CONNECTION_TOKEN_CHARS=H.HEADER_CHARS=H.TOKEN=H.STRICT_TOKEN=H.HEX=H.URL_CHAR=H.STRICT_URL_CHAR=H.USERINFO_CHARS=H.MARK=H.ALPHANUM=H.NUM=H.HEX_MAP=H.NUM_MAP=H.ALPHA=H.FINISH=H.H_METHOD_MAP=H.METHOD_MAP=H.METHODS_RTSP=H.METHODS_ICE=H.METHODS_HTTP=H.METHODS=H.LENIENT_FLAGS=H.FLAGS=H.TYPE=H.ERROR=void 0;var vN=FC(),RN;(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"})(RN=H.ERROR||(H.ERROR={}));var xN;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(xN=H.TYPE||(H.TYPE={}));var TN;(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"})(TN=H.FLAGS||(H.FLAGS={}));var DN;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(DN=H.LENIENT_FLAGS||(H.LENIENT_FLAGS={}));var ne;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(ne=H.METHODS||(H.METHODS={}));H.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];H.METHODS_ICE=[ne.SOURCE];H.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];H.METHOD_MAP=vN.enumToMap(ne);H.H_METHOD_MAP={};Object.keys(H.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(H.H_METHOD_MAP[t]=H.METHOD_MAP[t])});var NN;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(NN=H.FINISH||(H.FINISH={}));H.ALPHA=[];for(let t=65;t<=90;t++)H.ALPHA.push(String.fromCharCode(t)),H.ALPHA.push(String.fromCharCode(t+32));H.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};H.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};H.NUM=["0","1","2","3","4","5","6","7","8","9"];H.ALPHANUM=H.ALPHA.concat(H.NUM);H.MARK=["-","_",".","!","~","*","'","(",")"];H.USERINFO_CHARS=H.ALPHANUM.concat(H.MARK).concat(["%",";",":","&","=","+","$",","]);H.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(H.ALPHANUM);H.URL_CHAR=H.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)H.URL_CHAR.push(t);H.HEX=H.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);H.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(H.ALPHANUM);H.TOKEN=H.STRICT_TOKEN.concat([" "]);H.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&H.HEADER_CHARS.push(t);H.CONNECTION_TOKEN_CHARS=H.HEADER_CHARS.filter(t=>t!==44);H.MAJOR=H.NUM_MAP;H.MINOR=H.MAJOR;var vo;(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"})(vo=H.HEADER_STATE||(H.HEADER_STATE={}));H.SPECIAL_HEADERS={connection:vo.CONNECTION,"content-length":vo.CONTENT_LENGTH,"proxy-connection":vo.CONNECTION,"transfer-encoding":vo.TRANSFER_ENCODING,upgrade:vo.UPGRADE}});var eh=L((Bz,_C)=>{"use strict";var{Buffer:FN}=require("node:buffer");_C.exports=FN.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxs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1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQ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EEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNAC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AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDD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QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var ic=L((Qz,qC)=>{"use strict";var PC=["GET","HEAD","POST"],_N=new Set(PC),UN=[101,204,205,304],OC=[301,302,303,307,308],LN=new Set(OC),$C=["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"],PN=new Set($C),VC=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],ON=new Set(VC),$N=["follow","manual","error"],GC=["GET","HEAD","OPTIONS","TRACE"],VN=new Set(GC),GN=["navigate","same-origin","no-cors","cors"],HN=["omit","same-origin","include"],YN=["default","no-store","reload","no-cache","force-cache","only-if-cached"],qN=["content-encoding","content-language","content-location","content-type","content-length"],jN=["half"],HC=["CONNECT","TRACE","TRACK"],JN=new Set(HC),YC=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],WN=new Set(YC);qC.exports={subresource:YC,forbiddenMethods:HC,requestBodyHeader:qN,referrerPolicy:VC,requestRedirect:$N,requestMode:GN,requestCredentials:HN,requestCache:YN,redirectStatus:OC,corsSafeListedMethods:PC,nullBodyStatus:UN,safeMethods:GC,badPorts:$C,requestDuplex:jN,subresourceSet:WN,badPortsSet:PN,redirectStatusSet:LN,corsSafeListedMethodsSet:_N,safeMethodsSet:VN,forbiddenMethodsSet:JN,referrerPolicySet:ON}});var nh=L((bz,jC)=>{"use strict";var th=Symbol.for("undici.globalOrigin.1");function zN(){return globalThis[th]}function KN(t){if(t===void 0){Object.defineProperty(globalThis,th,{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,th,{value:e,writable:!0,enumerable:!1,configurable:!1})}jC.exports={getGlobalOrigin:zN,setGlobalOrigin:KN}});var Pt=L((Sz,eI)=>{"use strict";var lA=require("node:assert"),ZN=new TextEncoder,oc=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,XN=/[\u000A\u000D\u0009\u0020]/,eF=/[\u0009\u000A\u000C\u000D\u0020]/g,tF=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function nF(t){lA(t.protocol==="data:");let e=zC(t,!0);e=e.slice(5);let n={position:0},r=Ro(",",e,n),s=r.length;if(r=cF(r,!0,!0),n.position>=e.length)return"failure";n.position++;let i=e.slice(s+1),a=KC(i);if(/;(\u0020){0,}base64$/i.test(r)){let A=XC(a);if(a=sF(A),a==="failure")return"failure";r=r.slice(0,-6),r=r.replace(/(\u0020)+$/,""),r=r.slice(0,-1)}r.startsWith(";")&&(r="text/plain"+r);let c=rh(r);return c==="failure"&&(c=rh("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}function zC(t,e=!1){if(!e)return t.href;let n=t.href,r=t.hash.length,s=r===0?n:n.substring(0,n.length-r);return!r&&n.endsWith("#")?s.slice(0,-1):s}function dA(t,e,n){let r="";for(;n.position<e.length&&t(e[n.position]);)r+=e[n.position],n.position++;return r}function Ro(t,e,n){let r=e.indexOf(t,n.position),s=n.position;return r===-1?(n.position=e.length,e.slice(s)):(n.position=r,e.slice(s,n.position))}function KC(t){let e=ZN.encode(t);return rF(e)}function JC(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function WC(t){return t>=48&&t<=57?t-48:(t&223)-55}function rF(t){let e=t.length,n=new Uint8Array(e),r=0;for(let s=0;s<e;++s){let i=t[s];i!==37?n[r++]=i:i===37&&!(JC(t[s+1])&&JC(t[s+2]))?n[r++]=37:(n[r++]=WC(t[s+1])<<4|WC(t[s+2]),s+=2)}return e===r?n:n.subarray(0,r)}function rh(t){t=AA(t,!0,!0);let e={position:0},n=Ro("/",t,e);if(n.length===0||!oc.test(n)||e.position>t.length)return"failure";e.position++;let r=Ro(";",t,e);if(r=AA(r,!1,!0),r.length===0||!oc.test(r))return"failure";let s=n.toLowerCase(),i=r.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.position<t.length;){e.position++,dA(l=>XN.test(l),t,e);let c=dA(l=>l!==";"&&l!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let A=null;if(t[e.position]==='"')A=ZC(t,e,!0),Ro(";",t,e);else if(A=Ro(";",t,e),A=AA(A,!1,!0),A.length===0)continue;c.length!==0&&oc.test(c)&&(A.length===0||tF.test(A))&&!a.parameters.has(c)&&a.parameters.set(c,A)}return a}function sF(t){t=t.replace(eF,"");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 n=Buffer.from(t,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}function ZC(t,e,n){let r=e.position,s="";for(lA(t[e.position]==='"'),e.position++;s+=dA(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){s+="\\";break}s+=t[e.position],e.position++}else{lA(i==='"');break}}return n?s:t.slice(r,e.position)}function iF(t){lA(t!=="failure");let{parameters:e,essence:n}=t,r=n;for(let[s,i]of e.entries())r+=";",r+=s,r+="=",oc.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),r+=i;return r}function oF(t){return t===13||t===10||t===9||t===32}function AA(t,e=!0,n=!0){return sh(t,e,n,oF)}function aF(t){return t===13||t===10||t===9||t===12||t===32}function cF(t,e=!0,n=!0){return sh(t,e,n,aF)}function sh(t,e,n,r){let s=0,i=t.length-1;if(e)for(;s<t.length&&r(t.charCodeAt(s));)s++;if(n)for(;i>0&&r(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}function XC(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let n="",r=0,s=65535;for(;r<e;)r+s>e&&(s=e-r),n+=String.fromCharCode.apply(null,t.subarray(r,r+=s));return n}function uF(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":""}eI.exports={dataURLProcessor:nF,URLSerializer:zC,collectASequenceOfCodePoints:dA,collectASequenceOfCodePointsFast:Ro,stringPercentDecode:KC,parseMIMEType:rh,collectAnHTTPQuotedString:ZC,serializeAMimeType:iF,removeChars:sh,removeHTTPWhitespace:AA,minimizeSupportedMimeType:uF,HTTP_TOKEN_CODEPOINTS:oc,isomorphicDecode:XC}});var ft=L((kz,tI)=>{"use strict";var{types:tr,inspect:AF}=require("node:util"),{markAsUncloneable:lF}=require("node:worker_threads"),{toUSVString:dF}=Ie(),V={};V.converters={};V.util={};V.errors={};V.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};V.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",n=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return V.errors.exception({header:t.prefix,message:n})};V.errors.invalidArgument=function(t){return V.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};V.brandCheck=function(t,e,n){if(n?.strict!==!1){if(!(t instanceof e)){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}};V.argumentLengthCheck=function({length:t},e,n){if(t<e)throw V.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:n})};V.illegalConstructor=function(){throw V.errors.exception({header:"TypeError",message:"Illegal constructor"})};V.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"}};V.util.markAsUncloneable=lF||(()=>{});V.util.ConvertToInt=function(t,e,n,r){let s,i;e===64?(s=Math.pow(2,53)-1,n==="unsigned"?i=0:i=Math.pow(-2,53)+1):n==="unsigned"?(i=0,s=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,s=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),r?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw V.errors.exception({header:"Integer conversion",message:`Could not convert ${V.util.Stringify(t)} to an integer.`});if(a=V.util.IntegerPart(a),a<i||a>s)throw V.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${a}.`});return a}return!Number.isNaN(a)&&r?.clamp===!0?(a=Math.min(Math.max(a,i),s),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=V.util.IntegerPart(a),a=a%Math.pow(2,e),n==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};V.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};V.util.Stringify=function(t){switch(V.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return AF(t);case"String":return`"${t}"`;default:return`${t}`}};V.sequenceConverter=function(t){return(e,n,r,s)=>{if(V.util.Type(e)!=="Object")throw V.errors.exception({header:n,message:`${r} (${V.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw V.errors.exception({header:n,message:`${r} is not iterable.`});for(;;){let{done:A,value:l}=i.next();if(A)break;a.push(t(l,n,`${r}[${c++}]`))}return a}};V.recordConverter=function(t,e){return(n,r,s)=>{if(V.util.Type(n)!=="Object")throw V.errors.exception({header:r,message:`${s} ("${V.util.Type(n)}") is not an Object.`});let i={};if(!tr.isProxy(n)){let c=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(let A of c){let l=t(A,r,s),p=e(n[A],r,s);i[l]=p}return i}let a=Reflect.ownKeys(n);for(let c of a)if(Reflect.getOwnPropertyDescriptor(n,c)?.enumerable){let l=t(c,r,s),p=e(n[c],r,s);i[l]=p}return i}};V.interfaceConverter=function(t){return(e,n,r,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw V.errors.exception({header:n,message:`Expected ${r} ("${V.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};V.dictionaryConverter=function(t){return(e,n,r)=>{let s=V.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw V.errors.exception({header:n,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:A,required:l,converter:p}=a;if(l===!0&&!Object.hasOwn(e,c))throw V.errors.exception({header:n,message:`Missing required key "${c}".`});let h=e[c],g=Object.hasOwn(a,"defaultValue");if(g&&h!==null&&(h??=A()),l||g||h!==void 0){if(h=p(h,n,`${r}.${c}`),a.allowedValues&&!a.allowedValues.includes(h))throw V.errors.exception({header:n,message:`${h} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=h}}return i}};V.nullableConverter=function(t){return(e,n,r)=>e===null?e:t(e,n,r)};V.converters.DOMString=function(t,e,n,r){if(t===null&&r?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw V.errors.exception({header:e,message:`${n} is a symbol, which cannot be converted to a DOMString.`});return String(t)};V.converters.ByteString=function(t,e,n){let r=V.converters.DOMString(t,e,n);for(let s=0;s<r.length;s++)if(r.charCodeAt(s)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${s} has a value of ${r.charCodeAt(s)} which is greater than 255.`);return r};V.converters.USVString=dF;V.converters.boolean=function(t){return!!t};V.converters.any=function(t){return t};V.converters["long long"]=function(t,e,n){return V.util.ConvertToInt(t,64,"signed",void 0,e,n)};V.converters["unsigned long long"]=function(t,e,n){return V.util.ConvertToInt(t,64,"unsigned",void 0,e,n)};V.converters["unsigned long"]=function(t,e,n){return V.util.ConvertToInt(t,32,"unsigned",void 0,e,n)};V.converters["unsigned short"]=function(t,e,n,r){return V.util.ConvertToInt(t,16,"unsigned",r,e,n)};V.converters.ArrayBuffer=function(t,e,n,r){if(V.util.Type(t)!=="Object"||!tr.isAnyArrayBuffer(t))throw V.errors.conversionFailed({prefix:e,argument:`${n} ("${V.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(r?.allowShared===!1&&tr.isSharedArrayBuffer(t))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.TypedArray=function(t,e,n,r,s){if(V.util.Type(t)!=="Object"||!tr.isTypedArray(t)||t.constructor.name!==e.name)throw V.errors.conversionFailed({prefix:n,argument:`${r} ("${V.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&tr.isSharedArrayBuffer(t.buffer))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.DataView=function(t,e,n,r){if(V.util.Type(t)!=="Object"||!tr.isDataView(t))throw V.errors.exception({header:e,message:`${n} is not a DataView.`});if(r?.allowShared===!1&&tr.isSharedArrayBuffer(t.buffer))throw V.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw V.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};V.converters.BufferSource=function(t,e,n,r){if(tr.isAnyArrayBuffer(t))return V.converters.ArrayBuffer(t,e,n,{...r,allowShared:!1});if(tr.isTypedArray(t))return V.converters.TypedArray(t,t.constructor,e,n,{...r,allowShared:!1});if(tr.isDataView(t))return V.converters.DataView(t,e,n,{...r,allowShared:!1});throw V.errors.conversionFailed({prefix:e,argument:`${n} ("${V.util.Stringify(t)}")`,types:["BufferSource"]})};V.converters["sequence<ByteString>"]=V.sequenceConverter(V.converters.ByteString);V.converters["sequence<sequence<ByteString>>"]=V.sequenceConverter(V.converters["sequence<ByteString>"]);V.converters["record<ByteString, ByteString>"]=V.recordConverter(V.converters.ByteString,V.converters.ByteString);tI.exports={webidl:V}});var nn=L((vz,fI)=>{"use strict";var{Transform:pF}=require("node:stream"),nI=require("node:zlib"),{redirectStatusSet:hF,referrerPolicySet:fF,badPortsSet:gF}=ic(),{getGlobalOrigin:rI}=nh(),{collectASequenceOfCodePoints:ri,collectAnHTTPQuotedString:mF,removeChars:yF,parseMIMEType:EF}=Pt(),{performance:CF}=require("node:perf_hooks"),{isBlobLike:IF,ReadableStreamFrom:BF,isValidHTTPToken:sI,normalizedMethodRecordsBase:wF}=Ie(),si=require("node:assert"),{isUint8Array:QF}=require("node:util/types"),{webidl:ac}=ft(),iI=[],hA;try{hA=require("node:crypto");let t=["sha256","sha384","sha512"];iI=hA.getHashes().filter(e=>t.includes(e))}catch{}function oI(t){let e=t.urlList,n=e.length;return n===0?null:e[n-1].toString()}function bF(t,e){if(!hF.has(t.status))return null;let n=t.headersList.get("location",!0);return n!==null&&cI(n)&&(aI(n)||(n=SF(n)),n=new URL(n,oI(t))),n&&!n.hash&&(n.hash=e),n}function aI(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n>126||n<32)return!1}return!0}function SF(t){return Buffer.from(t,"binary").toString("utf8")}function uc(t){return t.urlList[t.urlList.length-1]}function kF(t){let e=uc(t);return pI(e)&&gF.has(e.port)?"blocked":"allowed"}function vF(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function RF(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(!(n===9||n>=32&&n<=126||n>=128&&n<=255))return!1}return!0}var xF=sI;function cI(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
3
|
+
`)||t.includes("\r")||t.includes("\0"))===!1}function TF(t,e){let{headersList:n}=e,r=(n.get("referrer-policy",!0)??"").split(","),s="";if(r.length>0)for(let i=r.length;i!==0;i--){let a=r[i-1].trim();if(fF.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}function DF(){return"allowed"}function NF(){return"success"}function FF(){return"success"}function MF(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function _F(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&&oh(t.origin)&&!oh(uc(t))&&(e=null);break;case"same-origin":fA(t,uc(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function xo(t,e){return t}function UF(t,e,n){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:xo(t.domainLookupStartTime,n),domainLookupEndTime:xo(t.domainLookupEndTime,n),connectionStartTime:xo(t.connectionStartTime,n),connectionEndTime:xo(t.connectionEndTime,n),secureConnectionStartTime:xo(t.secureConnectionStartTime,n),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function LF(t){return xo(CF.now(),t)}function PF(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function uI(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function OF(t){return{referrerPolicy:t.referrerPolicy}}function $F(t){let e=t.referrerPolicy;si(e);let n=null;if(t.referrer==="client"){let c=rI();if(!c||c.origin==="null")return"no-referrer";n=new URL(c)}else t.referrer instanceof URL&&(n=t.referrer);let r=ih(n),s=ih(n,!0);r.toString().length>4096&&(r=s);let i=fA(t,r),a=cc(r)&&!cc(t.url);switch(e){case"origin":return s??ih(n,!0);case"unsafe-url":return r;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?r:s;case"strict-origin-when-cross-origin":{let c=uc(t);return fA(r,c)?r:cc(r)&&!cc(c)?"no-referrer":s}default:return a?"no-referrer":s}}function ih(t,e){return si(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function cc(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(n){if(n==null||n==="null")return!1;let r=new URL(n);return!!(r.protocol==="https:"||r.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(r.hostname)||r.hostname==="localhost"||r.hostname.includes("localhost.")||r.hostname.endsWith(".localhost"))}}function VF(t,e){if(hA===void 0)return!0;let n=AI(e);if(n==="no metadata"||n.length===0)return!0;let r=HF(n),s=YF(n,r);for(let i of s){let a=i.algo,c=i.hash,A=hA.createHash(a).update(t).digest("base64");if(A[A.length-1]==="="&&(A[A.length-2]==="="?A=A.slice(0,-2):A=A.slice(0,-1)),qF(A,c))return!0}return!1}var GF=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function AI(t){let e=[],n=!0;for(let r of t.split(" ")){n=!1;let s=GF.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();iI.includes(i)&&e.push(s.groups)}return n===!0?"no metadata":e}function HF(t){let e=t[0].algo;if(e[3]==="5")return e;for(let n=1;n<t.length;++n){let r=t[n];if(r.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;r.algo[3]==="3"&&(e="sha384")}}return e}function YF(t,e){if(t.length===1)return t;let n=0;for(let r=0;r<t.length;++r)t[r].algo===e&&(t[n++]=t[r]);return t.length=n,t}function qF(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(t[n]!==e[n]){if(t[n]==="+"&&e[n]==="-"||t[n]==="/"&&e[n]==="_")continue;return!1}return!0}function jF(t){}function fA(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function JF(){let t,e;return{promise:new Promise((r,s)=>{t=r,e=s}),resolve:t,reject:e}}function WF(t){return t.controller.state==="aborted"}function zF(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function KF(t){return wF[t.toLowerCase()]??t}function ZF(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return si(typeof e=="string"),e}var XF=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function lI(t,e,n=0,r=1){class s{#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],A=c.length;if(a>=A)return{value:void 0,done:!0};let{[n]:l,[r]:p}=c[a];this.#n=a+1;let h;switch(this.#t){case"key":h=l;break;case"value":h=p;break;case"key+value":h=[l,p];break}return{value:h,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,XF),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new s(i,a)}}function eM(t,e,n,r=0,s=1){let i=lI(t,n,r,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ac.brandCheck(this,e),i(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(A,l=globalThis){if(ac.brandCheck(this,e),ac.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof A!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:p,1:h}of i(this,"key+value"))A.call(l,h,p,this)}}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}async function tM(t,e,n){let r=e,s=n,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{r(await dI(i))}catch(a){s(a)}}function nM(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}function rM(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}var sM=/[^\x00-\xFF]/;function pA(t){return si(!sM.test(t)),t}async function dI(t){let e=[],n=0;for(;;){let{done:r,value:s}=await t.read();if(r)return Buffer.concat(e,n);if(!QF(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),n+=s.length}}function iM(t){si("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function oh(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}function pI(t){si("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}function oM(t,e){let n=t;if(!n.startsWith("bytes"))return"failure";let r={position:5};if(e&&ri(A=>A===" "||A===" ",n,r),n.charCodeAt(r.position)!==61)return"failure";r.position++,e&&ri(A=>A===" "||A===" ",n,r);let s=ri(A=>{let l=A.charCodeAt(0);return l>=48&&l<=57},n,r),i=s.length?Number(s):null;if(e&&ri(A=>A===" "||A===" ",n,r),n.charCodeAt(r.position)!==45)return"failure";r.position++,e&&ri(A=>A===" "||A===" ",n,r);let a=ri(A=>{let l=A.charCodeAt(0);return l>=48&&l<=57},n,r),c=a.length?Number(a):null;return r.position<n.length||c===null&&i===null||i>c?"failure":{rangeStartValue:i,rangeEndValue:c}}function aM(t,e,n){let r="bytes ";return r+=pA(`${t}`),r+="-",r+=pA(`${e}`),r+="/",r+=pA(`${n}`),r}var ah=class extends pF{#e;constructor(e){super(),this.#e=e}_transform(e,n,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?nI.createInflate(this.#e):nI.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(e,n,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function cM(t){return new ah(t)}function uM(t){let e=null,n=null,r=null,s=hI("content-type",t);if(s===null)return"failure";for(let i of s){let a=EF(i);a==="failure"||a.essence==="*/*"||(r=a,r.essence!==n?(e=null,r.parameters.has("charset")&&(e=r.parameters.get("charset")),n=r.essence):!r.parameters.has("charset")&&e!==null&&r.parameters.set("charset",e))}return r??"failure"}function AM(t){let e=t,n={position:0},r=[],s="";for(;n.position<e.length;){if(s+=ri(i=>i!=='"'&&i!==",",e,n),n.position<e.length)if(e.charCodeAt(n.position)===34){if(s+=mF(e,n),n.position<e.length)continue}else si(e.charCodeAt(n.position)===44),n.position++;s=yF(s,!0,!0,i=>i===9||i===32),r.push(s),s=""}return r}function hI(t,e){let n=e.get(t,!0);return n===null?null:AM(n)}var lM=new TextDecoder;function dM(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),lM.decode(t))}var ch=class{get baseUrl(){return rI()}get origin(){return this.baseUrl?.origin}policyContainer=uI()},uh=class{settingsObject=new ch},pM=new uh;fI.exports={isAborted:WF,isCancelled:zF,isValidEncodedURL:aI,createDeferredPromise:JF,ReadableStreamFrom:BF,tryUpgradeRequestToAPotentiallyTrustworthyURL:jF,clampAndCoarsenConnectionTimingInfo:UF,coarsenedSharedCurrentTime:LF,determineRequestsReferrer:$F,makePolicyContainer:uI,clonePolicyContainer:OF,appendFetchMetadata:MF,appendRequestOriginHeader:_F,TAOCheck:FF,corsCheck:NF,crossOriginResourcePolicyCheck:DF,createOpaqueTimingInfo:PF,setRequestReferrerPolicyOnRedirect:TF,isValidHTTPToken:sI,requestBadPort:kF,requestCurrentURL:uc,responseURL:oI,responseLocationURL:bF,isBlobLike:IF,isURLPotentiallyTrustworthy:cc,isValidReasonPhrase:RF,sameOrigin:fA,normalizeMethod:KF,serializeJavascriptValueToJSONString:ZF,iteratorMixin:eM,createIterator:lI,isValidHeaderName:xF,isValidHeaderValue:cI,isErrorLike:vF,fullyReadBody:tM,bytesMatch:VF,isReadableStreamLike:nM,readableStreamClose:rM,isomorphicEncode:pA,urlIsLocal:iM,urlHasHttpsScheme:oh,urlIsHttpHttpsScheme:pI,readAllBytes:dI,simpleRangeHeaderValue:oM,buildContentRange:aM,parseMetadata:AI,createInflate:cM,extractMimeType:uM,getDecodeSplit:hI,utf8DecodeBytes:dM,environmentSettingsObject:pM}});var us=L((Rz,gI)=>{"use strict";gI.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var lh=L((xz,mI)=>{"use strict";var{Blob:hM,File:fM}=require("node:buffer"),{kState:Mr}=us(),{webidl:nr}=ft(),Ah=class t{constructor(e,n,r={}){let s=n,i=r.type,a=r.lastModified??Date.now();this[Mr]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return nr.brandCheck(this,t),this[Mr].blobLike.stream(...e)}arrayBuffer(...e){return nr.brandCheck(this,t),this[Mr].blobLike.arrayBuffer(...e)}slice(...e){return nr.brandCheck(this,t),this[Mr].blobLike.slice(...e)}text(...e){return nr.brandCheck(this,t),this[Mr].blobLike.text(...e)}get size(){return nr.brandCheck(this,t),this[Mr].blobLike.size}get type(){return nr.brandCheck(this,t),this[Mr].blobLike.type}get name(){return nr.brandCheck(this,t),this[Mr].name}get lastModified(){return nr.brandCheck(this,t),this[Mr].lastModified}get[Symbol.toStringTag](){return"File"}};nr.converters.Blob=nr.interfaceConverter(hM);function gM(t){return t instanceof fM||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}mI.exports={FileLike:Ah,isFileLike:gM}});var lc=L((Tz,BI)=>{"use strict";var{isBlobLike:gA,iteratorMixin:mM}=nn(),{kState:vt}=us(),{kEnumerableProperty:To}=Ie(),{FileLike:yI,isFileLike:yM}=lh(),{webidl:Oe}=ft(),{File:II}=require("node:buffer"),EI=require("node:util"),CI=globalThis.File??II,Ac=class t{constructor(e){if(Oe.util.markAsUncloneable(this),e!==void 0)throw Oe.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[vt]=[]}append(e,n,r=void 0){Oe.brandCheck(this,t);let s="FormData.append";if(Oe.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gA(n))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,s,"name"),n=gA(n)?Oe.converters.Blob(n,s,"value",{strict:!1}):Oe.converters.USVString(n,s,"value"),r=arguments.length===3?Oe.converters.USVString(r,s,"filename"):void 0;let i=dh(e,n,r);this[vt].push(i)}delete(e){Oe.brandCheck(this,t);let n="FormData.delete";Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt]=this[vt].filter(r=>r.name!==e)}get(e){Oe.brandCheck(this,t);let n="FormData.get";Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name");let r=this[vt].findIndex(s=>s.name===e);return r===-1?null:this[vt][r].value}getAll(e){Oe.brandCheck(this,t);let n="FormData.getAll";return Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt].filter(r=>r.name===e).map(r=>r.value)}has(e){Oe.brandCheck(this,t);let n="FormData.has";return Oe.argumentLengthCheck(arguments,1,n),e=Oe.converters.USVString(e,n,"name"),this[vt].findIndex(r=>r.name===e)!==-1}set(e,n,r=void 0){Oe.brandCheck(this,t);let s="FormData.set";if(Oe.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gA(n))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,s,"name"),n=gA(n)?Oe.converters.Blob(n,s,"name",{strict:!1}):Oe.converters.USVString(n,s,"name"),r=arguments.length===3?Oe.converters.USVString(r,s,"name"):void 0;let i=dh(e,n,r),a=this[vt].findIndex(c=>c.name===e);a!==-1?this[vt]=[...this[vt].slice(0,a),i,...this[vt].slice(a+1).filter(c=>c.name!==e)]:this[vt].push(i)}[EI.inspect.custom](e,n){let r=this[vt].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});n.depth??=e,n.colors??=!0;let s=EI.formatWithOptions(n,r);return`FormData ${s.slice(s.indexOf("]")+2)}`}};mM("FormData",Ac,vt,"name","value");Object.defineProperties(Ac.prototype,{append:To,delete:To,get:To,getAll:To,has:To,set:To,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function dh(t,e,n){if(typeof e!="string"){if(yM(e)||(e=e instanceof Blob?new CI([e],"blob",{type:e.type}):new yI(e,"blob",{type:e.type})),n!==void 0){let r={type:e.type,lastModified:e.lastModified};e=e instanceof II?new CI([e],n,r):new yI(e,n,r)}}return{name:t,value:e}}BI.exports={FormData:Ac,makeEntry:dh}});var vI=L((Dz,kI)=>{"use strict";var{isUSVString:wI,bufferToLowerCasedHeaderName:EM}=Ie(),{utf8DecodeBytes:CM}=nn(),{HTTP_TOKEN_CODEPOINTS:IM,isomorphicDecode:QI}=Pt(),{isFileLike:BM}=lh(),{makeEntry:wM}=lc(),mA=require("node:assert"),{File:QM}=require("node:buffer"),bM=globalThis.File??QM,SM=Buffer.from('form-data; name="'),bI=Buffer.from("; filename"),kM=Buffer.from("--"),vM=Buffer.from(`--\r
|
|
4
4
|
`);function RM(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}function xM(t){let e=t.length;if(e<27||e>70)return!1;for(let n=0;n<e;++n){let r=t.charCodeAt(n);if(!(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122||r===39||r===45||r===95))return!1}return!0}function TM(t,e){mA(e!=="failure"&&e.essence==="multipart/form-data");let n=e.parameters.get("boundary");if(n===void 0)return"failure";let r=Buffer.from(`--${n}`,"utf8"),s=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.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(i.position,i.position+r.length).equals(r))i.position+=r.length;else return"failure";if(i.position===t.length-2&&yA(t,kM,i)||i.position===t.length-4&&yA(t,vM,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=DM(t,i);if(c==="failure")return"failure";let{name:A,filename:l,contentType:p,encoding:h}=c;i.position+=2;let g;{let S=t.indexOf(r.subarray(2),i.position);if(S===-1)return"failure";g=t.subarray(i.position,S-4),i.position+=g.length,h==="base64"&&(g=Buffer.from(g.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let C;l!==null?(p??="text/plain",RM(p)||(p=""),C=new bM([g],l,{type:p})):C=CM(Buffer.from(g)),mA(wI(A)),mA(typeof C=="string"&&wI(C)||BM(C)),s.push(wM(A,C,l))}}function DM(t,e){let n=null,r=null,s=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return n===null?"failure":{name:n,filename:r,contentType:s,encoding:i};let a=Do(c=>c!==10&&c!==13&&c!==58,t,e);if(a=ph(a,!0,!0,c=>c===9||c===32),!IM.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Do(c=>c===32||c===9,t,e),EM(a)){case"content-disposition":{if(n=r=null,!yA(t,SM,e)||(e.position+=17,n=SI(t,e),n===null))return"failure";if(yA(t,bI,e)){let c=e.position+bI.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,r=SI(t,e),r===null))return"failure"}break}case"content-type":{let c=Do(A=>A!==10&&A!==13,t,e);c=ph(c,!1,!0,A=>A===9||A===32),s=QI(c);break}case"content-transfer-encoding":{let c=Do(A=>A!==10&&A!==13,t,e);c=ph(c,!1,!0,A=>A===9||A===32),i=QI(c);break}default:Do(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function SI(t,e){mA(t[e.position-1]===34);let n=Do(r=>r!==10&&r!==13&&r!==34,t,e);return t[e.position]!==34?null:(e.position++,n=new TextDecoder().decode(n).replace(/%0A/ig,`
|
|
5
|
-
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),n)}function Do(t,e,n){let r=n.position;for(;r<e.length&&t(e[r]);)++r;return e.subarray(n.position,n.position=r)}function ph(t,e,n,r){let s=0,i=t.length-1;if(e)for(;s<t.length&&r(t[s]);)s++;if(n)for(;i>0&&r(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}function yA(t,e,n){if(t.length<e.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[n.position+r])return!1;return!0}kI.exports={multipartFormDataParser:TM,validateBoundary:xM}});var Mo=L((Nz,LI)=>{"use strict";var dc=Ie(),{ReadableStreamFrom:NM,isBlobLike:RI,isReadableStreamLike:FM,readableStreamClose:MM,createDeferredPromise:
|
|
5
|
+
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),n)}function Do(t,e,n){let r=n.position;for(;r<e.length&&t(e[r]);)++r;return e.subarray(n.position,n.position=r)}function ph(t,e,n,r){let s=0,i=t.length-1;if(e)for(;s<t.length&&r(t[s]);)s++;if(n)for(;i>0&&r(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}function yA(t,e,n){if(t.length<e.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[n.position+r])return!1;return!0}kI.exports={multipartFormDataParser:TM,validateBoundary:xM}});var Mo=L((Nz,LI)=>{"use strict";var dc=Ie(),{ReadableStreamFrom:NM,isBlobLike:RI,isReadableStreamLike:FM,readableStreamClose:MM,createDeferredPromise:_M,fullyReadBody:UM,extractMimeType:LM,utf8DecodeBytes:DI}=nn(),{FormData:xI}=lc(),{kState:Fo}=us(),{webidl:PM}=ft(),{Blob:OM}=require("node:buffer"),hh=require("node:assert"),{isErrored:NI,isDisturbed:$M}=require("node:stream"),{isArrayBuffer:VM}=require("node:util/types"),{serializeAMimeType:GM}=Pt(),{multipartFormDataParser:HM}=vI(),fh;try{let t=require("node:crypto");fh=e=>t.randomInt(0,e)}catch{fh=t=>Math.floor(Math.random(t))}var EA=new TextEncoder;function YM(){}var FI=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,MI;FI&&(MI=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!$M(e)&&!NI(e)&&e.cancel("Response object has been garbage collected").catch(YM)}));function _I(t,e=!1){let n=null;t instanceof ReadableStream?n=t:RI(t)?n=t.stream():n=new ReadableStream({async pull(A){let l=typeof s=="string"?EA.encode(s):s;l.byteLength&&A.enqueue(l),queueMicrotask(()=>MM(A))},start(){},type:"bytes"}),hh(FM(n));let r=null,s=null,i=null,a=null;if(typeof t=="string")s=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(VM(t))s=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))s=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(dc.isFormDataLike(t)){let A=`----formdata-undici-0${`${fh(1e11)}`.padStart(11,"0")}`,l=`--${A}\r
|
|
6
6
|
Content-Disposition: form-data`;let p=T=>T.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),h=T=>T.replace(/\r?\n|\r/g,`\r
|
|
7
7
|
`),g=[],C=new Uint8Array([13,10]);i=0;let S=!1;for(let[T,x]of t)if(typeof x=="string"){let F=EA.encode(l+`; name="${p(h(T))}"\r
|
|
8
8
|
\r
|
|
@@ -11,22 +11,22 @@ ${h(x)}\r
|
|
|
11
11
|
Content-Type: ${x.type||"application/octet-stream"}\r
|
|
12
12
|
\r
|
|
13
13
|
`);g.push(F,x,C),typeof x.size=="number"?i+=F.byteLength+x.size+C.byteLength:S=!0}let v=EA.encode(`--${A}--\r
|
|
14
|
-
`);g.push(v),i+=v.byteLength,S&&(i=null),s=t,r=async function*(){for(let T of g)T.stream?yield*T.stream():yield T},a=`multipart/form-data; boundary=${A}`}else if(RI(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(dc.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");n=t instanceof ReadableStream?t:NM(t)}if((typeof s=="string"||dc.isBuffer(s))&&(i=Buffer.byteLength(s)),r!=null){let A;n=new ReadableStream({async start(){A=r(t)[Symbol.asyncIterator]()},async pull(l){let{value:p,done:h}=await A.next();if(h)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!NI(n)){let g=new Uint8Array(p);g.byteLength&&l.enqueue(g)}return l.desiredSize>0},async cancel(l){await A.return()},type:"bytes"})}return[{stream:n,source:s,length:i},a]}function qM(t,e=!1){return t instanceof ReadableStream&&(hh(!dc.isDisturbed(t),"The body has already been consumed."),hh(!t.locked,"The stream is locked.")),UI(t,e)}function jM(t,e){let[n,r]=e.stream.tee();return e.stream=n,{stream:r,length:e.length,source:e.source}}function JM(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function WM(t){return{blob(){return No(this,n=>{let r=TI(this);return r===null?r="":r&&(r=GM(r)),new OM([n],{type:r})},t)},arrayBuffer(){return No(this,n=>new Uint8Array(n).buffer,t)},text(){return No(this,DI,t)},json(){return No(this,KM,t)},formData(){return No(this,n=>{let r=TI(this);if(r!==null)switch(r.essence){case"multipart/form-data":{let s=HM(n,r);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new xI;return i[Fo]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(n.toString()),i=new xI;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return No(this,n=>new Uint8Array(n),t)}}}function zM(t){Object.assign(t.prototype,WM(t))}async function No(t,e,n){if(PM.brandCheck(t,n),_I(t))throw new TypeError("Body is unusable: Body has already been read");JM(t[Fo]);let r=UM(),s=a=>r.reject(a),i=a=>{try{r.resolve(e(a))}catch(c){s(c)}};return t[Fo].body==null?(i(Buffer.allocUnsafe(0)),r.promise):(await _M(t[Fo].body,i,s),r.promise)}function _I(t){let e=t[Fo].body;return e!=null&&(e.stream.locked||dc.isDisturbed(e.stream))}function KM(t){return JSON.parse(DI(t))}function TI(t){let e=t[Fo].headersList,n=LM(e);return n==="failure"?null:n}LI.exports={extractBody:UI,safelyExtractBody:qM,cloneBody:jM,mixinBody:zM,streamRegistry:MI,hasFinalizationRegistry:FI,bodyUnusable:_I}});var eB=L((Fz,XI)=>{"use strict";var re=require("node:assert"),ee=Ie(),{channels:PI}=Bo(),gh=Kp(),{RequestContentLengthMismatchError:ii,ResponseContentLengthMismatchError:OI,RequestAbortedError:JI,InvalidArgumentError:ZM,HeadersTimeoutError:XM,HeadersOverflowError:eU,SocketError:Uo,InformationalError:oi,BodyTimeoutError:tU,HTTPParserError:nU,ResponseExceededMaxSizeError:rU}=xe(),{kUrl:WI,kReset:Ot,kClient:wA,kParser:$e,kBlocking:fc,kRunning:tt,kPending:zI,kSize:$I,kWriting:As,kQueue:Pn,kNoRef:pc,kKeepAliveDefaultTimeout:sU,kHostHeader:iU,kPendingIdx:oU,kRunningIdx:mn,kError:Rt,kPipelining:QA,kSocket:ai,kKeepAliveTimeoutValue:SA,kMaxHeadersSize:mh,kKeepAliveMaxTimeout:aU,kKeepAliveTimeoutThreshold:cU,kHeadersTimeout:uU,kBodyTimeout:AU,kStrictContentLength:Ch,kMaxRequests:VI,kCounter:lU,kMaxResponseSize:dU,kOnError:GI,kResume:Ur,kHTTPContext:KI}=He(),rn=MC(),HI=Buffer.alloc(0),CA=Buffer[Symbol.species],IA=ee.addListener,pU=ee.removeAllListeners,ci=Symbol("kIdleSocketValidation"),_o=Symbol("kIdleSocketValidationTimeout"),Qh=Symbol("kSocketUsed"),yh;async function hU(){let t=process.env.JEST_WORKER_ID?eh():void 0,e;try{e=await WebAssembly.compile(LC())}catch{e=await WebAssembly.compile(t||eh())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(n,r,s)=>0,wasm_on_status:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onStatus(new CA(rr.buffer,i,s))||0},wasm_on_message_begin:n=>(re(je.ptr===n),je.onMessageBegin()||0),wasm_on_header_field:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onHeaderField(new CA(rr.buffer,i,s))||0},wasm_on_header_value:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onHeaderValue(new CA(rr.buffer,i,s))||0},wasm_on_headers_complete:(n,r,s,i)=>(re(je.ptr===n),je.onHeadersComplete(r,!!s,!!i)||0),wasm_on_body:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onBody(new CA(rr.buffer,i,s))||0},wasm_on_message_complete:n=>(re(je.ptr===n),je.onMessageComplete()||0)}})}var Eh=null,Ih=hU();Ih.catch();var je=null,rr=null,BA=0,sr=null,fU=0,hc=1,Lo=2|hc,bA=4|hc,Bh=8|fU,wh=class{constructor(e,n,{exports:r}){re(Number.isFinite(e[mh])&&e[mh]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(rn.TYPE.RESPONSE),this.client=e,this.socket=n,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[mh],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[dU]}setTimeout(e,n){e!==this.timeoutValue||n&hc^this.timeoutType&hc?(this.timeout&&(gh.clearTimeout(this.timeout),this.timeout=null),e&&(n&hc?this.timeout=gh.setFastTimeout(YI,e,new WeakRef(this)):(this.timeout=setTimeout(YI,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=n}resume(){this.socket.destroyed||!this.paused||(re(this.ptr!=null),re(je==null),this.llhttp.llhttp_resume(this.ptr),re(this.timeoutType===bA),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||HI),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){re(this.ptr!=null),re(je==null),re(!this.paused);let{socket:n,llhttp:r}=this;e.length>BA&&(sr&&r.free(sr),BA=Math.ceil(e.length/4096)*4096,sr=r.malloc(BA)),new Uint8Array(r.memory.buffer,sr,BA).set(e);try{let s;try{rr=e,je=this,s=r.llhttp_execute(this.ptr,sr,e.length)}catch(a){throw a}finally{je=null,rr=null}let i=r.llhttp_get_error_pos(this.ptr)-sr;if(s!==rn.ERROR.OK){let a=e.subarray(i);if(s===rn.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===rn.ERROR.PAUSED)this.paused=!0,n.unshift(a);else throw this.createError(s,a)}}catch(s){ee.destroy(n,s)}}finish(){re(je===null),re(this.ptr!=null),re(!this.paused);let{llhttp:e}=this,n;try{je=this,n=e.llhttp_finish(this.ptr)}finally{je=null}return n===rn.ERROR.OK?null:n===rn.ERROR.PAUSED||n===rn.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(n,HI)}createError(e,n){let{llhttp:r,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new OI;let a=r.llhttp_get_error_reason(this.ptr),c="";if(a){let A=new Uint8Array(r.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,a,A).toString()+")"}return new nU(c,rn.ERROR[e],n)}destroy(){re(this.ptr!=null),re(je==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&gh.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:n}=this;if(e.destroyed)return-1;if(n[tt]===0)return ee.destroy(e,new Uo("bad response",ee.getSocketInfo(e))),-1;let r=n[Pn][n[mn]];if(!r)return-1;r.onResponseStarted()}onHeaderField(e){let n=this.headers.length;(n&1)===0?this.headers.push(e):this.headers[n-1]=Buffer.concat([this.headers[n-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let n=this.headers.length;(n&1)===1?(this.headers.push(e),n+=1):this.headers[n-1]=Buffer.concat([this.headers[n-1],e]);let r=this.headers[n-2];if(r.length===10){let s=ee.bufferToLowerCasedHeaderName(r);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else r.length===14&&ee.bufferToLowerCasedHeaderName(r)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ee.destroy(this.socket,new eU)}onUpgrade(e){let{upgrade:n,client:r,socket:s,headers:i,statusCode:a,statusText:c}=this;re(n),re(r[ai]===s),re(!s.destroyed),re(!this.paused),re((i.length&1)===0);let A=r[Pn][r[mn]];re(A),re(A.upgrade||A.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[$e].destroy(),s[$e]=null,s[wA]=null,s[Rt]=null,pU(s),r[ai]=null,r[KI]=null,r[Pn][r[mn]++]=null,r.emit("disconnect",r[WI],[r],new oi("upgrade"));try{A.onUpgrade(a,i,s,c)}catch(l){ee.errorRequest(r,A,l),ee.destroy(s,l)}r[Ur]()}onHeadersComplete(e,n,r){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[tt]===0)return ee.destroy(i,new Uo("bad response",ee.getSocketInfo(i))),-1;let A=s[Pn][s[mn]];if(!A)return-1;if(re(!this.upgrade),re(this.statusCode<200),e===100)return ee.destroy(i,new Uo("bad response",ee.getSocketInfo(i))),-1;if(n&&!A.upgrade)return ee.destroy(i,new Uo("bad upgrade",ee.getSocketInfo(i))),-1;if(re(this.timeoutType===Lo),this.statusCode=e,this.shouldKeepAlive=r||A.method==="HEAD"&&!i[Ot]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let p=A.bodyTimeout!=null?A.bodyTimeout:s[AU];this.setTimeout(p,bA)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(A.method==="CONNECT")return re(s[tt]===1),this.upgrade=!0,2;if(n)return re(s[tt]===1),this.upgrade=!0,2;if(re((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[QA]){let p=this.keepAlive?ee.parseKeepAliveTimeout(this.keepAlive):null;if(p!=null){let h=Math.min(p-s[cU],s[aU]);h<=0?i[Ot]=!0:s[SA]=h}else s[SA]=s[sU]}else i[Ot]=!0;let l=A.onHeaders(e,a,this.resume,c)===!1;return A.aborted?-1:A.method==="HEAD"||e<200?1:(i[fc]&&(i[fc]=!1,s[Ur]()),l?rn.ERROR.PAUSED:0)}onBody(e){let{client:n,socket:r,statusCode:s,maxResponseSize:i}=this;if(r.destroyed)return-1;let a=n[Pn][n[mn]];if(re(a),re(this.timeoutType===bA),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),re(s>=200),i>-1&&this.bytesRead+e.length>i)return ee.destroy(r,new rU),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return rn.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:n,statusCode:r,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:A}=this;if(n.destroyed&&(!r||A))return-1;if(s)return;re(r>=100),re((this.headers.length&1)===0);let l=e[Pn][e[mn]];if(re(l),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(r<200)){if(l.method!=="HEAD"&&a&&c!==parseInt(a,10))return ee.destroy(n,new OI),-1;if(l.onComplete(i),e[Pn][e[mn]++]=null,n[Qh]=!0,n[As])return re(e[tt]===0),ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED;if(A){if(n[Ot]&&e[tt]===0)return ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED;e[QA]==null||e[QA]===1?setImmediate(()=>e[Ur]()):e[Ur]()}else return ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED}}};function YI(t){let{socket:e,timeoutType:n,client:r,paused:s}=t.deref();n===Lo?(!e[As]||e.writableNeedDrain||r[tt]>1)&&(re(!s,"cannot be paused while waiting for headers"),ee.destroy(e,new XM)):n===bA?s||ee.destroy(e,new tU):n===Bh&&(re(r[tt]===0&&r[SA]),ee.destroy(e,new oi("socket idle timeout")))}async function gU(t,e){t[ai]=e,Eh||(Eh=await Ih,Ih=null),e[pc]=!1,e[As]=!1,e[Ot]=!1,e[fc]=!1,e[ci]=0,e[_o]=null,e[Qh]=!1,e[$e]=new wh(t,e,Eh),IA(e,"error",function(r){let s=this[$e];if(r.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Rt]=i,this[wA][GI](i));return}this[Rt]=r,this[wA][GI](r)}),IA(e,"readable",function(){let r=this[$e];r&&r.readMore()}),IA(e,"end",function(){let r=this[$e];if(r.statusCode&&!r.shouldKeepAlive){let s=r.finish();s&&ee.destroy(this,s);return}ee.destroy(this,new Uo("other side closed",ee.getSocketInfo(this)))}),IA(e,"close",function(){let r=this[wA],s=this[$e];ZI(this),s&&(!this[Rt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Rt]=s.finish()||this[Rt]),this[$e].destroy(),this[$e]=null);let i=this[Rt]||new Uo("closed",ee.getSocketInfo(this));if(r[ai]=null,r[KI]=null,r.destroyed){re(r[zI]===0);let a=r[Pn].splice(r[mn]);for(let c=0;c<a.length;c++){let A=a[c];ee.errorRequest(r,A,i)}}else if(r[tt]>0&&i.code!=="UND_ERR_INFO"){let a=r[Pn][r[mn]];r[Pn][r[mn]++]=null,ee.errorRequest(r,a,i)}r[oU]=r[mn],re(r[tt]===0),r.emit("disconnect",r[WI],[r],i),r[Ur]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h1",defaultPipelining:1,write(...r){return CU(t,...r)},resume(){yU(t)},destroy(r,s){n?queueMicrotask(s):e.destroy(r).on("close",s)},get destroyed(){return e.destroyed},busy(r){return!!(e[As]||e[Ot]||e[fc]||e[ci]===1||r&&(t[tt]>0&&!r.idempotent||t[tt]>0&&(r.upgrade||r.method==="CONNECT")||t[tt]>0&&ee.bodyLength(r.body)!==0&&(ee.isStream(r.body)||ee.isAsyncIterable(r.body)||ee.isFormDataLike(r.body))))}}}function ZI(t){t[_o]&&(clearImmediate(t[_o]),t[_o]=null),t[ci]=0}function mU(t,e){e[ci]=1,e[_o]=setImmediate(()=>{e[_o]=null,e[ci]=2,t[ai]===e&&!e.destroyed&&t[Ur]()})}function yU(t){let e=t[ai];if(e&&!e.destroyed){if(t[$I]===0?!e[pc]&&e.unref&&(e.unref(),e[pc]=!0):e[pc]&&e.ref&&(e.ref(),e[pc]=!1),t[tt]===0&&t[zI]>0&&e[Qh]){if(e[ci]===0)return mU(t,e),e[$e].readMore(),e.destroyed,void 0;if(e[ci]===1)return e[$e].readMore(),e.destroyed,void 0}if(t[tt]===0&&(e[$e].readMore(),e.destroyed))return;if(t[$I]===0)e[$e].timeoutType!==Bh&&e[$e].setTimeout(t[SA],Bh);else if(t[tt]>0&&e[$e].statusCode<200&&e[$e].timeoutType!==Lo){let n=t[Pn][t[mn]],r=n.headersTimeout!=null?n.headersTimeout:t[uU];e[$e].setTimeout(r,Lo)}}}function EU(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function CU(t,e){let{method:n,path:r,host:s,upgrade:i,blocking:a,reset:c}=e,{body:A,headers:l,contentLength:p}=e,h=n==="PUT"||n==="POST"||n==="PATCH"||n==="QUERY"||n==="PROPFIND"||n==="PROPPATCH";if(ee.isFormDataLike(A)){yh||(yh=Mo().extractBody);let[T,x]=yh(A);e.contentType==null&&l.push("content-type",x),A=T.stream,p=T.length}else if(ee.isBlobLike(A)&&e.contentType==null){let T=A.type;if(T){let x=`${T}`;if(!ee.isValidHeaderValue(x))return ee.errorRequest(t,e,new ZM("invalid content-type header")),!1;l.push("content-type",x)}}A&&typeof A.read=="function"&&A.read(0);let g=ee.bodyLength(A);if(p=g??p,p===null&&(p=e.contentLength),p===0&&!h&&(p=null),EU(n)&&p>0&&e.contentLength!==null&&e.contentLength!==p){if(t[Ch])return ee.errorRequest(t,e,new ii),!1;process.emitWarning(new ii)}let C=t[ai];ZI(C);let S=T=>{if(!e.aborted){if(e.completed){(e.upgrade||e.method==="CONNECT")&&ee.destroy(C,new oi("aborted"));return}ee.errorRequest(t,e,T||new JI),ee.destroy(A),ee.destroy(C,new oi("aborted"))}};try{e.onConnect(S)}catch(T){ee.errorRequest(t,e,T)}if(e.aborted)return!1;n==="HEAD"&&(C[Ot]=!0),(i||n==="CONNECT")&&(C[Ot]=!0),c!=null&&(C[Ot]=c),t[VI]&&C[lU]++>=t[VI]&&(C[Ot]=!0),a&&(C[fc]=!0);let v=`${n} ${r} HTTP/1.1\r
|
|
14
|
+
`);g.push(v),i+=v.byteLength,S&&(i=null),s=t,r=async function*(){for(let T of g)T.stream?yield*T.stream():yield T},a=`multipart/form-data; boundary=${A}`}else if(RI(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(dc.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");n=t instanceof ReadableStream?t:NM(t)}if((typeof s=="string"||dc.isBuffer(s))&&(i=Buffer.byteLength(s)),r!=null){let A;n=new ReadableStream({async start(){A=r(t)[Symbol.asyncIterator]()},async pull(l){let{value:p,done:h}=await A.next();if(h)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!NI(n)){let g=new Uint8Array(p);g.byteLength&&l.enqueue(g)}return l.desiredSize>0},async cancel(l){await A.return()},type:"bytes"})}return[{stream:n,source:s,length:i},a]}function qM(t,e=!1){return t instanceof ReadableStream&&(hh(!dc.isDisturbed(t),"The body has already been consumed."),hh(!t.locked,"The stream is locked.")),_I(t,e)}function jM(t,e){let[n,r]=e.stream.tee();return e.stream=n,{stream:r,length:e.length,source:e.source}}function JM(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function WM(t){return{blob(){return No(this,n=>{let r=TI(this);return r===null?r="":r&&(r=GM(r)),new OM([n],{type:r})},t)},arrayBuffer(){return No(this,n=>new Uint8Array(n).buffer,t)},text(){return No(this,DI,t)},json(){return No(this,KM,t)},formData(){return No(this,n=>{let r=TI(this);if(r!==null)switch(r.essence){case"multipart/form-data":{let s=HM(n,r);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new xI;return i[Fo]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(n.toString()),i=new xI;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return No(this,n=>new Uint8Array(n),t)}}}function zM(t){Object.assign(t.prototype,WM(t))}async function No(t,e,n){if(PM.brandCheck(t,n),UI(t))throw new TypeError("Body is unusable: Body has already been read");JM(t[Fo]);let r=_M(),s=a=>r.reject(a),i=a=>{try{r.resolve(e(a))}catch(c){s(c)}};return t[Fo].body==null?(i(Buffer.allocUnsafe(0)),r.promise):(await UM(t[Fo].body,i,s),r.promise)}function UI(t){let e=t[Fo].body;return e!=null&&(e.stream.locked||dc.isDisturbed(e.stream))}function KM(t){return JSON.parse(DI(t))}function TI(t){let e=t[Fo].headersList,n=LM(e);return n==="failure"?null:n}LI.exports={extractBody:_I,safelyExtractBody:qM,cloneBody:jM,mixinBody:zM,streamRegistry:MI,hasFinalizationRegistry:FI,bodyUnusable:UI}});var eB=L((Fz,XI)=>{"use strict";var re=require("node:assert"),ee=Ie(),{channels:PI}=Bo(),gh=Kp(),{RequestContentLengthMismatchError:ii,ResponseContentLengthMismatchError:OI,RequestAbortedError:JI,InvalidArgumentError:ZM,HeadersTimeoutError:XM,HeadersOverflowError:e_,SocketError:_o,InformationalError:oi,BodyTimeoutError:t_,HTTPParserError:n_,ResponseExceededMaxSizeError:r_}=xe(),{kUrl:WI,kReset:Ot,kClient:wA,kParser:$e,kBlocking:fc,kRunning:tt,kPending:zI,kSize:$I,kWriting:As,kQueue:Pn,kNoRef:pc,kKeepAliveDefaultTimeout:s_,kHostHeader:i_,kPendingIdx:o_,kRunningIdx:mn,kError:Rt,kPipelining:QA,kSocket:ai,kKeepAliveTimeoutValue:SA,kMaxHeadersSize:mh,kKeepAliveMaxTimeout:a_,kKeepAliveTimeoutThreshold:c_,kHeadersTimeout:u_,kBodyTimeout:A_,kStrictContentLength:Ch,kMaxRequests:VI,kCounter:l_,kMaxResponseSize:d_,kOnError:GI,kResume:_r,kHTTPContext:KI}=He(),rn=MC(),HI=Buffer.alloc(0),CA=Buffer[Symbol.species],IA=ee.addListener,p_=ee.removeAllListeners,ci=Symbol("kIdleSocketValidation"),Uo=Symbol("kIdleSocketValidationTimeout"),Qh=Symbol("kSocketUsed"),yh;async function h_(){let t=process.env.JEST_WORKER_ID?eh():void 0,e;try{e=await WebAssembly.compile(LC())}catch{e=await WebAssembly.compile(t||eh())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(n,r,s)=>0,wasm_on_status:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onStatus(new CA(rr.buffer,i,s))||0},wasm_on_message_begin:n=>(re(je.ptr===n),je.onMessageBegin()||0),wasm_on_header_field:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onHeaderField(new CA(rr.buffer,i,s))||0},wasm_on_header_value:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onHeaderValue(new CA(rr.buffer,i,s))||0},wasm_on_headers_complete:(n,r,s,i)=>(re(je.ptr===n),je.onHeadersComplete(r,!!s,!!i)||0),wasm_on_body:(n,r,s)=>{re(je.ptr===n);let i=r-sr+rr.byteOffset;return je.onBody(new CA(rr.buffer,i,s))||0},wasm_on_message_complete:n=>(re(je.ptr===n),je.onMessageComplete()||0)}})}var Eh=null,Ih=h_();Ih.catch();var je=null,rr=null,BA=0,sr=null,f_=0,hc=1,Lo=2|hc,bA=4|hc,Bh=8|f_,wh=class{constructor(e,n,{exports:r}){re(Number.isFinite(e[mh])&&e[mh]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(rn.TYPE.RESPONSE),this.client=e,this.socket=n,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[mh],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[d_]}setTimeout(e,n){e!==this.timeoutValue||n&hc^this.timeoutType&hc?(this.timeout&&(gh.clearTimeout(this.timeout),this.timeout=null),e&&(n&hc?this.timeout=gh.setFastTimeout(YI,e,new WeakRef(this)):(this.timeout=setTimeout(YI,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=n}resume(){this.socket.destroyed||!this.paused||(re(this.ptr!=null),re(je==null),this.llhttp.llhttp_resume(this.ptr),re(this.timeoutType===bA),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||HI),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){re(this.ptr!=null),re(je==null),re(!this.paused);let{socket:n,llhttp:r}=this;e.length>BA&&(sr&&r.free(sr),BA=Math.ceil(e.length/4096)*4096,sr=r.malloc(BA)),new Uint8Array(r.memory.buffer,sr,BA).set(e);try{let s;try{rr=e,je=this,s=r.llhttp_execute(this.ptr,sr,e.length)}catch(a){throw a}finally{je=null,rr=null}let i=r.llhttp_get_error_pos(this.ptr)-sr;if(s!==rn.ERROR.OK){let a=e.subarray(i);if(s===rn.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===rn.ERROR.PAUSED)this.paused=!0,n.unshift(a);else throw this.createError(s,a)}}catch(s){ee.destroy(n,s)}}finish(){re(je===null),re(this.ptr!=null),re(!this.paused);let{llhttp:e}=this,n;try{je=this,n=e.llhttp_finish(this.ptr)}finally{je=null}return n===rn.ERROR.OK?null:n===rn.ERROR.PAUSED||n===rn.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(n,HI)}createError(e,n){let{llhttp:r,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new OI;let a=r.llhttp_get_error_reason(this.ptr),c="";if(a){let A=new Uint8Array(r.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,a,A).toString()+")"}return new n_(c,rn.ERROR[e],n)}destroy(){re(this.ptr!=null),re(je==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&gh.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:n}=this;if(e.destroyed)return-1;if(n[tt]===0)return ee.destroy(e,new _o("bad response",ee.getSocketInfo(e))),-1;let r=n[Pn][n[mn]];if(!r)return-1;r.onResponseStarted()}onHeaderField(e){let n=this.headers.length;(n&1)===0?this.headers.push(e):this.headers[n-1]=Buffer.concat([this.headers[n-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let n=this.headers.length;(n&1)===1?(this.headers.push(e),n+=1):this.headers[n-1]=Buffer.concat([this.headers[n-1],e]);let r=this.headers[n-2];if(r.length===10){let s=ee.bufferToLowerCasedHeaderName(r);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else r.length===14&&ee.bufferToLowerCasedHeaderName(r)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ee.destroy(this.socket,new e_)}onUpgrade(e){let{upgrade:n,client:r,socket:s,headers:i,statusCode:a,statusText:c}=this;re(n),re(r[ai]===s),re(!s.destroyed),re(!this.paused),re((i.length&1)===0);let A=r[Pn][r[mn]];re(A),re(A.upgrade||A.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[$e].destroy(),s[$e]=null,s[wA]=null,s[Rt]=null,p_(s),r[ai]=null,r[KI]=null,r[Pn][r[mn]++]=null,r.emit("disconnect",r[WI],[r],new oi("upgrade"));try{A.onUpgrade(a,i,s,c)}catch(l){ee.errorRequest(r,A,l),ee.destroy(s,l)}r[_r]()}onHeadersComplete(e,n,r){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[tt]===0)return ee.destroy(i,new _o("bad response",ee.getSocketInfo(i))),-1;let A=s[Pn][s[mn]];if(!A)return-1;if(re(!this.upgrade),re(this.statusCode<200),e===100)return ee.destroy(i,new _o("bad response",ee.getSocketInfo(i))),-1;if(n&&!A.upgrade)return ee.destroy(i,new _o("bad upgrade",ee.getSocketInfo(i))),-1;if(re(this.timeoutType===Lo),this.statusCode=e,this.shouldKeepAlive=r||A.method==="HEAD"&&!i[Ot]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let p=A.bodyTimeout!=null?A.bodyTimeout:s[A_];this.setTimeout(p,bA)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(A.method==="CONNECT")return re(s[tt]===1),this.upgrade=!0,2;if(n)return re(s[tt]===1),this.upgrade=!0,2;if(re((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[QA]){let p=this.keepAlive?ee.parseKeepAliveTimeout(this.keepAlive):null;if(p!=null){let h=Math.min(p-s[c_],s[a_]);h<=0?i[Ot]=!0:s[SA]=h}else s[SA]=s[s_]}else i[Ot]=!0;let l=A.onHeaders(e,a,this.resume,c)===!1;return A.aborted?-1:A.method==="HEAD"||e<200?1:(i[fc]&&(i[fc]=!1,s[_r]()),l?rn.ERROR.PAUSED:0)}onBody(e){let{client:n,socket:r,statusCode:s,maxResponseSize:i}=this;if(r.destroyed)return-1;let a=n[Pn][n[mn]];if(re(a),re(this.timeoutType===bA),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),re(s>=200),i>-1&&this.bytesRead+e.length>i)return ee.destroy(r,new r_),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return rn.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:n,statusCode:r,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:A}=this;if(n.destroyed&&(!r||A))return-1;if(s)return;re(r>=100),re((this.headers.length&1)===0);let l=e[Pn][e[mn]];if(re(l),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(r<200)){if(l.method!=="HEAD"&&a&&c!==parseInt(a,10))return ee.destroy(n,new OI),-1;if(l.onComplete(i),e[Pn][e[mn]++]=null,n[Qh]=!0,n[As])return re(e[tt]===0),ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED;if(A){if(n[Ot]&&e[tt]===0)return ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED;e[QA]==null||e[QA]===1?setImmediate(()=>e[_r]()):e[_r]()}else return ee.destroy(n,new oi("reset")),rn.ERROR.PAUSED}}};function YI(t){let{socket:e,timeoutType:n,client:r,paused:s}=t.deref();n===Lo?(!e[As]||e.writableNeedDrain||r[tt]>1)&&(re(!s,"cannot be paused while waiting for headers"),ee.destroy(e,new XM)):n===bA?s||ee.destroy(e,new t_):n===Bh&&(re(r[tt]===0&&r[SA]),ee.destroy(e,new oi("socket idle timeout")))}async function g_(t,e){t[ai]=e,Eh||(Eh=await Ih,Ih=null),e[pc]=!1,e[As]=!1,e[Ot]=!1,e[fc]=!1,e[ci]=0,e[Uo]=null,e[Qh]=!1,e[$e]=new wh(t,e,Eh),IA(e,"error",function(r){let s=this[$e];if(r.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Rt]=i,this[wA][GI](i));return}this[Rt]=r,this[wA][GI](r)}),IA(e,"readable",function(){let r=this[$e];r&&r.readMore()}),IA(e,"end",function(){let r=this[$e];if(r.statusCode&&!r.shouldKeepAlive){let s=r.finish();s&&ee.destroy(this,s);return}ee.destroy(this,new _o("other side closed",ee.getSocketInfo(this)))}),IA(e,"close",function(){let r=this[wA],s=this[$e];ZI(this),s&&(!this[Rt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Rt]=s.finish()||this[Rt]),this[$e].destroy(),this[$e]=null);let i=this[Rt]||new _o("closed",ee.getSocketInfo(this));if(r[ai]=null,r[KI]=null,r.destroyed){re(r[zI]===0);let a=r[Pn].splice(r[mn]);for(let c=0;c<a.length;c++){let A=a[c];ee.errorRequest(r,A,i)}}else if(r[tt]>0&&i.code!=="UND_ERR_INFO"){let a=r[Pn][r[mn]];r[Pn][r[mn]++]=null,ee.errorRequest(r,a,i)}r[o_]=r[mn],re(r[tt]===0),r.emit("disconnect",r[WI],[r],i),r[_r]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h1",defaultPipelining:1,write(...r){return C_(t,...r)},resume(){y_(t)},destroy(r,s){n?queueMicrotask(s):e.destroy(r).on("close",s)},get destroyed(){return e.destroyed},busy(r){return!!(e[As]||e[Ot]||e[fc]||e[ci]===1||r&&(t[tt]>0&&!r.idempotent||t[tt]>0&&(r.upgrade||r.method==="CONNECT")||t[tt]>0&&ee.bodyLength(r.body)!==0&&(ee.isStream(r.body)||ee.isAsyncIterable(r.body)||ee.isFormDataLike(r.body))))}}}function ZI(t){t[Uo]&&(clearImmediate(t[Uo]),t[Uo]=null),t[ci]=0}function m_(t,e){e[ci]=1,e[Uo]=setImmediate(()=>{e[Uo]=null,e[ci]=2,t[ai]===e&&!e.destroyed&&t[_r]()})}function y_(t){let e=t[ai];if(e&&!e.destroyed){if(t[$I]===0?!e[pc]&&e.unref&&(e.unref(),e[pc]=!0):e[pc]&&e.ref&&(e.ref(),e[pc]=!1),t[tt]===0&&t[zI]>0&&e[Qh]){if(e[ci]===0)return m_(t,e),e[$e].readMore(),e.destroyed,void 0;if(e[ci]===1)return e[$e].readMore(),e.destroyed,void 0}if(t[tt]===0&&(e[$e].readMore(),e.destroyed))return;if(t[$I]===0)e[$e].timeoutType!==Bh&&e[$e].setTimeout(t[SA],Bh);else if(t[tt]>0&&e[$e].statusCode<200&&e[$e].timeoutType!==Lo){let n=t[Pn][t[mn]],r=n.headersTimeout!=null?n.headersTimeout:t[u_];e[$e].setTimeout(r,Lo)}}}function E_(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function C_(t,e){let{method:n,path:r,host:s,upgrade:i,blocking:a,reset:c}=e,{body:A,headers:l,contentLength:p}=e,h=n==="PUT"||n==="POST"||n==="PATCH"||n==="QUERY"||n==="PROPFIND"||n==="PROPPATCH";if(ee.isFormDataLike(A)){yh||(yh=Mo().extractBody);let[T,x]=yh(A);e.contentType==null&&l.push("content-type",x),A=T.stream,p=T.length}else if(ee.isBlobLike(A)&&e.contentType==null){let T=A.type;if(T){let x=`${T}`;if(!ee.isValidHeaderValue(x))return ee.errorRequest(t,e,new ZM("invalid content-type header")),!1;l.push("content-type",x)}}A&&typeof A.read=="function"&&A.read(0);let g=ee.bodyLength(A);if(p=g??p,p===null&&(p=e.contentLength),p===0&&!h&&(p=null),E_(n)&&p>0&&e.contentLength!==null&&e.contentLength!==p){if(t[Ch])return ee.errorRequest(t,e,new ii),!1;process.emitWarning(new ii)}let C=t[ai];ZI(C);let S=T=>{if(!e.aborted){if(e.completed){(e.upgrade||e.method==="CONNECT")&&ee.destroy(C,new oi("aborted"));return}ee.errorRequest(t,e,T||new JI),ee.destroy(A),ee.destroy(C,new oi("aborted"))}};try{e.onConnect(S)}catch(T){ee.errorRequest(t,e,T)}if(e.aborted)return!1;n==="HEAD"&&(C[Ot]=!0),(i||n==="CONNECT")&&(C[Ot]=!0),c!=null&&(C[Ot]=c),t[VI]&&C[l_]++>=t[VI]&&(C[Ot]=!0),a&&(C[fc]=!0);let v=`${n} ${r} HTTP/1.1\r
|
|
15
15
|
`;if(typeof s=="string"?v+=`host: ${s}\r
|
|
16
|
-
`:v+=t[
|
|
16
|
+
`:v+=t[i_],i?v+=`connection: upgrade\r
|
|
17
17
|
upgrade: ${i}\r
|
|
18
18
|
`:t[QA]&&!C[Ot]?v+=`connection: keep-alive\r
|
|
19
19
|
`:v+=`connection: close\r
|
|
20
20
|
`,Array.isArray(l))for(let T=0;T<l.length;T+=2){let x=l[T+0],F=l[T+1];if(Array.isArray(F))for(let Y=0;Y<F.length;Y++)v+=`${x}: ${F[Y]}\r
|
|
21
21
|
`;else v+=`${x}: ${F}\r
|
|
22
|
-
`}return PI.sendHeaders.hasSubscribers&&PI.sendHeaders.publish({request:e,headers:v,socket:C}),!A||g===0?qI(S,null,t,e,C,p,v,h):ee.isBuffer(A)?qI(S,A,t,e,C,p,v,h):ee.isBlobLike(A)?typeof A.stream=="function"?jI(S,A.stream(),t,e,C,p,v,h):
|
|
22
|
+
`}return PI.sendHeaders.hasSubscribers&&PI.sendHeaders.publish({request:e,headers:v,socket:C}),!A||g===0?qI(S,null,t,e,C,p,v,h):ee.isBuffer(A)?qI(S,A,t,e,C,p,v,h):ee.isBlobLike(A)?typeof A.stream=="function"?jI(S,A.stream(),t,e,C,p,v,h):B_(S,A,t,e,C,p,v,h):ee.isStream(A)?I_(S,A,t,e,C,p,v,h):ee.isIterable(A)?jI(S,A,t,e,C,p,v,h):re(!1),!0}function I_(t,e,n,r,s,i,a,c){re(i!==0||n[tt]===0,"stream body cannot be pipelined");let A=!1,l=new kA({abort:t,socket:s,request:r,contentLength:i,client:n,expectsPayload:c,header:a}),p=function(S){if(!A)try{!l.write(S)&&this.pause&&this.pause()}catch(v){ee.destroy(this,v)}},h=function(){A||e.resume&&e.resume()},g=function(){if(queueMicrotask(()=>{e.removeListener("error",C)}),!A){let S=new JI;queueMicrotask(()=>C(S))}},C=function(S){if(!A){if(A=!0,re(s.destroyed||s[As]&&n[tt]<=1),s.off("drain",h).off("error",C),e.removeListener("data",p).removeListener("end",C).removeListener("close",g),!S)try{l.end()}catch(v){S=v}l.destroy(S),S&&(S.code!=="UND_ERR_INFO"||S.message!=="reset")?ee.destroy(e,S):ee.destroy(e)}};e.on("data",p).on("end",C).on("error",C).on("close",g),e.resume&&e.resume(),s.on("drain",h).on("error",C),e.errorEmitted??e.errored?setImmediate(()=>C(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>C(null)),(e.closeEmitted??e.closed)&&setImmediate(g)}function qI(t,e,n,r,s,i,a,c){try{e?ee.isBuffer(e)&&(re(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r
|
|
23
23
|
\r
|
|
24
24
|
`,"latin1"),s.write(e),s.uncork(),r.onBodySent(e),!c&&r.reset!==!1&&(s[Ot]=!0)):i===0?s.write(`${a}content-length: 0\r
|
|
25
25
|
\r
|
|
26
26
|
`,"latin1"):(re(i===null,"no body must not have content length"),s.write(`${a}\r
|
|
27
|
-
`,"latin1")),r.onRequestSent(),n[
|
|
27
|
+
`,"latin1")),r.onRequestSent(),n[_r]()}catch(A){t(A)}}async function B_(t,e,n,r,s,i,a,c){re(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new ii;let A=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r
|
|
28
28
|
\r
|
|
29
|
-
`,"latin1"),s.write(A),s.uncork(),r.onBodySent(A),r.onRequestSent(),!c&&r.reset!==!1&&(s[Ot]=!0),n[
|
|
29
|
+
`,"latin1"),s.write(A),s.uncork(),r.onBodySent(A),r.onRequestSent(),!c&&r.reset!==!1&&(s[Ot]=!0),n[_r]()}catch(A){t(A)}}async function jI(t,e,n,r,s,i,a,c){re(i!==0||n[tt]===0,"iterator body cannot be pipelined");let A=null;function l(){if(A){let g=A;A=null,g()}}let p=()=>new Promise((g,C)=>{re(A===null),s[Rt]?C(s[Rt]):A=g});s.on("close",l).on("drain",l);let h=new kA({abort:t,socket:s,request:r,contentLength:i,client:n,expectsPayload:c,header:a});try{for await(let g of e){if(s[Rt])throw s[Rt];h.write(g)||await p()}h.end()}catch(g){h.destroy(g)}finally{s.off("close",l).off("drain",l)}}var kA=class{constructor({abort:e,socket:n,request:r,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=n,this.request=r,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,n[As]=!0}write(e){let{socket:n,request:r,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:A}=this;if(n[Rt])throw n[Rt];if(n.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(s!==null&&a+l>s){if(i[Ch])throw new ii;process.emitWarning(new ii)}n.cork(),a===0&&(!c&&r.reset!==!1&&(n[Ot]=!0),s===null?n.write(`${A}transfer-encoding: chunked\r
|
|
30
30
|
`,"latin1"):n.write(`${A}content-length: ${s}\r
|
|
31
31
|
\r
|
|
32
32
|
`,"latin1")),s===null&&n.write(`\r
|
|
@@ -37,37 +37,37 @@ ${l.toString(16)}\r
|
|
|
37
37
|
`,"latin1"):n===null&&e.write(`\r
|
|
38
38
|
0\r
|
|
39
39
|
\r
|
|
40
|
-
`,"latin1"),n!==null&&s!==n){if(r[Ch])throw new ii;process.emitWarning(new ii)}e[$e].timeout&&e[$e].timeoutType===Lo&&e[$e].timeout.refresh&&e[$e].timeout.refresh(),r[Ur]()}}destroy(e){let{socket:n,client:r,abort:s}=this;n[As]=!1,e&&(re(r[tt]<=1,"pipeline should only contain this request"),s(e))}};XI.exports=gU});var cB=L((Mz,aB)=>{"use strict";var or=require("node:assert"),{errorMonitor:bh}=require("node:events"),{pipeline:wU}=require("node:stream"),Be=Ie(),{RequestContentLengthMismatchError:kh,RequestAbortedError:Sh,SocketError:gc,InformationalError:vA}=xe(),{kUrl:RA,kReset:TA,kClient:Po,kRunning:DA,kPending:QU,kQueue:ui,kPendingIdx:Rh,kRunningIdx:ir,kError:$n,kSocket:ct,kStrictContentLength:bU,kOnError:xh,kMaxConcurrentStreams:iB,kHTTP2Session:On,kResume:ds,kSize:SU,kHTTPContext:kU}=He(),ls=Symbol("open streams"),tB,nB=!1,xA;try{xA=require("node:http2")}catch{xA={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:vU,HTTP2_HEADER_METHOD:RU,HTTP2_HEADER_PATH:xU,HTTP2_HEADER_SCHEME:TU,HTTP2_HEADER_CONTENT_LENGTH:DU,HTTP2_HEADER_EXPECT:NU,HTTP2_HEADER_STATUS:vh}}=xA;function oB(t){let e=[];for(let[n,r]of Object.entries(t))if(Array.isArray(r))for(let s of r)e.push(Buffer.from(n),Buffer.from(s));else e.push(Buffer.from(n),Buffer.from(r));return e}function FU(t){let{[vh]:e,...n}=t;return oB(n)}async function MU(t,e){t[ct]=e,nB||(nB=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let n=xA.connect(t[RA],{createConnection:()=>e,peerMaxConcurrentStreams:t[iB]});n[ls]=0,n[Po]=t,n[ct]=e,Be.addListener(n,"error",_U),Be.addListener(n,"frameError",LU),Be.addListener(n,"end",PU),Be.addListener(n,"goaway",OU),Be.addListener(n,"close",function(){let{[Po]:s}=this,{[ct]:i}=s,a=this[ct][$n]||this[$n]||new gc("closed",Be.getSocketInfo(i));if(s[On]=null,s.destroyed){or(s[QU]===0);let c=s[ui].splice(s[ir]);for(let A=0;A<c.length;A++){let l=c[A];Be.errorRequest(s,l,a)}}}),n.unref(),t[On]=n,e[On]=n,Be.addListener(e,"error",function(s){this[$n]=s,this[Po][xh](s)}),Be.addListener(e,"end",function(){Be.destroy(this,new gc("other side closed",Be.getSocketInfo(this)))}),Be.addListener(e,"close",function(){let s=this[$n]||new gc("closed",Be.getSocketInfo(this));t[ct]=null,this[On]!=null&&this[On].destroy(s),t[Rh]=t[ir],or(t[DA]===0),t.emit("disconnect",t[RA],[t],s),t[ds]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return VU(t,...s)},resume(){UU(t)},destroy(s,i){r?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}function UU(t){let e=t[ct];e?.destroyed===!1&&(t[SU]===0&&t[iB]===0?(e.unref(),t[On].unref()):(e.ref(),t[On].ref()))}function _U(t){this[ct][$n]=t,this[Po][xh](t)}function LU(t,e,n){if(n===0){let r=new vA(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[ct][$n]=r,this[Po][xh](r)}}function PU(){let t=new gc("other side closed",Be.getSocketInfo(this[ct]));this.destroy(t),Be.destroy(this[ct],t)}function OU(t){let e=this[$n]||new gc(`HTTP/2: "GOAWAY" frame received with code ${t}`,Be.getSocketInfo(this)),n=this[Po];if(n[ct]=null,n[kU]=null,this[On]!=null&&(this[On].destroy(e),this[On]=null),Be.destroy(this[ct],e),n[ir]<n[ui].length){let r=n[ui][n[ir]];n[ui][n[ir]++]=null,Be.errorRequest(n,r,e),n[Rh]=n[ir]}or(n[DA]===0),n.emit("disconnect",n[RA],[n],e),n[ds]()}function $U(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function VU(t,e){let n=t[On],{method:r,path:s,host:i,upgrade:a,expectContinue:c,signal:A,headers:l}=e,{body:p}=e;if(a)return Be.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let h={};for(let $=0;$<l.length;$+=2){let ae=l[$+0],ke=l[$+1];if(Array.isArray(ke))for(let ve=0;ve<ke.length;ve++)h[ae]?h[ae]+=`,${ke[ve]}`:h[ae]=ke[ve];else h[ae]=ke}let g,{hostname:C,port:S}=t[RA];h[vU]=i||`${C}${S?`:${S}`:""}`,h[RU]=r;let v=$=>{if(!e.aborted){if(e.completed){r==="CONNECT"&&g!=null&&Be.destroy(g,$||new Sh);return}$=$||new Sh,Be.errorRequest(t,e,$),g!=null&&Be.destroy(g,$),Be.destroy(p,$),t[ui][t[ir]++]=null,t[ds]()}};try{e.onConnect(v)}catch($){Be.errorRequest(t,e,$)}if(e.aborted)return!1;if(r==="CONNECT"){n.ref(),g=n.request(h,{endStream:!1,signal:A});let $=!1,ae=_e=>{$=!0,g.off(bh,ke),e.onUpgradeResponse(Number(_e[vh]),_e,FU)},ke=_e=>{$=!0,g.off("response",ae),e.onUpgradeError(_e)},ve=()=>{try{e.onUpgrade(null,null,g)}catch(_e){g.off("response",ae),v(_e);return}e.aborted||(g.off("error",v),g.once(bh,ke),t[ui][t[ir]++]=null)};return g.once("response",ae),g.once("error",v),++n[ls],ve(),g.once("close",()=>{!$&&e.completed&&(g.off("response",ae),g.off(bh,ke),e.onUpgradeError(new vA(`HTTP/2: "stream error" received - code ${g.rstCode}`))),n[ls]-=1,n[ls]===0&&n.unref()}),!0}h[xU]=s,h[TU]="https";let T=r==="PUT"||r==="POST"||r==="PATCH";p&&typeof p.read=="function"&&p.read(0);let x=Be.bodyLength(p);if(Be.isFormDataLike(p)){tB??=Mo().extractBody;let[$,ae]=tB(p);h["content-type"]=ae,p=$.stream,x=$.length}if(x==null&&(x=e.contentLength),(x===0||!T)&&(x=null),$U(r)&&x>0&&e.contentLength!=null&&e.contentLength!==x){if(t[bU])return Be.errorRequest(t,e,new kh),!1;process.emitWarning(new kh)}x!=null&&(or(p,"no body must not have content length"),h[DU]=`${x}`),n.ref();let F=r==="GET"||r==="HEAD"||p===null;return c?(h[NU]="100-continue",g=n.request(h,{endStream:F,signal:A}),g.once("continue",Y)):(g=n.request(h,{endStream:F,signal:A}),Y()),++n[ls],g.once("response",$=>{let{[vh]:ae,...ke}=$;if(e.onResponseStarted(),e.aborted){let ve=new Sh;Be.errorRequest(t,e,ve),Be.destroy(g,ve);return}e.onHeaders(Number(ae),oB(ke),g.resume.bind(g),"")===!1&&g.pause(),g.on("data",ve=>{e.onData(ve)===!1&&g.pause()})}),g.once("end",()=>{(g.state?.state==null||g.state.state<6)&&e.onComplete([]),n[ls]===0&&n.unref(),v(new vA("HTTP/2: stream half-closed (remote)")),t[ui][t[ir]++]=null,t[Rh]=t[ir],t[ds]()}),g.once("close",()=>{n[ls]-=1,n[ls]===0&&n.unref()}),g.once("error",function($){v($)}),g.once("frameError",($,ae)=>{v(new vA(`HTTP/2: "frameError" received - type ${$}, code ${ae}`))}),!0;function Y(){!p||x===0?rB(v,g,null,t,e,t[ct],x,T):Be.isBuffer(p)?rB(v,g,p,t,e,t[ct],x,T):Be.isBlobLike(p)?typeof p.stream=="function"?sB(v,g,p.stream(),t,e,t[ct],x,T):HU(v,g,p,t,e,t[ct],x,T):Be.isStream(p)?GU(v,t[ct],T,g,p,t,e,x):Be.isIterable(p)?sB(v,g,p,t,e,t[ct],x,T):or(!1)}}function rB(t,e,n,r,s,i,a,c){try{n!=null&&Be.isBuffer(n)&&(or(a===n.byteLength,"buffer body must have content length"),e.cork(),e.write(n),e.uncork(),e.end(),s.onBodySent(n)),c||(i[TA]=!0),s.onRequestSent(),r[ds]()}catch(A){t(A)}}function GU(t,e,n,r,s,i,a,c){or(c!==0||i[DA]===0,"stream body cannot be pipelined");let A=wU(s,r,p=>{p?(Be.destroy(A,p),t(p)):(Be.removeAllListeners(A),a.onRequestSent(),n||(e[TA]=!0),i[ds]())});Be.addListener(A,"data",l);function l(p){a.onBodySent(p)}}async function HU(t,e,n,r,s,i,a,c){or(a===n.size,"blob body must have content length");try{if(a!=null&&a!==n.size)throw new kh;let A=Buffer.from(await n.arrayBuffer());e.cork(),e.write(A),e.uncork(),e.end(),s.onBodySent(A),s.onRequestSent(),c||(i[TA]=!0),r[ds]()}catch(A){t(A)}}async function sB(t,e,n,r,s,i,a,c){or(a!==0||r[DA]===0,"iterator body cannot be pipelined");let A=null;function l(){if(A){let h=A;A=null,h()}}let p=()=>new Promise((h,g)=>{or(A===null),i[$n]?g(i[$n]):A=h});e.on("close",l).on("drain",l);try{for await(let h of n){if(i[$n])throw i[$n];let g=e.write(h);s.onBodySent(h),g||await p()}e.end(),s.onRequestSent(),c||(i[TA]=!0),r[ds]()}catch(h){t(h)}finally{e.off("close",l).off("drain",l)}}aB.exports=MU});var FA=L((Uz,lB)=>{"use strict";var ar=Ie(),{kBodyUsed:mc}=He(),Dh=require("node:assert"),{InvalidArgumentError:YU}=xe(),qU=require("node:events"),jU=[300,301,302,303,307,308],uB=Symbol("body"),NA=class{constructor(e){this[uB]=e,this[mc]=!1}async*[Symbol.asyncIterator](){Dh(!this[mc],"disturbed"),this[mc]=!0,yield*this[uB]}},Th=class{constructor(e,n,r,s){if(n!=null&&(!Number.isInteger(n)||n<0))throw new YU("maxRedirections must be a positive number");ar.validateHandler(s,r.method,r.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...r,maxRedirections:0},this.maxRedirections=n,this.handler=s,this.history=[],this.redirectionLimitReached=!1,ar.isStream(this.opts.body)?(ar.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Dh(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[mc]=!1,qU.prototype.on.call(this.opts.body,"data",function(){this[mc]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new NA(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&ar.isIterable(this.opts.body)&&(this.opts.body=new NA(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,n,r){this.handler.onUpgrade(e,n,r)}onError(e){this.handler.onError(e)}onHeaders(e,n,r,s){if(this.location=this.history.length>=this.maxRedirections||ar.isDisturbed(this.opts.body)?null:JU(e,n),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,n,r,s);let{origin:i,pathname:a,search:c}=ar.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),A=c?`${a}${c}`:a;this.opts.headers=WU(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=A,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function JU(t,e){if(jU.indexOf(t)===-1)return null;for(let n=0;n<e.length;n+=2)if(e[n].length===8&&ar.headerNameToString(e[n])==="location")return e[n+1]}function AB(t,e,n){if(t.length===4)return ar.headerNameToString(t)==="host";if(e&&ar.headerNameToString(t).startsWith("content-"))return!0;if(n&&(t.length===13||t.length===6||t.length===19)){let r=ar.headerNameToString(t);return r==="authorization"||r==="cookie"||r==="proxy-authorization"}return!1}function WU(t,e,n){let r=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)AB(t[s],e,n)||r.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))AB(s,e,n)||r.push(s,t[s]);else Dh(t==null,"headers must be an object or an array");return r}lB.exports=Th});var MA=L((_z,dB)=>{"use strict";var zU=FA();function KU({maxRedirections:t}){return e=>function(r,s){let{maxRedirections:i=t}=r;if(!i)return e(r,s);let a=new zU(e,i,r,s);return r={...r,maxRedirections:0},e(r,a)}}dB.exports=KU});var Vo=L((Lz,BB)=>{"use strict";var _r=require("node:assert"),yB=require("node:net"),ZU=require("node:http"),Ai=Ie(),{channels:Oo}=Bo(),XU=IC(),e_=So(),{InvalidArgumentError:Ke,InformationalError:t_,ClientDestroyedError:n_}=xe(),r_=sc(),{kUrl:cr,kServerName:ps,kClient:s_,kBusy:Nh,kConnect:i_,kResuming:li,kRunning:Bc,kPending:wc,kSize:Ic,kQueue:Vn,kConnected:o_,kConnecting:$o,kNeedDrain:fs,kKeepAliveDefaultTimeout:pB,kHostHeader:a_,kPendingIdx:Gn,kRunningIdx:Lr,kError:c_,kPipelining:UA,kKeepAliveTimeoutValue:u_,kMaxHeadersSize:A_,kKeepAliveMaxTimeout:l_,kKeepAliveTimeoutThreshold:d_,kHeadersTimeout:p_,kBodyTimeout:h_,kStrictContentLength:f_,kConnector:yc,kMaxRedirections:g_,kMaxRequests:Fh,kCounter:m_,kClose:y_,kDestroy:E_,kDispatch:C_,kInterceptors:hB,kLocalAddress:Ec,kMaxResponseSize:I_,kOnError:B_,kHTTPContext:Ze,kMaxConcurrentStreams:w_,kResume:Cc}=He(),Q_=eB(),b_=cB(),fB=!1,hs=Symbol("kClosedResolve"),gB=()=>{};function EB(t){return t[UA]??t[Ze]?.defaultPipelining??1}var Mh=class extends e_{constructor(e,{interceptors:n,maxHeaderSize:r,headersTimeout:s,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:A,idleTimeout:l,keepAlive:p,keepAliveTimeout:h,maxKeepAliveTimeout:g,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:S,socketPath:v,pipelining:T,tls:x,strictContentLength:F,maxCachedSessions:Y,maxRedirections:$,connect:ae,maxRequestsPerClient:ke,localAddress:ve,maxResponseSize:_e,autoSelectFamily:We,autoSelectFamilyAttemptTimeout:Lt,maxConcurrentStreams:et,allowH2:Ge,webSocket:ot,eventSource:fe}={}){if(super({webSocket:ot,eventSource:fe}),p!==void 0)throw new Ke("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new Ke("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Ke("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(l!==void 0)throw new Ke("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new Ke("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(r!=null&&!Number.isFinite(r))throw new Ke("invalid maxHeaderSize");if(v!=null&&typeof v!="string")throw new Ke("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Ke("invalid connectTimeout");if(h!=null&&(!Number.isFinite(h)||h<=0))throw new Ke("invalid keepAliveTimeout");if(C!=null&&(!Number.isFinite(C)||C<=0))throw new Ke("invalid keepAliveMaxTimeout");if(S!=null&&!Number.isFinite(S))throw new Ke("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new Ke("headersTimeout must be a positive integer or zero");if(A!=null&&(!Number.isInteger(A)||A<0))throw new Ke("bodyTimeout must be a positive integer or zero");if(ae!=null&&typeof ae!="function"&&typeof ae!="object")throw new Ke("connect must be a function or an object");if($!=null&&(!Number.isInteger($)||$<0))throw new Ke("maxRedirections must be a positive number");if(ke!=null&&(!Number.isInteger(ke)||ke<0))throw new Ke("maxRequestsPerClient must be a positive number");if(ve!=null&&(typeof ve!="string"||yB.isIP(ve)===0))throw new Ke("localAddress must be valid string IP address");if(_e!=null&&(!Number.isInteger(_e)||_e<-1))throw new Ke("maxResponseSize must be a positive number");if(Lt!=null&&(!Number.isInteger(Lt)||Lt<-1))throw new Ke("autoSelectFamilyAttemptTimeout must be a positive number");if(Ge!=null&&typeof Ge!="boolean")throw new Ke("allowH2 must be a valid boolean value");if(et!=null&&(typeof et!="number"||et<1))throw new Ke("maxConcurrentStreams must be a positive integer, greater than 0");typeof ae!="function"&&(ae=r_({...x,maxCachedSessions:Y,allowH2:Ge,socketPath:v,timeout:c,...We?{autoSelectFamily:We,autoSelectFamilyAttemptTimeout:Lt}:void 0,...ae})),n?.Client&&Array.isArray(n.Client)?(this[hB]=n.Client,fB||(fB=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[hB]=[S_({maxRedirections:$})],this[cr]=Ai.parseOrigin(e),this[yc]=ae,this[UA]=T??1,this[A_]=r||ZU.maxHeaderSize,this[pB]=h??4e3,this[l_]=C??6e5,this[d_]=S??2e3,this[u_]=this[pB],this[ps]=null,this[Ec]=ve??null,this[li]=0,this[fs]=0,this[a_]=`host: ${this[cr].hostname}${this[cr].port?`:${this[cr].port}`:""}\r
|
|
41
|
-
`,this[h_]=A??3e5,this[p_]=s??3e5,this[f_]=F??!0,this[g_]=$,this[Fh]=ke,this[hs]=null,this[I_]=_e>-1?_e:-1,this[w_]=et??100,this[Ze]=null,this[Vn]=[],this[Lr]=0,this[Gn]=0,this[Cc]=ut=>Uh(this,ut),this[B_]=ut=>CB(this,ut)}get pipelining(){return this[UA]}set pipelining(e){this[UA]=e,this[Cc](!0)}get[wc](){return this[Vn].length-this[Gn]}get[Bc](){return this[Gn]-this[Lr]}get[Ic](){return this[Vn].length-this[Lr]}get[o_](){return!!this[Ze]&&!this[$o]&&!this[Ze].destroyed}get[Nh](){return!!(this[Ze]?.busy(null)||this[Ic]>=(EB(this)||1)||this[wc]>0)}[i_](e){IB(this),this.once("connect",e)}[C_](e,n){let r=e.origin||this[cr].origin,s=new XU(r,e,n);return this[Vn].push(s),this[li]||(Ai.bodyLength(s.body)==null&&Ai.isIterable(s.body)?(this[li]=1,queueMicrotask(()=>Uh(this))):this[Cc](!0)),this[li]&&this[fs]!==2&&this[Nh]&&(this[fs]=2),this[fs]<2}async[y_](){return new Promise(e=>{this[Ic]?this[hs]=e:e(null)})}async[E_](e){return new Promise(n=>{let r=this[Vn].splice(this[Gn]);for(let i=0;i<r.length;i++){let a=r[i];Ai.errorRequest(this,a,e)}let s=()=>{this[hs]&&(this[hs](),this[hs]=null),n(null)};this[Ze]?(this[Ze].destroy(e,s),this[Ze]=null):queueMicrotask(s),this[Cc]()})}},S_=MA();function CB(t,e){if(t[Bc]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){_r(t[Gn]===t[Lr]);let n=t[Vn].splice(t[Lr]);for(let r=0;r<n.length;r++){let s=n[r];Ai.errorRequest(t,s,e)}_r(t[Ic]===0)}}async function IB(t){_r(!t[$o]),_r(!t[Ze]);let{host:e,hostname:n,protocol:r,port:s}=t[cr];if(n[0]==="["){let i=n.indexOf("]");_r(i!==-1);let a=n.substring(1,i);_r(yB.isIP(a)),n=a}t[$o]=!0,Oo.beforeConnect.hasSubscribers&&Oo.beforeConnect.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc]});try{let i=await new Promise((a,c)=>{t[yc]({host:e,hostname:n,protocol:r,port:s,servername:t[ps],localAddress:t[Ec]},(A,l)=>{A?c(A):a(l)})});if(t.destroyed){Ai.destroy(i.on("error",gB),new n_);return}_r(i);try{t[Ze]=i.alpnProtocol==="h2"?await b_(t,i):await Q_(t,i)}catch(a){throw i.destroy().on("error",gB),a}t[$o]=!1,i[m_]=0,i[Fh]=t[Fh],i[s_]=t,i[c_]=null,Oo.connected.hasSubscribers&&Oo.connected.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc],socket:i}),t.emit("connect",t[cr],[t])}catch(i){if(t.destroyed)return;if(t[$o]=!1,Oo.connectError.hasSubscribers&&Oo.connectError.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(_r(t[Bc]===0);t[wc]>0&&t[Vn][t[Gn]].servername===t[ps];){let a=t[Vn][t[Gn]++];Ai.errorRequest(t,a,i)}else CB(t,i);t.emit("connectionError",t[cr],[t],i)}t[Cc]()}function mB(t){t[fs]=0,t.emit("drain",t[cr],[t])}function Uh(t,e){t[li]!==2&&(t[li]=2,k_(t,e),t[li]=0,t[Lr]>256&&(t[Vn].splice(0,t[Lr]),t[Gn]-=t[Lr],t[Lr]=0))}function k_(t,e){for(;;){if(t.destroyed){_r(t[wc]===0);return}if(t[hs]&&!t[Ic]){t[hs](),t[hs]=null;return}if(t[Ze]&&t[Ze].resume(),t[Nh])t[fs]=2;else if(t[fs]===2){e?(t[fs]=1,queueMicrotask(()=>mB(t))):mB(t);continue}if(t[wc]===0||t[Bc]>=(EB(t)||1))return;let n=t[Vn][t[Gn]];if(t[cr].protocol==="https:"&&t[ps]!==n.servername){if(t[Bc]>0)return;t[ps]=n.servername,t[Ze]?.destroy(new t_("servername changed"),()=>{t[Ze]=null,Uh(t)})}if(t[$o])return;if(!t[Ze]){IB(t);return}if(t[Ze].destroyed||t[Ze].busy(n))return;!n.aborted&&t[Ze].write(n)?t[Gn]++:t[Vn].splice(t[Gn],1)}}BB.exports=Mh});var _h=L((Oz,wB)=>{"use strict";var _A=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};wB.exports=class{constructor(){this.head=this.tail=new _A}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new _A),this.head.push(e)}shift(){let e=this.tail,n=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),n}}});var bB=L(($z,QB)=>{var{kFree:v_,kConnected:R_,kPending:x_,kQueued:T_,kRunning:D_,kSize:N_}=He(),di=Symbol("pool"),Lh=class{constructor(e){this[di]=e}get connected(){return this[di][R_]}get free(){return this[di][v_]}get pending(){return this[di][x_]}get queued(){return this[di][T_]}get running(){return this[di][D_]}get size(){return this[di][N_]}};QB.exports=Lh});var Hh=L((Vz,MB)=>{"use strict";var F_=So(),M_=_h(),{kConnected:Ph,kSize:SB,kRunning:kB,kPending:vB,kQueued:Qc,kBusy:U_,kFree:__,kUrl:L_,kClose:P_,kDestroy:O_,kDispatch:$_}=He(),V_=bB(),$t=Symbol("clients"),xt=Symbol("needDrain"),bc=Symbol("queue"),Oh=Symbol("closed resolve"),$h=Symbol("onDrain"),RB=Symbol("onConnect"),xB=Symbol("onDisconnect"),TB=Symbol("onConnectionError"),Vh=Symbol("get dispatcher"),NB=Symbol("add client"),FB=Symbol("remove client"),DB=Symbol("stats"),Gh=class extends F_{constructor(e){super(e),this[bc]=new M_,this[$t]=[],this[Qc]=0;let n=this;this[$h]=function(s,i){let a=n[bc],c=!1;for(;!c;){let A=a.shift();if(!A)break;n[Qc]--,c=!this.dispatch(A.opts,A.handler)}this[xt]=c,!this[xt]&&n[xt]&&(n[xt]=!1,n.emit("drain",s,[n,...i])),n[Oh]&&a.isEmpty()&&Promise.all(n[$t].map(A=>A.close())).then(n[Oh])},this[RB]=(r,s)=>{n.emit("connect",r,[n,...s])},this[xB]=(r,s,i)=>{n.emit("disconnect",r,[n,...s],i)},this[TB]=(r,s,i)=>{n.emit("connectionError",r,[n,...s],i)},this[DB]=new V_(this)}get[U_](){return this[xt]}get[Ph](){return this[$t].filter(e=>e[Ph]).length}get[__](){return this[$t].filter(e=>e[Ph]&&!e[xt]).length}get[vB](){let e=this[Qc];for(let{[vB]:n}of this[$t])e+=n;return e}get[kB](){let e=0;for(let{[kB]:n}of this[$t])e+=n;return e}get[SB](){let e=this[Qc];for(let{[SB]:n}of this[$t])e+=n;return e}get stats(){return this[DB]}async[P_](){this[bc].isEmpty()?await Promise.all(this[$t].map(e=>e.close())):await new Promise(e=>{this[Oh]=e})}async[O_](e){for(;;){let n=this[bc].shift();if(!n)break;n.handler.onError(e)}await Promise.all(this[$t].map(n=>n.destroy(e)))}[$_](e,n){let r=this[Vh]();return r?r.dispatch(e,n)||(r[xt]=!0,this[xt]=!this[Vh]()):(this[xt]=!0,this[bc].push({opts:e,handler:n}),this[Qc]++),!this[xt]}[NB](e){return e.on("drain",this[$h]).on("connect",this[RB]).on("disconnect",this[xB]).on("connectionError",this[TB]),this[$t].push(e),this[xt]&&queueMicrotask(()=>{this[xt]&&this[$h](e[L_],[this,e])}),this}[FB](e){e.close(()=>{let n=this[$t].indexOf(e);n!==-1&&this[$t].splice(n,1)}),this[xt]=this[$t].some(n=>!n[xt]&&n.closed!==!0&&n.destroyed!==!0)}};MB.exports={PoolBase:Gh,kClients:$t,kNeedDrain:xt,kAddClient:NB,kRemoveClient:FB,kGetDispatcher:Vh}});var Go=L((Gz,PB)=>{"use strict";var{PoolBase:G_,kClients:LA,kNeedDrain:H_,kAddClient:Y_,kGetDispatcher:q_}=Hh(),j_=Vo(),{InvalidArgumentError:Yh}=xe(),UB=Ie(),{kUrl:_B,kInterceptors:J_}=He(),W_=sc(),qh=Symbol("options"),jh=Symbol("connections"),LB=Symbol("factory");function z_(t,e){return new j_(t,e)}var Jh=class extends G_{constructor(e,{connections:n,factory:r=z_,connect:s,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:p,allowH2:h,...g}={}){if(n!=null&&(!Number.isFinite(n)||n<0))throw new Yh("invalid connections");if(typeof r!="function")throw new Yh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Yh("connect must be a function or an object");typeof s!="function"&&(s=W_({...a,maxCachedSessions:c,allowH2:h,socketPath:A,timeout:i,...l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:p}:void 0,...s})),super(g),this[J_]=g.interceptors?.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[jh]=n||null,this[_B]=UB.parseOrigin(e),this[qh]={...UB.deepClone(g),connect:s,allowH2:h},this[qh].interceptors=g.interceptors?{...g.interceptors}:void 0,this[LB]=r,this.on("connectionError",(C,S,v)=>{for(let T of S){let x=this[LA].indexOf(T);x!==-1&&this[LA].splice(x,1)}})}[q_](){for(let e of this[LA])if(!e[H_])return e;if(!this[jh]||this[LA].length<this[jh]){let e=this[LB](this[_B],this[qh]);return this[Y_](e),e}}};PB.exports=Jh});var HB=L((Hz,GB)=>{"use strict";var{BalancedPoolMissingUpstreamError:K_,InvalidArgumentError:Z_}=xe(),{PoolBase:X_,kClients:Et,kNeedDrain:Sc,kAddClient:eL,kRemoveClient:tL,kGetDispatcher:nL}=Hh(),rL=Go(),{kUrl:Wh,kInterceptors:sL}=He(),{parseOrigin:OB}=Ie(),$B=Symbol("factory"),PA=Symbol("options"),VB=Symbol("kGreatestCommonDivisor"),pi=Symbol("kCurrentWeight"),hi=Symbol("kIndex"),yn=Symbol("kWeight"),OA=Symbol("kMaxWeightPerServer"),$A=Symbol("kErrorPenalty");function iL(t,e){if(t===0)return e;for(;e!==0;){let n=e;e=t%e,t=n}return t}function oL(t,e){return new rL(t,e)}var zh=class extends X_{constructor(e=[],{factory:n=oL,...r}={}){if(super(),this[PA]=r,this[hi]=-1,this[pi]=0,this[OA]=this[PA].maxWeightPerServer||100,this[$A]=this[PA].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof n!="function")throw new Z_("factory must be a function.");this[sL]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[],this[$B]=n;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let n=OB(e).origin;if(this[Et].find(s=>s[Wh].origin===n&&s.closed!==!0&&s.destroyed!==!0))return this;let r=this[$B](n,Object.assign({},this[PA]));this[eL](r),r.on("connect",()=>{r[yn]=Math.min(this[OA],r[yn]+this[$A])}),r.on("connectionError",()=>{r[yn]=Math.max(1,r[yn]-this[$A]),this._updateBalancedPoolStats()}),r.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(r[yn]=Math.max(1,r[yn]-this[$A]),this._updateBalancedPoolStats())});for(let s of this[Et])s[yn]=this[OA];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let n=0;n<this[Et].length;n++)e=iL(this[Et][n][yn],e);this[VB]=e}removeUpstream(e){let n=OB(e).origin,r=this[Et].find(s=>s[Wh].origin===n&&s.closed!==!0&&s.destroyed!==!0);return r&&this[tL](r),this}get upstreams(){return this[Et].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Wh].origin)}[nL](){if(this[Et].length===0)throw new K_;if(!this[Et].find(i=>!i[Sc]&&i.closed!==!0&&i.destroyed!==!0)||this[Et].map(i=>i[Sc]).reduce((i,a)=>i&&a,!0))return;let r=0,s=this[Et].findIndex(i=>!i[Sc]);for(;r++<this[Et].length;){this[hi]=(this[hi]+1)%this[Et].length;let i=this[Et][this[hi]];if(i[yn]>this[Et][s][yn]&&!i[Sc]&&(s=this[hi]),this[hi]===0&&(this[pi]=this[pi]-this[VB],this[pi]<=0&&(this[pi]=this[OA])),i[yn]>=this[pi]&&!i[Sc])return i}return this[pi]=this[Et][s][yn],this[hi]=s,this[Et][s]}};GB.exports=zh});var Ho=L((Yz,KB)=>{"use strict";var{InvalidArgumentError:VA}=xe(),{kClients:gs,kRunning:YB,kClose:aL,kDestroy:cL,kDispatch:uL,kInterceptors:AL}=He(),lL=So(),dL=Go(),pL=Vo(),hL=Ie(),fL=MA(),qB=Symbol("onConnect"),jB=Symbol("onDisconnect"),JB=Symbol("onConnectionError"),gL=Symbol("maxRedirections"),WB=Symbol("onDrain"),zB=Symbol("factory"),Kh=Symbol("options");function mL(t,e){return e&&e.connections===1?new pL(t,e):new dL(t,e)}var Zh=class extends lL{constructor({factory:e=mL,maxRedirections:n=0,connect:r,tls:s,...i}={}){if(typeof e!="function")throw new VA("factory must be a function.");if(r!=null&&typeof r!="function"&&typeof r!="object")throw new VA("connect must be a function or an object");if(!Number.isInteger(n)||n<0)throw new VA("maxRedirections must be a positive number");super(i),r&&typeof r!="function"&&(r={...r}),s&&typeof s!="function"&&(s={...s}),this[AL]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[fL({maxRedirections:n})],this[Kh]={...hL.deepClone(i),connect:r,tls:s},this[Kh].interceptors=i.interceptors?{...i.interceptors}:void 0,this[gL]=n,this[zB]=e,this[gs]=new Map,this[WB]=(a,c)=>{this.emit("drain",a,[this,...c])},this[qB]=(a,c)=>{this.emit("connect",a,[this,...c])},this[jB]=(a,c,A)=>{this.emit("disconnect",a,[this,...c],A)},this[JB]=(a,c,A)=>{this.emit("connectionError",a,[this,...c],A)}}get[YB](){let e=0;for(let n of this[gs].values())e+=n[YB];return e}[uL](e,n){let r;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))r=String(e.origin);else throw new VA("opts.origin must be a non-empty string or URL.");let s=this[gs].get(r);return s||(s=this[zB](e.origin,this[Kh]).on("drain",this[WB]).on("connect",this[qB]).on("disconnect",this[jB]).on("connectionError",this[JB]),this[gs].set(r,s)),s.dispatch(e,n)}async[aL](){let e=[];for(let n of this[gs].values())e.push(n.close());this[gs].clear(),await Promise.all(e)}async[cL](e){let n=[];for(let r of this[gs].values())n.push(r.destroy(e));this[gs].clear(),await Promise.all(n)}};KB.exports=Zh});var rf=L((qz,cw)=>{"use strict";var{kProxy:Xh,kClose:rw,kDestroy:sw,kDispatch:ZB,kInterceptors:yL}=He(),{URL:fi}=require("node:url"),EL=Ho(),iw=Go(),ow=So(),{InvalidArgumentError:Yo,RequestAbortedError:CL,SecureProxyConnectionError:IL}=xe(),XB=sc(),aw=Vo(),GA=Symbol("proxy agent"),HA=Symbol("proxy client"),ms=Symbol("proxy headers"),ef=Symbol("request tls settings"),ew=Symbol("proxy tls settings"),tw=Symbol("connect endpoint function"),nw=Symbol("tunnel proxy");function BL(t){return t==="https:"?443:80}function wL(t,e){return new iw(t,e)}var QL=()=>{};function bL(t,e){return e.connections===1?new aw(t,e):new iw(t,e)}var tf=class extends ow{#e;constructor(e,{headers:n={},connect:r,factory:s}){if(super(),!e)throw new Yo("Proxy URL is mandatory");this[ms]=n,s?this.#e=s(e,{connect:r}):this.#e=new aw(e,{connect:r})}[ZB](e,n){let r=n.onHeaders;n.onHeaders=function(c,A,l){if(c===407){typeof n.onError=="function"&&n.onError(new Yo("Proxy Authentication Required (407)"));return}r&&r.call(this,c,A,l)};let{origin:s,path:i="/",headers:a={}}=e;if(e.path=s+i,!("host"in a)&&!("Host"in a)){let{host:c}=new fi(s);a.host=c}return e.headers={...this[ms],...a},this.#e[ZB](e,n)}async[rw](){return this.#e.close()}async[sw](e){return this.#e.destroy(e)}},nf=class extends ow{constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof fi)&&!e.uri)throw new Yo("Proxy uri is mandatory");let{clientFactory:n=wL}=e;if(typeof n!="function")throw new Yo("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r=!0}=e,s=this.#e(e),{href:i,origin:a,port:c,protocol:A,username:l,password:p,hostname:h}=s;if(this[Xh]={uri:i,protocol:A},this[yL]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[ef]=e.requestTls,this[ew]=e.proxyTls,this[ms]=e.headers||{},this[nw]=r,e.auth&&e.token)throw new Yo("opts.auth cannot be used in combination with opts.token");e.auth?this[ms]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ms]["proxy-authorization"]=e.token:l&&p&&(this[ms]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(p)}`).toString("base64")}`);let g=XB({...e.proxyTls});this[tw]=XB({...e.requestTls});let C=e.factory||bL,S=(v,T)=>{let{protocol:x}=new fi(v);return!this[nw]&&x==="http:"&&this[Xh].protocol==="http:"?new tf(this[Xh].uri,{headers:this[ms],connect:g,factory:C}):C(v,T)};this[HA]=n(s,{connect:g}),this[GA]=new EL({...e,factory:S,connect:async(v,T)=>{let x=v.host;v.port||(x+=`:${BL(v.protocol)}`);try{let{socket:F,statusCode:Y}=await this[HA].connect({origin:a,port:c,path:x,signal:v.signal,headers:{...this[ms],host:v.host},servername:this[ew]?.servername||h});if(Y!==200&&(F.on("error",QL).destroy(),T(new CL(`Proxy response (${Y}) !== 200 when HTTP Tunneling`))),v.protocol!=="https:"){T(null,F);return}let $;this[ef]?$=this[ef].servername:$=v.servername,this[tw]({...v,servername:$,httpSocket:F},T)}catch(F){F.code==="ERR_TLS_CERT_ALTNAME_INVALID"?T(new IL(F)):T(F)}}})}dispatch(e,n){let r=SL(e.headers);if(kL(r),r&&!("host"in r)&&!("Host"in r)){let{host:s}=new fi(e.origin);r.host=s}return this[GA].dispatch({...e,headers:r},n)}#e(e){return typeof e=="string"?new fi(e):e instanceof fi?e:new fi(e.uri)}async[rw](){await this[GA].close(),await this[HA].close()}async[sw](){await this[GA].destroy(),await this[HA].destroy()}};function SL(t){if(Array.isArray(t)){let e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}return t}function kL(t){if(t&&Object.keys(t).find(n=>n.toLowerCase()==="proxy-authorization"))throw new Yo("Proxy-Authorization should be sent in ProxyAgent constructor")}cw.exports=nf});var hw=L((jz,pw)=>{"use strict";var vL=So(),{kClose:RL,kDestroy:xL,kClosed:uw,kDestroyed:Aw,kDispatch:TL,kNoProxyAgent:kc,kHttpProxyAgent:ys,kHttpsProxyAgent:gi}=He(),lw=rf(),DL=Ho(),NL={"http:":80,"https:":443},dw=!1,sf=class extends vL{#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,dw||(dw=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:n,httpsProxy:r,noProxy:s,...i}=e;this[kc]=new DL(i);let a=n??process.env.http_proxy??process.env.HTTP_PROXY;a?this[ys]=new lw({...i,uri:a}):this[ys]=this[kc];let c=r??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[gi]=new lw({...i,uri:c}):this[gi]=this[ys],this.#r()}[TL](e,n){let r=new URL(e.origin);return this.#s(r).dispatch(e,n)}async[RL](){await this[kc].close(),this[ys][uw]||await this[ys].close(),this[gi][uw]||await this[gi].close()}async[xL](e){await this[kc].destroy(e),this[ys][Aw]||await this[ys].destroy(e),this[gi][Aw]||await this[gi].destroy(e)}#s(e){let{protocol:n,host:r,port:s}=e;return r=r.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||NL[n]||0,this.#i(r,s)?n==="https:"?this[gi]:this[ys]:this[kc]}#i(e,n){if(this.#o&&this.#r(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let r=0;r<this.#t.length;r++){let s=this.#t[r];if(!(s.port&&s.port!==n)){if(/^[.*]/.test(s.hostname)){if(e.endsWith(s.hostname.replace(/^\*/,"")))return!1}else if(e===s.hostname)return!1}}return!0}#r(){let e=this.#n.noProxy??this.#a,n=e.split(/[,\s]/),r=[];for(let s=0;s<n.length;s++){let i=n[s];if(!i)continue;let a=i.match(/^(.+):(\d+)$/);r.push({hostname:(a?a[1]:i).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=r}get#o(){return this.#n.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};pw.exports=sf});var YA=L((Jz,Ew)=>{"use strict";var vc=require("node:assert"),{kRetryHandlerDefaultRetry:fw}=He(),{RequestRetryError:mi}=xe(),{isDisturbed:gw,parseHeaders:FL,parseRangeHeader:mw,wrapRequestBody:ML}=Ie();function UL(t){let e=Date.now();return new Date(t).getTime()-e}function yw(t,e,n,r){let s=t["content-length"];if(s==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(s),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new mi("Content-Length mismatch",n,{headers:t,data:{count:r}}):null}var of=class t{constructor(e,n){let{retryOptions:r,...s}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:A,timeoutFactor:l,methods:p,errorCodes:h,retryAfter:g,statusCodes:C}=r??{};this.dispatch=n.dispatch,this.handler=n.handler,this.opts={...s,body:ML(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[fw],retryAfter:g??!0,maxTimeout:c??30*1e3,minTimeout:A??500,timeoutFactor:l??2,maxRetries:a??5,methods:p??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:C??[500,502,503,504,429],errorCodes:h??["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.headersSent=!1,this.handler.onConnect(S=>{this.aborted=!0,this.abort?this.abort(S):this.reason=S})}checkpointResponseEnd(e,n){if(this.end==null&&this.opts.method!=="HEAD"){let r=e["content-length"];this.end=r!=null?Number(r)-1:null,vc(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?n:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,n,r){this.handler.onUpgrade&&this.handler.onUpgrade(e,n,r)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[fw](e,{state:n,opts:r},s){let{statusCode:i,code:a,headers:c}=e,{method:A,retryOptions:l}=r,{maxRetries:p,minTimeout:h,maxTimeout:g,timeoutFactor:C,statusCodes:S,errorCodes:v,methods:T}=l,{counter:x}=n;if(a&&a!=="UND_ERR_REQ_RETRY"&&!v.includes(a)){s(e);return}if(Array.isArray(T)&&!T.includes(A)){s(e);return}if(i!=null&&Array.isArray(S)&&!S.includes(i)){s(e);return}if(x>p){s(e);return}let F=c?.["retry-after"];F&&(F=Number(F),F=Number.isNaN(F)?UL(F):F*1e3);let Y=F>0?Math.min(F,g):Math.min(h*C**(x-1),g);setTimeout(()=>s(null),Y)}onHeaders(e,n,r,s){let i=FL(n);if(this.retryCount+=1,e>=300)return!this.headersSent&&this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,r),this.handler.onHeaders(e,n,r,s)):(this.abort(new mi("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new mi("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=mw(i["content-range"]);if(!c)return this.abort(new mi("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new mi("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let A=yw(i,c,e,this.retryCount);if(A!=null)return this.abort(A),!1;let{start:l,size:p,end:h=p-1}=c;return this.start!==l||this.end!=null&&this.end!==h?(this.abort(new mi("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=r,!0)}if(this.end==null){if(e===206){let c=mw(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,n,r,s);let A=yw(i,c,e,this.retryCount);if(A!=null)return this.abort(A),!1;let{start:l,size:p,end:h=p-1}=c;vc(l!=null&&Number.isFinite(l),"content-range mismatch"),vc(h!=null&&Number.isFinite(h),"invalid content-length"),this.start=l,this.end=h}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return vc(Number.isFinite(this.start)),vc(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=r,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,n,r,s)}let a=new mi("Request failed",e,{headers:i,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||gw(this.opts.body)||this.headersSent&&this.resume==null)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}},n.bind(this));function n(r){if(r!=null||this.aborted||gw(this.opts.body))return this.handler.onError(r);if(this.start!==0){let s={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(s["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...s}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(s){this.handler.onError(s)}}}};Ew.exports=of});var Iw=L((Wz,Cw)=>{"use strict";var _L=nc(),LL=YA(),af=class extends _L{#e=null;#t=null;constructor(e,n={}){super(n),this.#e=e,this.#t=n}dispatch(e,n){let r=new LL({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:n});return this.#e.dispatch(e,r)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};Cw.exports=af});var pf=L((zz,xw)=>{"use strict";var Sw=require("node:assert"),{Readable:PL}=require("node:stream"),{RequestAbortedError:kw,NotSupportedError:OL,InvalidArgumentError:$L,AbortError:cf}=xe(),vw=Ie(),{ReadableStreamFrom:VL}=Ie(),sn=Symbol("kConsume"),Rc=Symbol("kReading"),Es=Symbol("kBody"),Bw=Symbol("kAbort"),Rw=Symbol("kContentType"),ww=Symbol("kContentLength"),GL=()=>{},uf=class extends PL{constructor({resume:e,abort:n,contentType:r="",contentLength:s,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[Bw]=n,this[sn]=null,this[Es]=null,this[Rw]=r,this[ww]=s,this[Rc]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new kw),e&&this[Bw](),super.destroy(e)}_destroy(e,n){this[Rc]?n(e):setImmediate(()=>{n(e)})}on(e,...n){return(e==="data"||e==="readable")&&(this[Rc]=!0),super.on(e,...n)}addListener(e,...n){return this.on(e,...n)}off(e,...n){let r=super.off(e,...n);return(e==="data"||e==="readable")&&(this[Rc]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,...n){return this.off(e,...n)}push(e){return this[sn]&&e!==null?(lf(this[sn],e),this[Rc]?super.push(e):!0):super.push(e)}async text(){return xc(this,"text")}async json(){return xc(this,"json")}async blob(){return xc(this,"blob")}async bytes(){return xc(this,"bytes")}async arrayBuffer(){return xc(this,"arrayBuffer")}async formData(){throw new OL}get bodyUsed(){return vw.isDisturbed(this)}get body(){return this[Es]||(this[Es]=VL(this),this[sn]&&(this[Es].getReader(),Sw(this[Es].locked))),this[Es]}async dump(e){let n=Number.isFinite(e?.limit)?e.limit:131072,r=e?.signal;if(r!=null&&(typeof r!="object"||!("aborted"in r)))throw new $L("signal must be an AbortSignal");return r?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[ww]>n&&this.destroy(new cf);let a=()=>{this.destroy(r.reason??new cf)};r?.addEventListener("abort",a),this.on("close",function(){r?.removeEventListener("abort",a),r?.aborted?i(r.reason??new cf):s(null)}).on("error",GL).on("data",function(c){n-=c.length,n<=0&&this.destroy()}).resume()})}};function HL(t){return t[Es]&&t[Es].locked===!0||t[sn]}function YL(t){return vw.isDisturbed(t)||HL(t)}async function xc(t,e){return Sw(!t[sn]),new Promise((n,r)=>{if(YL(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{r(i)}).on("close",()=>{r(new TypeError("unusable"))}):r(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[sn]={type:e,stream:t,resolve:n,reject:r,length:0,body:[]},t.on("error",function(s){df(this[sn],s)}).on("close",function(){this[sn].body!==null&&df(this[sn],new kw)}),qL(t[sn])})})}function qL(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let n=e.bufferIndex,r=e.buffer.length;for(let s=n;s<r;s++)lf(t,e.buffer[s])}else for(let n of e.buffer)lf(t,n);for(e.endEmitted?bw(this[sn]):t.stream.on("end",function(){bw(this[sn])}),t.stream.resume();t.stream.read()!=null;);}function Af(t,e){if(t.length===0||e===0)return"";let n=t.length===1?t[0]:Buffer.concat(t,e),r=n.length,s=r>2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return n.utf8Slice(s,r)}function Qw(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let n=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),r=0;for(let s=0;s<t.length;++s){let i=t[s];n.set(i,r),r+=i.length}return n}function bw(t){let{type:e,body:n,resolve:r,stream:s,length:i}=t;try{e==="text"?r(Af(n,i)):e==="json"?r(JSON.parse(Af(n,i))):e==="arrayBuffer"?r(Qw(n,i).buffer):e==="blob"?r(new Blob(n,{type:s[Rw]})):e==="bytes"&&r(Qw(n,i)),df(t)}catch(a){s.destroy(a)}}function lf(t,e){t.length+=e.length,t.body.push(e)}function df(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)}xw.exports={Readable:uf,chunksDecode:Af}});var hf=L((Kz,Mw)=>{var jL=require("node:assert"),{ResponseStatusCodeError:Tw}=xe(),{chunksDecode:Dw}=pf(),JL=128*1024;async function WL({callback:t,body:e,contentType:n,statusCode:r,statusMessage:s,headers:i}){jL(e);let a=[],c=0;try{for await(let h of e)if(a.push(h),c+=h.length,c>JL){a=[],c=0;break}}catch{a=[],c=0}let A=`Response status code ${r}${s?`: ${s}`:""}`;if(r===204||!n||!c){queueMicrotask(()=>t(new Tw(A,r,i)));return}let l=Error.stackTraceLimit;Error.stackTraceLimit=0;let p;try{Nw(n)?p=JSON.parse(Dw(a,c)):Fw(n)&&(p=Dw(a,c))}catch{}finally{Error.stackTraceLimit=l}queueMicrotask(()=>t(new Tw(A,r,i,p)))}var Nw=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",Fw=t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t";Mw.exports={getResolveErrorBodyCallback:WL,isContentTypeApplicationJson:Nw,isContentTypeText:Fw}});var Lw=L((Zz,ff)=>{"use strict";var zL=require("node:assert"),{Readable:KL}=pf(),{InvalidArgumentError:qo,RequestAbortedError:Uw}=xe(),on=Ie(),{getResolveErrorBodyCallback:ZL}=hf(),{AsyncResource:XL}=require("node:async_hooks"),qA=class extends XL{constructor(e,n){if(!e||typeof e!="object")throw new qo("invalid opts");let{signal:r,method:s,opaque:i,body:a,onInfo:c,responseHeaders:A,throwOnError:l,highWaterMark:p}=e;try{if(typeof n!="function")throw new qo("invalid callback");if(p&&(typeof p!="number"||p<0))throw new qo("invalid highWaterMark");if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new qo("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new qo("invalid method");if(c&&typeof c!="function")throw new qo("invalid onInfo callback");super("UNDICI_REQUEST")}catch(h){throw on.isStream(a)&&on.destroy(a.on("error",on.nop),h),h}this.method=s,this.responseHeaders=A||null,this.opaque=i||null,this.callback=n,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=l,this.highWaterMark=p,this.signal=r,this.reason=null,this.removeAbortListener=null,on.isStream(a)&&a.on("error",h=>{this.onError(h)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new Uw:this.removeAbortListener=on.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new Uw,this.res?on.destroy(this.res.on("error",on.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,n){if(this.reason){e(this.reason);return}zL(this.callback),this.abort=e,this.context=n}onHeaders(e,n,r,s){let{callback:i,opaque:a,abort:c,context:A,responseHeaders:l,highWaterMark:p}=this,h=l==="raw"?on.parseRawHeaders(n):on.parseHeaders(n);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:h});return}let g=l==="raw"?on.parseHeaders(n):h,C=g["content-type"],S=g["content-length"],v=new KL({resume:r,abort:c,contentType:C,contentLength:this.method!=="HEAD"&&S?Number(S):null,highWaterMark:p});this.removeAbortListener&&v.on("close",this.removeAbortListener),this.callback=null,this.res=v,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(ZL,null,{callback:i,body:v,contentType:C,statusCode:e,statusMessage:s,headers:h}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:h,trailers:this.trailers,opaque:a,body:v,context:A}))}onData(e){return this.res.push(e)}onComplete(e){on.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:n,callback:r,body:s,opaque:i}=this;r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:i})})),n&&(this.res=null,queueMicrotask(()=>{on.destroy(n,e)})),s&&(this.body=null,on.destroy(s,e)),this.removeAbortListener&&(n?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function _w(t,e){if(e===void 0)return new Promise((n,r)=>{_w.call(this,t,(s,i)=>s?r(s):n(i))});try{this.dispatch(t,new qA(t,e))}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}ff.exports=_w;ff.exports.RequestHandler=qA});var Tc=L((Xz,$w)=>{var{addAbortListener:eP}=Ie(),{RequestAbortedError:tP}=xe(),jo=Symbol("kListener"),ur=Symbol("kSignal");function Pw(t){t.abort?t.abort(t[ur]?.reason):t.reason=t[ur]?.reason??new tP,Ow(t)}function nP(t,e){if(t.reason=null,t[ur]=null,t[jo]=null,!!e){if(e.aborted){Pw(t);return}t[ur]=e,t[jo]=()=>{Pw(t)},eP(t[ur],t[jo])}}function Ow(t){t[ur]&&("removeEventListener"in t[ur]?t[ur].removeEventListener("abort",t[jo]):t[ur].removeListener("abort",t[jo]),t[ur]=null,t[jo]=null)}$w.exports={addSignal:nP,removeSignal:Ow}});var Yw=L((e3,Hw)=>{"use strict";var rP=require("node:assert"),{finished:sP,PassThrough:iP}=require("node:stream"),{InvalidArgumentError:Jo,InvalidReturnValueError:oP}=xe(),Hn=Ie(),{getResolveErrorBodyCallback:aP}=hf(),{AsyncResource:cP}=require("node:async_hooks"),{addSignal:uP,removeSignal:Vw}=Tc(),gf=class extends cP{constructor(e,n,r){if(!e||typeof e!="object")throw new Jo("invalid opts");let{signal:s,method:i,opaque:a,body:c,onInfo:A,responseHeaders:l,throwOnError:p}=e;try{if(typeof r!="function")throw new Jo("invalid callback");if(typeof n!="function")throw new Jo("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Jo("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Jo("invalid method");if(A&&typeof A!="function")throw new Jo("invalid onInfo callback");super("UNDICI_STREAM")}catch(h){throw Hn.isStream(c)&&Hn.destroy(c.on("error",Hn.nop),h),h}this.responseHeaders=l||null,this.opaque=a||null,this.factory=n,this.callback=r,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=A||null,this.throwOnError=p||!1,Hn.isStream(c)&&c.on("error",h=>{this.onError(h)}),uP(this,s)}onConnect(e,n){if(this.reason){e(this.reason);return}rP(this.callback),this.abort=e,this.context=n}onHeaders(e,n,r,s){let{factory:i,opaque:a,context:c,callback:A,responseHeaders:l}=this,p=l==="raw"?Hn.parseRawHeaders(n):Hn.parseHeaders(n);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:p});return}this.factory=null;let h;if(this.throwOnError&&e>=400){let S=(l==="raw"?Hn.parseHeaders(n):p)["content-type"];h=new iP,this.callback=null,this.runInAsyncScope(aP,null,{callback:A,body:h,contentType:S,statusCode:e,statusMessage:s,headers:p})}else{if(i===null)return;if(h=this.runInAsyncScope(i,null,{statusCode:e,headers:p,opaque:a,context:c}),!h||typeof h.write!="function"||typeof h.end!="function"||typeof h.on!="function")throw new oP("expected Writable");sP(h,{readable:!1},C=>{let{callback:S,res:v,opaque:T,trailers:x,abort:F}=this;this.res=null,(C||!v.readable)&&Hn.destroy(v,C),this.callback=null,this.runInAsyncScope(S,null,C||null,{opaque:T,trailers:x}),C&&F()})}return h.on("drain",r),this.res=h,(h.writableNeedDrain!==void 0?h.writableNeedDrain:h._writableState?.needDrain)!==!0}onData(e){let{res:n}=this;return n?n.write(e):!0}onComplete(e){let{res:n}=this;Vw(this),n&&(this.trailers=Hn.parseHeaders(e),n.end())}onError(e){let{res:n,callback:r,opaque:s,body:i}=this;Vw(this),this.factory=null,n?(this.res=null,Hn.destroy(n,e)):r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})})),i&&(this.body=null,Hn.destroy(i,e))}};function Gw(t,e,n){if(n===void 0)return new Promise((r,s)=>{Gw.call(this,t,e,(i,a)=>i?s(i):r(a))});try{this.dispatch(t,new gf(t,e,n))}catch(r){if(typeof n!="function")throw r;let s=t?.opaque;queueMicrotask(()=>n(r,{opaque:s}))}}Hw.exports=Gw});var Ww=L((t3,Jw)=>{"use strict";var{Readable:jw,Duplex:AP,PassThrough:lP}=require("node:stream"),{InvalidArgumentError:Dc,InvalidReturnValueError:dP,RequestAbortedError:mf}=xe(),En=Ie(),{AsyncResource:pP}=require("node:async_hooks"),{addSignal:hP,removeSignal:fP}=Tc(),qw=require("node:assert"),Wo=Symbol("resume"),yf=class extends jw{constructor(){super({autoDestroy:!0}),this[Wo]=null}_read(){let{[Wo]:e}=this;e&&(this[Wo]=null,e())}_destroy(e,n){this._read(),n(e)}},Ef=class extends jw{constructor(e){super({autoDestroy:!0}),this[Wo]=e}_read(){this[Wo]()}_destroy(e,n){!e&&!this._readableState.endEmitted&&(e=new mf),n(e)}},Cf=class extends pP{constructor(e,n){if(!e||typeof e!="object")throw new Dc("invalid opts");if(typeof n!="function")throw new Dc("invalid handler");let{signal:r,method:s,opaque:i,onInfo:a,responseHeaders:c}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new Dc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Dc("invalid method");if(a&&typeof a!="function")throw new Dc("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=n,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new yf().on("error",En.nop),this.ret=new AP({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:A}=this;A?.resume&&A.resume()},write:(A,l,p)=>{let{req:h}=this;h.push(A,l)||h._readableState.destroyed?p():h[Wo]=p},destroy:(A,l)=>{let{body:p,req:h,res:g,ret:C,abort:S}=this;!A&&!C._readableState.endEmitted&&(A=new mf),S&&A&&S(),En.destroy(p,A),En.destroy(h,A),En.destroy(g,A),fP(this),l(A)}}).on("prefinish",()=>{let{req:A}=this;A.push(null)}),this.res=null,hP(this,r)}onConnect(e,n){let{ret:r,res:s}=this;if(this.reason){e(this.reason);return}qw(!s,"pipeline cannot be retried"),qw(!r.destroyed),this.abort=e,this.context=n}onHeaders(e,n,r){let{opaque:s,handler:i,context:a}=this;if(e<200){if(this.onInfo){let A=this.responseHeaders==="raw"?En.parseRawHeaders(n):En.parseHeaders(n);this.onInfo({statusCode:e,headers:A})}return}this.res=new Ef(r);let c;try{this.handler=null;let A=this.responseHeaders==="raw"?En.parseRawHeaders(n):En.parseHeaders(n);c=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:s,body:this.res,context:a})}catch(A){throw this.res.on("error",En.nop),A}if(!c||typeof c.on!="function")throw new dP("expected Readable");c.on("data",A=>{let{ret:l,body:p}=this;!l.push(A)&&p.pause&&p.pause()}).on("error",A=>{let{ret:l}=this;En.destroy(l,A)}).on("end",()=>{let{ret:A}=this;A.push(null)}).on("close",()=>{let{ret:A}=this;A._readableState.ended||En.destroy(A,new mf)}),this.body=c}onData(e){let{res:n}=this;return n.push(e)}onComplete(e){let{res:n}=this;n.push(null)}onError(e){let{ret:n}=this;this.handler=null,En.destroy(n,e)}};function gP(t,e){try{let n=new Cf(t,e);return this.dispatch({...t,body:n.req},n),n.ret}catch(n){return new lP().destroy(n)}}Jw.exports=gP});var tQ=L((n3,eQ)=>{"use strict";var{InvalidArgumentError:If,SocketError:mP}=xe(),{AsyncResource:yP}=require("node:async_hooks"),zw=Ie(),{addSignal:EP,removeSignal:Kw}=Tc(),Zw=require("node:assert"),Bf=class extends yP{constructor(e,n){if(!e||typeof e!="object")throw new If("invalid opts");if(typeof n!="function")throw new If("invalid callback");let{signal:r,opaque:s,responseHeaders:i}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new If("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=s||null,this.callback=n,this.abort=null,this.context=null,EP(this,r)}onConnect(e,n){if(this.reason){e(this.reason);return}Zw(this.callback),this.abort=e,this.context=null}onHeaders(){throw new mP("bad upgrade",null)}onUpgrade(e,n,r){Zw(e===101);let{callback:s,opaque:i,context:a}=this;Kw(this),this.callback=null;let c=this.responseHeaders==="raw"?zw.parseRawHeaders(n):zw.parseHeaders(n);this.runInAsyncScope(s,null,null,{headers:c,socket:r,opaque:i,context:a})}onError(e){let{callback:n,opaque:r}=this;Kw(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})}))}};function Xw(t,e){if(e===void 0)return new Promise((n,r)=>{Xw.call(this,t,(s,i)=>s?r(s):n(i))});try{let n=new Bf(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},n)}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}eQ.exports=Xw});var oQ=L((r3,iQ)=>{"use strict";var CP=require("node:assert"),{AsyncResource:IP}=require("node:async_hooks"),{InvalidArgumentError:wf,SocketError:BP}=xe(),nQ=Ie(),{addSignal:wP,removeSignal:rQ}=Tc(),Qf=class extends IP{constructor(e,n){if(!e||typeof e!="object")throw new wf("invalid opts");if(typeof n!="function")throw new wf("invalid callback");let{signal:r,opaque:s,responseHeaders:i}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new wf("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=n,this.abort=null,wP(this,r)}onConnect(e,n){if(this.reason){e(this.reason);return}CP(this.callback),this.abort=e,this.context=n}onHeaders(){throw new BP("bad connect",null)}onUpgrade(e,n,r){let{callback:s,opaque:i,context:a}=this;rQ(this),this.callback=null;let c=n;c!=null&&(c=this.responseHeaders==="raw"?nQ.parseRawHeaders(n):nQ.parseHeaders(n)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:r,opaque:i,context:a})}onError(e){let{callback:n,opaque:r}=this;rQ(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})}))}};function sQ(t,e){if(e===void 0)return new Promise((n,r)=>{sQ.call(this,t,(s,i)=>s?r(s):n(i))});try{let n=new Qf(t,e);this.dispatch({...t,method:"CONNECT"},n)}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}iQ.exports=sQ});var aQ=L((s3,zo)=>{"use strict";zo.exports.request=Lw();zo.exports.stream=Yw();zo.exports.pipeline=Ww();zo.exports.upgrade=tQ();zo.exports.connect=oQ()});var Sf=L((i3,uQ)=>{"use strict";var{UndiciError:QP}=xe(),cQ=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),bf=class t extends QP{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[cQ]===!0}[cQ]=!0};uQ.exports={MockNotMatchedError:bf}});var Ko=L((o3,AQ)=>{"use strict";AQ.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 Nc=L((a3,IQ)=>{"use strict";var{MockNotMatchedError:yi}=Sf(),{kDispatches:jA,kMockAgent:bP,kOriginalDispatch:SP,kOrigin:kP,kGetNetConnect:vP}=Ko(),{buildURL:RP}=Ie(),{STATUS_CODES:xP}=require("node:http"),{types:{isPromise:TP}}=require("node:util");function Pr(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function dQ(t){return Object.fromEntries(Object.entries(t).map(([e,n])=>[e.toLocaleLowerCase(),n]))}function pQ(t,e){if(Array.isArray(t)){for(let n=0;n<t.length;n+=2)if(t[n].toLocaleLowerCase()===e.toLocaleLowerCase())return t[n+1];return}else return typeof t.get=="function"?t.get(e):dQ(t)[e.toLocaleLowerCase()]}function Rf(t){let e=t.slice(),n=[];for(let r=0;r<e.length;r+=2)n.push([e[r],e[r+1]]);return Object.fromEntries(n)}function hQ(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=Rf(e)),t.headers(e?dQ(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[n,r]of Object.entries(t.headers)){let s=pQ(e,n);if(!Pr(r,s))return!1}return!0}function lQ(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let n=new URLSearchParams(e.pop());return n.sort(),[...e,n.toString()].join("?")}function DP(t,{path:e,method:n,body:r,headers:s}){let i=Pr(t.path,e),a=Pr(t.method,n),c=typeof t.body<"u"?Pr(t.body,r):!0,A=hQ(t,s);return i&&a&&c&&A}function fQ(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}function gQ(t,e){let n=e.query?RP(e.path,e.query):e.path,r=typeof n=="string"?lQ(n):n,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>Pr(lQ(i),r));if(s.length===0)throw new yi(`Mock dispatch not matched for path '${r}'`);if(s=s.filter(({method:i})=>Pr(i,e.method)),s.length===0)throw new yi(`Mock dispatch not matched for method '${e.method}' on path '${r}'`);if(s=s.filter(({body:i})=>typeof i<"u"?Pr(i,e.body):!0),s.length===0)throw new yi(`Mock dispatch not matched for body '${e.body}' on path '${r}'`);if(s=s.filter(i=>hQ(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new yi(`Mock dispatch not matched for headers '${i}' on path '${r}'`)}return s[0]}function NP(t,e,n){let r={timesInvoked:0,times:1,persist:!1,consumed:!1},s=typeof n=="function"?{callback:n}:{...n},i={...r,...e,pending:!0,data:{error:null,...s}};return t.push(i),i}function kf(t,e){let n=t.findIndex(r=>r.consumed?DP(r,e):!1);n!==-1&&t.splice(n,1)}function mQ(t){let{path:e,method:n,body:r,headers:s,query:i}=t;return{path:e,method:n,body:r,headers:s,query:i}}function vf(t){let e=Object.keys(t),n=[];for(let r=0;r<e.length;++r){let s=e[r],i=t[s],a=Buffer.from(`${s}`);if(Array.isArray(i))for(let c=0;c<i.length;++c)n.push(a,Buffer.from(`${i[c]}`));else n.push(a,Buffer.from(`${i}`))}return n}function yQ(t){return xP[t]||"unknown"}async function FP(t){let e=[];for await(let n of t)e.push(n);return Buffer.concat(e).toString("utf8")}function EQ(t,e){let n=mQ(t),r=gQ(this[jA],n);r.timesInvoked++,r.data.callback&&(r.data={...r.data,...r.data.callback(t)});let{data:{statusCode:s,data:i,headers:a,trailers:c,error:A},delay:l,persist:p}=r,{timesInvoked:h,times:g}=r;if(r.consumed=!p&&h>=g,r.pending=h<g,A!==null)return kf(this[jA],n),e.onError(A),!0;typeof l=="number"&&l>0?setTimeout(()=>{C(this[jA])},l):C(this[jA]);function C(v,T=i){let x=Array.isArray(t.headers)?Rf(t.headers):t.headers,F=typeof T=="function"?T({...t,headers:x}):T;if(TP(F)){F.then(ke=>C(v,ke));return}let Y=fQ(F),$=vf(a),ae=vf(c);e.onConnect?.(ke=>e.onError(ke),null),e.onHeaders?.(s,$,S,yQ(s)),e.onData?.(Buffer.from(Y)),e.onComplete?.(ae),kf(v,n)}function S(){}return!0}function MP(){let t=this[bP],e=this[kP],n=this[SP];return function(s,i){if(t.isMockActive)try{EQ.call(this,s,i)}catch(a){if(a instanceof yi){let c=t[vP]();if(c===!1)throw new yi(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(CQ(c,e))n.call(this,s,i);else throw new yi(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else n.call(this,s,i)}}function CQ(t,e){let n=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(r=>Pr(r,n.host)))}function UP(t){if(t){let{agent:e,...n}=t;return n}}IQ.exports={getResponseData:fQ,getMockDispatch:gQ,addMockDispatch:NP,deleteMockDispatch:kf,buildKey:mQ,generateKeyValues:vf,matchValue:Pr,getResponse:FP,getStatusText:yQ,mockDispatch:EQ,buildMockDispatch:MP,checkNetConnect:CQ,buildMockOptions:UP,getHeaderByName:pQ,buildHeadersFromArray:Rf}});var Uf=L((c3,Mf)=>{"use strict";var{getResponseData:_P,buildKey:LP,addMockDispatch:xf}=Nc(),{kDispatches:JA,kDispatchKey:WA,kDefaultHeaders:Tf,kDefaultTrailers:Df,kContentLength:Nf,kMockDispatch:zA}=Ko(),{InvalidArgumentError:Ar}=xe(),{buildURL:PP}=Ie(),Zo=class{constructor(e){this[zA]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ar("waitInMs must be a valid integer > 0");return this[zA].delay=e,this}persist(){return this[zA].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ar("repeatTimes must be a valid integer > 0");return this[zA].times=e,this}},Ff=class{constructor(e,n){if(typeof e!="object")throw new Ar("opts must be an object");if(typeof e.path>"u")throw new Ar("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=PP(e.path,e.query);else{let r=new URL(e.path,"data://");e.path=r.pathname+r.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[WA]=LP(e),this[JA]=n,this[Tf]={},this[Df]={},this[Nf]=!1}createMockScopeDispatchData({statusCode:e,data:n,responseOptions:r}){let s=_P(n),i=this[Nf]?{"content-length":s.length}:{},a={...this[Tf],...i,...r.headers},c={...this[Df],...r.trailers};return{statusCode:e,data:n,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Ar("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Ar("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=c=>{let A=e(c);if(typeof A!="object"||A===null)throw new Ar("reply options callback must return an object");let l={data:"",responseOptions:{},...A};return this.validateReplyParameters(l),{...this.createMockScopeDispatchData(l)}},a=xf(this[JA],this[WA],i);return new Zo(a)}let n={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(n);let r=this.createMockScopeDispatchData(n),s=xf(this[JA],this[WA],r);return new Zo(s)}replyWithError(e){if(typeof e>"u")throw new Ar("error must be defined");let n=xf(this[JA],this[WA],{error:e});return new Zo(n)}defaultReplyHeaders(e){if(typeof e>"u")throw new Ar("headers must be defined");return this[Tf]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Ar("trailers must be defined");return this[Df]=e,this}replyContentLength(){return this[Nf]=!0,this}};Mf.exports.MockInterceptor=Ff;Mf.exports.MockScope=Zo});var Pf=L((u3,vQ)=>{"use strict";var{promisify:OP}=require("node:util"),$P=Vo(),{buildMockDispatch:VP}=Nc(),{kDispatches:BQ,kMockAgent:wQ,kClose:QQ,kOriginalClose:bQ,kOrigin:SQ,kOriginalDispatch:GP,kConnected:_f}=Ko(),{MockInterceptor:HP}=Uf(),kQ=He(),{InvalidArgumentError:YP}=xe(),Lf=class extends $P{constructor(e,n){if(super(e,n),!n||!n.agent||typeof n.agent.dispatch!="function")throw new YP("Argument opts.agent must implement Agent");this[wQ]=n.agent,this[SQ]=e,this[BQ]=[],this[_f]=1,this[GP]=this.dispatch,this[bQ]=this.close.bind(this),this.dispatch=VP.call(this),this.close=this[QQ]}get[kQ.kConnected](){return this[_f]}intercept(e){return new HP(e,this[BQ])}async[QQ](){await OP(this[bQ])(),this[_f]=0,this[wQ][kQ.kClients].delete(this[SQ])}};vQ.exports=Lf});var Vf=L((A3,MQ)=>{"use strict";var{promisify:qP}=require("node:util"),jP=Go(),{buildMockDispatch:JP}=Nc(),{kDispatches:RQ,kMockAgent:xQ,kClose:TQ,kOriginalClose:DQ,kOrigin:NQ,kOriginalDispatch:WP,kConnected:Of}=Ko(),{MockInterceptor:zP}=Uf(),FQ=He(),{InvalidArgumentError:KP}=xe(),$f=class extends jP{constructor(e,n){if(super(e,n),!n||!n.agent||typeof n.agent.dispatch!="function")throw new KP("Argument opts.agent must implement Agent");this[xQ]=n.agent,this[NQ]=e,this[RQ]=[],this[Of]=1,this[WP]=this.dispatch,this[DQ]=this.close.bind(this),this.dispatch=JP.call(this),this.close=this[TQ]}get[FQ.kConnected](){return this[Of]}intercept(e){return new zP(e,this[RQ])}async[TQ](){await qP(this[DQ])(),this[Of]=0,this[xQ][FQ.kClients].delete(this[NQ])}};MQ.exports=$f});var _Q=L((d3,UQ)=>{"use strict";var ZP={pronoun:"it",is:"is",was:"was",this:"this"},XP={pronoun:"they",is:"are",was:"were",this:"these"};UQ.exports=class{constructor(e,n){this.singular=e,this.plural=n}pluralize(e){let n=e===1,r=n?ZP:XP,s=n?this.singular:this.plural;return{...r,count:e,noun:s}}}});var PQ=L((h3,LQ)=>{"use strict";var{Transform:eO}=require("node:stream"),{Console:tO}=require("node:console"),nO=process.versions.icu?"\u2705":"Y ",rO=process.versions.icu?"\u274C":"N ";LQ.exports=class{constructor({disableColors:e}={}){this.transform=new eO({transform(n,r,s){s(null,n)}}),this.logger=new tO({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let n=e.map(({method:r,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:A,origin:l})=>({Method:r,Origin:l,Path:s,"Status code":i,Persistent:a?nO:rO,Invocations:A,Remaining:a?1/0:c-A}));return this.logger.table(n),this.transform.read().toString()}}});var GQ=L((f3,VQ)=>{"use strict";var{kClients:Ei}=He(),sO=Ho(),{kAgent:Gf,kMockAgentSet:KA,kMockAgentGet:OQ,kDispatches:Hf,kIsMockActive:ZA,kNetConnect:Ci,kGetNetConnect:iO,kOptions:XA,kFactory:el}=Ko(),oO=Pf(),aO=Vf(),{matchValue:cO,buildMockOptions:uO}=Nc(),{InvalidArgumentError:$Q,UndiciError:AO}=xe(),lO=nc(),dO=_Q(),pO=PQ(),Yf=class extends lO{constructor(e){if(super(e),this[Ci]=!0,this[ZA]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new $Q("Argument opts.agent must implement Agent");let n=e?.agent?e.agent:new sO(e);this[Gf]=n,this[Ei]=n[Ei],this[XA]=uO(e)}get(e){let n=this[OQ](e);return n||(n=this[el](e),this[KA](e,n)),n}dispatch(e,n){return this.get(e.origin),this[Gf].dispatch(e,n)}async close(){await this[Gf].close(),this[Ei].clear()}deactivate(){this[ZA]=!1}activate(){this[ZA]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Ci])?this[Ci].push(e):this[Ci]=[e];else if(typeof e>"u")this[Ci]=!0;else throw new $Q("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Ci]=!1}get isMockActive(){return this[ZA]}[KA](e,n){this[Ei].set(e,n)}[el](e){let n=Object.assign({agent:this},this[XA]);return this[XA]&&this[XA].connections===1?new oO(e,n):new aO(e,n)}[OQ](e){let n=this[Ei].get(e);if(n)return n;if(typeof e!="string"){let r=this[el]("http://localhost:9999");return this[KA](e,r),r}for(let[r,s]of Array.from(this[Ei]))if(s&&typeof r!="string"&&cO(r,e)){let i=this[el](e);return this[KA](e,i),i[Hf]=s[Hf],i}}[iO](){return this[Ci]}pendingInterceptors(){let e=this[Ei];return Array.from(e.entries()).flatMap(([n,r])=>r[Hf].map(s=>({...s,origin:n}))).filter(({pending:n})=>n)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new pO}={}){let n=this.pendingInterceptors();if(n.length===0)return;let r=new dO("interceptor","interceptors").pluralize(n.length);throw new AO(`
|
|
40
|
+
`,"latin1"),n!==null&&s!==n){if(r[Ch])throw new ii;process.emitWarning(new ii)}e[$e].timeout&&e[$e].timeoutType===Lo&&e[$e].timeout.refresh&&e[$e].timeout.refresh(),r[_r]()}}destroy(e){let{socket:n,client:r,abort:s}=this;n[As]=!1,e&&(re(r[tt]<=1,"pipeline should only contain this request"),s(e))}};XI.exports=g_});var cB=L((Mz,aB)=>{"use strict";var or=require("node:assert"),{errorMonitor:bh}=require("node:events"),{pipeline:w_}=require("node:stream"),Be=Ie(),{RequestContentLengthMismatchError:kh,RequestAbortedError:Sh,SocketError:gc,InformationalError:vA}=xe(),{kUrl:RA,kReset:TA,kClient:Po,kRunning:DA,kPending:Q_,kQueue:ui,kPendingIdx:Rh,kRunningIdx:ir,kError:$n,kSocket:ct,kStrictContentLength:b_,kOnError:xh,kMaxConcurrentStreams:iB,kHTTP2Session:On,kResume:ds,kSize:S_,kHTTPContext:k_}=He(),ls=Symbol("open streams"),tB,nB=!1,xA;try{xA=require("node:http2")}catch{xA={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:v_,HTTP2_HEADER_METHOD:R_,HTTP2_HEADER_PATH:x_,HTTP2_HEADER_SCHEME:T_,HTTP2_HEADER_CONTENT_LENGTH:D_,HTTP2_HEADER_EXPECT:N_,HTTP2_HEADER_STATUS:vh}}=xA;function oB(t){let e=[];for(let[n,r]of Object.entries(t))if(Array.isArray(r))for(let s of r)e.push(Buffer.from(n),Buffer.from(s));else e.push(Buffer.from(n),Buffer.from(r));return e}function F_(t){let{[vh]:e,...n}=t;return oB(n)}async function M_(t,e){t[ct]=e,nB||(nB=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let n=xA.connect(t[RA],{createConnection:()=>e,peerMaxConcurrentStreams:t[iB]});n[ls]=0,n[Po]=t,n[ct]=e,Be.addListener(n,"error",U_),Be.addListener(n,"frameError",L_),Be.addListener(n,"end",P_),Be.addListener(n,"goaway",O_),Be.addListener(n,"close",function(){let{[Po]:s}=this,{[ct]:i}=s,a=this[ct][$n]||this[$n]||new gc("closed",Be.getSocketInfo(i));if(s[On]=null,s.destroyed){or(s[Q_]===0);let c=s[ui].splice(s[ir]);for(let A=0;A<c.length;A++){let l=c[A];Be.errorRequest(s,l,a)}}}),n.unref(),t[On]=n,e[On]=n,Be.addListener(e,"error",function(s){this[$n]=s,this[Po][xh](s)}),Be.addListener(e,"end",function(){Be.destroy(this,new gc("other side closed",Be.getSocketInfo(this)))}),Be.addListener(e,"close",function(){let s=this[$n]||new gc("closed",Be.getSocketInfo(this));t[ct]=null,this[On]!=null&&this[On].destroy(s),t[Rh]=t[ir],or(t[DA]===0),t.emit("disconnect",t[RA],[t],s),t[ds]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return V_(t,...s)},resume(){__(t)},destroy(s,i){r?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}function __(t){let e=t[ct];e?.destroyed===!1&&(t[S_]===0&&t[iB]===0?(e.unref(),t[On].unref()):(e.ref(),t[On].ref()))}function U_(t){this[ct][$n]=t,this[Po][xh](t)}function L_(t,e,n){if(n===0){let r=new vA(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[ct][$n]=r,this[Po][xh](r)}}function P_(){let t=new gc("other side closed",Be.getSocketInfo(this[ct]));this.destroy(t),Be.destroy(this[ct],t)}function O_(t){let e=this[$n]||new gc(`HTTP/2: "GOAWAY" frame received with code ${t}`,Be.getSocketInfo(this)),n=this[Po];if(n[ct]=null,n[k_]=null,this[On]!=null&&(this[On].destroy(e),this[On]=null),Be.destroy(this[ct],e),n[ir]<n[ui].length){let r=n[ui][n[ir]];n[ui][n[ir]++]=null,Be.errorRequest(n,r,e),n[Rh]=n[ir]}or(n[DA]===0),n.emit("disconnect",n[RA],[n],e),n[ds]()}function $_(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function V_(t,e){let n=t[On],{method:r,path:s,host:i,upgrade:a,expectContinue:c,signal:A,headers:l}=e,{body:p}=e;if(a)return Be.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let h={};for(let $=0;$<l.length;$+=2){let ae=l[$+0],ke=l[$+1];if(Array.isArray(ke))for(let ve=0;ve<ke.length;ve++)h[ae]?h[ae]+=`,${ke[ve]}`:h[ae]=ke[ve];else h[ae]=ke}let g,{hostname:C,port:S}=t[RA];h[v_]=i||`${C}${S?`:${S}`:""}`,h[R_]=r;let v=$=>{if(!e.aborted){if(e.completed){r==="CONNECT"&&g!=null&&Be.destroy(g,$||new Sh);return}$=$||new Sh,Be.errorRequest(t,e,$),g!=null&&Be.destroy(g,$),Be.destroy(p,$),t[ui][t[ir]++]=null,t[ds]()}};try{e.onConnect(v)}catch($){Be.errorRequest(t,e,$)}if(e.aborted)return!1;if(r==="CONNECT"){n.ref(),g=n.request(h,{endStream:!1,signal:A});let $=!1,ae=Ue=>{$=!0,g.off(bh,ke),e.onUpgradeResponse(Number(Ue[vh]),Ue,F_)},ke=Ue=>{$=!0,g.off("response",ae),e.onUpgradeError(Ue)},ve=()=>{try{e.onUpgrade(null,null,g)}catch(Ue){g.off("response",ae),v(Ue);return}e.aborted||(g.off("error",v),g.once(bh,ke),t[ui][t[ir]++]=null)};return g.once("response",ae),g.once("error",v),++n[ls],ve(),g.once("close",()=>{!$&&e.completed&&(g.off("response",ae),g.off(bh,ke),e.onUpgradeError(new vA(`HTTP/2: "stream error" received - code ${g.rstCode}`))),n[ls]-=1,n[ls]===0&&n.unref()}),!0}h[x_]=s,h[T_]="https";let T=r==="PUT"||r==="POST"||r==="PATCH";p&&typeof p.read=="function"&&p.read(0);let x=Be.bodyLength(p);if(Be.isFormDataLike(p)){tB??=Mo().extractBody;let[$,ae]=tB(p);h["content-type"]=ae,p=$.stream,x=$.length}if(x==null&&(x=e.contentLength),(x===0||!T)&&(x=null),$_(r)&&x>0&&e.contentLength!=null&&e.contentLength!==x){if(t[b_])return Be.errorRequest(t,e,new kh),!1;process.emitWarning(new kh)}x!=null&&(or(p,"no body must not have content length"),h[D_]=`${x}`),n.ref();let F=r==="GET"||r==="HEAD"||p===null;return c?(h[N_]="100-continue",g=n.request(h,{endStream:F,signal:A}),g.once("continue",Y)):(g=n.request(h,{endStream:F,signal:A}),Y()),++n[ls],g.once("response",$=>{let{[vh]:ae,...ke}=$;if(e.onResponseStarted(),e.aborted){let ve=new Sh;Be.errorRequest(t,e,ve),Be.destroy(g,ve);return}e.onHeaders(Number(ae),oB(ke),g.resume.bind(g),"")===!1&&g.pause(),g.on("data",ve=>{e.onData(ve)===!1&&g.pause()})}),g.once("end",()=>{(g.state?.state==null||g.state.state<6)&&e.onComplete([]),n[ls]===0&&n.unref(),v(new vA("HTTP/2: stream half-closed (remote)")),t[ui][t[ir]++]=null,t[Rh]=t[ir],t[ds]()}),g.once("close",()=>{n[ls]-=1,n[ls]===0&&n.unref()}),g.once("error",function($){v($)}),g.once("frameError",($,ae)=>{v(new vA(`HTTP/2: "frameError" received - type ${$}, code ${ae}`))}),!0;function Y(){!p||x===0?rB(v,g,null,t,e,t[ct],x,T):Be.isBuffer(p)?rB(v,g,p,t,e,t[ct],x,T):Be.isBlobLike(p)?typeof p.stream=="function"?sB(v,g,p.stream(),t,e,t[ct],x,T):H_(v,g,p,t,e,t[ct],x,T):Be.isStream(p)?G_(v,t[ct],T,g,p,t,e,x):Be.isIterable(p)?sB(v,g,p,t,e,t[ct],x,T):or(!1)}}function rB(t,e,n,r,s,i,a,c){try{n!=null&&Be.isBuffer(n)&&(or(a===n.byteLength,"buffer body must have content length"),e.cork(),e.write(n),e.uncork(),e.end(),s.onBodySent(n)),c||(i[TA]=!0),s.onRequestSent(),r[ds]()}catch(A){t(A)}}function G_(t,e,n,r,s,i,a,c){or(c!==0||i[DA]===0,"stream body cannot be pipelined");let A=w_(s,r,p=>{p?(Be.destroy(A,p),t(p)):(Be.removeAllListeners(A),a.onRequestSent(),n||(e[TA]=!0),i[ds]())});Be.addListener(A,"data",l);function l(p){a.onBodySent(p)}}async function H_(t,e,n,r,s,i,a,c){or(a===n.size,"blob body must have content length");try{if(a!=null&&a!==n.size)throw new kh;let A=Buffer.from(await n.arrayBuffer());e.cork(),e.write(A),e.uncork(),e.end(),s.onBodySent(A),s.onRequestSent(),c||(i[TA]=!0),r[ds]()}catch(A){t(A)}}async function sB(t,e,n,r,s,i,a,c){or(a!==0||r[DA]===0,"iterator body cannot be pipelined");let A=null;function l(){if(A){let h=A;A=null,h()}}let p=()=>new Promise((h,g)=>{or(A===null),i[$n]?g(i[$n]):A=h});e.on("close",l).on("drain",l);try{for await(let h of n){if(i[$n])throw i[$n];let g=e.write(h);s.onBodySent(h),g||await p()}e.end(),s.onRequestSent(),c||(i[TA]=!0),r[ds]()}catch(h){t(h)}finally{e.off("close",l).off("drain",l)}}aB.exports=M_});var FA=L((_z,lB)=>{"use strict";var ar=Ie(),{kBodyUsed:mc}=He(),Dh=require("node:assert"),{InvalidArgumentError:Y_}=xe(),q_=require("node:events"),j_=[300,301,302,303,307,308],uB=Symbol("body"),NA=class{constructor(e){this[uB]=e,this[mc]=!1}async*[Symbol.asyncIterator](){Dh(!this[mc],"disturbed"),this[mc]=!0,yield*this[uB]}},Th=class{constructor(e,n,r,s){if(n!=null&&(!Number.isInteger(n)||n<0))throw new Y_("maxRedirections must be a positive number");ar.validateHandler(s,r.method,r.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...r,maxRedirections:0},this.maxRedirections=n,this.handler=s,this.history=[],this.redirectionLimitReached=!1,ar.isStream(this.opts.body)?(ar.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Dh(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[mc]=!1,q_.prototype.on.call(this.opts.body,"data",function(){this[mc]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new NA(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&ar.isIterable(this.opts.body)&&(this.opts.body=new NA(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,n,r){this.handler.onUpgrade(e,n,r)}onError(e){this.handler.onError(e)}onHeaders(e,n,r,s){if(this.location=this.history.length>=this.maxRedirections||ar.isDisturbed(this.opts.body)?null:J_(e,n),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,n,r,s);let{origin:i,pathname:a,search:c}=ar.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),A=c?`${a}${c}`:a;this.opts.headers=W_(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=A,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function J_(t,e){if(j_.indexOf(t)===-1)return null;for(let n=0;n<e.length;n+=2)if(e[n].length===8&&ar.headerNameToString(e[n])==="location")return e[n+1]}function AB(t,e,n){if(t.length===4)return ar.headerNameToString(t)==="host";if(e&&ar.headerNameToString(t).startsWith("content-"))return!0;if(n&&(t.length===13||t.length===6||t.length===19)){let r=ar.headerNameToString(t);return r==="authorization"||r==="cookie"||r==="proxy-authorization"}return!1}function W_(t,e,n){let r=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)AB(t[s],e,n)||r.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))AB(s,e,n)||r.push(s,t[s]);else Dh(t==null,"headers must be an object or an array");return r}lB.exports=Th});var MA=L((Uz,dB)=>{"use strict";var z_=FA();function K_({maxRedirections:t}){return e=>function(r,s){let{maxRedirections:i=t}=r;if(!i)return e(r,s);let a=new z_(e,i,r,s);return r={...r,maxRedirections:0},e(r,a)}}dB.exports=K_});var Vo=L((Lz,BB)=>{"use strict";var Ur=require("node:assert"),yB=require("node:net"),Z_=require("node:http"),Ai=Ie(),{channels:Oo}=Bo(),X_=IC(),eU=So(),{InvalidArgumentError:Ke,InformationalError:tU,ClientDestroyedError:nU}=xe(),rU=sc(),{kUrl:cr,kServerName:ps,kClient:sU,kBusy:Nh,kConnect:iU,kResuming:li,kRunning:Bc,kPending:wc,kSize:Ic,kQueue:Vn,kConnected:oU,kConnecting:$o,kNeedDrain:fs,kKeepAliveDefaultTimeout:pB,kHostHeader:aU,kPendingIdx:Gn,kRunningIdx:Lr,kError:cU,kPipelining:_A,kKeepAliveTimeoutValue:uU,kMaxHeadersSize:AU,kKeepAliveMaxTimeout:lU,kKeepAliveTimeoutThreshold:dU,kHeadersTimeout:pU,kBodyTimeout:hU,kStrictContentLength:fU,kConnector:yc,kMaxRedirections:gU,kMaxRequests:Fh,kCounter:mU,kClose:yU,kDestroy:EU,kDispatch:CU,kInterceptors:hB,kLocalAddress:Ec,kMaxResponseSize:IU,kOnError:BU,kHTTPContext:Ze,kMaxConcurrentStreams:wU,kResume:Cc}=He(),QU=eB(),bU=cB(),fB=!1,hs=Symbol("kClosedResolve"),gB=()=>{};function EB(t){return t[_A]??t[Ze]?.defaultPipelining??1}var Mh=class extends eU{constructor(e,{interceptors:n,maxHeaderSize:r,headersTimeout:s,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:A,idleTimeout:l,keepAlive:p,keepAliveTimeout:h,maxKeepAliveTimeout:g,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:S,socketPath:v,pipelining:T,tls:x,strictContentLength:F,maxCachedSessions:Y,maxRedirections:$,connect:ae,maxRequestsPerClient:ke,localAddress:ve,maxResponseSize:Ue,autoSelectFamily:We,autoSelectFamilyAttemptTimeout:Lt,maxConcurrentStreams:et,allowH2:Ge,webSocket:ot,eventSource:fe}={}){if(super({webSocket:ot,eventSource:fe}),p!==void 0)throw new Ke("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new Ke("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Ke("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(l!==void 0)throw new Ke("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new Ke("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(r!=null&&!Number.isFinite(r))throw new Ke("invalid maxHeaderSize");if(v!=null&&typeof v!="string")throw new Ke("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Ke("invalid connectTimeout");if(h!=null&&(!Number.isFinite(h)||h<=0))throw new Ke("invalid keepAliveTimeout");if(C!=null&&(!Number.isFinite(C)||C<=0))throw new Ke("invalid keepAliveMaxTimeout");if(S!=null&&!Number.isFinite(S))throw new Ke("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new Ke("headersTimeout must be a positive integer or zero");if(A!=null&&(!Number.isInteger(A)||A<0))throw new Ke("bodyTimeout must be a positive integer or zero");if(ae!=null&&typeof ae!="function"&&typeof ae!="object")throw new Ke("connect must be a function or an object");if($!=null&&(!Number.isInteger($)||$<0))throw new Ke("maxRedirections must be a positive number");if(ke!=null&&(!Number.isInteger(ke)||ke<0))throw new Ke("maxRequestsPerClient must be a positive number");if(ve!=null&&(typeof ve!="string"||yB.isIP(ve)===0))throw new Ke("localAddress must be valid string IP address");if(Ue!=null&&(!Number.isInteger(Ue)||Ue<-1))throw new Ke("maxResponseSize must be a positive number");if(Lt!=null&&(!Number.isInteger(Lt)||Lt<-1))throw new Ke("autoSelectFamilyAttemptTimeout must be a positive number");if(Ge!=null&&typeof Ge!="boolean")throw new Ke("allowH2 must be a valid boolean value");if(et!=null&&(typeof et!="number"||et<1))throw new Ke("maxConcurrentStreams must be a positive integer, greater than 0");typeof ae!="function"&&(ae=rU({...x,maxCachedSessions:Y,allowH2:Ge,socketPath:v,timeout:c,...We?{autoSelectFamily:We,autoSelectFamilyAttemptTimeout:Lt}:void 0,...ae})),n?.Client&&Array.isArray(n.Client)?(this[hB]=n.Client,fB||(fB=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[hB]=[SU({maxRedirections:$})],this[cr]=Ai.parseOrigin(e),this[yc]=ae,this[_A]=T??1,this[AU]=r||Z_.maxHeaderSize,this[pB]=h??4e3,this[lU]=C??6e5,this[dU]=S??2e3,this[uU]=this[pB],this[ps]=null,this[Ec]=ve??null,this[li]=0,this[fs]=0,this[aU]=`host: ${this[cr].hostname}${this[cr].port?`:${this[cr].port}`:""}\r
|
|
41
|
+
`,this[hU]=A??3e5,this[pU]=s??3e5,this[fU]=F??!0,this[gU]=$,this[Fh]=ke,this[hs]=null,this[IU]=Ue>-1?Ue:-1,this[wU]=et??100,this[Ze]=null,this[Vn]=[],this[Lr]=0,this[Gn]=0,this[Cc]=ut=>_h(this,ut),this[BU]=ut=>CB(this,ut)}get pipelining(){return this[_A]}set pipelining(e){this[_A]=e,this[Cc](!0)}get[wc](){return this[Vn].length-this[Gn]}get[Bc](){return this[Gn]-this[Lr]}get[Ic](){return this[Vn].length-this[Lr]}get[oU](){return!!this[Ze]&&!this[$o]&&!this[Ze].destroyed}get[Nh](){return!!(this[Ze]?.busy(null)||this[Ic]>=(EB(this)||1)||this[wc]>0)}[iU](e){IB(this),this.once("connect",e)}[CU](e,n){let r=e.origin||this[cr].origin,s=new X_(r,e,n);return this[Vn].push(s),this[li]||(Ai.bodyLength(s.body)==null&&Ai.isIterable(s.body)?(this[li]=1,queueMicrotask(()=>_h(this))):this[Cc](!0)),this[li]&&this[fs]!==2&&this[Nh]&&(this[fs]=2),this[fs]<2}async[yU](){return new Promise(e=>{this[Ic]?this[hs]=e:e(null)})}async[EU](e){return new Promise(n=>{let r=this[Vn].splice(this[Gn]);for(let i=0;i<r.length;i++){let a=r[i];Ai.errorRequest(this,a,e)}let s=()=>{this[hs]&&(this[hs](),this[hs]=null),n(null)};this[Ze]?(this[Ze].destroy(e,s),this[Ze]=null):queueMicrotask(s),this[Cc]()})}},SU=MA();function CB(t,e){if(t[Bc]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Ur(t[Gn]===t[Lr]);let n=t[Vn].splice(t[Lr]);for(let r=0;r<n.length;r++){let s=n[r];Ai.errorRequest(t,s,e)}Ur(t[Ic]===0)}}async function IB(t){Ur(!t[$o]),Ur(!t[Ze]);let{host:e,hostname:n,protocol:r,port:s}=t[cr];if(n[0]==="["){let i=n.indexOf("]");Ur(i!==-1);let a=n.substring(1,i);Ur(yB.isIP(a)),n=a}t[$o]=!0,Oo.beforeConnect.hasSubscribers&&Oo.beforeConnect.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc]});try{let i=await new Promise((a,c)=>{t[yc]({host:e,hostname:n,protocol:r,port:s,servername:t[ps],localAddress:t[Ec]},(A,l)=>{A?c(A):a(l)})});if(t.destroyed){Ai.destroy(i.on("error",gB),new nU);return}Ur(i);try{t[Ze]=i.alpnProtocol==="h2"?await bU(t,i):await QU(t,i)}catch(a){throw i.destroy().on("error",gB),a}t[$o]=!1,i[mU]=0,i[Fh]=t[Fh],i[sU]=t,i[cU]=null,Oo.connected.hasSubscribers&&Oo.connected.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc],socket:i}),t.emit("connect",t[cr],[t])}catch(i){if(t.destroyed)return;if(t[$o]=!1,Oo.connectError.hasSubscribers&&Oo.connectError.publish({connectParams:{host:e,hostname:n,protocol:r,port:s,version:t[Ze]?.version,servername:t[ps],localAddress:t[Ec]},connector:t[yc],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Ur(t[Bc]===0);t[wc]>0&&t[Vn][t[Gn]].servername===t[ps];){let a=t[Vn][t[Gn]++];Ai.errorRequest(t,a,i)}else CB(t,i);t.emit("connectionError",t[cr],[t],i)}t[Cc]()}function mB(t){t[fs]=0,t.emit("drain",t[cr],[t])}function _h(t,e){t[li]!==2&&(t[li]=2,kU(t,e),t[li]=0,t[Lr]>256&&(t[Vn].splice(0,t[Lr]),t[Gn]-=t[Lr],t[Lr]=0))}function kU(t,e){for(;;){if(t.destroyed){Ur(t[wc]===0);return}if(t[hs]&&!t[Ic]){t[hs](),t[hs]=null;return}if(t[Ze]&&t[Ze].resume(),t[Nh])t[fs]=2;else if(t[fs]===2){e?(t[fs]=1,queueMicrotask(()=>mB(t))):mB(t);continue}if(t[wc]===0||t[Bc]>=(EB(t)||1))return;let n=t[Vn][t[Gn]];if(t[cr].protocol==="https:"&&t[ps]!==n.servername){if(t[Bc]>0)return;t[ps]=n.servername,t[Ze]?.destroy(new tU("servername changed"),()=>{t[Ze]=null,_h(t)})}if(t[$o])return;if(!t[Ze]){IB(t);return}if(t[Ze].destroyed||t[Ze].busy(n))return;!n.aborted&&t[Ze].write(n)?t[Gn]++:t[Vn].splice(t[Gn],1)}}BB.exports=Mh});var Uh=L((Oz,wB)=>{"use strict";var UA=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};wB.exports=class{constructor(){this.head=this.tail=new UA}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new UA),this.head.push(e)}shift(){let e=this.tail,n=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),n}}});var bB=L(($z,QB)=>{var{kFree:vU,kConnected:RU,kPending:xU,kQueued:TU,kRunning:DU,kSize:NU}=He(),di=Symbol("pool"),Lh=class{constructor(e){this[di]=e}get connected(){return this[di][RU]}get free(){return this[di][vU]}get pending(){return this[di][xU]}get queued(){return this[di][TU]}get running(){return this[di][DU]}get size(){return this[di][NU]}};QB.exports=Lh});var Hh=L((Vz,MB)=>{"use strict";var FU=So(),MU=Uh(),{kConnected:Ph,kSize:SB,kRunning:kB,kPending:vB,kQueued:Qc,kBusy:_U,kFree:UU,kUrl:LU,kClose:PU,kDestroy:OU,kDispatch:$U}=He(),VU=bB(),$t=Symbol("clients"),xt=Symbol("needDrain"),bc=Symbol("queue"),Oh=Symbol("closed resolve"),$h=Symbol("onDrain"),RB=Symbol("onConnect"),xB=Symbol("onDisconnect"),TB=Symbol("onConnectionError"),Vh=Symbol("get dispatcher"),NB=Symbol("add client"),FB=Symbol("remove client"),DB=Symbol("stats"),Gh=class extends FU{constructor(e){super(e),this[bc]=new MU,this[$t]=[],this[Qc]=0;let n=this;this[$h]=function(s,i){let a=n[bc],c=!1;for(;!c;){let A=a.shift();if(!A)break;n[Qc]--,c=!this.dispatch(A.opts,A.handler)}this[xt]=c,!this[xt]&&n[xt]&&(n[xt]=!1,n.emit("drain",s,[n,...i])),n[Oh]&&a.isEmpty()&&Promise.all(n[$t].map(A=>A.close())).then(n[Oh])},this[RB]=(r,s)=>{n.emit("connect",r,[n,...s])},this[xB]=(r,s,i)=>{n.emit("disconnect",r,[n,...s],i)},this[TB]=(r,s,i)=>{n.emit("connectionError",r,[n,...s],i)},this[DB]=new VU(this)}get[_U](){return this[xt]}get[Ph](){return this[$t].filter(e=>e[Ph]).length}get[UU](){return this[$t].filter(e=>e[Ph]&&!e[xt]).length}get[vB](){let e=this[Qc];for(let{[vB]:n}of this[$t])e+=n;return e}get[kB](){let e=0;for(let{[kB]:n}of this[$t])e+=n;return e}get[SB](){let e=this[Qc];for(let{[SB]:n}of this[$t])e+=n;return e}get stats(){return this[DB]}async[PU](){this[bc].isEmpty()?await Promise.all(this[$t].map(e=>e.close())):await new Promise(e=>{this[Oh]=e})}async[OU](e){for(;;){let n=this[bc].shift();if(!n)break;n.handler.onError(e)}await Promise.all(this[$t].map(n=>n.destroy(e)))}[$U](e,n){let r=this[Vh]();return r?r.dispatch(e,n)||(r[xt]=!0,this[xt]=!this[Vh]()):(this[xt]=!0,this[bc].push({opts:e,handler:n}),this[Qc]++),!this[xt]}[NB](e){return e.on("drain",this[$h]).on("connect",this[RB]).on("disconnect",this[xB]).on("connectionError",this[TB]),this[$t].push(e),this[xt]&&queueMicrotask(()=>{this[xt]&&this[$h](e[LU],[this,e])}),this}[FB](e){e.close(()=>{let n=this[$t].indexOf(e);n!==-1&&this[$t].splice(n,1)}),this[xt]=this[$t].some(n=>!n[xt]&&n.closed!==!0&&n.destroyed!==!0)}};MB.exports={PoolBase:Gh,kClients:$t,kNeedDrain:xt,kAddClient:NB,kRemoveClient:FB,kGetDispatcher:Vh}});var Go=L((Gz,PB)=>{"use strict";var{PoolBase:GU,kClients:LA,kNeedDrain:HU,kAddClient:YU,kGetDispatcher:qU}=Hh(),jU=Vo(),{InvalidArgumentError:Yh}=xe(),_B=Ie(),{kUrl:UB,kInterceptors:JU}=He(),WU=sc(),qh=Symbol("options"),jh=Symbol("connections"),LB=Symbol("factory");function zU(t,e){return new jU(t,e)}var Jh=class extends GU{constructor(e,{connections:n,factory:r=zU,connect:s,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:p,allowH2:h,...g}={}){if(n!=null&&(!Number.isFinite(n)||n<0))throw new Yh("invalid connections");if(typeof r!="function")throw new Yh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Yh("connect must be a function or an object");typeof s!="function"&&(s=WU({...a,maxCachedSessions:c,allowH2:h,socketPath:A,timeout:i,...l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:p}:void 0,...s})),super(g),this[JU]=g.interceptors?.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[jh]=n||null,this[UB]=_B.parseOrigin(e),this[qh]={..._B.deepClone(g),connect:s,allowH2:h},this[qh].interceptors=g.interceptors?{...g.interceptors}:void 0,this[LB]=r,this.on("connectionError",(C,S,v)=>{for(let T of S){let x=this[LA].indexOf(T);x!==-1&&this[LA].splice(x,1)}})}[qU](){for(let e of this[LA])if(!e[HU])return e;if(!this[jh]||this[LA].length<this[jh]){let e=this[LB](this[UB],this[qh]);return this[YU](e),e}}};PB.exports=Jh});var HB=L((Hz,GB)=>{"use strict";var{BalancedPoolMissingUpstreamError:KU,InvalidArgumentError:ZU}=xe(),{PoolBase:XU,kClients:Et,kNeedDrain:Sc,kAddClient:eL,kRemoveClient:tL,kGetDispatcher:nL}=Hh(),rL=Go(),{kUrl:Wh,kInterceptors:sL}=He(),{parseOrigin:OB}=Ie(),$B=Symbol("factory"),PA=Symbol("options"),VB=Symbol("kGreatestCommonDivisor"),pi=Symbol("kCurrentWeight"),hi=Symbol("kIndex"),yn=Symbol("kWeight"),OA=Symbol("kMaxWeightPerServer"),$A=Symbol("kErrorPenalty");function iL(t,e){if(t===0)return e;for(;e!==0;){let n=e;e=t%e,t=n}return t}function oL(t,e){return new rL(t,e)}var zh=class extends XU{constructor(e=[],{factory:n=oL,...r}={}){if(super(),this[PA]=r,this[hi]=-1,this[pi]=0,this[OA]=this[PA].maxWeightPerServer||100,this[$A]=this[PA].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof n!="function")throw new ZU("factory must be a function.");this[sL]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[],this[$B]=n;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let n=OB(e).origin;if(this[Et].find(s=>s[Wh].origin===n&&s.closed!==!0&&s.destroyed!==!0))return this;let r=this[$B](n,Object.assign({},this[PA]));this[eL](r),r.on("connect",()=>{r[yn]=Math.min(this[OA],r[yn]+this[$A])}),r.on("connectionError",()=>{r[yn]=Math.max(1,r[yn]-this[$A]),this._updateBalancedPoolStats()}),r.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(r[yn]=Math.max(1,r[yn]-this[$A]),this._updateBalancedPoolStats())});for(let s of this[Et])s[yn]=this[OA];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let n=0;n<this[Et].length;n++)e=iL(this[Et][n][yn],e);this[VB]=e}removeUpstream(e){let n=OB(e).origin,r=this[Et].find(s=>s[Wh].origin===n&&s.closed!==!0&&s.destroyed!==!0);return r&&this[tL](r),this}get upstreams(){return this[Et].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Wh].origin)}[nL](){if(this[Et].length===0)throw new KU;if(!this[Et].find(i=>!i[Sc]&&i.closed!==!0&&i.destroyed!==!0)||this[Et].map(i=>i[Sc]).reduce((i,a)=>i&&a,!0))return;let r=0,s=this[Et].findIndex(i=>!i[Sc]);for(;r++<this[Et].length;){this[hi]=(this[hi]+1)%this[Et].length;let i=this[Et][this[hi]];if(i[yn]>this[Et][s][yn]&&!i[Sc]&&(s=this[hi]),this[hi]===0&&(this[pi]=this[pi]-this[VB],this[pi]<=0&&(this[pi]=this[OA])),i[yn]>=this[pi]&&!i[Sc])return i}return this[pi]=this[Et][s][yn],this[hi]=s,this[Et][s]}};GB.exports=zh});var Ho=L((Yz,KB)=>{"use strict";var{InvalidArgumentError:VA}=xe(),{kClients:gs,kRunning:YB,kClose:aL,kDestroy:cL,kDispatch:uL,kInterceptors:AL}=He(),lL=So(),dL=Go(),pL=Vo(),hL=Ie(),fL=MA(),qB=Symbol("onConnect"),jB=Symbol("onDisconnect"),JB=Symbol("onConnectionError"),gL=Symbol("maxRedirections"),WB=Symbol("onDrain"),zB=Symbol("factory"),Kh=Symbol("options");function mL(t,e){return e&&e.connections===1?new pL(t,e):new dL(t,e)}var Zh=class extends lL{constructor({factory:e=mL,maxRedirections:n=0,connect:r,tls:s,...i}={}){if(typeof e!="function")throw new VA("factory must be a function.");if(r!=null&&typeof r!="function"&&typeof r!="object")throw new VA("connect must be a function or an object");if(!Number.isInteger(n)||n<0)throw new VA("maxRedirections must be a positive number");super(i),r&&typeof r!="function"&&(r={...r}),s&&typeof s!="function"&&(s={...s}),this[AL]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[fL({maxRedirections:n})],this[Kh]={...hL.deepClone(i),connect:r,tls:s},this[Kh].interceptors=i.interceptors?{...i.interceptors}:void 0,this[gL]=n,this[zB]=e,this[gs]=new Map,this[WB]=(a,c)=>{this.emit("drain",a,[this,...c])},this[qB]=(a,c)=>{this.emit("connect",a,[this,...c])},this[jB]=(a,c,A)=>{this.emit("disconnect",a,[this,...c],A)},this[JB]=(a,c,A)=>{this.emit("connectionError",a,[this,...c],A)}}get[YB](){let e=0;for(let n of this[gs].values())e+=n[YB];return e}[uL](e,n){let r;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))r=String(e.origin);else throw new VA("opts.origin must be a non-empty string or URL.");let s=this[gs].get(r);return s||(s=this[zB](e.origin,this[Kh]).on("drain",this[WB]).on("connect",this[qB]).on("disconnect",this[jB]).on("connectionError",this[JB]),this[gs].set(r,s)),s.dispatch(e,n)}async[aL](){let e=[];for(let n of this[gs].values())e.push(n.close());this[gs].clear(),await Promise.all(e)}async[cL](e){let n=[];for(let r of this[gs].values())n.push(r.destroy(e));this[gs].clear(),await Promise.all(n)}};KB.exports=Zh});var rf=L((qz,cw)=>{"use strict";var{kProxy:Xh,kClose:rw,kDestroy:sw,kDispatch:ZB,kInterceptors:yL}=He(),{URL:fi}=require("node:url"),EL=Ho(),iw=Go(),ow=So(),{InvalidArgumentError:Yo,RequestAbortedError:CL,SecureProxyConnectionError:IL}=xe(),XB=sc(),aw=Vo(),GA=Symbol("proxy agent"),HA=Symbol("proxy client"),ms=Symbol("proxy headers"),ef=Symbol("request tls settings"),ew=Symbol("proxy tls settings"),tw=Symbol("connect endpoint function"),nw=Symbol("tunnel proxy");function BL(t){return t==="https:"?443:80}function wL(t,e){return new iw(t,e)}var QL=()=>{};function bL(t,e){return e.connections===1?new aw(t,e):new iw(t,e)}var tf=class extends ow{#e;constructor(e,{headers:n={},connect:r,factory:s}){if(super(),!e)throw new Yo("Proxy URL is mandatory");this[ms]=n,s?this.#e=s(e,{connect:r}):this.#e=new aw(e,{connect:r})}[ZB](e,n){let r=n.onHeaders;n.onHeaders=function(c,A,l){if(c===407){typeof n.onError=="function"&&n.onError(new Yo("Proxy Authentication Required (407)"));return}r&&r.call(this,c,A,l)};let{origin:s,path:i="/",headers:a={}}=e;if(e.path=s+i,!("host"in a)&&!("Host"in a)){let{host:c}=new fi(s);a.host=c}return e.headers={...this[ms],...a},this.#e[ZB](e,n)}async[rw](){return this.#e.close()}async[sw](e){return this.#e.destroy(e)}},nf=class extends ow{constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof fi)&&!e.uri)throw new Yo("Proxy uri is mandatory");let{clientFactory:n=wL}=e;if(typeof n!="function")throw new Yo("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r=!0}=e,s=this.#e(e),{href:i,origin:a,port:c,protocol:A,username:l,password:p,hostname:h}=s;if(this[Xh]={uri:i,protocol:A},this[yL]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[ef]=e.requestTls,this[ew]=e.proxyTls,this[ms]=e.headers||{},this[nw]=r,e.auth&&e.token)throw new Yo("opts.auth cannot be used in combination with opts.token");e.auth?this[ms]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ms]["proxy-authorization"]=e.token:l&&p&&(this[ms]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(p)}`).toString("base64")}`);let g=XB({...e.proxyTls});this[tw]=XB({...e.requestTls});let C=e.factory||bL,S=(v,T)=>{let{protocol:x}=new fi(v);return!this[nw]&&x==="http:"&&this[Xh].protocol==="http:"?new tf(this[Xh].uri,{headers:this[ms],connect:g,factory:C}):C(v,T)};this[HA]=n(s,{connect:g}),this[GA]=new EL({...e,factory:S,connect:async(v,T)=>{let x=v.host;v.port||(x+=`:${BL(v.protocol)}`);try{let{socket:F,statusCode:Y}=await this[HA].connect({origin:a,port:c,path:x,signal:v.signal,headers:{...this[ms],host:v.host},servername:this[ew]?.servername||h});if(Y!==200&&(F.on("error",QL).destroy(),T(new CL(`Proxy response (${Y}) !== 200 when HTTP Tunneling`))),v.protocol!=="https:"){T(null,F);return}let $;this[ef]?$=this[ef].servername:$=v.servername,this[tw]({...v,servername:$,httpSocket:F},T)}catch(F){F.code==="ERR_TLS_CERT_ALTNAME_INVALID"?T(new IL(F)):T(F)}}})}dispatch(e,n){let r=SL(e.headers);if(kL(r),r&&!("host"in r)&&!("Host"in r)){let{host:s}=new fi(e.origin);r.host=s}return this[GA].dispatch({...e,headers:r},n)}#e(e){return typeof e=="string"?new fi(e):e instanceof fi?e:new fi(e.uri)}async[rw](){await this[GA].close(),await this[HA].close()}async[sw](){await this[GA].destroy(),await this[HA].destroy()}};function SL(t){if(Array.isArray(t)){let e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}return t}function kL(t){if(t&&Object.keys(t).find(n=>n.toLowerCase()==="proxy-authorization"))throw new Yo("Proxy-Authorization should be sent in ProxyAgent constructor")}cw.exports=nf});var hw=L((jz,pw)=>{"use strict";var vL=So(),{kClose:RL,kDestroy:xL,kClosed:uw,kDestroyed:Aw,kDispatch:TL,kNoProxyAgent:kc,kHttpProxyAgent:ys,kHttpsProxyAgent:gi}=He(),lw=rf(),DL=Ho(),NL={"http:":80,"https:":443},dw=!1,sf=class extends vL{#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,dw||(dw=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:n,httpsProxy:r,noProxy:s,...i}=e;this[kc]=new DL(i);let a=n??process.env.http_proxy??process.env.HTTP_PROXY;a?this[ys]=new lw({...i,uri:a}):this[ys]=this[kc];let c=r??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[gi]=new lw({...i,uri:c}):this[gi]=this[ys],this.#r()}[TL](e,n){let r=new URL(e.origin);return this.#s(r).dispatch(e,n)}async[RL](){await this[kc].close(),this[ys][uw]||await this[ys].close(),this[gi][uw]||await this[gi].close()}async[xL](e){await this[kc].destroy(e),this[ys][Aw]||await this[ys].destroy(e),this[gi][Aw]||await this[gi].destroy(e)}#s(e){let{protocol:n,host:r,port:s}=e;return r=r.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||NL[n]||0,this.#i(r,s)?n==="https:"?this[gi]:this[ys]:this[kc]}#i(e,n){if(this.#o&&this.#r(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let r=0;r<this.#t.length;r++){let s=this.#t[r];if(!(s.port&&s.port!==n)){if(/^[.*]/.test(s.hostname)){if(e.endsWith(s.hostname.replace(/^\*/,"")))return!1}else if(e===s.hostname)return!1}}return!0}#r(){let e=this.#n.noProxy??this.#a,n=e.split(/[,\s]/),r=[];for(let s=0;s<n.length;s++){let i=n[s];if(!i)continue;let a=i.match(/^(.+):(\d+)$/);r.push({hostname:(a?a[1]:i).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=r}get#o(){return this.#n.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};pw.exports=sf});var YA=L((Jz,Ew)=>{"use strict";var vc=require("node:assert"),{kRetryHandlerDefaultRetry:fw}=He(),{RequestRetryError:mi}=xe(),{isDisturbed:gw,parseHeaders:FL,parseRangeHeader:mw,wrapRequestBody:ML}=Ie();function _L(t){let e=Date.now();return new Date(t).getTime()-e}function yw(t,e,n,r){let s=t["content-length"];if(s==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(s),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new mi("Content-Length mismatch",n,{headers:t,data:{count:r}}):null}var of=class t{constructor(e,n){let{retryOptions:r,...s}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:A,timeoutFactor:l,methods:p,errorCodes:h,retryAfter:g,statusCodes:C}=r??{};this.dispatch=n.dispatch,this.handler=n.handler,this.opts={...s,body:ML(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[fw],retryAfter:g??!0,maxTimeout:c??30*1e3,minTimeout:A??500,timeoutFactor:l??2,maxRetries:a??5,methods:p??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:C??[500,502,503,504,429],errorCodes:h??["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.headersSent=!1,this.handler.onConnect(S=>{this.aborted=!0,this.abort?this.abort(S):this.reason=S})}checkpointResponseEnd(e,n){if(this.end==null&&this.opts.method!=="HEAD"){let r=e["content-length"];this.end=r!=null?Number(r)-1:null,vc(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?n:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,n,r){this.handler.onUpgrade&&this.handler.onUpgrade(e,n,r)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[fw](e,{state:n,opts:r},s){let{statusCode:i,code:a,headers:c}=e,{method:A,retryOptions:l}=r,{maxRetries:p,minTimeout:h,maxTimeout:g,timeoutFactor:C,statusCodes:S,errorCodes:v,methods:T}=l,{counter:x}=n;if(a&&a!=="UND_ERR_REQ_RETRY"&&!v.includes(a)){s(e);return}if(Array.isArray(T)&&!T.includes(A)){s(e);return}if(i!=null&&Array.isArray(S)&&!S.includes(i)){s(e);return}if(x>p){s(e);return}let F=c?.["retry-after"];F&&(F=Number(F),F=Number.isNaN(F)?_L(F):F*1e3);let Y=F>0?Math.min(F,g):Math.min(h*C**(x-1),g);setTimeout(()=>s(null),Y)}onHeaders(e,n,r,s){let i=FL(n);if(this.retryCount+=1,e>=300)return!this.headersSent&&this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,r),this.handler.onHeaders(e,n,r,s)):(this.abort(new mi("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new mi("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=mw(i["content-range"]);if(!c)return this.abort(new mi("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new mi("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let A=yw(i,c,e,this.retryCount);if(A!=null)return this.abort(A),!1;let{start:l,size:p,end:h=p-1}=c;return this.start!==l||this.end!=null&&this.end!==h?(this.abort(new mi("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=r,!0)}if(this.end==null){if(e===206){let c=mw(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,n,r,s);let A=yw(i,c,e,this.retryCount);if(A!=null)return this.abort(A),!1;let{start:l,size:p,end:h=p-1}=c;vc(l!=null&&Number.isFinite(l),"content-range mismatch"),vc(h!=null&&Number.isFinite(h),"invalid content-length"),this.start=l,this.end=h}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return vc(Number.isFinite(this.start)),vc(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=r,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,n,r,s)}let a=new mi("Request failed",e,{headers:i,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||gw(this.opts.body)||this.headersSent&&this.resume==null)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}},n.bind(this));function n(r){if(r!=null||this.aborted||gw(this.opts.body))return this.handler.onError(r);if(this.start!==0){let s={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(s["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...s}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(s){this.handler.onError(s)}}}};Ew.exports=of});var Iw=L((Wz,Cw)=>{"use strict";var UL=nc(),LL=YA(),af=class extends UL{#e=null;#t=null;constructor(e,n={}){super(n),this.#e=e,this.#t=n}dispatch(e,n){let r=new LL({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:n});return this.#e.dispatch(e,r)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};Cw.exports=af});var pf=L((zz,xw)=>{"use strict";var Sw=require("node:assert"),{Readable:PL}=require("node:stream"),{RequestAbortedError:kw,NotSupportedError:OL,InvalidArgumentError:$L,AbortError:cf}=xe(),vw=Ie(),{ReadableStreamFrom:VL}=Ie(),sn=Symbol("kConsume"),Rc=Symbol("kReading"),Es=Symbol("kBody"),Bw=Symbol("kAbort"),Rw=Symbol("kContentType"),ww=Symbol("kContentLength"),GL=()=>{},uf=class extends PL{constructor({resume:e,abort:n,contentType:r="",contentLength:s,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[Bw]=n,this[sn]=null,this[Es]=null,this[Rw]=r,this[ww]=s,this[Rc]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new kw),e&&this[Bw](),super.destroy(e)}_destroy(e,n){this[Rc]?n(e):setImmediate(()=>{n(e)})}on(e,...n){return(e==="data"||e==="readable")&&(this[Rc]=!0),super.on(e,...n)}addListener(e,...n){return this.on(e,...n)}off(e,...n){let r=super.off(e,...n);return(e==="data"||e==="readable")&&(this[Rc]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,...n){return this.off(e,...n)}push(e){return this[sn]&&e!==null?(lf(this[sn],e),this[Rc]?super.push(e):!0):super.push(e)}async text(){return xc(this,"text")}async json(){return xc(this,"json")}async blob(){return xc(this,"blob")}async bytes(){return xc(this,"bytes")}async arrayBuffer(){return xc(this,"arrayBuffer")}async formData(){throw new OL}get bodyUsed(){return vw.isDisturbed(this)}get body(){return this[Es]||(this[Es]=VL(this),this[sn]&&(this[Es].getReader(),Sw(this[Es].locked))),this[Es]}async dump(e){let n=Number.isFinite(e?.limit)?e.limit:131072,r=e?.signal;if(r!=null&&(typeof r!="object"||!("aborted"in r)))throw new $L("signal must be an AbortSignal");return r?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[ww]>n&&this.destroy(new cf);let a=()=>{this.destroy(r.reason??new cf)};r?.addEventListener("abort",a),this.on("close",function(){r?.removeEventListener("abort",a),r?.aborted?i(r.reason??new cf):s(null)}).on("error",GL).on("data",function(c){n-=c.length,n<=0&&this.destroy()}).resume()})}};function HL(t){return t[Es]&&t[Es].locked===!0||t[sn]}function YL(t){return vw.isDisturbed(t)||HL(t)}async function xc(t,e){return Sw(!t[sn]),new Promise((n,r)=>{if(YL(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{r(i)}).on("close",()=>{r(new TypeError("unusable"))}):r(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[sn]={type:e,stream:t,resolve:n,reject:r,length:0,body:[]},t.on("error",function(s){df(this[sn],s)}).on("close",function(){this[sn].body!==null&&df(this[sn],new kw)}),qL(t[sn])})})}function qL(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let n=e.bufferIndex,r=e.buffer.length;for(let s=n;s<r;s++)lf(t,e.buffer[s])}else for(let n of e.buffer)lf(t,n);for(e.endEmitted?bw(this[sn]):t.stream.on("end",function(){bw(this[sn])}),t.stream.resume();t.stream.read()!=null;);}function Af(t,e){if(t.length===0||e===0)return"";let n=t.length===1?t[0]:Buffer.concat(t,e),r=n.length,s=r>2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return n.utf8Slice(s,r)}function Qw(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let n=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),r=0;for(let s=0;s<t.length;++s){let i=t[s];n.set(i,r),r+=i.length}return n}function bw(t){let{type:e,body:n,resolve:r,stream:s,length:i}=t;try{e==="text"?r(Af(n,i)):e==="json"?r(JSON.parse(Af(n,i))):e==="arrayBuffer"?r(Qw(n,i).buffer):e==="blob"?r(new Blob(n,{type:s[Rw]})):e==="bytes"&&r(Qw(n,i)),df(t)}catch(a){s.destroy(a)}}function lf(t,e){t.length+=e.length,t.body.push(e)}function df(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)}xw.exports={Readable:uf,chunksDecode:Af}});var hf=L((Kz,Mw)=>{var jL=require("node:assert"),{ResponseStatusCodeError:Tw}=xe(),{chunksDecode:Dw}=pf(),JL=128*1024;async function WL({callback:t,body:e,contentType:n,statusCode:r,statusMessage:s,headers:i}){jL(e);let a=[],c=0;try{for await(let h of e)if(a.push(h),c+=h.length,c>JL){a=[],c=0;break}}catch{a=[],c=0}let A=`Response status code ${r}${s?`: ${s}`:""}`;if(r===204||!n||!c){queueMicrotask(()=>t(new Tw(A,r,i)));return}let l=Error.stackTraceLimit;Error.stackTraceLimit=0;let p;try{Nw(n)?p=JSON.parse(Dw(a,c)):Fw(n)&&(p=Dw(a,c))}catch{}finally{Error.stackTraceLimit=l}queueMicrotask(()=>t(new Tw(A,r,i,p)))}var Nw=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",Fw=t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t";Mw.exports={getResolveErrorBodyCallback:WL,isContentTypeApplicationJson:Nw,isContentTypeText:Fw}});var Lw=L((Zz,ff)=>{"use strict";var zL=require("node:assert"),{Readable:KL}=pf(),{InvalidArgumentError:qo,RequestAbortedError:_w}=xe(),on=Ie(),{getResolveErrorBodyCallback:ZL}=hf(),{AsyncResource:XL}=require("node:async_hooks"),qA=class extends XL{constructor(e,n){if(!e||typeof e!="object")throw new qo("invalid opts");let{signal:r,method:s,opaque:i,body:a,onInfo:c,responseHeaders:A,throwOnError:l,highWaterMark:p}=e;try{if(typeof n!="function")throw new qo("invalid callback");if(p&&(typeof p!="number"||p<0))throw new qo("invalid highWaterMark");if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new qo("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new qo("invalid method");if(c&&typeof c!="function")throw new qo("invalid onInfo callback");super("UNDICI_REQUEST")}catch(h){throw on.isStream(a)&&on.destroy(a.on("error",on.nop),h),h}this.method=s,this.responseHeaders=A||null,this.opaque=i||null,this.callback=n,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=l,this.highWaterMark=p,this.signal=r,this.reason=null,this.removeAbortListener=null,on.isStream(a)&&a.on("error",h=>{this.onError(h)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new _w:this.removeAbortListener=on.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new _w,this.res?on.destroy(this.res.on("error",on.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,n){if(this.reason){e(this.reason);return}zL(this.callback),this.abort=e,this.context=n}onHeaders(e,n,r,s){let{callback:i,opaque:a,abort:c,context:A,responseHeaders:l,highWaterMark:p}=this,h=l==="raw"?on.parseRawHeaders(n):on.parseHeaders(n);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:h});return}let g=l==="raw"?on.parseHeaders(n):h,C=g["content-type"],S=g["content-length"],v=new KL({resume:r,abort:c,contentType:C,contentLength:this.method!=="HEAD"&&S?Number(S):null,highWaterMark:p});this.removeAbortListener&&v.on("close",this.removeAbortListener),this.callback=null,this.res=v,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(ZL,null,{callback:i,body:v,contentType:C,statusCode:e,statusMessage:s,headers:h}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:h,trailers:this.trailers,opaque:a,body:v,context:A}))}onData(e){return this.res.push(e)}onComplete(e){on.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:n,callback:r,body:s,opaque:i}=this;r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:i})})),n&&(this.res=null,queueMicrotask(()=>{on.destroy(n,e)})),s&&(this.body=null,on.destroy(s,e)),this.removeAbortListener&&(n?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function Uw(t,e){if(e===void 0)return new Promise((n,r)=>{Uw.call(this,t,(s,i)=>s?r(s):n(i))});try{this.dispatch(t,new qA(t,e))}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}ff.exports=Uw;ff.exports.RequestHandler=qA});var Tc=L((Xz,$w)=>{var{addAbortListener:eP}=Ie(),{RequestAbortedError:tP}=xe(),jo=Symbol("kListener"),ur=Symbol("kSignal");function Pw(t){t.abort?t.abort(t[ur]?.reason):t.reason=t[ur]?.reason??new tP,Ow(t)}function nP(t,e){if(t.reason=null,t[ur]=null,t[jo]=null,!!e){if(e.aborted){Pw(t);return}t[ur]=e,t[jo]=()=>{Pw(t)},eP(t[ur],t[jo])}}function Ow(t){t[ur]&&("removeEventListener"in t[ur]?t[ur].removeEventListener("abort",t[jo]):t[ur].removeListener("abort",t[jo]),t[ur]=null,t[jo]=null)}$w.exports={addSignal:nP,removeSignal:Ow}});var Yw=L((e3,Hw)=>{"use strict";var rP=require("node:assert"),{finished:sP,PassThrough:iP}=require("node:stream"),{InvalidArgumentError:Jo,InvalidReturnValueError:oP}=xe(),Hn=Ie(),{getResolveErrorBodyCallback:aP}=hf(),{AsyncResource:cP}=require("node:async_hooks"),{addSignal:uP,removeSignal:Vw}=Tc(),gf=class extends cP{constructor(e,n,r){if(!e||typeof e!="object")throw new Jo("invalid opts");let{signal:s,method:i,opaque:a,body:c,onInfo:A,responseHeaders:l,throwOnError:p}=e;try{if(typeof r!="function")throw new Jo("invalid callback");if(typeof n!="function")throw new Jo("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Jo("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Jo("invalid method");if(A&&typeof A!="function")throw new Jo("invalid onInfo callback");super("UNDICI_STREAM")}catch(h){throw Hn.isStream(c)&&Hn.destroy(c.on("error",Hn.nop),h),h}this.responseHeaders=l||null,this.opaque=a||null,this.factory=n,this.callback=r,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=A||null,this.throwOnError=p||!1,Hn.isStream(c)&&c.on("error",h=>{this.onError(h)}),uP(this,s)}onConnect(e,n){if(this.reason){e(this.reason);return}rP(this.callback),this.abort=e,this.context=n}onHeaders(e,n,r,s){let{factory:i,opaque:a,context:c,callback:A,responseHeaders:l}=this,p=l==="raw"?Hn.parseRawHeaders(n):Hn.parseHeaders(n);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:p});return}this.factory=null;let h;if(this.throwOnError&&e>=400){let S=(l==="raw"?Hn.parseHeaders(n):p)["content-type"];h=new iP,this.callback=null,this.runInAsyncScope(aP,null,{callback:A,body:h,contentType:S,statusCode:e,statusMessage:s,headers:p})}else{if(i===null)return;if(h=this.runInAsyncScope(i,null,{statusCode:e,headers:p,opaque:a,context:c}),!h||typeof h.write!="function"||typeof h.end!="function"||typeof h.on!="function")throw new oP("expected Writable");sP(h,{readable:!1},C=>{let{callback:S,res:v,opaque:T,trailers:x,abort:F}=this;this.res=null,(C||!v.readable)&&Hn.destroy(v,C),this.callback=null,this.runInAsyncScope(S,null,C||null,{opaque:T,trailers:x}),C&&F()})}return h.on("drain",r),this.res=h,(h.writableNeedDrain!==void 0?h.writableNeedDrain:h._writableState?.needDrain)!==!0}onData(e){let{res:n}=this;return n?n.write(e):!0}onComplete(e){let{res:n}=this;Vw(this),n&&(this.trailers=Hn.parseHeaders(e),n.end())}onError(e){let{res:n,callback:r,opaque:s,body:i}=this;Vw(this),this.factory=null,n?(this.res=null,Hn.destroy(n,e)):r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})})),i&&(this.body=null,Hn.destroy(i,e))}};function Gw(t,e,n){if(n===void 0)return new Promise((r,s)=>{Gw.call(this,t,e,(i,a)=>i?s(i):r(a))});try{this.dispatch(t,new gf(t,e,n))}catch(r){if(typeof n!="function")throw r;let s=t?.opaque;queueMicrotask(()=>n(r,{opaque:s}))}}Hw.exports=Gw});var Ww=L((t3,Jw)=>{"use strict";var{Readable:jw,Duplex:AP,PassThrough:lP}=require("node:stream"),{InvalidArgumentError:Dc,InvalidReturnValueError:dP,RequestAbortedError:mf}=xe(),En=Ie(),{AsyncResource:pP}=require("node:async_hooks"),{addSignal:hP,removeSignal:fP}=Tc(),qw=require("node:assert"),Wo=Symbol("resume"),yf=class extends jw{constructor(){super({autoDestroy:!0}),this[Wo]=null}_read(){let{[Wo]:e}=this;e&&(this[Wo]=null,e())}_destroy(e,n){this._read(),n(e)}},Ef=class extends jw{constructor(e){super({autoDestroy:!0}),this[Wo]=e}_read(){this[Wo]()}_destroy(e,n){!e&&!this._readableState.endEmitted&&(e=new mf),n(e)}},Cf=class extends pP{constructor(e,n){if(!e||typeof e!="object")throw new Dc("invalid opts");if(typeof n!="function")throw new Dc("invalid handler");let{signal:r,method:s,opaque:i,onInfo:a,responseHeaders:c}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new Dc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Dc("invalid method");if(a&&typeof a!="function")throw new Dc("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=n,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new yf().on("error",En.nop),this.ret=new AP({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:A}=this;A?.resume&&A.resume()},write:(A,l,p)=>{let{req:h}=this;h.push(A,l)||h._readableState.destroyed?p():h[Wo]=p},destroy:(A,l)=>{let{body:p,req:h,res:g,ret:C,abort:S}=this;!A&&!C._readableState.endEmitted&&(A=new mf),S&&A&&S(),En.destroy(p,A),En.destroy(h,A),En.destroy(g,A),fP(this),l(A)}}).on("prefinish",()=>{let{req:A}=this;A.push(null)}),this.res=null,hP(this,r)}onConnect(e,n){let{ret:r,res:s}=this;if(this.reason){e(this.reason);return}qw(!s,"pipeline cannot be retried"),qw(!r.destroyed),this.abort=e,this.context=n}onHeaders(e,n,r){let{opaque:s,handler:i,context:a}=this;if(e<200){if(this.onInfo){let A=this.responseHeaders==="raw"?En.parseRawHeaders(n):En.parseHeaders(n);this.onInfo({statusCode:e,headers:A})}return}this.res=new Ef(r);let c;try{this.handler=null;let A=this.responseHeaders==="raw"?En.parseRawHeaders(n):En.parseHeaders(n);c=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:s,body:this.res,context:a})}catch(A){throw this.res.on("error",En.nop),A}if(!c||typeof c.on!="function")throw new dP("expected Readable");c.on("data",A=>{let{ret:l,body:p}=this;!l.push(A)&&p.pause&&p.pause()}).on("error",A=>{let{ret:l}=this;En.destroy(l,A)}).on("end",()=>{let{ret:A}=this;A.push(null)}).on("close",()=>{let{ret:A}=this;A._readableState.ended||En.destroy(A,new mf)}),this.body=c}onData(e){let{res:n}=this;return n.push(e)}onComplete(e){let{res:n}=this;n.push(null)}onError(e){let{ret:n}=this;this.handler=null,En.destroy(n,e)}};function gP(t,e){try{let n=new Cf(t,e);return this.dispatch({...t,body:n.req},n),n.ret}catch(n){return new lP().destroy(n)}}Jw.exports=gP});var tQ=L((n3,eQ)=>{"use strict";var{InvalidArgumentError:If,SocketError:mP}=xe(),{AsyncResource:yP}=require("node:async_hooks"),zw=Ie(),{addSignal:EP,removeSignal:Kw}=Tc(),Zw=require("node:assert"),Bf=class extends yP{constructor(e,n){if(!e||typeof e!="object")throw new If("invalid opts");if(typeof n!="function")throw new If("invalid callback");let{signal:r,opaque:s,responseHeaders:i}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new If("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=s||null,this.callback=n,this.abort=null,this.context=null,EP(this,r)}onConnect(e,n){if(this.reason){e(this.reason);return}Zw(this.callback),this.abort=e,this.context=null}onHeaders(){throw new mP("bad upgrade",null)}onUpgrade(e,n,r){Zw(e===101);let{callback:s,opaque:i,context:a}=this;Kw(this),this.callback=null;let c=this.responseHeaders==="raw"?zw.parseRawHeaders(n):zw.parseHeaders(n);this.runInAsyncScope(s,null,null,{headers:c,socket:r,opaque:i,context:a})}onError(e){let{callback:n,opaque:r}=this;Kw(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})}))}};function Xw(t,e){if(e===void 0)return new Promise((n,r)=>{Xw.call(this,t,(s,i)=>s?r(s):n(i))});try{let n=new Bf(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},n)}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}eQ.exports=Xw});var oQ=L((r3,iQ)=>{"use strict";var CP=require("node:assert"),{AsyncResource:IP}=require("node:async_hooks"),{InvalidArgumentError:wf,SocketError:BP}=xe(),nQ=Ie(),{addSignal:wP,removeSignal:rQ}=Tc(),Qf=class extends IP{constructor(e,n){if(!e||typeof e!="object")throw new wf("invalid opts");if(typeof n!="function")throw new wf("invalid callback");let{signal:r,opaque:s,responseHeaders:i}=e;if(r&&typeof r.on!="function"&&typeof r.addEventListener!="function")throw new wf("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=n,this.abort=null,wP(this,r)}onConnect(e,n){if(this.reason){e(this.reason);return}CP(this.callback),this.abort=e,this.context=n}onHeaders(){throw new BP("bad connect",null)}onUpgrade(e,n,r){let{callback:s,opaque:i,context:a}=this;rQ(this),this.callback=null;let c=n;c!=null&&(c=this.responseHeaders==="raw"?nQ.parseRawHeaders(n):nQ.parseHeaders(n)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:r,opaque:i,context:a})}onError(e){let{callback:n,opaque:r}=this;rQ(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})}))}};function sQ(t,e){if(e===void 0)return new Promise((n,r)=>{sQ.call(this,t,(s,i)=>s?r(s):n(i))});try{let n=new Qf(t,e);this.dispatch({...t,method:"CONNECT"},n)}catch(n){if(typeof e!="function")throw n;let r=t?.opaque;queueMicrotask(()=>e(n,{opaque:r}))}}iQ.exports=sQ});var aQ=L((s3,zo)=>{"use strict";zo.exports.request=Lw();zo.exports.stream=Yw();zo.exports.pipeline=Ww();zo.exports.upgrade=tQ();zo.exports.connect=oQ()});var Sf=L((i3,uQ)=>{"use strict";var{UndiciError:QP}=xe(),cQ=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),bf=class t extends QP{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[cQ]===!0}[cQ]=!0};uQ.exports={MockNotMatchedError:bf}});var Ko=L((o3,AQ)=>{"use strict";AQ.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 Nc=L((a3,IQ)=>{"use strict";var{MockNotMatchedError:yi}=Sf(),{kDispatches:jA,kMockAgent:bP,kOriginalDispatch:SP,kOrigin:kP,kGetNetConnect:vP}=Ko(),{buildURL:RP}=Ie(),{STATUS_CODES:xP}=require("node:http"),{types:{isPromise:TP}}=require("node:util");function Pr(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function dQ(t){return Object.fromEntries(Object.entries(t).map(([e,n])=>[e.toLocaleLowerCase(),n]))}function pQ(t,e){if(Array.isArray(t)){for(let n=0;n<t.length;n+=2)if(t[n].toLocaleLowerCase()===e.toLocaleLowerCase())return t[n+1];return}else return typeof t.get=="function"?t.get(e):dQ(t)[e.toLocaleLowerCase()]}function Rf(t){let e=t.slice(),n=[];for(let r=0;r<e.length;r+=2)n.push([e[r],e[r+1]]);return Object.fromEntries(n)}function hQ(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=Rf(e)),t.headers(e?dQ(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[n,r]of Object.entries(t.headers)){let s=pQ(e,n);if(!Pr(r,s))return!1}return!0}function lQ(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let n=new URLSearchParams(e.pop());return n.sort(),[...e,n.toString()].join("?")}function DP(t,{path:e,method:n,body:r,headers:s}){let i=Pr(t.path,e),a=Pr(t.method,n),c=typeof t.body<"u"?Pr(t.body,r):!0,A=hQ(t,s);return i&&a&&c&&A}function fQ(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}function gQ(t,e){let n=e.query?RP(e.path,e.query):e.path,r=typeof n=="string"?lQ(n):n,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>Pr(lQ(i),r));if(s.length===0)throw new yi(`Mock dispatch not matched for path '${r}'`);if(s=s.filter(({method:i})=>Pr(i,e.method)),s.length===0)throw new yi(`Mock dispatch not matched for method '${e.method}' on path '${r}'`);if(s=s.filter(({body:i})=>typeof i<"u"?Pr(i,e.body):!0),s.length===0)throw new yi(`Mock dispatch not matched for body '${e.body}' on path '${r}'`);if(s=s.filter(i=>hQ(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new yi(`Mock dispatch not matched for headers '${i}' on path '${r}'`)}return s[0]}function NP(t,e,n){let r={timesInvoked:0,times:1,persist:!1,consumed:!1},s=typeof n=="function"?{callback:n}:{...n},i={...r,...e,pending:!0,data:{error:null,...s}};return t.push(i),i}function kf(t,e){let n=t.findIndex(r=>r.consumed?DP(r,e):!1);n!==-1&&t.splice(n,1)}function mQ(t){let{path:e,method:n,body:r,headers:s,query:i}=t;return{path:e,method:n,body:r,headers:s,query:i}}function vf(t){let e=Object.keys(t),n=[];for(let r=0;r<e.length;++r){let s=e[r],i=t[s],a=Buffer.from(`${s}`);if(Array.isArray(i))for(let c=0;c<i.length;++c)n.push(a,Buffer.from(`${i[c]}`));else n.push(a,Buffer.from(`${i}`))}return n}function yQ(t){return xP[t]||"unknown"}async function FP(t){let e=[];for await(let n of t)e.push(n);return Buffer.concat(e).toString("utf8")}function EQ(t,e){let n=mQ(t),r=gQ(this[jA],n);r.timesInvoked++,r.data.callback&&(r.data={...r.data,...r.data.callback(t)});let{data:{statusCode:s,data:i,headers:a,trailers:c,error:A},delay:l,persist:p}=r,{timesInvoked:h,times:g}=r;if(r.consumed=!p&&h>=g,r.pending=h<g,A!==null)return kf(this[jA],n),e.onError(A),!0;typeof l=="number"&&l>0?setTimeout(()=>{C(this[jA])},l):C(this[jA]);function C(v,T=i){let x=Array.isArray(t.headers)?Rf(t.headers):t.headers,F=typeof T=="function"?T({...t,headers:x}):T;if(TP(F)){F.then(ke=>C(v,ke));return}let Y=fQ(F),$=vf(a),ae=vf(c);e.onConnect?.(ke=>e.onError(ke),null),e.onHeaders?.(s,$,S,yQ(s)),e.onData?.(Buffer.from(Y)),e.onComplete?.(ae),kf(v,n)}function S(){}return!0}function MP(){let t=this[bP],e=this[kP],n=this[SP];return function(s,i){if(t.isMockActive)try{EQ.call(this,s,i)}catch(a){if(a instanceof yi){let c=t[vP]();if(c===!1)throw new yi(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(CQ(c,e))n.call(this,s,i);else throw new yi(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else n.call(this,s,i)}}function CQ(t,e){let n=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(r=>Pr(r,n.host)))}function _P(t){if(t){let{agent:e,...n}=t;return n}}IQ.exports={getResponseData:fQ,getMockDispatch:gQ,addMockDispatch:NP,deleteMockDispatch:kf,buildKey:mQ,generateKeyValues:vf,matchValue:Pr,getResponse:FP,getStatusText:yQ,mockDispatch:EQ,buildMockDispatch:MP,checkNetConnect:CQ,buildMockOptions:_P,getHeaderByName:pQ,buildHeadersFromArray:Rf}});var _f=L((c3,Mf)=>{"use strict";var{getResponseData:UP,buildKey:LP,addMockDispatch:xf}=Nc(),{kDispatches:JA,kDispatchKey:WA,kDefaultHeaders:Tf,kDefaultTrailers:Df,kContentLength:Nf,kMockDispatch:zA}=Ko(),{InvalidArgumentError:Ar}=xe(),{buildURL:PP}=Ie(),Zo=class{constructor(e){this[zA]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ar("waitInMs must be a valid integer > 0");return this[zA].delay=e,this}persist(){return this[zA].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ar("repeatTimes must be a valid integer > 0");return this[zA].times=e,this}},Ff=class{constructor(e,n){if(typeof e!="object")throw new Ar("opts must be an object");if(typeof e.path>"u")throw new Ar("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=PP(e.path,e.query);else{let r=new URL(e.path,"data://");e.path=r.pathname+r.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[WA]=LP(e),this[JA]=n,this[Tf]={},this[Df]={},this[Nf]=!1}createMockScopeDispatchData({statusCode:e,data:n,responseOptions:r}){let s=UP(n),i=this[Nf]?{"content-length":s.length}:{},a={...this[Tf],...i,...r.headers},c={...this[Df],...r.trailers};return{statusCode:e,data:n,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Ar("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Ar("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=c=>{let A=e(c);if(typeof A!="object"||A===null)throw new Ar("reply options callback must return an object");let l={data:"",responseOptions:{},...A};return this.validateReplyParameters(l),{...this.createMockScopeDispatchData(l)}},a=xf(this[JA],this[WA],i);return new Zo(a)}let n={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(n);let r=this.createMockScopeDispatchData(n),s=xf(this[JA],this[WA],r);return new Zo(s)}replyWithError(e){if(typeof e>"u")throw new Ar("error must be defined");let n=xf(this[JA],this[WA],{error:e});return new Zo(n)}defaultReplyHeaders(e){if(typeof e>"u")throw new Ar("headers must be defined");return this[Tf]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Ar("trailers must be defined");return this[Df]=e,this}replyContentLength(){return this[Nf]=!0,this}};Mf.exports.MockInterceptor=Ff;Mf.exports.MockScope=Zo});var Pf=L((u3,vQ)=>{"use strict";var{promisify:OP}=require("node:util"),$P=Vo(),{buildMockDispatch:VP}=Nc(),{kDispatches:BQ,kMockAgent:wQ,kClose:QQ,kOriginalClose:bQ,kOrigin:SQ,kOriginalDispatch:GP,kConnected:Uf}=Ko(),{MockInterceptor:HP}=_f(),kQ=He(),{InvalidArgumentError:YP}=xe(),Lf=class extends $P{constructor(e,n){if(super(e,n),!n||!n.agent||typeof n.agent.dispatch!="function")throw new YP("Argument opts.agent must implement Agent");this[wQ]=n.agent,this[SQ]=e,this[BQ]=[],this[Uf]=1,this[GP]=this.dispatch,this[bQ]=this.close.bind(this),this.dispatch=VP.call(this),this.close=this[QQ]}get[kQ.kConnected](){return this[Uf]}intercept(e){return new HP(e,this[BQ])}async[QQ](){await OP(this[bQ])(),this[Uf]=0,this[wQ][kQ.kClients].delete(this[SQ])}};vQ.exports=Lf});var Vf=L((A3,MQ)=>{"use strict";var{promisify:qP}=require("node:util"),jP=Go(),{buildMockDispatch:JP}=Nc(),{kDispatches:RQ,kMockAgent:xQ,kClose:TQ,kOriginalClose:DQ,kOrigin:NQ,kOriginalDispatch:WP,kConnected:Of}=Ko(),{MockInterceptor:zP}=_f(),FQ=He(),{InvalidArgumentError:KP}=xe(),$f=class extends jP{constructor(e,n){if(super(e,n),!n||!n.agent||typeof n.agent.dispatch!="function")throw new KP("Argument opts.agent must implement Agent");this[xQ]=n.agent,this[NQ]=e,this[RQ]=[],this[Of]=1,this[WP]=this.dispatch,this[DQ]=this.close.bind(this),this.dispatch=JP.call(this),this.close=this[TQ]}get[FQ.kConnected](){return this[Of]}intercept(e){return new zP(e,this[RQ])}async[TQ](){await qP(this[DQ])(),this[Of]=0,this[xQ][FQ.kClients].delete(this[NQ])}};MQ.exports=$f});var UQ=L((d3,_Q)=>{"use strict";var ZP={pronoun:"it",is:"is",was:"was",this:"this"},XP={pronoun:"they",is:"are",was:"were",this:"these"};_Q.exports=class{constructor(e,n){this.singular=e,this.plural=n}pluralize(e){let n=e===1,r=n?ZP:XP,s=n?this.singular:this.plural;return{...r,count:e,noun:s}}}});var PQ=L((h3,LQ)=>{"use strict";var{Transform:eO}=require("node:stream"),{Console:tO}=require("node:console"),nO=process.versions.icu?"\u2705":"Y ",rO=process.versions.icu?"\u274C":"N ";LQ.exports=class{constructor({disableColors:e}={}){this.transform=new eO({transform(n,r,s){s(null,n)}}),this.logger=new tO({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let n=e.map(({method:r,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:A,origin:l})=>({Method:r,Origin:l,Path:s,"Status code":i,Persistent:a?nO:rO,Invocations:A,Remaining:a?1/0:c-A}));return this.logger.table(n),this.transform.read().toString()}}});var GQ=L((f3,VQ)=>{"use strict";var{kClients:Ei}=He(),sO=Ho(),{kAgent:Gf,kMockAgentSet:KA,kMockAgentGet:OQ,kDispatches:Hf,kIsMockActive:ZA,kNetConnect:Ci,kGetNetConnect:iO,kOptions:XA,kFactory:el}=Ko(),oO=Pf(),aO=Vf(),{matchValue:cO,buildMockOptions:uO}=Nc(),{InvalidArgumentError:$Q,UndiciError:AO}=xe(),lO=nc(),dO=UQ(),pO=PQ(),Yf=class extends lO{constructor(e){if(super(e),this[Ci]=!0,this[ZA]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new $Q("Argument opts.agent must implement Agent");let n=e?.agent?e.agent:new sO(e);this[Gf]=n,this[Ei]=n[Ei],this[XA]=uO(e)}get(e){let n=this[OQ](e);return n||(n=this[el](e),this[KA](e,n)),n}dispatch(e,n){return this.get(e.origin),this[Gf].dispatch(e,n)}async close(){await this[Gf].close(),this[Ei].clear()}deactivate(){this[ZA]=!1}activate(){this[ZA]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Ci])?this[Ci].push(e):this[Ci]=[e];else if(typeof e>"u")this[Ci]=!0;else throw new $Q("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Ci]=!1}get isMockActive(){return this[ZA]}[KA](e,n){this[Ei].set(e,n)}[el](e){let n=Object.assign({agent:this},this[XA]);return this[XA]&&this[XA].connections===1?new oO(e,n):new aO(e,n)}[OQ](e){let n=this[Ei].get(e);if(n)return n;if(typeof e!="string"){let r=this[el]("http://localhost:9999");return this[KA](e,r),r}for(let[r,s]of Array.from(this[Ei]))if(s&&typeof r!="string"&&cO(r,e)){let i=this[el](e);return this[KA](e,i),i[Hf]=s[Hf],i}}[iO](){return this[Ci]}pendingInterceptors(){let e=this[Ei];return Array.from(e.entries()).flatMap(([n,r])=>r[Hf].map(s=>({...s,origin:n}))).filter(({pending:n})=>n)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new pO}={}){let n=this.pendingInterceptors();if(n.length===0)return;let r=new dO("interceptor","interceptors").pluralize(n.length);throw new AO(`
|
|
42
42
|
${r.count} ${r.noun} ${r.is} pending:
|
|
43
43
|
|
|
44
44
|
${e.format(n)}
|
|
45
|
-
`.trim())}};VQ.exports=Yf});var Fc=L((g3,jQ)=>{"use strict";var HQ=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hO}=xe(),fO=Ho();qQ()===void 0&&YQ(new fO);function YQ(t){if(!t||typeof t.dispatch!="function")throw new hO("Argument agent must implement Agent");Object.defineProperty(globalThis,HQ,{value:t,writable:!0,enumerable:!1,configurable:!1})}function qQ(){return globalThis[HQ]}jQ.exports={setGlobalDispatcher:YQ,getGlobalDispatcher:qQ}});var tl=L((y3,JQ)=>{"use strict";JQ.exports=class{#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var zQ=L((E3,WQ)=>{"use strict";var gO=FA();WQ.exports=t=>{let e=t?.maxRedirections;return n=>function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return n(s,i);let A=new gO(n,a,s,i);return n(c,A)}}});var ZQ=L((C3,KQ)=>{"use strict";var mO=YA();KQ.exports=t=>e=>function(r,s){return e(r,new mO({...r,retryOptions:{...t,...r.retryOptions}},{handler:s,dispatch:e}))}});var eb=L((I3,XQ)=>{"use strict";var yO=Ie(),{InvalidArgumentError:EO,RequestAbortedError:CO}=xe(),IO=tl(),qf=class extends IO{#e=1024*1024;#t=null;#n=!1;#s=!1;#i=0;#r=null;#o=null;constructor({maxSize:e},n){if(super(n),e!=null&&(!Number.isFinite(e)||e<1))throw new EO("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=n}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#s=!0,this.#r=e}onHeaders(e,n,r,s){let a=yO.parseHeaders(n)["content-length"];if(a!=null&&a>this.#e)throw new CO(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#s?!0:this.#o.onHeaders(e,n,r,s)}onError(e){this.#n||(e=this.#r??e,this.#o.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#n=!0,this.#s?this.#o.onError(this.#r):this.#o.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#s){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function BO({maxSize:t}={maxSize:1024*1024}){return e=>function(r,s){let{dumpMaxSize:i=t}=r,a=new qf({maxSize:i},s);return e(r,a)}}XQ.exports=BO});var rb=L((B3,nb)=>{"use strict";var{isIP:wO}=require("node:net"),{lookup:QO}=require("node:dns"),bO=tl(),{InvalidArgumentError:Xo,InformationalError:SO}=xe(),tb=Math.pow(2,31)-1,jf=class{#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.#s,this.pick=e.pick??this.#i}get full(){return this.#n.size===this.#t}runLookup(e,n,r){let s=this.#n.get(e.hostname);if(s==null&&this.full){r(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...n.dns,maxTTL:this.#e,maxItems:this.#t};if(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){r(a??new SO("No DNS entries found"));return}this.setRecords(e,c);let A=this.#n.get(e.hostname),l=this.pick(e,A,i.affinity),p;typeof l.port=="number"?p=`:${l.port}`:e.port!==""?p=`:${e.port}`:p="",r(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${p}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,n,r);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",r(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#s(e,n,r){QO(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return r(s);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);r(null,a.values())})}#i(e,n,r){let s=null,{records:i,offset:a}=n,c;if(this.dualStack?(r==null&&(a==null||a===tb?(n.offset=0,r=4):(n.offset++,r=(n.offset&1)===1?6:4)),i[r]!=null&&i[r].ips.length>0?c=i[r]:c=i[r===4?6:4]):c=i[r],c==null||c.ips.length===0)return s;c.offset==null||c.offset===tb?c.offset=0:c.offset++;let A=c.offset%c.ips.length;return s=c.ips[A]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(c.ips.splice(A,1),this.pick(e,n,r)):s}setRecords(e,n){let r=Date.now(),s={records:{4:null,6:null}};for(let i of n){i.timestamp=r,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=s.records[i.family]??{ips:[]};a.ips.push(i),s.records[i.family]=a}this.#n.set(e.hostname,s)}getHandler(e,n){return new Jf(this,e,n)}},Jf=class extends bO{#e=null;#t=null;#n=null;#s=null;#i=null;constructor(e,{origin:n,handler:r,dispatch:s},i){super(r),this.#i=n,this.#s=r,this.#t={...i},this.#e=e,this.#n=s}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(n,r)=>{if(n)return this.#s.onError(n);let s={...this.#t,origin:r};this.#n(s,this)});return}this.#s.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#s.onError(e);break}}};nb.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Xo("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Xo("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Xo("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Xo("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Xo("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Xo("Invalid pick. Must be a function");let e=t?.dualStack??!0,n;e?n=t?.affinity??null:n=t?.affinity??4;let r={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:n,maxItems:t?.maxItems??1/0},s=new jf(r);return i=>function(c,A){let l=c.origin.constructor===URL?c.origin:new URL(c.origin);return wO(l.hostname)!==0?i(c,A):(s.runLookup(l,c,(p,h)=>{if(p)return A.onError(p);let g=null;g={...c,servername:l.hostname,origin:h,headers:{host:l.hostname,...c.headers}},i(g,s.getHandler({origin:l,dispatch:i,handler:A},c))}),!0)}}});var Ii=L((w3,Ab)=>{"use strict";var{kConstruct:kO}=He(),{kEnumerableProperty:ea}=Ie(),{iteratorMixin:vO,isValidHeaderName:Mc,isValidHeaderValue:ib}=nn(),{webidl:Se}=ft(),Wf=require("node:assert"),nl=require("node:util"),nt=Symbol("headers map"),an=Symbol("headers map sorted");function sb(t){return t===10||t===13||t===9||t===32}function ob(t){let e=0,n=t.length;for(;n>e&&sb(t.charCodeAt(n-1));)--n;for(;n>e&&sb(t.charCodeAt(e));)++e;return e===0&&n===t.length?t:t.substring(e,n)}function ab(t,e){if(Array.isArray(e))for(let n=0;n<e.length;++n){let r=e[n];if(r.length!==2)throw Se.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${r.length}.`});zf(t,r[0],r[1])}else if(typeof e=="object"&&e!==null){let n=Object.keys(e);for(let r=0;r<n.length;++r)zf(t,n[r],e[n[r]])}else throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function zf(t,e,n){if(n=ob(n),Mc(e)){if(!ib(n))throw Se.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}else throw Se.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(ub(t)==="immutable")throw new TypeError("immutable");return Kf(t).append(e,n,!1)}function cb(t,e){return t[0]<e[0]?-1:1}var rl=class t{cookies=null;constructor(e){e instanceof t?(this[nt]=new Map(e[nt]),this[an]=e[an],this.cookies=e.cookies===null?null:[...e.cookies]):(this[nt]=new Map(e),this[an]=null)}contains(e,n){return this[nt].has(n?e:e.toLowerCase())}clear(){this[nt].clear(),this[an]=null,this.cookies=null}append(e,n,r){this[an]=null;let s=r?e:e.toLowerCase(),i=this[nt].get(s);if(i){let a=s==="cookie"?"; ":", ";this[nt].set(s,{name:i.name,value:`${i.value}${a}${n}`})}else this[nt].set(s,{name:e,value:n});s==="set-cookie"&&(this.cookies??=[]).push(n)}set(e,n,r){this[an]=null;let s=r?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[n]),this[nt].set(s,{name:e,value:n})}delete(e,n){this[an]=null,n||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[nt].delete(e)}get(e,n){return this[nt].get(n?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:n}}of this[nt])yield[e,n]}get entries(){let e={};if(this[nt].size!==0)for(let{name:n,value:r}of this[nt].values())e[n]=r;return e}rawValues(){return this[nt].values()}get entriesList(){let e=[];if(this[nt].size!==0)for(let{0:n,1:{name:r,value:s}}of this[nt])if(n==="set-cookie")for(let i of this.cookies)e.push([r,i]);else e.push([r,s]);return e}toSortedArray(){let e=this[nt].size,n=new Array(e);if(e<=32){if(e===0)return n;let r=this[nt][Symbol.iterator](),s=r.next().value;n[0]=[s[0],s[1].value],Wf(s[1].value!==null);for(let i=1,a=0,c=0,A=0,l=0,p,h;i<e;++i){for(h=r.next().value,p=n[i]=[h[0],h[1].value],Wf(p[1]!==null),A=0,c=i;A<c;)l=A+(c-A>>1),n[l][0]<=p[0]?A=l+1:c=l;if(i!==l){for(a=i;a>A;)n[a]=n[--a];n[A]=p}}if(!r.next().done)throw new TypeError("Unreachable");return n}else{let r=0;for(let{0:s,1:{value:i}}of this[nt])n[r++]=[s,i],Wf(i!==null);return n.sort(cb)}}},Yn=class t{#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==kO&&(this.#t=new rl,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),ab(this,e)))}append(e,n){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=Se.converters.ByteString(e,r,"name"),n=Se.converters.ByteString(n,r,"value"),zf(this,e,n)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!Mc(e))throw Se.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.get");let n="Headers.get";if(e=Se.converters.ByteString(e,n,"name"),!Mc(e))throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.has");let n="Headers.has";if(e=Se.converters.ByteString(e,n,"name"),!Mc(e))throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,n){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=Se.converters.ByteString(e,r,"name"),n=Se.converters.ByteString(n,r,"value"),n=ob(n),Mc(e)){if(!ib(n))throw Se.errors.invalidArgument({prefix:r,value:n,type:"header value"})}else throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,n,!1)}getSetCookie(){Se.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[an](){if(this.#t[an])return this.#t[an];let e=[],n=this.#t.toSortedArray(),r=this.#t.cookies;if(r===null||r.length===1)return this.#t[an]=n;for(let s=0;s<n.length;++s){let{0:i,1:a}=n[s];if(i==="set-cookie")for(let c=0;c<r.length;++c)e.push([i,r[c]]);else e.push([i,a])}return this.#t[an]=e}[nl.inspect.custom](e,n){return n.depth??=e,`Headers ${nl.formatWithOptions(n,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,n){e.#e=n}static getHeadersList(e){return e.#t}static setHeadersList(e,n){e.#t=n}},{getHeadersGuard:ub,setHeadersGuard:RO,getHeadersList:Kf,setHeadersList:xO}=Yn;Reflect.deleteProperty(Yn,"getHeadersGuard");Reflect.deleteProperty(Yn,"setHeadersGuard");Reflect.deleteProperty(Yn,"getHeadersList");Reflect.deleteProperty(Yn,"setHeadersList");vO("Headers",Yn,an,0,1);Object.defineProperties(Yn.prototype,{append:ea,delete:ea,get:ea,has:ea,set:ea,getSetCookie:ea,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[nl.inspect.custom]:{enumerable:!1}});Se.converters.HeadersInit=function(t,e,n){if(Se.util.Type(t)==="Object"){let r=Reflect.get(t,Symbol.iterator);if(!nl.types.isProxy(t)&&r===Yn.prototype.entries)try{return Kf(t).entriesList}catch{}return typeof r=="function"?Se.converters["sequence<sequence<ByteString>>"](t,e,n,r.bind(t)):Se.converters["record<ByteString, ByteString>"](t,e,n)}throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};Ab.exports={fill:ab,compareHeaderName:cb,Headers:Yn,HeadersList:rl,getHeadersGuard:ub,setHeadersGuard:RO,setHeadersList:xO,getHeadersList:Kf}});var _c=L((Q3,Bb)=>{"use strict";var{Headers:gb,HeadersList:lb,fill:TO,getHeadersGuard:DO,setHeadersGuard:mb,setHeadersList:yb}=Ii(),{extractBody:db,cloneBody:NO,mixinBody:FO,hasFinalizationRegistry:Eb,streamRegistry:Cb,bodyUnusable:MO}=Mo(),Zf=Ie(),pb=require("node:util"),{kEnumerableProperty:cn}=Zf,{isValidReasonPhrase:UO,isCancelled:_O,isAborted:LO,isBlobLike:PO,serializeJavascriptValueToJSONString:OO,isErrorLike:$O,isomorphicEncode:VO,environmentSettingsObject:GO}=nn(),{redirectStatusSet:HO,nullBodyStatus:YO}=ic(),{kState:qe,kHeaders:Or}=us(),{webidl:ye}=ft(),{FormData:qO}=lc(),{URLSerializer:hb}=Pt(),{kConstruct:il}=He(),Xf=require("node:assert"),{types:jO}=require("node:util"),JO=new TextEncoder("utf-8"),Bi=class t{static error(){return Uc(ol(),"immutable")}static json(e,n={}){ye.argumentLengthCheck(arguments,1,"Response.json"),n!==null&&(n=ye.converters.ResponseInit(n));let r=JO.encode(OO(e)),s=db(r),i=Uc(ta({}),"response");return fb(i,n,{body:s[0],type:"application/json"}),i}static redirect(e,n=302){ye.argumentLengthCheck(arguments,1,"Response.redirect"),e=ye.converters.USVString(e),n=ye.converters["unsigned short"](n);let r;try{r=new URL(e,GO.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!HO.has(n))throw new RangeError(`Invalid status code ${n}`);let s=Uc(ta({}),"immutable");s[qe].status=n;let i=VO(hb(r));return s[qe].headersList.append("location",i,!0),s}constructor(e=null,n={}){if(ye.util.markAsUncloneable(this),e===il)return;e!==null&&(e=ye.converters.BodyInit(e)),n=ye.converters.ResponseInit(n),this[qe]=ta({}),this[Or]=new gb(il),mb(this[Or],"response"),yb(this[Or],this[qe].headersList);let r=null;if(e!=null){let[s,i]=db(e);r={body:s,type:i}}fb(this,n,r)}get type(){return ye.brandCheck(this,t),this[qe].type}get url(){ye.brandCheck(this,t);let e=this[qe].urlList,n=e[e.length-1]??null;return n===null?"":hb(n,!0)}get redirected(){return ye.brandCheck(this,t),this[qe].urlList.length>1}get status(){return ye.brandCheck(this,t),this[qe].status}get ok(){return ye.brandCheck(this,t),this[qe].status>=200&&this[qe].status<=299}get statusText(){return ye.brandCheck(this,t),this[qe].statusText}get headers(){return ye.brandCheck(this,t),this[Or]}get body(){return ye.brandCheck(this,t),this[qe].body?this[qe].body.stream:null}get bodyUsed(){return ye.brandCheck(this,t),!!this[qe].body&&Zf.isDisturbed(this[qe].body.stream)}clone(){if(ye.brandCheck(this,t),MO(this))throw ye.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=eg(this[qe]);return Eb&&this[qe].body?.stream&&Cb.register(this,new WeakRef(this[qe].body.stream)),Uc(e,DO(this[Or]))}[pb.inspect.custom](e,n){n.depth===null&&(n.depth=2),n.colors??=!0;let r={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 ${pb.formatWithOptions(n,r)}`}};FO(Bi);Object.defineProperties(Bi.prototype,{type:cn,url:cn,status:cn,ok:cn,redirected:cn,statusText:cn,headers:cn,clone:cn,body:cn,bodyUsed:cn,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Bi,{json:cn,redirect:cn,error:cn});function eg(t){if(t.internalResponse)return Ib(eg(t.internalResponse),t.type);let e=ta({...t,body:null});return t.body!=null&&(e.body=NO(e,t.body)),e}function ta(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new lb(t?.headersList):new lb,urlList:t?.urlList?[...t.urlList]:[]}}function ol(t){let e=$O(t);return ta({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function WO(t){return t.type==="error"&&t.status===0}function sl(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(n,r){return r in e?e[r]:n[r]},set(n,r,s){return Xf(!(r in e)),n[r]=s,!0}})}function Ib(t,e){if(e==="basic")return sl(t,{type:"basic",headersList:t.headersList});if(e==="cors")return sl(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return sl(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return sl(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});Xf(!1)}function zO(t,e=null){return Xf(_O(t)),LO(t)?ol(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):ol(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}function fb(t,e,n){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&&!UO(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[qe].status=e.status),"statusText"in e&&e.statusText!=null&&(t[qe].statusText=e.statusText),"headers"in e&&e.headers!=null&&TO(t[Or],e.headers),n){if(YO.includes(t.status))throw ye.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[qe].body=n.body,n.type!=null&&!t[qe].headersList.contains("content-type",!0)&&t[qe].headersList.append("content-type",n.type,!0)}}function Uc(t,e){let n=new Bi(il);return n[qe]=t,n[Or]=new gb(il),yb(n[Or],t.headersList),mb(n[Or],e),Eb&&t.body?.stream&&Cb.register(n,new WeakRef(t.body.stream)),n}ye.converters.ReadableStream=ye.interfaceConverter(ReadableStream);ye.converters.FormData=ye.interfaceConverter(qO);ye.converters.URLSearchParams=ye.interfaceConverter(URLSearchParams);ye.converters.XMLHttpRequestBodyInit=function(t,e,n){return typeof t=="string"?ye.converters.USVString(t,e,n):PO(t)?ye.converters.Blob(t,e,n,{strict:!1}):ArrayBuffer.isView(t)||jO.isArrayBuffer(t)?ye.converters.BufferSource(t,e,n):Zf.isFormDataLike(t)?ye.converters.FormData(t,e,n,{strict:!1}):t instanceof URLSearchParams?ye.converters.URLSearchParams(t,e,n):ye.converters.DOMString(t,e,n)};ye.converters.BodyInit=function(t,e,n){return t instanceof ReadableStream?ye.converters.ReadableStream(t,e,n):t?.[Symbol.asyncIterator]?t:ye.converters.XMLHttpRequestBodyInit(t,e,n)};ye.converters.ResponseInit=ye.dictionaryConverter([{key:"status",converter:ye.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:ye.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:ye.converters.HeadersInit}]);Bb.exports={isNetworkError:WO,makeNetworkError:ol,makeResponse:ta,makeAppropriateNetworkError:zO,filterResponse:Ib,Response:Bi,cloneResponse:eg,fromInnerResponse:Uc}});var Sb=L((b3,bb)=>{"use strict";var{kConnected:wb,kSize:Qb}=He(),tg=class{constructor(e){this.value=e}deref(){return this.value[wb]===0&&this.value[Qb]===0?void 0:this.value}},ng=class{constructor(e){this.finalizer=e}register(e,n){e.on&&e.on("disconnect",()=>{e[wb]===0&&e[Qb]===0&&this.finalizer(n)})}unregister(e){}};bb.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:tg,FinalizationRegistry:ng}):{WeakRef,FinalizationRegistry}}});var na=L((S3,$b)=>{"use strict";var{extractBody:KO,mixinBody:ZO,cloneBody:XO,bodyUnusable:kb}=Mo(),{Headers:Ub,fill:e1,HeadersList:Al,setHeadersGuard:sg,getHeadersGuard:t1,setHeadersList:_b,getHeadersList:vb}=Ii(),{FinalizationRegistry:n1}=Sb()(),cl=Ie(),Rb=require("node:util"),{isValidHTTPToken:r1,sameOrigin:xb,environmentSettingsObject:al}=nn(),{forbiddenMethodsSet:s1,corsSafeListedMethodsSet:i1,referrerPolicy:o1,requestRedirect:a1,requestMode:c1,requestCredentials:u1,requestCache:A1,requestDuplex:l1}=ic(),{kEnumerableProperty:rt,normalizedMethodRecordsBase:d1,normalizedMethodRecords:p1}=cl,{kHeaders:un,kSignal:ul,kState:Ve,kDispatcher:rg}=us(),{webidl:oe}=ft(),{URLSerializer:h1}=Pt(),{kConstruct:ll}=He(),f1=require("node:assert"),{getMaxListeners:Tb,setMaxListeners:Db,getEventListeners:g1,defaultMaxListeners:Nb}=require("node:events"),m1=Symbol("abortController"),Lb=new n1(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),dl=new WeakMap;function Fb(t){return e;function e(){let n=t.deref();if(n!==void 0){Lb.unregister(e),this.removeEventListener("abort",e),n.abort(this.reason);let r=dl.get(n.signal);if(r!==void 0){if(r.size!==0){for(let s of r){let i=s.deref();i!==void 0&&i.abort(this.reason)}r.clear()}dl.delete(n.signal)}}}}var Mb=!1,Cs=class t{constructor(e,n={}){if(oe.util.markAsUncloneable(this),e===ll)return;let r="Request constructor";oe.argumentLengthCheck(arguments,1,r),e=oe.converters.RequestInfo(e,r,"input"),n=oe.converters.RequestInit(n,r,"init");let s=null,i=null,a=al.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[rg]=n.dispatcher;let x;try{x=new URL(e,a)}catch(F){throw new TypeError("Failed to parse URL from "+e,{cause:F})}if(x.username||x.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=pl({urlList:[x]}),i="cors"}else this[rg]=n.dispatcher||e[rg],f1(e instanceof t),s=e[Ve],c=e[ul];let A=al.settingsObject.origin,l="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&xb(s.window,A)&&(l=s.window),n.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in n&&(l="no-window"),s=pl({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:al.settingsObject,window:l,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let p=Object.keys(n).length!==0;if(p&&(s.mode==="navigate"&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),n.referrer!==void 0){let x=n.referrer;if(x==="")s.referrer="no-referrer";else{let F;try{F=new URL(x,a)}catch(Y){throw new TypeError(`Referrer "${x}" is not a valid URL.`,{cause:Y})}F.protocol==="about:"&&F.hostname==="client"||A&&!xb(F,al.settingsObject.baseUrl)?s.referrer="client":s.referrer=F}}n.referrerPolicy!==void 0&&(s.referrerPolicy=n.referrerPolicy);let h;if(n.mode!==void 0?h=n.mode:h=i,h==="navigate")throw oe.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(h!=null&&(s.mode=h),n.credentials!==void 0&&(s.credentials=n.credentials),n.cache!==void 0&&(s.cache=n.cache),s.cache==="only-if-cached"&&s.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(n.redirect!==void 0&&(s.redirect=n.redirect),n.integrity!=null&&(s.integrity=String(n.integrity)),n.keepalive!==void 0&&(s.keepalive=!!n.keepalive),n.method!==void 0){let x=n.method,F=p1[x];if(F!==void 0)s.method=F;else{if(!r1(x))throw new TypeError(`'${x}' is not a valid HTTP method.`);let Y=x.toUpperCase();if(s1.has(Y))throw new TypeError(`'${x}' HTTP method is unsupported.`);x=d1[Y]??x,s.method=x}!Mb&&s.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"}),Mb=!0)}n.signal!==void 0&&(c=n.signal),this[Ve]=s;let g=new AbortController;if(this[ul]=g.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)g.abort(c.reason);else{this[m1]=g;let x=new WeakRef(g),F=Fb(x);try{(typeof Tb=="function"&&Tb(c)===Nb||g1(c,"abort").length>=Nb)&&Db(1500,c)}catch{}cl.addAbortListener(c,F),Lb.register(g,{signal:c,abort:F},F)}}if(this[un]=new Ub(ll),_b(this[un],s.headersList),sg(this[un],"request"),h==="no-cors"){if(!i1.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);sg(this[un],"request-no-cors")}if(p){let x=vb(this[un]),F=n.headers!==void 0?n.headers:new Al(x);if(x.clear(),F instanceof Al){for(let{name:Y,value:$}of F.rawValues())x.append(Y,$,!1);x.cookies=F.cookies}else e1(this[un],F)}let C=e instanceof t?e[Ve].body:null;if((n.body!=null||C!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let S=null;if(n.body!=null){let[x,F]=KO(n.body,s.keepalive);S=x,F&&!vb(this[un]).contains("content-type",!0)&&this[un].append("content-type",F)}let v=S??C;if(v!=null&&v.source==null){if(S!=null&&n.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(s.mode!=="same-origin"&&s.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let T=v;if(S==null&&C!=null){if(kb(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let x=new TransformStream;C.stream.pipeThrough(x),T={source:C.source,length:C.length,stream:x.readable}}this[Ve].body=T}get method(){return oe.brandCheck(this,t),this[Ve].method}get url(){return oe.brandCheck(this,t),h1(this[Ve].url)}get headers(){return oe.brandCheck(this,t),this[un]}get destination(){return oe.brandCheck(this,t),this[Ve].destination}get referrer(){return oe.brandCheck(this,t),this[Ve].referrer==="no-referrer"?"":this[Ve].referrer==="client"?"about:client":this[Ve].referrer.toString()}get referrerPolicy(){return oe.brandCheck(this,t),this[Ve].referrerPolicy}get mode(){return oe.brandCheck(this,t),this[Ve].mode}get credentials(){return this[Ve].credentials}get cache(){return oe.brandCheck(this,t),this[Ve].cache}get redirect(){return oe.brandCheck(this,t),this[Ve].redirect}get integrity(){return oe.brandCheck(this,t),this[Ve].integrity}get keepalive(){return oe.brandCheck(this,t),this[Ve].keepalive}get isReloadNavigation(){return oe.brandCheck(this,t),this[Ve].reloadNavigation}get isHistoryNavigation(){return oe.brandCheck(this,t),this[Ve].historyNavigation}get signal(){return oe.brandCheck(this,t),this[ul]}get body(){return oe.brandCheck(this,t),this[Ve].body?this[Ve].body.stream:null}get bodyUsed(){return oe.brandCheck(this,t),!!this[Ve].body&&cl.isDisturbed(this[Ve].body.stream)}get duplex(){return oe.brandCheck(this,t),"half"}clone(){if(oe.brandCheck(this,t),kb(this))throw new TypeError("unusable");let e=Pb(this[Ve]),n=new AbortController;if(this.signal.aborted)n.abort(this.signal.reason);else{let r=dl.get(this.signal);r===void 0&&(r=new Set,dl.set(this.signal,r));let s=new WeakRef(n);r.add(s),cl.addAbortListener(n.signal,Fb(s))}return Ob(e,n.signal,t1(this[un]))}[Rb.inspect.custom](e,n){n.depth===null&&(n.depth=2),n.colors??=!0;let r={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 ${Rb.formatWithOptions(n,r)}`}};ZO(Cs);function pl(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 Al(t.headersList):new Al}}function Pb(t){let e=pl({...t,body:null});return t.body!=null&&(e.body=XO(e,t.body)),e}function Ob(t,e,n){let r=new Cs(ll);return r[Ve]=t,r[ul]=e,r[un]=new Ub(ll),_b(r[un],t.headersList),sg(r[un],n),r}Object.defineProperties(Cs.prototype,{method:rt,url:rt,headers:rt,redirect:rt,clone:rt,signal:rt,duplex:rt,destination:rt,body:rt,bodyUsed:rt,isHistoryNavigation:rt,isReloadNavigation:rt,keepalive:rt,integrity:rt,cache:rt,credentials:rt,attribute:rt,referrerPolicy:rt,referrer:rt,mode:rt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});oe.converters.Request=oe.interfaceConverter(Cs);oe.converters.RequestInfo=function(t,e,n){return typeof t=="string"?oe.converters.USVString(t,e,n):t instanceof Cs?oe.converters.Request(t,e,n):oe.converters.USVString(t,e,n)};oe.converters.AbortSignal=oe.interfaceConverter(AbortSignal);oe.converters.RequestInit=oe.dictionaryConverter([{key:"method",converter:oe.converters.ByteString},{key:"headers",converter:oe.converters.HeadersInit},{key:"body",converter:oe.nullableConverter(oe.converters.BodyInit)},{key:"referrer",converter:oe.converters.USVString},{key:"referrerPolicy",converter:oe.converters.DOMString,allowedValues:o1},{key:"mode",converter:oe.converters.DOMString,allowedValues:c1},{key:"credentials",converter:oe.converters.DOMString,allowedValues:u1},{key:"cache",converter:oe.converters.DOMString,allowedValues:A1},{key:"redirect",converter:oe.converters.DOMString,allowedValues:a1},{key:"integrity",converter:oe.converters.DOMString},{key:"keepalive",converter:oe.converters.boolean},{key:"signal",converter:oe.nullableConverter(t=>oe.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:oe.converters.any},{key:"duplex",converter:oe.converters.DOMString,allowedValues:l1},{key:"dispatcher",converter:oe.converters.any}]);$b.exports={Request:Cs,makeRequest:pl,fromInnerRequest:Ob,cloneRequest:Pb}});var Pc=L((k3,nS)=>{"use strict";var{makeNetworkError:Ne,makeAppropriateNetworkError:hl,filterResponse:ig,makeResponse:fl,fromInnerResponse:y1}=_c(),{HeadersList:Vb}=Ii(),{Request:E1,cloneRequest:C1}=na(),Is=require("node:zlib"),{bytesMatch:I1,makePolicyContainer:B1,clonePolicyContainer:w1,requestBadPort:Q1,TAOCheck:b1,appendRequestOriginHeader:S1,responseLocationURL:k1,requestCurrentURL:lr,setRequestReferrerPolicyOnRedirect:v1,tryUpgradeRequestToAPotentiallyTrustworthyURL:R1,createOpaqueTimingInfo:Ag,appendFetchMetadata:x1,corsCheck:T1,crossOriginResourcePolicyCheck:D1,determineRequestsReferrer:N1,coarsenedSharedCurrentTime:Lc,createDeferredPromise:F1,isBlobLike:M1,sameOrigin:ug,isCancelled:wi,isAborted:Gb,isErrorLike:U1,fullyReadBody:_1,readableStreamClose:L1,isomorphicEncode:gl,urlIsLocal:P1,urlIsHttpHttpsScheme:lg,urlHasHttpsScheme:O1,clampAndCoarsenConnectionTimingInfo:$1,simpleRangeHeaderValue:V1,buildContentRange:G1,createInflate:H1,extractMimeType:Y1}=nn(),{kState:jb,kDispatcher:q1}=us(),Qi=require("node:assert"),{safelyExtractBody:dg,extractBody:Hb}=Mo(),{redirectStatusSet:Jb,nullBodyStatus:Wb,safeMethodsSet:j1,requestBodyHeader:J1,subresourceSet:W1}=ic(),z1=require("node:events"),{Readable:K1,pipeline:Z1,finished:X1}=require("node:stream"),{addAbortListener:e$,isErrored:t$,isReadable:ml,bufferToLowerCasedHeaderName:Yb}=Ie(),{dataURLProcessor:n$,serializeAMimeType:r$,minimizeSupportedMimeType:s$}=Pt(),{getGlobalDispatcher:i$}=Fc(),{webidl:o$}=ft(),{STATUS_CODES:a$}=require("node:http"),c$=["GET","HEAD"],u$=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",og,yl=class extends z1{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 A$(t){zb(t,"fetch")}function l$(t,e=void 0){o$.argumentLengthCheck(arguments,1,"globalThis.fetch");let n=F1(),r;try{r=new E1(t,e)}catch(p){return n.reject(p),n.promise}let s=r[jb];if(r.signal.aborted)return ag(n,s,null,r.signal.reason),n.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let a=null,c=!1,A=null;return e$(r.signal,()=>{c=!0,Qi(A!=null),A.abort(r.signal.reason);let p=a?.deref();ag(n,s,p,r.signal.reason)}),A=Zb({request:s,processResponseEndOfBody:A$,processResponse:p=>{if(!c){if(p.aborted){ag(n,s,a,A.serializedAbortReason);return}if(p.type==="error"){n.reject(new TypeError("fetch failed",{cause:p.error}));return}a=new WeakRef(y1(p,"immutable")),n.resolve(a.deref()),n=null}},dispatcher:r[q1]}),n.promise}function zb(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let n=t.urlList[0],r=t.timingInfo,s=t.cacheState;lg(n)&&r!==null&&(t.timingAllowPassed||(r=Ag({startTime:r.startTime}),s=""),r.endTime=Lc(),t.timingInfo=r,Kb(r,n.href,e,globalThis,s))}var Kb=performance.markResourceTiming;function ag(t,e,n,r){if(t&&t.reject(r),e.body!=null&&ml(e.body?.stream)&&e.body.stream.cancel(r).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),n==null)return;let s=n[jb];s.body!=null&&ml(s.body?.stream)&&s.body.stream.cancel(r).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}function Zb({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:n,processResponse:r,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=i$()}){Qi(c);let A=null,l=!1;t.client!=null&&(A=t.client.globalObject,l=t.client.crossOriginIsolatedCapability);let p=Lc(l),h=Ag({startTime:p}),g={controller:new yl(c),request:t,timingInfo:h,processRequestBodyChunkLength:e,processRequestEndOfBody:n,processResponse:r,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:A,crossOriginIsolatedCapability:l};return Qi(!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=w1(t.client.policyContainer):t.policyContainer=B1()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,W1.has(t.destination),Xb(g).catch(C=>{g.controller.terminate(C)}),g.controller}async function Xb(t,e=!1){let n=t.request,r=null;if(n.localURLsOnly&&!P1(lr(n))&&(r=Ne("local URLs only")),R1(n),Q1(n)==="blocked"&&(r=Ne("bad port")),n.referrerPolicy===""&&(n.referrerPolicy=n.policyContainer.referrerPolicy),n.referrer!=="no-referrer"&&(n.referrer=N1(n)),r===null&&(r=await(async()=>{let i=lr(n);return ug(i,n.url)&&n.responseTainting==="basic"||i.protocol==="data:"||n.mode==="navigate"||n.mode==="websocket"?(n.responseTainting="basic",await qb(t)):n.mode==="same-origin"?Ne('request mode cannot be "same-origin"'):n.mode==="no-cors"?n.redirect!=="follow"?Ne('redirect mode cannot be "follow" for "no-cors" request'):(n.responseTainting="opaque",await qb(t)):lg(lr(n))?(n.responseTainting="cors",await eS(t)):Ne("URL scheme must be a HTTP(S) scheme")})()),e)return r;r.status!==0&&!r.internalResponse&&(n.responseTainting,n.responseTainting==="basic"?r=ig(r,"basic"):n.responseTainting==="cors"?r=ig(r,"cors"):n.responseTainting==="opaque"?r=ig(r,"opaque"):Qi(!1));let s=r.status===0?r:r.internalResponse;if(s.urlList.length===0&&s.urlList.push(...n.urlList),n.timingAllowFailed||(r.timingAllowPassed=!0),r.type==="opaque"&&s.status===206&&s.rangeRequested&&!n.headers.contains("range",!0)&&(r=s=Ne()),r.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||Wb.includes(s.status))&&(s.body=null,t.controller.dump=!0),n.integrity){let i=c=>cg(t,Ne(c));if(n.responseTainting==="opaque"||r.body==null){i(r.error);return}let a=c=>{if(!I1(c,n.integrity)){i("integrity mismatch");return}r.body=dg(c)[0],cg(t,r)};await _1(r.body,a,i)}else cg(t,r)}function qb(t){if(wi(t)&&t.request.redirectCount===0)return Promise.resolve(hl(t));let{request:e}=t,{protocol:n}=lr(e);switch(n){case"about:":return Promise.resolve(Ne("about scheme is not supported"));case"blob:":{og||(og=require("node:buffer").resolveObjectURL);let r=lr(e);if(r.search.length!==0)return Promise.resolve(Ne("NetworkError when attempting to fetch resource."));let s=og(r.toString());if(e.method!=="GET"||!M1(s))return Promise.resolve(Ne("invalid method"));let i=fl(),a=s.size,c=gl(`${a}`),A=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let l=e.headersList.get("range",!0),p=V1(l,!0);if(p==="failure")return Promise.resolve(Ne("failed to fetch the data URL"));let{rangeStartValue:h,rangeEndValue:g}=p;if(h===null)h=a-g,g=h+g-1;else{if(h>=a)return Promise.resolve(Ne("Range start is greater than the blob's size."));(g===null||g>=a)&&(g=a-1)}let C=s.slice(h,g,A),S=Hb(C);i.body=S[0];let v=gl(`${C.size}`),T=G1(h,g,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",v,!0),i.headersList.set("content-type",A,!0),i.headersList.set("content-range",T,!0)}else{let l=Hb(s);i.statusText="OK",i.body=l[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",A,!0)}return Promise.resolve(i)}case"data:":{let r=lr(e),s=n$(r);if(s==="failure")return Promise.resolve(Ne("failed to fetch the data URL"));let i=r$(s.mimeType);return Promise.resolve(fl({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:dg(s.body)[0]}))}case"file:":return Promise.resolve(Ne("not implemented... yet..."));case"http:":case"https:":return eS(t).catch(r=>Ne(r));default:return Promise.resolve(Ne("unknown scheme"))}}function d$(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function cg(t,e){let n=t.timingInfo,r=()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=n),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;n.endTime=i;let c=e.cacheState,A=e.bodyInfo;e.timingAllowPassed||(n=Ag(n),c="");let l=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){l=e.status;let p=Y1(e.headersList);p!=="failure"&&(A.contentType=s$(p))}t.request.initiatorType!=null&&Kb(n,t.request.url.href,t.request.initiatorType,globalThis,c,A,l)};let a=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()};queueMicrotask(()=>a())};t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?r():X1(s.body.stream,()=>{r()})}async function eS(t){let e=t.request,n=null,r=null,s=t.timingInfo;if(e.serviceWorkers,n===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),r=n=await tS(t),e.responseTainting==="cors"&&T1(e,n)==="failure")return Ne("cors failure");b1(e,n)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||n.type==="opaque")&&D1(e.origin,e.client,e.destination,r)==="blocked"?Ne("blocked"):(Jb.has(r.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?n=Ne("unexpected redirect"):e.redirect==="manual"?n=r:e.redirect==="follow"?n=await p$(t,n):Qi(!1)),n.timingInfo=s,n)}function p$(t,e){let n=t.request,r=e.internalResponse?e.internalResponse:e,s;try{if(s=k1(r,lr(n).hash),s==null)return e}catch(a){return Promise.resolve(Ne(a))}if(!lg(s))return Promise.resolve(Ne("URL scheme must be a HTTP(S) scheme"));if(n.redirectCount===20)return Promise.resolve(Ne("redirect count exceeded"));if(n.redirectCount+=1,n.mode==="cors"&&(s.username||s.password)&&!ug(n,s))return Promise.resolve(Ne('cross origin not allowed for request mode "cors"'));if(n.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(Ne('URL cannot contain credentials for request mode "cors"'));if(r.status!==303&&n.body!=null&&n.body.source==null)return Promise.resolve(Ne());if([301,302].includes(r.status)&&n.method==="POST"||r.status===303&&!c$.includes(n.method)){n.method="GET",n.body=null;for(let a of J1)n.headersList.delete(a)}ug(lr(n),s)||(n.headersList.delete("authorization",!0),n.headersList.delete("proxy-authorization",!0),n.headersList.delete("cookie",!0),n.headersList.delete("host",!0)),n.body!=null&&(Qi(n.body.source!=null),n.body=dg(n.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=Lc(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),n.urlList.push(s),v1(n,r),Xb(t,!0)}async function tS(t,e=!1,n=!1){let r=t.request,s=null,i=null,a=null,c=null,A=!1;r.window==="no-window"&&r.redirect==="error"?(s=t,i=r):(i=C1(r),s={...t},s.request=i);let l=r.credentials==="include"||r.credentials==="same-origin"&&r.responseTainting==="basic",p=i.body?i.body.length:null,h=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(h="0"),p!=null&&(h=gl(`${p}`)),h!=null&&i.headersList.append("content-length",h,!0),p!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",gl(i.referrer.href),!0),S1(i),x1(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",u$),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(O1(lr(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return Ne("only if cached");let g=await h$(s,l,n);!j1.has(i.method)&&g.status>=200&&g.status<=399,A&&g.status,a==null&&(a=g)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=l,a.status===407)return r.window==="no-window"?Ne():wi(t)?hl(t):Ne("proxy authentication required");if(a.status===421&&!n&&(r.body==null||r.body.source!=null)){if(wi(t))return hl(t);t.controller.connection.destroy(),a=await tS(t,e,!0)}return a}async function h$(t,e=!1,n=!1){Qi(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(S,v=!0){this.destroyed||(this.destroyed=!0,v&&this.abort?.(S??new DOMException("The operation was aborted.","AbortError")))}};let r=t.request,s=null,i=t.timingInfo;null==null&&(r.cache="no-store");let c=n?"yes":"no";r.mode;let A=null;if(r.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(r.body!=null){let S=async function*(x){wi(t)||(yield x,t.processRequestBodyChunkLength?.(x.byteLength))},v=()=>{wi(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},T=x=>{wi(t)||(x.name==="AbortError"?t.controller.abort():t.controller.terminate(x))};A=(async function*(){try{for await(let x of r.body.stream)yield*S(x);v()}catch(x){T(x)}})()}try{let{body:S,status:v,statusText:T,headersList:x,socket:F}=await C({body:A});if(F)s=fl({status:v,statusText:T,headersList:x,socket:F});else{let Y=S[Symbol.asyncIterator]();t.controller.next=()=>Y.next(),s=fl({status:v,statusText:T,headersList:x})}}catch(S){return S.name==="AbortError"?(t.controller.connection.destroy(),hl(t,S)):Ne(S)}let l=async()=>{await t.controller.resume()},p=S=>{wi(t)||t.controller.abort(S)},h=new ReadableStream({async start(S){t.controller.controller=S},async pull(S){await l(S)},async cancel(S){await p(S)},type:"bytes"});s.body={stream:h,source:null,length:null},t.controller.resume||t.controller.on("terminated",g),t.controller.resume=async()=>{for(;;){let S,v;try{let{done:x,value:F}=await t.controller.next();if(Gb(t))break;S=x?void 0:F}catch(x){t.controller.ended&&!i.encodedBodySize?S=void 0:(S=x,v=!0)}if(S===void 0){L1(t.controller.controller),d$(t,s);return}if(i.decodedBodySize+=S?.byteLength??0,v){t.controller.terminate(S);return}let T=new Uint8Array(S);if(T.byteLength&&t.controller.controller.enqueue(T),t$(h)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function g(S){Gb(t)?(s.aborted=!0,ml(h)&&t.controller.controller.error(t.controller.serializedAbortReason)):ml(h)&&t.controller.controller.error(new TypeError("terminated",{cause:U1(S)?S:void 0})),t.controller.connection.destroy()}return s;function C({body:S}){let v=lr(r),T=t.controller.dispatcher;return new Promise((x,F)=>T.dispatch({path:v.pathname+v.search,origin:v.origin,method:r.method,body:T.isMockActive?r.body&&(r.body.source||r.body.stream):S,headers:r.headersList.entries,maxRedirections:0,upgrade:r.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(Y){let{connection:$}=t.controller;i.finalConnectionTimingInfo=$1(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),$.destroyed?Y(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",Y),this.abort=$.abort=Y),i.finalNetworkRequestStartTime=Lc(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=Lc(t.crossOriginIsolatedCapability)},onHeaders(Y,$,ae,ke){if(Y<200)return;let ve="",_e=new Vb;for(let Ge=0;Ge<$.length;Ge+=2)_e.append(Yb($[Ge]),$[Ge+1].toString("latin1"),!0);ve=_e.get("location",!0);let We=[],Lt=ve&&r.redirect==="follow"&&Jb.has(Y);if(r.method!=="HEAD"&&r.method!=="CONNECT"&&!Wb.includes(Y)&&!Lt){let Ge=_e.get("content-encoding",!0),ot=Ge?Ge.toLowerCase().split(","):[],fe=5;if(ot.length>fe)return this.abort(new Error(`too many content-encodings in response: ${ot.length}, maximum allowed is ${fe}`)),!0;for(let ut=ot.length-1;ut>=0;--ut){let D=ot[ut].trim();if(D==="x-gzip"||D==="gzip")We.push(Is.createGunzip({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(D==="deflate")We.push(H1({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(D==="br")We.push(Is.createBrotliDecompress({flush:Is.constants.BROTLI_OPERATION_FLUSH,finishFlush:Is.constants.BROTLI_OPERATION_FLUSH}));else{We.length=0;break}}}this.body=new K1({read:ae});let et=this.onError.bind(this);return x({status:Y,statusText:ke,headersList:_e,body:We.length?Z1(this.body,...We,Ge=>{Ge&&this.onError(Ge)}).on("error",et):this.body.on("error",et)}),!0},onData(Y){if(t.controller.dump)return;let $=Y;return i.encodedBodySize+=$.byteLength,this.body.push($)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.ended=!0,this.body.push(null)},onError(Y){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(Y),t.controller.terminate(Y),F(Y)},onUpgrade(Y,$,ae){if(Y!==101)return;let ke=new Vb;for(let ve=0;ve<$.length;ve+=2)ke.append(Yb($[ve]),$[ve+1].toString("latin1"),!0);return x({status:Y,statusText:a$[Y],headersList:ke,socket:ae}),!0}}))}}nS.exports={fetch:l$,Fetch:yl,fetching:Zb,finalizeAndReportTiming:zb}});var pg=L((v3,rS)=>{"use strict";rS.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 iS=L((R3,sS)=>{"use strict";var{webidl:An}=ft(),El=Symbol("ProgressEvent state"),hg=class t extends Event{constructor(e,n={}){e=An.converters.DOMString(e,"ProgressEvent constructor","type"),n=An.converters.ProgressEventInit(n??{}),super(e,n),this[El]={lengthComputable:n.lengthComputable,loaded:n.loaded,total:n.total}}get lengthComputable(){return An.brandCheck(this,t),this[El].lengthComputable}get loaded(){return An.brandCheck(this,t),this[El].loaded}get total(){return An.brandCheck(this,t),this[El].total}};An.converters.ProgressEventInit=An.dictionaryConverter([{key:"lengthComputable",converter:An.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:An.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:An.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:An.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:An.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:An.converters.boolean,defaultValue:()=>!1}]);sS.exports={ProgressEvent:hg}});var aS=L((x3,oS)=>{"use strict";function f$(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"}}oS.exports={getEncoding:f$}});var fS=L((T3,hS)=>{"use strict";var{kState:ra,kError:fg,kResult:cS,kAborted:Oc,kLastProgressEventFired:gg}=pg(),{ProgressEvent:g$}=iS(),{getEncoding:uS}=aS(),{serializeAMimeType:m$,parseMIMEType:AS}=Pt(),{types:y$}=require("node:util"),{StringDecoder:lS}=require("string_decoder"),{btoa:dS}=require("node:buffer"),E$={enumerable:!0,writable:!1,configurable:!1};function C$(t,e,n,r){if(t[ra]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[ra]="loading",t[cS]=null,t[fg]=null;let i=e.stream().getReader(),a=[],c=i.read(),A=!0;(async()=>{for(;!t[Oc];)try{let{done:l,value:p}=await c;if(A&&!t[Oc]&&queueMicrotask(()=>{Bs("loadstart",t)}),A=!1,!l&&y$.isUint8Array(p))a.push(p),(t[gg]===void 0||Date.now()-t[gg]>=50)&&!t[Oc]&&(t[gg]=Date.now(),queueMicrotask(()=>{Bs("progress",t)})),c=i.read();else if(l){queueMicrotask(()=>{t[ra]="done";try{let h=I$(a,n,e.type,r);if(t[Oc])return;t[cS]=h,Bs("load",t)}catch(h){t[fg]=h,Bs("error",t)}t[ra]!=="loading"&&Bs("loadend",t)});break}}catch(l){if(t[Oc])return;queueMicrotask(()=>{t[ra]="done",t[fg]=l,Bs("error",t),t[ra]!=="loading"&&Bs("loadend",t)});break}})()}function Bs(t,e){let n=new g$(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}function I$(t,e,n,r){switch(e){case"DataURL":{let s="data:",i=AS(n||"application/octet-stream");i!=="failure"&&(s+=m$(i)),s+=";base64,";let a=new lS("latin1");for(let c of t)s+=dS(a.write(c));return s+=dS(a.end()),s}case"Text":{let s="failure";if(r&&(s=uS(r)),s==="failure"&&n){let i=AS(n);i!=="failure"&&(s=uS(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),B$(t,s)}case"ArrayBuffer":return pS(t).buffer;case"BinaryString":{let s="",i=new lS("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}function B$(t,e){let n=pS(t),r=w$(n),s=0;r!==null&&(e=r,s=r==="UTF-8"?3:2);let i=n.slice(s);return new TextDecoder(e).decode(i)}function w$(t){let[e,n,r]=t;return e===239&&n===187&&r===191?"UTF-8":e===254&&n===255?"UTF-16BE":e===255&&n===254?"UTF-16LE":null}function pS(t){let e=t.reduce((r,s)=>r+s.byteLength,0),n=0;return t.reduce((r,s)=>(r.set(s,n),n+=s.byteLength,r),new Uint8Array(e))}hS.exports={staticPropertyDescriptors:E$,readOperation:C$,fireAProgressEvent:Bs}});var ES=L((D3,yS)=>{"use strict";var{staticPropertyDescriptors:sa,readOperation:Cl,fireAProgressEvent:gS}=fS(),{kState:bi,kError:mS,kResult:Il,kEvents:Te,kAborted:Q$}=pg(),{webidl:Ue}=ft(),{kEnumerableProperty:Vt}=Ie(),qn=class t extends EventTarget{constructor(){super(),this[bi]="empty",this[Il]=null,this[mS]=null,this[Te]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ue.brandCheck(this,t),Ue.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ue.converters.Blob(e,{strict:!1}),Cl(this,e,"ArrayBuffer")}readAsBinaryString(e){Ue.brandCheck(this,t),Ue.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ue.converters.Blob(e,{strict:!1}),Cl(this,e,"BinaryString")}readAsText(e,n=void 0){Ue.brandCheck(this,t),Ue.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ue.converters.Blob(e,{strict:!1}),n!==void 0&&(n=Ue.converters.DOMString(n,"FileReader.readAsText","encoding")),Cl(this,e,"Text",n)}readAsDataURL(e){Ue.brandCheck(this,t),Ue.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ue.converters.Blob(e,{strict:!1}),Cl(this,e,"DataURL")}abort(){if(this[bi]==="empty"||this[bi]==="done"){this[Il]=null;return}this[bi]==="loading"&&(this[bi]="done",this[Il]=null),this[Q$]=!0,gS("abort",this),this[bi]!=="loading"&&gS("loadend",this)}get readyState(){switch(Ue.brandCheck(this,t),this[bi]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ue.brandCheck(this,t),this[Il]}get error(){return Ue.brandCheck(this,t),this[mS]}get onloadend(){return Ue.brandCheck(this,t),this[Te].loadend}set onloadend(e){Ue.brandCheck(this,t),this[Te].loadend&&this.removeEventListener("loadend",this[Te].loadend),typeof e=="function"?(this[Te].loadend=e,this.addEventListener("loadend",e)):this[Te].loadend=null}get onerror(){return Ue.brandCheck(this,t),this[Te].error}set onerror(e){Ue.brandCheck(this,t),this[Te].error&&this.removeEventListener("error",this[Te].error),typeof e=="function"?(this[Te].error=e,this.addEventListener("error",e)):this[Te].error=null}get onloadstart(){return Ue.brandCheck(this,t),this[Te].loadstart}set onloadstart(e){Ue.brandCheck(this,t),this[Te].loadstart&&this.removeEventListener("loadstart",this[Te].loadstart),typeof e=="function"?(this[Te].loadstart=e,this.addEventListener("loadstart",e)):this[Te].loadstart=null}get onprogress(){return Ue.brandCheck(this,t),this[Te].progress}set onprogress(e){Ue.brandCheck(this,t),this[Te].progress&&this.removeEventListener("progress",this[Te].progress),typeof e=="function"?(this[Te].progress=e,this.addEventListener("progress",e)):this[Te].progress=null}get onload(){return Ue.brandCheck(this,t),this[Te].load}set onload(e){Ue.brandCheck(this,t),this[Te].load&&this.removeEventListener("load",this[Te].load),typeof e=="function"?(this[Te].load=e,this.addEventListener("load",e)):this[Te].load=null}get onabort(){return Ue.brandCheck(this,t),this[Te].abort}set onabort(e){Ue.brandCheck(this,t),this[Te].abort&&this.removeEventListener("abort",this[Te].abort),typeof e=="function"?(this[Te].abort=e,this.addEventListener("abort",e)):this[Te].abort=null}};qn.EMPTY=qn.prototype.EMPTY=0;qn.LOADING=qn.prototype.LOADING=1;qn.DONE=qn.prototype.DONE=2;Object.defineProperties(qn.prototype,{EMPTY:sa,LOADING:sa,DONE:sa,readAsArrayBuffer:Vt,readAsBinaryString:Vt,readAsText:Vt,readAsDataURL:Vt,abort:Vt,readyState:Vt,result:Vt,error:Vt,onloadstart:Vt,onprogress:Vt,onload:Vt,onabort:Vt,onerror:Vt,onloadend:Vt,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(qn,{EMPTY:sa,LOADING:sa,DONE:sa});yS.exports={FileReader:qn}});var Bl=L((N3,CS)=>{"use strict";CS.exports={kConstruct:He().kConstruct}});var wS=L((F3,BS)=>{"use strict";var b$=require("node:assert"),{URLSerializer:IS}=Pt(),{isValidHeaderName:S$}=nn();function k$(t,e,n=!1){let r=IS(t,n),s=IS(e,n);return r===s}function v$(t){b$(t!==null);let e=[];for(let n of t.split(","))n=n.trim(),S$(n)&&e.push(n);return e}BS.exports={urlEquals:k$,getFieldValues:v$}});var SS=L((M3,bS)=>{"use strict";var{kConstruct:R$}=Bl(),{urlEquals:x$,getFieldValues:mg}=wS(),{kEnumerableProperty:Si,isDisturbed:T$}=Ie(),{webidl:te}=ft(),{Response:D$,cloneResponse:N$,fromInnerResponse:F$}=_c(),{Request:$r,fromInnerRequest:M$}=na(),{kState:jn}=us(),{fetching:U$}=Pc(),{urlIsHttpHttpsScheme:wl,createDeferredPromise:ia,readAllBytes:_$}=nn(),yg=require("node:assert"),Ql=class t{#e;constructor(){arguments[0]!==R$&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,n={}){te.brandCheck(this,t);let r="Cache.match";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.CacheQueryOptions(n,r,"options");let s=this.#i(e,n,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,n={}){te.brandCheck(this,t);let r="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,r,"request")),n=te.converters.CacheQueryOptions(n,r,"options"),this.#i(e,n)}async add(e){te.brandCheck(this,t);let n="Cache.add";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request");let r=[e];return await this.addAll(r)}async addAll(e){te.brandCheck(this,t);let n="Cache.addAll";te.argumentLengthCheck(arguments,1,n);let r=[],s=[];for(let g of e){if(g===void 0)throw te.errors.conversionFailed({prefix:n,argument:"Argument 1",types:["undefined is not allowed"]});if(g=te.converters.RequestInfo(g),typeof g=="string")continue;let C=g[jn];if(!wl(C.url)||C.method!=="GET")throw te.errors.exception({header:n,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let g of e){let C=new $r(g)[jn];if(!wl(C.url))throw te.errors.exception({header:n,message:"Expected http/s scheme."});C.initiator="fetch",C.destination="subresource",s.push(C);let S=ia();i.push(U$({request:C,processResponse(v){if(v.type==="error"||v.status===206||v.status<200||v.status>299)S.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(v.headersList.contains("vary")){let T=mg(v.headersList.get("vary"));for(let x of T)if(x==="*"){S.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let F of i)F.abort();return}}},processResponseEndOfBody(v){if(v.aborted){S.reject(new DOMException("aborted","AbortError"));return}S.resolve(v)}})),r.push(S.promise)}let c=await Promise.all(r),A=[],l=0;for(let g of c){let C={type:"put",request:s[l],response:g};A.push(C),l++}let p=ia(),h=null;try{this.#t(A)}catch(g){h=g}return queueMicrotask(()=>{h===null?p.resolve(void 0):p.reject(h)}),p.promise}async put(e,n){te.brandCheck(this,t);let r="Cache.put";te.argumentLengthCheck(arguments,2,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.Response(n,r,"response");let s=null;if(e instanceof $r?s=e[jn]:s=new $r(e)[jn],!wl(s.url)||s.method!=="GET")throw te.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let i=n[jn];if(i.status===206)throw te.errors.exception({header:r,message:"Got 206 status"});if(i.headersList.contains("vary")){let C=mg(i.headersList.get("vary"));for(let S of C)if(S==="*")throw te.errors.exception({header:r,message:"Got * vary field value"})}if(i.body&&(T$(i.body.stream)||i.body.stream.locked))throw te.errors.exception({header:r,message:"Response body is locked or disturbed"});let a=N$(i),c=ia();if(i.body!=null){let S=i.body.stream.getReader();_$(S).then(c.resolve,c.reject)}else c.resolve(void 0);let A=[],l={type:"put",request:s,response:a};A.push(l);let p=await c.promise;a.body!=null&&(a.body.source=p);let h=ia(),g=null;try{this.#t(A)}catch(C){g=C}return queueMicrotask(()=>{g===null?h.resolve():h.reject(g)}),h.promise}async delete(e,n={}){te.brandCheck(this,t);let r="Cache.delete";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.CacheQueryOptions(n,r,"options");let s=null;if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return!1}else yg(typeof e=="string"),s=new $r(e)[jn];let i=[],a={type:"delete",request:s,options:n};i.push(a);let c=ia(),A=null,l;try{l=this.#t(i)}catch(p){A=p}return queueMicrotask(()=>{A===null?c.resolve(!!l?.length):c.reject(A)}),c.promise}async keys(e=void 0,n={}){te.brandCheck(this,t);let r="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,r,"request")),n=te.converters.CacheQueryOptions(n,r,"options");let s=null;if(e!==void 0)if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return[]}else typeof e=="string"&&(s=new $r(e)[jn]);let i=ia(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#n(s,n);for(let A of c)a.push(A[0])}return queueMicrotask(()=>{let c=[];for(let A of a){let l=M$(A,new AbortController().signal,"immutable");c.push(l)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let n=this.#e,r=[...n],s=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,s).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 A of c){let l=n.indexOf(A);yg(l!==-1),n.splice(l,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let A=a.request;if(!wl(A.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(A.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let l of c){let p=n.indexOf(l);yg(p!==-1),n.splice(p,1)}n.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=r,a}}#n(e,n,r){let s=[],i=r??this.#e;for(let a of i){let[c,A]=a;this.#s(e,c,A,n)&&s.push(a)}return s}#s(e,n,r=null,s){let i=new URL(e.url),a=new URL(n.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!x$(i,a,!0))return!1;if(r==null||s?.ignoreVary||!r.headersList.contains("vary"))return!0;let c=mg(r.headersList.get("vary"));for(let A of c){if(A==="*")return!1;let l=n.headersList.get(A),p=e.headersList.get(A);if(l!==p)return!1}return!0}#i(e,n,r=1/0){let s=null;if(e!==void 0)if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return[]}else typeof e=="string"&&(s=new $r(e)[jn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#n(s,n);for(let A of c)i.push(A[1])}let a=[];for(let c of i){let A=F$(c,"immutable");if(a.push(A.clone()),a.length>=r)break}return Object.freeze(a)}};Object.defineProperties(Ql.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Si,matchAll:Si,add:Si,addAll:Si,put:Si,delete:Si,keys:Si});var QS=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter(QS);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...QS,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(D$);te.converters["sequence<RequestInfo>"]=te.sequenceConverter(te.converters.RequestInfo);bS.exports={Cache:Ql}});var vS=L((U3,kS)=>{"use strict";var{kConstruct:$c}=Bl(),{Cache:bl}=SS(),{webidl:Ct}=ft(),{kEnumerableProperty:Vc}=Ie(),Sl=class t{#e=new Map;constructor(){arguments[0]!==$c&&Ct.illegalConstructor(),Ct.util.markAsUncloneable(this)}async match(e,n={}){if(Ct.brandCheck(this,t),Ct.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ct.converters.RequestInfo(e),n=Ct.converters.MultiCacheQueryOptions(n),n.cacheName!=null){if(this.#e.has(n.cacheName)){let r=this.#e.get(n.cacheName);return await new bl($c,r).match(e,n)}}else for(let r of this.#e.values()){let i=await new bl($c,r).match(e,n);if(i!==void 0)return i}}async has(e){Ct.brandCheck(this,t);let n="CacheStorage.has";return Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.has(e)}async open(e){Ct.brandCheck(this,t);let n="CacheStorage.open";if(Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new bl($c,s)}let r=[];return this.#e.set(e,r),new bl($c,r)}async delete(e){Ct.brandCheck(this,t);let n="CacheStorage.delete";return Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.delete(e)}async keys(){return Ct.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Sl.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Vc,has:Vc,open:Vc,delete:Vc,keys:Vc});kS.exports={CacheStorage:Sl}});var xS=L((_3,RS)=>{"use strict";RS.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var Ig=L((L3,FS)=>{"use strict";function L$(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n>=0&&n<=8||n>=10&&n<=31||n===127)return!0}return!1}function Eg(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<33||n>126||n===34||n===40||n===41||n===60||n===62||n===64||n===44||n===59||n===58||n===92||n===47||n===91||n===93||n===63||n===61||n===123||n===125)throw new Error("Invalid cookie name")}}function Cg(t){let e=t.length,n=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++n}for(;n<e;){let r=t.charCodeAt(n++);if(r<33||r>126||r===34||r===44||r===59||r===92)throw new Error("Invalid cookie value")}}function DS(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<32||n>126||n===59)throw new Error("Invalid cookie path")}}function TS(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function P$(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let n=0;n<t.length;++n){let r=t.charCodeAt(n);if(r===46){if(e===0)throw new Error("Invalid cookie domain");if(t.charCodeAt(n-1)===45)throw new Error("Invalid cookie domain");e=0;continue}if(e===0&&!TS(r))throw new Error("Invalid cookie domain");if(!TS(r)&&r!==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")}var O$=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$$=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],kl=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function NS(t){return typeof t=="number"&&(t=new Date(t)),`${O$[t.getUTCDay()]}, ${kl[t.getUTCDate()]} ${$$[t.getUTCMonth()]} ${t.getUTCFullYear()} ${kl[t.getUTCHours()]}:${kl[t.getUTCMinutes()]}:${kl[t.getUTCSeconds()]} GMT`}function V$(t){if(t<0)throw new Error("Invalid cookie max-age")}function G$(t){if(t.name.length===0)return null;Eg(t.name),Cg(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"&&(V$(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(P$(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(DS(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${NS(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let n of t.unparsed){if(!n.includes("="))throw new Error("Invalid unparsed");let[r,...s]=n.split("="),i=r.trim(),a=s.join("=");Eg(i),Cg(a),e.push(`${i}=${a}`)}return e.join("; ")}FS.exports={isCTLExcludingHtab:L$,validateCookieName:Eg,validateCookiePath:DS,validateCookieValue:Cg,toIMFDate:NS,stringify:G$}});var US=L((P3,MS)=>{"use strict";var{maxNameValuePairSize:H$,maxAttributeValueSize:Y$}=xS(),{isCTLExcludingHtab:q$}=Ig(),{collectASequenceOfCodePointsFast:vl}=Pt(),j$=require("node:assert");function J$(t){if(q$(t))return null;let e="",n="",r="",s="";if(t.includes(";")){let i={position:0};e=vl(";",t,i),n=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};r=vl("=",e,i),s=e.slice(i.position+1)}return r=r.trim(),s=s.trim(),r.length+s.length>H$?null:{name:r,value:s,...oa(n)}}function oa(t,e={}){if(t.length===0)return e;j$(t[0]===";"),t=t.slice(1);let n="";t.includes(";")?(n=vl(";",t,{position:0}),t=t.slice(n.length)):(n=t,t="");let r="",s="";if(n.includes("=")){let a={position:0};r=vl("=",n,a),s=n.slice(a.position+1)}else r=n;if(r=r.trim(),s=s.trim(),s.length>Y$)return oa(t,e);let i=r.toLowerCase();if(i==="expires"){let a=new Date(s);e.expires=a}else if(i==="max-age"){let a=s.charCodeAt(0);if((a<48||a>57)&&s[0]!=="-"||!/^\d+$/.test(s))return oa(t,e);let c=Number(s);e.maxAge=c}else if(i==="domain"){let a=s;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";s.length===0||s[0]!=="/"?a="/":a=s,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=s.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${r}=${s}`);return oa(t,e)}MS.exports={parseSetCookie:J$,parseUnparsedAttributes:oa}});var PS=L((O3,LS)=>{"use strict";var{parseSetCookie:W$}=US(),{stringify:z$}=Ig(),{webidl:be}=ft(),{Headers:Rl}=Ii();function K$(t){be.argumentLengthCheck(arguments,1,"getCookies"),be.brandCheck(t,Rl,{strict:!1});let e=t.get("cookie"),n={};if(!e)return n;for(let r of e.split(";")){let[s,...i]=r.split("=");n[s.trim()]=i.join("=")}return n}function Z$(t,e,n){be.brandCheck(t,Rl,{strict:!1});let r="deleteCookie";be.argumentLengthCheck(arguments,2,r),e=be.converters.DOMString(e,r,"name"),n=be.converters.DeleteCookieAttributes(n),_S(t,{name:e,value:"",expires:new Date(0),...n})}function X$(t){be.argumentLengthCheck(arguments,1,"getSetCookies"),be.brandCheck(t,Rl,{strict:!1});let e=t.getSetCookie();return e?e.map(n=>W$(n)):[]}function _S(t,e){be.argumentLengthCheck(arguments,2,"setCookie"),be.brandCheck(t,Rl,{strict:!1}),e=be.converters.Cookie(e);let n=z$(e);n&&t.append("Set-Cookie",n)}be.converters.DeleteCookieAttributes=be.dictionaryConverter([{converter:be.nullableConverter(be.converters.DOMString),key:"path",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"domain",defaultValue:()=>null}]);be.converters.Cookie=be.dictionaryConverter([{converter:be.converters.DOMString,key:"name"},{converter:be.converters.DOMString,key:"value"},{converter:be.nullableConverter(t=>typeof t=="number"?be.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:be.nullableConverter(be.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"path",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.boolean),key:"secure",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:be.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:be.sequenceConverter(be.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);LS.exports={getCookies:K$,deleteCookie:Z$,getSetCookies:X$,setCookie:_S}});var ca=L(($3,$S)=>{"use strict";var{webidl:X}=ft(),{kEnumerableProperty:Gt}=Ie(),{kConstruct:OS}=He(),{MessagePort:eV}=require("node:worker_threads"),aa=class t extends Event{#e;constructor(e,n={}){if(e===OS){super(arguments[1],arguments[2]),X.util.markAsUncloneable(this);return}let r="MessageEvent constructor";X.argumentLengthCheck(arguments,1,r),e=X.converters.DOMString(e,r,"type"),n=X.converters.MessageEventInit(n,r,"eventInitDict"),super(e,n),this.#e=n,X.util.markAsUncloneable(this)}get data(){return X.brandCheck(this,t),this.#e.data}get origin(){return X.brandCheck(this,t),this.#e.origin}get lastEventId(){return X.brandCheck(this,t),this.#e.lastEventId}get source(){return X.brandCheck(this,t),this.#e.source}get ports(){return X.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,n=!1,r=!1,s=null,i="",a="",c=null,A=[]){return X.brandCheck(this,t),X.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:n,cancelable:r,data:s,origin:i,lastEventId:a,source:c,ports:A})}static createFastMessageEvent(e,n){let r=new t(OS,e,n);return r.#e=n,r.#e.data??=null,r.#e.origin??="",r.#e.lastEventId??="",r.#e.source??=null,r.#e.ports??=[],r}},{createFastMessageEvent:tV}=aa;delete aa.createFastMessageEvent;var xl=class t extends Event{#e;constructor(e,n={}){let r="CloseEvent constructor";X.argumentLengthCheck(arguments,1,r),e=X.converters.DOMString(e,r,"type"),n=X.converters.CloseEventInit(n),super(e,n),this.#e=n,X.util.markAsUncloneable(this)}get wasClean(){return X.brandCheck(this,t),this.#e.wasClean}get code(){return X.brandCheck(this,t),this.#e.code}get reason(){return X.brandCheck(this,t),this.#e.reason}},Tl=class t extends Event{#e;constructor(e,n){let r="ErrorEvent constructor";X.argumentLengthCheck(arguments,1,r),super(e,n),X.util.markAsUncloneable(this),e=X.converters.DOMString(e,r,"type"),n=X.converters.ErrorEventInit(n??{}),this.#e=n}get message(){return X.brandCheck(this,t),this.#e.message}get filename(){return X.brandCheck(this,t),this.#e.filename}get lineno(){return X.brandCheck(this,t),this.#e.lineno}get colno(){return X.brandCheck(this,t),this.#e.colno}get error(){return X.brandCheck(this,t),this.#e.error}};Object.defineProperties(aa.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Gt,origin:Gt,lastEventId:Gt,source:Gt,ports:Gt,initMessageEvent:Gt});Object.defineProperties(xl.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Gt,code:Gt,wasClean:Gt});Object.defineProperties(Tl.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Gt,filename:Gt,lineno:Gt,colno:Gt,error:Gt});X.converters.MessagePort=X.interfaceConverter(eV);X.converters["sequence<MessagePort>"]=X.sequenceConverter(X.converters.MessagePort);var Bg=[{key:"bubbles",converter:X.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:X.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:X.converters.boolean,defaultValue:()=>!1}];X.converters.MessageEventInit=X.dictionaryConverter([...Bg,{key:"data",converter:X.converters.any,defaultValue:()=>null},{key:"origin",converter:X.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:X.converters.DOMString,defaultValue:()=>""},{key:"source",converter:X.nullableConverter(X.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:X.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);X.converters.CloseEventInit=X.dictionaryConverter([...Bg,{key:"wasClean",converter:X.converters.boolean,defaultValue:()=>!1},{key:"code",converter:X.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:X.converters.USVString,defaultValue:()=>""}]);X.converters.ErrorEventInit=X.dictionaryConverter([...Bg,{key:"message",converter:X.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:X.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:X.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:X.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:X.converters.any}]);$S.exports={MessageEvent:aa,CloseEvent:xl,ErrorEvent:Tl,createFastMessageEvent:tV}});var ki=L((V3,VS)=>{"use strict";var nV="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",rV={enumerable:!0,writable:!1,configurable:!1},sV={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},iV={NOT_SENT:0,PROCESSING:1,SENT:2},oV={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},aV=2**16-1,cV={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},uV=Buffer.allocUnsafe(0),AV={string:1,typedArray:2,arrayBuffer:3,blob:4};VS.exports={uid:nV,sentCloseFrameState:iV,staticPropertyDescriptors:rV,states:sV,opcodes:oV,maxUnsigned16Bit:aV,parserStates:cV,emptyBuffer:uV,sendHints:AV}});var Gc=L((G3,GS)=>{"use strict";GS.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 qc=L((H3,ZS)=>{"use strict";var{kReadyState:Hc,kController:lV,kResponse:dV,kBinaryType:pV,kWebSocketURL:hV}=Gc(),{states:Yc,opcodes:ws}=ki(),{ErrorEvent:fV,createFastMessageEvent:gV}=ca(),{isUtf8:mV}=require("node:buffer"),{collectASequenceOfCodePointsFast:yV,removeHTTPWhitespace:HS}=Pt();function EV(t){return t[Hc]===Yc.CONNECTING}function CV(t){return t[Hc]===Yc.OPEN}function IV(t){return t[Hc]===Yc.CLOSING}function BV(t){return t[Hc]===Yc.CLOSED}function wg(t,e,n=(s,i)=>new Event(s,i),r={}){let s=n(t,r);e.dispatchEvent(s)}function wV(t,e,n){if(t[Hc]!==Yc.OPEN)return;let r;if(e===ws.TEXT)try{r=KS(n)}catch{qS(t,"Received invalid UTF-8 in text frame.");return}else e===ws.BINARY&&(t[pV]==="blob"?r=new Blob([n]):r=QV(n));wg("message",t,gV,{origin:t[hV].origin,data:r})}function QV(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function bV(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<33||n>126||n===34||n===40||n===41||n===44||n===47||n===58||n===59||n===60||n===61||n===62||n===63||n===64||n===91||n===92||n===93||n===123||n===125)return!1}return!0}function SV(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function qS(t,e){let{[lV]:n,[dV]:r}=t;n.abort(),r?.socket&&!r.socket.destroyed&&r.socket.destroy(),e&&wg("error",t,(s,i)=>new fV(s,i),{error:new Error(e),message:e})}function jS(t){return t===ws.CLOSE||t===ws.PING||t===ws.PONG}function JS(t){return t===ws.CONTINUATION}function WS(t){return t===ws.TEXT||t===ws.BINARY}function kV(t){return WS(t)||JS(t)||jS(t)}function vV(t){let e={position:0},n=new Map;for(;e.position<t.length;){let r=yV(";",t,e),[s,i=""]=r.split("=");n.set(HS(s,!0,!1),HS(i,!1,!0)),e.position++}return n}function RV(t){if(t.length===0)return!1;for(let n=0;n<t.length;n++){let r=t.charCodeAt(n);if(r<48||r>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}var zS=typeof process.versions.icu=="string",YS=zS?new TextDecoder("utf-8",{fatal:!0}):void 0,KS=zS?YS.decode.bind(YS):function(t){if(mV(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};ZS.exports={isConnecting:EV,isEstablished:CV,isClosing:IV,isClosed:BV,fireEvent:wg,isValidSubprotocol:bV,isValidStatusCode:SV,failWebsocketConnection:qS,websocketMessageReceived:wV,utf8Decode:KS,isControlFrame:jS,isContinuationFrame:JS,isTextBinaryFrame:WS,isValidOpcode:kV,parseExtensions:vV,isValidClientWindowBits:RV}});var Nl=L((Y3,XS)=>{"use strict";var{maxUnsigned16Bit:xV}=ki(),Dl=16386,Qg,jc=null,ua=Dl;try{Qg=require("node:crypto")}catch{Qg={randomFillSync:function(e,n,r){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e}}}function TV(){return ua===Dl&&(ua=0,Qg.randomFillSync(jc??=Buffer.allocUnsafe(Dl),0,Dl)),[jc[ua++],jc[ua++],jc[ua++],jc[ua++]]}var bg=class{constructor(e){this.frameData=e}createFrame(e){let n=this.frameData,r=TV(),s=n?.byteLength??0,i=s,a=6;s>xV?(a+=8,i=127):s>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(s+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=r[0],c[a-3]=r[1],c[a-2]=r[2],c[a-1]=r[3],c[1]=i,i===126?c.writeUInt16BE(s,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(s,4,6)),c[1]|=128;for(let A=0;A<s;++A)c[a+A]=n[A]^r[A&3];return c}};XS.exports={WebsocketFrameSend:bg}});var kg=L((q3,ok)=>{"use strict";var{uid:DV,states:Jc,sentCloseFrameState:Fl,emptyBuffer:NV,opcodes:FV}=ki(),{kReadyState:Wc,kSentClose:Ml,kByteParser:tk,kReceivedClose:ek,kResponse:nk}=Gc(),{fireEvent:MV,failWebsocketConnection:Qs,isClosing:UV,isClosed:_V,isEstablished:LV,parseExtensions:PV}=qc(),{channels:Aa}=Bo(),{CloseEvent:OV}=ca(),{makeRequest:$V}=na(),{fetching:VV}=Pc(),{Headers:GV,getHeadersList:HV}=Ii(),{getDecodeSplit:YV}=nn(),{WebsocketFrameSend:qV}=Nl(),Sg;try{Sg=require("node:crypto")}catch{}function jV(t,e,n,r,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=$V({urlList:[a],client:n,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let h=HV(new GV(i.headers));c.headersList=h}let A=Sg.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",A),c.headersList.append("sec-websocket-version","13");for(let h of e)c.headersList.append("sec-websocket-protocol",h);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),VV({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(h){if(h.type==="error"||h.status!==101){Qs(r,"Received network error or non-101 status code.");return}if(e.length!==0&&!h.headersList.get("Sec-WebSocket-Protocol")){Qs(r,"Server did not respond with sent protocols.");return}if(h.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Qs(r,'Server did not set Upgrade header to "websocket".');return}if(h.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Qs(r,'Server did not set Connection header to "upgrade".');return}let g=h.headersList.get("Sec-WebSocket-Accept"),C=Sg.createHash("sha1").update(A+DV).digest("base64");if(g!==C){Qs(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let S=h.headersList.get("Sec-WebSocket-Extensions"),v;if(S!==null&&(v=PV(S),!v.has("permessage-deflate"))){Qs(r,"Sec-WebSocket-Extensions header does not match.");return}let T=h.headersList.get("Sec-WebSocket-Protocol");if(T!==null){let x=YV("sec-websocket-protocol",c.headersList);if(x===null||!x.includes(T)){Qs(r,"Protocol was not set in the opening handshake.");return}}h.socket.on("data",rk),h.socket.on("close",sk),h.socket.on("error",ik),Aa.open.hasSubscribers&&Aa.open.publish({address:h.socket.address(),protocol:T,extensions:S}),s(h,v)}})}function JV(t,e,n,r){if(!(UV(t)||_V(t)))if(!LV(t))Qs(t,"Connection was closed before it was established."),t[Wc]=Jc.CLOSING;else if(t[Ml]===Fl.NOT_SENT){t[Ml]=Fl.PROCESSING;let s=new qV;e!==void 0&&n===void 0?(s.frameData=Buffer.allocUnsafe(2),s.frameData.writeUInt16BE(e,0)):e!==void 0&&n!==void 0?(s.frameData=Buffer.allocUnsafe(2+r),s.frameData.writeUInt16BE(e,0),s.frameData.write(n,2,"utf-8")):s.frameData=NV,t[nk].socket.write(s.createFrame(FV.CLOSE)),t[Ml]=Fl.SENT,t[Wc]=Jc.CLOSING}else t[Wc]=Jc.CLOSING}function rk(t){this.ws[tk].write(t)||this.pause()}function sk(){let{ws:t}=this,{[nk]:e}=t;e.socket.off("data",rk),e.socket.off("close",sk),e.socket.off("error",ik);let n=t[Ml]===Fl.SENT&&t[ek],r=1005,s="",i=t[tk].closingInfo;i&&!i.error?(r=i.code??1005,s=i.reason):t[ek]||(r=1006),t[Wc]=Jc.CLOSED,MV("close",t,(a,c)=>new OV(a,c),{wasClean:n,code:r,reason:s}),Aa.close.hasSubscribers&&Aa.close.publish({websocket:t,code:r,reason:s})}function ik(t){let{ws:e}=this;e[Wc]=Jc.CLOSING,Aa.socketError.hasSubscribers&&Aa.socketError.publish(t),this.destroy()}ok.exports={establishWebSocketConnection:jV,closeWebSocketConnection:JV}});var ck=L((j3,ak)=>{"use strict";var{createInflateRaw:WV,Z_DEFAULT_WINDOWBITS:zV}=require("node:zlib"),{isValidClientWindowBits:KV}=qc(),{MessageSizeExceededError:ZV}=xe(),XV=Buffer.from([0,0,255,255]),Ul=Symbol("kBuffer"),zc=Symbol("kLength"),vg=class{#e;#t={};#n=0;constructor(e,n){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#n=n.maxPayloadSize}decompress(e,n,r){if(!this.#e){let s=zV;if(this.#t.serverMaxWindowBits){if(!KV(this.#t.serverMaxWindowBits)){r(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=WV({windowBits:s})}catch(i){r(i);return}this.#e[Ul]=[],this.#e[zc]=0,this.#e.on("data",i=>{if(this.#e[zc]+=i.length,this.#n>0&&this.#e[zc]>this.#n){r(new ZV),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[Ul].push(i)}),this.#e.on("error",i=>{this.#e=null,r(i)})}this.#e.write(e),n&&this.#e.write(XV),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[Ul],this.#e[zc]);this.#e[Ul].length=0,this.#e[zc]=0,r(null,s)})}};ak.exports={PerMessageDeflate:vg}});var mk=L((J3,gk)=>{"use strict";var{Writable:eG}=require("node:stream"),tG=require("node:assert"),{parserStates:Ht,opcodes:la,states:nG,emptyBuffer:uk,sentCloseFrameState:Ak}=ki(),{kReadyState:rG,kSentClose:lk,kResponse:Rg,kReceivedClose:dk}=Gc(),{channels:_l}=Bo(),{isValidStatusCode:sG,isValidOpcode:iG,failWebsocketConnection:ln,websocketMessageReceived:pk,utf8Decode:oG,isControlFrame:xg,isTextBinaryFrame:Tg,isContinuationFrame:aG}=qc(),{WebsocketFrameSend:hk}=Nl(),{closeWebSocketConnection:fk}=kg(),{PerMessageDeflate:cG}=ck(),{MessageSizeExceededError:Dg}=xe();function Kc(t,e,n){fk(t,e,n,Buffer.byteLength(n)),ln(t,n)}var Ng=class extends eG{#e=[];#t=0;#n=0;#s=!1;#i=Ht.INFO;#r={};#o=[];#a;#u;#c;constructor(e,n,r={}){super(),this.ws=e,this.#a=n??new Map,this.#u=r.maxFragments??0,this.#c=r.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new cG(n,r))}_write(e,n,r){this.#e.push(e),this.#n+=e.length,this.#s=!0,this.run(r)}#A(){return this.#c>0&&!xg(this.#r.opcode)&&this.#r.payloadLength+this.#t>this.#c?(Kc(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#s;)if(this.#i===Ht.INFO){if(this.#n<2)return e();let n=this.consume(2),r=(n[0]&128)!==0,s=n[0]&15,i=(n[1]&128)===128,a=!r&&s!==la.CONTINUATION,c=n[1]&127,A=n[0]&64,l=n[0]&32,p=n[0]&16;if(!iG(s))return ln(this.ws,"Invalid opcode received"),e();if(i)return ln(this.ws,"Frame cannot be masked"),e();if(A!==0&&!this.#a.has("permessage-deflate")){ln(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||p!==0){ln(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!Tg(s)){ln(this.ws,"Invalid frame type was fragmented.");return}if(Tg(s)&&this.#o.length>0){ln(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){ln(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&xg(s)){ln(this.ws,"Control frame either too large or fragmented");return}if(aG(s)&&this.#o.length===0&&!this.#r.compressed){ln(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#r.payloadLength=c,this.#i=Ht.READ_DATA,!this.#A())return}else c===126?this.#i=Ht.PAYLOADLENGTH_16:c===127&&(this.#i=Ht.PAYLOADLENGTH_64);Tg(s)&&(this.#r.binaryType=s,this.#r.compressed=A!==0),this.#r.opcode=s,this.#r.masked=i,this.#r.fin=r,this.#r.fragmented=a}else if(this.#i===Ht.PAYLOADLENGTH_16){if(this.#n<2)return e();let n=this.consume(2);if(this.#r.payloadLength=n.readUInt16BE(0),this.#i=Ht.READ_DATA,!this.#A())return}else if(this.#i===Ht.PAYLOADLENGTH_64){if(this.#n<8)return e();let n=this.consume(8),r=n.readUInt32BE(0),s=n.readUInt32BE(4);if(r!==0||s>2**31-1){ln(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#r.payloadLength=s,this.#i=Ht.READ_DATA,!this.#A())return}else if(this.#i===Ht.READ_DATA){if(this.#n<this.#r.payloadLength)return e();let n=this.consume(this.#r.payloadLength);if(xg(this.#r.opcode)){this.#s=this.parseControlFrame(n),this.#i=Ht.INFO;let r=this.ws[Rg].socket;if(this.#s&&r.writableNeedDrain){this.#s=!1,r.once("drain",()=>{this.destroyed||(this.#s=!0,this.run(e))});return}}else if(this.#r.compressed){this.#a.get("permessage-deflate").decompress(n,this.#r.fin,(r,s)=>{if(r){let i=r instanceof Dg?1009:1007;Kc(this.ws,i,r.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Kc(this.ws,1009,new Dg().message);return}if(!this.#r.fin){this.#i=Ht.INFO,this.#s=!0,this.run(e);return}pk(this.ws,this.#r.binaryType,this.consumeFragments()),this.#s=!0,this.#i=Ht.INFO,this.run(e)}}),this.#s=!1;break}else{if(!this.writeFragments(n))return;if(this.#c>0&&this.#t>this.#c){Kc(this.ws,1009,new Dg().message);return}!this.#r.fragmented&&this.#r.fin&&pk(this.ws,this.#r.binaryType,this.consumeFragments()),this.#i=Ht.INFO}}}consume(e){if(e>this.#n)throw new Error("Called consume() before buffers satiated.");if(e===0)return uk;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let n=Buffer.allocUnsafe(e),r=0;for(;r!==e;){let s=this.#e[0],{length:i}=s;if(i+r===e){n.set(this.#e.shift(),r);break}else if(i+r>e){n.set(s.subarray(0,e-r),r),this.#e[0]=s.subarray(e-r);break}else n.set(this.#e.shift(),r),r+=s.length}return this.#n-=e,n}writeFragments(e){return this.#u>0&&this.#o.length===this.#u?(Kc(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let n=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,n}parseCloseBody(e){tG(e.length!==1);let n;if(e.length>=2&&(n=e.readUInt16BE(0)),n!==void 0&&!sG(n))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);r[0]===239&&r[1]===187&&r[2]===191&&(r=r.subarray(3));try{r=oG(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:n,reason:r,error:!1}}parseControlFrame(e){let{opcode:n,payloadLength:r}=this.#r;if(n===la.CLOSE){if(r===1)return ln(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:s,reason:i}=this.#r.closeInfo;return fk(this.ws,s,i,i.length),ln(this.ws,i),!1}if(this.ws[lk]!==Ak.SENT){let s=uk;this.#r.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#r.closeInfo.code,0));let i=new hk(s);this.ws[Rg].socket.write(i.createFrame(la.CLOSE),a=>{a||(this.ws[lk]=Ak.SENT)})}return this.ws[rG]=nG.CLOSING,this.ws[dk]=!0,!1}else if(n===la.PING){if(!this.ws[dk]){let s=new hk(e);this.ws[Rg].socket.write(s.createFrame(la.PONG)),_l.ping.hasSubscribers&&_l.ping.publish({payload:e})}}else n===la.PONG&&_l.pong.hasSubscribers&&_l.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};gk.exports={ByteParser:Ng}});var Bk=L((W3,Ik)=>{"use strict";var{WebsocketFrameSend:uG}=Nl(),{opcodes:yk,sendHints:da}=ki(),AG=_h(),Ek=Buffer[Symbol.species],Fg=class{#e=new AG;#t=!1;#n;constructor(e){this.#n=e}add(e,n,r){if(r!==da.blob){let i=Ck(e,r);if(!this.#t)this.#n.write(i,n);else{let a={promise:null,callback:n,frame:i};this.#e.push(a)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=Ck(i,r)}),callback:n,frame:null};this.#e.push(s),this.#t||this.#s()}async#s(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let n=e.shift();n.promise!==null&&await n.promise,this.#n.write(n.frame,n.callback),n.callback=n.frame=null}this.#t=!1}};function Ck(t,e){return new uG(lG(t,e)).createFrame(e===da.string?yk.TEXT:yk.BINARY)}function lG(t,e){switch(e){case da.string:return Buffer.from(t);case da.arrayBuffer:case da.blob:return new Ek(t);case da.typedArray:return new Ek(t.buffer,t.byteOffset,t.byteLength)}}Ik.exports={SendQueue:Fg}});var Dk=L((z3,Tk)=>{"use strict";var{webidl:de}=ft(),{URLSerializer:dG}=Pt(),{environmentSettingsObject:wk}=nn(),{staticPropertyDescriptors:bs,states:Zc,sentCloseFrameState:pG,sendHints:Ll}=ki(),{kWebSocketURL:Qk,kReadyState:Mg,kController:bk,kBinaryType:Pl,kResponse:Sk,kSentClose:hG,kByteParser:fG}=Gc(),{isConnecting:gG,isEstablished:mG,isClosing:yG,isValidSubprotocol:EG,fireEvent:kk}=qc(),{establishWebSocketConnection:CG,closeWebSocketConnection:vk}=kg(),{ByteParser:IG}=mk(),{kEnumerableProperty:Cn,isBlobLike:Rk}=Ie(),{getGlobalDispatcher:BG}=Fc(),{types:xk}=require("node:util"),{ErrorEvent:wG,CloseEvent:QG}=ca(),{SendQueue:bG}=Bk(),dn=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#n="";#s="";#i;constructor(e,n=[]){super(),de.util.markAsUncloneable(this);let r="WebSocket constructor";de.argumentLengthCheck(arguments,1,r);let s=de.converters["DOMString or sequence<DOMString> or WebSocketInit"](n,r,"options");e=de.converters.USVString(e,r,"url"),n=s.protocols;let i=wk.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(A){throw new DOMException(A,"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 n=="string"&&(n=[n]),n.length!==new Set(n.map(A=>A.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(n.length>0&&!n.every(A=>EG(A)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Qk]=new URL(a.href);let c=wk.settingsObject;this[bk]=CG(a,n,c,this,(A,l)=>this.#r(A,l),s),this[Mg]=t.CONNECTING,this[hG]=pG.NOT_SENT,this[Pl]="blob"}close(e=void 0,n=void 0){de.brandCheck(this,t);let r="WebSocket.close";if(e!==void 0&&(e=de.converters["unsigned short"](e,r,"code",{clamp:!0})),n!==void 0&&(n=de.converters.USVString(n,r,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let s=0;if(n!==void 0&&(s=Buffer.byteLength(n),s>123))throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError");vk(this,e,n,s)}send(e){de.brandCheck(this,t);let n="WebSocket.send";if(de.argumentLengthCheck(arguments,1,n),e=de.converters.WebSocketSendData(e,n,"data"),gG(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!mG(this)||yG(this)))if(typeof e=="string"){let r=Buffer.byteLength(e);this.#t+=r,this.#i.add(e,()=>{this.#t-=r},Ll.string)}else xk.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Ll.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Ll.typedArray)):Rk(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},Ll.blob))}get readyState(){return de.brandCheck(this,t),this[Mg]}get bufferedAmount(){return de.brandCheck(this,t),this.#t}get url(){return de.brandCheck(this,t),dG(this[Qk])}get extensions(){return de.brandCheck(this,t),this.#s}get protocol(){return de.brandCheck(this,t),this.#n}get onopen(){return de.brandCheck(this,t),this.#e.open}set onopen(e){de.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 de.brandCheck(this,t),this.#e.error}set onerror(e){de.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 de.brandCheck(this,t),this.#e.close}set onclose(e){de.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 de.brandCheck(this,t),this.#e.message}set onmessage(e){de.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 de.brandCheck(this,t),this[Pl]}set binaryType(e){de.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Pl]="blob":this[Pl]=e}#r(e,n){this[Sk]=e;let r=this[bk]?.dispatcher?.webSocketOptions,s=r?.maxFragments,i=r?.maxPayloadSize,a=new IG(this,n,{maxFragments:s,maxPayloadSize:i});a.on("drain",SG),a.on("error",kG.bind(this)),e.socket.ws=this,this[fG]=a,this.#i=new bG(e.socket),this[Mg]=Zc.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#s=c);let A=e.headersList.get("sec-websocket-protocol");A!==null&&(this.#n=A),kk("open",this)}};dn.CONNECTING=dn.prototype.CONNECTING=Zc.CONNECTING;dn.OPEN=dn.prototype.OPEN=Zc.OPEN;dn.CLOSING=dn.prototype.CLOSING=Zc.CLOSING;dn.CLOSED=dn.prototype.CLOSED=Zc.CLOSED;Object.defineProperties(dn.prototype,{CONNECTING:bs,OPEN:bs,CLOSING:bs,CLOSED:bs,url:Cn,readyState:Cn,bufferedAmount:Cn,onopen:Cn,onerror:Cn,onclose:Cn,close:Cn,onmessage:Cn,binaryType:Cn,send:Cn,extensions:Cn,protocol:Cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(dn,{CONNECTING:bs,OPEN:bs,CLOSING:bs,CLOSED:bs});de.converters["sequence<DOMString>"]=de.sequenceConverter(de.converters.DOMString);de.converters["DOMString or sequence<DOMString>"]=function(t,e,n){return de.util.Type(t)==="Object"&&Symbol.iterator in t?de.converters["sequence<DOMString>"](t):de.converters.DOMString(t,e,n)};de.converters.WebSocketInit=de.dictionaryConverter([{key:"protocols",converter:de.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:de.converters.any,defaultValue:()=>BG()},{key:"headers",converter:de.nullableConverter(de.converters.HeadersInit)}]);de.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return de.util.Type(t)==="Object"&&!(Symbol.iterator in t)?de.converters.WebSocketInit(t):{protocols:de.converters["DOMString or sequence<DOMString>"](t)}};de.converters.WebSocketSendData=function(t){if(de.util.Type(t)==="Object"){if(Rk(t))return de.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||xk.isArrayBuffer(t))return de.converters.BufferSource(t)}return de.converters.USVString(t)};function SG(){this.ws[Sk].socket.resume()}function kG(t){let e,n;t instanceof QG?(e=t.reason,n=t.code):e=t.message,kk("error",this,()=>new wG("error",{error:t,message:e})),vk(this,n)}Tk.exports={WebSocket:dn}});var Ug=L((K3,Nk)=>{"use strict";function vG(t){return t.indexOf("\0")===-1}function RG(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}function xG(t){return new Promise(e=>{setTimeout(e,t).unref()})}Nk.exports={isValidLastEventId:vG,isASCIINumber:RG,delay:xG}});var Mk=L((Z3,Fk)=>{"use strict";var TG=require("node:buffer"),{Transform:DG}=require("node:stream"),{isASCIINumber:NG,isValidLastEventId:FG}=Ug(),pa=[239,187,191],Ol=10,Xc=13,MG=58,UG=32,_G=TG.kStringMaxLength,LG=Buffer.from("data"),PG=Buffer.from("event"),OG=Buffer.from("id"),$G=Buffer.from("retry"),VG=1024,GG=131072,HG=128;function YG(t,e){if(e>=t.length)return!1;for(let n=e;n<t.length;n++)if(t[n]<48||t[n]>57)return!1;return!0}function qG(t,e){for(let n=e;n<t.length;n++)if(t[n]===0)return!1;return!0}function $l(t,e,n){if(e!==n.length)return!1;for(let r=0;r<e;r++)if(t[r]!==n[r])return!1;return!0}function Vl(){let t=new Error("EventSource message size exceeded");return t.aborted=!1,t}var _g=class extends DG{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;lineLength=0;eventSize=0;eventFieldSizes={data:0,event:0,id:0,retry:0};dataLineCount=0;maxEventSize;maxDataLines;maxBufferedChunks;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},this.maxEventSize=e.maxEventSize??_G;let n=this.maxEventSize>0?Math.min(GG,Math.max(VG,Math.floor(this.maxEventSize/HG))):0;this.maxDataLines=n,this.maxBufferedChunks=n,e.push&&(this.push=e.push)}_transform(e,n,r){if(e.length===0){r();return}if(this.maxEventSize>0&&this.chunks.length>=this.maxBufferedChunks&&e[0]!==Ol&&e[0]!==Xc){r(Vl());return}if(this.chunks.push(e),this.checkBOM&&this.handleBOM()){r();return}for(;this.hasCurrentByte();){let s=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(s===Ol){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(s===Ol||s===Xc){s===Xc&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(s===Ol||s===Xc){s===Xc&&(this.crlfCheck=!0);try{this.parseLine(this.readLine(),this.event)}catch(i){r(i);return}this.consumeCurrentByte(),this.eventEndCheck=!0;continue}if(this.maxEventSize>0&&++this.lineLength>this.maxEventSize+7){r(Vl());return}this.advanceCursor()}r()}_destroy(e,n){this.chunks.length=0,this.clearEvent(),super._destroy(e,n)}parseLine(e,n){if(e.length===0)return;let r=e.indexOf(MG);if(r===0)return;let s=e.length,i=e.length;if(r!==-1&&(s=r,i=r+1,e[i]===UG&&++i),$l(e,s,LG)){if(this.maxEventSize>0&&this.dataLineCount>=this.maxDataLines)throw Vl();let a=e.length-i,c=this.eventFieldSizes.data+(n.data===void 0?0:1)+a;this.setEventFieldSize("data",c);let A=e.toString("utf8",i);n.data===void 0?n.data=A:n.data+=`
|
|
46
|
-
${A}`,this.dataLineCount++;return}if($l(e,s,$G)){YG(e,i)&&(this.setEventFieldSize("retry",e.length-i),n.retry=e.toString("utf8",i));return}if($l(e,s,OG)){qG(e,i)&&(this.setEventFieldSize("id",e.length-i),n.id=e.toString("utf8",i));return}$l(e,s,PG)&&i<e.length&&(this.setEventFieldSize("event",e.length-i),n.event=e.toString("utf8",i))}setEventFieldSize(e,n){let r=this.eventSize-this.eventFieldSizes[e]+n;if(this.maxEventSize>0&&r>this.maxEventSize)throw Vl();this.eventSize=r,this.eventFieldSizes[e]=n}processEvent(e){e.retry&&NG(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&FG(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,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0,this.eventSize=0,this.dataLineCount=0,this.eventFieldSizes.data=0,this.eventFieldSizes.event=0,this.eventFieldSizes.id=0,this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.lineLength=0,this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){let e=this.lineChunkIndex;this.chunks.splice(0,e),this.lineChunkIndex=0,this.chunkIndex-=e}this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],n=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let s=this.chunks[r],i=r===this.lineChunkIndex?this.linePos:0,a=r===this.chunkIndex?this.pos:s.length,c=s.subarray(i,a);n+=c.length,e.push(c)}return Buffer.concat(e,n)}peekBufferedByte(e){let n=this.lineChunkIndex,r=this.linePos;for(;n<this.chunks.length;){let s=this.chunks[n],i=s.length-r;if(e<i)return s[r+e];e-=i,n++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let r=this.chunks[this.lineChunkIndex].length-this.linePos;e<r?(this.linePos+=e,e=0):(e-=r,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),n=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return n===void 0?(e===pa[0]||(this.checkBOM=!1),!0):r===void 0?e===pa[0]&&n===pa[1]?!0:(this.checkBOM=!1,!1):(e===pa[0]&&n===pa[1]&&r===pa[2]&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}};Fk.exports={EventSourceStream:_g}});var Gk=L((X3,Vk)=>{"use strict";var{pipeline:jG}=require("node:stream"),{fetching:JG}=Pc(),{makeRequest:WG}=na(),{webidl:Vr}=ft(),{EventSourceStream:zG}=Mk(),{parseMIMEType:KG}=Pt(),{createFastMessageEvent:ZG}=ca(),{isNetworkError:Uk}=_c(),{delay:XG}=Ug(),{kEnumerableProperty:vi}=Ie(),{environmentSettingsObject:_k}=nn(),{getGlobalDispatcher:e2}=Fc(),Lk=!1,Pk=3e3,eu=0,Ok=1,tu=2,t2="anonymous",n2="use-credentials",ha=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#n=!1;#s=eu;#i=null;#r=null;#o;#a;constructor(e,n={}){super(),Vr.util.markAsUncloneable(this);let r="EventSource constructor";Vr.argumentLengthCheck(arguments,1,r),Lk||(Lk=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Vr.converters.USVString(e,r,"url"),n=Vr.converters.EventSourceInitDict(n,r,"eventSourceInitDict"),this.#o=n.dispatcher,this.#a={lastEventId:"",reconnectionTime:Pk};let s=_k,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(A){throw new DOMException(A,"SyntaxError")}this.#t=i.href;let a=t2;n.withCredentials&&(a=n2,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=_k.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=WG(c),this.#u()}get readyState(){return this.#s}get url(){return this.#t}get withCredentials(){return this.#n}#u(){if(this.#s===tu)return;this.#s=eu;let e={request:this.#i,dispatcher:this.#o},n=r=>{Uk(r)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()};e.processResponseEndOfBody=n,e.processResponse=r=>{if(Uk(r))if(r.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=r.headersList.get("content-type",!0),i=s!==null?KG(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(r.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#s=Ok,this.dispatchEvent(new Event("open")),this.#a.origin=r.urlList[r.urlList.length-1].origin;let c=new zG({eventSourceSettings:this.#a,maxEventSize:this.#o.eventSourceOptions?.maxEventSize,push:A=>{this.dispatchEvent(ZG(A.type,A.options))}});jG(r.body.stream,c,A=>{A?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#r=JG(e)}async#c(){this.#s!==tu&&(this.#s=eu,this.dispatchEvent(new Event("error")),await XG(this.#a.reconnectionTime),this.#s===eu&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#u()))}close(){Vr.brandCheck(this,t),this.#s!==tu&&(this.#s=tu,this.#r.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}},$k={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:eu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Ok,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:tu,writable:!1}};Object.defineProperties(ha,$k);Object.defineProperties(ha.prototype,$k);Object.defineProperties(ha.prototype,{close:vi,onerror:vi,onmessage:vi,onopen:vi,readyState:vi,url:vi,withCredentials:vi});Vr.converters.EventSourceInitDict=Vr.dictionaryConverter([{key:"withCredentials",converter:Vr.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Vr.converters.any,defaultValue:()=>e2()}]);Vk.exports={EventSource:ha,defaultReconnectionTime:Pk}});var jk=L((eK,ce)=>{"use strict";var r2=Vo(),Hk=nc(),s2=Go(),i2=HB(),o2=Ho(),a2=rf(),c2=hw(),u2=Iw(),Yk=xe(),Hl=Ie(),{InvalidArgumentError:Gl}=Yk,fa=aQ(),A2=sc(),l2=Pf(),d2=GQ(),p2=Vf(),h2=Sf(),f2=YA(),{getGlobalDispatcher:qk,setGlobalDispatcher:g2}=Fc(),m2=tl(),y2=FA(),E2=MA();Object.assign(Hk.prototype,fa);ce.exports.Dispatcher=Hk;ce.exports.Client=r2;ce.exports.Pool=s2;ce.exports.BalancedPool=i2;ce.exports.Agent=o2;ce.exports.ProxyAgent=a2;ce.exports.EnvHttpProxyAgent=c2;ce.exports.RetryAgent=u2;ce.exports.RetryHandler=f2;ce.exports.DecoratorHandler=m2;ce.exports.RedirectHandler=y2;ce.exports.createRedirectInterceptor=E2;ce.exports.interceptors={redirect:zQ(),retry:ZQ(),dump:eb(),dns:rb()};ce.exports.buildConnector=A2;ce.exports.errors=Yk;ce.exports.util={parseHeaders:Hl.parseHeaders,headerNameToString:Hl.headerNameToString};function nu(t){return(e,n,r)=>{if(typeof n=="function"&&(r=n,n=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Gl("invalid url");if(n!=null&&typeof n!="object")throw new Gl("invalid opts");if(n&&n.path!=null){if(typeof n.path!="string")throw new Gl("invalid opts.path");let a=n.path;n.path.startsWith("/")||(a=`/${a}`),e=new URL(Hl.parseOrigin(e).origin+a)}else n||(n=typeof e=="object"?e:{}),e=Hl.parseURL(e);let{agent:s,dispatcher:i=qk()}=n;if(s)throw new Gl("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...n,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:n.method||(n.body?"PUT":"GET")},r)}}ce.exports.setGlobalDispatcher=g2;ce.exports.getGlobalDispatcher=qk;var C2=Pc().fetch;ce.exports.fetch=async function(e,n=void 0){try{return await C2(e,n)}catch(r){throw r&&typeof r=="object"&&Error.captureStackTrace(r),r}};ce.exports.Headers=Ii().Headers;ce.exports.Response=_c().Response;ce.exports.Request=na().Request;ce.exports.FormData=lc().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=ES().FileReader;var{setGlobalOrigin:I2,getGlobalOrigin:B2}=nh();ce.exports.setGlobalOrigin=I2;ce.exports.getGlobalOrigin=B2;var{CacheStorage:w2}=vS(),{kConstruct:Q2}=Bl();ce.exports.caches=new w2(Q2);var{deleteCookie:b2,getCookies:S2,getSetCookies:k2,setCookie:v2}=PS();ce.exports.deleteCookie=b2;ce.exports.getCookies=S2;ce.exports.getSetCookies=k2;ce.exports.setCookie=v2;var{parseMIMEType:R2,serializeAMimeType:x2}=Pt();ce.exports.parseMIMEType=R2;ce.exports.serializeAMimeType=x2;var{CloseEvent:T2,ErrorEvent:D2,MessageEvent:N2}=ca();ce.exports.WebSocket=Dk().WebSocket;ce.exports.CloseEvent=T2;ce.exports.ErrorEvent=D2;ce.exports.MessageEvent=N2;ce.exports.request=nu(fa.request);ce.exports.stream=nu(fa.stream);ce.exports.pipeline=nu(fa.pipeline);ce.exports.connect=nu(fa.connect);ce.exports.upgrade=nu(fa.upgrade);ce.exports.MockClient=l2;ce.exports.MockPool=p2;ce.exports.MockAgent=d2;ce.exports.mockErrors=h2;var{EventSource:F2}=Gk();ce.exports.EventSource=F2});var su,Og,Ss,Jk,Xe,In,Tt,Gr,M2,U2,_2,L2,P2,Lg,Pg,Yl,ru,Wk=kt(()=>{su=Re(require("http"),1),Og=Re(require("https"),1);gE();Ss=Re(BE(),1),Jk=Re(jk(),1),Xe=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})};(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"})(In||(In={}));(function(t){t.Accept="accept",t.ContentType="content-type"})(Tt||(Tt={}));(function(t){t.ApplicationJson="application/json"})(Gr||(Gr={}));M2=[In.MovedPermanently,In.ResourceMoved,In.SeeOther,In.TemporaryRedirect,In.PermanentRedirect],U2=[In.BadGateway,In.ServiceUnavailable,In.GatewayTimeout],_2=["OPTIONS","GET","DELETE","HEAD"],L2=10,P2=5,Lg=class t extends Error{constructor(e,n){super(e),this.name="HttpClientError",this.statusCode=n,Object.setPrototypeOf(this,t.prototype)}},Pg=class{constructor(e){this.message=e}readBody(){return Xe(this,void 0,void 0,function*(){return new Promise(e=>Xe(this,void 0,void 0,function*(){let n=Buffer.alloc(0);this.message.on("data",r=>{n=Buffer.concat([n,r])}),this.message.on("end",()=>{e(n.toString())})}))})}readBodyBuffer(){return Xe(this,void 0,void 0,function*(){return new Promise(e=>Xe(this,void 0,void 0,function*(){let n=[];this.message.on("data",r=>{n.push(r)}),this.message.on("end",()=>{e(Buffer.concat(n))})}))})}},Yl=class{constructor(e,n,r){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=n||[],this.requestOptions=r,r&&(r.ignoreSslError!=null&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,r.allowRedirects!=null&&(this._allowRedirects=r.allowRedirects),r.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),r.maxRedirects!=null&&(this._maxRedirects=Math.max(r.maxRedirects,0)),r.keepAlive!=null&&(this._keepAlive=r.keepAlive),r.allowRetries!=null&&(this._allowRetries=r.allowRetries),r.maxRetries!=null&&(this._maxRetries=r.maxRetries))}options(e,n){return Xe(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,n||{})})}get(e,n){return Xe(this,void 0,void 0,function*(){return this.request("GET",e,null,n||{})})}del(e,n){return Xe(this,void 0,void 0,function*(){return this.request("DELETE",e,null,n||{})})}post(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("POST",e,n,r||{})})}patch(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("PATCH",e,n,r||{})})}put(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("PUT",e,n,r||{})})}head(e,n){return Xe(this,void 0,void 0,function*(){return this.request("HEAD",e,null,n||{})})}sendStream(e,n,r,s){return Xe(this,void 0,void 0,function*(){return this.request(e,n,r,s)})}getJson(e){return Xe(this,arguments,void 0,function*(n,r={}){r[Tt.Accept]=this._getExistingOrDefaultHeader(r,Tt.Accept,Gr.ApplicationJson);let s=yield this.get(n,r);return this._processResponse(s,this.requestOptions)})}postJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.post(r,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.put(r,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.patch(r,a,i);return this._processResponse(c,this.requestOptions)})}request(e,n,r,s){return Xe(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(n),a=this._prepareRequest(e,i,s),c=this._allowRetries&&_2.includes(e)?this._maxRetries+1:1,A=0,l;do{if(l=yield this.requestRaw(a,r),l&&l.message&&l.message.statusCode===In.Unauthorized){let h;for(let g of this.handlers)if(g.canHandleAuthentication(l)){h=g;break}return h?h.handleAuthentication(this,a,r):l}let p=this._maxRedirects;for(;l.message.statusCode&&M2.includes(l.message.statusCode)&&this._allowRedirects&&p>0;){let h=l.message.headers.location;if(!h)break;let g=new URL(h);if(i.protocol==="https:"&&i.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield l.readBody(),g.hostname!==i.hostname)for(let C in s)C.toLowerCase()==="authorization"&&delete s[C];a=this._prepareRequest(e,g,s),l=yield this.requestRaw(a,r),p--}if(!l.message.statusCode||!U2.includes(l.message.statusCode))return l;A+=1,A<c&&(yield l.readBody(),yield this._performExponentialBackoff(A))}while(A<c);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,n){return Xe(this,void 0,void 0,function*(){return new Promise((r,s)=>{function i(a,c){a?s(a):c?r(c):s(new Error("Unknown error"))}this.requestRawWithCallback(e,n,i)})})}requestRawWithCallback(e,n,r){typeof n=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(n,"utf8"));let s=!1;function i(A,l){s||(s=!0,r(A,l))}let a=e.httpModule.request(e.options,A=>{let l=new Pg(A);i(void 0,l)}),c;a.on("socket",A=>{c=A}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(A){i(A)}),n&&typeof n=="string"&&a.write(n,"utf8"),n&&typeof n!="string"?(n.on("close",function(){a.end()}),n.pipe(a)):a.end()}getAgent(e){let n=new URL(e);return this._getAgent(n)}getAgentDispatcher(e){let n=new URL(e),r=cp(n);if(r&&r.hostname)return this._getProxyAgentDispatcher(n,r)}_prepareRequest(e,n,r){let s={};s.parsedUrl=n;let i=s.parsedUrl.protocol==="https:";s.httpModule=i?Og:su;let a=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):a,s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||""),s.options.method=e,s.options.headers=this._mergeHeaders(r),this.userAgent!=null&&(s.options.headers["user-agent"]=this.userAgent),s.options.agent=this._getAgent(s.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ru(this.requestOptions.headers),ru(e||{})):ru(e||{})}_getExistingOrDefaultHeader(e,n,r){let s;if(this.requestOptions&&this.requestOptions.headers){let a=ru(this.requestOptions.headers)[n];a&&(s=typeof a=="number"?a.toString():a)}let i=e[n];return i!==void 0?typeof i=="number"?i.toString():i:s!==void 0?s:r}_getExistingOrDefaultContentTypeHeader(e,n){let r;if(this.requestOptions&&this.requestOptions.headers){let i=ru(this.requestOptions.headers)[Tt.ContentType];i&&(typeof i=="number"?r=String(i):Array.isArray(i)?r=i.join(", "):r=i)}let s=e[Tt.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:r!==void 0?r:n}_getAgent(e){let n,r=cp(e),s=r&&r.hostname;if(this._keepAlive&&s&&(n=this._proxyAgent),s||(n=this._agent),n)return n;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||su.globalAgent.maxSockets),r&&r.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},A,l=r.protocol==="https:";i?A=l?Ss.httpsOverHttps:Ss.httpsOverHttp:A=l?Ss.httpOverHttps:Ss.httpOverHttp,n=A(c),this._proxyAgent=n}if(!n){let c={keepAlive:this._keepAlive,maxSockets:a};n=i?new Og.Agent(c):new su.Agent(c),this._agent=n}return i&&this._ignoreSslError&&(n.options=Object.assign(n.options||{},{rejectUnauthorized:!1})),n}_getProxyAgentDispatcher(e,n){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;let s=e.protocol==="https:";return r=new Jk.ProxyAgent(Object.assign({uri:n.href,pipelining:this._keepAlive?1:0},(n.username||n.password)&&{token:`Basic ${Buffer.from(`${n.username}:${n.password}`).toString("base64")}`})),this._proxyAgentDispatcher=r,s&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r}_getUserAgentWithOrchestrationId(e){let n=e||"actions/http-client",r=process.env.ACTIONS_ORCHESTRATION_ID;if(r){let s=r.replace(/[^a-z0-9_.-]/gi,"_");return`${n} actions_orchestration_id/${s}`}return n}_performExponentialBackoff(e){return Xe(this,void 0,void 0,function*(){e=Math.min(L2,e);let n=P2*Math.pow(2,e);return new Promise(r=>setTimeout(()=>r(),n))})}_processResponse(e,n){return Xe(this,void 0,void 0,function*(){return new Promise((r,s)=>Xe(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===In.NotFound&&r(a);function c(p,h){if(typeof h=="string"){let g=new Date(h);if(!isNaN(g.valueOf()))return g}return h}let A,l;try{l=yield e.readBody(),l&&l.length>0&&(n&&n.deserializeDates?A=JSON.parse(l,c):A=JSON.parse(l),a.result=A),a.headers=e.message.headers}catch{}if(i>299){let p;A&&A.message?p=A.message:l&&l.length>0?p=l:p=`Failed request: (${i})`;let h=new Lg(p,i);h.result=a.result,s(h)}else r(a)}))})}},ru=t=>Object.keys(t).reduce((e,n)=>(e[n.toLowerCase()]=t[n],e),{})});var O2,ql,zk=kt(()=>{O2=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},ql=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return O2(this,void 0,void 0,function*(){throw new Error("not implemented")})}}});var Kk,jl,Zk=kt(()=>{Wk();zk();Dt();Kk=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},jl=class t{static createHttpClient(e=!0,n=10){let r={allowRetries:e,maxRetries:n};return new Yl("actions/oidc-client",[new ql(t.getRequestToken())],r)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return Kk(this,void 0,void 0,function*(){var n;let i=(n=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token.
|
|
45
|
+
`.trim())}};VQ.exports=Yf});var Fc=L((g3,jQ)=>{"use strict";var HQ=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hO}=xe(),fO=Ho();qQ()===void 0&&YQ(new fO);function YQ(t){if(!t||typeof t.dispatch!="function")throw new hO("Argument agent must implement Agent");Object.defineProperty(globalThis,HQ,{value:t,writable:!0,enumerable:!1,configurable:!1})}function qQ(){return globalThis[HQ]}jQ.exports={setGlobalDispatcher:YQ,getGlobalDispatcher:qQ}});var tl=L((y3,JQ)=>{"use strict";JQ.exports=class{#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var zQ=L((E3,WQ)=>{"use strict";var gO=FA();WQ.exports=t=>{let e=t?.maxRedirections;return n=>function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return n(s,i);let A=new gO(n,a,s,i);return n(c,A)}}});var ZQ=L((C3,KQ)=>{"use strict";var mO=YA();KQ.exports=t=>e=>function(r,s){return e(r,new mO({...r,retryOptions:{...t,...r.retryOptions}},{handler:s,dispatch:e}))}});var eb=L((I3,XQ)=>{"use strict";var yO=Ie(),{InvalidArgumentError:EO,RequestAbortedError:CO}=xe(),IO=tl(),qf=class extends IO{#e=1024*1024;#t=null;#n=!1;#s=!1;#i=0;#r=null;#o=null;constructor({maxSize:e},n){if(super(n),e!=null&&(!Number.isFinite(e)||e<1))throw new EO("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=n}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#s=!0,this.#r=e}onHeaders(e,n,r,s){let a=yO.parseHeaders(n)["content-length"];if(a!=null&&a>this.#e)throw new CO(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#s?!0:this.#o.onHeaders(e,n,r,s)}onError(e){this.#n||(e=this.#r??e,this.#o.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#n=!0,this.#s?this.#o.onError(this.#r):this.#o.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#s){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function BO({maxSize:t}={maxSize:1024*1024}){return e=>function(r,s){let{dumpMaxSize:i=t}=r,a=new qf({maxSize:i},s);return e(r,a)}}XQ.exports=BO});var rb=L((B3,nb)=>{"use strict";var{isIP:wO}=require("node:net"),{lookup:QO}=require("node:dns"),bO=tl(),{InvalidArgumentError:Xo,InformationalError:SO}=xe(),tb=Math.pow(2,31)-1,jf=class{#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.#s,this.pick=e.pick??this.#i}get full(){return this.#n.size===this.#t}runLookup(e,n,r){let s=this.#n.get(e.hostname);if(s==null&&this.full){r(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...n.dns,maxTTL:this.#e,maxItems:this.#t};if(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){r(a??new SO("No DNS entries found"));return}this.setRecords(e,c);let A=this.#n.get(e.hostname),l=this.pick(e,A,i.affinity),p;typeof l.port=="number"?p=`:${l.port}`:e.port!==""?p=`:${e.port}`:p="",r(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${p}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,n,r);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",r(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#s(e,n,r){QO(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return r(s);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);r(null,a.values())})}#i(e,n,r){let s=null,{records:i,offset:a}=n,c;if(this.dualStack?(r==null&&(a==null||a===tb?(n.offset=0,r=4):(n.offset++,r=(n.offset&1)===1?6:4)),i[r]!=null&&i[r].ips.length>0?c=i[r]:c=i[r===4?6:4]):c=i[r],c==null||c.ips.length===0)return s;c.offset==null||c.offset===tb?c.offset=0:c.offset++;let A=c.offset%c.ips.length;return s=c.ips[A]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(c.ips.splice(A,1),this.pick(e,n,r)):s}setRecords(e,n){let r=Date.now(),s={records:{4:null,6:null}};for(let i of n){i.timestamp=r,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=s.records[i.family]??{ips:[]};a.ips.push(i),s.records[i.family]=a}this.#n.set(e.hostname,s)}getHandler(e,n){return new Jf(this,e,n)}},Jf=class extends bO{#e=null;#t=null;#n=null;#s=null;#i=null;constructor(e,{origin:n,handler:r,dispatch:s},i){super(r),this.#i=n,this.#s=r,this.#t={...i},this.#e=e,this.#n=s}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(n,r)=>{if(n)return this.#s.onError(n);let s={...this.#t,origin:r};this.#n(s,this)});return}this.#s.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#s.onError(e);break}}};nb.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Xo("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Xo("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Xo("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Xo("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Xo("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Xo("Invalid pick. Must be a function");let e=t?.dualStack??!0,n;e?n=t?.affinity??null:n=t?.affinity??4;let r={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:n,maxItems:t?.maxItems??1/0},s=new jf(r);return i=>function(c,A){let l=c.origin.constructor===URL?c.origin:new URL(c.origin);return wO(l.hostname)!==0?i(c,A):(s.runLookup(l,c,(p,h)=>{if(p)return A.onError(p);let g=null;g={...c,servername:l.hostname,origin:h,headers:{host:l.hostname,...c.headers}},i(g,s.getHandler({origin:l,dispatch:i,handler:A},c))}),!0)}}});var Ii=L((w3,Ab)=>{"use strict";var{kConstruct:kO}=He(),{kEnumerableProperty:ea}=Ie(),{iteratorMixin:vO,isValidHeaderName:Mc,isValidHeaderValue:ib}=nn(),{webidl:Se}=ft(),Wf=require("node:assert"),nl=require("node:util"),nt=Symbol("headers map"),an=Symbol("headers map sorted");function sb(t){return t===10||t===13||t===9||t===32}function ob(t){let e=0,n=t.length;for(;n>e&&sb(t.charCodeAt(n-1));)--n;for(;n>e&&sb(t.charCodeAt(e));)++e;return e===0&&n===t.length?t:t.substring(e,n)}function ab(t,e){if(Array.isArray(e))for(let n=0;n<e.length;++n){let r=e[n];if(r.length!==2)throw Se.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${r.length}.`});zf(t,r[0],r[1])}else if(typeof e=="object"&&e!==null){let n=Object.keys(e);for(let r=0;r<n.length;++r)zf(t,n[r],e[n[r]])}else throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function zf(t,e,n){if(n=ob(n),Mc(e)){if(!ib(n))throw Se.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}else throw Se.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(ub(t)==="immutable")throw new TypeError("immutable");return Kf(t).append(e,n,!1)}function cb(t,e){return t[0]<e[0]?-1:1}var rl=class t{cookies=null;constructor(e){e instanceof t?(this[nt]=new Map(e[nt]),this[an]=e[an],this.cookies=e.cookies===null?null:[...e.cookies]):(this[nt]=new Map(e),this[an]=null)}contains(e,n){return this[nt].has(n?e:e.toLowerCase())}clear(){this[nt].clear(),this[an]=null,this.cookies=null}append(e,n,r){this[an]=null;let s=r?e:e.toLowerCase(),i=this[nt].get(s);if(i){let a=s==="cookie"?"; ":", ";this[nt].set(s,{name:i.name,value:`${i.value}${a}${n}`})}else this[nt].set(s,{name:e,value:n});s==="set-cookie"&&(this.cookies??=[]).push(n)}set(e,n,r){this[an]=null;let s=r?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[n]),this[nt].set(s,{name:e,value:n})}delete(e,n){this[an]=null,n||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[nt].delete(e)}get(e,n){return this[nt].get(n?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:n}}of this[nt])yield[e,n]}get entries(){let e={};if(this[nt].size!==0)for(let{name:n,value:r}of this[nt].values())e[n]=r;return e}rawValues(){return this[nt].values()}get entriesList(){let e=[];if(this[nt].size!==0)for(let{0:n,1:{name:r,value:s}}of this[nt])if(n==="set-cookie")for(let i of this.cookies)e.push([r,i]);else e.push([r,s]);return e}toSortedArray(){let e=this[nt].size,n=new Array(e);if(e<=32){if(e===0)return n;let r=this[nt][Symbol.iterator](),s=r.next().value;n[0]=[s[0],s[1].value],Wf(s[1].value!==null);for(let i=1,a=0,c=0,A=0,l=0,p,h;i<e;++i){for(h=r.next().value,p=n[i]=[h[0],h[1].value],Wf(p[1]!==null),A=0,c=i;A<c;)l=A+(c-A>>1),n[l][0]<=p[0]?A=l+1:c=l;if(i!==l){for(a=i;a>A;)n[a]=n[--a];n[A]=p}}if(!r.next().done)throw new TypeError("Unreachable");return n}else{let r=0;for(let{0:s,1:{value:i}}of this[nt])n[r++]=[s,i],Wf(i!==null);return n.sort(cb)}}},Yn=class t{#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==kO&&(this.#t=new rl,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),ab(this,e)))}append(e,n){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=Se.converters.ByteString(e,r,"name"),n=Se.converters.ByteString(n,r,"value"),zf(this,e,n)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!Mc(e))throw Se.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.get");let n="Headers.get";if(e=Se.converters.ByteString(e,n,"name"),!Mc(e))throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.has");let n="Headers.has";if(e=Se.converters.ByteString(e,n,"name"),!Mc(e))throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,n){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=Se.converters.ByteString(e,r,"name"),n=Se.converters.ByteString(n,r,"value"),n=ob(n),Mc(e)){if(!ib(n))throw Se.errors.invalidArgument({prefix:r,value:n,type:"header value"})}else throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,n,!1)}getSetCookie(){Se.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[an](){if(this.#t[an])return this.#t[an];let e=[],n=this.#t.toSortedArray(),r=this.#t.cookies;if(r===null||r.length===1)return this.#t[an]=n;for(let s=0;s<n.length;++s){let{0:i,1:a}=n[s];if(i==="set-cookie")for(let c=0;c<r.length;++c)e.push([i,r[c]]);else e.push([i,a])}return this.#t[an]=e}[nl.inspect.custom](e,n){return n.depth??=e,`Headers ${nl.formatWithOptions(n,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,n){e.#e=n}static getHeadersList(e){return e.#t}static setHeadersList(e,n){e.#t=n}},{getHeadersGuard:ub,setHeadersGuard:RO,getHeadersList:Kf,setHeadersList:xO}=Yn;Reflect.deleteProperty(Yn,"getHeadersGuard");Reflect.deleteProperty(Yn,"setHeadersGuard");Reflect.deleteProperty(Yn,"getHeadersList");Reflect.deleteProperty(Yn,"setHeadersList");vO("Headers",Yn,an,0,1);Object.defineProperties(Yn.prototype,{append:ea,delete:ea,get:ea,has:ea,set:ea,getSetCookie:ea,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[nl.inspect.custom]:{enumerable:!1}});Se.converters.HeadersInit=function(t,e,n){if(Se.util.Type(t)==="Object"){let r=Reflect.get(t,Symbol.iterator);if(!nl.types.isProxy(t)&&r===Yn.prototype.entries)try{return Kf(t).entriesList}catch{}return typeof r=="function"?Se.converters["sequence<sequence<ByteString>>"](t,e,n,r.bind(t)):Se.converters["record<ByteString, ByteString>"](t,e,n)}throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};Ab.exports={fill:ab,compareHeaderName:cb,Headers:Yn,HeadersList:rl,getHeadersGuard:ub,setHeadersGuard:RO,setHeadersList:xO,getHeadersList:Kf}});var Uc=L((Q3,Bb)=>{"use strict";var{Headers:gb,HeadersList:lb,fill:TO,getHeadersGuard:DO,setHeadersGuard:mb,setHeadersList:yb}=Ii(),{extractBody:db,cloneBody:NO,mixinBody:FO,hasFinalizationRegistry:Eb,streamRegistry:Cb,bodyUnusable:MO}=Mo(),Zf=Ie(),pb=require("node:util"),{kEnumerableProperty:cn}=Zf,{isValidReasonPhrase:_O,isCancelled:UO,isAborted:LO,isBlobLike:PO,serializeJavascriptValueToJSONString:OO,isErrorLike:$O,isomorphicEncode:VO,environmentSettingsObject:GO}=nn(),{redirectStatusSet:HO,nullBodyStatus:YO}=ic(),{kState:qe,kHeaders:Or}=us(),{webidl:ye}=ft(),{FormData:qO}=lc(),{URLSerializer:hb}=Pt(),{kConstruct:il}=He(),Xf=require("node:assert"),{types:jO}=require("node:util"),JO=new TextEncoder("utf-8"),Bi=class t{static error(){return _c(ol(),"immutable")}static json(e,n={}){ye.argumentLengthCheck(arguments,1,"Response.json"),n!==null&&(n=ye.converters.ResponseInit(n));let r=JO.encode(OO(e)),s=db(r),i=_c(ta({}),"response");return fb(i,n,{body:s[0],type:"application/json"}),i}static redirect(e,n=302){ye.argumentLengthCheck(arguments,1,"Response.redirect"),e=ye.converters.USVString(e),n=ye.converters["unsigned short"](n);let r;try{r=new URL(e,GO.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!HO.has(n))throw new RangeError(`Invalid status code ${n}`);let s=_c(ta({}),"immutable");s[qe].status=n;let i=VO(hb(r));return s[qe].headersList.append("location",i,!0),s}constructor(e=null,n={}){if(ye.util.markAsUncloneable(this),e===il)return;e!==null&&(e=ye.converters.BodyInit(e)),n=ye.converters.ResponseInit(n),this[qe]=ta({}),this[Or]=new gb(il),mb(this[Or],"response"),yb(this[Or],this[qe].headersList);let r=null;if(e!=null){let[s,i]=db(e);r={body:s,type:i}}fb(this,n,r)}get type(){return ye.brandCheck(this,t),this[qe].type}get url(){ye.brandCheck(this,t);let e=this[qe].urlList,n=e[e.length-1]??null;return n===null?"":hb(n,!0)}get redirected(){return ye.brandCheck(this,t),this[qe].urlList.length>1}get status(){return ye.brandCheck(this,t),this[qe].status}get ok(){return ye.brandCheck(this,t),this[qe].status>=200&&this[qe].status<=299}get statusText(){return ye.brandCheck(this,t),this[qe].statusText}get headers(){return ye.brandCheck(this,t),this[Or]}get body(){return ye.brandCheck(this,t),this[qe].body?this[qe].body.stream:null}get bodyUsed(){return ye.brandCheck(this,t),!!this[qe].body&&Zf.isDisturbed(this[qe].body.stream)}clone(){if(ye.brandCheck(this,t),MO(this))throw ye.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=eg(this[qe]);return Eb&&this[qe].body?.stream&&Cb.register(this,new WeakRef(this[qe].body.stream)),_c(e,DO(this[Or]))}[pb.inspect.custom](e,n){n.depth===null&&(n.depth=2),n.colors??=!0;let r={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 ${pb.formatWithOptions(n,r)}`}};FO(Bi);Object.defineProperties(Bi.prototype,{type:cn,url:cn,status:cn,ok:cn,redirected:cn,statusText:cn,headers:cn,clone:cn,body:cn,bodyUsed:cn,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Bi,{json:cn,redirect:cn,error:cn});function eg(t){if(t.internalResponse)return Ib(eg(t.internalResponse),t.type);let e=ta({...t,body:null});return t.body!=null&&(e.body=NO(e,t.body)),e}function ta(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new lb(t?.headersList):new lb,urlList:t?.urlList?[...t.urlList]:[]}}function ol(t){let e=$O(t);return ta({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function WO(t){return t.type==="error"&&t.status===0}function sl(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(n,r){return r in e?e[r]:n[r]},set(n,r,s){return Xf(!(r in e)),n[r]=s,!0}})}function Ib(t,e){if(e==="basic")return sl(t,{type:"basic",headersList:t.headersList});if(e==="cors")return sl(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return sl(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return sl(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});Xf(!1)}function zO(t,e=null){return Xf(UO(t)),LO(t)?ol(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):ol(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}function fb(t,e,n){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&&!_O(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[qe].status=e.status),"statusText"in e&&e.statusText!=null&&(t[qe].statusText=e.statusText),"headers"in e&&e.headers!=null&&TO(t[Or],e.headers),n){if(YO.includes(t.status))throw ye.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[qe].body=n.body,n.type!=null&&!t[qe].headersList.contains("content-type",!0)&&t[qe].headersList.append("content-type",n.type,!0)}}function _c(t,e){let n=new Bi(il);return n[qe]=t,n[Or]=new gb(il),yb(n[Or],t.headersList),mb(n[Or],e),Eb&&t.body?.stream&&Cb.register(n,new WeakRef(t.body.stream)),n}ye.converters.ReadableStream=ye.interfaceConverter(ReadableStream);ye.converters.FormData=ye.interfaceConverter(qO);ye.converters.URLSearchParams=ye.interfaceConverter(URLSearchParams);ye.converters.XMLHttpRequestBodyInit=function(t,e,n){return typeof t=="string"?ye.converters.USVString(t,e,n):PO(t)?ye.converters.Blob(t,e,n,{strict:!1}):ArrayBuffer.isView(t)||jO.isArrayBuffer(t)?ye.converters.BufferSource(t,e,n):Zf.isFormDataLike(t)?ye.converters.FormData(t,e,n,{strict:!1}):t instanceof URLSearchParams?ye.converters.URLSearchParams(t,e,n):ye.converters.DOMString(t,e,n)};ye.converters.BodyInit=function(t,e,n){return t instanceof ReadableStream?ye.converters.ReadableStream(t,e,n):t?.[Symbol.asyncIterator]?t:ye.converters.XMLHttpRequestBodyInit(t,e,n)};ye.converters.ResponseInit=ye.dictionaryConverter([{key:"status",converter:ye.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:ye.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:ye.converters.HeadersInit}]);Bb.exports={isNetworkError:WO,makeNetworkError:ol,makeResponse:ta,makeAppropriateNetworkError:zO,filterResponse:Ib,Response:Bi,cloneResponse:eg,fromInnerResponse:_c}});var Sb=L((b3,bb)=>{"use strict";var{kConnected:wb,kSize:Qb}=He(),tg=class{constructor(e){this.value=e}deref(){return this.value[wb]===0&&this.value[Qb]===0?void 0:this.value}},ng=class{constructor(e){this.finalizer=e}register(e,n){e.on&&e.on("disconnect",()=>{e[wb]===0&&e[Qb]===0&&this.finalizer(n)})}unregister(e){}};bb.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:tg,FinalizationRegistry:ng}):{WeakRef,FinalizationRegistry}}});var na=L((S3,$b)=>{"use strict";var{extractBody:KO,mixinBody:ZO,cloneBody:XO,bodyUnusable:kb}=Mo(),{Headers:_b,fill:e1,HeadersList:Al,setHeadersGuard:sg,getHeadersGuard:t1,setHeadersList:Ub,getHeadersList:vb}=Ii(),{FinalizationRegistry:n1}=Sb()(),cl=Ie(),Rb=require("node:util"),{isValidHTTPToken:r1,sameOrigin:xb,environmentSettingsObject:al}=nn(),{forbiddenMethodsSet:s1,corsSafeListedMethodsSet:i1,referrerPolicy:o1,requestRedirect:a1,requestMode:c1,requestCredentials:u1,requestCache:A1,requestDuplex:l1}=ic(),{kEnumerableProperty:rt,normalizedMethodRecordsBase:d1,normalizedMethodRecords:p1}=cl,{kHeaders:un,kSignal:ul,kState:Ve,kDispatcher:rg}=us(),{webidl:oe}=ft(),{URLSerializer:h1}=Pt(),{kConstruct:ll}=He(),f1=require("node:assert"),{getMaxListeners:Tb,setMaxListeners:Db,getEventListeners:g1,defaultMaxListeners:Nb}=require("node:events"),m1=Symbol("abortController"),Lb=new n1(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),dl=new WeakMap;function Fb(t){return e;function e(){let n=t.deref();if(n!==void 0){Lb.unregister(e),this.removeEventListener("abort",e),n.abort(this.reason);let r=dl.get(n.signal);if(r!==void 0){if(r.size!==0){for(let s of r){let i=s.deref();i!==void 0&&i.abort(this.reason)}r.clear()}dl.delete(n.signal)}}}}var Mb=!1,Cs=class t{constructor(e,n={}){if(oe.util.markAsUncloneable(this),e===ll)return;let r="Request constructor";oe.argumentLengthCheck(arguments,1,r),e=oe.converters.RequestInfo(e,r,"input"),n=oe.converters.RequestInit(n,r,"init");let s=null,i=null,a=al.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[rg]=n.dispatcher;let x;try{x=new URL(e,a)}catch(F){throw new TypeError("Failed to parse URL from "+e,{cause:F})}if(x.username||x.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=pl({urlList:[x]}),i="cors"}else this[rg]=n.dispatcher||e[rg],f1(e instanceof t),s=e[Ve],c=e[ul];let A=al.settingsObject.origin,l="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&xb(s.window,A)&&(l=s.window),n.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in n&&(l="no-window"),s=pl({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:al.settingsObject,window:l,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let p=Object.keys(n).length!==0;if(p&&(s.mode==="navigate"&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),n.referrer!==void 0){let x=n.referrer;if(x==="")s.referrer="no-referrer";else{let F;try{F=new URL(x,a)}catch(Y){throw new TypeError(`Referrer "${x}" is not a valid URL.`,{cause:Y})}F.protocol==="about:"&&F.hostname==="client"||A&&!xb(F,al.settingsObject.baseUrl)?s.referrer="client":s.referrer=F}}n.referrerPolicy!==void 0&&(s.referrerPolicy=n.referrerPolicy);let h;if(n.mode!==void 0?h=n.mode:h=i,h==="navigate")throw oe.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(h!=null&&(s.mode=h),n.credentials!==void 0&&(s.credentials=n.credentials),n.cache!==void 0&&(s.cache=n.cache),s.cache==="only-if-cached"&&s.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(n.redirect!==void 0&&(s.redirect=n.redirect),n.integrity!=null&&(s.integrity=String(n.integrity)),n.keepalive!==void 0&&(s.keepalive=!!n.keepalive),n.method!==void 0){let x=n.method,F=p1[x];if(F!==void 0)s.method=F;else{if(!r1(x))throw new TypeError(`'${x}' is not a valid HTTP method.`);let Y=x.toUpperCase();if(s1.has(Y))throw new TypeError(`'${x}' HTTP method is unsupported.`);x=d1[Y]??x,s.method=x}!Mb&&s.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"}),Mb=!0)}n.signal!==void 0&&(c=n.signal),this[Ve]=s;let g=new AbortController;if(this[ul]=g.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)g.abort(c.reason);else{this[m1]=g;let x=new WeakRef(g),F=Fb(x);try{(typeof Tb=="function"&&Tb(c)===Nb||g1(c,"abort").length>=Nb)&&Db(1500,c)}catch{}cl.addAbortListener(c,F),Lb.register(g,{signal:c,abort:F},F)}}if(this[un]=new _b(ll),Ub(this[un],s.headersList),sg(this[un],"request"),h==="no-cors"){if(!i1.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);sg(this[un],"request-no-cors")}if(p){let x=vb(this[un]),F=n.headers!==void 0?n.headers:new Al(x);if(x.clear(),F instanceof Al){for(let{name:Y,value:$}of F.rawValues())x.append(Y,$,!1);x.cookies=F.cookies}else e1(this[un],F)}let C=e instanceof t?e[Ve].body:null;if((n.body!=null||C!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let S=null;if(n.body!=null){let[x,F]=KO(n.body,s.keepalive);S=x,F&&!vb(this[un]).contains("content-type",!0)&&this[un].append("content-type",F)}let v=S??C;if(v!=null&&v.source==null){if(S!=null&&n.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(s.mode!=="same-origin"&&s.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let T=v;if(S==null&&C!=null){if(kb(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let x=new TransformStream;C.stream.pipeThrough(x),T={source:C.source,length:C.length,stream:x.readable}}this[Ve].body=T}get method(){return oe.brandCheck(this,t),this[Ve].method}get url(){return oe.brandCheck(this,t),h1(this[Ve].url)}get headers(){return oe.brandCheck(this,t),this[un]}get destination(){return oe.brandCheck(this,t),this[Ve].destination}get referrer(){return oe.brandCheck(this,t),this[Ve].referrer==="no-referrer"?"":this[Ve].referrer==="client"?"about:client":this[Ve].referrer.toString()}get referrerPolicy(){return oe.brandCheck(this,t),this[Ve].referrerPolicy}get mode(){return oe.brandCheck(this,t),this[Ve].mode}get credentials(){return this[Ve].credentials}get cache(){return oe.brandCheck(this,t),this[Ve].cache}get redirect(){return oe.brandCheck(this,t),this[Ve].redirect}get integrity(){return oe.brandCheck(this,t),this[Ve].integrity}get keepalive(){return oe.brandCheck(this,t),this[Ve].keepalive}get isReloadNavigation(){return oe.brandCheck(this,t),this[Ve].reloadNavigation}get isHistoryNavigation(){return oe.brandCheck(this,t),this[Ve].historyNavigation}get signal(){return oe.brandCheck(this,t),this[ul]}get body(){return oe.brandCheck(this,t),this[Ve].body?this[Ve].body.stream:null}get bodyUsed(){return oe.brandCheck(this,t),!!this[Ve].body&&cl.isDisturbed(this[Ve].body.stream)}get duplex(){return oe.brandCheck(this,t),"half"}clone(){if(oe.brandCheck(this,t),kb(this))throw new TypeError("unusable");let e=Pb(this[Ve]),n=new AbortController;if(this.signal.aborted)n.abort(this.signal.reason);else{let r=dl.get(this.signal);r===void 0&&(r=new Set,dl.set(this.signal,r));let s=new WeakRef(n);r.add(s),cl.addAbortListener(n.signal,Fb(s))}return Ob(e,n.signal,t1(this[un]))}[Rb.inspect.custom](e,n){n.depth===null&&(n.depth=2),n.colors??=!0;let r={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 ${Rb.formatWithOptions(n,r)}`}};ZO(Cs);function pl(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 Al(t.headersList):new Al}}function Pb(t){let e=pl({...t,body:null});return t.body!=null&&(e.body=XO(e,t.body)),e}function Ob(t,e,n){let r=new Cs(ll);return r[Ve]=t,r[ul]=e,r[un]=new _b(ll),Ub(r[un],t.headersList),sg(r[un],n),r}Object.defineProperties(Cs.prototype,{method:rt,url:rt,headers:rt,redirect:rt,clone:rt,signal:rt,duplex:rt,destination:rt,body:rt,bodyUsed:rt,isHistoryNavigation:rt,isReloadNavigation:rt,keepalive:rt,integrity:rt,cache:rt,credentials:rt,attribute:rt,referrerPolicy:rt,referrer:rt,mode:rt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});oe.converters.Request=oe.interfaceConverter(Cs);oe.converters.RequestInfo=function(t,e,n){return typeof t=="string"?oe.converters.USVString(t,e,n):t instanceof Cs?oe.converters.Request(t,e,n):oe.converters.USVString(t,e,n)};oe.converters.AbortSignal=oe.interfaceConverter(AbortSignal);oe.converters.RequestInit=oe.dictionaryConverter([{key:"method",converter:oe.converters.ByteString},{key:"headers",converter:oe.converters.HeadersInit},{key:"body",converter:oe.nullableConverter(oe.converters.BodyInit)},{key:"referrer",converter:oe.converters.USVString},{key:"referrerPolicy",converter:oe.converters.DOMString,allowedValues:o1},{key:"mode",converter:oe.converters.DOMString,allowedValues:c1},{key:"credentials",converter:oe.converters.DOMString,allowedValues:u1},{key:"cache",converter:oe.converters.DOMString,allowedValues:A1},{key:"redirect",converter:oe.converters.DOMString,allowedValues:a1},{key:"integrity",converter:oe.converters.DOMString},{key:"keepalive",converter:oe.converters.boolean},{key:"signal",converter:oe.nullableConverter(t=>oe.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:oe.converters.any},{key:"duplex",converter:oe.converters.DOMString,allowedValues:l1},{key:"dispatcher",converter:oe.converters.any}]);$b.exports={Request:Cs,makeRequest:pl,fromInnerRequest:Ob,cloneRequest:Pb}});var Pc=L((k3,nS)=>{"use strict";var{makeNetworkError:Ne,makeAppropriateNetworkError:hl,filterResponse:ig,makeResponse:fl,fromInnerResponse:y1}=Uc(),{HeadersList:Vb}=Ii(),{Request:E1,cloneRequest:C1}=na(),Is=require("node:zlib"),{bytesMatch:I1,makePolicyContainer:B1,clonePolicyContainer:w1,requestBadPort:Q1,TAOCheck:b1,appendRequestOriginHeader:S1,responseLocationURL:k1,requestCurrentURL:lr,setRequestReferrerPolicyOnRedirect:v1,tryUpgradeRequestToAPotentiallyTrustworthyURL:R1,createOpaqueTimingInfo:Ag,appendFetchMetadata:x1,corsCheck:T1,crossOriginResourcePolicyCheck:D1,determineRequestsReferrer:N1,coarsenedSharedCurrentTime:Lc,createDeferredPromise:F1,isBlobLike:M1,sameOrigin:ug,isCancelled:wi,isAborted:Gb,isErrorLike:_1,fullyReadBody:U1,readableStreamClose:L1,isomorphicEncode:gl,urlIsLocal:P1,urlIsHttpHttpsScheme:lg,urlHasHttpsScheme:O1,clampAndCoarsenConnectionTimingInfo:$1,simpleRangeHeaderValue:V1,buildContentRange:G1,createInflate:H1,extractMimeType:Y1}=nn(),{kState:jb,kDispatcher:q1}=us(),Qi=require("node:assert"),{safelyExtractBody:dg,extractBody:Hb}=Mo(),{redirectStatusSet:Jb,nullBodyStatus:Wb,safeMethodsSet:j1,requestBodyHeader:J1,subresourceSet:W1}=ic(),z1=require("node:events"),{Readable:K1,pipeline:Z1,finished:X1}=require("node:stream"),{addAbortListener:e$,isErrored:t$,isReadable:ml,bufferToLowerCasedHeaderName:Yb}=Ie(),{dataURLProcessor:n$,serializeAMimeType:r$,minimizeSupportedMimeType:s$}=Pt(),{getGlobalDispatcher:i$}=Fc(),{webidl:o$}=ft(),{STATUS_CODES:a$}=require("node:http"),c$=["GET","HEAD"],u$=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",og,yl=class extends z1{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 A$(t){zb(t,"fetch")}function l$(t,e=void 0){o$.argumentLengthCheck(arguments,1,"globalThis.fetch");let n=F1(),r;try{r=new E1(t,e)}catch(p){return n.reject(p),n.promise}let s=r[jb];if(r.signal.aborted)return ag(n,s,null,r.signal.reason),n.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let a=null,c=!1,A=null;return e$(r.signal,()=>{c=!0,Qi(A!=null),A.abort(r.signal.reason);let p=a?.deref();ag(n,s,p,r.signal.reason)}),A=Zb({request:s,processResponseEndOfBody:A$,processResponse:p=>{if(!c){if(p.aborted){ag(n,s,a,A.serializedAbortReason);return}if(p.type==="error"){n.reject(new TypeError("fetch failed",{cause:p.error}));return}a=new WeakRef(y1(p,"immutable")),n.resolve(a.deref()),n=null}},dispatcher:r[q1]}),n.promise}function zb(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let n=t.urlList[0],r=t.timingInfo,s=t.cacheState;lg(n)&&r!==null&&(t.timingAllowPassed||(r=Ag({startTime:r.startTime}),s=""),r.endTime=Lc(),t.timingInfo=r,Kb(r,n.href,e,globalThis,s))}var Kb=performance.markResourceTiming;function ag(t,e,n,r){if(t&&t.reject(r),e.body!=null&&ml(e.body?.stream)&&e.body.stream.cancel(r).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),n==null)return;let s=n[jb];s.body!=null&&ml(s.body?.stream)&&s.body.stream.cancel(r).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}function Zb({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:n,processResponse:r,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=i$()}){Qi(c);let A=null,l=!1;t.client!=null&&(A=t.client.globalObject,l=t.client.crossOriginIsolatedCapability);let p=Lc(l),h=Ag({startTime:p}),g={controller:new yl(c),request:t,timingInfo:h,processRequestBodyChunkLength:e,processRequestEndOfBody:n,processResponse:r,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:A,crossOriginIsolatedCapability:l};return Qi(!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=w1(t.client.policyContainer):t.policyContainer=B1()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,W1.has(t.destination),Xb(g).catch(C=>{g.controller.terminate(C)}),g.controller}async function Xb(t,e=!1){let n=t.request,r=null;if(n.localURLsOnly&&!P1(lr(n))&&(r=Ne("local URLs only")),R1(n),Q1(n)==="blocked"&&(r=Ne("bad port")),n.referrerPolicy===""&&(n.referrerPolicy=n.policyContainer.referrerPolicy),n.referrer!=="no-referrer"&&(n.referrer=N1(n)),r===null&&(r=await(async()=>{let i=lr(n);return ug(i,n.url)&&n.responseTainting==="basic"||i.protocol==="data:"||n.mode==="navigate"||n.mode==="websocket"?(n.responseTainting="basic",await qb(t)):n.mode==="same-origin"?Ne('request mode cannot be "same-origin"'):n.mode==="no-cors"?n.redirect!=="follow"?Ne('redirect mode cannot be "follow" for "no-cors" request'):(n.responseTainting="opaque",await qb(t)):lg(lr(n))?(n.responseTainting="cors",await eS(t)):Ne("URL scheme must be a HTTP(S) scheme")})()),e)return r;r.status!==0&&!r.internalResponse&&(n.responseTainting,n.responseTainting==="basic"?r=ig(r,"basic"):n.responseTainting==="cors"?r=ig(r,"cors"):n.responseTainting==="opaque"?r=ig(r,"opaque"):Qi(!1));let s=r.status===0?r:r.internalResponse;if(s.urlList.length===0&&s.urlList.push(...n.urlList),n.timingAllowFailed||(r.timingAllowPassed=!0),r.type==="opaque"&&s.status===206&&s.rangeRequested&&!n.headers.contains("range",!0)&&(r=s=Ne()),r.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||Wb.includes(s.status))&&(s.body=null,t.controller.dump=!0),n.integrity){let i=c=>cg(t,Ne(c));if(n.responseTainting==="opaque"||r.body==null){i(r.error);return}let a=c=>{if(!I1(c,n.integrity)){i("integrity mismatch");return}r.body=dg(c)[0],cg(t,r)};await U1(r.body,a,i)}else cg(t,r)}function qb(t){if(wi(t)&&t.request.redirectCount===0)return Promise.resolve(hl(t));let{request:e}=t,{protocol:n}=lr(e);switch(n){case"about:":return Promise.resolve(Ne("about scheme is not supported"));case"blob:":{og||(og=require("node:buffer").resolveObjectURL);let r=lr(e);if(r.search.length!==0)return Promise.resolve(Ne("NetworkError when attempting to fetch resource."));let s=og(r.toString());if(e.method!=="GET"||!M1(s))return Promise.resolve(Ne("invalid method"));let i=fl(),a=s.size,c=gl(`${a}`),A=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let l=e.headersList.get("range",!0),p=V1(l,!0);if(p==="failure")return Promise.resolve(Ne("failed to fetch the data URL"));let{rangeStartValue:h,rangeEndValue:g}=p;if(h===null)h=a-g,g=h+g-1;else{if(h>=a)return Promise.resolve(Ne("Range start is greater than the blob's size."));(g===null||g>=a)&&(g=a-1)}let C=s.slice(h,g,A),S=Hb(C);i.body=S[0];let v=gl(`${C.size}`),T=G1(h,g,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",v,!0),i.headersList.set("content-type",A,!0),i.headersList.set("content-range",T,!0)}else{let l=Hb(s);i.statusText="OK",i.body=l[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",A,!0)}return Promise.resolve(i)}case"data:":{let r=lr(e),s=n$(r);if(s==="failure")return Promise.resolve(Ne("failed to fetch the data URL"));let i=r$(s.mimeType);return Promise.resolve(fl({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:dg(s.body)[0]}))}case"file:":return Promise.resolve(Ne("not implemented... yet..."));case"http:":case"https:":return eS(t).catch(r=>Ne(r));default:return Promise.resolve(Ne("unknown scheme"))}}function d$(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function cg(t,e){let n=t.timingInfo,r=()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=n),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;n.endTime=i;let c=e.cacheState,A=e.bodyInfo;e.timingAllowPassed||(n=Ag(n),c="");let l=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){l=e.status;let p=Y1(e.headersList);p!=="failure"&&(A.contentType=s$(p))}t.request.initiatorType!=null&&Kb(n,t.request.url.href,t.request.initiatorType,globalThis,c,A,l)};let a=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()};queueMicrotask(()=>a())};t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?r():X1(s.body.stream,()=>{r()})}async function eS(t){let e=t.request,n=null,r=null,s=t.timingInfo;if(e.serviceWorkers,n===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),r=n=await tS(t),e.responseTainting==="cors"&&T1(e,n)==="failure")return Ne("cors failure");b1(e,n)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||n.type==="opaque")&&D1(e.origin,e.client,e.destination,r)==="blocked"?Ne("blocked"):(Jb.has(r.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?n=Ne("unexpected redirect"):e.redirect==="manual"?n=r:e.redirect==="follow"?n=await p$(t,n):Qi(!1)),n.timingInfo=s,n)}function p$(t,e){let n=t.request,r=e.internalResponse?e.internalResponse:e,s;try{if(s=k1(r,lr(n).hash),s==null)return e}catch(a){return Promise.resolve(Ne(a))}if(!lg(s))return Promise.resolve(Ne("URL scheme must be a HTTP(S) scheme"));if(n.redirectCount===20)return Promise.resolve(Ne("redirect count exceeded"));if(n.redirectCount+=1,n.mode==="cors"&&(s.username||s.password)&&!ug(n,s))return Promise.resolve(Ne('cross origin not allowed for request mode "cors"'));if(n.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(Ne('URL cannot contain credentials for request mode "cors"'));if(r.status!==303&&n.body!=null&&n.body.source==null)return Promise.resolve(Ne());if([301,302].includes(r.status)&&n.method==="POST"||r.status===303&&!c$.includes(n.method)){n.method="GET",n.body=null;for(let a of J1)n.headersList.delete(a)}ug(lr(n),s)||(n.headersList.delete("authorization",!0),n.headersList.delete("proxy-authorization",!0),n.headersList.delete("cookie",!0),n.headersList.delete("host",!0)),n.body!=null&&(Qi(n.body.source!=null),n.body=dg(n.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=Lc(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),n.urlList.push(s),v1(n,r),Xb(t,!0)}async function tS(t,e=!1,n=!1){let r=t.request,s=null,i=null,a=null,c=null,A=!1;r.window==="no-window"&&r.redirect==="error"?(s=t,i=r):(i=C1(r),s={...t},s.request=i);let l=r.credentials==="include"||r.credentials==="same-origin"&&r.responseTainting==="basic",p=i.body?i.body.length:null,h=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(h="0"),p!=null&&(h=gl(`${p}`)),h!=null&&i.headersList.append("content-length",h,!0),p!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",gl(i.referrer.href),!0),S1(i),x1(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",u$),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(O1(lr(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return Ne("only if cached");let g=await h$(s,l,n);!j1.has(i.method)&&g.status>=200&&g.status<=399,A&&g.status,a==null&&(a=g)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=l,a.status===407)return r.window==="no-window"?Ne():wi(t)?hl(t):Ne("proxy authentication required");if(a.status===421&&!n&&(r.body==null||r.body.source!=null)){if(wi(t))return hl(t);t.controller.connection.destroy(),a=await tS(t,e,!0)}return a}async function h$(t,e=!1,n=!1){Qi(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(S,v=!0){this.destroyed||(this.destroyed=!0,v&&this.abort?.(S??new DOMException("The operation was aborted.","AbortError")))}};let r=t.request,s=null,i=t.timingInfo;null==null&&(r.cache="no-store");let c=n?"yes":"no";r.mode;let A=null;if(r.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(r.body!=null){let S=async function*(x){wi(t)||(yield x,t.processRequestBodyChunkLength?.(x.byteLength))},v=()=>{wi(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},T=x=>{wi(t)||(x.name==="AbortError"?t.controller.abort():t.controller.terminate(x))};A=(async function*(){try{for await(let x of r.body.stream)yield*S(x);v()}catch(x){T(x)}})()}try{let{body:S,status:v,statusText:T,headersList:x,socket:F}=await C({body:A});if(F)s=fl({status:v,statusText:T,headersList:x,socket:F});else{let Y=S[Symbol.asyncIterator]();t.controller.next=()=>Y.next(),s=fl({status:v,statusText:T,headersList:x})}}catch(S){return S.name==="AbortError"?(t.controller.connection.destroy(),hl(t,S)):Ne(S)}let l=async()=>{await t.controller.resume()},p=S=>{wi(t)||t.controller.abort(S)},h=new ReadableStream({async start(S){t.controller.controller=S},async pull(S){await l(S)},async cancel(S){await p(S)},type:"bytes"});s.body={stream:h,source:null,length:null},t.controller.resume||t.controller.on("terminated",g),t.controller.resume=async()=>{for(;;){let S,v;try{let{done:x,value:F}=await t.controller.next();if(Gb(t))break;S=x?void 0:F}catch(x){t.controller.ended&&!i.encodedBodySize?S=void 0:(S=x,v=!0)}if(S===void 0){L1(t.controller.controller),d$(t,s);return}if(i.decodedBodySize+=S?.byteLength??0,v){t.controller.terminate(S);return}let T=new Uint8Array(S);if(T.byteLength&&t.controller.controller.enqueue(T),t$(h)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function g(S){Gb(t)?(s.aborted=!0,ml(h)&&t.controller.controller.error(t.controller.serializedAbortReason)):ml(h)&&t.controller.controller.error(new TypeError("terminated",{cause:_1(S)?S:void 0})),t.controller.connection.destroy()}return s;function C({body:S}){let v=lr(r),T=t.controller.dispatcher;return new Promise((x,F)=>T.dispatch({path:v.pathname+v.search,origin:v.origin,method:r.method,body:T.isMockActive?r.body&&(r.body.source||r.body.stream):S,headers:r.headersList.entries,maxRedirections:0,upgrade:r.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(Y){let{connection:$}=t.controller;i.finalConnectionTimingInfo=$1(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),$.destroyed?Y(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",Y),this.abort=$.abort=Y),i.finalNetworkRequestStartTime=Lc(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=Lc(t.crossOriginIsolatedCapability)},onHeaders(Y,$,ae,ke){if(Y<200)return;let ve="",Ue=new Vb;for(let Ge=0;Ge<$.length;Ge+=2)Ue.append(Yb($[Ge]),$[Ge+1].toString("latin1"),!0);ve=Ue.get("location",!0);let We=[],Lt=ve&&r.redirect==="follow"&&Jb.has(Y);if(r.method!=="HEAD"&&r.method!=="CONNECT"&&!Wb.includes(Y)&&!Lt){let Ge=Ue.get("content-encoding",!0),ot=Ge?Ge.toLowerCase().split(","):[],fe=5;if(ot.length>fe)return this.abort(new Error(`too many content-encodings in response: ${ot.length}, maximum allowed is ${fe}`)),!0;for(let ut=ot.length-1;ut>=0;--ut){let D=ot[ut].trim();if(D==="x-gzip"||D==="gzip")We.push(Is.createGunzip({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(D==="deflate")We.push(H1({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(D==="br")We.push(Is.createBrotliDecompress({flush:Is.constants.BROTLI_OPERATION_FLUSH,finishFlush:Is.constants.BROTLI_OPERATION_FLUSH}));else{We.length=0;break}}}this.body=new K1({read:ae});let et=this.onError.bind(this);return x({status:Y,statusText:ke,headersList:Ue,body:We.length?Z1(this.body,...We,Ge=>{Ge&&this.onError(Ge)}).on("error",et):this.body.on("error",et)}),!0},onData(Y){if(t.controller.dump)return;let $=Y;return i.encodedBodySize+=$.byteLength,this.body.push($)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.ended=!0,this.body.push(null)},onError(Y){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(Y),t.controller.terminate(Y),F(Y)},onUpgrade(Y,$,ae){if(Y!==101)return;let ke=new Vb;for(let ve=0;ve<$.length;ve+=2)ke.append(Yb($[ve]),$[ve+1].toString("latin1"),!0);return x({status:Y,statusText:a$[Y],headersList:ke,socket:ae}),!0}}))}}nS.exports={fetch:l$,Fetch:yl,fetching:Zb,finalizeAndReportTiming:zb}});var pg=L((v3,rS)=>{"use strict";rS.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 iS=L((R3,sS)=>{"use strict";var{webidl:An}=ft(),El=Symbol("ProgressEvent state"),hg=class t extends Event{constructor(e,n={}){e=An.converters.DOMString(e,"ProgressEvent constructor","type"),n=An.converters.ProgressEventInit(n??{}),super(e,n),this[El]={lengthComputable:n.lengthComputable,loaded:n.loaded,total:n.total}}get lengthComputable(){return An.brandCheck(this,t),this[El].lengthComputable}get loaded(){return An.brandCheck(this,t),this[El].loaded}get total(){return An.brandCheck(this,t),this[El].total}};An.converters.ProgressEventInit=An.dictionaryConverter([{key:"lengthComputable",converter:An.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:An.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:An.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:An.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:An.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:An.converters.boolean,defaultValue:()=>!1}]);sS.exports={ProgressEvent:hg}});var aS=L((x3,oS)=>{"use strict";function f$(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"}}oS.exports={getEncoding:f$}});var fS=L((T3,hS)=>{"use strict";var{kState:ra,kError:fg,kResult:cS,kAborted:Oc,kLastProgressEventFired:gg}=pg(),{ProgressEvent:g$}=iS(),{getEncoding:uS}=aS(),{serializeAMimeType:m$,parseMIMEType:AS}=Pt(),{types:y$}=require("node:util"),{StringDecoder:lS}=require("string_decoder"),{btoa:dS}=require("node:buffer"),E$={enumerable:!0,writable:!1,configurable:!1};function C$(t,e,n,r){if(t[ra]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[ra]="loading",t[cS]=null,t[fg]=null;let i=e.stream().getReader(),a=[],c=i.read(),A=!0;(async()=>{for(;!t[Oc];)try{let{done:l,value:p}=await c;if(A&&!t[Oc]&&queueMicrotask(()=>{Bs("loadstart",t)}),A=!1,!l&&y$.isUint8Array(p))a.push(p),(t[gg]===void 0||Date.now()-t[gg]>=50)&&!t[Oc]&&(t[gg]=Date.now(),queueMicrotask(()=>{Bs("progress",t)})),c=i.read();else if(l){queueMicrotask(()=>{t[ra]="done";try{let h=I$(a,n,e.type,r);if(t[Oc])return;t[cS]=h,Bs("load",t)}catch(h){t[fg]=h,Bs("error",t)}t[ra]!=="loading"&&Bs("loadend",t)});break}}catch(l){if(t[Oc])return;queueMicrotask(()=>{t[ra]="done",t[fg]=l,Bs("error",t),t[ra]!=="loading"&&Bs("loadend",t)});break}})()}function Bs(t,e){let n=new g$(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}function I$(t,e,n,r){switch(e){case"DataURL":{let s="data:",i=AS(n||"application/octet-stream");i!=="failure"&&(s+=m$(i)),s+=";base64,";let a=new lS("latin1");for(let c of t)s+=dS(a.write(c));return s+=dS(a.end()),s}case"Text":{let s="failure";if(r&&(s=uS(r)),s==="failure"&&n){let i=AS(n);i!=="failure"&&(s=uS(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),B$(t,s)}case"ArrayBuffer":return pS(t).buffer;case"BinaryString":{let s="",i=new lS("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}function B$(t,e){let n=pS(t),r=w$(n),s=0;r!==null&&(e=r,s=r==="UTF-8"?3:2);let i=n.slice(s);return new TextDecoder(e).decode(i)}function w$(t){let[e,n,r]=t;return e===239&&n===187&&r===191?"UTF-8":e===254&&n===255?"UTF-16BE":e===255&&n===254?"UTF-16LE":null}function pS(t){let e=t.reduce((r,s)=>r+s.byteLength,0),n=0;return t.reduce((r,s)=>(r.set(s,n),n+=s.byteLength,r),new Uint8Array(e))}hS.exports={staticPropertyDescriptors:E$,readOperation:C$,fireAProgressEvent:Bs}});var ES=L((D3,yS)=>{"use strict";var{staticPropertyDescriptors:sa,readOperation:Cl,fireAProgressEvent:gS}=fS(),{kState:bi,kError:mS,kResult:Il,kEvents:Te,kAborted:Q$}=pg(),{webidl:_e}=ft(),{kEnumerableProperty:Vt}=Ie(),qn=class t extends EventTarget{constructor(){super(),this[bi]="empty",this[Il]=null,this[mS]=null,this[Te]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){_e.brandCheck(this,t),_e.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=_e.converters.Blob(e,{strict:!1}),Cl(this,e,"ArrayBuffer")}readAsBinaryString(e){_e.brandCheck(this,t),_e.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=_e.converters.Blob(e,{strict:!1}),Cl(this,e,"BinaryString")}readAsText(e,n=void 0){_e.brandCheck(this,t),_e.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=_e.converters.Blob(e,{strict:!1}),n!==void 0&&(n=_e.converters.DOMString(n,"FileReader.readAsText","encoding")),Cl(this,e,"Text",n)}readAsDataURL(e){_e.brandCheck(this,t),_e.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=_e.converters.Blob(e,{strict:!1}),Cl(this,e,"DataURL")}abort(){if(this[bi]==="empty"||this[bi]==="done"){this[Il]=null;return}this[bi]==="loading"&&(this[bi]="done",this[Il]=null),this[Q$]=!0,gS("abort",this),this[bi]!=="loading"&&gS("loadend",this)}get readyState(){switch(_e.brandCheck(this,t),this[bi]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return _e.brandCheck(this,t),this[Il]}get error(){return _e.brandCheck(this,t),this[mS]}get onloadend(){return _e.brandCheck(this,t),this[Te].loadend}set onloadend(e){_e.brandCheck(this,t),this[Te].loadend&&this.removeEventListener("loadend",this[Te].loadend),typeof e=="function"?(this[Te].loadend=e,this.addEventListener("loadend",e)):this[Te].loadend=null}get onerror(){return _e.brandCheck(this,t),this[Te].error}set onerror(e){_e.brandCheck(this,t),this[Te].error&&this.removeEventListener("error",this[Te].error),typeof e=="function"?(this[Te].error=e,this.addEventListener("error",e)):this[Te].error=null}get onloadstart(){return _e.brandCheck(this,t),this[Te].loadstart}set onloadstart(e){_e.brandCheck(this,t),this[Te].loadstart&&this.removeEventListener("loadstart",this[Te].loadstart),typeof e=="function"?(this[Te].loadstart=e,this.addEventListener("loadstart",e)):this[Te].loadstart=null}get onprogress(){return _e.brandCheck(this,t),this[Te].progress}set onprogress(e){_e.brandCheck(this,t),this[Te].progress&&this.removeEventListener("progress",this[Te].progress),typeof e=="function"?(this[Te].progress=e,this.addEventListener("progress",e)):this[Te].progress=null}get onload(){return _e.brandCheck(this,t),this[Te].load}set onload(e){_e.brandCheck(this,t),this[Te].load&&this.removeEventListener("load",this[Te].load),typeof e=="function"?(this[Te].load=e,this.addEventListener("load",e)):this[Te].load=null}get onabort(){return _e.brandCheck(this,t),this[Te].abort}set onabort(e){_e.brandCheck(this,t),this[Te].abort&&this.removeEventListener("abort",this[Te].abort),typeof e=="function"?(this[Te].abort=e,this.addEventListener("abort",e)):this[Te].abort=null}};qn.EMPTY=qn.prototype.EMPTY=0;qn.LOADING=qn.prototype.LOADING=1;qn.DONE=qn.prototype.DONE=2;Object.defineProperties(qn.prototype,{EMPTY:sa,LOADING:sa,DONE:sa,readAsArrayBuffer:Vt,readAsBinaryString:Vt,readAsText:Vt,readAsDataURL:Vt,abort:Vt,readyState:Vt,result:Vt,error:Vt,onloadstart:Vt,onprogress:Vt,onload:Vt,onabort:Vt,onerror:Vt,onloadend:Vt,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(qn,{EMPTY:sa,LOADING:sa,DONE:sa});yS.exports={FileReader:qn}});var Bl=L((N3,CS)=>{"use strict";CS.exports={kConstruct:He().kConstruct}});var wS=L((F3,BS)=>{"use strict";var b$=require("node:assert"),{URLSerializer:IS}=Pt(),{isValidHeaderName:S$}=nn();function k$(t,e,n=!1){let r=IS(t,n),s=IS(e,n);return r===s}function v$(t){b$(t!==null);let e=[];for(let n of t.split(","))n=n.trim(),S$(n)&&e.push(n);return e}BS.exports={urlEquals:k$,getFieldValues:v$}});var SS=L((M3,bS)=>{"use strict";var{kConstruct:R$}=Bl(),{urlEquals:x$,getFieldValues:mg}=wS(),{kEnumerableProperty:Si,isDisturbed:T$}=Ie(),{webidl:te}=ft(),{Response:D$,cloneResponse:N$,fromInnerResponse:F$}=Uc(),{Request:$r,fromInnerRequest:M$}=na(),{kState:jn}=us(),{fetching:_$}=Pc(),{urlIsHttpHttpsScheme:wl,createDeferredPromise:ia,readAllBytes:U$}=nn(),yg=require("node:assert"),Ql=class t{#e;constructor(){arguments[0]!==R$&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,n={}){te.brandCheck(this,t);let r="Cache.match";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.CacheQueryOptions(n,r,"options");let s=this.#i(e,n,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,n={}){te.brandCheck(this,t);let r="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,r,"request")),n=te.converters.CacheQueryOptions(n,r,"options"),this.#i(e,n)}async add(e){te.brandCheck(this,t);let n="Cache.add";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request");let r=[e];return await this.addAll(r)}async addAll(e){te.brandCheck(this,t);let n="Cache.addAll";te.argumentLengthCheck(arguments,1,n);let r=[],s=[];for(let g of e){if(g===void 0)throw te.errors.conversionFailed({prefix:n,argument:"Argument 1",types:["undefined is not allowed"]});if(g=te.converters.RequestInfo(g),typeof g=="string")continue;let C=g[jn];if(!wl(C.url)||C.method!=="GET")throw te.errors.exception({header:n,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let g of e){let C=new $r(g)[jn];if(!wl(C.url))throw te.errors.exception({header:n,message:"Expected http/s scheme."});C.initiator="fetch",C.destination="subresource",s.push(C);let S=ia();i.push(_$({request:C,processResponse(v){if(v.type==="error"||v.status===206||v.status<200||v.status>299)S.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(v.headersList.contains("vary")){let T=mg(v.headersList.get("vary"));for(let x of T)if(x==="*"){S.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let F of i)F.abort();return}}},processResponseEndOfBody(v){if(v.aborted){S.reject(new DOMException("aborted","AbortError"));return}S.resolve(v)}})),r.push(S.promise)}let c=await Promise.all(r),A=[],l=0;for(let g of c){let C={type:"put",request:s[l],response:g};A.push(C),l++}let p=ia(),h=null;try{this.#t(A)}catch(g){h=g}return queueMicrotask(()=>{h===null?p.resolve(void 0):p.reject(h)}),p.promise}async put(e,n){te.brandCheck(this,t);let r="Cache.put";te.argumentLengthCheck(arguments,2,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.Response(n,r,"response");let s=null;if(e instanceof $r?s=e[jn]:s=new $r(e)[jn],!wl(s.url)||s.method!=="GET")throw te.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let i=n[jn];if(i.status===206)throw te.errors.exception({header:r,message:"Got 206 status"});if(i.headersList.contains("vary")){let C=mg(i.headersList.get("vary"));for(let S of C)if(S==="*")throw te.errors.exception({header:r,message:"Got * vary field value"})}if(i.body&&(T$(i.body.stream)||i.body.stream.locked))throw te.errors.exception({header:r,message:"Response body is locked or disturbed"});let a=N$(i),c=ia();if(i.body!=null){let S=i.body.stream.getReader();U$(S).then(c.resolve,c.reject)}else c.resolve(void 0);let A=[],l={type:"put",request:s,response:a};A.push(l);let p=await c.promise;a.body!=null&&(a.body.source=p);let h=ia(),g=null;try{this.#t(A)}catch(C){g=C}return queueMicrotask(()=>{g===null?h.resolve():h.reject(g)}),h.promise}async delete(e,n={}){te.brandCheck(this,t);let r="Cache.delete";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request"),n=te.converters.CacheQueryOptions(n,r,"options");let s=null;if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return!1}else yg(typeof e=="string"),s=new $r(e)[jn];let i=[],a={type:"delete",request:s,options:n};i.push(a);let c=ia(),A=null,l;try{l=this.#t(i)}catch(p){A=p}return queueMicrotask(()=>{A===null?c.resolve(!!l?.length):c.reject(A)}),c.promise}async keys(e=void 0,n={}){te.brandCheck(this,t);let r="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,r,"request")),n=te.converters.CacheQueryOptions(n,r,"options");let s=null;if(e!==void 0)if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return[]}else typeof e=="string"&&(s=new $r(e)[jn]);let i=ia(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#n(s,n);for(let A of c)a.push(A[0])}return queueMicrotask(()=>{let c=[];for(let A of a){let l=M$(A,new AbortController().signal,"immutable");c.push(l)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let n=this.#e,r=[...n],s=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,s).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 A of c){let l=n.indexOf(A);yg(l!==-1),n.splice(l,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let A=a.request;if(!wl(A.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(A.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let l of c){let p=n.indexOf(l);yg(p!==-1),n.splice(p,1)}n.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=r,a}}#n(e,n,r){let s=[],i=r??this.#e;for(let a of i){let[c,A]=a;this.#s(e,c,A,n)&&s.push(a)}return s}#s(e,n,r=null,s){let i=new URL(e.url),a=new URL(n.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!x$(i,a,!0))return!1;if(r==null||s?.ignoreVary||!r.headersList.contains("vary"))return!0;let c=mg(r.headersList.get("vary"));for(let A of c){if(A==="*")return!1;let l=n.headersList.get(A),p=e.headersList.get(A);if(l!==p)return!1}return!0}#i(e,n,r=1/0){let s=null;if(e!==void 0)if(e instanceof $r){if(s=e[jn],s.method!=="GET"&&!n.ignoreMethod)return[]}else typeof e=="string"&&(s=new $r(e)[jn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#n(s,n);for(let A of c)i.push(A[1])}let a=[];for(let c of i){let A=F$(c,"immutable");if(a.push(A.clone()),a.length>=r)break}return Object.freeze(a)}};Object.defineProperties(Ql.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Si,matchAll:Si,add:Si,addAll:Si,put:Si,delete:Si,keys:Si});var QS=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter(QS);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...QS,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(D$);te.converters["sequence<RequestInfo>"]=te.sequenceConverter(te.converters.RequestInfo);bS.exports={Cache:Ql}});var vS=L((_3,kS)=>{"use strict";var{kConstruct:$c}=Bl(),{Cache:bl}=SS(),{webidl:Ct}=ft(),{kEnumerableProperty:Vc}=Ie(),Sl=class t{#e=new Map;constructor(){arguments[0]!==$c&&Ct.illegalConstructor(),Ct.util.markAsUncloneable(this)}async match(e,n={}){if(Ct.brandCheck(this,t),Ct.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ct.converters.RequestInfo(e),n=Ct.converters.MultiCacheQueryOptions(n),n.cacheName!=null){if(this.#e.has(n.cacheName)){let r=this.#e.get(n.cacheName);return await new bl($c,r).match(e,n)}}else for(let r of this.#e.values()){let i=await new bl($c,r).match(e,n);if(i!==void 0)return i}}async has(e){Ct.brandCheck(this,t);let n="CacheStorage.has";return Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.has(e)}async open(e){Ct.brandCheck(this,t);let n="CacheStorage.open";if(Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new bl($c,s)}let r=[];return this.#e.set(e,r),new bl($c,r)}async delete(e){Ct.brandCheck(this,t);let n="CacheStorage.delete";return Ct.argumentLengthCheck(arguments,1,n),e=Ct.converters.DOMString(e,n,"cacheName"),this.#e.delete(e)}async keys(){return Ct.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Sl.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Vc,has:Vc,open:Vc,delete:Vc,keys:Vc});kS.exports={CacheStorage:Sl}});var xS=L((U3,RS)=>{"use strict";RS.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var Ig=L((L3,FS)=>{"use strict";function L$(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n>=0&&n<=8||n>=10&&n<=31||n===127)return!0}return!1}function Eg(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<33||n>126||n===34||n===40||n===41||n===60||n===62||n===64||n===44||n===59||n===58||n===92||n===47||n===91||n===93||n===63||n===61||n===123||n===125)throw new Error("Invalid cookie name")}}function Cg(t){let e=t.length,n=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++n}for(;n<e;){let r=t.charCodeAt(n++);if(r<33||r>126||r===34||r===44||r===59||r===92)throw new Error("Invalid cookie value")}}function DS(t){for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<32||n>126||n===59)throw new Error("Invalid cookie path")}}function TS(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function P$(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let n=0;n<t.length;++n){let r=t.charCodeAt(n);if(r===46){if(e===0)throw new Error("Invalid cookie domain");if(t.charCodeAt(n-1)===45)throw new Error("Invalid cookie domain");e=0;continue}if(e===0&&!TS(r))throw new Error("Invalid cookie domain");if(!TS(r)&&r!==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")}var O$=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$$=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],kl=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function NS(t){return typeof t=="number"&&(t=new Date(t)),`${O$[t.getUTCDay()]}, ${kl[t.getUTCDate()]} ${$$[t.getUTCMonth()]} ${t.getUTCFullYear()} ${kl[t.getUTCHours()]}:${kl[t.getUTCMinutes()]}:${kl[t.getUTCSeconds()]} GMT`}function V$(t){if(t<0)throw new Error("Invalid cookie max-age")}function G$(t){if(t.name.length===0)return null;Eg(t.name),Cg(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"&&(V$(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(P$(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(DS(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${NS(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let n of t.unparsed){if(!n.includes("="))throw new Error("Invalid unparsed");let[r,...s]=n.split("="),i=r.trim(),a=s.join("=");Eg(i),Cg(a),e.push(`${i}=${a}`)}return e.join("; ")}FS.exports={isCTLExcludingHtab:L$,validateCookieName:Eg,validateCookiePath:DS,validateCookieValue:Cg,toIMFDate:NS,stringify:G$}});var _S=L((P3,MS)=>{"use strict";var{maxNameValuePairSize:H$,maxAttributeValueSize:Y$}=xS(),{isCTLExcludingHtab:q$}=Ig(),{collectASequenceOfCodePointsFast:vl}=Pt(),j$=require("node:assert");function J$(t){if(q$(t))return null;let e="",n="",r="",s="";if(t.includes(";")){let i={position:0};e=vl(";",t,i),n=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};r=vl("=",e,i),s=e.slice(i.position+1)}return r=r.trim(),s=s.trim(),r.length+s.length>H$?null:{name:r,value:s,...oa(n)}}function oa(t,e={}){if(t.length===0)return e;j$(t[0]===";"),t=t.slice(1);let n="";t.includes(";")?(n=vl(";",t,{position:0}),t=t.slice(n.length)):(n=t,t="");let r="",s="";if(n.includes("=")){let a={position:0};r=vl("=",n,a),s=n.slice(a.position+1)}else r=n;if(r=r.trim(),s=s.trim(),s.length>Y$)return oa(t,e);let i=r.toLowerCase();if(i==="expires"){let a=new Date(s);e.expires=a}else if(i==="max-age"){let a=s.charCodeAt(0);if((a<48||a>57)&&s[0]!=="-"||!/^\d+$/.test(s))return oa(t,e);let c=Number(s);e.maxAge=c}else if(i==="domain"){let a=s;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";s.length===0||s[0]!=="/"?a="/":a=s,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=s.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${r}=${s}`);return oa(t,e)}MS.exports={parseSetCookie:J$,parseUnparsedAttributes:oa}});var PS=L((O3,LS)=>{"use strict";var{parseSetCookie:W$}=_S(),{stringify:z$}=Ig(),{webidl:be}=ft(),{Headers:Rl}=Ii();function K$(t){be.argumentLengthCheck(arguments,1,"getCookies"),be.brandCheck(t,Rl,{strict:!1});let e=t.get("cookie"),n={};if(!e)return n;for(let r of e.split(";")){let[s,...i]=r.split("=");n[s.trim()]=i.join("=")}return n}function Z$(t,e,n){be.brandCheck(t,Rl,{strict:!1});let r="deleteCookie";be.argumentLengthCheck(arguments,2,r),e=be.converters.DOMString(e,r,"name"),n=be.converters.DeleteCookieAttributes(n),US(t,{name:e,value:"",expires:new Date(0),...n})}function X$(t){be.argumentLengthCheck(arguments,1,"getSetCookies"),be.brandCheck(t,Rl,{strict:!1});let e=t.getSetCookie();return e?e.map(n=>W$(n)):[]}function US(t,e){be.argumentLengthCheck(arguments,2,"setCookie"),be.brandCheck(t,Rl,{strict:!1}),e=be.converters.Cookie(e);let n=z$(e);n&&t.append("Set-Cookie",n)}be.converters.DeleteCookieAttributes=be.dictionaryConverter([{converter:be.nullableConverter(be.converters.DOMString),key:"path",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"domain",defaultValue:()=>null}]);be.converters.Cookie=be.dictionaryConverter([{converter:be.converters.DOMString,key:"name"},{converter:be.converters.DOMString,key:"value"},{converter:be.nullableConverter(t=>typeof t=="number"?be.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:be.nullableConverter(be.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.DOMString),key:"path",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.boolean),key:"secure",defaultValue:()=>null},{converter:be.nullableConverter(be.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:be.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:be.sequenceConverter(be.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);LS.exports={getCookies:K$,deleteCookie:Z$,getSetCookies:X$,setCookie:US}});var ca=L(($3,$S)=>{"use strict";var{webidl:X}=ft(),{kEnumerableProperty:Gt}=Ie(),{kConstruct:OS}=He(),{MessagePort:eV}=require("node:worker_threads"),aa=class t extends Event{#e;constructor(e,n={}){if(e===OS){super(arguments[1],arguments[2]),X.util.markAsUncloneable(this);return}let r="MessageEvent constructor";X.argumentLengthCheck(arguments,1,r),e=X.converters.DOMString(e,r,"type"),n=X.converters.MessageEventInit(n,r,"eventInitDict"),super(e,n),this.#e=n,X.util.markAsUncloneable(this)}get data(){return X.brandCheck(this,t),this.#e.data}get origin(){return X.brandCheck(this,t),this.#e.origin}get lastEventId(){return X.brandCheck(this,t),this.#e.lastEventId}get source(){return X.brandCheck(this,t),this.#e.source}get ports(){return X.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,n=!1,r=!1,s=null,i="",a="",c=null,A=[]){return X.brandCheck(this,t),X.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:n,cancelable:r,data:s,origin:i,lastEventId:a,source:c,ports:A})}static createFastMessageEvent(e,n){let r=new t(OS,e,n);return r.#e=n,r.#e.data??=null,r.#e.origin??="",r.#e.lastEventId??="",r.#e.source??=null,r.#e.ports??=[],r}},{createFastMessageEvent:tV}=aa;delete aa.createFastMessageEvent;var xl=class t extends Event{#e;constructor(e,n={}){let r="CloseEvent constructor";X.argumentLengthCheck(arguments,1,r),e=X.converters.DOMString(e,r,"type"),n=X.converters.CloseEventInit(n),super(e,n),this.#e=n,X.util.markAsUncloneable(this)}get wasClean(){return X.brandCheck(this,t),this.#e.wasClean}get code(){return X.brandCheck(this,t),this.#e.code}get reason(){return X.brandCheck(this,t),this.#e.reason}},Tl=class t extends Event{#e;constructor(e,n){let r="ErrorEvent constructor";X.argumentLengthCheck(arguments,1,r),super(e,n),X.util.markAsUncloneable(this),e=X.converters.DOMString(e,r,"type"),n=X.converters.ErrorEventInit(n??{}),this.#e=n}get message(){return X.brandCheck(this,t),this.#e.message}get filename(){return X.brandCheck(this,t),this.#e.filename}get lineno(){return X.brandCheck(this,t),this.#e.lineno}get colno(){return X.brandCheck(this,t),this.#e.colno}get error(){return X.brandCheck(this,t),this.#e.error}};Object.defineProperties(aa.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Gt,origin:Gt,lastEventId:Gt,source:Gt,ports:Gt,initMessageEvent:Gt});Object.defineProperties(xl.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Gt,code:Gt,wasClean:Gt});Object.defineProperties(Tl.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Gt,filename:Gt,lineno:Gt,colno:Gt,error:Gt});X.converters.MessagePort=X.interfaceConverter(eV);X.converters["sequence<MessagePort>"]=X.sequenceConverter(X.converters.MessagePort);var Bg=[{key:"bubbles",converter:X.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:X.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:X.converters.boolean,defaultValue:()=>!1}];X.converters.MessageEventInit=X.dictionaryConverter([...Bg,{key:"data",converter:X.converters.any,defaultValue:()=>null},{key:"origin",converter:X.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:X.converters.DOMString,defaultValue:()=>""},{key:"source",converter:X.nullableConverter(X.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:X.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);X.converters.CloseEventInit=X.dictionaryConverter([...Bg,{key:"wasClean",converter:X.converters.boolean,defaultValue:()=>!1},{key:"code",converter:X.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:X.converters.USVString,defaultValue:()=>""}]);X.converters.ErrorEventInit=X.dictionaryConverter([...Bg,{key:"message",converter:X.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:X.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:X.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:X.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:X.converters.any}]);$S.exports={MessageEvent:aa,CloseEvent:xl,ErrorEvent:Tl,createFastMessageEvent:tV}});var ki=L((V3,VS)=>{"use strict";var nV="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",rV={enumerable:!0,writable:!1,configurable:!1},sV={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},iV={NOT_SENT:0,PROCESSING:1,SENT:2},oV={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},aV=2**16-1,cV={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},uV=Buffer.allocUnsafe(0),AV={string:1,typedArray:2,arrayBuffer:3,blob:4};VS.exports={uid:nV,sentCloseFrameState:iV,staticPropertyDescriptors:rV,states:sV,opcodes:oV,maxUnsigned16Bit:aV,parserStates:cV,emptyBuffer:uV,sendHints:AV}});var Gc=L((G3,GS)=>{"use strict";GS.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 qc=L((H3,ZS)=>{"use strict";var{kReadyState:Hc,kController:lV,kResponse:dV,kBinaryType:pV,kWebSocketURL:hV}=Gc(),{states:Yc,opcodes:ws}=ki(),{ErrorEvent:fV,createFastMessageEvent:gV}=ca(),{isUtf8:mV}=require("node:buffer"),{collectASequenceOfCodePointsFast:yV,removeHTTPWhitespace:HS}=Pt();function EV(t){return t[Hc]===Yc.CONNECTING}function CV(t){return t[Hc]===Yc.OPEN}function IV(t){return t[Hc]===Yc.CLOSING}function BV(t){return t[Hc]===Yc.CLOSED}function wg(t,e,n=(s,i)=>new Event(s,i),r={}){let s=n(t,r);e.dispatchEvent(s)}function wV(t,e,n){if(t[Hc]!==Yc.OPEN)return;let r;if(e===ws.TEXT)try{r=KS(n)}catch{qS(t,"Received invalid UTF-8 in text frame.");return}else e===ws.BINARY&&(t[pV]==="blob"?r=new Blob([n]):r=QV(n));wg("message",t,gV,{origin:t[hV].origin,data:r})}function QV(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function bV(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let n=t.charCodeAt(e);if(n<33||n>126||n===34||n===40||n===41||n===44||n===47||n===58||n===59||n===60||n===61||n===62||n===63||n===64||n===91||n===92||n===93||n===123||n===125)return!1}return!0}function SV(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function qS(t,e){let{[lV]:n,[dV]:r}=t;n.abort(),r?.socket&&!r.socket.destroyed&&r.socket.destroy(),e&&wg("error",t,(s,i)=>new fV(s,i),{error:new Error(e),message:e})}function jS(t){return t===ws.CLOSE||t===ws.PING||t===ws.PONG}function JS(t){return t===ws.CONTINUATION}function WS(t){return t===ws.TEXT||t===ws.BINARY}function kV(t){return WS(t)||JS(t)||jS(t)}function vV(t){let e={position:0},n=new Map;for(;e.position<t.length;){let r=yV(";",t,e),[s,i=""]=r.split("=");n.set(HS(s,!0,!1),HS(i,!1,!0)),e.position++}return n}function RV(t){if(t.length===0)return!1;for(let n=0;n<t.length;n++){let r=t.charCodeAt(n);if(r<48||r>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}var zS=typeof process.versions.icu=="string",YS=zS?new TextDecoder("utf-8",{fatal:!0}):void 0,KS=zS?YS.decode.bind(YS):function(t){if(mV(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};ZS.exports={isConnecting:EV,isEstablished:CV,isClosing:IV,isClosed:BV,fireEvent:wg,isValidSubprotocol:bV,isValidStatusCode:SV,failWebsocketConnection:qS,websocketMessageReceived:wV,utf8Decode:KS,isControlFrame:jS,isContinuationFrame:JS,isTextBinaryFrame:WS,isValidOpcode:kV,parseExtensions:vV,isValidClientWindowBits:RV}});var Nl=L((Y3,XS)=>{"use strict";var{maxUnsigned16Bit:xV}=ki(),Dl=16386,Qg,jc=null,ua=Dl;try{Qg=require("node:crypto")}catch{Qg={randomFillSync:function(e,n,r){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e}}}function TV(){return ua===Dl&&(ua=0,Qg.randomFillSync(jc??=Buffer.allocUnsafe(Dl),0,Dl)),[jc[ua++],jc[ua++],jc[ua++],jc[ua++]]}var bg=class{constructor(e){this.frameData=e}createFrame(e){let n=this.frameData,r=TV(),s=n?.byteLength??0,i=s,a=6;s>xV?(a+=8,i=127):s>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(s+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=r[0],c[a-3]=r[1],c[a-2]=r[2],c[a-1]=r[3],c[1]=i,i===126?c.writeUInt16BE(s,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(s,4,6)),c[1]|=128;for(let A=0;A<s;++A)c[a+A]=n[A]^r[A&3];return c}};XS.exports={WebsocketFrameSend:bg}});var kg=L((q3,ok)=>{"use strict";var{uid:DV,states:Jc,sentCloseFrameState:Fl,emptyBuffer:NV,opcodes:FV}=ki(),{kReadyState:Wc,kSentClose:Ml,kByteParser:tk,kReceivedClose:ek,kResponse:nk}=Gc(),{fireEvent:MV,failWebsocketConnection:Qs,isClosing:_V,isClosed:UV,isEstablished:LV,parseExtensions:PV}=qc(),{channels:Aa}=Bo(),{CloseEvent:OV}=ca(),{makeRequest:$V}=na(),{fetching:VV}=Pc(),{Headers:GV,getHeadersList:HV}=Ii(),{getDecodeSplit:YV}=nn(),{WebsocketFrameSend:qV}=Nl(),Sg;try{Sg=require("node:crypto")}catch{}function jV(t,e,n,r,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=$V({urlList:[a],client:n,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let h=HV(new GV(i.headers));c.headersList=h}let A=Sg.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",A),c.headersList.append("sec-websocket-version","13");for(let h of e)c.headersList.append("sec-websocket-protocol",h);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),VV({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(h){if(h.type==="error"||h.status!==101){Qs(r,"Received network error or non-101 status code.");return}if(e.length!==0&&!h.headersList.get("Sec-WebSocket-Protocol")){Qs(r,"Server did not respond with sent protocols.");return}if(h.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Qs(r,'Server did not set Upgrade header to "websocket".');return}if(h.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Qs(r,'Server did not set Connection header to "upgrade".');return}let g=h.headersList.get("Sec-WebSocket-Accept"),C=Sg.createHash("sha1").update(A+DV).digest("base64");if(g!==C){Qs(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let S=h.headersList.get("Sec-WebSocket-Extensions"),v;if(S!==null&&(v=PV(S),!v.has("permessage-deflate"))){Qs(r,"Sec-WebSocket-Extensions header does not match.");return}let T=h.headersList.get("Sec-WebSocket-Protocol");if(T!==null){let x=YV("sec-websocket-protocol",c.headersList);if(x===null||!x.includes(T)){Qs(r,"Protocol was not set in the opening handshake.");return}}h.socket.on("data",rk),h.socket.on("close",sk),h.socket.on("error",ik),Aa.open.hasSubscribers&&Aa.open.publish({address:h.socket.address(),protocol:T,extensions:S}),s(h,v)}})}function JV(t,e,n,r){if(!(_V(t)||UV(t)))if(!LV(t))Qs(t,"Connection was closed before it was established."),t[Wc]=Jc.CLOSING;else if(t[Ml]===Fl.NOT_SENT){t[Ml]=Fl.PROCESSING;let s=new qV;e!==void 0&&n===void 0?(s.frameData=Buffer.allocUnsafe(2),s.frameData.writeUInt16BE(e,0)):e!==void 0&&n!==void 0?(s.frameData=Buffer.allocUnsafe(2+r),s.frameData.writeUInt16BE(e,0),s.frameData.write(n,2,"utf-8")):s.frameData=NV,t[nk].socket.write(s.createFrame(FV.CLOSE)),t[Ml]=Fl.SENT,t[Wc]=Jc.CLOSING}else t[Wc]=Jc.CLOSING}function rk(t){this.ws[tk].write(t)||this.pause()}function sk(){let{ws:t}=this,{[nk]:e}=t;e.socket.off("data",rk),e.socket.off("close",sk),e.socket.off("error",ik);let n=t[Ml]===Fl.SENT&&t[ek],r=1005,s="",i=t[tk].closingInfo;i&&!i.error?(r=i.code??1005,s=i.reason):t[ek]||(r=1006),t[Wc]=Jc.CLOSED,MV("close",t,(a,c)=>new OV(a,c),{wasClean:n,code:r,reason:s}),Aa.close.hasSubscribers&&Aa.close.publish({websocket:t,code:r,reason:s})}function ik(t){let{ws:e}=this;e[Wc]=Jc.CLOSING,Aa.socketError.hasSubscribers&&Aa.socketError.publish(t),this.destroy()}ok.exports={establishWebSocketConnection:jV,closeWebSocketConnection:JV}});var ck=L((j3,ak)=>{"use strict";var{createInflateRaw:WV,Z_DEFAULT_WINDOWBITS:zV}=require("node:zlib"),{isValidClientWindowBits:KV}=qc(),{MessageSizeExceededError:ZV}=xe(),XV=Buffer.from([0,0,255,255]),_l=Symbol("kBuffer"),zc=Symbol("kLength"),vg=class{#e;#t={};#n=0;constructor(e,n){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#n=n.maxPayloadSize}decompress(e,n,r){if(!this.#e){let s=zV;if(this.#t.serverMaxWindowBits){if(!KV(this.#t.serverMaxWindowBits)){r(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=WV({windowBits:s})}catch(i){r(i);return}this.#e[_l]=[],this.#e[zc]=0,this.#e.on("data",i=>{if(this.#e[zc]+=i.length,this.#n>0&&this.#e[zc]>this.#n){r(new ZV),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[_l].push(i)}),this.#e.on("error",i=>{this.#e=null,r(i)})}this.#e.write(e),n&&this.#e.write(XV),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[_l],this.#e[zc]);this.#e[_l].length=0,this.#e[zc]=0,r(null,s)})}};ak.exports={PerMessageDeflate:vg}});var mk=L((J3,gk)=>{"use strict";var{Writable:eG}=require("node:stream"),tG=require("node:assert"),{parserStates:Ht,opcodes:la,states:nG,emptyBuffer:uk,sentCloseFrameState:Ak}=ki(),{kReadyState:rG,kSentClose:lk,kResponse:Rg,kReceivedClose:dk}=Gc(),{channels:Ul}=Bo(),{isValidStatusCode:sG,isValidOpcode:iG,failWebsocketConnection:ln,websocketMessageReceived:pk,utf8Decode:oG,isControlFrame:xg,isTextBinaryFrame:Tg,isContinuationFrame:aG}=qc(),{WebsocketFrameSend:hk}=Nl(),{closeWebSocketConnection:fk}=kg(),{PerMessageDeflate:cG}=ck(),{MessageSizeExceededError:Dg}=xe();function Kc(t,e,n){fk(t,e,n,Buffer.byteLength(n)),ln(t,n)}var Ng=class extends eG{#e=[];#t=0;#n=0;#s=!1;#i=Ht.INFO;#r={};#o=[];#a;#u;#c;constructor(e,n,r={}){super(),this.ws=e,this.#a=n??new Map,this.#u=r.maxFragments??0,this.#c=r.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new cG(n,r))}_write(e,n,r){this.#e.push(e),this.#n+=e.length,this.#s=!0,this.run(r)}#A(){return this.#c>0&&!xg(this.#r.opcode)&&this.#r.payloadLength+this.#t>this.#c?(Kc(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#s;)if(this.#i===Ht.INFO){if(this.#n<2)return e();let n=this.consume(2),r=(n[0]&128)!==0,s=n[0]&15,i=(n[1]&128)===128,a=!r&&s!==la.CONTINUATION,c=n[1]&127,A=n[0]&64,l=n[0]&32,p=n[0]&16;if(!iG(s))return ln(this.ws,"Invalid opcode received"),e();if(i)return ln(this.ws,"Frame cannot be masked"),e();if(A!==0&&!this.#a.has("permessage-deflate")){ln(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||p!==0){ln(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!Tg(s)){ln(this.ws,"Invalid frame type was fragmented.");return}if(Tg(s)&&this.#o.length>0){ln(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){ln(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&xg(s)){ln(this.ws,"Control frame either too large or fragmented");return}if(aG(s)&&this.#o.length===0&&!this.#r.compressed){ln(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#r.payloadLength=c,this.#i=Ht.READ_DATA,!this.#A())return}else c===126?this.#i=Ht.PAYLOADLENGTH_16:c===127&&(this.#i=Ht.PAYLOADLENGTH_64);Tg(s)&&(this.#r.binaryType=s,this.#r.compressed=A!==0),this.#r.opcode=s,this.#r.masked=i,this.#r.fin=r,this.#r.fragmented=a}else if(this.#i===Ht.PAYLOADLENGTH_16){if(this.#n<2)return e();let n=this.consume(2);if(this.#r.payloadLength=n.readUInt16BE(0),this.#i=Ht.READ_DATA,!this.#A())return}else if(this.#i===Ht.PAYLOADLENGTH_64){if(this.#n<8)return e();let n=this.consume(8),r=n.readUInt32BE(0),s=n.readUInt32BE(4);if(r!==0||s>2**31-1){ln(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#r.payloadLength=s,this.#i=Ht.READ_DATA,!this.#A())return}else if(this.#i===Ht.READ_DATA){if(this.#n<this.#r.payloadLength)return e();let n=this.consume(this.#r.payloadLength);if(xg(this.#r.opcode)){this.#s=this.parseControlFrame(n),this.#i=Ht.INFO;let r=this.ws[Rg].socket;if(this.#s&&r.writableNeedDrain){this.#s=!1,r.once("drain",()=>{this.destroyed||(this.#s=!0,this.run(e))});return}}else if(this.#r.compressed){this.#a.get("permessage-deflate").decompress(n,this.#r.fin,(r,s)=>{if(r){let i=r instanceof Dg?1009:1007;Kc(this.ws,i,r.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Kc(this.ws,1009,new Dg().message);return}if(!this.#r.fin){this.#i=Ht.INFO,this.#s=!0,this.run(e);return}pk(this.ws,this.#r.binaryType,this.consumeFragments()),this.#s=!0,this.#i=Ht.INFO,this.run(e)}}),this.#s=!1;break}else{if(!this.writeFragments(n))return;if(this.#c>0&&this.#t>this.#c){Kc(this.ws,1009,new Dg().message);return}!this.#r.fragmented&&this.#r.fin&&pk(this.ws,this.#r.binaryType,this.consumeFragments()),this.#i=Ht.INFO}}}consume(e){if(e>this.#n)throw new Error("Called consume() before buffers satiated.");if(e===0)return uk;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let n=Buffer.allocUnsafe(e),r=0;for(;r!==e;){let s=this.#e[0],{length:i}=s;if(i+r===e){n.set(this.#e.shift(),r);break}else if(i+r>e){n.set(s.subarray(0,e-r),r),this.#e[0]=s.subarray(e-r);break}else n.set(this.#e.shift(),r),r+=s.length}return this.#n-=e,n}writeFragments(e){return this.#u>0&&this.#o.length===this.#u?(Kc(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let n=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,n}parseCloseBody(e){tG(e.length!==1);let n;if(e.length>=2&&(n=e.readUInt16BE(0)),n!==void 0&&!sG(n))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);r[0]===239&&r[1]===187&&r[2]===191&&(r=r.subarray(3));try{r=oG(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:n,reason:r,error:!1}}parseControlFrame(e){let{opcode:n,payloadLength:r}=this.#r;if(n===la.CLOSE){if(r===1)return ln(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:s,reason:i}=this.#r.closeInfo;return fk(this.ws,s,i,i.length),ln(this.ws,i),!1}if(this.ws[lk]!==Ak.SENT){let s=uk;this.#r.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#r.closeInfo.code,0));let i=new hk(s);this.ws[Rg].socket.write(i.createFrame(la.CLOSE),a=>{a||(this.ws[lk]=Ak.SENT)})}return this.ws[rG]=nG.CLOSING,this.ws[dk]=!0,!1}else if(n===la.PING){if(!this.ws[dk]){let s=new hk(e);this.ws[Rg].socket.write(s.createFrame(la.PONG)),Ul.ping.hasSubscribers&&Ul.ping.publish({payload:e})}}else n===la.PONG&&Ul.pong.hasSubscribers&&Ul.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};gk.exports={ByteParser:Ng}});var Bk=L((W3,Ik)=>{"use strict";var{WebsocketFrameSend:uG}=Nl(),{opcodes:yk,sendHints:da}=ki(),AG=Uh(),Ek=Buffer[Symbol.species],Fg=class{#e=new AG;#t=!1;#n;constructor(e){this.#n=e}add(e,n,r){if(r!==da.blob){let i=Ck(e,r);if(!this.#t)this.#n.write(i,n);else{let a={promise:null,callback:n,frame:i};this.#e.push(a)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=Ck(i,r)}),callback:n,frame:null};this.#e.push(s),this.#t||this.#s()}async#s(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let n=e.shift();n.promise!==null&&await n.promise,this.#n.write(n.frame,n.callback),n.callback=n.frame=null}this.#t=!1}};function Ck(t,e){return new uG(lG(t,e)).createFrame(e===da.string?yk.TEXT:yk.BINARY)}function lG(t,e){switch(e){case da.string:return Buffer.from(t);case da.arrayBuffer:case da.blob:return new Ek(t);case da.typedArray:return new Ek(t.buffer,t.byteOffset,t.byteLength)}}Ik.exports={SendQueue:Fg}});var Dk=L((z3,Tk)=>{"use strict";var{webidl:de}=ft(),{URLSerializer:dG}=Pt(),{environmentSettingsObject:wk}=nn(),{staticPropertyDescriptors:bs,states:Zc,sentCloseFrameState:pG,sendHints:Ll}=ki(),{kWebSocketURL:Qk,kReadyState:Mg,kController:bk,kBinaryType:Pl,kResponse:Sk,kSentClose:hG,kByteParser:fG}=Gc(),{isConnecting:gG,isEstablished:mG,isClosing:yG,isValidSubprotocol:EG,fireEvent:kk}=qc(),{establishWebSocketConnection:CG,closeWebSocketConnection:vk}=kg(),{ByteParser:IG}=mk(),{kEnumerableProperty:Cn,isBlobLike:Rk}=Ie(),{getGlobalDispatcher:BG}=Fc(),{types:xk}=require("node:util"),{ErrorEvent:wG,CloseEvent:QG}=ca(),{SendQueue:bG}=Bk(),dn=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#n="";#s="";#i;constructor(e,n=[]){super(),de.util.markAsUncloneable(this);let r="WebSocket constructor";de.argumentLengthCheck(arguments,1,r);let s=de.converters["DOMString or sequence<DOMString> or WebSocketInit"](n,r,"options");e=de.converters.USVString(e,r,"url"),n=s.protocols;let i=wk.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(A){throw new DOMException(A,"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 n=="string"&&(n=[n]),n.length!==new Set(n.map(A=>A.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(n.length>0&&!n.every(A=>EG(A)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Qk]=new URL(a.href);let c=wk.settingsObject;this[bk]=CG(a,n,c,this,(A,l)=>this.#r(A,l),s),this[Mg]=t.CONNECTING,this[hG]=pG.NOT_SENT,this[Pl]="blob"}close(e=void 0,n=void 0){de.brandCheck(this,t);let r="WebSocket.close";if(e!==void 0&&(e=de.converters["unsigned short"](e,r,"code",{clamp:!0})),n!==void 0&&(n=de.converters.USVString(n,r,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let s=0;if(n!==void 0&&(s=Buffer.byteLength(n),s>123))throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError");vk(this,e,n,s)}send(e){de.brandCheck(this,t);let n="WebSocket.send";if(de.argumentLengthCheck(arguments,1,n),e=de.converters.WebSocketSendData(e,n,"data"),gG(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!mG(this)||yG(this)))if(typeof e=="string"){let r=Buffer.byteLength(e);this.#t+=r,this.#i.add(e,()=>{this.#t-=r},Ll.string)}else xk.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Ll.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Ll.typedArray)):Rk(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},Ll.blob))}get readyState(){return de.brandCheck(this,t),this[Mg]}get bufferedAmount(){return de.brandCheck(this,t),this.#t}get url(){return de.brandCheck(this,t),dG(this[Qk])}get extensions(){return de.brandCheck(this,t),this.#s}get protocol(){return de.brandCheck(this,t),this.#n}get onopen(){return de.brandCheck(this,t),this.#e.open}set onopen(e){de.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 de.brandCheck(this,t),this.#e.error}set onerror(e){de.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 de.brandCheck(this,t),this.#e.close}set onclose(e){de.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 de.brandCheck(this,t),this.#e.message}set onmessage(e){de.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 de.brandCheck(this,t),this[Pl]}set binaryType(e){de.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Pl]="blob":this[Pl]=e}#r(e,n){this[Sk]=e;let r=this[bk]?.dispatcher?.webSocketOptions,s=r?.maxFragments,i=r?.maxPayloadSize,a=new IG(this,n,{maxFragments:s,maxPayloadSize:i});a.on("drain",SG),a.on("error",kG.bind(this)),e.socket.ws=this,this[fG]=a,this.#i=new bG(e.socket),this[Mg]=Zc.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#s=c);let A=e.headersList.get("sec-websocket-protocol");A!==null&&(this.#n=A),kk("open",this)}};dn.CONNECTING=dn.prototype.CONNECTING=Zc.CONNECTING;dn.OPEN=dn.prototype.OPEN=Zc.OPEN;dn.CLOSING=dn.prototype.CLOSING=Zc.CLOSING;dn.CLOSED=dn.prototype.CLOSED=Zc.CLOSED;Object.defineProperties(dn.prototype,{CONNECTING:bs,OPEN:bs,CLOSING:bs,CLOSED:bs,url:Cn,readyState:Cn,bufferedAmount:Cn,onopen:Cn,onerror:Cn,onclose:Cn,close:Cn,onmessage:Cn,binaryType:Cn,send:Cn,extensions:Cn,protocol:Cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(dn,{CONNECTING:bs,OPEN:bs,CLOSING:bs,CLOSED:bs});de.converters["sequence<DOMString>"]=de.sequenceConverter(de.converters.DOMString);de.converters["DOMString or sequence<DOMString>"]=function(t,e,n){return de.util.Type(t)==="Object"&&Symbol.iterator in t?de.converters["sequence<DOMString>"](t):de.converters.DOMString(t,e,n)};de.converters.WebSocketInit=de.dictionaryConverter([{key:"protocols",converter:de.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:de.converters.any,defaultValue:()=>BG()},{key:"headers",converter:de.nullableConverter(de.converters.HeadersInit)}]);de.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return de.util.Type(t)==="Object"&&!(Symbol.iterator in t)?de.converters.WebSocketInit(t):{protocols:de.converters["DOMString or sequence<DOMString>"](t)}};de.converters.WebSocketSendData=function(t){if(de.util.Type(t)==="Object"){if(Rk(t))return de.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||xk.isArrayBuffer(t))return de.converters.BufferSource(t)}return de.converters.USVString(t)};function SG(){this.ws[Sk].socket.resume()}function kG(t){let e,n;t instanceof QG?(e=t.reason,n=t.code):e=t.message,kk("error",this,()=>new wG("error",{error:t,message:e})),vk(this,n)}Tk.exports={WebSocket:dn}});var _g=L((K3,Nk)=>{"use strict";function vG(t){return t.indexOf("\0")===-1}function RG(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}function xG(t){return new Promise(e=>{setTimeout(e,t).unref()})}Nk.exports={isValidLastEventId:vG,isASCIINumber:RG,delay:xG}});var Mk=L((Z3,Fk)=>{"use strict";var TG=require("node:buffer"),{Transform:DG}=require("node:stream"),{isASCIINumber:NG,isValidLastEventId:FG}=_g(),pa=[239,187,191],Ol=10,Xc=13,MG=58,_G=32,UG=TG.kStringMaxLength,LG=Buffer.from("data"),PG=Buffer.from("event"),OG=Buffer.from("id"),$G=Buffer.from("retry"),VG=1024,GG=131072,HG=128;function YG(t,e){if(e>=t.length)return!1;for(let n=e;n<t.length;n++)if(t[n]<48||t[n]>57)return!1;return!0}function qG(t,e){for(let n=e;n<t.length;n++)if(t[n]===0)return!1;return!0}function $l(t,e,n){if(e!==n.length)return!1;for(let r=0;r<e;r++)if(t[r]!==n[r])return!1;return!0}function Vl(){let t=new Error("EventSource message size exceeded");return t.aborted=!1,t}var Ug=class extends DG{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;lineLength=0;eventSize=0;eventFieldSizes={data:0,event:0,id:0,retry:0};dataLineCount=0;maxEventSize;maxDataLines;maxBufferedChunks;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},this.maxEventSize=e.maxEventSize??UG;let n=this.maxEventSize>0?Math.min(GG,Math.max(VG,Math.floor(this.maxEventSize/HG))):0;this.maxDataLines=n,this.maxBufferedChunks=n,e.push&&(this.push=e.push)}_transform(e,n,r){if(e.length===0){r();return}if(this.maxEventSize>0&&this.chunks.length>=this.maxBufferedChunks&&e[0]!==Ol&&e[0]!==Xc){r(Vl());return}if(this.chunks.push(e),this.checkBOM&&this.handleBOM()){r();return}for(;this.hasCurrentByte();){let s=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(s===Ol){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(s===Ol||s===Xc){s===Xc&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(s===Ol||s===Xc){s===Xc&&(this.crlfCheck=!0);try{this.parseLine(this.readLine(),this.event)}catch(i){r(i);return}this.consumeCurrentByte(),this.eventEndCheck=!0;continue}if(this.maxEventSize>0&&++this.lineLength>this.maxEventSize+7){r(Vl());return}this.advanceCursor()}r()}_destroy(e,n){this.chunks.length=0,this.clearEvent(),super._destroy(e,n)}parseLine(e,n){if(e.length===0)return;let r=e.indexOf(MG);if(r===0)return;let s=e.length,i=e.length;if(r!==-1&&(s=r,i=r+1,e[i]===_G&&++i),$l(e,s,LG)){if(this.maxEventSize>0&&this.dataLineCount>=this.maxDataLines)throw Vl();let a=e.length-i,c=this.eventFieldSizes.data+(n.data===void 0?0:1)+a;this.setEventFieldSize("data",c);let A=e.toString("utf8",i);n.data===void 0?n.data=A:n.data+=`
|
|
46
|
+
${A}`,this.dataLineCount++;return}if($l(e,s,$G)){YG(e,i)&&(this.setEventFieldSize("retry",e.length-i),n.retry=e.toString("utf8",i));return}if($l(e,s,OG)){qG(e,i)&&(this.setEventFieldSize("id",e.length-i),n.id=e.toString("utf8",i));return}$l(e,s,PG)&&i<e.length&&(this.setEventFieldSize("event",e.length-i),n.event=e.toString("utf8",i))}setEventFieldSize(e,n){let r=this.eventSize-this.eventFieldSizes[e]+n;if(this.maxEventSize>0&&r>this.maxEventSize)throw Vl();this.eventSize=r,this.eventFieldSizes[e]=n}processEvent(e){e.retry&&NG(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&FG(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,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0,this.eventSize=0,this.dataLineCount=0,this.eventFieldSizes.data=0,this.eventFieldSizes.event=0,this.eventFieldSizes.id=0,this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.lineLength=0,this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){let e=this.lineChunkIndex;this.chunks.splice(0,e),this.lineChunkIndex=0,this.chunkIndex-=e}this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],n=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let s=this.chunks[r],i=r===this.lineChunkIndex?this.linePos:0,a=r===this.chunkIndex?this.pos:s.length,c=s.subarray(i,a);n+=c.length,e.push(c)}return Buffer.concat(e,n)}peekBufferedByte(e){let n=this.lineChunkIndex,r=this.linePos;for(;n<this.chunks.length;){let s=this.chunks[n],i=s.length-r;if(e<i)return s[r+e];e-=i,n++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let r=this.chunks[this.lineChunkIndex].length-this.linePos;e<r?(this.linePos+=e,e=0):(e-=r,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),n=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return n===void 0?(e===pa[0]||(this.checkBOM=!1),!0):r===void 0?e===pa[0]&&n===pa[1]?!0:(this.checkBOM=!1,!1):(e===pa[0]&&n===pa[1]&&r===pa[2]&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}};Fk.exports={EventSourceStream:Ug}});var Gk=L((X3,Vk)=>{"use strict";var{pipeline:jG}=require("node:stream"),{fetching:JG}=Pc(),{makeRequest:WG}=na(),{webidl:Vr}=ft(),{EventSourceStream:zG}=Mk(),{parseMIMEType:KG}=Pt(),{createFastMessageEvent:ZG}=ca(),{isNetworkError:_k}=Uc(),{delay:XG}=_g(),{kEnumerableProperty:vi}=Ie(),{environmentSettingsObject:Uk}=nn(),{getGlobalDispatcher:e2}=Fc(),Lk=!1,Pk=3e3,eu=0,Ok=1,tu=2,t2="anonymous",n2="use-credentials",ha=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#n=!1;#s=eu;#i=null;#r=null;#o;#a;constructor(e,n={}){super(),Vr.util.markAsUncloneable(this);let r="EventSource constructor";Vr.argumentLengthCheck(arguments,1,r),Lk||(Lk=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Vr.converters.USVString(e,r,"url"),n=Vr.converters.EventSourceInitDict(n,r,"eventSourceInitDict"),this.#o=n.dispatcher,this.#a={lastEventId:"",reconnectionTime:Pk};let s=Uk,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(A){throw new DOMException(A,"SyntaxError")}this.#t=i.href;let a=t2;n.withCredentials&&(a=n2,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Uk.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=WG(c),this.#u()}get readyState(){return this.#s}get url(){return this.#t}get withCredentials(){return this.#n}#u(){if(this.#s===tu)return;this.#s=eu;let e={request:this.#i,dispatcher:this.#o},n=r=>{_k(r)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()};e.processResponseEndOfBody=n,e.processResponse=r=>{if(_k(r))if(r.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=r.headersList.get("content-type",!0),i=s!==null?KG(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(r.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#s=Ok,this.dispatchEvent(new Event("open")),this.#a.origin=r.urlList[r.urlList.length-1].origin;let c=new zG({eventSourceSettings:this.#a,maxEventSize:this.#o.eventSourceOptions?.maxEventSize,push:A=>{this.dispatchEvent(ZG(A.type,A.options))}});jG(r.body.stream,c,A=>{A?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#r=JG(e)}async#c(){this.#s!==tu&&(this.#s=eu,this.dispatchEvent(new Event("error")),await XG(this.#a.reconnectionTime),this.#s===eu&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#u()))}close(){Vr.brandCheck(this,t),this.#s!==tu&&(this.#s=tu,this.#r.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}},$k={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:eu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Ok,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:tu,writable:!1}};Object.defineProperties(ha,$k);Object.defineProperties(ha.prototype,$k);Object.defineProperties(ha.prototype,{close:vi,onerror:vi,onmessage:vi,onopen:vi,readyState:vi,url:vi,withCredentials:vi});Vr.converters.EventSourceInitDict=Vr.dictionaryConverter([{key:"withCredentials",converter:Vr.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Vr.converters.any,defaultValue:()=>e2()}]);Vk.exports={EventSource:ha,defaultReconnectionTime:Pk}});var jk=L((eK,ce)=>{"use strict";var r2=Vo(),Hk=nc(),s2=Go(),i2=HB(),o2=Ho(),a2=rf(),c2=hw(),u2=Iw(),Yk=xe(),Hl=Ie(),{InvalidArgumentError:Gl}=Yk,fa=aQ(),A2=sc(),l2=Pf(),d2=GQ(),p2=Vf(),h2=Sf(),f2=YA(),{getGlobalDispatcher:qk,setGlobalDispatcher:g2}=Fc(),m2=tl(),y2=FA(),E2=MA();Object.assign(Hk.prototype,fa);ce.exports.Dispatcher=Hk;ce.exports.Client=r2;ce.exports.Pool=s2;ce.exports.BalancedPool=i2;ce.exports.Agent=o2;ce.exports.ProxyAgent=a2;ce.exports.EnvHttpProxyAgent=c2;ce.exports.RetryAgent=u2;ce.exports.RetryHandler=f2;ce.exports.DecoratorHandler=m2;ce.exports.RedirectHandler=y2;ce.exports.createRedirectInterceptor=E2;ce.exports.interceptors={redirect:zQ(),retry:ZQ(),dump:eb(),dns:rb()};ce.exports.buildConnector=A2;ce.exports.errors=Yk;ce.exports.util={parseHeaders:Hl.parseHeaders,headerNameToString:Hl.headerNameToString};function nu(t){return(e,n,r)=>{if(typeof n=="function"&&(r=n,n=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Gl("invalid url");if(n!=null&&typeof n!="object")throw new Gl("invalid opts");if(n&&n.path!=null){if(typeof n.path!="string")throw new Gl("invalid opts.path");let a=n.path;n.path.startsWith("/")||(a=`/${a}`),e=new URL(Hl.parseOrigin(e).origin+a)}else n||(n=typeof e=="object"?e:{}),e=Hl.parseURL(e);let{agent:s,dispatcher:i=qk()}=n;if(s)throw new Gl("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...n,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:n.method||(n.body?"PUT":"GET")},r)}}ce.exports.setGlobalDispatcher=g2;ce.exports.getGlobalDispatcher=qk;var C2=Pc().fetch;ce.exports.fetch=async function(e,n=void 0){try{return await C2(e,n)}catch(r){throw r&&typeof r=="object"&&Error.captureStackTrace(r),r}};ce.exports.Headers=Ii().Headers;ce.exports.Response=Uc().Response;ce.exports.Request=na().Request;ce.exports.FormData=lc().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=ES().FileReader;var{setGlobalOrigin:I2,getGlobalOrigin:B2}=nh();ce.exports.setGlobalOrigin=I2;ce.exports.getGlobalOrigin=B2;var{CacheStorage:w2}=vS(),{kConstruct:Q2}=Bl();ce.exports.caches=new w2(Q2);var{deleteCookie:b2,getCookies:S2,getSetCookies:k2,setCookie:v2}=PS();ce.exports.deleteCookie=b2;ce.exports.getCookies=S2;ce.exports.getSetCookies=k2;ce.exports.setCookie=v2;var{parseMIMEType:R2,serializeAMimeType:x2}=Pt();ce.exports.parseMIMEType=R2;ce.exports.serializeAMimeType=x2;var{CloseEvent:T2,ErrorEvent:D2,MessageEvent:N2}=ca();ce.exports.WebSocket=Dk().WebSocket;ce.exports.CloseEvent=T2;ce.exports.ErrorEvent=D2;ce.exports.MessageEvent=N2;ce.exports.request=nu(fa.request);ce.exports.stream=nu(fa.stream);ce.exports.pipeline=nu(fa.pipeline);ce.exports.connect=nu(fa.connect);ce.exports.upgrade=nu(fa.upgrade);ce.exports.MockClient=l2;ce.exports.MockPool=p2;ce.exports.MockAgent=d2;ce.exports.mockErrors=h2;var{EventSource:F2}=Gk();ce.exports.EventSource=F2});var su,Og,Ss,Jk,Xe,In,Tt,Gr,M2,_2,U2,L2,P2,Lg,Pg,Yl,ru,Wk=kt(()=>{su=Re(require("http"),1),Og=Re(require("https"),1);gE();Ss=Re(BE(),1),Jk=Re(jk(),1),Xe=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})};(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"})(In||(In={}));(function(t){t.Accept="accept",t.ContentType="content-type"})(Tt||(Tt={}));(function(t){t.ApplicationJson="application/json"})(Gr||(Gr={}));M2=[In.MovedPermanently,In.ResourceMoved,In.SeeOther,In.TemporaryRedirect,In.PermanentRedirect],_2=[In.BadGateway,In.ServiceUnavailable,In.GatewayTimeout],U2=["OPTIONS","GET","DELETE","HEAD"],L2=10,P2=5,Lg=class t extends Error{constructor(e,n){super(e),this.name="HttpClientError",this.statusCode=n,Object.setPrototypeOf(this,t.prototype)}},Pg=class{constructor(e){this.message=e}readBody(){return Xe(this,void 0,void 0,function*(){return new Promise(e=>Xe(this,void 0,void 0,function*(){let n=Buffer.alloc(0);this.message.on("data",r=>{n=Buffer.concat([n,r])}),this.message.on("end",()=>{e(n.toString())})}))})}readBodyBuffer(){return Xe(this,void 0,void 0,function*(){return new Promise(e=>Xe(this,void 0,void 0,function*(){let n=[];this.message.on("data",r=>{n.push(r)}),this.message.on("end",()=>{e(Buffer.concat(n))})}))})}},Yl=class{constructor(e,n,r){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=n||[],this.requestOptions=r,r&&(r.ignoreSslError!=null&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,r.allowRedirects!=null&&(this._allowRedirects=r.allowRedirects),r.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),r.maxRedirects!=null&&(this._maxRedirects=Math.max(r.maxRedirects,0)),r.keepAlive!=null&&(this._keepAlive=r.keepAlive),r.allowRetries!=null&&(this._allowRetries=r.allowRetries),r.maxRetries!=null&&(this._maxRetries=r.maxRetries))}options(e,n){return Xe(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,n||{})})}get(e,n){return Xe(this,void 0,void 0,function*(){return this.request("GET",e,null,n||{})})}del(e,n){return Xe(this,void 0,void 0,function*(){return this.request("DELETE",e,null,n||{})})}post(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("POST",e,n,r||{})})}patch(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("PATCH",e,n,r||{})})}put(e,n,r){return Xe(this,void 0,void 0,function*(){return this.request("PUT",e,n,r||{})})}head(e,n){return Xe(this,void 0,void 0,function*(){return this.request("HEAD",e,null,n||{})})}sendStream(e,n,r,s){return Xe(this,void 0,void 0,function*(){return this.request(e,n,r,s)})}getJson(e){return Xe(this,arguments,void 0,function*(n,r={}){r[Tt.Accept]=this._getExistingOrDefaultHeader(r,Tt.Accept,Gr.ApplicationJson);let s=yield this.get(n,r);return this._processResponse(s,this.requestOptions)})}postJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.post(r,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.put(r,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,n){return Xe(this,arguments,void 0,function*(r,s,i={}){let a=JSON.stringify(s,null,2);i[Tt.Accept]=this._getExistingOrDefaultHeader(i,Tt.Accept,Gr.ApplicationJson),i[Tt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Gr.ApplicationJson);let c=yield this.patch(r,a,i);return this._processResponse(c,this.requestOptions)})}request(e,n,r,s){return Xe(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(n),a=this._prepareRequest(e,i,s),c=this._allowRetries&&U2.includes(e)?this._maxRetries+1:1,A=0,l;do{if(l=yield this.requestRaw(a,r),l&&l.message&&l.message.statusCode===In.Unauthorized){let h;for(let g of this.handlers)if(g.canHandleAuthentication(l)){h=g;break}return h?h.handleAuthentication(this,a,r):l}let p=this._maxRedirects;for(;l.message.statusCode&&M2.includes(l.message.statusCode)&&this._allowRedirects&&p>0;){let h=l.message.headers.location;if(!h)break;let g=new URL(h);if(i.protocol==="https:"&&i.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield l.readBody(),g.hostname!==i.hostname)for(let C in s)C.toLowerCase()==="authorization"&&delete s[C];a=this._prepareRequest(e,g,s),l=yield this.requestRaw(a,r),p--}if(!l.message.statusCode||!_2.includes(l.message.statusCode))return l;A+=1,A<c&&(yield l.readBody(),yield this._performExponentialBackoff(A))}while(A<c);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,n){return Xe(this,void 0,void 0,function*(){return new Promise((r,s)=>{function i(a,c){a?s(a):c?r(c):s(new Error("Unknown error"))}this.requestRawWithCallback(e,n,i)})})}requestRawWithCallback(e,n,r){typeof n=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(n,"utf8"));let s=!1;function i(A,l){s||(s=!0,r(A,l))}let a=e.httpModule.request(e.options,A=>{let l=new Pg(A);i(void 0,l)}),c;a.on("socket",A=>{c=A}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(A){i(A)}),n&&typeof n=="string"&&a.write(n,"utf8"),n&&typeof n!="string"?(n.on("close",function(){a.end()}),n.pipe(a)):a.end()}getAgent(e){let n=new URL(e);return this._getAgent(n)}getAgentDispatcher(e){let n=new URL(e),r=cp(n);if(r&&r.hostname)return this._getProxyAgentDispatcher(n,r)}_prepareRequest(e,n,r){let s={};s.parsedUrl=n;let i=s.parsedUrl.protocol==="https:";s.httpModule=i?Og:su;let a=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):a,s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||""),s.options.method=e,s.options.headers=this._mergeHeaders(r),this.userAgent!=null&&(s.options.headers["user-agent"]=this.userAgent),s.options.agent=this._getAgent(s.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ru(this.requestOptions.headers),ru(e||{})):ru(e||{})}_getExistingOrDefaultHeader(e,n,r){let s;if(this.requestOptions&&this.requestOptions.headers){let a=ru(this.requestOptions.headers)[n];a&&(s=typeof a=="number"?a.toString():a)}let i=e[n];return i!==void 0?typeof i=="number"?i.toString():i:s!==void 0?s:r}_getExistingOrDefaultContentTypeHeader(e,n){let r;if(this.requestOptions&&this.requestOptions.headers){let i=ru(this.requestOptions.headers)[Tt.ContentType];i&&(typeof i=="number"?r=String(i):Array.isArray(i)?r=i.join(", "):r=i)}let s=e[Tt.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:r!==void 0?r:n}_getAgent(e){let n,r=cp(e),s=r&&r.hostname;if(this._keepAlive&&s&&(n=this._proxyAgent),s||(n=this._agent),n)return n;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||su.globalAgent.maxSockets),r&&r.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},A,l=r.protocol==="https:";i?A=l?Ss.httpsOverHttps:Ss.httpsOverHttp:A=l?Ss.httpOverHttps:Ss.httpOverHttp,n=A(c),this._proxyAgent=n}if(!n){let c={keepAlive:this._keepAlive,maxSockets:a};n=i?new Og.Agent(c):new su.Agent(c),this._agent=n}return i&&this._ignoreSslError&&(n.options=Object.assign(n.options||{},{rejectUnauthorized:!1})),n}_getProxyAgentDispatcher(e,n){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;let s=e.protocol==="https:";return r=new Jk.ProxyAgent(Object.assign({uri:n.href,pipelining:this._keepAlive?1:0},(n.username||n.password)&&{token:`Basic ${Buffer.from(`${n.username}:${n.password}`).toString("base64")}`})),this._proxyAgentDispatcher=r,s&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r}_getUserAgentWithOrchestrationId(e){let n=e||"actions/http-client",r=process.env.ACTIONS_ORCHESTRATION_ID;if(r){let s=r.replace(/[^a-z0-9_.-]/gi,"_");return`${n} actions_orchestration_id/${s}`}return n}_performExponentialBackoff(e){return Xe(this,void 0,void 0,function*(){e=Math.min(L2,e);let n=P2*Math.pow(2,e);return new Promise(r=>setTimeout(()=>r(),n))})}_processResponse(e,n){return Xe(this,void 0,void 0,function*(){return new Promise((r,s)=>Xe(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===In.NotFound&&r(a);function c(p,h){if(typeof h=="string"){let g=new Date(h);if(!isNaN(g.valueOf()))return g}return h}let A,l;try{l=yield e.readBody(),l&&l.length>0&&(n&&n.deserializeDates?A=JSON.parse(l,c):A=JSON.parse(l),a.result=A),a.headers=e.message.headers}catch{}if(i>299){let p;A&&A.message?p=A.message:l&&l.length>0?p=l:p=`Failed request: (${i})`;let h=new Lg(p,i);h.result=a.result,s(h)}else r(a)}))})}},ru=t=>Object.keys(t).reduce((e,n)=>(e[n.toLowerCase()]=t[n],e),{})});var O2,ql,zk=kt(()=>{O2=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},ql=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return O2(this,void 0,void 0,function*(){throw new Error("not implemented")})}}});var Kk,jl,Zk=kt(()=>{Wk();zk();Dt();Kk=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},jl=class t{static createHttpClient(e=!0,n=10){let r={allowRetries:e,maxRetries:n};return new Yl("actions/oidc-client",[new ql(t.getRequestToken())],r)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return Kk(this,void 0,void 0,function*(){var n;let i=(n=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token.
|
|
47
47
|
|
|
48
48
|
Error Code : ${a.statusCode}
|
|
49
49
|
|
|
50
50
|
Error Message: ${a.message}`)})).result)===null||n===void 0?void 0:n.value;if(!i)throw new Error("Response json body do not have ID Token field");return i})}static getIDToken(e){return Kk(this,void 0,void 0,function*(){try{let n=t.getIDTokenUrl();if(e){let s=encodeURIComponent(e);n=`${n}&audience=${s}`}Xk(`ID token url is ${n}`);let r=yield t.getCall(n);return Hr(r),r}catch(n){throw new Error(`Error message: ${n.message}`)}})}}});var tv,iu,$g,$2,V2,G2,ev,Vg,aK,Gg=kt(()=>{tv=require("os"),iu=require("fs"),$g=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},{access:$2,appendFile:V2,writeFile:G2}=iu.promises,ev="GITHUB_STEP_SUMMARY",Vg=class{constructor(){this._buffer=""}filePath(){return $g(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[ev];if(!e)throw new Error(`Unable to find environment variable for $${ev}. Check if your runtime environment supports job summaries.`);try{yield $2(e,iu.constants.R_OK|iu.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,n,r={}){let s=Object.entries(r).map(([i,a])=>` ${i}="${a}"`).join("");return n?`<${e}${s}>${n}</${e}>`:`<${e}${s}>`}write(e){return $g(this,void 0,void 0,function*(){let n=!!e?.overwrite,r=yield this.filePath();return yield(n?G2:V2)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return $g(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,n=!1){return this._buffer+=e,n?this.addEOL():this}addEOL(){return this.addRaw(tv.EOL)}addCodeBlock(e,n){let r=Object.assign({},n&&{lang:n}),s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,n=!1){let r=n?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(r,s);return this.addRaw(i).addEOL()}addTable(e){let n=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:A,colspan:l,rowspan:p}=a,h=c?"th":"td",g=Object.assign(Object.assign({},l&&{colspan:l}),p&&{rowspan:p});return this.wrap(h,A,g)}).join("");return this.wrap("tr",i)}).join(""),r=this.wrap("table",n);return this.addRaw(r).addEOL()}addDetails(e,n){let r=this.wrap("details",this.wrap("summary",e)+n);return this.addRaw(r).addEOL()}addImage(e,n,r){let{width:s,height:i}=r||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:n},a));return this.addRaw(c).addEOL()}addHeading(e,n){let r=`h${n}`,s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(s,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,n){let r=Object.assign({},n&&{cite:n}),s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,n){let r=this.wrap("a",e,{href:n});return this.addRaw(r).addEOL()}},aK=new Vg});var nv=kt(()=>{});function Hg(t){return sv(this,void 0,void 0,function*(){try{yield Jl(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}function zl(t){if(t=Z2(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Ri?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function Yg(t,e){return sv(this,void 0,void 0,function*(){let n;try{n=yield Jl(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(n&&n.isFile()){if(Ri){let s=ks.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(rv(n))return t}let r=t;for(let s of e){t=r+s,n=void 0;try{n=yield Jl(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(n&&n.isFile()){if(Ri){try{let i=ks.dirname(t),a=ks.basename(t).toUpperCase();for(let c of yield iv(i))if(a===c.toUpperCase()){t=ks.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(rv(n))return t}}return""})}function Z2(t){return t=t||"",Ri?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function rv(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}var Wl,ks,sv,H2,Y2,q2,j2,AK,iv,J2,W2,lK,Jl,z2,K2,Ri,dK,qg=kt(()=>{Wl=Re(require("fs"),1),ks=Re(require("path"),1),sv=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},{chmod:H2,copyFile:Y2,lstat:q2,mkdir:j2,open:AK,readdir:iv,rename:J2,rm:W2,rmdir:lK,stat:Jl,symlink:z2,unlink:K2}=Wl.promises,Ri=process.platform==="win32",dK=Wl.constants.O_RDONLY});function jg(t,e){return av(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let r=yield jg(t,!1);if(!r)throw Ri?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 r}let n=yield X2(t);return n&&n.length>0?n[0]:""})}function X2(t){return av(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Ri&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(dr.delimiter))s&&e.push(s);if(zl(t)){let s=yield Yg(t,e);return s?[s]:[]}if(t.includes(dr.sep))return[];let n=[];if(process.env.PATH)for(let s of process.env.PATH.split(dr.delimiter))s&&n.push(s);let r=[];for(let s of n){let i=yield Yg(dr.join(s,t),e);i&&r.push(i)}return r})}var dr,av,cv=kt(()=>{dr=Re(require("path"),1);qg();av=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})}});function pv(t){let e=[],n=!1,r=!1,s="";function i(a){r&&a!=='"'&&(s+="\\"),s+=a,r=!1}for(let a=0;a<t.length;a++){let c=t.charAt(a);if(c==='"'){r?i(c):n=!n;continue}if(c==="\\"&&r){i(c);continue}if(c==="\\"&&n){r=!0;continue}if(c===" "&&!n){s.length>0&&(e.push(s),s="");continue}i(c)}return s.length>0&&e.push(s.trim()),e}var ou,Wg,Av,lv,dv,uv,Kl,Zl,Jg,hv=kt(()=>{ou=Re(require("os"),1),Wg=Re(require("events"),1),Av=Re(require("child_process"),1),lv=Re(require("path"),1);cv();qg();dv=require("timers"),uv=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})},Kl=process.platform==="win32",Zl=class extends Wg.EventEmitter{constructor(e,n,r){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=n||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,n){let r=this._getSpawnFileName(),s=this._getSpawnArgs(e),i=n?"":"[command]";if(Kl)if(this._isCmdFile()){i+=r;for(let a of s)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${r}"`;for(let a of s)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(r);for(let a of s)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=r;for(let a of s)i+=` ${a}`}return i}_processLineBuffer(e,n,r){try{let s=n+e.toString(),i=s.indexOf(ou.EOL);for(;i>-1;){let a=s.substring(0,i);r(a),s=s.substring(i+ou.EOL.length),i=s.indexOf(ou.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return Kl&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Kl&&this._isCmdFile()){let n=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let r of this.args)n+=" ",n+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return n+='"',[n]}return this.args}_endsWith(e,n){return e.endsWith(n)}_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 n=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let a of e)if(n.some(c=>c===a)){r=!0;break}if(!r)return e;let s='"',i=!0;for(let a=e.length;a>0;a--)s+=e[a-1],i&&e[a-1]==="\\"?s+="\\":e[a-1]==='"'?(i=!0,s+='"'):i=!1;return s+='"',s.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 n='"',r=!0;for(let s=e.length;s>0;s--)n+=e[s-1],r&&e[s-1]==="\\"?n+="\\":e[s-1]==='"'?(r=!0,n+="\\"):r=!1;return n+='"',n.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let n={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 n.outStream=e.outStream||process.stdout,n.errStream=e.errStream||process.stderr,n}_getSpawnOptions(e,n){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${n}"`),r}exec(){return uv(this,void 0,void 0,function*(){return!zl(this.toolPath)&&(this.toolPath.includes("/")||Kl&&this.toolPath.includes("\\"))&&(this.toolPath=lv.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield jg(this.toolPath,!0),new Promise((e,n)=>uv(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let l of this.args)this._debug(` ${l}`);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+ou.EOL);let s=new Jg(r,this.toolPath);if(s.on("debug",l=>{this._debug(l)}),this.options.cwd&&!(yield Hg(this.options.cwd)))return n(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=Av.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",l=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(l),!r.silent&&r.outStream&&r.outStream.write(l),c=this._processLineBuffer(l,c,p=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(p)})});let A="";if(a.stderr&&a.stderr.on("data",l=>{s.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(l),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(l),A=this._processLineBuffer(l,A,p=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(p)})}),a.on("error",l=>{s.processError=l.message,s.processExited=!0,s.processClosed=!0,s.CheckComplete()}),a.on("exit",l=>{s.processExitCode=l,s.processExited=!0,this._debug(`Exit code ${l} received from tool '${this.toolPath}'`),s.CheckComplete()}),a.on("close",l=>{s.processExitCode=l,s.processExited=!0,s.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),s.CheckComplete()}),s.on("done",(l,p)=>{c.length>0&&this.emit("stdline",c),A.length>0&&this.emit("errline",A),a.removeAllListeners(),l?n(l):e(p)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};Jg=class t extends Wg.EventEmitter{constructor(e,n){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,!n)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=n,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,dv.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 n=`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(n)}e._setResult()}}}});function fv(t,e,n){return nH(this,void 0,void 0,function*(){let r=pv(t);if(r.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let s=r[0];return e=r.slice(1).concat(e||[]),new Zl(s,e,n).exec()})}var nH,zg=kt(()=>{hv();nH=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})}});var Kg,gK,mK,mv=kt(()=>{Kg=Re(require("os"),1);zg();gK=Kg.default.platform(),mK=Kg.default.arch()});function Hr(t){ei("add-mask",{},t)}function he(t,e){let n=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!n)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?n:n.trim()}function vs(t,e){let n=["true","True","TRUE"],r=["false","False","FALSE"],s=he(t,e);if(n.includes(s))return!0;if(r.includes(s))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t}
|
|
51
|
-
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function Ev(t){process.exitCode=Zg.Failure,iH(t)}function Xk(t){ei("debug",{},t)}function iH(t,e={}){ei("error",qu(e),t instanceof Error?t.toString():t)}function Pe(t,e={}){ei("warning",qu(e),t instanceof Error?t.toString():t)}function au(t,e={}){ei("notice",qu(e),t instanceof Error?t.toString():t)}function Bn(t){process.stdout.write(t+yv.EOL)}function Xl(t){ap("group",t)}function ed(){ap("endgroup")}function Rs(t){return process.env[`STATE_${t}`]||""}function Cv(t){return sH(this,void 0,void 0,function*(){return yield jl.getIDToken(t)})}var yv,sH,Zg,Dt=kt(()=>{hE();fE();ju();yv=Re(require("os"),1);Zk();Gg();Gg();nv();mv();sH=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})};(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Zg||(Zg={}))});var z9={};ip(z9,{post:()=>zT});module.exports=nD(z9);Dt();var WT=Re(require("path"));Dt();Dt();var Xg;(function(t){t.Pass="Pass",t.Fail="Fail",t.Error="Error",t.Skipped="Skipped",t.Unknown="Unknown"})(Xg||(Xg={}));var Iv;(function(t){t.High="high",t.Medium="medium",t.Low="low"})(Iv||(Iv={}));var Bv;(function(t){t.Skyramp="skyramp",t.External="external"})(Bv||(Bv={}));var em;(function(t){t.Update="UPDATE",t.Regenerate="REGENERATE",t.Delete="DELETE",t.Verify="VERIFY",t.Ignore="IGNORE"})(em||(em={}));var wv;(function(t){t.Small="Small",t.Medium="Medium",t.Large="Large"})(wv||(wv={}));var _={};ip(_,{BRAND:()=>TH,DIRTY:()=>xi,EMPTY_PATH:()=>uH,INVALID:()=>se,NEVER:()=>fY,OK:()=>It,ParseStatus:()=>gt,Schema:()=>Ee,ZodAny:()=>Ds,ZodArray:()=>Jr,ZodBigInt:()=>Di,ZodBoolean:()=>Ni,ZodBranded:()=>uu,ZodCatch:()=>Hi,ZodDate:()=>Fi,ZodDefault:()=>Gi,ZodDiscriminatedUnion:()=>rd,ZodEffects:()=>bn,ZodEnum:()=>$i,ZodError:()=>Yt,ZodFirstPartyTypeKind:()=>ue,ZodFunction:()=>id,ZodIntersection:()=>Li,ZodIssueCode:()=>P,ZodLazy:()=>Pi,ZodLiteral:()=>Oi,ZodMap:()=>Ia,ZodNaN:()=>wa,ZodNativeEnum:()=>Vi,ZodNever:()=>Jn,ZodNull:()=>Ui,ZodNullable:()=>fr,ZodNumber:()=>Ti,ZodObject:()=>qt,ZodOptional:()=>wn,ZodParsedType:()=>W,ZodPipeline:()=>Au,ZodPromise:()=>Ns,ZodReadonly:()=>Yi,ZodRecord:()=>sd,ZodSchema:()=>Ee,ZodSet:()=>Ba,ZodString:()=>Ts,ZodSymbol:()=>Ea,ZodTransformer:()=>bn,ZodTuple:()=>hr,ZodType:()=>Ee,ZodUndefined:()=>Mi,ZodUnion:()=>_i,ZodUnknown:()=>jr,ZodVoid:()=>Ca,addIssueToContext:()=>j,any:()=>OH,array:()=>HH,bigint:()=>MH,boolean:()=>Fv,coerce:()=>hY,custom:()=>Tv,date:()=>UH,datetimeRegex:()=>Rv,defaultErrorMap:()=>Yr,discriminatedUnion:()=>JH,effect:()=>oY,enum:()=>rY,function:()=>eY,getErrorMap:()=>ga,getParsedType:()=>pr,instanceof:()=>NH,intersection:()=>WH,isAborted:()=>td,isAsync:()=>ma,isDirty:()=>nd,isValid:()=>xs,late:()=>DH,lazy:()=>tY,literal:()=>nY,makeIssue:()=>cu,map:()=>ZH,nan:()=>FH,nativeEnum:()=>sY,never:()=>VH,null:()=>PH,nullable:()=>cY,number:()=>Nv,object:()=>YH,objectUtil:()=>tm,oboolean:()=>pY,onumber:()=>dY,optional:()=>aY,ostring:()=>lY,pipeline:()=>AY,preprocess:()=>uY,promise:()=>iY,quotelessJson:()=>oH,record:()=>KH,set:()=>XH,setErrorMap:()=>cH,strictObject:()=>qH,string:()=>Dv,symbol:()=>_H,transformer:()=>oY,tuple:()=>zH,undefined:()=>LH,union:()=>jH,unknown:()=>$H,util:()=>we,void:()=>GH});var we;(function(t){t.assertEqual=s=>{};function e(s){}t.assertIs=e;function n(s){throw new Error}t.assertNever=n,t.arrayToEnum=s=>{let i={};for(let a of s)i[a]=a;return i},t.getValidEnumValues=s=>{let i=t.objectKeys(s).filter(c=>typeof s[s[c]]!="number"),a={};for(let c of i)a[c]=s[c];return t.objectValues(a)},t.objectValues=s=>t.objectKeys(s).map(function(i){return s[i]}),t.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{let i=[];for(let a in s)Object.prototype.hasOwnProperty.call(s,a)&&i.push(a);return i},t.find=(s,i)=>{for(let a of s)if(i(a))return a},t.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}t.joinValues=r,t.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(we||(we={}));var tm;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(tm||(tm={}));var W=we.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),pr=t=>{switch(typeof t){case"undefined":return W.undefined;case"string":return W.string;case"number":return Number.isNaN(t)?W.nan:W.number;case"boolean":return W.boolean;case"function":return W.function;case"bigint":return W.bigint;case"symbol":return W.symbol;case"object":return Array.isArray(t)?W.array:t===null?W.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?W.promise:typeof Map<"u"&&t instanceof Map?W.map:typeof Set<"u"&&t instanceof Set?W.set:typeof Date<"u"&&t instanceof Date?W.date:W.object;default:return W.unknown}};var P=we.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),oH=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Yt=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(i){return i.message},r={_errors:[]},s=i=>{for(let a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(s);else if(a.code==="invalid_return_type")s(a.returnTypeError);else if(a.code==="invalid_arguments")s(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let c=r,A=0;for(;A<a.path.length;){let l=a.path[A];A===a.path.length-1?(c[l]=c[l]||{_errors:[]},c[l]._errors.push(n(a))):c[l]=c[l]||{_errors:[]},c=c[l],A++}}};return s(this),r}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,we.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){let n={},r=[];for(let s of this.issues)if(s.path.length>0){let i=s.path[0];n[i]=n[i]||[],n[i].push(e(s))}else r.push(e(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};Yt.create=t=>new Yt(t);var aH=(t,e)=>{let n;switch(t.code){case P.invalid_type:t.received===W.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case P.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,we.jsonStringifyReplacer)}`;break;case P.unrecognized_keys:n=`Unrecognized key(s) in object: ${we.joinValues(t.keys,", ")}`;break;case P.invalid_union:n="Invalid input";break;case P.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${we.joinValues(t.options)}`;break;case P.invalid_enum_value:n=`Invalid enum value. Expected ${we.joinValues(t.options)}, received '${t.received}'`;break;case P.invalid_arguments:n="Invalid function arguments";break;case P.invalid_return_type:n="Invalid function return type";break;case P.invalid_date:n="Invalid date";break;case P.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:we.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case P.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case P.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case P.custom:n="Invalid input";break;case P.invalid_intersection_types:n="Intersection results could not be merged";break;case P.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case P.not_finite:n="Number must be finite";break;default:n=e.defaultError,we.assertNever(t)}return{message:n}},Yr=aH;var Qv=Yr;function cH(t){Qv=t}function ga(){return Qv}var cu=t=>{let{data:e,path:n,errorMaps:r,issueData:s}=t,i=[...n,...s.path||[]],a={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let c="",A=r.filter(l=>!!l).slice().reverse();for(let l of A)c=l(a,{data:e,defaultError:c}).message;return{...s,path:i,message:c}},uH=[];function j(t,e){let n=ga(),r=cu({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Yr?void 0:Yr].filter(s=>!!s)});t.common.issues.push(r)}var gt=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let s of n){if(s.status==="aborted")return se;s.status==="dirty"&&e.dirty(),r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){let r=[];for(let s of n){let i=await s.key,a=await s.value;r.push({key:i,value:a})}return t.mergeObjectSync(e,r)}static mergeObjectSync(e,n){let r={};for(let s of n){let{key:i,value:a}=s;if(i.status==="aborted"||a.status==="aborted")return se;i.status==="dirty"&&e.dirty(),a.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||s.alwaysSet)&&(r[i.value]=a.value)}return{status:e.value,value:r}}},se=Object.freeze({status:"aborted"}),xi=t=>({status:"dirty",value:t}),It=t=>({status:"valid",value:t}),td=t=>t.status==="aborted",nd=t=>t.status==="dirty",xs=t=>t.status==="valid",ma=t=>typeof Promise<"u"&&t instanceof Promise;var K;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(K||(K={}));var Qn=class{constructor(e,n,r,s){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},bv=(t,e)=>{if(xs(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new Yt(t.common.issues);return this._error=n,this._error}}};function ge(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:r,description:s}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(a,c)=>{let{message:A}=t;return a.code==="invalid_enum_value"?{message:A??c.defaultError}:typeof c.data>"u"?{message:A??r??c.defaultError}:a.code!=="invalid_type"?{message:c.defaultError}:{message:A??n??c.defaultError}},description:s}}var Ee=class{get description(){return this._def.description}_getType(e){return pr(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:pr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new gt,ctx:{common:e.parent.common,data:e.data,parsedType:pr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(ma(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)},s=this._parseSync({data:e,path:r.path,parent:r});return bv(r,s)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:n});return xs(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>xs(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){let r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)},s=this._parse({data:e,path:r.path,parent:r}),i=await(ma(s)?s:Promise.resolve(s));return bv(r,i)}refine(e,n){let r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{let a=e(s),c=()=>i.addIssue({code:P.custom,...r(s)});return typeof Promise<"u"&&a instanceof Promise?a.then(A=>A?!0:(c(),!1)):a?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,s)=>e(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(e){return new bn({schema:this,typeName:ue.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return wn.create(this,this._def)}nullable(){return fr.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Jr.create(this)}promise(){return Ns.create(this,this._def)}or(e){return _i.create([this,e],this._def)}and(e){return Li.create(this,e,this._def)}transform(e){return new bn({...ge(this._def),schema:this,typeName:ue.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Gi({...ge(this._def),innerType:this,defaultValue:n,typeName:ue.ZodDefault})}brand(){return new uu({typeName:ue.ZodBranded,type:this,...ge(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Hi({...ge(this._def),innerType:this,catchValue:n,typeName:ue.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Au.create(this,e)}readonly(){return Yi.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},AH=/^c[^\s-]{8,}$/i,lH=/^[0-9a-z]+$/,dH=/^[0-9A-HJKMNP-TV-Z]{26}$/i,pH=/^[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}$/i,hH=/^[a-z0-9_-]{21}$/i,fH=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,gH=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,mH=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{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,wH=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,QH=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,kv="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",bH=new RegExp(`^${kv}$`);function vv(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function SH(t){return new RegExp(`^${vv(t)}$`)}function Rv(t){let e=`${kv}T${vv(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function kH(t,e){return!!((e==="v4"||!e)&&EH.test(t)||(e==="v6"||!e)&&IH.test(t))}function vH(t,e){if(!fH.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&s?.typ!=="JWT"||!s.alg||e&&s.alg!==e)}catch{return!1}}function RH(t,e){return!!((e==="v4"||!e)&&CH.test(t)||(e==="v6"||!e)&&BH.test(t))}var Ts=class t extends Ee{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==W.string){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.string,received:i.parsedType}),se}let r=new gt,s;for(let i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")e.data.length>i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){let a=e.data.length>i.value,c=e.data.length<i.value;(a||c)&&(s=this._getOrReturnCtx(e,s),a?j(s,{code:P.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):c&&j(s,{code:P.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")mH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"email",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")nm||(nm=new RegExp(yH,"u")),nm.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"emoji",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")pH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"uuid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")hH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"nanoid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")AH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cuid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")lH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cuid2",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")dH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"ulid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{s=this._getOrReturnCtx(e,s),j(s,{validation:"url",code:P.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"regex",code:P.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Rv(i).test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?bH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?SH(i).test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?gH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"duration",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?kH(e.data,i.version)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"ip",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?vH(e.data,i.alg)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"jwt",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?RH(e.data,i.version)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cidr",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?wH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"base64",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?QH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"base64url",code:P.invalid_string,message:i.message}),r.dirty()):we.assertNever(i);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(s=>e.test(s),{validation:n,code:P.invalid_string,...K.errToObj(r)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...K.errToObj(e)})}url(e){return this._addCheck({kind:"url",...K.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...K.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...K.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...K.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...K.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...K.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...K.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...K.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...K.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...K.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...K.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...K.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...K.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...K.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...K.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...K.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...K.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...K.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...K.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...K.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...K.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...K.errToObj(n)})}nonempty(e){return this.min(1,K.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Ts.create=t=>new Ts({checks:[],typeName:ue.ZodString,coerce:t?.coerce??!1,...ge(t)});function xH(t,e){let n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return i%a/10**s}var Ti=class t extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==W.number){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.number,received:i.parsedType}),se}let r,s=new gt;for(let i of this._def.checks)i.kind==="int"?we.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),j(r,{code:P.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?xH(e.data,i.value)!==0&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_finite,message:i.message}),s.dirty()):we.assertNever(i);return{status:s.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,K.toString(n))}gt(e,n){return this.setLimit("min",e,!1,K.toString(n))}lte(e,n){return this.setLimit("max",e,!0,K.toString(n))}lt(e,n){return this.setLimit("max",e,!1,K.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:K.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:K.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:K.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:K.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:K.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:K.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:K.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:K.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:K.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&we.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}};Ti.create=t=>new Ti({checks:[],typeName:ue.ZodNumber,coerce:t?.coerce||!1,...ge(t)});var Di=class t extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==W.bigint)return this._getInvalidInput(e);let r,s=new gt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):we.assertNever(i);return{status:s.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return j(n,{code:P.invalid_type,expected:W.bigint,received:n.parsedType}),se}gte(e,n){return this.setLimit("min",e,!0,K.toString(n))}gt(e,n){return this.setLimit("min",e,!1,K.toString(n))}lte(e,n){return this.setLimit("max",e,!0,K.toString(n))}lt(e,n){return this.setLimit("max",e,!1,K.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:K.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:K.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:K.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:K.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:K.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Di.create=t=>new Di({checks:[],typeName:ue.ZodBigInt,coerce:t?.coerce??!1,...ge(t)});var Ni=class extends Ee{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==W.boolean){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.boolean,received:r.parsedType}),se}return It(e.data)}};Ni.create=t=>new Ni({typeName:ue.ZodBoolean,coerce:t?.coerce||!1,...ge(t)});var Fi=class t extends Ee{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==W.date){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.date,received:i.parsedType}),se}if(Number.isNaN(e.data.getTime())){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_date}),se}let r=new gt,s;for(let i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):we.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:K.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:K.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}};Fi.create=t=>new Fi({checks:[],coerce:t?.coerce||!1,typeName:ue.ZodDate,...ge(t)});var Ea=class extends Ee{_parse(e){if(this._getType(e)!==W.symbol){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.symbol,received:r.parsedType}),se}return It(e.data)}};Ea.create=t=>new Ea({typeName:ue.ZodSymbol,...ge(t)});var Mi=class extends Ee{_parse(e){if(this._getType(e)!==W.undefined){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.undefined,received:r.parsedType}),se}return It(e.data)}};Mi.create=t=>new Mi({typeName:ue.ZodUndefined,...ge(t)});var Ui=class extends Ee{_parse(e){if(this._getType(e)!==W.null){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.null,received:r.parsedType}),se}return It(e.data)}};Ui.create=t=>new Ui({typeName:ue.ZodNull,...ge(t)});var Ds=class extends Ee{constructor(){super(...arguments),this._any=!0}_parse(e){return It(e.data)}};Ds.create=t=>new Ds({typeName:ue.ZodAny,...ge(t)});var jr=class extends Ee{constructor(){super(...arguments),this._unknown=!0}_parse(e){return It(e.data)}};jr.create=t=>new jr({typeName:ue.ZodUnknown,...ge(t)});var Jn=class extends Ee{_parse(e){let n=this._getOrReturnCtx(e);return j(n,{code:P.invalid_type,expected:W.never,received:n.parsedType}),se}};Jn.create=t=>new Jn({typeName:ue.ZodNever,...ge(t)});var Ca=class extends Ee{_parse(e){if(this._getType(e)!==W.undefined){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.void,received:r.parsedType}),se}return It(e.data)}};Ca.create=t=>new Ca({typeName:ue.ZodVoid,...ge(t)});var Jr=class t extends Ee{_parse(e){let{ctx:n,status:r}=this._processInputParams(e),s=this._def;if(n.parsedType!==W.array)return j(n,{code:P.invalid_type,expected:W.array,received:n.parsedType}),se;if(s.exactLength!==null){let a=n.data.length>s.exactLength.value,c=n.data.length<s.exactLength.value;(a||c)&&(j(n,{code:a?P.too_big:P.too_small,minimum:c?s.exactLength.value:void 0,maximum:a?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(j(n,{code:P.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(j(n,{code:P.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,c)=>s.type._parseAsync(new Qn(n,a,n.path,c)))).then(a=>gt.mergeArray(r,a));let i=[...n.data].map((a,c)=>s.type._parseSync(new Qn(n,a,n.path,c)));return gt.mergeArray(r,i)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:K.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:K.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:K.toString(n)}})}nonempty(e){return this.min(1,e)}};Jr.create=(t,e)=>new Jr({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ue.ZodArray,...ge(e)});function ya(t){if(t instanceof qt){let e={};for(let n in t.shape){let r=t.shape[n];e[n]=wn.create(ya(r))}return new qt({...t._def,shape:()=>e})}else return t instanceof Jr?new Jr({...t._def,type:ya(t.element)}):t instanceof wn?wn.create(ya(t.unwrap())):t instanceof fr?fr.create(ya(t.unwrap())):t instanceof hr?hr.create(t.items.map(e=>ya(e))):t}var qt=class t extends Ee{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=we.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==W.object){let l=this._getOrReturnCtx(e);return j(l,{code:P.invalid_type,expected:W.object,received:l.parsedType}),se}let{status:r,ctx:s}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),c=[];if(!(this._def.catchall instanceof Jn&&this._def.unknownKeys==="strip"))for(let l in s.data)a.includes(l)||c.push(l);let A=[];for(let l of a){let p=i[l],h=s.data[l];A.push({key:{status:"valid",value:l},value:p._parse(new Qn(s,h,s.path,l)),alwaysSet:l in s.data})}if(this._def.catchall instanceof Jn){let l=this._def.unknownKeys;if(l==="passthrough")for(let p of c)A.push({key:{status:"valid",value:p},value:{status:"valid",value:s.data[p]}});else if(l==="strict")c.length>0&&(j(s,{code:P.unrecognized_keys,keys:c}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let l=this._def.catchall;for(let p of c){let h=s.data[p];A.push({key:{status:"valid",value:p},value:l._parse(new Qn(s,h,s.path,p)),alwaysSet:p in s.data})}}return s.common.async?Promise.resolve().then(async()=>{let l=[];for(let p of A){let h=await p.key,g=await p.value;l.push({key:h,value:g,alwaysSet:p.alwaysSet})}return l}).then(l=>gt.mergeObjectSync(r,l)):gt.mergeObjectSync(r,A)}get shape(){return this._def.shape()}strict(e){return K.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{let s=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:K.errToObj(e).message??s}:{message:s}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ue.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let r of we.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let r of we.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}deepPartial(){return ya(this)}partial(e){let n={};for(let r of we.objectKeys(this.shape)){let s=this.shape[r];e&&!e[r]?n[r]=s:n[r]=s.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let r of we.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof wn;)i=i._def.innerType;n[r]=i}return new t({...this._def,shape:()=>n})}keyof(){return xv(we.objectKeys(this.shape))}};qt.create=(t,e)=>new qt({shape:()=>t,unknownKeys:"strip",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});qt.strictCreate=(t,e)=>new qt({shape:()=>t,unknownKeys:"strict",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});qt.lazycreate=(t,e)=>new qt({shape:t,unknownKeys:"strip",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});var _i=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=this._def.options;function s(i){for(let c of i)if(c.result.status==="valid")return c.result;for(let c of i)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;let a=i.map(c=>new Yt(c.ctx.common.issues));return j(n,{code:P.invalid_union,unionErrors:a}),se}if(n.common.async)return Promise.all(r.map(async i=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(s);{let i,a=[];for(let A of r){let l={...n,common:{...n.common,issues:[]},parent:null},p=A._parseSync({data:n.data,path:n.path,parent:l});if(p.status==="valid")return p;p.status==="dirty"&&!i&&(i={result:p,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let c=a.map(A=>new Yt(A));return j(n,{code:P.invalid_union,unionErrors:c}),se}}get options(){return this._def.options}};_i.create=(t,e)=>new _i({options:t,typeName:ue.ZodUnion,...ge(e)});var qr=t=>t instanceof Pi?qr(t.schema):t instanceof bn?qr(t.innerType()):t instanceof Oi?[t.value]:t instanceof $i?t.options:t instanceof Vi?we.objectValues(t.enum):t instanceof Gi?qr(t._def.innerType):t instanceof Mi?[void 0]:t instanceof Ui?[null]:t instanceof wn?[void 0,...qr(t.unwrap())]:t instanceof fr?[null,...qr(t.unwrap())]:t instanceof uu||t instanceof Yi?qr(t.unwrap()):t instanceof Hi?qr(t._def.innerType):[],rd=class t extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.object)return j(n,{code:P.invalid_type,expected:W.object,received:n.parsedType}),se;let r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(j(n,{code:P.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),se)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){let s=new Map;for(let i of n){let a=qr(i.shape[e]);if(!a.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let c of a){if(s.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);s.set(c,i)}}return new t({typeName:ue.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:s,...ge(r)})}};function rm(t,e){let n=pr(t),r=pr(e);if(t===e)return{valid:!0,data:t};if(n===W.object&&r===W.object){let s=we.objectKeys(e),i=we.objectKeys(t).filter(c=>s.indexOf(c)!==-1),a={...t,...e};for(let c of i){let A=rm(t[c],e[c]);if(!A.valid)return{valid:!1};a[c]=A.data}return{valid:!0,data:a}}else if(n===W.array&&r===W.array){if(t.length!==e.length)return{valid:!1};let s=[];for(let i=0;i<t.length;i++){let a=t[i],c=e[i],A=rm(a,c);if(!A.valid)return{valid:!1};s.push(A.data)}return{valid:!0,data:s}}else return n===W.date&&r===W.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var Li=class extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=(i,a)=>{if(td(i)||td(a))return se;let c=rm(i.value,a.value);return c.valid?((nd(i)||nd(a))&&n.dirty(),{status:n.value,value:c.data}):(j(r,{code:P.invalid_intersection_types}),se)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>s(i,a)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};Li.create=(t,e,n)=>new Li({left:t,right:e,typeName:ue.ZodIntersection,...ge(n)});var hr=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.array)return j(r,{code:P.invalid_type,expected:W.array,received:r.parsedType}),se;if(r.data.length<this._def.items.length)return j(r,{code:P.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),se;!this._def.rest&&r.data.length>this._def.items.length&&(j(r,{code:P.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...r.data].map((a,c)=>{let A=this._def.items[c]||this._def.rest;return A?A._parse(new Qn(r,a,r.path,c)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>gt.mergeArray(n,a)):gt.mergeArray(n,i)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};hr.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new hr({items:t,typeName:ue.ZodTuple,rest:null,...ge(e)})};var sd=class t extends Ee{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.object)return j(r,{code:P.invalid_type,expected:W.object,received:r.parsedType}),se;let s=[],i=this._def.keyType,a=this._def.valueType;for(let c in r.data)s.push({key:i._parse(new Qn(r,c,r.path,c)),value:a._parse(new Qn(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?gt.mergeObjectAsync(n,s):gt.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof Ee?new t({keyType:e,valueType:n,typeName:ue.ZodRecord,...ge(r)}):new t({keyType:Ts.create(),valueType:e,typeName:ue.ZodRecord,...ge(n)})}},Ia=class extends Ee{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.map)return j(r,{code:P.invalid_type,expected:W.map,received:r.parsedType}),se;let s=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([c,A],l)=>({key:s._parse(new Qn(r,c,r.path,[l,"key"])),value:i._parse(new Qn(r,A,r.path,[l,"value"]))}));if(r.common.async){let c=new Map;return Promise.resolve().then(async()=>{for(let A of a){let l=await A.key,p=await A.value;if(l.status==="aborted"||p.status==="aborted")return se;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}})}else{let c=new Map;for(let A of a){let l=A.key,p=A.value;if(l.status==="aborted"||p.status==="aborted")return se;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}}}};Ia.create=(t,e,n)=>new Ia({valueType:e,keyType:t,typeName:ue.ZodMap,...ge(n)});var Ba=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.set)return j(r,{code:P.invalid_type,expected:W.set,received:r.parsedType}),se;let s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(j(r,{code:P.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(j(r,{code:P.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());let i=this._def.valueType;function a(A){let l=new Set;for(let p of A){if(p.status==="aborted")return se;p.status==="dirty"&&n.dirty(),l.add(p.value)}return{status:n.value,value:l}}let c=[...r.data.values()].map((A,l)=>i._parse(new Qn(r,A,r.path,l)));return r.common.async?Promise.all(c).then(A=>a(A)):a(c)}min(e,n){return new t({...this._def,minSize:{value:e,message:K.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:K.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Ba.create=(t,e)=>new Ba({valueType:t,minSize:null,maxSize:null,typeName:ue.ZodSet,...ge(e)});var id=class t extends Ee{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.function)return j(n,{code:P.invalid_type,expected:W.function,received:n.parsedType}),se;function r(c,A){return cu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,ga(),Yr].filter(l=>!!l),issueData:{code:P.invalid_arguments,argumentsError:A}})}function s(c,A){return cu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,ga(),Yr].filter(l=>!!l),issueData:{code:P.invalid_return_type,returnTypeError:A}})}let i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof Ns){let c=this;return It(async function(...A){let l=new Yt([]),p=await c._def.args.parseAsync(A,i).catch(C=>{throw l.addIssue(r(A,C)),l}),h=await Reflect.apply(a,this,p);return await c._def.returns._def.type.parseAsync(h,i).catch(C=>{throw l.addIssue(s(h,C)),l})})}else{let c=this;return It(function(...A){let l=c._def.args.safeParse(A,i);if(!l.success)throw new Yt([r(A,l.error)]);let p=Reflect.apply(a,this,l.data),h=c._def.returns.safeParse(p,i);if(!h.success)throw new Yt([s(p,h.error)]);return h.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:hr.create(e).rest(jr.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new t({args:e||hr.create([]).rest(jr.create()),returns:n||jr.create(),typeName:ue.ZodFunction,...ge(r)})}},Pi=class extends Ee{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};Pi.create=(t,e)=>new Pi({getter:t,typeName:ue.ZodLazy,...ge(e)});var Oi=class extends Ee{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return j(n,{received:n.data,code:P.invalid_literal,expected:this._def.value}),se}return{status:"valid",value:e.data}}get value(){return this._def.value}};Oi.create=(t,e)=>new Oi({value:t,typeName:ue.ZodLiteral,...ge(e)});function xv(t,e){return new $i({values:t,typeName:ue.ZodEnum,...ge(e)})}var $i=class t extends Ee{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),r=this._def.values;return j(n,{expected:we.joinValues(r),received:n.parsedType,code:P.invalid_type}),se}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),r=this._def.values;return j(n,{received:n.data,code:P.invalid_enum_value,options:r}),se}return It(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}};$i.create=xv;var Vi=class extends Ee{_parse(e){let n=we.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==W.string&&r.parsedType!==W.number){let s=we.objectValues(n);return j(r,{expected:we.joinValues(s),received:r.parsedType,code:P.invalid_type}),se}if(this._cache||(this._cache=new Set(we.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let s=we.objectValues(n);return j(r,{received:r.data,code:P.invalid_enum_value,options:s}),se}return It(e.data)}get enum(){return this._def.values}};Vi.create=(t,e)=>new Vi({values:t,typeName:ue.ZodNativeEnum,...ge(e)});var Ns=class extends Ee{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.promise&&n.common.async===!1)return j(n,{code:P.invalid_type,expected:W.promise,received:n.parsedType}),se;let r=n.parsedType===W.promise?n.data:Promise.resolve(n.data);return It(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Ns.create=(t,e)=>new Ns({type:t,typeName:ue.ZodPromise,...ge(e)});var bn=class extends Ee{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ue.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:a=>{j(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){let a=s.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async c=>{if(n.value==="aborted")return se;let A=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return A.status==="aborted"?se:A.status==="dirty"?xi(A.value):n.value==="dirty"?xi(A.value):A});{if(n.value==="aborted")return se;let c=this._def.schema._parseSync({data:a,path:r.path,parent:r});return c.status==="aborted"?se:c.status==="dirty"?xi(c.value):n.value==="dirty"?xi(c.value):c}}if(s.type==="refinement"){let a=c=>{let A=s.refinement(c,i);if(r.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){let c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?se:(c.status==="dirty"&&n.dirty(),a(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?se:(c.status==="dirty"&&n.dirty(),a(c.value).then(()=>({status:n.value,value:c.value}))))}if(s.type==="transform")if(r.common.async===!1){let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!xs(a))return se;let c=s.transform(a.value,i);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>xs(a)?Promise.resolve(s.transform(a.value,i)).then(c=>({status:n.value,value:c})):se);we.assertNever(s)}};bn.create=(t,e,n)=>new bn({schema:t,typeName:ue.ZodEffects,effect:e,...ge(n)});bn.createWithPreprocess=(t,e,n)=>new bn({schema:e,effect:{type:"preprocess",transform:t},typeName:ue.ZodEffects,...ge(n)});var wn=class extends Ee{_parse(e){return this._getType(e)===W.undefined?It(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};wn.create=(t,e)=>new wn({innerType:t,typeName:ue.ZodOptional,...ge(e)});var fr=class extends Ee{_parse(e){return this._getType(e)===W.null?It(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};fr.create=(t,e)=>new fr({innerType:t,typeName:ue.ZodNullable,...ge(e)});var Gi=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return n.parsedType===W.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Gi.create=(t,e)=>new Gi({innerType:t,typeName:ue.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ge(e)});var Hi=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ma(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Yt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Yt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};Hi.create=(t,e)=>new Hi({innerType:t,typeName:ue.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ge(e)});var wa=class extends Ee{_parse(e){if(this._getType(e)!==W.nan){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.nan,received:r.parsedType}),se}return{status:"valid",value:e.data}}};wa.create=t=>new wa({typeName:ue.ZodNaN,...ge(t)});var TH=Symbol("zod_brand"),uu=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},Au=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?se:i.status==="dirty"?(n.dirty(),xi(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{let s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?se:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(e,n){return new t({in:e,out:n,typeName:ue.ZodPipeline})}},Yi=class extends Ee{_parse(e){let n=this._def.innerType._parse(e),r=s=>(xs(s)&&(s.value=Object.freeze(s.value)),s);return ma(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}};Yi.create=(t,e)=>new Yi({innerType:t,typeName:ue.ZodReadonly,...ge(e)});function Sv(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Tv(t,e={},n){return t?Ds.create().superRefine((r,s)=>{let i=t(r);if(i instanceof Promise)return i.then(a=>{if(!a){let c=Sv(e,r),A=c.fatal??n??!0;s.addIssue({code:"custom",...c,fatal:A})}});if(!i){let a=Sv(e,r),c=a.fatal??n??!0;s.addIssue({code:"custom",...a,fatal:c})}}):Ds.create()}var DH={object:qt.lazycreate},ue;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ue||(ue={}));var NH=(t,e={message:`Input not instance of ${t.name}`})=>Tv(n=>n instanceof t,e),Dv=Ts.create,Nv=Ti.create,FH=wa.create,MH=Di.create,Fv=Ni.create,UH=Fi.create,_H=Ea.create,LH=Mi.create,PH=Ui.create,OH=Ds.create,$H=jr.create,VH=Jn.create,GH=Ca.create,HH=Jr.create,YH=qt.create,qH=qt.strictCreate,jH=_i.create,JH=rd.create,WH=Li.create,zH=hr.create,KH=sd.create,ZH=Ia.create,XH=Ba.create,eY=id.create,tY=Pi.create,nY=Oi.create,rY=$i.create,sY=Vi.create,iY=Ns.create,oY=bn.create,aY=wn.create,cY=fr.create,uY=bn.createWithPreprocess,AY=Au.create,lY=()=>Dv().optional(),dY=()=>Nv().optional(),pY=()=>Fv().optional(),hY={string:(t=>Ts.create({...t,coerce:!0})),number:(t=>Ti.create({...t,coerce:!0})),boolean:(t=>Ni.create({...t,coerce:!0})),bigint:(t=>Di.create({...t,coerce:!0})),date:(t=>Fi.create({...t,coerce:!0}))};var fY=se;var Qa=["playwright","pytest","robot","junit","vitest","jest","mocha","go","rspec","jasmine"];var Mv="skyramp_session_storage.json";var sm;(function(t){t.PYTHON="python",t.TYPESCRIPT="typescript",t.JAVASCRIPT="javascript",t.JAVA="java"})(sm||(sm={}));var gr;(function(t){t.SMOKE="smoke",t.FUZZ="fuzz",t.CONTRACT="contract",t.LOAD="load",t.INTEGRATION="integration",t.E2E="e2e",t.UI="ui",t.UNIT="unit",t.UNKNOWN="unknown"})(gr||(gr={}));var uZ=[gr.CONTRACT,gr.INTEGRATION,gr.E2E,gr.UI];var Uv;(function(t){t.Rest="rest",t.Grpc="grpc",t.Kafka="kafka"})(Uv||(Uv={}));var od;(function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH",t.HEAD="HEAD",t.OPTIONS="OPTIONS"})(od||(od={}));var lu;(function(t){t.LOCAL="local",t.DOCKER="docker",t.KUBERNETES="k8s"})(lu||(lu={}));var gY=_.nativeEnum(lu),im=_.preprocess(t=>t==="kubernetes"?lu.KUBERNETES:t,gY);var mY=_.object({language:_.nativeEnum(sm).describe("Programming language for the generated test (default: python). Must be one of: python, typescript, javascript, java"),framework:_.string().describe(`Testing framework to use. Supported: ${Qa.join(", ")} (e.g. pytest for python, playwright/vitest/jest for js/ts, junit for java).`)}),_v=_.object({...mY.shape,deployDashboard:_.boolean().default(!1).describe("Whether to deploy the Skyramp dashboard for test monitoring"),runtime:im.default(lu.LOCAL).describe("Runtime environment (local, docker, or k8s; accepts kubernetes as an alias)"),dockerNetwork:_.string().default("").describe("Docker network name to use for containerized testing"),dockerWorkerPort:_.number().int().min(0).max(65535).default(0).describe("Port number for the Docker worker service"),k8sNamespace:_.string().default("").describe("Kubernetes namespace for deployment"),k8sConfig:_.string().default("").describe("Path to Kubernetes configuration file"),k8sContext:_.string().default("").describe("Kubernetes context to use"),authHeader:_.string().default("").describe("Name of the HTTP header that carries the auth credential. Common values: 'Authorization' (Bearer/Basic/Token auth), 'X-Api-Key', 'X-Auth-Token', 'Cookie'. Other accepted values: 'X-Access-Token', 'X-OAuth-Token', 'X-Client-ID', 'X-Client-Secret', 'X-Client-Token', 'X-GitHub-Token', 'X-Firebase-AppCheck', 'Proxy-Authorization', 'Fastly-Key', 'Heroku-Bearer'. Pass empty string to document an unauthenticated endpoint in the generated test's assertions. This is the header KEY name (e.g., 'X-Api-Key'), NOT the token value."),authScheme:_.string().default("").describe("Only for Authorization headers. The literal prefix before the token (e.g., 'Bearer' produces 'Authorization: Bearer <token>'). Common values: 'Bearer', 'Basic', 'Token'. If the API sends raw tokens with no prefix (e.g., 'Authorization: eyJ...'), leave empty or omit. Ignored when authHeader is not 'Authorization'."),insecure:_.boolean().default(!1).describe("Whether to allow insecure SSL connections for HTTPS endpoints"),output:_.string().optional().refine(t=>!t||t===""?!0:[".py",".ts",".js",".java"].some(n=>t.endsWith(n)),{message:"Output file must have one of these extensions: .py, .ts, .js, .java"}).describe("Name of the output test file. For Playwright, name the file the way the repository names its tests: read the test files already in outputDir and match their spelling. Use *.test.ts where they use it, *.spec.ts otherwise (e.g. contract_math_add.spec.ts, fuzz_orders.test.ts). For other frameworks (pytest, junit), standard extensions are fine (.py, .java). Optional \u2014 when omitted, Skyramp generates a default name."),outputDir:_.string().describe("MUST be absolute path to the directory where test files will be generated. If not provided, the CURRENT WORKING DIRECTORY will be used WITHOUT ANY SUBDIRECTORIES"),force:_.boolean().default(!0).describe("Whether to overwrite existing files in the output directory"),mockPort:_.number().int().min(0).max(65535).default(0).describe("Port number for the mock server"),optionalFields:_.boolean().default(!1).describe("Whether to include optional fields in the generated test/mock"),prompt:_.string().describe("The prompt user provided to generate the test")}),AZ=_.object({playwrightInput:_.string().describe("MUST be absolute path to the playwright input file like /path/to/playwright-ui-test.zip and MUST be a zip file captured using start_trace_collection tool"),playwrightStoragePath:_.string().optional().describe("Path to LOAD existing playwright session storage for trace collection with playwright enabled. THE PATH MUST BE AN ABSOLUTE PATH LIKE /Users/<path>/<filename>.json"),playwrightSaveStoragePath:_.string().optional().describe(`Path to SAVE Playwright session storage after trace collection. Omit this argument to use the default \u2014 \`${Mv}\` resolved against the active outputDir, which produces an absolute path like '/abs/outputDir/${Mv}'. SAVES authentication state (cookies, localStorage, sessionStorage) when the browser closes. To LOAD existing auth state, use playwrightStoragePath instead. Can be a bare filename (joined with outputDir), a relative path, or an absolute path.`),playwrightViewportSize:_.union([_.enum(["","hd","full-hd","2k"]),_.string().regex(/^\d+,\d+$/,"Custom viewport must be 'WIDTH,HEIGHT' format (e.g., '1920,1080')")]).default("").describe("Viewport size for playwright browser. THE VALUE MUST BE IN THE FORMAT ['', 'hd', 'full-hd', '2k', 'x,y' e.g. '1920,1080' for 1920x1080 resolution]. DEFAULT VALUE IS ''. If set to '', the browser will use its default viewport size."),browser:_.enum(["chromium","firefox","webkit"]).default("chromium").describe("Browser to use for Playwright trace collection. Supported browsers: 'chromium' (default), 'firefox', 'webkit'. Choose based on your testing requirements and target browser compatibility."),device:_.string().default("").describe("Device to emulate for Playwright trace collection. Supported devices include: 'iPhone 13', 'iPhone 13 Pro', 'Pixel 5', 'Galaxy S9+', 'iPad Pro', etc. Leave empty for no device emulation (desktop). Use specific device names for mobile/tablet testing.")}),lZ=_.object({trace:_.string().describe("Absolute path to the trace file in JSON format (e.g., /path/to/trace.json). Must use .json extension only. Do not use .jsonl files."),include:_.array(_.string()).default([]).describe("List of endpoints or patterns to include in test generation."),exclude:_.array(_.string()).default([]).describe("List of endpoints or patterns to exclude from test generation."),..._v.shape}),dZ={endpointURL:_.string().describe("The full endpoint URL to test including base URL and path (e.g., https://demoshop.skyramp.dev/api/v1/products). MUST include both the base URL and the endpoint path \u2014 never just the base URL alone."),method:_.union([_.nativeEnum(od),_.literal("")]).default("").describe('HTTP method to use. DEFAULT: Use empty string ("") to test ALL available methods from OpenAPI schema (recommended). Only specify a specific method (GET, POST, PUT, DELETE, etc.) if user explicitly requests testing a single method only.'),apiSchema:_.string().default("").describe("MUST be absolute path(/path/to/openapi.json) to the OpenAPI/Swagger schema file or a URL to the OpenAPI/Swagger schema file(e.g. https://demoshop.skyramp.dev/openapi.json). DO NOT TRY TO ASSUME THE OPENAPI SCHEMA IF NOT PROVIDED. NOTE TO AI ASSISTANTS: You do not need to read the contents of this file - simply pass the file path as the backend will read and process it."),pathParams:_.string().default("").describe("Comma-separated path parameter values in the form 'key=value,key2=value2' (e.g., 'id=1,name=John'). DO NOT populate this field unless the user has explicitly provided path parameter values. For contract tests, parent path parameters are automatically handled via the parent provisioning mechanism (parentRequestData) \u2014 do NOT invent or guess values for those here. Only supply this field if the user explicitly states specific path parameter values to use."),queryParams:_.string().default("").describe("MUST be string of comma separated values like 'id=1,name=John' for URL query parameters. Workspace-configured api.defaultQueryParams (if set) are merged in automatically, with any api.queryParamOverrides entry whose pathPattern matches this endpoint layered on top \u2014 no need to repeat them here. An explicit value for the same key here overrides both."),formParams:_.string().default("").describe("MUST be string of comma separated values like 'id=1,name=John' for form data parameters"),requestData:_.string().default("").refine(t=>{if(!t||t===""||t.startsWith("@"))return!0;try{return JSON.parse(t),!0}catch{}let e=t.trim();return!!(e.startsWith("---")||/^\w[\w\s]*:/.test(e)||e.startsWith("-"))},{message:"requestData must be valid JSON, YAML, or an absolute file path prefixed with '@'. Received what appears to be plain text. Provide the actual request body as a JSON object."}).describe("Sample request body data, provided either as an inline JSON/YAML string or as an absolute file path prefixed with '@' (e.g., @/absolute/path/to/file). MUST be valid JSON or YAML \u2014 do NOT pass natural language descriptions."),responseStatusCode:_.string().default("").refine(t=>!t||/^[1-5]\d{2}$/.test(t),{message:"Must be a valid HTTP status code in 100-599 (e.g., '200', '404') or empty string"}).describe("Expected HTTP response status code (e.g., '200', '201', '404'). DO NOT ASSUME STATUS CODE IF NOT PROVIDED"),..._v.shape},pZ=_.object({codeReuse:_.boolean().default(!1).describe("Reuse existing code in the generated test \u2014 consolidates helper functions shared with sibling Skyramp-generated tests into a SkyrampUtils file; for TS/JS Playwright tests with POM reuse enabled it instead refactors the test to use the repo's existing Page Object Model"),modularizeCode:_.boolean().default(!1).describe("Whether to modularize the code")}),hZ=[gr.INTEGRATION,gr.CONTRACT,gr.UI];var ad;(function(t){t.Bug="bug",t.Lint="lint",t.Type="type",t.Config="config"})(ad||(ad={}));var cd;(function(t){t.NotMapped="not-mapped",t.DemotedByVerify="demoted-by-verify"})(cd||(cd={}));var ud;(function(t){t.Passed="passed",t.Failed="failed",t.SkippedNoPom="skipped-no-pom"})(ud||(ud={}));var om;(function(t){t.Passed="passed",t.Failed="failed",t.NoUtilsFile="no-utils-file"})(om||(om={}));Dt();var Ad=t=>`${t} POM call${t===1?"":"s"}`,Lv={testRecommendationsImplementedHeader:t=>`\u{1F4A1} Test Recommendations Implemented (${t})`,testTypeCellLabels:{},statusLabels:{},severityLabels:{},reuse:{label:"POM reuse",noPomLayer:"skipped \u2014 no page-object layer detected for this test",reusedAndVerified:t=>`${Ad(t)} reused and verified`,reusedThenVerified:(t,e)=>`${Ad(t)} reused, ${e} of them verified`,reused:t=>`${Ad(t)} reused`,verified:t=>`${Ad(t)} verified`,unresolved:t=>`${t} not resolvable to POM source (informational, not declines)`,candidates:t=>`${t} candidate POM file${t===1?"":"s"} detected`,verificationPassed:"verification passed",verificationFailed:"\u26A0\uFE0F verification did not pass",keptInline:t=>`kept inline: ${t}`,gate:{"not-mapped":"not mapped","demoted-by-verify":"demoted by verification"}},testMaintenanceHeader:t=>`\u2705 Test Maintenance (${t})`,maintenanceTableHeader:"| Test Type | Endpoint | File | Change | Before | After |",testResultsHeader:t=>`\u{1F9EA} Test Results (${t})`,columnVideo:"Video",videoDownloadLink:t=>`[\u{1F4F9} download](${t})`,videosArtifactFallback:t=>`\u{1F4F9} Recorded UI test videos: [download from run artifacts](${t})`,issuesFoundHeader:t=>`\u26A0\uFE0F Issues Found (${t})`,configErrorsHeader:"\u2699\uFE0F Configuration Errors",nextStepsHeader:"### \u{1F4A1} Next Steps",caveatsHeader:"### \u26A0\uFE0F What this run could not prove",rows:{passed:t=>t?"passed against the running app":"passed",notRun:t=>t?"not run against a live app this run":"not run this run",failedBug:t=>t?"failed against the running app":"failed",executedOf:(t,e)=>e?` and executed ${t} of them against the running app.`:` and executed ${t} of them.`,noneExecuted:t=>t?"; none were executed against a live app this run.":"; none were executed this run."},caveats:{deployFailed:"The app could not be started, so nothing here was checked against a running system.",changeBrokeBringup:"This change appears to have broken the app's start-up: it could not run with the PR applied, so nothing was tested against it.",bringupFailed:"The app could not be started this run, for a reason outside this PR \u2014 nothing was tested against a live app.",testsNotExecuted:"No test was run against a live app this run \u2014 an un-run suite is not evidence the change works.",recipeDrift:"The recorded way to start the app was out of date and had to be corrected before it would come up.",mockedDependency:t=>`${t} was mocked rather than really deployed \u2014 a green run against it is not proof.`,finalizeNotReady:t=>`The tests are not ready to merge as they stand${t?`: ${t}`:"."}`,ciNotCovered:"No CI workflow runs these tests, so they will not execute on future pull requests.",ciNotCoveredBecause:t=>`The repo's CI will not run some of these tests on future pull requests: ${t}`,sutNotRequired:"No app was started: validation triage found no deployed behavior this change needs validated.",lintNotCovered:t=>`The repo's linter does not check ${t} \u2014 a style or type issue there would not be caught automatically.`,analysisUnverified:t=>`Part of the change analysis could not be verified (${t} unresolved check${t===1?"":"s"}); the tests were planned treating those claims as unconfirmed.`,unitTestsNotRun:t=>`Testbot could not run the unit tests it selected, so no unit result here is its own re-run: ${t}`,downstreamNotChecked:t=>`Not run: checks of other parts of the app that this change might affect. The change does not alter that behavior itself, so they are not needed to validate it. ${t}`,testsCouldNotRunHere:(t,e)=>`${t} ${t===1?"test exists":"tests exist"} in this change, but this environment could not run ${t===1?"it":"them"}, so ${t===1?"it has":"they have"} no result here (not skipped): ${e}`,modelProviderDenied:(t,e=!1)=>e?`${t}, the model provider, refused a call. The evidence already obtained is sufficient to determine this run\u2019s outcome.`:`${t}, the model provider, refused Testbot's calls, so the run stopped before it finished. Access was denied because of credentials, permissions, or a usage limit. For Skyramp-managed provider access, contact Skyramp support before running again; if you manage the provider account, ask its administrator to resolve access or usage limits. No changes to your code are needed.`,modelProviderUnavailable:(t,e=!1)=>e?`${t}, the model provider, was unavailable for a call. The evidence already obtained is sufficient to determine this run\u2019s outcome.`:`${t}, the model provider, was unavailable to Testbot, so this stage could not finish. Any results already obtained remain in this report. No changes to your code or Testbot setup are needed. Please try again later.`},providerOutageHeadline:(t,e)=>`Testbot could not reach ${t} \u2014 it tried ${e} times without success.`,providerOutageActionStatusPage:t=>`Check ${t}. Once the service is healthy, re-run this workflow from its run page in the Actions tab.`,providerRateLimitHeadline:t=>`Testbot was rate-limited by ${t} (HTTP 429).`,providerRateLimitAction:"Wait for the limit to reset, then re-run this workflow from its run page in the Actions tab. If this repeats, raise the rate limit on the credential this workflow uses or run Testbot on fewer pull requests at once.",providerUsageLimitHeadline:t=>`The account behind ${t} has reached its usage limit.`,providerUsageLimitAction:"Raise the spend or token cap on the account behind this workflow's credential, then re-run this workflow from its run page in the Actions tab.",providerAuthExpiredHeadline:t=>`The credential Testbot uses to reach ${t} expired while the run was still working.`,providerAuthExpiredAction:"The credential is issued with a fixed lifetime, so a longer run can outlive it. Re-run this workflow from its run page in the Actions tab. If runs on this repository regularly last longer than that lifetime, issue the credential per job or split the run so each job stays inside it.",providerTimeoutHeadline:t=>`Testbot ran past its ${t}-minute time limit and was stopped.`,providerTimeoutAction:"Raise the `testbotTimeout` input on the workflow if runs on this repository legitimately need longer.",staged:{testsSourcePullRequest:t=>`Tests for source pull request ${t}`,requestedByPerson:t=>`Requested by ${t}`,requestedByPolicy:t=>`Started by the Validation Policy ${t}`,noLiveApp:t=>`> \u26A0\uFE0F **No live app (SUT) was available this run** \u2014 the ${t} test(s) below were **not executed** (there was no app to run them against). Run them against a running app to confirm they pass (and that any repro test fails as intended).`,unitTestsInFile:(t,e,n)=>`**${t}**: ${e} unit test${e===1?"":"s"}${n?` for ${n}`:""}`,addedToExistingFile:"added to an existing test file",testPackagesHeader:"### \u{1F4E6} Running these tests",testPackageLine:(t,e)=>`\`${t}/\` is a self-contained test package Skyramp Testbot owns and maintains, with its own manifest, lockfile and runner config. Run it with \`${e}\`; to run it on every pull request, add that one command to CI.`,appManifestsUntouched:"The application's own manifests and lockfiles were not changed.",dependencyChangesHeader:"### \u{1F4E6} Changes to the application's dependencies",dependencyChangeLine:(t,e,n)=>`Added \`${t}\` to \`${e}\` (and its lockfile)${n?`: ${n}`:""}`,testMaintenanceHeader:"\u2705 Test Maintenance",keptNot:"kept, not ",declinedPlanned:"(declined the planned ",declinedMaintenanceHeader:"\u21A9\uFE0F Declined Maintenance",existingEvidenceHeader:"\u2705 Existing Evidence",trustedCheckPassed:(t,e)=>`Trusted CI check ${t} passed${e?` on ${e}`:""}, establishing:`,testResultsHeader:"\u{1F9EA} Test Results",resultsTableHeader:"| Test ID | Test Type | Endpoint | Status | Details |",unitResultsTableHeader:"| Test ID | Test Type | Code under test | Test | Cases | Status | Details |",casesPassed:(t,e,n)=>`${t}/${e} passed${n?`, ${n} skipped`:""}`,behaviourCoverageHeader:"\u{1F517} Behaviour Coverage",coverageCaption:(t,e,n,r)=>` (${t} generated \xB7 ${e} modified \xB7 ${n} verified \xB7 ${r} executed)`,coverageTableHeader:"| Behaviour | Source | Tested By | Maintained By |",writtenNotRun:"written, not run",issuesFoundHeader:"\u26A0\uFE0F Issues Found",caveatsHeader:"### \u26A0\uFE0F What This Run Could Not Prove",commentHeader:"### Skyramp Testbot",timedOut:"> \u26A0\uFE0F Run timed out \u2014 the results below are partial.",stopReasons:{},publishFailures:{},commitHook:t=>t?`${t} hook`:"commit hook",commitRefusedByHook:(t,e)=>`Your repository's ${t} rejected the generated-test commit, so no Testbot PR was created. Hook error: \`${e}\`.`,commitHookCouldNotRun:(t,e)=>`Your repository's ${t} could not run, so no Testbot PR was created: a command it calls is not installed on the runner. Hook error: \`${e}\`.`,maintenanceActions:{},stoppedEarly:(t,e)=>`> \u26A0\uFE0F Run stopped early \u2014 ${t}. The results below are partial.${e}`,viewInSkyramp:t=>` [View in Skyramp](${t})`,descriptionCut:(t,e,n)=>`_\u2026 The rest is left out${e===void 0?", with more test results":e?`, with ${e} more test result${e===1?"":"s"}`:""}: Azure DevOps takes at most ${t} characters.${n?` [Full report](${n})`:""}_`,testsReplaced:(t,e,n)=>[e?`Skyramp Testbot replaced the tests on this pull request with the tests of [this run](${t}), commit \`${e}\`.`:`Skyramp Testbot replaced the tests on this pull request with the tests of [this run](${t}).`,n?`The tests of [the earlier run](${n}) are superseded.`:"The tests an earlier run wrote here are superseded."].join(" "),setupRunEnds:{finished:"Setup run finished. Skyramp is checking the result.",failed:"Setup run failed.",timedOut:"Setup run ran out of time.",cancelledInSkyramp:"Setup run was cancelled in Skyramp.",stoppedToResume:"Setup run stopped. Resume it in Skyramp."},appUnreachable:t=>`Unable to contact the mothership ${t}. Please try again later.`,couldNotStart:t=>`Skyramp Testbot could not start: ${t}`,assembledAfterFailedChecks:t=>`> \u26A0\uFE0F This report was assembled automatically after the write-up step failed its checks; ${t} check(s) remain unmet \u2014 see the run log for details.`,testbotPrLine:(t,e,n)=>`Testbot PR${t?` (${t})`:""} : [${e}](${n})`,viewRun:t=>`_[View run](${t})_`,testsPrNotOpened:(t,e)=>`The tests PR could not be opened (${t}); the tests were pushed to branch \`${e}\`.`,testsNotDelivered:t=>`The tests could not be delivered: ${t}`,testsNotPushed:(t,e)=>`The tests could not be pushed (${t}); they remain on the local branch \`${e}\`.`,testsPrRetargeted:t=>`The dev PR merged while tests were being generated \u2014 the tests PR targets its base branch${t?` (\`${t}\`)`:""} instead.`,testsPrUnchanged:"This push required no new test changes; the tests PR below is from an earlier run and was left as is.",committedNoPr:t=>`The tests were committed but no PR was opened: ${t}.`,testsNotProposed:t=>`The tests were not proposed in a pull request: ${t}.`}};var Pv={testRecommendationsImplementedHeader:t=>`\u{1F4A1} \u5B9F\u88C5\u3057\u305F\u30C6\u30B9\u30C8\u63A8\u5968\uFF08${t}\u4EF6\uFF09`,testTypeCellLabels:{smoke:"\u30B9\u30E2\u30FC\u30AF",fuzz:"\u30D5\u30A1\u30BA",contract:"\u30B3\u30F3\u30C8\u30E9\u30AF\u30C8",load:"\u8CA0\u8377",integration:"\u7D71\u5408",e2e:"E2E",ui:"UI",unit:"\u30E6\u30CB\u30C3\u30C8"},statusLabels:{Pass:"\u5408\u683C",Fail:"\u4E0D\u5408\u683C",Error:"\u30A8\u30E9\u30FC",Skipped:"\u30B9\u30AD\u30C3\u30D7"},severityLabels:{critical:"\u91CD\u5927",high:"\u9AD8",medium:"\u4E2D",low:"\u4F4E"},reuse:{label:"POM \u518D\u5229\u7528",noPomLayer:"\u30B9\u30AD\u30C3\u30D7 \u2014 \u3053\u306E\u30C6\u30B9\u30C8\u306B\u518D\u5229\u7528\u3067\u304D\u308B\u30DA\u30FC\u30B8\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u5C64\u306F\u691C\u51FA\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F",reusedAndVerified:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528\u30FB\u691C\u8A3C\u6E08\u307F`,reusedThenVerified:(t,e)=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528\uFF08\u3046\u3061 ${e} \u4EF6\u3092\u691C\u8A3C\u6E08\u307F\uFF09`,reused:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528`,verified:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u691C\u8A3C\u6E08\u307F`,unresolved:t=>`${t} \u4EF6\u306F POM \u30BD\u30FC\u30B9\u307E\u3067\u89E3\u6C7A\u3067\u304D\u305A\uFF08\u53C2\u8003\u60C5\u5831\u3067\u3042\u308A\u3001\u9664\u5916\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF09`,candidates:t=>`\u5019\u88DC\u3068\u306A\u308B POM \u30D5\u30A1\u30A4\u30EB ${t} \u4EF6\u3092\u691C\u51FA`,verificationPassed:"\u691C\u8A3C\u306B\u5408\u683C",verificationFailed:"\u26A0\uFE0F \u691C\u8A3C\u306B\u5408\u683C\u3057\u307E\u305B\u3093\u3067\u3057\u305F",keptInline:t=>`\u30A4\u30F3\u30E9\u30A4\u30F3\u306E\u307E\u307E: ${t}`,gate:{"not-mapped":"\u30DE\u30C3\u30D4\u30F3\u30B0\u5BFE\u8C61\u5916","demoted-by-verify":"\u691C\u8A3C\u3067\u5DEE\u3057\u623B\u3057"}},testMaintenanceHeader:t=>`\u2705 \u30C6\u30B9\u30C8\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9\uFF08${t}\u4EF6\uFF09`,maintenanceTableHeader:"| \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8 | \u30D5\u30A1\u30A4\u30EB | \u5909\u66F4\u5185\u5BB9 | \u5909\u66F4\u524D | \u5909\u66F4\u5F8C |",testResultsHeader:t=>`\u{1F9EA} \u30C6\u30B9\u30C8\u7D50\u679C\uFF08${t}\u4EF6\uFF09`,columnVideo:"\u30D3\u30C7\u30AA",videoDownloadLink:t=>`[\u{1F4F9} \u30C0\u30A6\u30F3\u30ED\u30FC\u30C9](${t})`,videosArtifactFallback:t=>`\u{1F4F9} \u9332\u753B\u3055\u308C\u305F UI \u30C6\u30B9\u30C8\u30D3\u30C7\u30AA: [\u5B9F\u884C\u30A2\u30FC\u30C6\u30A3\u30D5\u30A1\u30AF\u30C8\u304B\u3089\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9](${t})`,issuesFoundHeader:t=>`\u26A0\uFE0F \u691C\u51FA\u3055\u308C\u305F\u554F\u984C\uFF08${t}\u4EF6\uFF09`,configErrorsHeader:"\u2699\uFE0F \u8A2D\u5B9A\u30A8\u30E9\u30FC",nextStepsHeader:"### \u{1F4A1} \u6B21\u306E\u30B9\u30C6\u30C3\u30D7",caveatsHeader:"### \u26A0\uFE0F \u3053\u306E\u5B9F\u884C\u3067\u78BA\u8A8D\u3067\u304D\u306A\u304B\u3063\u305F\u3053\u3068",rows:{passed:t=>t?"\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u6210\u529F\u3057\u307E\u3057\u305F":"\u6210\u529F\u3057\u307E\u3057\u305F",notRun:t=>t?"\u3053\u306E\u5B9F\u884C\u3067\u306F\u30E9\u30A4\u30D6\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F":"\u3053\u306E\u5B9F\u884C\u3067\u306F\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F",failedBug:t=>t?"\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5931\u6557\u3057\u307E\u3057\u305F":"\u5931\u6557\u3057\u307E\u3057\u305F",executedOf:(t,e)=>e?`\u3001\u305D\u306E\u3046\u3061 ${t} \u4EF6\u3092\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002`:`\u3001\u305D\u306E\u3046\u3061 ${t} \u4EF6\u3092\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002`,noneExecuted:t=>t?"\u3002\u3053\u306E\u5B9F\u884C\u3067\u306F\u30E9\u30A4\u30D6\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3055\u308C\u305F\u3082\u306E\u306F\u3042\u308A\u307E\u305B\u3093\u3002":"\u3002\u3053\u306E\u5B9F\u884C\u3067\u306F\u5B9F\u884C\u3055\u308C\u305F\u3082\u306E\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},caveats:{deployFailed:"\u30A2\u30D7\u30EA\u3092\u8D77\u52D5\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u3053\u306B\u793A\u3059\u5185\u5BB9\u306F\u7A3C\u50CD\u4E2D\u306E\u30B7\u30B9\u30C6\u30E0\u306B\u5BFE\u3057\u3066\u691C\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",changeBrokeBringup:"\u3053\u306E\u5909\u66F4\u306B\u3088\u308A\u30A2\u30D7\u30EA\u306E\u8D77\u52D5\u304C\u58CA\u308C\u305F\u3068\u601D\u308F\u308C\u307E\u3059\u3002PR \u3092\u9069\u7528\u3057\u305F\u72B6\u614B\u3067\u8D77\u52D5\u3067\u304D\u305A\u3001\u30C6\u30B9\u30C8\u306F\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",bringupFailed:"\u3053\u306E PR \u3068\u306F\u7121\u95A2\u4FC2\u306E\u7406\u7531\u3067\u30A2\u30D7\u30EA\u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3059\u308B\u30C6\u30B9\u30C8\u306F\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",testsNotExecuted:"\u3053\u306E\u5B9F\u884C\u3067\u306F\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u30C6\u30B9\u30C8\u304C\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u672A\u5B9F\u884C\u306E\u30C6\u30B9\u30C8\u306F\u5909\u66F4\u304C\u6B63\u3057\u304F\u52D5\u4F5C\u3059\u308B\u8A3C\u62E0\u306B\u306A\u308A\u307E\u305B\u3093\u3002",recipeDrift:"\u8A18\u9332\u3055\u308C\u3066\u3044\u305F\u30A2\u30D7\u30EA\u306E\u8D77\u52D5\u624B\u9806\u304C\u53E4\u304F\u306A\u3063\u3066\u304A\u308A\u3001\u8D77\u52D5\u524D\u306B\u4FEE\u6B63\u304C\u5FC5\u8981\u3067\u3057\u305F\u3002",mockedDependency:t=>`${t} \u306F\u5B9F\u969B\u306B\u30C7\u30D7\u30ED\u30A4\u3055\u308C\u305A\u30E2\u30C3\u30AF\u5316\u3055\u308C\u307E\u3057\u305F\u3002\u3053\u308C\u306B\u5BFE\u3059\u308B\u6210\u529F\u7D50\u679C\u306F\u8A3C\u660E\u306B\u306F\u306A\u308A\u307E\u305B\u3093\u3002`,finalizeNotReady:t=>`\u30C6\u30B9\u30C8\u306F\u73FE\u72B6\u3067\u306F\u30DE\u30FC\u30B8\u53EF\u80FD\u306A\u72B6\u614B\u3067\u306F\u3042\u308A\u307E\u305B\u3093${t?`: ${t}`:"\u3002"}`,ciNotCovered:"\u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u3092\u5B9F\u884C\u3059\u308B CI \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u306A\u3044\u305F\u3081\u3001\u4ECA\u5F8C\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u306F\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3002",ciNotCoveredBecause:t=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E CI \u306F\u3001\u4ECA\u5F8C\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u306E\u4E00\u90E8\u3092\u5B9F\u884C\u3057\u307E\u305B\u3093: ${t}`,sutNotRequired:"\u30A2\u30D7\u30EA\u306F\u8D77\u52D5\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u691C\u8A3C\u30C8\u30EA\u30A2\u30FC\u30B8\u306B\u3088\u308A\u3001\u3053\u306E\u5909\u66F4\u3067\u691C\u8A3C\u304C\u5FC5\u8981\u306A\u30C7\u30D7\u30ED\u30A4\u5F8C\u306E\u632F\u308B\u821E\u3044\u306F\u306A\u3044\u3068\u5224\u65AD\u3055\u308C\u307E\u3057\u305F\u3002",lintNotCovered:t=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u30EA\u30F3\u30BF\u30FC\u306F ${t} \u3092\u30C1\u30A7\u30C3\u30AF\u3057\u307E\u305B\u3093\u3002\u30B9\u30BF\u30A4\u30EB\u3084\u578B\u306E\u554F\u984C\u304C\u81EA\u52D5\u7684\u306B\u306F\u691C\u51FA\u3055\u308C\u307E\u305B\u3093\u3002`,analysisUnverified:t=>`\u5909\u66F4\u306E\u5206\u6790\u306E\u4E00\u90E8\u3092\u691C\u8A3C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08\u672A\u89E3\u6C7A\u306E\u30C1\u30A7\u30C3\u30AF ${t} \u4EF6\uFF09\u3002\u8A72\u5F53\u3059\u308B\u4E3B\u5F35\u306F\u672A\u78BA\u8A8D\u3068\u3057\u3066\u6271\u3044\u3001\u30C6\u30B9\u30C8\u3092\u8A08\u753B\u3057\u307E\u3057\u305F\u3002`,unitTestsNotRun:t=>`Testbot \u306F\u9078\u629E\u3057\u305F\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8\u3092\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3053\u3053\u306B\u3042\u308B\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8\u306E\u7D50\u679C\u306F Testbot \u81EA\u8EAB\u306E\u518D\u5B9F\u884C\u306B\u3088\u308B\u3082\u306E\u3067\u306F\u3042\u308A\u307E\u305B\u3093: ${t}`,downstreamNotChecked:t=>`\u672A\u5B9F\u884C: \u3053\u306E\u5909\u66F4\u304C\u5F71\u97FF\u3057\u3046\u308B\u3001\u30A2\u30D7\u30EA\u306E\u4ED6\u306E\u90E8\u5206\u306E\u78BA\u8A8D\u3067\u3059\u3002\u3053\u306E\u5909\u66F4\u81EA\u4F53\u306F\u305D\u306E\u52D5\u4F5C\u3092\u5909\u3048\u306A\u3044\u305F\u3081\u3001\u5909\u66F4\u306E\u691C\u8A3C\u306B\u306F\u4E0D\u8981\u3067\u3059\u3002${t}`,testsCouldNotRunHere:(t,e)=>`\u3053\u306E\u5909\u66F4\u306B\u306F ${t} \u4EF6\u306E\u30C6\u30B9\u30C8\u304C\u3042\u308A\u307E\u3059\u304C\u3001\u3053\u306E\u74B0\u5883\u3067\u306F\u5B9F\u884C\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093\uFF08\u30B9\u30AD\u30C3\u30D7\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF09: ${e}`,modelProviderDenied:(t,e=!1)=>e?`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u304C\u547C\u3073\u51FA\u3057\u3092\u62D2\u5426\u3057\u307E\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u8A3C\u62E0\u306F\u3001\u3053\u306E\u5B9F\u884C\u306E\u7D50\u679C\u3092\u5224\u65AD\u3059\u308B\u306E\u306B\u5341\u5206\u3067\u3059\u3002`:`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u304C Testbot \u306E\u547C\u3073\u51FA\u3057\u3092\u62D2\u5426\u3057\u305F\u305F\u3081\u3001\u5B9F\u884C\u306F\u5B8C\u4E86\u524D\u306B\u505C\u6B62\u3057\u307E\u3057\u305F\u3002\u8A8D\u8A3C\u60C5\u5831\u3001\u6A29\u9650\u3001\u307E\u305F\u306F\u4F7F\u7528\u91CF\u306E\u4E0A\u9650\u306B\u3088\u308A\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F\u3002\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092 Skyramp \u304C\u7BA1\u7406\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u518D\u5B9F\u884C\u3059\u308B\u524D\u306B Skyramp \u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002\u3054\u81EA\u8EAB\u3067\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u7BA1\u7406\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u305D\u306E\u7BA1\u7406\u8005\u306B\u30A2\u30AF\u30BB\u30B9\u307E\u305F\u306F\u4F7F\u7528\u91CF\u306E\u4E0A\u9650\u306E\u89E3\u6C7A\u3092\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30B3\u30FC\u30C9\u3092\u5909\u66F4\u3059\u308B\u5FC5\u8981\u306F\u3042\u308A\u307E\u305B\u3093\u3002`,modelProviderUnavailable:(t,e=!1)=>e?`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u3092\u547C\u3073\u51FA\u3057\u6642\u306B\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u8A3C\u62E0\u306F\u3001\u3053\u306E\u5B9F\u884C\u306E\u7D50\u679C\u3092\u5224\u65AD\u3059\u308B\u306E\u306B\u5341\u5206\u3067\u3059\u3002`:`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u3092 Testbot \u304C\u5229\u7528\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u306E\u6BB5\u968E\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u7D50\u679C\u306F\u3053\u306E\u30EC\u30DD\u30FC\u30C8\u306B\u6B8B\u3063\u3066\u3044\u307E\u3059\u3002\u30B3\u30FC\u30C9\u3084 Testbot \u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3059\u308B\u5FC5\u8981\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u518D\u5EA6\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002`},providerOutageHeadline:(t,e)=>`${t} \u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002Testbot \u306F ${e} \u56DE\u8A66\u884C\u3057\u307E\u3057\u305F\u304C\u5931\u6557\u3057\u307E\u3057\u305F\u3002`,providerOutageActionStatusPage:t=>`${t} \u3067\u72B6\u6CC1\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30B5\u30FC\u30D3\u30B9\u304C\u5FA9\u65E7\u3057\u305F\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,providerRateLimitHeadline:t=>`${t} \u306E\u30EC\u30FC\u30C8\u5236\u9650\u306B\u3088\u308A\u5B9F\u884C\u304C\u4E2D\u65AD\u3055\u308C\u307E\u3057\u305F (HTTP 429)\u3002`,providerRateLimitAction:"\u5236\u9650\u304C\u89E3\u9664\u3055\u308C\u308B\u307E\u3067\u5F85\u3063\u3066\u304B\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u7E70\u308A\u8FD4\u3059\u5834\u5408\u306F\u3001\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u4F7F\u7528\u3059\u308B\u8A8D\u8A3C\u60C5\u5831\u306E\u30EC\u30FC\u30C8\u5236\u9650\u3092\u5F15\u304D\u4E0A\u3052\u308B\u304B\u3001\u540C\u6642\u306B\u5B9F\u884C\u3059\u308B PR \u306E\u6570\u3092\u6E1B\u3089\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerUsageLimitHeadline:t=>`${t} \u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u5229\u7528\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002`,providerUsageLimitAction:"\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u306E\u8A8D\u8A3C\u60C5\u5831\u306B\u7D10\u3065\u304F\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5229\u7528\u4E0A\u9650\u3092\u5F15\u304D\u4E0A\u3052\u3066\u304B\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerAuthExpiredHeadline:t=>`\u5B9F\u884C\u4E2D\u306B\u3001Testbot \u304C ${t} \u3078\u63A5\u7D9A\u3059\u308B\u305F\u3081\u306E\u8A8D\u8A3C\u60C5\u5831\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u307E\u3057\u305F\u3002`,providerAuthExpiredAction:"\u8A8D\u8A3C\u60C5\u5831\u306E\u6709\u52B9\u671F\u9593\u306F\u56FA\u5B9A\u306E\u305F\u3081\u3001\u5B9F\u884C\u6642\u9593\u304C\u9577\u3044\u3068\u305D\u306E\u671F\u9593\u3092\u8D85\u3048\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u3053\u306E\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u5B9F\u884C\u304C\u6709\u52B9\u671F\u9593\u3092\u5E38\u306B\u8D85\u3048\u308B\u5834\u5408\u306F\u3001\u30B8\u30E7\u30D6\u3054\u3068\u306B\u8A8D\u8A3C\u60C5\u5831\u3092\u767A\u884C\u3059\u308B\u304B\u3001\u5404\u30B8\u30E7\u30D6\u304C\u6709\u52B9\u671F\u9593\u5185\u306B\u53CE\u307E\u308B\u3088\u3046\u5B9F\u884C\u3092\u5206\u5272\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerTimeoutHeadline:t=>`Testbot \u306F\u5236\u9650\u6642\u9593 ${t} \u5206\u3092\u8D85\u3048\u305F\u305F\u3081\u505C\u6B62\u3055\u308C\u307E\u3057\u305F\u3002`,providerTimeoutAction:"\u3053\u306E\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u5B9F\u884C\u306B\u672C\u5F53\u306B\u6642\u9593\u304C\u5FC5\u8981\u306A\u5834\u5408\u306F\u3001\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u306E `testbotTimeout` \u5165\u529B\u5024\u3092\u5927\u304D\u304F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",staged:{testsSourcePullRequest:t=>`\u30BD\u30FC\u30B9\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8 ${t} \u306E\u30C6\u30B9\u30C8`,requestedByPerson:t=>`${t} \u3055\u3093\u306E\u4F9D\u983C\u3067\u5B9F\u884C`,requestedByPolicy:t=>`\u691C\u8A3C\u30DD\u30EA\u30B7\u30FC ${t} \u306B\u3088\u308A\u5B9F\u884C`,noLiveApp:t=>`> \u26A0\uFE0F **\u3053\u306E\u5B9F\u884C\u3067\u306F\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\uFF08SUT\uFF09\u304C\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F** \u2014 \u4EE5\u4E0B\u306E ${t} \u4EF6\u306E\u30C6\u30B9\u30C8\u306F**\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093**\uFF08\u5B9F\u884C\u5BFE\u8C61\u306E\u30A2\u30D7\u30EA\u304C\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F\uFF09\u3002\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3057\u3001\u5408\u683C\u3059\u308B\u3053\u3068\uFF08\u304A\u3088\u3073\u518D\u73FE\u30C6\u30B9\u30C8\u304C\u610F\u56F3\u3069\u304A\u308A\u5931\u6557\u3059\u308B\u3053\u3068\uFF09\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,unitTestsInFile:(t,e,n)=>`**${t}**: ${n?`${n} \u306E`:""}\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8 ${e} \u4EF6`,addedToExistingFile:"\u65E2\u5B58\u306E\u30C6\u30B9\u30C8\u30D5\u30A1\u30A4\u30EB\u306B\u8FFD\u52A0",testPackagesHeader:"### \u{1F4E6} \u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u306E\u5B9F\u884C\u65B9\u6CD5",testPackageLine:(t,e)=>`\`${t}/\` \u306F Skyramp Testbot \u304C\u6240\u6709\u30FB\u4FDD\u5B88\u3059\u308B\u72EC\u7ACB\u3057\u305F\u30C6\u30B9\u30C8\u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u3001\u72EC\u81EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u3001\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\u3001\u30E9\u30F3\u30CA\u30FC\u8A2D\u5B9A\u3092\u6301\u3061\u307E\u3059\u3002\`${e}\` \u3067\u5B9F\u884C\u3067\u304D\u307E\u3059\u3002\u3059\u3079\u3066\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u5B9F\u884C\u3059\u308B\u306B\u306F\u3001\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u3092 CI \u306B\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,appManifestsUntouched:"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u81EA\u8EAB\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u3068\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\u306F\u5909\u66F4\u3057\u3066\u3044\u307E\u305B\u3093\u3002",dependencyChangesHeader:"### \u{1F4E6} \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u4F9D\u5B58\u95A2\u4FC2\u306E\u5909\u66F4",dependencyChangeLine:(t,e,n)=>`\`${e}\`\uFF08\u304A\u3088\u3073\u305D\u306E\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\uFF09\u306B \`${t}\` \u3092\u8FFD\u52A0${n?`: ${n}`:""}`,testMaintenanceHeader:"\u2705 \u30C6\u30B9\u30C8\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9",keptNot:"\u5909\u66F4\u305B\u305A\u7DAD\u6301 \u2014 \u898B\u9001\u3063\u305F\u64CD\u4F5C: ",declinedPlanned:"(\u4E88\u5B9A\u3057\u3066\u3044\u305F\u64CD\u4F5C\u3092\u898B\u9001\u308A: ",declinedMaintenanceHeader:"\u21A9\uFE0F \u898B\u9001\u3063\u305F\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9",existingEvidenceHeader:"\u2705 \u65E2\u5B58\u306E\u30A8\u30D3\u30C7\u30F3\u30B9",trustedCheckPassed:(t,e)=>`\u4FE1\u983C\u6E08\u307F\u306E CI \u30C1\u30A7\u30C3\u30AF ${t} \u304C${e?` ${e} \u3067`:""}\u5408\u683C\u3057\u3001\u6B21\u3092\u78BA\u8A8D\u3057\u307E\u3057\u305F:`,testResultsHeader:"\u{1F9EA} \u30C6\u30B9\u30C8\u7D50\u679C",resultsTableHeader:"| \u30C6\u30B9\u30C8 ID | \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8 | \u30B9\u30C6\u30FC\u30BF\u30B9 | \u8A73\u7D30 |",unitResultsTableHeader:"| \u30C6\u30B9\u30C8 ID | \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30C6\u30B9\u30C8\u5BFE\u8C61\u306E\u30B3\u30FC\u30C9 | \u30C6\u30B9\u30C8 | \u30B1\u30FC\u30B9\u6570 | \u30B9\u30C6\u30FC\u30BF\u30B9 | \u8A73\u7D30 |",casesPassed:(t,e,n)=>`${e} \u4EF6\u4E2D ${t} \u4EF6\u5408\u683C${n?`\u3001${n} \u4EF6\u30B9\u30AD\u30C3\u30D7`:""}`,behaviourCoverageHeader:"\u{1F517} \u632F\u308B\u821E\u3044\u306E\u30AB\u30D0\u30EC\u30C3\u30B8",coverageCaption:(t,e,n,r)=>`\uFF08\u751F\u6210 ${t} \xB7 \u5909\u66F4 ${e} \xB7 \u691C\u8A3C ${n} \xB7 \u5B9F\u884C ${r}\uFF09`,coverageTableHeader:"| \u632F\u308B\u821E\u3044 | \u30BD\u30FC\u30B9 | \u30C6\u30B9\u30C8 | \u30E1\u30F3\u30C6\u30CA\u30F3\u30B9 |",writtenNotRun:"\u4F5C\u6210\u6E08\u307F\u30FB\u672A\u5B9F\u884C",issuesFoundHeader:"\u26A0\uFE0F \u691C\u51FA\u3055\u308C\u305F\u554F\u984C",caveatsHeader:"### \u26A0\uFE0F \u3053\u306E\u5B9F\u884C\u3067\u78BA\u8A8D\u3067\u304D\u306A\u304B\u3063\u305F\u3053\u3068",commentHeader:"### Skyramp Testbot",timedOut:"> \u26A0\uFE0F \u5B9F\u884C\u304C\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F \u2014 \u4EE5\u4E0B\u306E\u7D50\u679C\u306F\u4E00\u90E8\u306E\u307F\u3067\u3059\u3002",stopReasons:{"pr-closed":"\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u30DE\u30FC\u30B8\u3055\u308C\u305A\u306B\u30AF\u30ED\u30FC\u30BA\u3055\u308C\u307E\u3057\u305F",cancelled:"\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u305F\u304B\u3001\u30E9\u30F3\u30CA\u30FC\u304C\u505C\u6B62\u3057\u307E\u3057\u305F","attempt-cancelled":"Skyramp \u3067\u3053\u306E\u5B9F\u884C\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F","attempt-closed":"Skyramp \u304C\u3053\u306E\u5B9F\u884C\u3092\u7D42\u4E86\u3057\u307E\u3057\u305F"},maintenanceActions:{update:"\u66F4\u65B0",regenerate:"\u518D\u751F\u6210",delete:"\u524A\u9664",verify:"\u691C\u8A3C",updated:"\u66F4\u65B0",regenerated:"\u518D\u751F\u6210",deleted:"\u524A\u9664",verified:"\u691C\u8A3C"},publishFailures:{push:"\u30D7\u30C3\u30B7\u30E5\u306B\u5931\u6557",auth:"\u8A8D\u8A3C\u30A8\u30E9\u30FC",conflict:"\u7AF6\u5408",hook:"\u30B3\u30DF\u30C3\u30C8\u30D5\u30C3\u30AF\u304C\u5931\u6557",unknown:"\u4E0D\u660E\u306A\u30A8\u30E9\u30FC"},commitHook:t=>t?`${t} \u30D5\u30C3\u30AF`:"\u30B3\u30DF\u30C3\u30C8\u30D5\u30C3\u30AF",commitRefusedByHook:(t,e)=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E ${t}\u304C\u751F\u6210\u3055\u308C\u305F\u30C6\u30B9\u30C8\u306E\u30B3\u30DF\u30C3\u30C8\u3092\u62D2\u5426\u3057\u305F\u305F\u3081\u3001Testbot PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D5\u30C3\u30AF\u306E\u30A8\u30E9\u30FC: \`${e}\`\u3002`,commitHookCouldNotRun:(t,e)=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E ${t}\u3092\u5B9F\u884C\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001Testbot PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D5\u30C3\u30AF\u304C\u547C\u3073\u51FA\u3059\u30B3\u30DE\u30F3\u30C9\u304C\u30E9\u30F3\u30CA\u30FC\u306B\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30D5\u30C3\u30AF\u306E\u30A8\u30E9\u30FC: \`${e}\`\u3002`,stoppedEarly:(t,e)=>`> \u26A0\uFE0F \u5B9F\u884C\u304C\u9014\u4E2D\u3067\u505C\u6B62\u3057\u307E\u3057\u305F \u2014 ${t}\u3002\u4EE5\u4E0B\u306E\u7D50\u679C\u306F\u4E00\u90E8\u306E\u307F\u3067\u3059\u3002${e}`,viewInSkyramp:t=>` [Skyramp \u3067\u8868\u793A](${t})`,descriptionCut:(t,e,n)=>`_\u2026 \u6B8B\u308A\u306F\u7701\u7565\u3057\u307E\u3057\u305F${e===void 0?"\uFF08\u30C6\u30B9\u30C8\u7D50\u679C\u3092\u542B\u3080\uFF09":e?`\uFF08\u30C6\u30B9\u30C8\u7D50\u679C ${e} \u4EF6\u3092\u542B\u3080\uFF09`:""}\u3002Azure DevOps \u306E\u8AAC\u660E\u306F ${t} \u6587\u5B57\u307E\u3067\u3067\u3059\u3002${n?` [\u5B8C\u5168\u306A\u30EC\u30DD\u30FC\u30C8](${n})`:""}_`,testsReplaced:(t,e,n)=>[e?`Skyramp Testbot \u304C\u3053\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30C6\u30B9\u30C8\u3092[\u3053\u306E\u5B9F\u884C](${t})\u306E\u30C6\u30B9\u30C8\uFF08\u30B3\u30DF\u30C3\u30C8 \`${e}\`\uFF09\u306B\u7F6E\u304D\u63DB\u3048\u307E\u3057\u305F\u3002`:`Skyramp Testbot \u304C\u3053\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30C6\u30B9\u30C8\u3092[\u3053\u306E\u5B9F\u884C](${t})\u306E\u30C6\u30B9\u30C8\u306B\u7F6E\u304D\u63DB\u3048\u307E\u3057\u305F\u3002`,n?`[\u4EE5\u524D\u306E\u5B9F\u884C](${n})\u306E\u30C6\u30B9\u30C8\u306F\u7F6E\u304D\u63DB\u3048\u6E08\u307F\u3067\u3059\u3002`:"\u4EE5\u524D\u306E\u5B9F\u884C\u304C\u3053\u3053\u306B\u66F8\u3044\u305F\u30C6\u30B9\u30C8\u306F\u7F6E\u304D\u63DB\u3048\u6E08\u307F\u3067\u3059\u3002"].join(""),setupRunEnds:{finished:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002Skyramp \u304C\u7D50\u679C\u3092\u78BA\u8A8D\u3057\u3066\u3044\u307E\u3059\u3002",failed:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",timedOut:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u304C\u6642\u9593\u5207\u308C\u306B\u306A\u308A\u307E\u3057\u305F\u3002",cancelledInSkyramp:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u306F Skyramp \u3067\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",stoppedToResume:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u3092\u505C\u6B62\u3057\u307E\u3057\u305F\u3002Skyramp \u3067\u518D\u958B\u3067\u304D\u307E\u3059\u3002"},appUnreachable:t=>`Skyramp\uFF08${t}\uFF09\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002`,couldNotStart:t=>`Skyramp Testbot \u3092\u958B\u59CB\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: ${t}`,assembledAfterFailedChecks:t=>`> \u26A0\uFE0F \u4F5C\u6210\u30B9\u30C6\u30C3\u30D7\u304C\u30C1\u30A7\u30C3\u30AF\u306B\u5408\u683C\u3057\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u306E\u30EC\u30DD\u30FC\u30C8\u306F\u81EA\u52D5\u3067\u7D44\u307F\u7ACB\u3066\u3089\u308C\u307E\u3057\u305F\u3002${t} \u4EF6\u306E\u30C1\u30A7\u30C3\u30AF\u304C\u672A\u9054\u6210\u3067\u3059 \u2014 \u8A73\u7D30\u306F\u5B9F\u884C\u30ED\u30B0\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,testbotPrLine:(t,e,n)=>`Testbot PR${t?`\uFF08${t}\uFF09`:""}: [${e}](${n})`,viewRun:t=>`_[\u5B9F\u884C\u3092\u8868\u793A](${t})_`,testsPrNotOpened:(t,e)=>`\u30C6\u30B9\u30C8 PR \u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08${t}\uFF09\u3002\u30C6\u30B9\u30C8\u306F\u30D6\u30E9\u30F3\u30C1 \`${e}\` \u306B\u30D7\u30C3\u30B7\u30E5\u3055\u308C\u3066\u3044\u307E\u3059\u3002`,testsNotDelivered:t=>`\u30C6\u30B9\u30C8\u3092\u914D\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: ${t}`,testsNotPushed:(t,e)=>`\u30C6\u30B9\u30C8\u3092\u30D7\u30C3\u30B7\u30E5\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08${t}\uFF09\u3002\u30C6\u30B9\u30C8\u306F\u30ED\u30FC\u30AB\u30EB\u30D6\u30E9\u30F3\u30C1 \`${e}\` \u306B\u6B8B\u3063\u3066\u3044\u307E\u3059\u3002`,testsPrRetargeted:t=>`\u30C6\u30B9\u30C8\u306E\u751F\u6210\u4E2D\u306B\u958B\u767A PR \u304C\u30DE\u30FC\u30B8\u3055\u308C\u307E\u3057\u305F \u2014 \u30C6\u30B9\u30C8 PR \u306F\u4EE3\u308F\u308A\u306B\u30D9\u30FC\u30B9\u30D6\u30E9\u30F3\u30C1${t?`\uFF08\`${t}\`\uFF09`:""}\u3092\u5BFE\u8C61\u306B\u3057\u3066\u3044\u307E\u3059\u3002`,testsPrUnchanged:"\u3053\u306E\u30D7\u30C3\u30B7\u30E5\u3067\u306F\u65B0\u3057\u3044\u30C6\u30B9\u30C8\u306E\u5909\u66F4\u306F\u4E0D\u8981\u3067\u3057\u305F\u3002\u4EE5\u4E0B\u306E\u30C6\u30B9\u30C8 PR \u306F\u4EE5\u524D\u306E\u5B9F\u884C\u306E\u3082\u306E\u3067\u3001\u305D\u306E\u307E\u307E\u306B\u3057\u3066\u3044\u307E\u3059\u3002",committedNoPr:t=>`\u30C6\u30B9\u30C8\u306F\u30B3\u30DF\u30C3\u30C8\u3055\u308C\u307E\u3057\u305F\u304C\u3001PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F: ${t}\u3002`,testsNotProposed:t=>`\u30C6\u30B9\u30C8\u306F PR \u3068\u3057\u3066\u63D0\u6848\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F: ${t}\u3002`}};var am=(n=>(n.En="en",n.Ja="ja",n))(am||{}),yY={en:Lv,ja:Pv},EY="en";function cm(t){let e=t.trim().toLowerCase();if(e==="")return"en";let n=Object.values(am);return n.includes(e)?e:(Pe(`Invalid language '${t}'. Supported: ${n.join(", ")}. Falling back to 'en'.`),"en")}function hn(){return yY[EY]}var ld=(c=>(c.ProviderOutage="provider_outage",c.ProviderRateLimit="provider_rate_limit",c.ProviderUsageLimit="provider_usage_limit",c.ProviderAuthExpired="provider_auth_expired",c.Timeout="timeout",c.NoReport="no_report",c.RenderFailure="render_failure",c))(ld||{});(e=>{function t(n,r){switch(n){case"provider_outage":return{headline:hn().providerOutageHeadline(r.provider.name,r.maxRetries),action:hn().providerOutageActionStatusPage(r.provider.statusUrl)};case"provider_rate_limit":return{headline:hn().providerRateLimitHeadline(r.provider.name),action:hn().providerRateLimitAction};case"provider_usage_limit":return{headline:hn().providerUsageLimitHeadline(r.provider.name),action:hn().providerUsageLimitAction};case"provider_auth_expired":return{headline:hn().providerAuthExpiredHeadline(r.provider.name),action:hn().providerAuthExpiredAction};case"timeout":return{headline:hn().providerTimeoutHeadline(r.timeoutMinutes),action:hn().providerTimeoutAction};case"no_report":case"render_failure":return}}e.buildNotice=t})(ld||={});var um=(n=>(n.SameBranch="same-branch",n.SeparateBranch="separate-branch",n))(um||{});var Ov=(n=>(n.Sonnet="sonnet",n.Opus="opus",n))(Ov||{}),CY="opus";function Am(t){return Object.values(Ov).includes(t)}function $v(t){let e=(t??"").trim();if(e==="")return CY;let n=e.toLowerCase();return Am(n)?n:e}var dd=(i=>(i.Low="low",i.Medium="medium",i.High="high",i.XHigh="xhigh",i.Max="max",i))(dd||{}),pd="high";function Vv(t){return Object.values(dd).includes(t)}var Gv=5;function IY(t){let e=t.split(/\r?\n/).map(n=>n.trim()).filter(Boolean);if(e.length>Gv)throw new Error(`relatedRepoPaths supports at most ${Gv} entries (got ${e.length}); the cap limits how much cross-repo context is loaded to avoid overflowing Testbot's context window.`);return e}function BY(t){let e=t.trim().toLowerCase();return e===""?"separate-branch":Object.values(um).includes(e)?e:(Pe(`Invalid generatedTestsMode '${t}'. Falling back to 'separate-branch'.`),"separate-branch")}function wY(t){let e=(t??"").trim();if(e!==""){if(/^(?:[1-9]|10)$/.test(e))return Number(e);Pe(`Ignoring perTestMaxFixAttempts="${t}": expected a whole number from 1 to 10; the Skyramp MCP default applies`)}}function QY(t){let e=(t??"").trim().toLowerCase();return e===""?pd:Vv(e)?e:(Pe(`Ignoring effort="${t}": expected one of ${Object.values(dd).join(", ")}; using "${pd}"`),pd)}function Hv(){let t=$v(he("model"));return Am(t)||Pe(`model '${t}' is not a tested alias (sonnet, opus); passing it to the agent verbatim as a raw model id.`),{skyrampLicenseFile:he("skyrampLicenseFile"),cursorApiKey:he("cursorApiKey"),copilotApiKey:he("copilotApiKey"),anthropicApiKey:he("anthropicApiKey"),useBedrock:vs("useBedrock"),awsRegion:he("awsRegion"),useLocalAuth:he("useLocalAuth").toLowerCase()==="true",model:t,effort:QY(he("effort")),targetSetupCommand:he("targetSetupCommand"),authTokenCommand:he("authTokenCommand"),uiCredentials:he("uiCredentials"),targetTeardownCommand:he("targetTeardownCommand"),skipTargetTeardown:vs("skipTargetTeardown"),skyrampExecutorVersion:he("skyrampExecutorVersion"),skyrampMcpVersion:he("skyrampMcpVersion"),skyrampMcpSource:he("skyrampMcpSource"),skyrampMcpGithubToken:he("skyrampMcpGithubToken"),skyrampMcpGithubRef:he("skyrampMcpGithubRef"),nodeVersion:he("nodeVersion"),skipTargetSetup:vs("skipTargetSetup"),targetReadyCheckCommand:he("targetReadyCheckCommand"),targetReadyCheckTimeout:(()=>{let n=parseInt(he("targetReadyCheckTimeout"),10)||1800;return n<1?(Pe(`targetReadyCheckTimeout must be at least 1 second, got ${n}. Using 1s.`),1):n})(),targetReadyCheckInterval:(()=>{let n=parseInt(he("targetReadyCheckInterval"),10),r=isNaN(n)?30:n;return r<1?(Pe(`targetReadyCheckInterval must be at least 1 second, got ${r}. Using 1s.`),1):r})(),targetReadyCheckDiagnosticsCommand:(()=>{let n=he("targetReadyCheckDiagnosticsCommand");return n.trim().toLowerCase()==="none"?"":n})(),workingDirectory:he("workingDirectory"),autoCommit:vs("autoCommit"),commitMessage:he("commitMessage"),generatedTestsMode:BY(he("generatedTestsMode")),postPrComment:vs("postPrComment"),testExecutionTimeout:parseInt(he("testExecutionTimeout"),10)||300,maxRecommendations:(()=>{let n=parseInt(he("maxRecommendations"),10);return isNaN(n)?void 0:Math.max(0,n)})(),maxGenerate:(()=>{let n=parseInt(he("maxGenerate"),10);return isNaN(n)?void 0:Math.max(0,n)})(),perTestMaxFixAttempts:wY(he("perTestMaxFixAttempts")),testbotMaxRetries:parseInt(he("testbotMaxRetries"),10)||3,testbotRetryDelay:parseInt(he("testbotRetryDelay"),10)||10,testbotTimeout:parseInt(he("testbotTimeout"),10)||60,targetSetupRetries:parseInt(he("targetSetupRetries"),10)||3,targetSetupRetryDelay:parseInt(he("targetSetupRetryDelay"),10)||10,authTokenRetries:(()=>{let n=parseInt(he("authTokenRetries"),10);return Number.isFinite(n)&&n>=1?n:6})(),authTokenRetryDelay:(()=>{let n=parseInt(he("authTokenRetryDelay"),10);return Number.isFinite(n)&&n>=0?n:10})(),reportCollapsed:vs("reportCollapsed"),language:cm(he("language")),enableDebug:vs("enableDebug"),testRepoPath:he("testRepoPath")||void 0,relatedRepoPaths:IY(he("relatedRepoPaths")),allowedAuthors:he("allowedAuthors").split(/\r?\n/).map(n=>n.trim()).filter(Boolean)}}var bY={useBedrock:"false",skipTargetTeardown:"false",skyrampMcpSource:"npm",skyrampMcpGithubRef:"main",nodeVersion:"lts/*",skipTargetSetup:"false",targetReadyCheckTimeout:"1800",targetReadyCheckInterval:"30",targetReadyCheckDiagnosticsCommand:`docker ps -a --format 'table {{.Names}} {{.Status}} {{.Ports}}' && docker ps -a --format '{{.Names}}' | while read name; do [ -n "$name" ] && echo "--- logs $name (last 30) ---" && docker logs --tail 30 "$name"; done`,workingDirectory:".",autoCommit:"true",commitMessage:"Skyramp Testbot: test maintenance suggestions",generatedTestsMode:"separate-branch",pipeline:"staged",postPrComment:"true",testbotMaxRetries:"3",testbotRetryDelay:"10",testExecutionTimeout:"300",testbotTimeout:"60",targetSetupRetries:"3",targetSetupRetryDelay:"10",authTokenRetries:"6",authTokenRetryDelay:"10",reportCollapsed:"true",language:"en",enableDebug:"true",sutSetupMode:"none"};function Yv(t=process.env){for(let[e,n]of Object.entries(bY)){let r=`INPUT_${e.replace(/ /g,"_").toUpperCase()}`;(t[r]??"").trim()===""&&(t[r]=n)}}Dt();var Nx=Re(require("path"));var ba=require("fs"),Wr=Re(require("path"),1),LR=require("child_process"),PR=require("util");function SY(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Bt={},hd={},Fs={},qv;function du(){if(qv)return Fs;qv=1;function t(a){return typeof a>"u"||a===null}function e(a){return typeof a=="object"&&a!==null}function n(a){return Array.isArray(a)?a:t(a)?[]:[a]}function r(a,c){if(c){let A=Object.keys(c);for(let l=0,p=A.length;l<p;l+=1){let h=A[l];a[h]=c[h]}}return a}function s(a,c){let A="";for(let l=0;l<c;l+=1)A+=a;return A}function i(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}return Fs.isNothing=t,Fs.isObject=e,Fs.toArray=n,Fs.repeat=s,Fs.isNegativeZero=i,Fs.extend=r,Fs}var lm,jv;function pu(){if(jv)return lm;jv=1;function t(n,r){let s="",i=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(s+='in "'+n.mark.name+'" '),s+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!r&&n.mark.snippet&&(s+=`
|
|
51
|
+
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function Ev(t){process.exitCode=Zg.Failure,iH(t)}function Xk(t){ei("debug",{},t)}function iH(t,e={}){ei("error",qu(e),t instanceof Error?t.toString():t)}function Pe(t,e={}){ei("warning",qu(e),t instanceof Error?t.toString():t)}function au(t,e={}){ei("notice",qu(e),t instanceof Error?t.toString():t)}function Bn(t){process.stdout.write(t+yv.EOL)}function Xl(t){ap("group",t)}function ed(){ap("endgroup")}function Rs(t){return process.env[`STATE_${t}`]||""}function Cv(t){return sH(this,void 0,void 0,function*(){return yield jl.getIDToken(t)})}var yv,sH,Zg,Dt=kt(()=>{hE();fE();ju();yv=Re(require("os"),1);Zk();Gg();Gg();nv();mv();sH=function(t,e,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(p){try{l(r.next(p))}catch(h){a(h)}}function A(p){try{l(r.throw(p))}catch(h){a(h)}}function l(p){p.done?i(p.value):s(p.value).then(c,A)}l((r=r.apply(t,e||[])).next())})};(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Zg||(Zg={}))});var z9={};ip(z9,{post:()=>zT});module.exports=nD(z9);Dt();var WT=Re(require("path"));Dt();Dt();var Xg;(function(t){t.Pass="Pass",t.Fail="Fail",t.Error="Error",t.Skipped="Skipped",t.Unknown="Unknown"})(Xg||(Xg={}));var Iv;(function(t){t.High="high",t.Medium="medium",t.Low="low"})(Iv||(Iv={}));var Bv;(function(t){t.Skyramp="skyramp",t.External="external"})(Bv||(Bv={}));var em;(function(t){t.Update="UPDATE",t.Regenerate="REGENERATE",t.Delete="DELETE",t.Verify="VERIFY",t.Ignore="IGNORE"})(em||(em={}));var wv;(function(t){t.Small="Small",t.Medium="Medium",t.Large="Large"})(wv||(wv={}));var U={};ip(U,{BRAND:()=>TH,DIRTY:()=>xi,EMPTY_PATH:()=>uH,INVALID:()=>se,NEVER:()=>fY,OK:()=>It,ParseStatus:()=>gt,Schema:()=>Ee,ZodAny:()=>Ds,ZodArray:()=>Jr,ZodBigInt:()=>Di,ZodBoolean:()=>Ni,ZodBranded:()=>uu,ZodCatch:()=>Hi,ZodDate:()=>Fi,ZodDefault:()=>Gi,ZodDiscriminatedUnion:()=>rd,ZodEffects:()=>bn,ZodEnum:()=>$i,ZodError:()=>Yt,ZodFirstPartyTypeKind:()=>ue,ZodFunction:()=>id,ZodIntersection:()=>Li,ZodIssueCode:()=>P,ZodLazy:()=>Pi,ZodLiteral:()=>Oi,ZodMap:()=>Ia,ZodNaN:()=>wa,ZodNativeEnum:()=>Vi,ZodNever:()=>Jn,ZodNull:()=>_i,ZodNullable:()=>fr,ZodNumber:()=>Ti,ZodObject:()=>qt,ZodOptional:()=>wn,ZodParsedType:()=>W,ZodPipeline:()=>Au,ZodPromise:()=>Ns,ZodReadonly:()=>Yi,ZodRecord:()=>sd,ZodSchema:()=>Ee,ZodSet:()=>Ba,ZodString:()=>Ts,ZodSymbol:()=>Ea,ZodTransformer:()=>bn,ZodTuple:()=>hr,ZodType:()=>Ee,ZodUndefined:()=>Mi,ZodUnion:()=>Ui,ZodUnknown:()=>jr,ZodVoid:()=>Ca,addIssueToContext:()=>j,any:()=>OH,array:()=>HH,bigint:()=>MH,boolean:()=>Fv,coerce:()=>hY,custom:()=>Tv,date:()=>_H,datetimeRegex:()=>Rv,defaultErrorMap:()=>Yr,discriminatedUnion:()=>JH,effect:()=>oY,enum:()=>rY,function:()=>eY,getErrorMap:()=>ga,getParsedType:()=>pr,instanceof:()=>NH,intersection:()=>WH,isAborted:()=>td,isAsync:()=>ma,isDirty:()=>nd,isValid:()=>xs,late:()=>DH,lazy:()=>tY,literal:()=>nY,makeIssue:()=>cu,map:()=>ZH,nan:()=>FH,nativeEnum:()=>sY,never:()=>VH,null:()=>PH,nullable:()=>cY,number:()=>Nv,object:()=>YH,objectUtil:()=>tm,oboolean:()=>pY,onumber:()=>dY,optional:()=>aY,ostring:()=>lY,pipeline:()=>AY,preprocess:()=>uY,promise:()=>iY,quotelessJson:()=>oH,record:()=>KH,set:()=>XH,setErrorMap:()=>cH,strictObject:()=>qH,string:()=>Dv,symbol:()=>UH,transformer:()=>oY,tuple:()=>zH,undefined:()=>LH,union:()=>jH,unknown:()=>$H,util:()=>we,void:()=>GH});var we;(function(t){t.assertEqual=s=>{};function e(s){}t.assertIs=e;function n(s){throw new Error}t.assertNever=n,t.arrayToEnum=s=>{let i={};for(let a of s)i[a]=a;return i},t.getValidEnumValues=s=>{let i=t.objectKeys(s).filter(c=>typeof s[s[c]]!="number"),a={};for(let c of i)a[c]=s[c];return t.objectValues(a)},t.objectValues=s=>t.objectKeys(s).map(function(i){return s[i]}),t.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{let i=[];for(let a in s)Object.prototype.hasOwnProperty.call(s,a)&&i.push(a);return i},t.find=(s,i)=>{for(let a of s)if(i(a))return a},t.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}t.joinValues=r,t.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(we||(we={}));var tm;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(tm||(tm={}));var W=we.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),pr=t=>{switch(typeof t){case"undefined":return W.undefined;case"string":return W.string;case"number":return Number.isNaN(t)?W.nan:W.number;case"boolean":return W.boolean;case"function":return W.function;case"bigint":return W.bigint;case"symbol":return W.symbol;case"object":return Array.isArray(t)?W.array:t===null?W.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?W.promise:typeof Map<"u"&&t instanceof Map?W.map:typeof Set<"u"&&t instanceof Set?W.set:typeof Date<"u"&&t instanceof Date?W.date:W.object;default:return W.unknown}};var P=we.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),oH=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Yt=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(i){return i.message},r={_errors:[]},s=i=>{for(let a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(s);else if(a.code==="invalid_return_type")s(a.returnTypeError);else if(a.code==="invalid_arguments")s(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let c=r,A=0;for(;A<a.path.length;){let l=a.path[A];A===a.path.length-1?(c[l]=c[l]||{_errors:[]},c[l]._errors.push(n(a))):c[l]=c[l]||{_errors:[]},c=c[l],A++}}};return s(this),r}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,we.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){let n={},r=[];for(let s of this.issues)if(s.path.length>0){let i=s.path[0];n[i]=n[i]||[],n[i].push(e(s))}else r.push(e(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};Yt.create=t=>new Yt(t);var aH=(t,e)=>{let n;switch(t.code){case P.invalid_type:t.received===W.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case P.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,we.jsonStringifyReplacer)}`;break;case P.unrecognized_keys:n=`Unrecognized key(s) in object: ${we.joinValues(t.keys,", ")}`;break;case P.invalid_union:n="Invalid input";break;case P.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${we.joinValues(t.options)}`;break;case P.invalid_enum_value:n=`Invalid enum value. Expected ${we.joinValues(t.options)}, received '${t.received}'`;break;case P.invalid_arguments:n="Invalid function arguments";break;case P.invalid_return_type:n="Invalid function return type";break;case P.invalid_date:n="Invalid date";break;case P.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:we.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case P.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case P.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case P.custom:n="Invalid input";break;case P.invalid_intersection_types:n="Intersection results could not be merged";break;case P.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case P.not_finite:n="Number must be finite";break;default:n=e.defaultError,we.assertNever(t)}return{message:n}},Yr=aH;var Qv=Yr;function cH(t){Qv=t}function ga(){return Qv}var cu=t=>{let{data:e,path:n,errorMaps:r,issueData:s}=t,i=[...n,...s.path||[]],a={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let c="",A=r.filter(l=>!!l).slice().reverse();for(let l of A)c=l(a,{data:e,defaultError:c}).message;return{...s,path:i,message:c}},uH=[];function j(t,e){let n=ga(),r=cu({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Yr?void 0:Yr].filter(s=>!!s)});t.common.issues.push(r)}var gt=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let s of n){if(s.status==="aborted")return se;s.status==="dirty"&&e.dirty(),r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){let r=[];for(let s of n){let i=await s.key,a=await s.value;r.push({key:i,value:a})}return t.mergeObjectSync(e,r)}static mergeObjectSync(e,n){let r={};for(let s of n){let{key:i,value:a}=s;if(i.status==="aborted"||a.status==="aborted")return se;i.status==="dirty"&&e.dirty(),a.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||s.alwaysSet)&&(r[i.value]=a.value)}return{status:e.value,value:r}}},se=Object.freeze({status:"aborted"}),xi=t=>({status:"dirty",value:t}),It=t=>({status:"valid",value:t}),td=t=>t.status==="aborted",nd=t=>t.status==="dirty",xs=t=>t.status==="valid",ma=t=>typeof Promise<"u"&&t instanceof Promise;var K;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(K||(K={}));var Qn=class{constructor(e,n,r,s){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},bv=(t,e)=>{if(xs(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new Yt(t.common.issues);return this._error=n,this._error}}};function ge(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:r,description:s}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(a,c)=>{let{message:A}=t;return a.code==="invalid_enum_value"?{message:A??c.defaultError}:typeof c.data>"u"?{message:A??r??c.defaultError}:a.code!=="invalid_type"?{message:c.defaultError}:{message:A??n??c.defaultError}},description:s}}var Ee=class{get description(){return this._def.description}_getType(e){return pr(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:pr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new gt,ctx:{common:e.parent.common,data:e.data,parsedType:pr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(ma(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)},s=this._parseSync({data:e,path:r.path,parent:r});return bv(r,s)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:n});return xs(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>xs(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){let r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:pr(e)},s=this._parse({data:e,path:r.path,parent:r}),i=await(ma(s)?s:Promise.resolve(s));return bv(r,i)}refine(e,n){let r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{let a=e(s),c=()=>i.addIssue({code:P.custom,...r(s)});return typeof Promise<"u"&&a instanceof Promise?a.then(A=>A?!0:(c(),!1)):a?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,s)=>e(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(e){return new bn({schema:this,typeName:ue.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return wn.create(this,this._def)}nullable(){return fr.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Jr.create(this)}promise(){return Ns.create(this,this._def)}or(e){return Ui.create([this,e],this._def)}and(e){return Li.create(this,e,this._def)}transform(e){return new bn({...ge(this._def),schema:this,typeName:ue.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Gi({...ge(this._def),innerType:this,defaultValue:n,typeName:ue.ZodDefault})}brand(){return new uu({typeName:ue.ZodBranded,type:this,...ge(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Hi({...ge(this._def),innerType:this,catchValue:n,typeName:ue.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Au.create(this,e)}readonly(){return Yi.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},AH=/^c[^\s-]{8,}$/i,lH=/^[0-9a-z]+$/,dH=/^[0-9A-HJKMNP-TV-Z]{26}$/i,pH=/^[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}$/i,hH=/^[a-z0-9_-]{21}$/i,fH=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,gH=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,mH=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,yH="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",nm,EH=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,CH=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,IH=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]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0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,wH=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,QH=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,kv="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",bH=new RegExp(`^${kv}$`);function vv(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function SH(t){return new RegExp(`^${vv(t)}$`)}function Rv(t){let e=`${kv}T${vv(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function kH(t,e){return!!((e==="v4"||!e)&&EH.test(t)||(e==="v6"||!e)&&IH.test(t))}function vH(t,e){if(!fH.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&s?.typ!=="JWT"||!s.alg||e&&s.alg!==e)}catch{return!1}}function RH(t,e){return!!((e==="v4"||!e)&&CH.test(t)||(e==="v6"||!e)&&BH.test(t))}var Ts=class t extends Ee{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==W.string){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.string,received:i.parsedType}),se}let r=new gt,s;for(let i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")e.data.length>i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){let a=e.data.length>i.value,c=e.data.length<i.value;(a||c)&&(s=this._getOrReturnCtx(e,s),a?j(s,{code:P.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):c&&j(s,{code:P.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")mH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"email",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")nm||(nm=new RegExp(yH,"u")),nm.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"emoji",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")pH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"uuid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")hH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"nanoid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")AH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cuid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")lH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cuid2",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")dH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"ulid",code:P.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{s=this._getOrReturnCtx(e,s),j(s,{validation:"url",code:P.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"regex",code:P.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Rv(i).test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?bH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?SH(i).test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{code:P.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?gH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"duration",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?kH(e.data,i.version)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"ip",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?vH(e.data,i.alg)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"jwt",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?RH(e.data,i.version)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"cidr",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?wH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"base64",code:P.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?QH.test(e.data)||(s=this._getOrReturnCtx(e,s),j(s,{validation:"base64url",code:P.invalid_string,message:i.message}),r.dirty()):we.assertNever(i);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(s=>e.test(s),{validation:n,code:P.invalid_string,...K.errToObj(r)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...K.errToObj(e)})}url(e){return this._addCheck({kind:"url",...K.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...K.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...K.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...K.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...K.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...K.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...K.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...K.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...K.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...K.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...K.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...K.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...K.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...K.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...K.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...K.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...K.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...K.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...K.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...K.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...K.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...K.errToObj(n)})}nonempty(e){return this.min(1,K.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Ts.create=t=>new Ts({checks:[],typeName:ue.ZodString,coerce:t?.coerce??!1,...ge(t)});function xH(t,e){let n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return i%a/10**s}var Ti=class t extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==W.number){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.number,received:i.parsedType}),se}let r,s=new gt;for(let i of this._def.checks)i.kind==="int"?we.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),j(r,{code:P.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?xH(e.data,i.value)!==0&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_finite,message:i.message}),s.dirty()):we.assertNever(i);return{status:s.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,K.toString(n))}gt(e,n){return this.setLimit("min",e,!1,K.toString(n))}lte(e,n){return this.setLimit("max",e,!0,K.toString(n))}lt(e,n){return this.setLimit("max",e,!1,K.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:K.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:K.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:K.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:K.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:K.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:K.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:K.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:K.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:K.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&we.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}};Ti.create=t=>new Ti({checks:[],typeName:ue.ZodNumber,coerce:t?.coerce||!1,...ge(t)});var Di=class t extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==W.bigint)return this._getInvalidInput(e);let r,s=new gt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),j(r,{code:P.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):we.assertNever(i);return{status:s.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return j(n,{code:P.invalid_type,expected:W.bigint,received:n.parsedType}),se}gte(e,n){return this.setLimit("min",e,!0,K.toString(n))}gt(e,n){return this.setLimit("min",e,!1,K.toString(n))}lte(e,n){return this.setLimit("max",e,!0,K.toString(n))}lt(e,n){return this.setLimit("max",e,!1,K.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:K.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:K.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:K.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:K.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:K.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Di.create=t=>new Di({checks:[],typeName:ue.ZodBigInt,coerce:t?.coerce??!1,...ge(t)});var Ni=class extends Ee{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==W.boolean){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.boolean,received:r.parsedType}),se}return It(e.data)}};Ni.create=t=>new Ni({typeName:ue.ZodBoolean,coerce:t?.coerce||!1,...ge(t)});var Fi=class t extends Ee{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==W.date){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_type,expected:W.date,received:i.parsedType}),se}if(Number.isNaN(e.data.getTime())){let i=this._getOrReturnCtx(e);return j(i,{code:P.invalid_date}),se}let r=new gt,s;for(let i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(s=this._getOrReturnCtx(e,s),j(s,{code:P.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):we.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:K.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:K.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}};Fi.create=t=>new Fi({checks:[],coerce:t?.coerce||!1,typeName:ue.ZodDate,...ge(t)});var Ea=class extends Ee{_parse(e){if(this._getType(e)!==W.symbol){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.symbol,received:r.parsedType}),se}return It(e.data)}};Ea.create=t=>new Ea({typeName:ue.ZodSymbol,...ge(t)});var Mi=class extends Ee{_parse(e){if(this._getType(e)!==W.undefined){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.undefined,received:r.parsedType}),se}return It(e.data)}};Mi.create=t=>new Mi({typeName:ue.ZodUndefined,...ge(t)});var _i=class extends Ee{_parse(e){if(this._getType(e)!==W.null){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.null,received:r.parsedType}),se}return It(e.data)}};_i.create=t=>new _i({typeName:ue.ZodNull,...ge(t)});var Ds=class extends Ee{constructor(){super(...arguments),this._any=!0}_parse(e){return It(e.data)}};Ds.create=t=>new Ds({typeName:ue.ZodAny,...ge(t)});var jr=class extends Ee{constructor(){super(...arguments),this._unknown=!0}_parse(e){return It(e.data)}};jr.create=t=>new jr({typeName:ue.ZodUnknown,...ge(t)});var Jn=class extends Ee{_parse(e){let n=this._getOrReturnCtx(e);return j(n,{code:P.invalid_type,expected:W.never,received:n.parsedType}),se}};Jn.create=t=>new Jn({typeName:ue.ZodNever,...ge(t)});var Ca=class extends Ee{_parse(e){if(this._getType(e)!==W.undefined){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.void,received:r.parsedType}),se}return It(e.data)}};Ca.create=t=>new Ca({typeName:ue.ZodVoid,...ge(t)});var Jr=class t extends Ee{_parse(e){let{ctx:n,status:r}=this._processInputParams(e),s=this._def;if(n.parsedType!==W.array)return j(n,{code:P.invalid_type,expected:W.array,received:n.parsedType}),se;if(s.exactLength!==null){let a=n.data.length>s.exactLength.value,c=n.data.length<s.exactLength.value;(a||c)&&(j(n,{code:a?P.too_big:P.too_small,minimum:c?s.exactLength.value:void 0,maximum:a?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(j(n,{code:P.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(j(n,{code:P.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,c)=>s.type._parseAsync(new Qn(n,a,n.path,c)))).then(a=>gt.mergeArray(r,a));let i=[...n.data].map((a,c)=>s.type._parseSync(new Qn(n,a,n.path,c)));return gt.mergeArray(r,i)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:K.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:K.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:K.toString(n)}})}nonempty(e){return this.min(1,e)}};Jr.create=(t,e)=>new Jr({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ue.ZodArray,...ge(e)});function ya(t){if(t instanceof qt){let e={};for(let n in t.shape){let r=t.shape[n];e[n]=wn.create(ya(r))}return new qt({...t._def,shape:()=>e})}else return t instanceof Jr?new Jr({...t._def,type:ya(t.element)}):t instanceof wn?wn.create(ya(t.unwrap())):t instanceof fr?fr.create(ya(t.unwrap())):t instanceof hr?hr.create(t.items.map(e=>ya(e))):t}var qt=class t extends Ee{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=we.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==W.object){let l=this._getOrReturnCtx(e);return j(l,{code:P.invalid_type,expected:W.object,received:l.parsedType}),se}let{status:r,ctx:s}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),c=[];if(!(this._def.catchall instanceof Jn&&this._def.unknownKeys==="strip"))for(let l in s.data)a.includes(l)||c.push(l);let A=[];for(let l of a){let p=i[l],h=s.data[l];A.push({key:{status:"valid",value:l},value:p._parse(new Qn(s,h,s.path,l)),alwaysSet:l in s.data})}if(this._def.catchall instanceof Jn){let l=this._def.unknownKeys;if(l==="passthrough")for(let p of c)A.push({key:{status:"valid",value:p},value:{status:"valid",value:s.data[p]}});else if(l==="strict")c.length>0&&(j(s,{code:P.unrecognized_keys,keys:c}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let l=this._def.catchall;for(let p of c){let h=s.data[p];A.push({key:{status:"valid",value:p},value:l._parse(new Qn(s,h,s.path,p)),alwaysSet:p in s.data})}}return s.common.async?Promise.resolve().then(async()=>{let l=[];for(let p of A){let h=await p.key,g=await p.value;l.push({key:h,value:g,alwaysSet:p.alwaysSet})}return l}).then(l=>gt.mergeObjectSync(r,l)):gt.mergeObjectSync(r,A)}get shape(){return this._def.shape()}strict(e){return K.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{let s=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:K.errToObj(e).message??s}:{message:s}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ue.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let r of we.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let r of we.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}deepPartial(){return ya(this)}partial(e){let n={};for(let r of we.objectKeys(this.shape)){let s=this.shape[r];e&&!e[r]?n[r]=s:n[r]=s.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let r of we.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof wn;)i=i._def.innerType;n[r]=i}return new t({...this._def,shape:()=>n})}keyof(){return xv(we.objectKeys(this.shape))}};qt.create=(t,e)=>new qt({shape:()=>t,unknownKeys:"strip",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});qt.strictCreate=(t,e)=>new qt({shape:()=>t,unknownKeys:"strict",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});qt.lazycreate=(t,e)=>new qt({shape:t,unknownKeys:"strip",catchall:Jn.create(),typeName:ue.ZodObject,...ge(e)});var Ui=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=this._def.options;function s(i){for(let c of i)if(c.result.status==="valid")return c.result;for(let c of i)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;let a=i.map(c=>new Yt(c.ctx.common.issues));return j(n,{code:P.invalid_union,unionErrors:a}),se}if(n.common.async)return Promise.all(r.map(async i=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(s);{let i,a=[];for(let A of r){let l={...n,common:{...n.common,issues:[]},parent:null},p=A._parseSync({data:n.data,path:n.path,parent:l});if(p.status==="valid")return p;p.status==="dirty"&&!i&&(i={result:p,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let c=a.map(A=>new Yt(A));return j(n,{code:P.invalid_union,unionErrors:c}),se}}get options(){return this._def.options}};Ui.create=(t,e)=>new Ui({options:t,typeName:ue.ZodUnion,...ge(e)});var qr=t=>t instanceof Pi?qr(t.schema):t instanceof bn?qr(t.innerType()):t instanceof Oi?[t.value]:t instanceof $i?t.options:t instanceof Vi?we.objectValues(t.enum):t instanceof Gi?qr(t._def.innerType):t instanceof Mi?[void 0]:t instanceof _i?[null]:t instanceof wn?[void 0,...qr(t.unwrap())]:t instanceof fr?[null,...qr(t.unwrap())]:t instanceof uu||t instanceof Yi?qr(t.unwrap()):t instanceof Hi?qr(t._def.innerType):[],rd=class t extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.object)return j(n,{code:P.invalid_type,expected:W.object,received:n.parsedType}),se;let r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(j(n,{code:P.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),se)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){let s=new Map;for(let i of n){let a=qr(i.shape[e]);if(!a.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let c of a){if(s.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);s.set(c,i)}}return new t({typeName:ue.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:s,...ge(r)})}};function rm(t,e){let n=pr(t),r=pr(e);if(t===e)return{valid:!0,data:t};if(n===W.object&&r===W.object){let s=we.objectKeys(e),i=we.objectKeys(t).filter(c=>s.indexOf(c)!==-1),a={...t,...e};for(let c of i){let A=rm(t[c],e[c]);if(!A.valid)return{valid:!1};a[c]=A.data}return{valid:!0,data:a}}else if(n===W.array&&r===W.array){if(t.length!==e.length)return{valid:!1};let s=[];for(let i=0;i<t.length;i++){let a=t[i],c=e[i],A=rm(a,c);if(!A.valid)return{valid:!1};s.push(A.data)}return{valid:!0,data:s}}else return n===W.date&&r===W.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var Li=class extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=(i,a)=>{if(td(i)||td(a))return se;let c=rm(i.value,a.value);return c.valid?((nd(i)||nd(a))&&n.dirty(),{status:n.value,value:c.data}):(j(r,{code:P.invalid_intersection_types}),se)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>s(i,a)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};Li.create=(t,e,n)=>new Li({left:t,right:e,typeName:ue.ZodIntersection,...ge(n)});var hr=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.array)return j(r,{code:P.invalid_type,expected:W.array,received:r.parsedType}),se;if(r.data.length<this._def.items.length)return j(r,{code:P.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),se;!this._def.rest&&r.data.length>this._def.items.length&&(j(r,{code:P.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...r.data].map((a,c)=>{let A=this._def.items[c]||this._def.rest;return A?A._parse(new Qn(r,a,r.path,c)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>gt.mergeArray(n,a)):gt.mergeArray(n,i)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};hr.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new hr({items:t,typeName:ue.ZodTuple,rest:null,...ge(e)})};var sd=class t extends Ee{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.object)return j(r,{code:P.invalid_type,expected:W.object,received:r.parsedType}),se;let s=[],i=this._def.keyType,a=this._def.valueType;for(let c in r.data)s.push({key:i._parse(new Qn(r,c,r.path,c)),value:a._parse(new Qn(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?gt.mergeObjectAsync(n,s):gt.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof Ee?new t({keyType:e,valueType:n,typeName:ue.ZodRecord,...ge(r)}):new t({keyType:Ts.create(),valueType:e,typeName:ue.ZodRecord,...ge(n)})}},Ia=class extends Ee{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.map)return j(r,{code:P.invalid_type,expected:W.map,received:r.parsedType}),se;let s=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([c,A],l)=>({key:s._parse(new Qn(r,c,r.path,[l,"key"])),value:i._parse(new Qn(r,A,r.path,[l,"value"]))}));if(r.common.async){let c=new Map;return Promise.resolve().then(async()=>{for(let A of a){let l=await A.key,p=await A.value;if(l.status==="aborted"||p.status==="aborted")return se;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}})}else{let c=new Map;for(let A of a){let l=A.key,p=A.value;if(l.status==="aborted"||p.status==="aborted")return se;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}}}};Ia.create=(t,e,n)=>new Ia({valueType:e,keyType:t,typeName:ue.ZodMap,...ge(n)});var Ba=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==W.set)return j(r,{code:P.invalid_type,expected:W.set,received:r.parsedType}),se;let s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(j(r,{code:P.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(j(r,{code:P.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());let i=this._def.valueType;function a(A){let l=new Set;for(let p of A){if(p.status==="aborted")return se;p.status==="dirty"&&n.dirty(),l.add(p.value)}return{status:n.value,value:l}}let c=[...r.data.values()].map((A,l)=>i._parse(new Qn(r,A,r.path,l)));return r.common.async?Promise.all(c).then(A=>a(A)):a(c)}min(e,n){return new t({...this._def,minSize:{value:e,message:K.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:K.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Ba.create=(t,e)=>new Ba({valueType:t,minSize:null,maxSize:null,typeName:ue.ZodSet,...ge(e)});var id=class t extends Ee{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.function)return j(n,{code:P.invalid_type,expected:W.function,received:n.parsedType}),se;function r(c,A){return cu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,ga(),Yr].filter(l=>!!l),issueData:{code:P.invalid_arguments,argumentsError:A}})}function s(c,A){return cu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,ga(),Yr].filter(l=>!!l),issueData:{code:P.invalid_return_type,returnTypeError:A}})}let i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof Ns){let c=this;return It(async function(...A){let l=new Yt([]),p=await c._def.args.parseAsync(A,i).catch(C=>{throw l.addIssue(r(A,C)),l}),h=await Reflect.apply(a,this,p);return await c._def.returns._def.type.parseAsync(h,i).catch(C=>{throw l.addIssue(s(h,C)),l})})}else{let c=this;return It(function(...A){let l=c._def.args.safeParse(A,i);if(!l.success)throw new Yt([r(A,l.error)]);let p=Reflect.apply(a,this,l.data),h=c._def.returns.safeParse(p,i);if(!h.success)throw new Yt([s(p,h.error)]);return h.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:hr.create(e).rest(jr.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new t({args:e||hr.create([]).rest(jr.create()),returns:n||jr.create(),typeName:ue.ZodFunction,...ge(r)})}},Pi=class extends Ee{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};Pi.create=(t,e)=>new Pi({getter:t,typeName:ue.ZodLazy,...ge(e)});var Oi=class extends Ee{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return j(n,{received:n.data,code:P.invalid_literal,expected:this._def.value}),se}return{status:"valid",value:e.data}}get value(){return this._def.value}};Oi.create=(t,e)=>new Oi({value:t,typeName:ue.ZodLiteral,...ge(e)});function xv(t,e){return new $i({values:t,typeName:ue.ZodEnum,...ge(e)})}var $i=class t extends Ee{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),r=this._def.values;return j(n,{expected:we.joinValues(r),received:n.parsedType,code:P.invalid_type}),se}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),r=this._def.values;return j(n,{received:n.data,code:P.invalid_enum_value,options:r}),se}return It(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}};$i.create=xv;var Vi=class extends Ee{_parse(e){let n=we.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==W.string&&r.parsedType!==W.number){let s=we.objectValues(n);return j(r,{expected:we.joinValues(s),received:r.parsedType,code:P.invalid_type}),se}if(this._cache||(this._cache=new Set(we.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let s=we.objectValues(n);return j(r,{received:r.data,code:P.invalid_enum_value,options:s}),se}return It(e.data)}get enum(){return this._def.values}};Vi.create=(t,e)=>new Vi({values:t,typeName:ue.ZodNativeEnum,...ge(e)});var Ns=class extends Ee{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.promise&&n.common.async===!1)return j(n,{code:P.invalid_type,expected:W.promise,received:n.parsedType}),se;let r=n.parsedType===W.promise?n.data:Promise.resolve(n.data);return It(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Ns.create=(t,e)=>new Ns({type:t,typeName:ue.ZodPromise,...ge(e)});var bn=class extends Ee{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ue.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:a=>{j(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){let a=s.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async c=>{if(n.value==="aborted")return se;let A=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return A.status==="aborted"?se:A.status==="dirty"?xi(A.value):n.value==="dirty"?xi(A.value):A});{if(n.value==="aborted")return se;let c=this._def.schema._parseSync({data:a,path:r.path,parent:r});return c.status==="aborted"?se:c.status==="dirty"?xi(c.value):n.value==="dirty"?xi(c.value):c}}if(s.type==="refinement"){let a=c=>{let A=s.refinement(c,i);if(r.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){let c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?se:(c.status==="dirty"&&n.dirty(),a(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?se:(c.status==="dirty"&&n.dirty(),a(c.value).then(()=>({status:n.value,value:c.value}))))}if(s.type==="transform")if(r.common.async===!1){let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!xs(a))return se;let c=s.transform(a.value,i);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>xs(a)?Promise.resolve(s.transform(a.value,i)).then(c=>({status:n.value,value:c})):se);we.assertNever(s)}};bn.create=(t,e,n)=>new bn({schema:t,typeName:ue.ZodEffects,effect:e,...ge(n)});bn.createWithPreprocess=(t,e,n)=>new bn({schema:e,effect:{type:"preprocess",transform:t},typeName:ue.ZodEffects,...ge(n)});var wn=class extends Ee{_parse(e){return this._getType(e)===W.undefined?It(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};wn.create=(t,e)=>new wn({innerType:t,typeName:ue.ZodOptional,...ge(e)});var fr=class extends Ee{_parse(e){return this._getType(e)===W.null?It(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};fr.create=(t,e)=>new fr({innerType:t,typeName:ue.ZodNullable,...ge(e)});var Gi=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return n.parsedType===W.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Gi.create=(t,e)=>new Gi({innerType:t,typeName:ue.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ge(e)});var Hi=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ma(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Yt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Yt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};Hi.create=(t,e)=>new Hi({innerType:t,typeName:ue.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ge(e)});var wa=class extends Ee{_parse(e){if(this._getType(e)!==W.nan){let r=this._getOrReturnCtx(e);return j(r,{code:P.invalid_type,expected:W.nan,received:r.parsedType}),se}return{status:"valid",value:e.data}}};wa.create=t=>new wa({typeName:ue.ZodNaN,...ge(t)});var TH=Symbol("zod_brand"),uu=class extends Ee{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},Au=class t extends Ee{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?se:i.status==="dirty"?(n.dirty(),xi(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{let s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?se:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(e,n){return new t({in:e,out:n,typeName:ue.ZodPipeline})}},Yi=class extends Ee{_parse(e){let n=this._def.innerType._parse(e),r=s=>(xs(s)&&(s.value=Object.freeze(s.value)),s);return ma(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}};Yi.create=(t,e)=>new Yi({innerType:t,typeName:ue.ZodReadonly,...ge(e)});function Sv(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Tv(t,e={},n){return t?Ds.create().superRefine((r,s)=>{let i=t(r);if(i instanceof Promise)return i.then(a=>{if(!a){let c=Sv(e,r),A=c.fatal??n??!0;s.addIssue({code:"custom",...c,fatal:A})}});if(!i){let a=Sv(e,r),c=a.fatal??n??!0;s.addIssue({code:"custom",...a,fatal:c})}}):Ds.create()}var DH={object:qt.lazycreate},ue;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ue||(ue={}));var NH=(t,e={message:`Input not instance of ${t.name}`})=>Tv(n=>n instanceof t,e),Dv=Ts.create,Nv=Ti.create,FH=wa.create,MH=Di.create,Fv=Ni.create,_H=Fi.create,UH=Ea.create,LH=Mi.create,PH=_i.create,OH=Ds.create,$H=jr.create,VH=Jn.create,GH=Ca.create,HH=Jr.create,YH=qt.create,qH=qt.strictCreate,jH=Ui.create,JH=rd.create,WH=Li.create,zH=hr.create,KH=sd.create,ZH=Ia.create,XH=Ba.create,eY=id.create,tY=Pi.create,nY=Oi.create,rY=$i.create,sY=Vi.create,iY=Ns.create,oY=bn.create,aY=wn.create,cY=fr.create,uY=bn.createWithPreprocess,AY=Au.create,lY=()=>Dv().optional(),dY=()=>Nv().optional(),pY=()=>Fv().optional(),hY={string:(t=>Ts.create({...t,coerce:!0})),number:(t=>Ti.create({...t,coerce:!0})),boolean:(t=>Ni.create({...t,coerce:!0})),bigint:(t=>Di.create({...t,coerce:!0})),date:(t=>Fi.create({...t,coerce:!0}))};var fY=se;var Qa=["playwright","pytest","robot","junit","vitest","jest","mocha","go","rspec","jasmine"];var Mv="skyramp_session_storage.json";var sm;(function(t){t.PYTHON="python",t.TYPESCRIPT="typescript",t.JAVASCRIPT="javascript",t.JAVA="java"})(sm||(sm={}));var gr;(function(t){t.SMOKE="smoke",t.FUZZ="fuzz",t.CONTRACT="contract",t.LOAD="load",t.INTEGRATION="integration",t.E2E="e2e",t.UI="ui",t.UNIT="unit",t.UNKNOWN="unknown"})(gr||(gr={}));var uZ=[gr.CONTRACT,gr.INTEGRATION,gr.E2E,gr.UI];var _v;(function(t){t.Rest="rest",t.Grpc="grpc",t.Kafka="kafka"})(_v||(_v={}));var od;(function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH",t.HEAD="HEAD",t.OPTIONS="OPTIONS"})(od||(od={}));var lu;(function(t){t.LOCAL="local",t.DOCKER="docker",t.KUBERNETES="k8s"})(lu||(lu={}));var gY=U.nativeEnum(lu),im=U.preprocess(t=>t==="kubernetes"?lu.KUBERNETES:t,gY);var mY=U.object({language:U.nativeEnum(sm).describe("Programming language for the generated test (default: python). Must be one of: python, typescript, javascript, java"),framework:U.string().describe(`Testing framework to use. Supported: ${Qa.join(", ")} (e.g. pytest for python, playwright/vitest/jest for js/ts, junit for java).`)}),Uv=U.object({...mY.shape,deployDashboard:U.boolean().default(!1).describe("Whether to deploy the Skyramp dashboard for test monitoring"),runtime:im.default(lu.LOCAL).describe("Runtime environment (local, docker, or k8s; accepts kubernetes as an alias)"),dockerNetwork:U.string().default("").describe("Docker network name to use for containerized testing"),dockerWorkerPort:U.number().int().min(0).max(65535).default(0).describe("Port number for the Docker worker service"),k8sNamespace:U.string().default("").describe("Kubernetes namespace for deployment"),k8sConfig:U.string().default("").describe("Path to Kubernetes configuration file"),k8sContext:U.string().default("").describe("Kubernetes context to use"),authHeader:U.string().default("").describe("Name of the HTTP header that carries the auth credential. Common values: 'Authorization' (Bearer/Basic/Token auth), 'X-Api-Key', 'X-Auth-Token', 'Cookie'. Other accepted values: 'X-Access-Token', 'X-OAuth-Token', 'X-Client-ID', 'X-Client-Secret', 'X-Client-Token', 'X-GitHub-Token', 'X-Firebase-AppCheck', 'Proxy-Authorization', 'Fastly-Key', 'Heroku-Bearer'. Pass empty string to document an unauthenticated endpoint in the generated test's assertions. This is the header KEY name (e.g., 'X-Api-Key'), NOT the token value."),authScheme:U.string().default("").describe("Only for Authorization headers. The literal prefix before the token (e.g., 'Bearer' produces 'Authorization: Bearer <token>'). Common values: 'Bearer', 'Basic', 'Token'. If the API sends raw tokens with no prefix (e.g., 'Authorization: eyJ...'), leave empty or omit. Ignored when authHeader is not 'Authorization'."),insecure:U.boolean().default(!1).describe("Whether to allow insecure SSL connections for HTTPS endpoints"),output:U.string().optional().refine(t=>!t||t===""?!0:[".py",".ts",".js",".java"].some(n=>t.endsWith(n)),{message:"Output file must have one of these extensions: .py, .ts, .js, .java"}).describe("Name of the output test file. For Playwright, name the file the way the repository names its tests: read the test files already in outputDir and match their spelling. Use *.test.ts where they use it, *.spec.ts otherwise (e.g. contract_math_add.spec.ts, fuzz_orders.test.ts). For other frameworks (pytest, junit), standard extensions are fine (.py, .java). Optional \u2014 when omitted, Skyramp generates a default name."),outputDir:U.string().describe("MUST be absolute path to the directory where test files will be generated. If not provided, the CURRENT WORKING DIRECTORY will be used WITHOUT ANY SUBDIRECTORIES"),force:U.boolean().default(!0).describe("Whether to overwrite existing files in the output directory"),mockPort:U.number().int().min(0).max(65535).default(0).describe("Port number for the mock server"),optionalFields:U.boolean().default(!1).describe("Whether to include optional fields in the generated test/mock"),prompt:U.string().describe("The prompt user provided to generate the test")}),AZ=U.object({playwrightInput:U.string().describe("MUST be absolute path to the playwright input file like /path/to/playwright-ui-test.zip and MUST be a zip file captured using start_trace_collection tool"),playwrightStoragePath:U.string().optional().describe("Path to LOAD existing playwright session storage for trace collection with playwright enabled. THE PATH MUST BE AN ABSOLUTE PATH LIKE /Users/<path>/<filename>.json"),playwrightSaveStoragePath:U.string().optional().describe(`Path to SAVE Playwright session storage after trace collection. Omit this argument to use the default \u2014 \`${Mv}\` resolved against the active outputDir, which produces an absolute path like '/abs/outputDir/${Mv}'. SAVES authentication state (cookies, localStorage, sessionStorage) when the browser closes. To LOAD existing auth state, use playwrightStoragePath instead. Can be a bare filename (joined with outputDir), a relative path, or an absolute path.`),playwrightViewportSize:U.union([U.enum(["","hd","full-hd","2k"]),U.string().regex(/^\d+,\d+$/,"Custom viewport must be 'WIDTH,HEIGHT' format (e.g., '1920,1080')")]).default("").describe("Viewport size for playwright browser. THE VALUE MUST BE IN THE FORMAT ['', 'hd', 'full-hd', '2k', 'x,y' e.g. '1920,1080' for 1920x1080 resolution]. DEFAULT VALUE IS ''. If set to '', the browser will use its default viewport size."),browser:U.enum(["chromium","firefox","webkit"]).default("chromium").describe("Browser to use for Playwright trace collection. Supported browsers: 'chromium' (default), 'firefox', 'webkit'. Choose based on your testing requirements and target browser compatibility."),device:U.string().default("").describe("Device to emulate for Playwright trace collection. Supported devices include: 'iPhone 13', 'iPhone 13 Pro', 'Pixel 5', 'Galaxy S9+', 'iPad Pro', etc. Leave empty for no device emulation (desktop). Use specific device names for mobile/tablet testing.")}),lZ=U.object({trace:U.string().describe("Absolute path to the trace file in JSON format (e.g., /path/to/trace.json). Must use .json extension only. Do not use .jsonl files."),include:U.array(U.string()).default([]).describe("List of endpoints or patterns to include in test generation."),exclude:U.array(U.string()).default([]).describe("List of endpoints or patterns to exclude from test generation."),...Uv.shape}),dZ={endpointURL:U.string().describe("The full endpoint URL to test including base URL and path (e.g., https://demoshop.skyramp.dev/api/v1/products). MUST include both the base URL and the endpoint path \u2014 never just the base URL alone."),method:U.union([U.nativeEnum(od),U.literal("")]).default("").describe('HTTP method to use. DEFAULT: Use empty string ("") to test ALL available methods from OpenAPI schema (recommended). Only specify a specific method (GET, POST, PUT, DELETE, etc.) if user explicitly requests testing a single method only.'),apiSchema:U.string().default("").describe("MUST be absolute path(/path/to/openapi.json) to the OpenAPI/Swagger schema file or a URL to the OpenAPI/Swagger schema file(e.g. https://demoshop.skyramp.dev/openapi.json). DO NOT TRY TO ASSUME THE OPENAPI SCHEMA IF NOT PROVIDED. NOTE TO AI ASSISTANTS: You do not need to read the contents of this file - simply pass the file path as the backend will read and process it."),pathParams:U.string().default("").describe("Comma-separated path parameter values in the form 'key=value,key2=value2' (e.g., 'id=1,name=John'). DO NOT populate this field unless the user has explicitly provided path parameter values. For contract tests, parent path parameters are automatically handled via the parent provisioning mechanism (parentRequestData) \u2014 do NOT invent or guess values for those here. Only supply this field if the user explicitly states specific path parameter values to use."),queryParams:U.string().default("").describe("MUST be string of comma separated values like 'id=1,name=John' for URL query parameters. Workspace-configured api.defaultQueryParams (if set) are merged in automatically, with any api.queryParamOverrides entry whose pathPattern matches this endpoint layered on top \u2014 no need to repeat them here. An explicit value for the same key here overrides both."),formParams:U.string().default("").describe("MUST be string of comma separated values like 'id=1,name=John' for form data parameters"),requestData:U.string().default("").refine(t=>{if(!t||t===""||t.startsWith("@"))return!0;try{return JSON.parse(t),!0}catch{}let e=t.trim();return!!(e.startsWith("---")||/^\w[\w\s]*:/.test(e)||e.startsWith("-"))},{message:"requestData must be valid JSON, YAML, or an absolute file path prefixed with '@'. Received what appears to be plain text. Provide the actual request body as a JSON object."}).describe("Sample request body data, provided either as an inline JSON/YAML string or as an absolute file path prefixed with '@' (e.g., @/absolute/path/to/file). MUST be valid JSON or YAML \u2014 do NOT pass natural language descriptions."),responseStatusCode:U.string().default("").refine(t=>!t||/^[1-5]\d{2}$/.test(t),{message:"Must be a valid HTTP status code in 100-599 (e.g., '200', '404') or empty string"}).describe("Expected HTTP response status code (e.g., '200', '201', '404'). DO NOT ASSUME STATUS CODE IF NOT PROVIDED"),...Uv.shape},pZ=U.object({codeReuse:U.boolean().default(!1).describe("Reuse existing code in the generated test \u2014 consolidates helper functions shared with sibling Skyramp-generated tests into a SkyrampUtils file; for TS/JS Playwright tests with POM reuse enabled it instead refactors the test to use the repo's existing Page Object Model"),modularizeCode:U.boolean().default(!1).describe("Whether to modularize the code")}),hZ=[gr.INTEGRATION,gr.CONTRACT,gr.UI];var ad;(function(t){t.Bug="bug",t.Lint="lint",t.Type="type",t.Config="config"})(ad||(ad={}));var cd;(function(t){t.NotMapped="not-mapped",t.DemotedByVerify="demoted-by-verify"})(cd||(cd={}));var ud;(function(t){t.Passed="passed",t.Failed="failed",t.SkippedNoPom="skipped-no-pom"})(ud||(ud={}));var om;(function(t){t.Passed="passed",t.Failed="failed",t.NoUtilsFile="no-utils-file"})(om||(om={}));Dt();var Ad=t=>`${t} POM call${t===1?"":"s"}`,Lv={testRecommendationsImplementedHeader:t=>`\u{1F4A1} Test Recommendations Implemented (${t})`,testTypeCellLabels:{},statusLabels:{},severityLabels:{},reuse:{label:"POM reuse",noPomLayer:"skipped \u2014 no page-object layer detected for this test",reusedAndVerified:t=>`${Ad(t)} reused and verified`,reusedThenVerified:(t,e)=>`${Ad(t)} reused, ${e} of them verified`,reused:t=>`${Ad(t)} reused`,verified:t=>`${Ad(t)} verified`,unresolved:t=>`${t} not resolvable to POM source (informational, not declines)`,candidates:t=>`${t} candidate POM file${t===1?"":"s"} detected`,verificationPassed:"verification passed",verificationFailed:"\u26A0\uFE0F verification did not pass",keptInline:t=>`kept inline: ${t}`,gate:{"not-mapped":"not mapped","demoted-by-verify":"demoted by verification"}},testMaintenanceHeader:t=>`\u2705 Test Maintenance (${t})`,maintenanceTableHeader:"| Test Type | Endpoint | File | Change | Before | After |",testResultsHeader:t=>`\u{1F9EA} Test Results (${t})`,columnVideo:"Video",videoDownloadLink:t=>`[\u{1F4F9} download](${t})`,videosArtifactFallback:t=>`\u{1F4F9} Recorded UI test videos: [download from run artifacts](${t})`,issuesFoundHeader:t=>`\u26A0\uFE0F Issues Found (${t})`,configErrorsHeader:"\u2699\uFE0F Configuration Errors",nextStepsHeader:"### \u{1F4A1} Next Steps",caveatsHeader:"### \u26A0\uFE0F What this run could not prove",rows:{passed:t=>t?"passed against the running app":"passed",notRun:t=>t?"not run against a live app this run":"not run this run",failedBug:t=>t?"failed against the running app":"failed",executedOf:(t,e)=>e?` and executed ${t} of them against the running app.`:` and executed ${t} of them.`,noneExecuted:t=>t?"; none were executed against a live app this run.":"; none were executed this run."},caveats:{deployFailed:"The app could not be started, so nothing here was checked against a running system.",changeBrokeBringup:"This change appears to have broken the app's start-up: it could not run with the PR applied, so nothing was tested against it.",bringupFailed:"The app could not be started this run, for a reason outside this PR \u2014 nothing was tested against a live app.",testsNotExecuted:"No test was run against a live app this run \u2014 an un-run suite is not evidence the change works.",recipeDrift:"The recorded way to start the app was out of date and had to be corrected before it would come up.",mockedDependency:t=>`${t} was mocked rather than really deployed \u2014 a green run against it is not proof.`,finalizeNotReady:t=>`The tests are not ready to merge as they stand${t?`: ${t}`:"."}`,ciNotCovered:"No CI workflow runs these tests, so they will not execute on future pull requests.",ciNotCoveredBecause:t=>`The repo's CI will not run some of these tests on future pull requests: ${t}`,sutNotRequired:"No app was started: validation triage found no deployed behavior this change needs validated.",lintNotCovered:t=>`The repo's linter does not check ${t} \u2014 a style or type issue there would not be caught automatically.`,analysisUnverified:t=>`Part of the change analysis could not be verified (${t} unresolved check${t===1?"":"s"}); the tests were planned treating those claims as unconfirmed.`,unitTestsNotRun:t=>`Testbot could not run the unit tests it selected, so no unit result here is its own re-run: ${t}`,downstreamNotChecked:t=>`Not run: checks of other parts of the app that this change might affect. The change does not alter that behavior itself, so they are not needed to validate it. ${t}`,testsCouldNotRunHere:(t,e)=>`${t} ${t===1?"test exists":"tests exist"} in this change, but this environment could not run ${t===1?"it":"them"}, so ${t===1?"it has":"they have"} no result here (not skipped): ${e}`,modelProviderDenied:(t,e=!1)=>e?`${t}, the model provider, refused a call. The evidence already obtained is sufficient to determine this run\u2019s outcome.`:`${t}, the model provider, refused Testbot's calls, so the run stopped before it finished. Access was denied because of credentials, permissions, or a usage limit. For Skyramp-managed provider access, contact Skyramp support before running again; if you manage the provider account, ask its administrator to resolve access or usage limits. No changes to your code are needed.`,modelProviderUnavailable:(t,e=!1)=>e?`${t}, the model provider, was unavailable for a call. The evidence already obtained is sufficient to determine this run\u2019s outcome.`:`${t}, the model provider, was unavailable to Testbot, so this stage could not finish. Any results already obtained remain in this report. No changes to your code or Testbot setup are needed. Please try again later.`},providerOutageHeadline:(t,e)=>`Testbot could not reach ${t} \u2014 it tried ${e} times without success.`,providerOutageActionStatusPage:t=>`Check ${t}. Once the service is healthy, re-run this workflow from its run page in the Actions tab.`,providerRateLimitHeadline:t=>`Testbot was rate-limited by ${t} (HTTP 429).`,providerRateLimitAction:"Wait for the limit to reset, then re-run this workflow from its run page in the Actions tab. If this repeats, raise the rate limit on the credential this workflow uses or run Testbot on fewer pull requests at once.",providerUsageLimitHeadline:t=>`The account behind ${t} has reached its usage limit.`,providerUsageLimitAction:"Raise the spend or token cap on the account behind this workflow's credential, then re-run this workflow from its run page in the Actions tab.",providerAuthExpiredHeadline:t=>`The credential Testbot uses to reach ${t} expired while the run was still working.`,providerAuthExpiredAction:"The credential is issued with a fixed lifetime, so a longer run can outlive it. Re-run this workflow from its run page in the Actions tab. If runs on this repository regularly last longer than that lifetime, issue the credential per job or split the run so each job stays inside it.",providerTimeoutHeadline:t=>`Testbot ran past its ${t}-minute time limit and was stopped.`,providerTimeoutAction:"Raise the `testbotTimeout` input on the workflow if runs on this repository legitimately need longer.",staged:{testsSourcePullRequest:t=>`Tests for source pull request ${t}`,requestedByPerson:t=>`Requested by ${t}`,requestedByPolicy:t=>`Started by the Validation Policy ${t}`,noLiveApp:t=>`> \u26A0\uFE0F **No live app (SUT) was available this run** \u2014 the ${t} test(s) below were **not executed** (there was no app to run them against). Run them against a running app to confirm they pass (and that any repro test fails as intended).`,unitTestsInFile:(t,e,n)=>`**${t}**: ${e} unit test${e===1?"":"s"}${n?` for ${n}`:""}`,addedToExistingFile:"added to an existing test file",testPackagesHeader:"### \u{1F4E6} Running these tests",testPackageLine:(t,e)=>`\`${t}/\` is a self-contained test package Skyramp Testbot owns and maintains, with its own manifest, lockfile and runner config. Run it with \`${e}\`; to run it on every pull request, add that one command to CI.`,appManifestsUntouched:"The application's own manifests and lockfiles were not changed.",dependencyChangesHeader:"### \u{1F4E6} Changes to the application's dependencies",dependencyChangeLine:(t,e,n)=>`Added \`${t}\` to \`${e}\` (and its lockfile)${n?`: ${n}`:""}`,testMaintenanceHeader:"\u2705 Test Maintenance",keptNot:"kept, not ",declinedPlanned:"(declined the planned ",declinedMaintenanceHeader:"\u21A9\uFE0F Declined Maintenance",existingEvidenceHeader:"\u2705 Existing Evidence",trustedCheckPassed:(t,e)=>`Trusted CI check ${t} passed${e?` on ${e}`:""}, establishing:`,testResultsHeader:"\u{1F9EA} Test Results",resultsTableHeader:"| Test ID | Test Type | Endpoint | Status | Details |",unitResultsTableHeader:"| Test ID | Test Type | Code under test | Test | Cases | Status | Details |",casesPassed:(t,e,n)=>`${t}/${e} passed${n?`, ${n} skipped`:""}`,behaviourCoverageHeader:"\u{1F517} Behaviour Coverage",coverageCaption:(t,e,n,r)=>` (${t} generated \xB7 ${e} modified \xB7 ${n} verified \xB7 ${r} executed)`,coverageTableHeader:"| Behaviour | Source | Tested By | Maintained By |",writtenNotRun:"written, not run",issuesFoundHeader:"\u26A0\uFE0F Issues Found",caveatsHeader:"### \u26A0\uFE0F What This Run Could Not Prove",commentHeader:"### Skyramp Testbot",timedOut:"> \u26A0\uFE0F Run timed out \u2014 the results below are partial.",stopReasons:{},publishFailures:{},commitHook:t=>t?`${t} hook`:"commit hook",commitRefusedByHook:(t,e)=>`Your repository's ${t} rejected the generated-test commit, so no Testbot PR was created. Hook error: \`${e}\`.`,commitHookCouldNotRun:(t,e)=>`Your repository's ${t} could not run, so no Testbot PR was created: a command it calls is not installed on the runner. Hook error: \`${e}\`.`,maintenanceActions:{},stoppedEarly:(t,e)=>`> \u26A0\uFE0F Run stopped early \u2014 ${t}. The results below are partial.${e}`,viewInSkyramp:t=>` [View in Skyramp](${t})`,descriptionCut:(t,e,n)=>`_\u2026 The rest is left out${e===void 0?", with more test results":e?`, with ${e} more test result${e===1?"":"s"}`:""}: Azure DevOps takes at most ${t} characters.${n?` [Full report](${n})`:""}_`,testsReplaced:(t,e,n)=>[e?`Skyramp Testbot replaced the tests on this pull request with the tests of [this run](${t}), commit \`${e}\`.`:`Skyramp Testbot replaced the tests on this pull request with the tests of [this run](${t}).`,n?`The tests of [the earlier run](${n}) are superseded.`:"The tests an earlier run wrote here are superseded."].join(" "),setupRunEnds:{finished:"Setup run finished. Skyramp is checking the result.",failed:"Setup run failed.",timedOut:"Setup run ran out of time.",cancelledInSkyramp:"Setup run was cancelled in Skyramp.",stoppedToResume:"Setup run stopped. Resume it in Skyramp."},appUnreachable:t=>`Unable to contact the mothership ${t}. Please try again later.`,couldNotStart:t=>`Skyramp Testbot could not start: ${t}`,assembledAfterFailedChecks:t=>`> \u26A0\uFE0F This report was assembled automatically after the write-up step failed its checks; ${t} check(s) remain unmet \u2014 see the run log for details.`,testbotPrLine:(t,e,n)=>`Testbot PR${t?` (${t})`:""} : [${e}](${n})`,viewRun:t=>`_[View run](${t})_`,testsPrNotOpened:(t,e)=>`The tests PR could not be opened (${t}); the tests were pushed to branch \`${e}\`.`,testsNotDelivered:t=>`The tests could not be delivered: ${t}`,testsNotPushed:(t,e)=>`The tests could not be pushed (${t}); they remain on the local branch \`${e}\`.`,testsPrRetargeted:t=>`The dev PR merged while tests were being generated \u2014 the tests PR targets its base branch${t?` (\`${t}\`)`:""} instead.`,testsPrUnchanged:"This push required no new test changes; the tests PR below is from an earlier run and was left as is.",committedNoPr:t=>`The tests were committed but no PR was opened: ${t}.`,testsNotProposed:t=>`The tests were not proposed in a pull request: ${t}.`}};var Pv={testRecommendationsImplementedHeader:t=>`\u{1F4A1} \u5B9F\u88C5\u3057\u305F\u30C6\u30B9\u30C8\u63A8\u5968\uFF08${t}\u4EF6\uFF09`,testTypeCellLabels:{smoke:"\u30B9\u30E2\u30FC\u30AF",fuzz:"\u30D5\u30A1\u30BA",contract:"\u30B3\u30F3\u30C8\u30E9\u30AF\u30C8",load:"\u8CA0\u8377",integration:"\u7D71\u5408",e2e:"E2E",ui:"UI",unit:"\u30E6\u30CB\u30C3\u30C8"},statusLabels:{Pass:"\u5408\u683C",Fail:"\u4E0D\u5408\u683C",Error:"\u30A8\u30E9\u30FC",Skipped:"\u30B9\u30AD\u30C3\u30D7"},severityLabels:{critical:"\u91CD\u5927",high:"\u9AD8",medium:"\u4E2D",low:"\u4F4E"},reuse:{label:"POM \u518D\u5229\u7528",noPomLayer:"\u30B9\u30AD\u30C3\u30D7 \u2014 \u3053\u306E\u30C6\u30B9\u30C8\u306B\u518D\u5229\u7528\u3067\u304D\u308B\u30DA\u30FC\u30B8\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u5C64\u306F\u691C\u51FA\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F",reusedAndVerified:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528\u30FB\u691C\u8A3C\u6E08\u307F`,reusedThenVerified:(t,e)=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528\uFF08\u3046\u3061 ${e} \u4EF6\u3092\u691C\u8A3C\u6E08\u307F\uFF09`,reused:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u518D\u5229\u7528`,verified:t=>`POM \u547C\u3073\u51FA\u3057 ${t} \u4EF6\u3092\u691C\u8A3C\u6E08\u307F`,unresolved:t=>`${t} \u4EF6\u306F POM \u30BD\u30FC\u30B9\u307E\u3067\u89E3\u6C7A\u3067\u304D\u305A\uFF08\u53C2\u8003\u60C5\u5831\u3067\u3042\u308A\u3001\u9664\u5916\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF09`,candidates:t=>`\u5019\u88DC\u3068\u306A\u308B POM \u30D5\u30A1\u30A4\u30EB ${t} \u4EF6\u3092\u691C\u51FA`,verificationPassed:"\u691C\u8A3C\u306B\u5408\u683C",verificationFailed:"\u26A0\uFE0F \u691C\u8A3C\u306B\u5408\u683C\u3057\u307E\u305B\u3093\u3067\u3057\u305F",keptInline:t=>`\u30A4\u30F3\u30E9\u30A4\u30F3\u306E\u307E\u307E: ${t}`,gate:{"not-mapped":"\u30DE\u30C3\u30D4\u30F3\u30B0\u5BFE\u8C61\u5916","demoted-by-verify":"\u691C\u8A3C\u3067\u5DEE\u3057\u623B\u3057"}},testMaintenanceHeader:t=>`\u2705 \u30C6\u30B9\u30C8\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9\uFF08${t}\u4EF6\uFF09`,maintenanceTableHeader:"| \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8 | \u30D5\u30A1\u30A4\u30EB | \u5909\u66F4\u5185\u5BB9 | \u5909\u66F4\u524D | \u5909\u66F4\u5F8C |",testResultsHeader:t=>`\u{1F9EA} \u30C6\u30B9\u30C8\u7D50\u679C\uFF08${t}\u4EF6\uFF09`,columnVideo:"\u30D3\u30C7\u30AA",videoDownloadLink:t=>`[\u{1F4F9} \u30C0\u30A6\u30F3\u30ED\u30FC\u30C9](${t})`,videosArtifactFallback:t=>`\u{1F4F9} \u9332\u753B\u3055\u308C\u305F UI \u30C6\u30B9\u30C8\u30D3\u30C7\u30AA: [\u5B9F\u884C\u30A2\u30FC\u30C6\u30A3\u30D5\u30A1\u30AF\u30C8\u304B\u3089\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9](${t})`,issuesFoundHeader:t=>`\u26A0\uFE0F \u691C\u51FA\u3055\u308C\u305F\u554F\u984C\uFF08${t}\u4EF6\uFF09`,configErrorsHeader:"\u2699\uFE0F \u8A2D\u5B9A\u30A8\u30E9\u30FC",nextStepsHeader:"### \u{1F4A1} \u6B21\u306E\u30B9\u30C6\u30C3\u30D7",caveatsHeader:"### \u26A0\uFE0F \u3053\u306E\u5B9F\u884C\u3067\u78BA\u8A8D\u3067\u304D\u306A\u304B\u3063\u305F\u3053\u3068",rows:{passed:t=>t?"\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u6210\u529F\u3057\u307E\u3057\u305F":"\u6210\u529F\u3057\u307E\u3057\u305F",notRun:t=>t?"\u3053\u306E\u5B9F\u884C\u3067\u306F\u30E9\u30A4\u30D6\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F":"\u3053\u306E\u5B9F\u884C\u3067\u306F\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F",failedBug:t=>t?"\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5931\u6557\u3057\u307E\u3057\u305F":"\u5931\u6557\u3057\u307E\u3057\u305F",executedOf:(t,e)=>e?`\u3001\u305D\u306E\u3046\u3061 ${t} \u4EF6\u3092\u8D77\u52D5\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002`:`\u3001\u305D\u306E\u3046\u3061 ${t} \u4EF6\u3092\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002`,noneExecuted:t=>t?"\u3002\u3053\u306E\u5B9F\u884C\u3067\u306F\u30E9\u30A4\u30D6\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3055\u308C\u305F\u3082\u306E\u306F\u3042\u308A\u307E\u305B\u3093\u3002":"\u3002\u3053\u306E\u5B9F\u884C\u3067\u306F\u5B9F\u884C\u3055\u308C\u305F\u3082\u306E\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},caveats:{deployFailed:"\u30A2\u30D7\u30EA\u3092\u8D77\u52D5\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u3053\u306B\u793A\u3059\u5185\u5BB9\u306F\u7A3C\u50CD\u4E2D\u306E\u30B7\u30B9\u30C6\u30E0\u306B\u5BFE\u3057\u3066\u691C\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",changeBrokeBringup:"\u3053\u306E\u5909\u66F4\u306B\u3088\u308A\u30A2\u30D7\u30EA\u306E\u8D77\u52D5\u304C\u58CA\u308C\u305F\u3068\u601D\u308F\u308C\u307E\u3059\u3002PR \u3092\u9069\u7528\u3057\u305F\u72B6\u614B\u3067\u8D77\u52D5\u3067\u304D\u305A\u3001\u30C6\u30B9\u30C8\u306F\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",bringupFailed:"\u3053\u306E PR \u3068\u306F\u7121\u95A2\u4FC2\u306E\u7406\u7531\u3067\u30A2\u30D7\u30EA\u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3059\u308B\u30C6\u30B9\u30C8\u306F\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",testsNotExecuted:"\u3053\u306E\u5B9F\u884C\u3067\u306F\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u30C6\u30B9\u30C8\u304C\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u672A\u5B9F\u884C\u306E\u30C6\u30B9\u30C8\u306F\u5909\u66F4\u304C\u6B63\u3057\u304F\u52D5\u4F5C\u3059\u308B\u8A3C\u62E0\u306B\u306A\u308A\u307E\u305B\u3093\u3002",recipeDrift:"\u8A18\u9332\u3055\u308C\u3066\u3044\u305F\u30A2\u30D7\u30EA\u306E\u8D77\u52D5\u624B\u9806\u304C\u53E4\u304F\u306A\u3063\u3066\u304A\u308A\u3001\u8D77\u52D5\u524D\u306B\u4FEE\u6B63\u304C\u5FC5\u8981\u3067\u3057\u305F\u3002",mockedDependency:t=>`${t} \u306F\u5B9F\u969B\u306B\u30C7\u30D7\u30ED\u30A4\u3055\u308C\u305A\u30E2\u30C3\u30AF\u5316\u3055\u308C\u307E\u3057\u305F\u3002\u3053\u308C\u306B\u5BFE\u3059\u308B\u6210\u529F\u7D50\u679C\u306F\u8A3C\u660E\u306B\u306F\u306A\u308A\u307E\u305B\u3093\u3002`,finalizeNotReady:t=>`\u30C6\u30B9\u30C8\u306F\u73FE\u72B6\u3067\u306F\u30DE\u30FC\u30B8\u53EF\u80FD\u306A\u72B6\u614B\u3067\u306F\u3042\u308A\u307E\u305B\u3093${t?`: ${t}`:"\u3002"}`,ciNotCovered:"\u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u3092\u5B9F\u884C\u3059\u308B CI \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u306A\u3044\u305F\u3081\u3001\u4ECA\u5F8C\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u306F\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3002",ciNotCoveredBecause:t=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E CI \u306F\u3001\u4ECA\u5F8C\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u306E\u4E00\u90E8\u3092\u5B9F\u884C\u3057\u307E\u305B\u3093: ${t}`,sutNotRequired:"\u30A2\u30D7\u30EA\u306F\u8D77\u52D5\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u691C\u8A3C\u30C8\u30EA\u30A2\u30FC\u30B8\u306B\u3088\u308A\u3001\u3053\u306E\u5909\u66F4\u3067\u691C\u8A3C\u304C\u5FC5\u8981\u306A\u30C7\u30D7\u30ED\u30A4\u5F8C\u306E\u632F\u308B\u821E\u3044\u306F\u306A\u3044\u3068\u5224\u65AD\u3055\u308C\u307E\u3057\u305F\u3002",lintNotCovered:t=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u30EA\u30F3\u30BF\u30FC\u306F ${t} \u3092\u30C1\u30A7\u30C3\u30AF\u3057\u307E\u305B\u3093\u3002\u30B9\u30BF\u30A4\u30EB\u3084\u578B\u306E\u554F\u984C\u304C\u81EA\u52D5\u7684\u306B\u306F\u691C\u51FA\u3055\u308C\u307E\u305B\u3093\u3002`,analysisUnverified:t=>`\u5909\u66F4\u306E\u5206\u6790\u306E\u4E00\u90E8\u3092\u691C\u8A3C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08\u672A\u89E3\u6C7A\u306E\u30C1\u30A7\u30C3\u30AF ${t} \u4EF6\uFF09\u3002\u8A72\u5F53\u3059\u308B\u4E3B\u5F35\u306F\u672A\u78BA\u8A8D\u3068\u3057\u3066\u6271\u3044\u3001\u30C6\u30B9\u30C8\u3092\u8A08\u753B\u3057\u307E\u3057\u305F\u3002`,unitTestsNotRun:t=>`Testbot \u306F\u9078\u629E\u3057\u305F\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8\u3092\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3053\u3053\u306B\u3042\u308B\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8\u306E\u7D50\u679C\u306F Testbot \u81EA\u8EAB\u306E\u518D\u5B9F\u884C\u306B\u3088\u308B\u3082\u306E\u3067\u306F\u3042\u308A\u307E\u305B\u3093: ${t}`,downstreamNotChecked:t=>`\u672A\u5B9F\u884C: \u3053\u306E\u5909\u66F4\u304C\u5F71\u97FF\u3057\u3046\u308B\u3001\u30A2\u30D7\u30EA\u306E\u4ED6\u306E\u90E8\u5206\u306E\u78BA\u8A8D\u3067\u3059\u3002\u3053\u306E\u5909\u66F4\u81EA\u4F53\u306F\u305D\u306E\u52D5\u4F5C\u3092\u5909\u3048\u306A\u3044\u305F\u3081\u3001\u5909\u66F4\u306E\u691C\u8A3C\u306B\u306F\u4E0D\u8981\u3067\u3059\u3002${t}`,testsCouldNotRunHere:(t,e)=>`\u3053\u306E\u5909\u66F4\u306B\u306F ${t} \u4EF6\u306E\u30C6\u30B9\u30C8\u304C\u3042\u308A\u307E\u3059\u304C\u3001\u3053\u306E\u74B0\u5883\u3067\u306F\u5B9F\u884C\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093\uFF08\u30B9\u30AD\u30C3\u30D7\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF09: ${e}`,modelProviderDenied:(t,e=!1)=>e?`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u304C\u547C\u3073\u51FA\u3057\u3092\u62D2\u5426\u3057\u307E\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u8A3C\u62E0\u306F\u3001\u3053\u306E\u5B9F\u884C\u306E\u7D50\u679C\u3092\u5224\u65AD\u3059\u308B\u306E\u306B\u5341\u5206\u3067\u3059\u3002`:`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u304C Testbot \u306E\u547C\u3073\u51FA\u3057\u3092\u62D2\u5426\u3057\u305F\u305F\u3081\u3001\u5B9F\u884C\u306F\u5B8C\u4E86\u524D\u306B\u505C\u6B62\u3057\u307E\u3057\u305F\u3002\u8A8D\u8A3C\u60C5\u5831\u3001\u6A29\u9650\u3001\u307E\u305F\u306F\u4F7F\u7528\u91CF\u306E\u4E0A\u9650\u306B\u3088\u308A\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F\u3002\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092 Skyramp \u304C\u7BA1\u7406\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u518D\u5B9F\u884C\u3059\u308B\u524D\u306B Skyramp \u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002\u3054\u81EA\u8EAB\u3067\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u7BA1\u7406\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u305D\u306E\u7BA1\u7406\u8005\u306B\u30A2\u30AF\u30BB\u30B9\u307E\u305F\u306F\u4F7F\u7528\u91CF\u306E\u4E0A\u9650\u306E\u89E3\u6C7A\u3092\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30B3\u30FC\u30C9\u3092\u5909\u66F4\u3059\u308B\u5FC5\u8981\u306F\u3042\u308A\u307E\u305B\u3093\u3002`,modelProviderUnavailable:(t,e=!1)=>e?`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u3092\u547C\u3073\u51FA\u3057\u6642\u306B\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u8A3C\u62E0\u306F\u3001\u3053\u306E\u5B9F\u884C\u306E\u7D50\u679C\u3092\u5224\u65AD\u3059\u308B\u306E\u306B\u5341\u5206\u3067\u3059\u3002`:`\u30E2\u30C7\u30EB\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E ${t} \u3092 Testbot \u304C\u5229\u7528\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u306E\u6BB5\u968E\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3059\u3067\u306B\u5F97\u3089\u308C\u305F\u7D50\u679C\u306F\u3053\u306E\u30EC\u30DD\u30FC\u30C8\u306B\u6B8B\u3063\u3066\u3044\u307E\u3059\u3002\u30B3\u30FC\u30C9\u3084 Testbot \u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3059\u308B\u5FC5\u8981\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u518D\u5EA6\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002`},providerOutageHeadline:(t,e)=>`${t} \u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002Testbot \u306F ${e} \u56DE\u8A66\u884C\u3057\u307E\u3057\u305F\u304C\u5931\u6557\u3057\u307E\u3057\u305F\u3002`,providerOutageActionStatusPage:t=>`${t} \u3067\u72B6\u6CC1\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30B5\u30FC\u30D3\u30B9\u304C\u5FA9\u65E7\u3057\u305F\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,providerRateLimitHeadline:t=>`${t} \u306E\u30EC\u30FC\u30C8\u5236\u9650\u306B\u3088\u308A\u5B9F\u884C\u304C\u4E2D\u65AD\u3055\u308C\u307E\u3057\u305F (HTTP 429)\u3002`,providerRateLimitAction:"\u5236\u9650\u304C\u89E3\u9664\u3055\u308C\u308B\u307E\u3067\u5F85\u3063\u3066\u304B\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u7E70\u308A\u8FD4\u3059\u5834\u5408\u306F\u3001\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u4F7F\u7528\u3059\u308B\u8A8D\u8A3C\u60C5\u5831\u306E\u30EC\u30FC\u30C8\u5236\u9650\u3092\u5F15\u304D\u4E0A\u3052\u308B\u304B\u3001\u540C\u6642\u306B\u5B9F\u884C\u3059\u308B PR \u306E\u6570\u3092\u6E1B\u3089\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerUsageLimitHeadline:t=>`${t} \u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u5229\u7528\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002`,providerUsageLimitAction:"\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u306E\u8A8D\u8A3C\u60C5\u5831\u306B\u7D10\u3065\u304F\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5229\u7528\u4E0A\u9650\u3092\u5F15\u304D\u4E0A\u3052\u3066\u304B\u3089\u3001Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerAuthExpiredHeadline:t=>`\u5B9F\u884C\u4E2D\u306B\u3001Testbot \u304C ${t} \u3078\u63A5\u7D9A\u3059\u308B\u305F\u3081\u306E\u8A8D\u8A3C\u60C5\u5831\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u307E\u3057\u305F\u3002`,providerAuthExpiredAction:"\u8A8D\u8A3C\u60C5\u5831\u306E\u6709\u52B9\u671F\u9593\u306F\u56FA\u5B9A\u306E\u305F\u3081\u3001\u5B9F\u884C\u6642\u9593\u304C\u9577\u3044\u3068\u305D\u306E\u671F\u9593\u3092\u8D85\u3048\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002Actions \u30BF\u30D6\u306E\u5B9F\u884C\u30DA\u30FC\u30B8\u304B\u3089\u3053\u306E\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u3053\u306E\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u5B9F\u884C\u304C\u6709\u52B9\u671F\u9593\u3092\u5E38\u306B\u8D85\u3048\u308B\u5834\u5408\u306F\u3001\u30B8\u30E7\u30D6\u3054\u3068\u306B\u8A8D\u8A3C\u60C5\u5831\u3092\u767A\u884C\u3059\u308B\u304B\u3001\u5404\u30B8\u30E7\u30D6\u304C\u6709\u52B9\u671F\u9593\u5185\u306B\u53CE\u307E\u308B\u3088\u3046\u5B9F\u884C\u3092\u5206\u5272\u3057\u3066\u304F\u3060\u3055\u3044\u3002",providerTimeoutHeadline:t=>`Testbot \u306F\u5236\u9650\u6642\u9593 ${t} \u5206\u3092\u8D85\u3048\u305F\u305F\u3081\u505C\u6B62\u3055\u308C\u307E\u3057\u305F\u3002`,providerTimeoutAction:"\u3053\u306E\u30EA\u30DD\u30B8\u30C8\u30EA\u306E\u5B9F\u884C\u306B\u672C\u5F53\u306B\u6642\u9593\u304C\u5FC5\u8981\u306A\u5834\u5408\u306F\u3001\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u306E `testbotTimeout` \u5165\u529B\u5024\u3092\u5927\u304D\u304F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",staged:{testsSourcePullRequest:t=>`\u30BD\u30FC\u30B9\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8 ${t} \u306E\u30C6\u30B9\u30C8`,requestedByPerson:t=>`${t} \u3055\u3093\u306E\u4F9D\u983C\u3067\u5B9F\u884C`,requestedByPolicy:t=>`\u691C\u8A3C\u30DD\u30EA\u30B7\u30FC ${t} \u306B\u3088\u308A\u5B9F\u884C`,noLiveApp:t=>`> \u26A0\uFE0F **\u3053\u306E\u5B9F\u884C\u3067\u306F\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\uFF08SUT\uFF09\u304C\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F** \u2014 \u4EE5\u4E0B\u306E ${t} \u4EF6\u306E\u30C6\u30B9\u30C8\u306F**\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u305B\u3093**\uFF08\u5B9F\u884C\u5BFE\u8C61\u306E\u30A2\u30D7\u30EA\u304C\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F\uFF09\u3002\u7A3C\u50CD\u4E2D\u306E\u30A2\u30D7\u30EA\u306B\u5BFE\u3057\u3066\u5B9F\u884C\u3057\u3001\u5408\u683C\u3059\u308B\u3053\u3068\uFF08\u304A\u3088\u3073\u518D\u73FE\u30C6\u30B9\u30C8\u304C\u610F\u56F3\u3069\u304A\u308A\u5931\u6557\u3059\u308B\u3053\u3068\uFF09\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,unitTestsInFile:(t,e,n)=>`**${t}**: ${n?`${n} \u306E`:""}\u30E6\u30CB\u30C3\u30C8\u30C6\u30B9\u30C8 ${e} \u4EF6`,addedToExistingFile:"\u65E2\u5B58\u306E\u30C6\u30B9\u30C8\u30D5\u30A1\u30A4\u30EB\u306B\u8FFD\u52A0",testPackagesHeader:"### \u{1F4E6} \u3053\u308C\u3089\u306E\u30C6\u30B9\u30C8\u306E\u5B9F\u884C\u65B9\u6CD5",testPackageLine:(t,e)=>`\`${t}/\` \u306F Skyramp Testbot \u304C\u6240\u6709\u30FB\u4FDD\u5B88\u3059\u308B\u72EC\u7ACB\u3057\u305F\u30C6\u30B9\u30C8\u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u3001\u72EC\u81EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u3001\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\u3001\u30E9\u30F3\u30CA\u30FC\u8A2D\u5B9A\u3092\u6301\u3061\u307E\u3059\u3002\`${e}\` \u3067\u5B9F\u884C\u3067\u304D\u307E\u3059\u3002\u3059\u3079\u3066\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u5B9F\u884C\u3059\u308B\u306B\u306F\u3001\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u3092 CI \u306B\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,appManifestsUntouched:"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u81EA\u8EAB\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u3068\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\u306F\u5909\u66F4\u3057\u3066\u3044\u307E\u305B\u3093\u3002",dependencyChangesHeader:"### \u{1F4E6} \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u4F9D\u5B58\u95A2\u4FC2\u306E\u5909\u66F4",dependencyChangeLine:(t,e,n)=>`\`${e}\`\uFF08\u304A\u3088\u3073\u305D\u306E\u30ED\u30C3\u30AF\u30D5\u30A1\u30A4\u30EB\uFF09\u306B \`${t}\` \u3092\u8FFD\u52A0${n?`: ${n}`:""}`,testMaintenanceHeader:"\u2705 \u30C6\u30B9\u30C8\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9",keptNot:"\u5909\u66F4\u305B\u305A\u7DAD\u6301 \u2014 \u898B\u9001\u3063\u305F\u64CD\u4F5C: ",declinedPlanned:"(\u4E88\u5B9A\u3057\u3066\u3044\u305F\u64CD\u4F5C\u3092\u898B\u9001\u308A: ",declinedMaintenanceHeader:"\u21A9\uFE0F \u898B\u9001\u3063\u305F\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9",existingEvidenceHeader:"\u2705 \u65E2\u5B58\u306E\u30A8\u30D3\u30C7\u30F3\u30B9",trustedCheckPassed:(t,e)=>`\u4FE1\u983C\u6E08\u307F\u306E CI \u30C1\u30A7\u30C3\u30AF ${t} \u304C${e?` ${e} \u3067`:""}\u5408\u683C\u3057\u3001\u6B21\u3092\u78BA\u8A8D\u3057\u307E\u3057\u305F:`,testResultsHeader:"\u{1F9EA} \u30C6\u30B9\u30C8\u7D50\u679C",resultsTableHeader:"| \u30C6\u30B9\u30C8 ID | \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8 | \u30B9\u30C6\u30FC\u30BF\u30B9 | \u8A73\u7D30 |",unitResultsTableHeader:"| \u30C6\u30B9\u30C8 ID | \u30C6\u30B9\u30C8\u7A2E\u5225 | \u30C6\u30B9\u30C8\u5BFE\u8C61\u306E\u30B3\u30FC\u30C9 | \u30C6\u30B9\u30C8 | \u30B1\u30FC\u30B9\u6570 | \u30B9\u30C6\u30FC\u30BF\u30B9 | \u8A73\u7D30 |",casesPassed:(t,e,n)=>`${e} \u4EF6\u4E2D ${t} \u4EF6\u5408\u683C${n?`\u3001${n} \u4EF6\u30B9\u30AD\u30C3\u30D7`:""}`,behaviourCoverageHeader:"\u{1F517} \u632F\u308B\u821E\u3044\u306E\u30AB\u30D0\u30EC\u30C3\u30B8",coverageCaption:(t,e,n,r)=>`\uFF08\u751F\u6210 ${t} \xB7 \u5909\u66F4 ${e} \xB7 \u691C\u8A3C ${n} \xB7 \u5B9F\u884C ${r}\uFF09`,coverageTableHeader:"| \u632F\u308B\u821E\u3044 | \u30BD\u30FC\u30B9 | \u30C6\u30B9\u30C8 | \u30E1\u30F3\u30C6\u30CA\u30F3\u30B9 |",writtenNotRun:"\u4F5C\u6210\u6E08\u307F\u30FB\u672A\u5B9F\u884C",issuesFoundHeader:"\u26A0\uFE0F \u691C\u51FA\u3055\u308C\u305F\u554F\u984C",caveatsHeader:"### \u26A0\uFE0F \u3053\u306E\u5B9F\u884C\u3067\u78BA\u8A8D\u3067\u304D\u306A\u304B\u3063\u305F\u3053\u3068",commentHeader:"### Skyramp Testbot",timedOut:"> \u26A0\uFE0F \u5B9F\u884C\u304C\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F \u2014 \u4EE5\u4E0B\u306E\u7D50\u679C\u306F\u4E00\u90E8\u306E\u307F\u3067\u3059\u3002",stopReasons:{"pr-closed":"\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u30DE\u30FC\u30B8\u3055\u308C\u305A\u306B\u30AF\u30ED\u30FC\u30BA\u3055\u308C\u307E\u3057\u305F",cancelled:"\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u305F\u304B\u3001\u30E9\u30F3\u30CA\u30FC\u304C\u505C\u6B62\u3057\u307E\u3057\u305F","attempt-cancelled":"Skyramp \u3067\u3053\u306E\u5B9F\u884C\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F","attempt-closed":"Skyramp \u304C\u3053\u306E\u5B9F\u884C\u3092\u7D42\u4E86\u3057\u307E\u3057\u305F"},maintenanceActions:{update:"\u66F4\u65B0",regenerate:"\u518D\u751F\u6210",delete:"\u524A\u9664",verify:"\u691C\u8A3C",updated:"\u66F4\u65B0",regenerated:"\u518D\u751F\u6210",deleted:"\u524A\u9664",verified:"\u691C\u8A3C"},publishFailures:{push:"\u30D7\u30C3\u30B7\u30E5\u306B\u5931\u6557",auth:"\u8A8D\u8A3C\u30A8\u30E9\u30FC",conflict:"\u7AF6\u5408",hook:"\u30B3\u30DF\u30C3\u30C8\u30D5\u30C3\u30AF\u304C\u5931\u6557",unknown:"\u4E0D\u660E\u306A\u30A8\u30E9\u30FC"},commitHook:t=>t?`${t} \u30D5\u30C3\u30AF`:"\u30B3\u30DF\u30C3\u30C8\u30D5\u30C3\u30AF",commitRefusedByHook:(t,e)=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E ${t}\u304C\u751F\u6210\u3055\u308C\u305F\u30C6\u30B9\u30C8\u306E\u30B3\u30DF\u30C3\u30C8\u3092\u62D2\u5426\u3057\u305F\u305F\u3081\u3001Testbot PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D5\u30C3\u30AF\u306E\u30A8\u30E9\u30FC: \`${e}\`\u3002`,commitHookCouldNotRun:(t,e)=>`\u30EA\u30DD\u30B8\u30C8\u30EA\u306E ${t}\u3092\u5B9F\u884C\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001Testbot PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D5\u30C3\u30AF\u304C\u547C\u3073\u51FA\u3059\u30B3\u30DE\u30F3\u30C9\u304C\u30E9\u30F3\u30CA\u30FC\u306B\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30D5\u30C3\u30AF\u306E\u30A8\u30E9\u30FC: \`${e}\`\u3002`,stoppedEarly:(t,e)=>`> \u26A0\uFE0F \u5B9F\u884C\u304C\u9014\u4E2D\u3067\u505C\u6B62\u3057\u307E\u3057\u305F \u2014 ${t}\u3002\u4EE5\u4E0B\u306E\u7D50\u679C\u306F\u4E00\u90E8\u306E\u307F\u3067\u3059\u3002${e}`,viewInSkyramp:t=>` [Skyramp \u3067\u8868\u793A](${t})`,descriptionCut:(t,e,n)=>`_\u2026 \u6B8B\u308A\u306F\u7701\u7565\u3057\u307E\u3057\u305F${e===void 0?"\uFF08\u30C6\u30B9\u30C8\u7D50\u679C\u3092\u542B\u3080\uFF09":e?`\uFF08\u30C6\u30B9\u30C8\u7D50\u679C ${e} \u4EF6\u3092\u542B\u3080\uFF09`:""}\u3002Azure DevOps \u306E\u8AAC\u660E\u306F ${t} \u6587\u5B57\u307E\u3067\u3067\u3059\u3002${n?` [\u5B8C\u5168\u306A\u30EC\u30DD\u30FC\u30C8](${n})`:""}_`,testsReplaced:(t,e,n)=>[e?`Skyramp Testbot \u304C\u3053\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30C6\u30B9\u30C8\u3092[\u3053\u306E\u5B9F\u884C](${t})\u306E\u30C6\u30B9\u30C8\uFF08\u30B3\u30DF\u30C3\u30C8 \`${e}\`\uFF09\u306B\u7F6E\u304D\u63DB\u3048\u307E\u3057\u305F\u3002`:`Skyramp Testbot \u304C\u3053\u306E\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30C6\u30B9\u30C8\u3092[\u3053\u306E\u5B9F\u884C](${t})\u306E\u30C6\u30B9\u30C8\u306B\u7F6E\u304D\u63DB\u3048\u307E\u3057\u305F\u3002`,n?`[\u4EE5\u524D\u306E\u5B9F\u884C](${n})\u306E\u30C6\u30B9\u30C8\u306F\u7F6E\u304D\u63DB\u3048\u6E08\u307F\u3067\u3059\u3002`:"\u4EE5\u524D\u306E\u5B9F\u884C\u304C\u3053\u3053\u306B\u66F8\u3044\u305F\u30C6\u30B9\u30C8\u306F\u7F6E\u304D\u63DB\u3048\u6E08\u307F\u3067\u3059\u3002"].join(""),setupRunEnds:{finished:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002Skyramp \u304C\u7D50\u679C\u3092\u78BA\u8A8D\u3057\u3066\u3044\u307E\u3059\u3002",failed:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",timedOut:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u304C\u6642\u9593\u5207\u308C\u306B\u306A\u308A\u307E\u3057\u305F\u3002",cancelledInSkyramp:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u306F Skyramp \u3067\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",stoppedToResume:"\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B9F\u884C\u3092\u505C\u6B62\u3057\u307E\u3057\u305F\u3002Skyramp \u3067\u518D\u958B\u3067\u304D\u307E\u3059\u3002"},appUnreachable:t=>`Skyramp\uFF08${t}\uFF09\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002`,couldNotStart:t=>`Skyramp Testbot \u3092\u958B\u59CB\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: ${t}`,assembledAfterFailedChecks:t=>`> \u26A0\uFE0F \u4F5C\u6210\u30B9\u30C6\u30C3\u30D7\u304C\u30C1\u30A7\u30C3\u30AF\u306B\u5408\u683C\u3057\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3053\u306E\u30EC\u30DD\u30FC\u30C8\u306F\u81EA\u52D5\u3067\u7D44\u307F\u7ACB\u3066\u3089\u308C\u307E\u3057\u305F\u3002${t} \u4EF6\u306E\u30C1\u30A7\u30C3\u30AF\u304C\u672A\u9054\u6210\u3067\u3059 \u2014 \u8A73\u7D30\u306F\u5B9F\u884C\u30ED\u30B0\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,testbotPrLine:(t,e,n)=>`Testbot PR${t?`\uFF08${t}\uFF09`:""}: [${e}](${n})`,viewRun:t=>`_[\u5B9F\u884C\u3092\u8868\u793A](${t})_`,testsPrNotOpened:(t,e)=>`\u30C6\u30B9\u30C8 PR \u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08${t}\uFF09\u3002\u30C6\u30B9\u30C8\u306F\u30D6\u30E9\u30F3\u30C1 \`${e}\` \u306B\u30D7\u30C3\u30B7\u30E5\u3055\u308C\u3066\u3044\u307E\u3059\u3002`,testsNotDelivered:t=>`\u30C6\u30B9\u30C8\u3092\u914D\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: ${t}`,testsNotPushed:(t,e)=>`\u30C6\u30B9\u30C8\u3092\u30D7\u30C3\u30B7\u30E5\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF08${t}\uFF09\u3002\u30C6\u30B9\u30C8\u306F\u30ED\u30FC\u30AB\u30EB\u30D6\u30E9\u30F3\u30C1 \`${e}\` \u306B\u6B8B\u3063\u3066\u3044\u307E\u3059\u3002`,testsPrRetargeted:t=>`\u30C6\u30B9\u30C8\u306E\u751F\u6210\u4E2D\u306B\u958B\u767A PR \u304C\u30DE\u30FC\u30B8\u3055\u308C\u307E\u3057\u305F \u2014 \u30C6\u30B9\u30C8 PR \u306F\u4EE3\u308F\u308A\u306B\u30D9\u30FC\u30B9\u30D6\u30E9\u30F3\u30C1${t?`\uFF08\`${t}\`\uFF09`:""}\u3092\u5BFE\u8C61\u306B\u3057\u3066\u3044\u307E\u3059\u3002`,testsPrUnchanged:"\u3053\u306E\u30D7\u30C3\u30B7\u30E5\u3067\u306F\u65B0\u3057\u3044\u30C6\u30B9\u30C8\u306E\u5909\u66F4\u306F\u4E0D\u8981\u3067\u3057\u305F\u3002\u4EE5\u4E0B\u306E\u30C6\u30B9\u30C8 PR \u306F\u4EE5\u524D\u306E\u5B9F\u884C\u306E\u3082\u306E\u3067\u3001\u305D\u306E\u307E\u307E\u306B\u3057\u3066\u3044\u307E\u3059\u3002",committedNoPr:t=>`\u30C6\u30B9\u30C8\u306F\u30B3\u30DF\u30C3\u30C8\u3055\u308C\u307E\u3057\u305F\u304C\u3001PR \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F: ${t}\u3002`,testsNotProposed:t=>`\u30C6\u30B9\u30C8\u306F PR \u3068\u3057\u3066\u63D0\u6848\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F: ${t}\u3002`}};var am=(n=>(n.En="en",n.Ja="ja",n))(am||{}),yY={en:Lv,ja:Pv},EY="en";function cm(t){let e=t.trim().toLowerCase();if(e==="")return"en";let n=Object.values(am);return n.includes(e)?e:(Pe(`Invalid language '${t}'. Supported: ${n.join(", ")}. Falling back to 'en'.`),"en")}function hn(){return yY[EY]}var ld=(c=>(c.ProviderOutage="provider_outage",c.ProviderRateLimit="provider_rate_limit",c.ProviderUsageLimit="provider_usage_limit",c.ProviderAuthExpired="provider_auth_expired",c.Timeout="timeout",c.NoReport="no_report",c.RenderFailure="render_failure",c))(ld||{});(e=>{function t(n,r){switch(n){case"provider_outage":return{headline:hn().providerOutageHeadline(r.provider.name,r.maxRetries),action:hn().providerOutageActionStatusPage(r.provider.statusUrl)};case"provider_rate_limit":return{headline:hn().providerRateLimitHeadline(r.provider.name),action:hn().providerRateLimitAction};case"provider_usage_limit":return{headline:hn().providerUsageLimitHeadline(r.provider.name),action:hn().providerUsageLimitAction};case"provider_auth_expired":return{headline:hn().providerAuthExpiredHeadline(r.provider.name),action:hn().providerAuthExpiredAction};case"timeout":return{headline:hn().providerTimeoutHeadline(r.timeoutMinutes),action:hn().providerTimeoutAction};case"no_report":case"render_failure":return}}e.buildNotice=t})(ld||={});var um=(n=>(n.SameBranch="same-branch",n.SeparateBranch="separate-branch",n))(um||{});var Ov=(n=>(n.Sonnet="sonnet",n.Opus="opus",n))(Ov||{}),CY="opus";function Am(t){return Object.values(Ov).includes(t)}function $v(t){let e=(t??"").trim();if(e==="")return CY;let n=e.toLowerCase();return Am(n)?n:e}var dd=(i=>(i.Low="low",i.Medium="medium",i.High="high",i.XHigh="xhigh",i.Max="max",i))(dd||{}),pd="high";function Vv(t){return Object.values(dd).includes(t)}var Gv=5;function IY(t){let e=t.split(/\r?\n/).map(n=>n.trim()).filter(Boolean);if(e.length>Gv)throw new Error(`relatedRepoPaths supports at most ${Gv} entries (got ${e.length}); the cap limits how much cross-repo context is loaded to avoid overflowing Testbot's context window.`);return e}function BY(t){let e=t.trim().toLowerCase();return e===""?"separate-branch":Object.values(um).includes(e)?e:(Pe(`Invalid generatedTestsMode '${t}'. Falling back to 'separate-branch'.`),"separate-branch")}function wY(t){let e=(t??"").trim();if(e!==""){if(/^(?:[1-9]|10)$/.test(e))return Number(e);Pe(`Ignoring perTestMaxFixAttempts="${t}": expected a whole number from 1 to 10; the Skyramp MCP default applies`)}}function QY(t){let e=(t??"").trim().toLowerCase();return e===""?pd:Vv(e)?e:(Pe(`Ignoring effort="${t}": expected one of ${Object.values(dd).join(", ")}; using "${pd}"`),pd)}function Hv(){let t=$v(he("model"));return Am(t)||Pe(`model '${t}' is not a tested alias (sonnet, opus); passing it to the agent verbatim as a raw model id.`),{skyrampLicenseFile:he("skyrampLicenseFile"),cursorApiKey:he("cursorApiKey"),copilotApiKey:he("copilotApiKey"),anthropicApiKey:he("anthropicApiKey"),useBedrock:vs("useBedrock"),awsRegion:he("awsRegion"),useLocalAuth:he("useLocalAuth").toLowerCase()==="true",model:t,effort:QY(he("effort")),targetSetupCommand:he("targetSetupCommand"),authTokenCommand:he("authTokenCommand"),uiCredentials:he("uiCredentials"),targetTeardownCommand:he("targetTeardownCommand"),skipTargetTeardown:vs("skipTargetTeardown"),skyrampExecutorVersion:he("skyrampExecutorVersion"),skyrampMcpVersion:he("skyrampMcpVersion"),skyrampMcpSource:he("skyrampMcpSource"),skyrampMcpGithubToken:he("skyrampMcpGithubToken"),skyrampMcpGithubRef:he("skyrampMcpGithubRef"),nodeVersion:he("nodeVersion"),skipTargetSetup:vs("skipTargetSetup"),targetReadyCheckCommand:he("targetReadyCheckCommand"),targetReadyCheckTimeout:(()=>{let n=parseInt(he("targetReadyCheckTimeout"),10)||1800;return n<1?(Pe(`targetReadyCheckTimeout must be at least 1 second, got ${n}. Using 1s.`),1):n})(),targetReadyCheckInterval:(()=>{let n=parseInt(he("targetReadyCheckInterval"),10),r=isNaN(n)?30:n;return r<1?(Pe(`targetReadyCheckInterval must be at least 1 second, got ${r}. Using 1s.`),1):r})(),targetReadyCheckDiagnosticsCommand:(()=>{let n=he("targetReadyCheckDiagnosticsCommand");return n.trim().toLowerCase()==="none"?"":n})(),workingDirectory:he("workingDirectory"),autoCommit:vs("autoCommit"),commitMessage:he("commitMessage"),generatedTestsMode:BY(he("generatedTestsMode")),postPrComment:vs("postPrComment"),testExecutionTimeout:parseInt(he("testExecutionTimeout"),10)||300,maxRecommendations:(()=>{let n=parseInt(he("maxRecommendations"),10);return isNaN(n)?void 0:Math.max(0,n)})(),maxGenerate:(()=>{let n=parseInt(he("maxGenerate"),10);return isNaN(n)?void 0:Math.max(0,n)})(),perTestMaxFixAttempts:wY(he("perTestMaxFixAttempts")),testbotMaxRetries:parseInt(he("testbotMaxRetries"),10)||3,testbotRetryDelay:parseInt(he("testbotRetryDelay"),10)||10,testbotTimeout:parseInt(he("testbotTimeout"),10)||60,targetSetupRetries:parseInt(he("targetSetupRetries"),10)||3,targetSetupRetryDelay:parseInt(he("targetSetupRetryDelay"),10)||10,authTokenRetries:(()=>{let n=parseInt(he("authTokenRetries"),10);return Number.isFinite(n)&&n>=1?n:6})(),authTokenRetryDelay:(()=>{let n=parseInt(he("authTokenRetryDelay"),10);return Number.isFinite(n)&&n>=0?n:10})(),reportCollapsed:vs("reportCollapsed"),language:cm(he("language")),enableDebug:vs("enableDebug"),testRepoPath:he("testRepoPath")||void 0,relatedRepoPaths:IY(he("relatedRepoPaths")),allowedAuthors:he("allowedAuthors").split(/\r?\n/).map(n=>n.trim()).filter(Boolean)}}var bY={useBedrock:"false",skipTargetTeardown:"false",skyrampMcpSource:"npm",skyrampMcpGithubRef:"main",nodeVersion:"lts/*",skipTargetSetup:"false",targetReadyCheckTimeout:"1800",targetReadyCheckInterval:"30",targetReadyCheckDiagnosticsCommand:`docker ps -a --format 'table {{.Names}} {{.Status}} {{.Ports}}' && docker ps -a --format '{{.Names}}' | while read name; do [ -n "$name" ] && echo "--- logs $name (last 30) ---" && docker logs --tail 30 "$name"; done`,workingDirectory:".",autoCommit:"true",commitMessage:"Skyramp Testbot: test maintenance suggestions",generatedTestsMode:"separate-branch",pipeline:"staged",postPrComment:"true",testbotMaxRetries:"3",testbotRetryDelay:"10",testExecutionTimeout:"300",testbotTimeout:"60",targetSetupRetries:"3",targetSetupRetryDelay:"10",authTokenRetries:"6",authTokenRetryDelay:"10",reportCollapsed:"true",language:"en",enableDebug:"true",sutSetupMode:"none"};function Yv(t=process.env){for(let[e,n]of Object.entries(bY)){let r=`INPUT_${e.replace(/ /g,"_").toUpperCase()}`;(t[r]??"").trim()===""&&(t[r]=n)}}Dt();var Nx=Re(require("path"));var ba=require("fs"),Wr=Re(require("path"),1),LR=require("child_process"),PR=require("util");function SY(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Bt={},hd={},Fs={},qv;function du(){if(qv)return Fs;qv=1;function t(a){return typeof a>"u"||a===null}function e(a){return typeof a=="object"&&a!==null}function n(a){return Array.isArray(a)?a:t(a)?[]:[a]}function r(a,c){if(c){let A=Object.keys(c);for(let l=0,p=A.length;l<p;l+=1){let h=A[l];a[h]=c[h]}}return a}function s(a,c){let A="";for(let l=0;l<c;l+=1)A+=a;return A}function i(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}return Fs.isNothing=t,Fs.isObject=e,Fs.toArray=n,Fs.repeat=s,Fs.isNegativeZero=i,Fs.extend=r,Fs}var lm,jv;function pu(){if(jv)return lm;jv=1;function t(n,r){let s="",i=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(s+='in "'+n.mark.name+'" '),s+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!r&&n.mark.snippet&&(s+=`
|
|
52
52
|
|
|
53
53
|
`+n.mark.snippet),i+" "+s):i}function e(n,r){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(r){return this.name+": "+t(this,r)},lm=e,lm}var dm,Jv;function kY(){if(Jv)return dm;Jv=1;let t=du();function e(s,i,a,c,A){let l="",p="",h=Math.floor(A/2)-1;return c-i>h&&(l=" ... ",i=c-h+l.length),a-c>h&&(p=" ...",a=c+h-p.length),{str:l+s.slice(i,a).replace(/\t/g,"\u2192")+p,pos:c-i+l.length}}function n(s,i){return t.repeat(" ",i-s.length)+s}function r(s,i){if(i=Object.create(i||null),!s.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,c=[0],A=[],l,p=-1;for(;l=a.exec(s.buffer);)A.push(l.index),c.push(l.index+l[0].length),s.position<=l.index&&p<0&&(p=c.length-2);p<0&&(p=c.length-1);let h="",g=Math.min(s.line+i.linesAfter,A.length).toString().length,C=i.maxLength-(i.indent+g+3);for(let v=1;v<=i.linesBefore&&!(p-v<0);v++){let T=e(s.buffer,c[p-v],A[p-v],s.position-(c[p]-c[p-v]),C);h=t.repeat(" ",i.indent)+n((s.line-v+1).toString(),g)+" | "+T.str+`
|
|
54
54
|
`+h}let S=e(s.buffer,c[p],A[p],s.position,C);h+=t.repeat(" ",i.indent)+n((s.line+1).toString(),g)+" | "+S.str+`
|
|
55
55
|
`,h+=t.repeat("-",i.indent+g+3+S.pos)+`^
|
|
56
56
|
`;for(let v=1;v<=i.linesAfter&&!(p+v>=A.length);v++){let T=e(s.buffer,c[p+v],A[p+v],s.position-(c[p]-c[p+v]),C);h+=t.repeat(" ",i.indent)+n((s.line+v+1).toString(),g)+" | "+T.str+`
|
|
57
57
|
`}return h.replace(/\n$/,"")}return dm=r,dm}var pm,Wv;function Nt(){if(Wv)return pm;Wv=1;let t=pu(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];function r(i){let a={};return i!==null&&Object.keys(i).forEach(function(c){i[c].forEach(function(A){a[String(A)]=c})}),a}function s(i,a){if(a=a||{},Object.keys(a).forEach(function(c){if(e.indexOf(c)===-1)throw new t('Unknown option "'+c+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(c){return c},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=r(a.styleAliases||null),n.indexOf(this.kind)===-1)throw new t('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}return pm=s,pm}var hm,zv;function mR(){if(zv)return hm;zv=1;let t=pu(),e=Nt();function n(i,a){let c=[];return i[a].forEach(function(A){let l=c.length;c.forEach(function(p,h){p.tag===A.tag&&p.kind===A.kind&&p.multi===A.multi&&(l=h)}),c[l]=A}),c}function r(){let i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function a(c){c.multi?(i.multi[c.kind].push(c),i.multi.fallback.push(c)):i[c.kind][c.tag]=i.fallback[c.tag]=c}for(let c=0,A=arguments.length;c<A;c+=1)arguments[c].forEach(a);return i}function s(i){return this.extend(i)}return s.prototype.extend=function(a){let c=[],A=[];if(a instanceof e)A.push(a);else if(Array.isArray(a))A=A.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(c=c.concat(a.implicit)),a.explicit&&(A=A.concat(a.explicit));else throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");c.forEach(function(p){if(!(p instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(p.loadKind&&p.loadKind!=="scalar")throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(p.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),A.forEach(function(p){if(!(p instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let l=Object.create(s.prototype);return l.implicit=(this.implicit||[]).concat(c),l.explicit=(this.explicit||[]).concat(A),l.compiledImplicit=n(l,"implicit"),l.compiledExplicit=n(l,"explicit"),l.compiledTypeMap=r(l.compiledImplicit,l.compiledExplicit),l},hm=s,hm}var fm,Kv;function yR(){if(Kv)return fm;Kv=1;let t=Nt();return fm=new t("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),fm}var gm,Zv;function ER(){if(Zv)return gm;Zv=1;let t=Nt();return gm=new t("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),gm}var mm,Xv;function CR(){if(Xv)return mm;Xv=1;let t=Nt();return mm=new t("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),mm}var ym,eR;function IR(){if(eR)return ym;eR=1;let t=mR();return ym=new t({explicit:[yR(),ER(),CR()]}),ym}var Em,tR;function BR(){if(tR)return Em;tR=1;let t=Nt();function e(s){if(s===null)return!0;let i=s.length;return i===1&&s==="~"||i===4&&(s==="null"||s==="Null"||s==="NULL")}function n(){return null}function r(s){return s===null}return Em=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:e,construct:n,predicate:r,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Em}var Cm,nR;function wR(){if(nR)return Cm;nR=1;let t=Nt();function e(s){if(s===null)return!1;let i=s.length;return i===4&&(s==="true"||s==="True"||s==="TRUE")||i===5&&(s==="false"||s==="False"||s==="FALSE")}function n(s){return s==="true"||s==="True"||s==="TRUE"}function r(s){return Object.prototype.toString.call(s)==="[object Boolean]"}return Cm=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:e,construct:n,predicate:r,represent:{lowercase:function(s){return s?"true":"false"},uppercase:function(s){return s?"TRUE":"FALSE"},camelcase:function(s){return s?"True":"False"}},defaultStyle:"lowercase"}),Cm}var Im,rR;function QR(){if(rR)return Im;rR=1;let t=du(),e=Nt();function n(l){return l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102}function r(l){return l>=48&&l<=55}function s(l){return l>=48&&l<=57}function i(l){if(l===null)return!1;let p=l.length,h=0,g=!1;if(!p)return!1;let C=l[h];if((C==="-"||C==="+")&&(C=l[++h]),C==="0"){if(h+1===p)return!0;if(C=l[++h],C==="b"){for(h++;h<p;h++){if(C=l[h],C!=="0"&&C!=="1")return!1;g=!0}return g&&isFinite(a(l))}if(C==="x"){for(h++;h<p;h++){if(!n(l.charCodeAt(h)))return!1;g=!0}return g&&isFinite(a(l))}if(C==="o"){for(h++;h<p;h++){if(!r(l.charCodeAt(h)))return!1;g=!0}return g&&isFinite(a(l))}}for(;h<p;h++){if(!s(l.charCodeAt(h)))return!1;g=!0}return g?isFinite(a(l)):!1}function a(l){let p=l,h=1,g=p[0];if((g==="-"||g==="+")&&(g==="-"&&(h=-1),p=p.slice(1),g=p[0]),p==="0")return 0;if(g==="0"){if(p[1]==="b")return h*parseInt(p.slice(2),2);if(p[1]==="x")return h*parseInt(p.slice(2),16);if(p[1]==="o")return h*parseInt(p.slice(2),8)}return h*parseInt(p,10)}function c(l){return a(l)}function A(l){return Object.prototype.toString.call(l)==="[object Number]"&&l%1===0&&!t.isNegativeZero(l)}return Im=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:i,construct:c,predicate:A,represent:{binary:function(l){return l>=0?"0b"+l.toString(2):"-0b"+l.toString(2).slice(1)},octal:function(l){return l>=0?"0o"+l.toString(8):"-0o"+l.toString(8).slice(1)},decimal:function(l){return l.toString(10)},hexadecimal:function(l){return l>=0?"0x"+l.toString(16).toUpperCase():"-0x"+l.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Im}var Bm,sR;function bR(){if(sR)return Bm;sR=1;let t=du(),e=Nt(),n=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function s(l){return l===null||!n.test(l)?!1:isFinite(parseFloat(l,10))?!0:r.test(l)}function i(l){let p=l.toLowerCase(),h=p[0]==="-"?-1:1;return"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?h===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:h*parseFloat(p,10)}let a=/^[-+]?[0-9]+e/;function c(l,p){if(isNaN(l))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===l)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===l)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(l))return"-0.0";let h=l.toString(10);return a.test(h)?h.replace("e",".e"):h}function A(l){return Object.prototype.toString.call(l)==="[object Number]"&&(l%1!==0||t.isNegativeZero(l))}return Bm=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:s,construct:i,predicate:A,represent:c,defaultStyle:"lowercase"}),Bm}var wm,iR;function SR(){return iR||(iR=1,wm=IR().extend({implicit:[BR(),wR(),QR(),bR()]})),wm}var Qm,oR;function kR(){return oR||(oR=1,Qm=SR()),Qm}var bm,aR;function vR(){if(aR)return bm;aR=1;let t=Nt(),e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=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 r(a){return a===null?!1:e.exec(a)!==null||n.exec(a)!==null}function s(a){let c=0,A=null,l=e.exec(a);if(l===null&&(l=n.exec(a)),l===null)throw new Error("Date resolve error");let p=+l[1],h=+l[2]-1,g=+l[3];if(!l[4])return new Date(Date.UTC(p,h,g));let C=+l[4],S=+l[5],v=+l[6];if(l[7]){for(c=l[7].slice(0,3);c.length<3;)c+="0";c=+c}if(l[9]){let x=+l[10],F=+(l[11]||0);A=(x*60+F)*6e4,l[9]==="-"&&(A=-A)}let T=new Date(Date.UTC(p,h,g,C,S,v,c));return A&&T.setTime(T.getTime()-A),T}function i(a){return a.toISOString()}return bm=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:s,instanceOf:Date,represent:i}),bm}var Sm,cR;function RR(){if(cR)return Sm;cR=1;let t=Nt();function e(n){return n==="<<"||n===null}return Sm=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e}),Sm}var km,uR;function xR(){if(uR)return km;uR=1;let t=Nt(),e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
58
|
-
\r`;function n(a){if(a===null)return!1;let c=0,A=a.length,l=e;for(let p=0;p<A;p++){let h=l.indexOf(a.charAt(p));if(!(h>64)){if(h<0)return!1;c+=6}}return c%8===0}function r(a){let c=a.replace(/[\r\n=]/g,""),A=c.length,l=e,p=0,h=[];for(let C=0;C<A;C++)C%4===0&&C&&(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)),p=p<<6|l.indexOf(c.charAt(C));let g=A%4*6;return g===0?(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)):g===18?(h.push(p>>10&255),h.push(p>>2&255)):g===12&&h.push(p>>4&255),new Uint8Array(h)}function s(a){let c="",A=0,l=a.length,p=e;for(let g=0;g<l;g++)g%3===0&&g&&(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]),A=(A<<8)+a[g];let h=l%3;return h===0?(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]):h===2?(c+=p[A>>10&63],c+=p[A>>4&63],c+=p[A<<2&63],c+=p[64]):h===1&&(c+=p[A>>2&63],c+=p[A<<4&63],c+=p[64],c+=p[64]),c}function i(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return km=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:n,construct:r,predicate:i,represent:s}),km}var vm,AR;function TR(){if(AR)return vm;AR=1;let t=Nt(),e=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(i){if(i===null)return!0;let a={},c=i;for(let A=0,l=c.length;A<l;A+=1){let p=c[A],h=!1;if(n.call(p)!=="[object Object]")return!1;let g;for(g in p)if(e.call(p,g))if(!h)h=!0;else return!1;if(!h||e.call(a,g))return!1;Object.defineProperty(a,g,{value:!0})}return!0}function s(i){return i!==null?i:[]}return vm=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:s}),vm}var Rm,lR;function DR(){if(lR)return Rm;lR=1;let t=Nt(),e=Object.prototype.toString;function n(s){if(s===null)return!0;let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c];if(e.call(l)!=="[object Object]")return!1;let p=Object.keys(l);if(p.length!==1)return!1;a[c]=[p[0],l[p[0]]]}return!0}function r(s){if(s===null)return[];let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c],p=Object.keys(l);a[c]=[p[0],l[p[0]]]}return a}return Rm=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:r}),Rm}var xm,dR;function NR(){if(dR)return xm;dR=1;let t=Nt(),e=Object.prototype.hasOwnProperty;function n(s){if(s===null)return!0;let i=s;for(let a in i)if(e.call(i,a)&&i[a]!==null)return!1;return!0}function r(s){return s!==null?s:{}}return xm=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:r}),xm}var Tm,pR;function Nm(){return pR||(pR=1,Tm=kR().extend({implicit:[vR(),RR()],explicit:[xR(),TR(),DR(),NR()]})),Tm}var hR;function vY(){if(hR)return hd;hR=1;let t=du(),e=pu(),n=kY(),r=Nm(),s=Object.prototype.hasOwnProperty,i=1,a=2,c=3,A=4,l=1,p=2,h=3,g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,C=/[\x85\u2028\u2029]/,S=/[,\[\]{}]/,v=/^(?:!|!!|![0-9A-Za-z-]+!)$/,T=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(o){return Object.prototype.toString.call(o)}function F(o){return o===10||o===13}function Y(o){return o===9||o===32}function $(o){return o===9||o===32||o===10||o===13}function ae(o){return o===44||o===91||o===93||o===123||o===125}function ke(o){if(o>=48&&o<=57)return o-48;let f=o|32;return f>=97&&f<=102?f-97+10:-1}function ve(o){return o===120?2:o===117?4:o===85?8:0}function
|
|
58
|
+
\r`;function n(a){if(a===null)return!1;let c=0,A=a.length,l=e;for(let p=0;p<A;p++){let h=l.indexOf(a.charAt(p));if(!(h>64)){if(h<0)return!1;c+=6}}return c%8===0}function r(a){let c=a.replace(/[\r\n=]/g,""),A=c.length,l=e,p=0,h=[];for(let C=0;C<A;C++)C%4===0&&C&&(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)),p=p<<6|l.indexOf(c.charAt(C));let g=A%4*6;return g===0?(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)):g===18?(h.push(p>>10&255),h.push(p>>2&255)):g===12&&h.push(p>>4&255),new Uint8Array(h)}function s(a){let c="",A=0,l=a.length,p=e;for(let g=0;g<l;g++)g%3===0&&g&&(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]),A=(A<<8)+a[g];let h=l%3;return h===0?(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]):h===2?(c+=p[A>>10&63],c+=p[A>>4&63],c+=p[A<<2&63],c+=p[64]):h===1&&(c+=p[A>>2&63],c+=p[A<<4&63],c+=p[64],c+=p[64]),c}function i(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return km=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:n,construct:r,predicate:i,represent:s}),km}var vm,AR;function TR(){if(AR)return vm;AR=1;let t=Nt(),e=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(i){if(i===null)return!0;let a={},c=i;for(let A=0,l=c.length;A<l;A+=1){let p=c[A],h=!1;if(n.call(p)!=="[object Object]")return!1;let g;for(g in p)if(e.call(p,g))if(!h)h=!0;else return!1;if(!h||e.call(a,g))return!1;Object.defineProperty(a,g,{value:!0})}return!0}function s(i){return i!==null?i:[]}return vm=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:s}),vm}var Rm,lR;function DR(){if(lR)return Rm;lR=1;let t=Nt(),e=Object.prototype.toString;function n(s){if(s===null)return!0;let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c];if(e.call(l)!=="[object Object]")return!1;let p=Object.keys(l);if(p.length!==1)return!1;a[c]=[p[0],l[p[0]]]}return!0}function r(s){if(s===null)return[];let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c],p=Object.keys(l);a[c]=[p[0],l[p[0]]]}return a}return Rm=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:r}),Rm}var xm,dR;function NR(){if(dR)return xm;dR=1;let t=Nt(),e=Object.prototype.hasOwnProperty;function n(s){if(s===null)return!0;let i=s;for(let a in i)if(e.call(i,a)&&i[a]!==null)return!1;return!0}function r(s){return s!==null?s:{}}return xm=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:r}),xm}var Tm,pR;function Nm(){return pR||(pR=1,Tm=kR().extend({implicit:[vR(),RR()],explicit:[xR(),TR(),DR(),NR()]})),Tm}var hR;function vY(){if(hR)return hd;hR=1;let t=du(),e=pu(),n=kY(),r=Nm(),s=Object.prototype.hasOwnProperty,i=1,a=2,c=3,A=4,l=1,p=2,h=3,g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,C=/[\x85\u2028\u2029]/,S=/[,\[\]{}]/,v=/^(?:!|!!|![0-9A-Za-z-]+!)$/,T=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(o){return Object.prototype.toString.call(o)}function F(o){return o===10||o===13}function Y(o){return o===9||o===32}function $(o){return o===9||o===32||o===10||o===13}function ae(o){return o===44||o===91||o===93||o===123||o===125}function ke(o){if(o>=48&&o<=57)return o-48;let f=o|32;return f>=97&&f<=102?f-97+10:-1}function ve(o){return o===120?2:o===117?4:o===85?8:0}function Ue(o){return o>=48&&o<=57?o-48:-1}function We(o){switch(o){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
|
|
59
59
|
`;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""}}function Lt(o){return o<=65535?String.fromCharCode(o):String.fromCharCode((o-65536>>10)+55296,(o-65536&1023)+56320)}function et(o,f,B){f==="__proto__"?Object.defineProperty(o,f,{configurable:!0,enumerable:!0,writable:!0,value:B}):o[f]=B}let Ge=new Array(256),ot=new Array(256);for(let o=0;o<256;o++)Ge[o]=We(o)?1:0,ot[o]=We(o);function fe(o,f){this.input=o,this.filename=f.filename||null,this.schema=f.schema||r,this.onWarning=f.onWarning||null,this.legacy=f.legacy||!1,this.json=f.json||!1,this.listener=f.listener||null,this.maxDepth=typeof f.maxDepth=="number"?f.maxDepth:100,this.maxTotalMergeKeys=typeof f.maxTotalMergeKeys=="number"?f.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=o.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function ut(o,f){let B={name:o.filename,buffer:o.input.slice(0,-1),position:o.position,line:o.line,column:o.position-o.lineStart};return B.snippet=n(B),new e(f,B)}function D(o,f){throw ut(o,f)}function Zt(o,f){o.onWarning&&o.onWarning.call(null,ut(o,f))}function st(o,f,B){let w=o.anchorMapTransactions;if(w.length!==0){let E=w[w.length-1];s.call(E,f)||(E[f]={existed:s.call(o.anchorMap,f),value:o.anchorMap[f]})}o.anchorMap[f]=B}function Js(o){o.anchorMapTransactions.push(Object.create(null))}function St(o){let f=o.anchorMapTransactions.pop(),B=o.anchorMapTransactions;if(B.length===0)return;let w=B[B.length-1],E=Object.keys(f);for(let d=0,m=E.length;d<m;d+=1){let y=E[d];s.call(w,y)||(w[y]=f[y])}}function Ws(o){let f=o.anchorMapTransactions.pop(),B=Object.keys(f);for(let w=B.length-1;w>=0;w-=1){let E=f[B[w]];E.existed?o.anchorMap[B[w]]=E.value:delete o.anchorMap[B[w]]}}function Dn(o){return{position:o.position,line:o.line,lineStart:o.lineStart,lineIndent:o.lineIndent,firstTabInLine:o.firstTabInLine,tag:o.tag,anchor:o.anchor,kind:o.kind,result:o.result}}function Xt(o,f){o.position=f.position,o.line=f.line,o.lineStart=f.lineStart,o.lineIndent=f.lineIndent,o.firstTabInLine=f.firstTabInLine,o.tag=f.tag,o.anchor=f.anchor,o.kind=f.kind,o.result=f.result}let Br={YAML:function(f,B,w){f.version!==null&&D(f,"duplication of %YAML directive"),w.length!==1&&D(f,"YAML directive accepts exactly one argument");let E=/^([0-9]+)\.([0-9]+)$/.exec(w[0]);E===null&&D(f,"ill-formed argument of the YAML directive");let d=parseInt(E[1],10),m=parseInt(E[2],10);d!==1&&D(f,"unacceptable YAML version of the document"),f.version=w[0],f.checkLineBreaks=m<2,m!==1&&m!==2&&Zt(f,"unsupported YAML version of the document")},TAG:function(f,B,w){let E;w.length!==2&&D(f,"TAG directive accepts exactly two arguments");let d=w[0];E=w[1],v.test(d)||D(f,"ill-formed tag handle (first argument) of the TAG directive"),s.call(f.tagMap,d)&&D(f,'there is a previously declared suffix for "'+d+'" tag handle'),T.test(E)||D(f,"ill-formed tag prefix (second argument) of the TAG directive");try{E=decodeURIComponent(E)}catch{D(f,"tag prefix is malformed: "+E)}f.tagMap[d]=E}};function Le(o,f,B,w){if(f<B){let E=o.input.slice(f,B);if(w)for(let d=0,m=E.length;d<m;d+=1){let y=E.charCodeAt(d);y===9||y>=32&&y<=1114111||D(o,"expected valid JSON character")}else g.test(E)&&D(o,"the stream contains non-printable characters");o.result+=E}}function At(o){o.totalMergeKeys++,o.maxTotalMergeKeys!==-1&&o.totalMergeKeys>o.maxTotalMergeKeys&&D(o,"merge keys exceeded maxTotalMergeKeys ("+o.maxTotalMergeKeys+")")}function Nn(o,f,B,w){t.isObject(B)||D(o,"cannot merge mappings; the provided source object is unacceptable"),At(o);let E=Object.keys(B);for(let d=0,m=E.length;d<m;d+=1){let y=E[d];At(o),s.call(f,y)||(et(f,y,B[y]),w[y]=!0)}}function it(o,f,B,w,E,d,m,y,Q){if(Array.isArray(E)){E=Array.prototype.slice.call(E);for(let b=0,k=E.length;b<k;b+=1)Array.isArray(E[b])&&D(o,"nested arrays are not supported inside keys"),typeof E=="object"&&x(E[b])==="[object Object]"&&(E[b]="[object Object]")}if(typeof E=="object"&&x(E)==="[object Object]"&&(E="[object Object]"),E=String(E),f===null&&(f={}),w==="tag:yaml.org,2002:merge")if(Array.isArray(d)){d.length>100&&D(o,"abnormal merge sequence size");for(let b=0,k=d.length;b<k;b+=1)Nn(o,f,d[b],B)}else Nn(o,f,d,B);else!o.json&&!s.call(B,E)&&s.call(f,E)&&(o.line=m||o.line,o.lineStart=y||o.lineStart,o.position=Q||o.position,D(o,"duplicated mapping key")),et(f,E,d),delete B[E];return f}function Fn(o){let f=o.input.charCodeAt(o.position);f===10?o.position++:f===13?(o.position++,o.input.charCodeAt(o.position)===10&&o.position++):D(o,"a line break is expected"),o.line+=1,o.lineStart=o.position,o.firstTabInLine=-1}function pe(o,f,B){let w=0,E=o.input.charCodeAt(o.position);for(;E!==0;){for(;Y(E);)E===9&&o.firstTabInLine===-1&&(o.firstTabInLine=o.position),E=o.input.charCodeAt(++o.position);if(f&&E===35)do E=o.input.charCodeAt(++o.position);while(E!==10&&E!==13&&E!==0);if(F(E))for(Fn(o),E=o.input.charCodeAt(o.position),w++,o.lineIndent=0;E===32;)o.lineIndent++,E=o.input.charCodeAt(++o.position);else break}return B!==-1&&w!==0&&o.lineIndent<B&&Zt(o,"deficient indentation"),w}function ze(o){let f=o.position,B=o.input.charCodeAt(f);return!!((B===45||B===46)&&B===o.input.charCodeAt(f+1)&&B===o.input.charCodeAt(f+2)&&(f+=3,B=o.input.charCodeAt(f),B===0||$(B)))}function en(o,f){f===1?o.result+=" ":f>1&&(o.result+=t.repeat(`
|
|
60
|
-
`,f-1))}function wr(o,f,B){let w,E,d,m,y,Q,b=o.kind,k=o.result,I=o.input.charCodeAt(o.position);if($(I)||ae(I)||I===35||I===38||I===42||I===33||I===124||I===62||I===39||I===34||I===37||I===64||I===96)return!1;if(I===63||I===45){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))return!1}for(o.kind="scalar",o.result="",w=E=o.position,d=!1;I!==0;){if(I===58){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))break}else if(I===35){let R=o.input.charCodeAt(o.position-1);if($(R))break}else{if(o.position===o.lineStart&&ze(o)||B&&ae(I))break;if(F(I))if(m=o.line,y=o.lineStart,Q=o.lineIndent,pe(o,!1,-1),o.lineIndent>=f){d=!0,I=o.input.charCodeAt(o.position);continue}else{o.position=E,o.line=m,o.lineStart=y,o.lineIndent=Q;break}}d&&(Le(o,w,E,!1),en(o,o.line-m),w=E=o.position,d=!1),Y(I)||(E=o.position+1),I=o.input.charCodeAt(++o.position)}return Le(o,w,E,!1),o.result?!0:(o.kind=b,o.result=k,!1)}function Mn(o,f){let B,w,E=o.input.charCodeAt(o.position);if(E!==39)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(E=o.input.charCodeAt(o.position))!==0;)if(E===39)if(Le(o,B,o.position,!0),E=o.input.charCodeAt(++o.position),E===39)B=o.position,o.position++,w=o.position;else return!0;else F(E)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a single quoted scalar"):(o.position++,Y(E)||(w=o.position));D(o,"unexpected end of the stream within a single quoted scalar")}function Qr(o,f){let B,w,E,d=o.input.charCodeAt(o.position);if(d!==34)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(d=o.input.charCodeAt(o.position))!==0;){if(d===34)return Le(o,B,o.position,!0),o.position++,!0;if(d===92){if(Le(o,B,o.position,!0),d=o.input.charCodeAt(++o.position),F(d))pe(o,!1,f);else if(d<256&&Ge[d])o.result+=ot[d],o.position++;else if((E=ve(d))>0){let m=E,y=0;for(;m>0;m--)d=o.input.charCodeAt(++o.position),(E=ke(d))>=0?y=(y<<4)+E:D(o,"expected hexadecimal character");o.result+=Lt(y),o.position++}else D(o,"unknown escape sequence");B=w=o.position}else F(d)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a double quoted scalar"):(o.position++,Y(d)||(w=o.position))}D(o,"unexpected end of the stream within a double quoted scalar")}function br(o,f){let B=!0,w,E,d,m=o.tag,y,Q=o.anchor,b,k,I,R,N=Object.create(null),M,
|
|
60
|
+
`,f-1))}function wr(o,f,B){let w,E,d,m,y,Q,b=o.kind,k=o.result,I=o.input.charCodeAt(o.position);if($(I)||ae(I)||I===35||I===38||I===42||I===33||I===124||I===62||I===39||I===34||I===37||I===64||I===96)return!1;if(I===63||I===45){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))return!1}for(o.kind="scalar",o.result="",w=E=o.position,d=!1;I!==0;){if(I===58){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))break}else if(I===35){let R=o.input.charCodeAt(o.position-1);if($(R))break}else{if(o.position===o.lineStart&&ze(o)||B&&ae(I))break;if(F(I))if(m=o.line,y=o.lineStart,Q=o.lineIndent,pe(o,!1,-1),o.lineIndent>=f){d=!0,I=o.input.charCodeAt(o.position);continue}else{o.position=E,o.line=m,o.lineStart=y,o.lineIndent=Q;break}}d&&(Le(o,w,E,!1),en(o,o.line-m),w=E=o.position,d=!1),Y(I)||(E=o.position+1),I=o.input.charCodeAt(++o.position)}return Le(o,w,E,!1),o.result?!0:(o.kind=b,o.result=k,!1)}function Mn(o,f){let B,w,E=o.input.charCodeAt(o.position);if(E!==39)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(E=o.input.charCodeAt(o.position))!==0;)if(E===39)if(Le(o,B,o.position,!0),E=o.input.charCodeAt(++o.position),E===39)B=o.position,o.position++,w=o.position;else return!0;else F(E)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a single quoted scalar"):(o.position++,Y(E)||(w=o.position));D(o,"unexpected end of the stream within a single quoted scalar")}function Qr(o,f){let B,w,E,d=o.input.charCodeAt(o.position);if(d!==34)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(d=o.input.charCodeAt(o.position))!==0;){if(d===34)return Le(o,B,o.position,!0),o.position++,!0;if(d===92){if(Le(o,B,o.position,!0),d=o.input.charCodeAt(++o.position),F(d))pe(o,!1,f);else if(d<256&&Ge[d])o.result+=ot[d],o.position++;else if((E=ve(d))>0){let m=E,y=0;for(;m>0;m--)d=o.input.charCodeAt(++o.position),(E=ke(d))>=0?y=(y<<4)+E:D(o,"expected hexadecimal character");o.result+=Lt(y),o.position++}else D(o,"unknown escape sequence");B=w=o.position}else F(d)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a double quoted scalar"):(o.position++,Y(d)||(w=o.position))}D(o,"unexpected end of the stream within a double quoted scalar")}function br(o,f){let B=!0,w,E,d,m=o.tag,y,Q=o.anchor,b,k,I,R,N=Object.create(null),M,_,G,q=o.input.charCodeAt(o.position);if(q===91)b=93,R=!1,y=[];else if(q===123)b=125,R=!0,y={};else return!1;for(o.anchor!==null&&st(o,o.anchor,y),q=o.input.charCodeAt(++o.position);q!==0;){if(pe(o,!0,f),q=o.input.charCodeAt(o.position),q===b)return o.position++,o.tag=m,o.anchor=Q,o.kind=R?"mapping":"sequence",o.result=y,!0;if(B?q===44&&D(o,"expected the node content, but found ','"):D(o,"missed comma between flow collection entries"),_=M=G=null,k=I=!1,q===63){let pt=o.input.charCodeAt(o.position+1);$(pt)&&(k=I=!0,o.position++,pe(o,!0,f))}w=o.line,E=o.lineStart,d=o.position,dt(o,f,i,!1,!0),_=o.tag,M=o.result,pe(o,!0,f),q=o.input.charCodeAt(o.position),(I||o.line===w)&&q===58&&(k=!0,q=o.input.charCodeAt(++o.position),pe(o,!0,f),dt(o,f,i,!1,!0),G=o.result),R?it(o,y,N,_,M,G,w,E,d):k?y.push(it(o,null,N,_,M,G,w,E,d)):y.push(M),pe(o,!0,f),q=o.input.charCodeAt(o.position),q===44?(B=!0,q=o.input.charCodeAt(++o.position)):B=!1}D(o,"unexpected end of the stream within a flow collection")}function lt(o,f){let B,w=l,E=!1,d=!1,m=f,y=0,Q=!1,b,k=o.input.charCodeAt(o.position);if(k===124)B=!1;else if(k===62)B=!0;else return!1;for(o.kind="scalar",o.result="";k!==0;)if(k=o.input.charCodeAt(++o.position),k===43||k===45)l===w?w=k===43?h:p:D(o,"repeat of a chomping mode identifier");else if((b=Ue(k))>=0)b===0?D(o,"bad explicit indentation width of a block scalar; it cannot be less than one"):d?D(o,"repeat of an indentation width identifier"):(m=f+b-1,d=!0);else break;if(Y(k)){do k=o.input.charCodeAt(++o.position);while(Y(k));if(k===35)do k=o.input.charCodeAt(++o.position);while(!F(k)&&k!==0)}for(;k!==0;){for(Fn(o),o.lineIndent=0,k=o.input.charCodeAt(o.position);(!d||o.lineIndent<m)&&k===32;)o.lineIndent++,k=o.input.charCodeAt(++o.position);if(!d&&o.lineIndent>m&&(m=o.lineIndent),F(k)){y++;continue}if(!d&&m===0&&D(o,"missing indentation for block scalar"),o.lineIndent<m){w===h?o.result+=t.repeat(`
|
|
61
61
|
`,E?1+y:y):w===l&&E&&(o.result+=`
|
|
62
62
|
`);break}B?Y(k)?(Q=!0,o.result+=t.repeat(`
|
|
63
63
|
`,E?1+y:y)):Q?(Q=!1,o.result+=t.repeat(`
|
|
64
64
|
`,y+1)):y===0?E&&(o.result+=" "):o.result+=t.repeat(`
|
|
65
65
|
`,y):o.result+=t.repeat(`
|
|
66
|
-
`,E?1+y:y),E=!0,d=!0,y=0;let I=o.position;for(;!F(k)&&k!==0;)k=o.input.charCodeAt(++o.position);Le(o,I,o.position,!1)}return!0}function Sr(o,f){let B=o.tag,w=o.anchor,E=[],d=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,E);let m=o.input.charCodeAt(o.position);for(;m!==0&&(o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation")),m===45);){let y=o.input.charCodeAt(o.position+1);if(!$(y))break;if(d=!0,o.position++,pe(o,!0,-1)&&o.lineIndent<=f){E.push(null),m=o.input.charCodeAt(o.position);continue}let Q=o.line;if(dt(o,f,c,!1,!0),E.push(o.result),pe(o,!0,-1),m=o.input.charCodeAt(o.position),(o.line===Q||o.lineIndent>f)&&m!==0)D(o,"bad indentation of a sequence entry");else if(o.lineIndent<f)break}return d?(o.tag=B,o.anchor=w,o.kind="sequence",o.result=E,!0):!1}function kr(o,f,B){let w,E,d,m,y=o.tag,Q=o.anchor,b={},k=Object.create(null),I=null,R=null,N=null,M=!1,
|
|
67
|
-
`),o.charCodeAt(0)===65279&&(o=o.slice(1)));let B=new fe(o,f),w=o.indexOf("\0");for(w!==-1&&(B.position=w,D(B,"null byte is not allowed in input")),B.input+="\0";B.input.charCodeAt(B.position)===32;)B.lineIndent+=1,B.position+=1;for(;B.position<B.length-1;)Ks(B);return B.documents}function Zs(o,f,B){f!==null&&typeof f=="object"&&typeof B>"u"&&(B=f,f=null);let w=
|
|
66
|
+
`,E?1+y:y),E=!0,d=!0,y=0;let I=o.position;for(;!F(k)&&k!==0;)k=o.input.charCodeAt(++o.position);Le(o,I,o.position,!1)}return!0}function Sr(o,f){let B=o.tag,w=o.anchor,E=[],d=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,E);let m=o.input.charCodeAt(o.position);for(;m!==0&&(o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation")),m===45);){let y=o.input.charCodeAt(o.position+1);if(!$(y))break;if(d=!0,o.position++,pe(o,!0,-1)&&o.lineIndent<=f){E.push(null),m=o.input.charCodeAt(o.position);continue}let Q=o.line;if(dt(o,f,c,!1,!0),E.push(o.result),pe(o,!0,-1),m=o.input.charCodeAt(o.position),(o.line===Q||o.lineIndent>f)&&m!==0)D(o,"bad indentation of a sequence entry");else if(o.lineIndent<f)break}return d?(o.tag=B,o.anchor=w,o.kind="sequence",o.result=E,!0):!1}function kr(o,f,B){let w,E,d,m,y=o.tag,Q=o.anchor,b={},k=Object.create(null),I=null,R=null,N=null,M=!1,_=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,b);let G=o.input.charCodeAt(o.position);for(;G!==0;){!M&&o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation"));let q=o.input.charCodeAt(o.position+1),pt=o.line;if((G===63||G===58)&&$(q))G===63?(M&&(it(o,b,k,I,R,null,E,d,m),I=R=N=null),_=!0,M=!0,w=!0):M?(M=!1,w=!0):D(o,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),o.position+=1,G=q;else{if(E=o.line,d=o.lineStart,m=o.position,!dt(o,B,a,!1,!0))break;if(o.line===pt){for(G=o.input.charCodeAt(o.position);Y(G);)G=o.input.charCodeAt(++o.position);if(G===58)G=o.input.charCodeAt(++o.position),$(G)||D(o,"a whitespace character is expected after the key-value separator within a block mapping"),M&&(it(o,b,k,I,R,null,E,d,m),I=R=N=null),_=!0,M=!1,w=!1,I=o.tag,R=o.result;else if(_)D(o,"can not read an implicit mapping pair; a colon is missed");else return o.tag=y,o.anchor=Q,!0}else if(_)D(o,"can not read a block mapping entry; a multiline key may not be an implicit key");else return o.tag=y,o.anchor=Q,!0}if((o.line===pt||o.lineIndent>f)&&(M&&(E=o.line,d=o.lineStart,m=o.position),dt(o,f,A,!0,w)&&(M?R=o.result:N=o.result),M||(it(o,b,k,I,R,N,E,d,m),I=R=N=null),pe(o,!0,-1),G=o.input.charCodeAt(o.position)),(o.line===pt||o.lineIndent>f)&&G!==0)D(o,"bad indentation of a mapping entry");else if(o.lineIndent<f)break}return M&&it(o,b,k,I,R,null,E,d,m),_&&(o.tag=y,o.anchor=Q,o.kind="mapping",o.result=b),_}function vr(o){let f=!1,B=!1,w,E,d=o.input.charCodeAt(o.position);if(d!==33)return!1;o.tag!==null&&D(o,"duplication of a tag property"),d=o.input.charCodeAt(++o.position),d===60?(f=!0,d=o.input.charCodeAt(++o.position)):d===33?(B=!0,w="!!",d=o.input.charCodeAt(++o.position)):w="!";let m=o.position;if(f){do d=o.input.charCodeAt(++o.position);while(d!==0&&d!==62);o.position<o.length?(E=o.input.slice(m,o.position),d=o.input.charCodeAt(++o.position)):D(o,"unexpected end of the stream within a verbatim tag")}else{for(;d!==0&&!$(d);)d===33&&(B?D(o,"tag suffix cannot contain exclamation marks"):(w=o.input.slice(m-1,o.position+1),v.test(w)||D(o,"named tag handle cannot contain such characters"),B=!0,m=o.position+1)),d=o.input.charCodeAt(++o.position);E=o.input.slice(m,o.position),S.test(E)&&D(o,"tag suffix cannot contain flow indicator characters")}E&&!T.test(E)&&D(o,"tag name cannot contain such characters: "+E);try{E=decodeURIComponent(E)}catch{D(o,"tag name is malformed: "+E)}return f?o.tag=E:s.call(o.tagMap,w)?o.tag=o.tagMap[w]+E:w==="!"?o.tag="!"+E:w==="!!"?o.tag="tag:yaml.org,2002:"+E:D(o,'undeclared tag handle "'+w+'"'),!0}function Rr(o){let f=o.input.charCodeAt(o.position);if(f!==38)return!1;o.anchor!==null&&D(o,"duplication of an anchor property"),f=o.input.charCodeAt(++o.position);let B=o.position;for(;f!==0&&!$(f)&&!ae(f);)f=o.input.charCodeAt(++o.position);return o.position===B&&D(o,"name of an anchor node must contain at least one character"),o.anchor=o.input.slice(B,o.position),!0}function zs(o){let f=o.input.charCodeAt(o.position);if(f!==42)return!1;f=o.input.charCodeAt(++o.position);let B=o.position;for(;f!==0&&!$(f)&&!ae(f);)f=o.input.charCodeAt(++o.position);o.position===B&&D(o,"name of an alias node must contain at least one character");let w=o.input.slice(B,o.position);return s.call(o.anchorMap,w)||D(o,'unidentified alias "'+w+'"'),o.result=o.anchorMap[w],pe(o,!0,-1),!0}function xr(o,f,B,w){let E=Dn(o);return Js(o),Xt(o,f),o.tag=null,o.anchor=null,o.kind=null,o.result=null,kr(o,B,w)&&o.kind==="mapping"?(St(o),!0):(Ws(o),Xt(o,E),!1)}function dt(o,f,B,w,E){let d,m,y=1,Q=!1,b=!1,k=null,I,R,N;o.depth>=o.maxDepth&&D(o,"nesting exceeded maxDepth ("+o.maxDepth+")"),o.depth+=1,o.listener!==null&&o.listener("open",o),o.tag=null,o.anchor=null,o.kind=null,o.result=null;let M=d=m=A===B||c===B;if(w&&pe(o,!0,-1)&&(Q=!0,o.lineIndent>f?y=1:o.lineIndent===f?y=0:o.lineIndent<f&&(y=-1)),y===1)for(;;){let _=o.input.charCodeAt(o.position),G=Dn(o);if(Q&&(_===33&&o.tag!==null||_===38&&o.anchor!==null)||!vr(o)&&!Rr(o))break;k===null&&(k=G),pe(o,!0,-1)?(Q=!0,m=M,o.lineIndent>f?y=1:o.lineIndent===f?y=0:o.lineIndent<f&&(y=-1)):m=!1}if(m&&(m=Q||E),y===1||A===B)if(i===B||a===B?R=f:R=f+1,N=o.position-o.lineStart,y===1)if(m&&(Sr(o,N)||kr(o,N,R))||br(o,R))b=!0;else{let _=o.input.charCodeAt(o.position);k!==null&&M&&!m&&_!==124&&_!==62&&xr(o,k,k.position-k.lineStart,R)||d&<(o,R)||Mn(o,R)||Qr(o,R)?b=!0:zs(o)?(b=!0,(o.tag!==null||o.anchor!==null)&&D(o,"alias node should not have any properties")):wr(o,R,i===B)&&(b=!0,o.tag===null&&(o.tag="?")),o.anchor!==null&&st(o,o.anchor,o.result)}else y===0&&(b=m&&Sr(o,N));if(o.tag===null)o.anchor!==null&&st(o,o.anchor,o.result);else if(o.tag==="?"){o.result!==null&&o.kind!=="scalar"&&D(o,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+o.kind+'"');for(let _=0,G=o.implicitTypes.length;_<G;_+=1)if(I=o.implicitTypes[_],I.resolve(o.result)){o.result=I.construct(o.result),o.tag=I.tag,o.anchor!==null&&st(o,o.anchor,o.result);break}}else if(o.tag!=="!"){if(s.call(o.typeMap[o.kind||"fallback"],o.tag))I=o.typeMap[o.kind||"fallback"][o.tag];else{I=null;let _=o.typeMap.multi[o.kind||"fallback"];for(let G=0,q=_.length;G<q;G+=1)if(o.tag.slice(0,_[G].tag.length)===_[G].tag){I=_[G];break}}I||D(o,"unknown tag !<"+o.tag+">"),o.result!==null&&I.kind!==o.kind&&D(o,"unacceptable node kind for !<"+o.tag+'> tag; it should be "'+I.kind+'", not "'+o.kind+'"'),I.resolve(o.result,o.tag)?(o.result=I.construct(o.result,o.tag),o.anchor!==null&&st(o,o.anchor,o.result)):D(o,"cannot resolve a node with !<"+o.tag+"> explicit tag")}return o.listener!==null&&o.listener("close",o),o.depth-=1,o.tag!==null||o.anchor!==null||b}function Ks(o){let f=o.position,B=!1,w;for(o.version=null,o.checkLineBreaks=o.legacy,o.tagMap=Object.create(null),o.anchorMap=Object.create(null);(w=o.input.charCodeAt(o.position))!==0&&(pe(o,!0,-1),w=o.input.charCodeAt(o.position),!(o.lineIndent>0||w!==37));){B=!0,w=o.input.charCodeAt(++o.position);let E=o.position;for(;w!==0&&!$(w);)w=o.input.charCodeAt(++o.position);let d=o.input.slice(E,o.position),m=[];for(d.length<1&&D(o,"directive name must not be less than one character in length");w!==0;){for(;Y(w);)w=o.input.charCodeAt(++o.position);if(w===35){do w=o.input.charCodeAt(++o.position);while(w!==0&&!F(w));break}if(F(w))break;for(E=o.position;w!==0&&!$(w);)w=o.input.charCodeAt(++o.position);m.push(o.input.slice(E,o.position))}w!==0&&Fn(o),s.call(Br,d)?Br[d](o,d,m):Zt(o,'unknown document directive "'+d+'"')}if(pe(o,!0,-1),o.lineIndent===0&&o.input.charCodeAt(o.position)===45&&o.input.charCodeAt(o.position+1)===45&&o.input.charCodeAt(o.position+2)===45?(o.position+=3,pe(o,!0,-1)):B&&D(o,"directives end mark is expected"),dt(o,o.lineIndent-1,A,!1,!0),pe(o,!0,-1),o.checkLineBreaks&&C.test(o.input.slice(f,o.position))&&Zt(o,"non-ASCII line breaks are interpreted as content"),o.documents.push(o.result),o.position===o.lineStart&&ze(o)){o.input.charCodeAt(o.position)===46&&(o.position+=3,pe(o,!0,-1));return}o.position<o.length-1&&D(o,"end of the stream or a document separator is expected")}function _n(o,f){o=String(o),f=f||{},o.length!==0&&(o.charCodeAt(o.length-1)!==10&&o.charCodeAt(o.length-1)!==13&&(o+=`
|
|
67
|
+
`),o.charCodeAt(0)===65279&&(o=o.slice(1)));let B=new fe(o,f),w=o.indexOf("\0");for(w!==-1&&(B.position=w,D(B,"null byte is not allowed in input")),B.input+="\0";B.input.charCodeAt(B.position)===32;)B.lineIndent+=1,B.position+=1;for(;B.position<B.length-1;)Ks(B);return B.documents}function Zs(o,f,B){f!==null&&typeof f=="object"&&typeof B>"u"&&(B=f,f=null);let w=_n(o,B);if(typeof f!="function")return w;for(let E=0,d=w.length;E<d;E+=1)f(w[E])}function Xs(o,f){let B=_n(o,f);if(B.length!==0){if(B.length===1)return B[0];throw new e("expected a single document in the stream, but found more")}}return hd.loadAll=Zs,hd.load=Xs,hd}var Dm={},fR;function RY(){if(fR)return Dm;fR=1;let t=du(),e=pu(),n=Nm(),r=Object.prototype.toString,s=Object.prototype.hasOwnProperty,i=65279,a=9,c=10,A=13,l=32,p=33,h=34,g=35,C=37,S=38,v=39,T=42,x=44,F=45,Y=58,$=61,ae=62,ke=63,ve=64,Ue=91,We=93,Lt=96,et=123,Ge=124,ot=125,fe={};fe[0]="\\0",fe[7]="\\a",fe[8]="\\b",fe[9]="\\t",fe[10]="\\n",fe[11]="\\v",fe[12]="\\f",fe[13]="\\r",fe[27]="\\e",fe[34]='\\"',fe[92]="\\\\",fe[133]="\\N",fe[160]="\\_",fe[8232]="\\L",fe[8233]="\\P";let ut=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],D=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Zt(d,m){if(m===null)return{};let y={},Q=Object.keys(m);for(let b=0,k=Q.length;b<k;b+=1){let I=Q[b],R=String(m[I]);I.slice(0,2)==="!!"&&(I="tag:yaml.org,2002:"+I.slice(2));let N=d.compiledTypeMap.fallback[I];N&&s.call(N.styleAliases,R)&&(R=N.styleAliases[R]),y[I]=R}return y}function st(d){let m,y,Q=d.toString(16).toUpperCase();if(d<=255)m="x",y=2;else if(d<=65535)m="u",y=4;else if(d<=4294967295)m="U",y=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+m+t.repeat("0",y-Q.length)+Q}let Js=1,St=2;function Ws(d){this.schema=d.schema||n,this.indent=Math.max(1,d.indent||2),this.noArrayIndent=d.noArrayIndent||!1,this.skipInvalid=d.skipInvalid||!1,this.flowLevel=t.isNothing(d.flowLevel)?-1:d.flowLevel,this.styleMap=Zt(this.schema,d.styles||null),this.sortKeys=d.sortKeys||!1,this.lineWidth=d.lineWidth||80,this.noRefs=d.noRefs||!1,this.noCompatMode=d.noCompatMode||!1,this.condenseFlow=d.condenseFlow||!1,this.quotingType=d.quotingType==='"'?St:Js,this.forceQuotes=d.forceQuotes||!1,this.replacer=typeof d.replacer=="function"?d.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Dn(d,m){let y=t.repeat(" ",m),Q=0,b="",k=d.length;for(;Q<k;){let I,R=d.indexOf(`
|
|
68
68
|
`,Q);R===-1?(I=d.slice(Q),Q=k):(I=d.slice(Q,R+1),Q=R+1),I.length&&I!==`
|
|
69
69
|
`&&(b+=y),b+=I}return b}function Xt(d,m){return`
|
|
70
|
-
`+t.repeat(" ",d.indent*m)}function Br(d,m){for(let y=0,Q=d.implicitTypes.length;y<Q;y+=1)if(d.implicitTypes[y].resolve(m))return!0;return!1}function Le(d){return d===l||d===a}function At(d){return d>=32&&d<=126||d>=161&&d<=55295&&d!==8232&&d!==8233||d>=57344&&d<=65533&&d!==i||d>=65536&&d<=1114111}function Nn(d){return At(d)&&d!==i&&d!==A&&d!==c}function it(d,m,y){let Q=Nn(d),b=Q&&!Le(d);return(y?Q:Q&&d!==x&&d!==
|
|
70
|
+
`+t.repeat(" ",d.indent*m)}function Br(d,m){for(let y=0,Q=d.implicitTypes.length;y<Q;y+=1)if(d.implicitTypes[y].resolve(m))return!0;return!1}function Le(d){return d===l||d===a}function At(d){return d>=32&&d<=126||d>=161&&d<=55295&&d!==8232&&d!==8233||d>=57344&&d<=65533&&d!==i||d>=65536&&d<=1114111}function Nn(d){return At(d)&&d!==i&&d!==A&&d!==c}function it(d,m,y){let Q=Nn(d),b=Q&&!Le(d);return(y?Q:Q&&d!==x&&d!==Ue&&d!==We&&d!==et&&d!==ot)&&d!==g&&!(m===Y&&!b)||Nn(m)&&!Le(m)&&d===g||m===Y&&b}function Fn(d){return At(d)&&d!==i&&!Le(d)&&d!==F&&d!==ke&&d!==Y&&d!==x&&d!==Ue&&d!==We&&d!==et&&d!==ot&&d!==g&&d!==S&&d!==T&&d!==p&&d!==Ge&&d!==$&&d!==ae&&d!==v&&d!==h&&d!==C&&d!==ve&&d!==Lt}function pe(d){return!Le(d)&&d!==Y}function ze(d,m){let y=d.charCodeAt(m),Q;return y>=55296&&y<=56319&&m+1<d.length&&(Q=d.charCodeAt(m+1),Q>=56320&&Q<=57343)?(y-55296)*1024+Q-56320+65536:y}function en(d){return/^\n* /.test(d)}let wr=1,Mn=2,Qr=3,br=4,lt=5;function Sr(d,m,y,Q,b,k,I,R){let N,M=0,_=null,G=!1,q=!1,pt=Q!==-1,Un=-1,Ln=Fn(ze(d,0))&&pe(ze(d,d.length-1));if(m||I)for(N=0;N<d.length;M>=65536?N+=2:N++){if(M=ze(d,N),!At(M))return lt;Ln=Ln&&it(M,_,R),_=M}else{for(N=0;N<d.length;M>=65536?N+=2:N++){if(M=ze(d,N),M===c)G=!0,pt&&(q=q||N-Un-1>Q&&d[Un+1]!==" ",Un=N);else if(!At(M))return lt;Ln=Ln&&it(M,_,R),_=M}q=q||pt&&N-Un-1>Q&&d[Un+1]!==" "}return!G&&!q?Ln&&!I&&!b(d)?wr:k===St?lt:Mn:y>9&&en(d)?lt:I?k===St?lt:Mn:q?br:Qr}function kr(d,m,y,Q,b){d.dump=(function(){if(m.length===0)return d.quotingType===St?'""':"''";if(!d.noCompatMode&&(ut.indexOf(m)!==-1||D.test(m)))return d.quotingType===St?'"'+m+'"':"'"+m+"'";let k=d.indent*Math.max(1,y),I=d.lineWidth===-1?-1:Math.max(Math.min(d.lineWidth,40),d.lineWidth-k),R=Q||d.flowLevel>-1&&y>=d.flowLevel;function N(M){return Br(d,M)}switch(Sr(m,R,d.indent,I,N,d.quotingType,d.forceQuotes&&!Q,b)){case wr:return m;case Mn:return"'"+m.replace(/'/g,"''")+"'";case Qr:return"|"+vr(m,d.indent)+Rr(Dn(m,k));case br:return">"+vr(m,d.indent)+Rr(Dn(zs(m,I),k));case lt:return'"'+dt(m)+'"';default:throw new e("impossible error: invalid scalar style")}})()}function vr(d,m){let y=en(d)?String(m):"",Q=d[d.length-1]===`
|
|
71
71
|
`,k=Q&&(d[d.length-2]===`
|
|
72
72
|
`||d===`
|
|
73
73
|
`)?"+":Q?"":"-";return y+k+`
|
|
@@ -78,30 +78,30 @@ Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}fun
|
|
|
78
78
|
`:"")+xr(N,m),b=k}return Q}function xr(d,m){if(d===""||d[0]===" ")return d;let y=/ [^ ]/g,Q,b=0,k,I=0,R=0,N="";for(;Q=y.exec(d);)R=Q.index,R-b>m&&(k=I>b?I:R,N+=`
|
|
79
79
|
`+d.slice(b,k),b=k+1),I=R;return N+=`
|
|
80
80
|
`,d.length-b>m&&I>b?N+=d.slice(b,I)+`
|
|
81
|
-
`+d.slice(I+1):N+=d.slice(b),N.slice(1)}function dt(d){let m="",y=0;for(let Q=0;Q<d.length;y>=65536?Q+=2:Q++){y=ze(d,Q);let b=fe[y];!b&&At(y)?(m+=d[Q],y>=65536&&(m+=d[Q+1])):m+=b||st(y)}return m}function Ks(d,m,y){let Q="",b=d.tag;for(let k=0,I=y.length;k<I;k+=1){let R=y[k];d.replacer&&(R=d.replacer.call(y,String(k),R)),(f(d,m,R,!1,!1)||typeof R>"u"&&f(d,m,null,!1,!1))&&(Q!==""&&(Q+=","+(d.condenseFlow?"":" ")),Q+=d.dump)}d.tag=b,d.dump="["+Q+"]"}function
|
|
82
|
-
`:""}return Dm.dump=E,Dm}var gR;function xY(){if(gR)return Bt;gR=1;let t=vY(),e=RY();function n(r,s){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+s+" instead, which is now safe by default.")}}return Bt.Type=Nt(),Bt.Schema=mR(),Bt.FAILSAFE_SCHEMA=IR(),Bt.JSON_SCHEMA=SR(),Bt.CORE_SCHEMA=kR(),Bt.DEFAULT_SCHEMA=Nm(),Bt.load=t.load,Bt.loadAll=t.loadAll,Bt.dump=e.dump,Bt.YAMLException=pu(),Bt.types={binary:xR(),float:bR(),map:CR(),null:BR(),pairs:DR(),set:NR(),timestamp:vR(),bool:wR(),int:QR(),merge:RR(),omap:TR(),seq:ER(),str:yR()},Bt.safeLoad=n("safeLoad","load"),Bt.safeLoadAll=n("safeLoadAll","loadAll"),Bt.safeDump=n("safeDump","dump"),Bt}var TY=xY(),hu=SY(TY),{Type:HZ,Schema:YZ,FAILSAFE_SCHEMA:qZ,JSON_SCHEMA:jZ,CORE_SCHEMA:JZ,DEFAULT_SCHEMA:WZ,load:zZ,loadAll:KZ,dump:ZZ,YAMLException:XZ,types:e4,safeLoad:t4,safeLoadAll:n4,safeDump:r4}=hu;var FR=require("child_process"),MR=require("util");var i4=(0,MR.promisify)(FR.execFile);function
|
|
81
|
+
`+d.slice(I+1):N+=d.slice(b),N.slice(1)}function dt(d){let m="",y=0;for(let Q=0;Q<d.length;y>=65536?Q+=2:Q++){y=ze(d,Q);let b=fe[y];!b&&At(y)?(m+=d[Q],y>=65536&&(m+=d[Q+1])):m+=b||st(y)}return m}function Ks(d,m,y){let Q="",b=d.tag;for(let k=0,I=y.length;k<I;k+=1){let R=y[k];d.replacer&&(R=d.replacer.call(y,String(k),R)),(f(d,m,R,!1,!1)||typeof R>"u"&&f(d,m,null,!1,!1))&&(Q!==""&&(Q+=","+(d.condenseFlow?"":" ")),Q+=d.dump)}d.tag=b,d.dump="["+Q+"]"}function _n(d,m,y,Q){let b="",k=d.tag;for(let I=0,R=y.length;I<R;I+=1){let N=y[I];d.replacer&&(N=d.replacer.call(y,String(I),N)),(f(d,m+1,N,!0,!0,!1,!0)||typeof N>"u"&&f(d,m+1,null,!0,!0,!1,!0))&&((!Q||b!=="")&&(b+=Xt(d,m)),d.dump&&c===d.dump.charCodeAt(0)?b+="-":b+="- ",b+=d.dump)}d.tag=k,d.dump=b||"[]"}function Zs(d,m,y){let Q="",b=d.tag,k=Object.keys(y);for(let I=0,R=k.length;I<R;I+=1){let N="";Q!==""&&(N+=", "),d.condenseFlow&&(N+='"');let M=k[I],_=y[M];d.replacer&&(_=d.replacer.call(y,M,_)),f(d,m,M,!1,!1)&&(d.dump.length>1024&&(N+="? "),N+=d.dump+(d.condenseFlow?'"':"")+":"+(d.condenseFlow?"":" "),f(d,m,_,!1,!1)&&(N+=d.dump,Q+=N))}d.tag=b,d.dump="{"+Q+"}"}function Xs(d,m,y,Q){let b="",k=d.tag,I=Object.keys(y);if(d.sortKeys===!0)I.sort();else if(typeof d.sortKeys=="function")I.sort(d.sortKeys);else if(d.sortKeys)throw new e("sortKeys must be a boolean or a function");for(let R=0,N=I.length;R<N;R+=1){let M="";(!Q||b!=="")&&(M+=Xt(d,m));let _=I[R],G=y[_];if(d.replacer&&(G=d.replacer.call(y,_,G)),!f(d,m+1,_,!0,!0,!0))continue;let q=d.tag!==null&&d.tag!=="?"||d.dump&&d.dump.length>1024;q&&(d.dump&&c===d.dump.charCodeAt(0)?M+="?":M+="? "),M+=d.dump,q&&(M+=Xt(d,m)),f(d,m+1,G,!0,q)&&(d.dump&&c===d.dump.charCodeAt(0)?M+=":":M+=": ",M+=d.dump,b+=M)}d.tag=k,d.dump=b||"{}"}function o(d,m,y){let Q=y?d.explicitTypes:d.implicitTypes;for(let b=0,k=Q.length;b<k;b+=1){let I=Q[b];if((I.instanceOf||I.predicate)&&(!I.instanceOf||typeof m=="object"&&m instanceof I.instanceOf)&&(!I.predicate||I.predicate(m))){if(y?I.multi&&I.representName?d.tag=I.representName(m):d.tag=I.tag:d.tag="?",I.represent){let R=d.styleMap[I.tag]||I.defaultStyle,N;if(r.call(I.represent)==="[object Function]")N=I.represent(m,R);else if(s.call(I.represent,R))N=I.represent[R](m,R);else throw new e("!<"+I.tag+'> tag resolver accepts not "'+R+'" style');d.dump=N}return!0}}return!1}function f(d,m,y,Q,b,k,I){d.tag=null,d.dump=y,o(d,y,!1)||o(d,y,!0);let R=r.call(d.dump),N=Q;Q&&(Q=d.flowLevel<0||d.flowLevel>m);let M=R==="[object Object]"||R==="[object Array]",_,G;if(M&&(_=d.duplicates.indexOf(y),G=_!==-1),(d.tag!==null&&d.tag!=="?"||G||d.indent!==2&&m>0)&&(b=!1),G&&d.usedDuplicates[_])d.dump="*ref_"+_;else{if(M&&G&&!d.usedDuplicates[_]&&(d.usedDuplicates[_]=!0),R==="[object Object]")Q&&Object.keys(d.dump).length!==0?(Xs(d,m,d.dump,b),G&&(d.dump="&ref_"+_+d.dump)):(Zs(d,m,d.dump),G&&(d.dump="&ref_"+_+" "+d.dump));else if(R==="[object Array]")Q&&d.dump.length!==0?(d.noArrayIndent&&!I&&m>0?_n(d,m-1,d.dump,b):_n(d,m,d.dump,b),G&&(d.dump="&ref_"+_+d.dump)):(Ks(d,m,d.dump),G&&(d.dump="&ref_"+_+" "+d.dump));else if(R==="[object String]")d.tag!=="?"&&kr(d,d.dump,m,k,N);else{if(R==="[object Undefined]")return!1;if(d.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+R)}if(d.tag!==null&&d.tag!=="?"){let q=encodeURI(d.tag[0]==="!"?d.tag.slice(1):d.tag).replace(/!/g,"%21");d.tag[0]==="!"?q="!"+q:q.slice(0,18)==="tag:yaml.org,2002:"?q="!!"+q.slice(18):q="!<"+q+">",d.dump=q+" "+d.dump}}return!0}function B(d,m){let y=[],Q=[];w(d,y,Q);let b=Q.length;for(let k=0;k<b;k+=1)m.duplicates.push(y[Q[k]]);m.usedDuplicates=new Array(b)}function w(d,m,y){if(d!==null&&typeof d=="object"){let Q=m.indexOf(d);if(Q!==-1)y.indexOf(Q)===-1&&y.push(Q);else if(m.push(d),Array.isArray(d))for(let b=0,k=d.length;b<k;b+=1)w(d[b],m,y);else{let b=Object.keys(d);for(let k=0,I=b.length;k<I;k+=1)w(d[b[k]],m,y)}}}function E(d,m){m=m||{};let y=new Ws(m);y.noRefs||B(d,y);let Q=d;return y.replacer&&(Q=y.replacer.call({"":Q},"",Q)),f(y,0,Q,!0,!0)?y.dump+`
|
|
82
|
+
`:""}return Dm.dump=E,Dm}var gR;function xY(){if(gR)return Bt;gR=1;let t=vY(),e=RY();function n(r,s){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+s+" instead, which is now safe by default.")}}return Bt.Type=Nt(),Bt.Schema=mR(),Bt.FAILSAFE_SCHEMA=IR(),Bt.JSON_SCHEMA=SR(),Bt.CORE_SCHEMA=kR(),Bt.DEFAULT_SCHEMA=Nm(),Bt.load=t.load,Bt.loadAll=t.loadAll,Bt.dump=e.dump,Bt.YAMLException=pu(),Bt.types={binary:xR(),float:bR(),map:CR(),null:BR(),pairs:DR(),set:NR(),timestamp:vR(),bool:wR(),int:QR(),merge:RR(),omap:TR(),seq:ER(),str:yR()},Bt.safeLoad=n("safeLoad","load"),Bt.safeLoadAll=n("safeLoadAll","loadAll"),Bt.safeDump=n("safeDump","dump"),Bt}var TY=xY(),hu=SY(TY),{Type:HZ,Schema:YZ,FAILSAFE_SCHEMA:qZ,JSON_SCHEMA:jZ,CORE_SCHEMA:JZ,DEFAULT_SCHEMA:WZ,load:zZ,loadAll:KZ,dump:ZZ,YAMLException:XZ,types:e4,safeLoad:t4,safeLoadAll:n4,safeDump:r4}=hu;var FR=require("child_process"),MR=require("util");var i4=(0,MR.promisify)(FR.execFile);function _R(t){let e=t.trim().match(/[:/]([^/]+)\/([^/]+?)(?:\.git)?\/?$/);if(!e)return;let[,n,r]=e;return`${n}/${r}`}var UR=(0,PR.promisify)(LR.execFile),DY=".skyramp",NY="workspace.yml",OR=U.object({serviceName:U.string(),repository:U.string().optional(),language:U.enum(["python","typescript","javascript","java"]).optional(),framework:U.enum(Qa).optional(),testDirectory:U.string().optional(),api:U.object({schemaPath:U.string().optional(),authType:U.enum(["bearer","basic","oauth","apiKey","cookie","session","token","none"]).optional(),authHeader:U.string().optional(),authScheme:U.string().optional(),defaultQueryParams:U.record(U.string()).optional(),queryParamOverrides:U.array(U.object({pathPattern:U.string().min(1),values:U.record(U.string())}).strict()).optional(),baseUrl:U.string().optional(),skipTLSVerify:U.boolean().optional()}).strict().optional(),runtimeDetails:U.object({serverStartCommand:U.string().optional(),serverStopCommand:U.string().optional(),runtime:im,dockerNetwork:U.string().optional(),k8sNamespace:U.string().optional(),k8sContext:U.string().optional(),testSuites:U.array(U.object({framework:U.enum(Qa).optional(),testRunCommand:U.string().min(1),pathGlobs:U.array(U.string()).optional(),canaryStatus:U.enum(["proven","unproven"]).optional(),canaryDetail:U.string().optional(),testEnv:U.unknown().optional()}).strict().transform(({testEnv:t,...e})=>e)).optional()}).strict().optional()}).strict(),FY=U.object({workspace:U.object({repoName:U.string().optional(),repoUrl:U.string().optional()}).strict().optional(),metadata:U.object({schemaVersion:U.string(),mcpVersion:U.string().optional(),executorVersion:U.string(),createdAt:U.string().optional(),updatedAt:U.string().optional()}).strict().optional(),services:U.array(OR).optional()}).strict();function $R(t,e){let n=e.issues.map(r=>`${Array.isArray(r.path)&&r.path.length>0?r.path.join("."):"<root>"}: ${r.message}`);throw new Error(`${t} failed:
|
|
83
83
|
- ${n.join(`
|
|
84
84
|
- `)}`)}function MY(t){return FY.safeParse(t)}function fd(t,e="Workspace validation"){let n=MY(t);return n.success||$R(e,n.error),n.data}function Fm(){let t=new Date().toISOString();return{workspace:{},metadata:{schemaVersion:"v1",executorVersion:"",createdAt:t,updatedAt:t},services:[]}}async function Mm(t,e){let n=`# Skyramp Workspace Configuration
|
|
85
|
-
`,r=hu.dump(e,{lineWidth:120,noRefs:!0,quotingType:'"',forceQuotes:!1});try{await ba.promises.writeFile(t,n+r,"utf8")}catch(s){throw new Error(`Failed to write workspace file to ${t}: ${s.message}`)}}async function
|
|
85
|
+
`,r=hu.dump(e,{lineWidth:120,noRefs:!0,quotingType:'"',forceQuotes:!1});try{await ba.promises.writeFile(t,n+r,"utf8")}catch(s){throw new Error(`Failed to write workspace file to ${t}: ${s.message}`)}}async function _Y(t,e=!0){let n=t?Wr.resolve(t):process.cwd(),r=null,s=null,i=!1;try{await UR("git",["rev-parse","--git-dir"],{cwd:n,timeout:5e3}),i=!0}catch{if(e)throw new Error(`Workspace initialization requires a git repository. Directory '${n}' is not a git repository. We cannot initialize the workspace in a non-git repository.`)}if(i){try{let{stdout:a}=await UR("git",["remote","get-url","origin"],{cwd:n,timeout:5e3});r=a.trim()}catch{}r&&(s=_R(r)??s),s||(s=Wr.basename(n))}return{repoName:s,repoUrl:r}}async function UY(t){let e=Wr.resolve(t);try{await ba.promises.access(e)}catch{throw new Error(`Workspace file not found: ${e}`)}let n=await ba.promises.readFile(e,"utf8"),r;try{r=hu.load(n,{schema:hu.JSON_SCHEMA})}catch(i){throw new Error(`Failed to parse workspace YAML: ${i.message}`)}return{config:fd(r),filePath:e}}var gd=class{workspacePath;skyrampDir;configPath;constructor(e){this.workspacePath=Wr.resolve(e),this.skyrampDir=Wr.join(this.workspacePath,DY),this.configPath=Wr.join(this.skyrampDir,NY)}async exists(){try{return await ba.promises.access(this.configPath),!0}catch{return!1}}getConfigPath(){return this.configPath}getWorkspacePath(){return this.workspacePath}async read(){if(!await this.exists())throw new Error(`Workspace config not found at ${this.configPath}. Initialize the workspace first.`);return(await UY(this.configPath)).config}async initialize(e={}){await ba.promises.mkdir(this.skyrampDir,{recursive:!0});let n=await _Y(this.workspacePath),r=Fm();r.workspace={repoName:e.repoName||n.repoName||void 0,repoUrl:e.repoUrl||n.repoUrl||void 0};let s=fd(r);return await Mm(this.configPath,s),s}async updateMetadata(e){if(!e||typeof e!="object")throw new Error("metadata must be a non-null object");let n=await this.read(),r=n.metadata||Fm().metadata;n.metadata={...r,...e,createdAt:r.createdAt,updatedAt:new Date().toISOString()};let s=fd(n);return await Mm(this.configPath,s),s}async addService(e){if(!e||typeof e!="object")throw new Error("service must be a non-null object");let n=OR.safeParse(e);n.success||$R("Service validation",n.error);let r=n.data,s=await this.read(),i=s.services||[],a=r.repository||"",c=i.findIndex(l=>(l.repository||"")===a&&l.serviceName===r.serviceName);c>=0?i[c]=r:i.push(r),s.services=i,s.metadata||(s.metadata=Fm().metadata),s.metadata.updatedAt=new Date().toISOString();let A=fd(s);return await Mm(this.configPath,A),A}};var Tx=Re(require("fs"));Dt();function LY(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wt={},md={},Ms={},VR;function fu(){if(VR)return Ms;VR=1;function t(a){return typeof a>"u"||a===null}function e(a){return typeof a=="object"&&a!==null}function n(a){return Array.isArray(a)?a:t(a)?[]:[a]}function r(a,c){if(c){let A=Object.keys(c);for(let l=0,p=A.length;l<p;l+=1){let h=A[l];a[h]=c[h]}}return a}function s(a,c){let A="";for(let l=0;l<c;l+=1)A+=a;return A}function i(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}return Ms.isNothing=t,Ms.isObject=e,Ms.toArray=n,Ms.repeat=s,Ms.isNegativeZero=i,Ms.extend=r,Ms}var _m,GR;function gu(){if(GR)return _m;GR=1;function t(n,r){let s="",i=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(s+='in "'+n.mark.name+'" '),s+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!r&&n.mark.snippet&&(s+=`
|
|
86
86
|
|
|
87
|
-
`+n.mark.snippet),i+" "+s):i}function e(n,r){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(r){return this.name+": "+t(this,r)},
|
|
87
|
+
`+n.mark.snippet),i+" "+s):i}function e(n,r){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(r){return this.name+": "+t(this,r)},_m=e,_m}var Um,HR;function PY(){if(HR)return Um;HR=1;let t=fu();function e(s,i,a,c,A){let l="",p="",h=Math.floor(A/2)-1;return c-i>h&&(l=" ... ",i=c-h+l.length),a-c>h&&(p=" ...",a=c+h-p.length),{str:l+s.slice(i,a).replace(/\t/g,"\u2192")+p,pos:c-i+l.length}}function n(s,i){return t.repeat(" ",i-s.length)+s}function r(s,i){if(i=Object.create(i||null),!s.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,c=[0],A=[],l,p=-1;for(;l=a.exec(s.buffer);)A.push(l.index),c.push(l.index+l[0].length),s.position<=l.index&&p<0&&(p=c.length-2);p<0&&(p=c.length-1);let h="",g=Math.min(s.line+i.linesAfter,A.length).toString().length,C=i.maxLength-(i.indent+g+3);for(let v=1;v<=i.linesBefore&&!(p-v<0);v++){let T=e(s.buffer,c[p-v],A[p-v],s.position-(c[p]-c[p-v]),C);h=t.repeat(" ",i.indent)+n((s.line-v+1).toString(),g)+" | "+T.str+`
|
|
88
88
|
`+h}let S=e(s.buffer,c[p],A[p],s.position,C);h+=t.repeat(" ",i.indent)+n((s.line+1).toString(),g)+" | "+S.str+`
|
|
89
89
|
`,h+=t.repeat("-",i.indent+g+3+S.pos)+`^
|
|
90
90
|
`;for(let v=1;v<=i.linesAfter&&!(p+v>=A.length);v++){let T=e(s.buffer,c[p+v],A[p+v],s.position-(c[p]-c[p+v]),C);h+=t.repeat(" ",i.indent)+n((s.line+v+1).toString(),g)+" | "+T.str+`
|
|
91
|
-
`}return h.replace(/\n$/,"")}return
|
|
92
|
-
\r`;function n(a){if(a===null)return!1;let c=0,A=a.length,l=e;for(let p=0;p<A;p++){let h=l.indexOf(a.charAt(p));if(!(h>64)){if(h<0)return!1;c+=6}}return c%8===0}function r(a){let c=a.replace(/[\r\n=]/g,""),A=c.length,l=e,p=0,h=[];for(let C=0;C<A;C++)C%4===0&&C&&(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)),p=p<<6|l.indexOf(c.charAt(C));let g=A%4*6;return g===0?(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)):g===18?(h.push(p>>10&255),h.push(p>>2&255)):g===12&&h.push(p>>4&255),new Uint8Array(h)}function s(a){let c="",A=0,l=a.length,p=e;for(let g=0;g<l;g++)g%3===0&&g&&(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]),A=(A<<8)+a[g];let h=l%3;return h===0?(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]):h===2?(c+=p[A>>10&63],c+=p[A>>4&63],c+=p[A<<2&63],c+=p[64]):h===1&&(c+=p[A>>2&63],c+=p[A<<4&63],c+=p[64],c+=p[64]),c}function i(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return Zm=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:n,construct:r,predicate:i,represent:s}),Zm}var Xm,ox;function kx(){if(ox)return Xm;ox=1;let t=Ft(),e=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(i){if(i===null)return!0;let a={},c=i;for(let A=0,l=c.length;A<l;A+=1){let p=c[A],h=!1;if(n.call(p)!=="[object Object]")return!1;let g;for(g in p)if(e.call(p,g))if(!h)h=!0;else return!1;if(!h||e.call(a,g))return!1;Object.defineProperty(a,g,{value:!0})}return!0}function s(i){return i!==null?i:[]}return Xm=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:s}),Xm}var ey,ax;function vx(){if(ax)return ey;ax=1;let t=Ft(),e=Object.prototype.toString;function n(s){if(s===null)return!0;let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c];if(e.call(l)!=="[object Object]")return!1;let p=Object.keys(l);if(p.length!==1)return!1;a[c]=[p[0],l[p[0]]]}return!0}function r(s){if(s===null)return[];let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c],p=Object.keys(l);a[c]=[p[0],l[p[0]]]}return a}return ey=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:r}),ey}var ty,cx;function Rx(){if(cx)return ty;cx=1;let t=Ft(),e=Object.prototype.hasOwnProperty;function n(s){if(s===null)return!0;let i=s;for(let a in i)if(e.call(i,a)&&i[a]!==null)return!1;return!0}function r(s){return s!==null?s:{}}return ty=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:r}),ty}var ny,ux;function sy(){return ux||(ux=1,ny=wx().extend({implicit:[Qx(),bx()],explicit:[Sx(),kx(),vx(),Rx()]})),ny}var Ax;function OY(){if(Ax)return md;Ax=1;let t=fu(),e=gu(),n=PY(),r=sy(),s=Object.prototype.hasOwnProperty,i=1,a=2,c=3,A=4,l=1,p=2,h=3,g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,C=/[\x85\u2028\u2029]/,S=/[,\[\]{}]/,v=/^(?:!|!!|![0-9A-Za-z-]+!)$/,T=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(o){return Object.prototype.toString.call(o)}function F(o){return o===10||o===13}function Y(o){return o===9||o===32}function $(o){return o===9||o===32||o===10||o===13}function ae(o){return o===44||o===91||o===93||o===123||o===125}function ke(o){if(o>=48&&o<=57)return o-48;let f=o|32;return f>=97&&f<=102?f-97+10:-1}function ve(o){return o===120?2:o===117?4:o===85?8:0}function
|
|
91
|
+
`}return h.replace(/\n$/,"")}return Um=r,Um}var Lm,YR;function Ft(){if(YR)return Lm;YR=1;let t=gu(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];function r(i){let a={};return i!==null&&Object.keys(i).forEach(function(c){i[c].forEach(function(A){a[String(A)]=c})}),a}function s(i,a){if(a=a||{},Object.keys(a).forEach(function(c){if(e.indexOf(c)===-1)throw new t('Unknown option "'+c+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(c){return c},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=r(a.styleAliases||null),n.indexOf(this.kind)===-1)throw new t('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}return Lm=s,Lm}var Pm,qR;function px(){if(qR)return Pm;qR=1;let t=gu(),e=Ft();function n(i,a){let c=[];return i[a].forEach(function(A){let l=c.length;c.forEach(function(p,h){p.tag===A.tag&&p.kind===A.kind&&p.multi===A.multi&&(l=h)}),c[l]=A}),c}function r(){let i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function a(c){c.multi?(i.multi[c.kind].push(c),i.multi.fallback.push(c)):i[c.kind][c.tag]=i.fallback[c.tag]=c}for(let c=0,A=arguments.length;c<A;c+=1)arguments[c].forEach(a);return i}function s(i){return this.extend(i)}return s.prototype.extend=function(a){let c=[],A=[];if(a instanceof e)A.push(a);else if(Array.isArray(a))A=A.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(c=c.concat(a.implicit)),a.explicit&&(A=A.concat(a.explicit));else throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");c.forEach(function(p){if(!(p instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(p.loadKind&&p.loadKind!=="scalar")throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(p.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),A.forEach(function(p){if(!(p instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let l=Object.create(s.prototype);return l.implicit=(this.implicit||[]).concat(c),l.explicit=(this.explicit||[]).concat(A),l.compiledImplicit=n(l,"implicit"),l.compiledExplicit=n(l,"explicit"),l.compiledTypeMap=r(l.compiledImplicit,l.compiledExplicit),l},Pm=s,Pm}var Om,jR;function hx(){if(jR)return Om;jR=1;let t=Ft();return Om=new t("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),Om}var $m,JR;function fx(){if(JR)return $m;JR=1;let t=Ft();return $m=new t("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),$m}var Vm,WR;function gx(){if(WR)return Vm;WR=1;let t=Ft();return Vm=new t("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Vm}var Gm,zR;function mx(){if(zR)return Gm;zR=1;let t=px();return Gm=new t({explicit:[hx(),fx(),gx()]}),Gm}var Hm,KR;function yx(){if(KR)return Hm;KR=1;let t=Ft();function e(s){if(s===null)return!0;let i=s.length;return i===1&&s==="~"||i===4&&(s==="null"||s==="Null"||s==="NULL")}function n(){return null}function r(s){return s===null}return Hm=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:e,construct:n,predicate:r,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Hm}var Ym,ZR;function Ex(){if(ZR)return Ym;ZR=1;let t=Ft();function e(s){if(s===null)return!1;let i=s.length;return i===4&&(s==="true"||s==="True"||s==="TRUE")||i===5&&(s==="false"||s==="False"||s==="FALSE")}function n(s){return s==="true"||s==="True"||s==="TRUE"}function r(s){return Object.prototype.toString.call(s)==="[object Boolean]"}return Ym=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:e,construct:n,predicate:r,represent:{lowercase:function(s){return s?"true":"false"},uppercase:function(s){return s?"TRUE":"FALSE"},camelcase:function(s){return s?"True":"False"}},defaultStyle:"lowercase"}),Ym}var qm,XR;function Cx(){if(XR)return qm;XR=1;let t=fu(),e=Ft();function n(l){return l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102}function r(l){return l>=48&&l<=55}function s(l){return l>=48&&l<=57}function i(l){if(l===null)return!1;let p=l.length,h=0,g=!1;if(!p)return!1;let C=l[h];if((C==="-"||C==="+")&&(C=l[++h]),C==="0"){if(h+1===p)return!0;if(C=l[++h],C==="b"){for(h++;h<p;h++){if(C=l[h],C!=="0"&&C!=="1")return!1;g=!0}return g&&isFinite(a(l))}if(C==="x"){for(h++;h<p;h++){if(!n(l.charCodeAt(h)))return!1;g=!0}return g&&isFinite(a(l))}if(C==="o"){for(h++;h<p;h++){if(!r(l.charCodeAt(h)))return!1;g=!0}return g&&isFinite(a(l))}}for(;h<p;h++){if(!s(l.charCodeAt(h)))return!1;g=!0}return g?isFinite(a(l)):!1}function a(l){let p=l,h=1,g=p[0];if((g==="-"||g==="+")&&(g==="-"&&(h=-1),p=p.slice(1),g=p[0]),p==="0")return 0;if(g==="0"){if(p[1]==="b")return h*parseInt(p.slice(2),2);if(p[1]==="x")return h*parseInt(p.slice(2),16);if(p[1]==="o")return h*parseInt(p.slice(2),8)}return h*parseInt(p,10)}function c(l){return a(l)}function A(l){return Object.prototype.toString.call(l)==="[object Number]"&&l%1===0&&!t.isNegativeZero(l)}return qm=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:i,construct:c,predicate:A,represent:{binary:function(l){return l>=0?"0b"+l.toString(2):"-0b"+l.toString(2).slice(1)},octal:function(l){return l>=0?"0o"+l.toString(8):"-0o"+l.toString(8).slice(1)},decimal:function(l){return l.toString(10)},hexadecimal:function(l){return l>=0?"0x"+l.toString(16).toUpperCase():"-0x"+l.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),qm}var jm,ex;function Ix(){if(ex)return jm;ex=1;let t=fu(),e=Ft(),n=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function s(l){return l===null||!n.test(l)?!1:isFinite(parseFloat(l,10))?!0:r.test(l)}function i(l){let p=l.toLowerCase(),h=p[0]==="-"?-1:1;return"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?h===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:h*parseFloat(p,10)}let a=/^[-+]?[0-9]+e/;function c(l,p){if(isNaN(l))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===l)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===l)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(l))return"-0.0";let h=l.toString(10);return a.test(h)?h.replace("e",".e"):h}function A(l){return Object.prototype.toString.call(l)==="[object Number]"&&(l%1!==0||t.isNegativeZero(l))}return jm=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:s,construct:i,predicate:A,represent:c,defaultStyle:"lowercase"}),jm}var Jm,tx;function Bx(){return tx||(tx=1,Jm=mx().extend({implicit:[yx(),Ex(),Cx(),Ix()]})),Jm}var Wm,nx;function wx(){return nx||(nx=1,Wm=Bx()),Wm}var zm,rx;function Qx(){if(rx)return zm;rx=1;let t=Ft(),e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=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 r(a){return a===null?!1:e.exec(a)!==null||n.exec(a)!==null}function s(a){let c=0,A=null,l=e.exec(a);if(l===null&&(l=n.exec(a)),l===null)throw new Error("Date resolve error");let p=+l[1],h=+l[2]-1,g=+l[3];if(!l[4])return new Date(Date.UTC(p,h,g));let C=+l[4],S=+l[5],v=+l[6];if(l[7]){for(c=l[7].slice(0,3);c.length<3;)c+="0";c=+c}if(l[9]){let x=+l[10],F=+(l[11]||0);A=(x*60+F)*6e4,l[9]==="-"&&(A=-A)}let T=new Date(Date.UTC(p,h,g,C,S,v,c));return A&&T.setTime(T.getTime()-A),T}function i(a){return a.toISOString()}return zm=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:s,instanceOf:Date,represent:i}),zm}var Km,sx;function bx(){if(sx)return Km;sx=1;let t=Ft();function e(n){return n==="<<"||n===null}return Km=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e}),Km}var Zm,ix;function Sx(){if(ix)return Zm;ix=1;let t=Ft(),e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
92
|
+
\r`;function n(a){if(a===null)return!1;let c=0,A=a.length,l=e;for(let p=0;p<A;p++){let h=l.indexOf(a.charAt(p));if(!(h>64)){if(h<0)return!1;c+=6}}return c%8===0}function r(a){let c=a.replace(/[\r\n=]/g,""),A=c.length,l=e,p=0,h=[];for(let C=0;C<A;C++)C%4===0&&C&&(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)),p=p<<6|l.indexOf(c.charAt(C));let g=A%4*6;return g===0?(h.push(p>>16&255),h.push(p>>8&255),h.push(p&255)):g===18?(h.push(p>>10&255),h.push(p>>2&255)):g===12&&h.push(p>>4&255),new Uint8Array(h)}function s(a){let c="",A=0,l=a.length,p=e;for(let g=0;g<l;g++)g%3===0&&g&&(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]),A=(A<<8)+a[g];let h=l%3;return h===0?(c+=p[A>>18&63],c+=p[A>>12&63],c+=p[A>>6&63],c+=p[A&63]):h===2?(c+=p[A>>10&63],c+=p[A>>4&63],c+=p[A<<2&63],c+=p[64]):h===1&&(c+=p[A>>2&63],c+=p[A<<4&63],c+=p[64],c+=p[64]),c}function i(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return Zm=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:n,construct:r,predicate:i,represent:s}),Zm}var Xm,ox;function kx(){if(ox)return Xm;ox=1;let t=Ft(),e=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(i){if(i===null)return!0;let a={},c=i;for(let A=0,l=c.length;A<l;A+=1){let p=c[A],h=!1;if(n.call(p)!=="[object Object]")return!1;let g;for(g in p)if(e.call(p,g))if(!h)h=!0;else return!1;if(!h||e.call(a,g))return!1;Object.defineProperty(a,g,{value:!0})}return!0}function s(i){return i!==null?i:[]}return Xm=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:s}),Xm}var ey,ax;function vx(){if(ax)return ey;ax=1;let t=Ft(),e=Object.prototype.toString;function n(s){if(s===null)return!0;let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c];if(e.call(l)!=="[object Object]")return!1;let p=Object.keys(l);if(p.length!==1)return!1;a[c]=[p[0],l[p[0]]]}return!0}function r(s){if(s===null)return[];let i=s,a=new Array(i.length);for(let c=0,A=i.length;c<A;c+=1){let l=i[c],p=Object.keys(l);a[c]=[p[0],l[p[0]]]}return a}return ey=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:r}),ey}var ty,cx;function Rx(){if(cx)return ty;cx=1;let t=Ft(),e=Object.prototype.hasOwnProperty;function n(s){if(s===null)return!0;let i=s;for(let a in i)if(e.call(i,a)&&i[a]!==null)return!1;return!0}function r(s){return s!==null?s:{}}return ty=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:r}),ty}var ny,ux;function sy(){return ux||(ux=1,ny=wx().extend({implicit:[Qx(),bx()],explicit:[Sx(),kx(),vx(),Rx()]})),ny}var Ax;function OY(){if(Ax)return md;Ax=1;let t=fu(),e=gu(),n=PY(),r=sy(),s=Object.prototype.hasOwnProperty,i=1,a=2,c=3,A=4,l=1,p=2,h=3,g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,C=/[\x85\u2028\u2029]/,S=/[,\[\]{}]/,v=/^(?:!|!!|![0-9A-Za-z-]+!)$/,T=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(o){return Object.prototype.toString.call(o)}function F(o){return o===10||o===13}function Y(o){return o===9||o===32}function $(o){return o===9||o===32||o===10||o===13}function ae(o){return o===44||o===91||o===93||o===123||o===125}function ke(o){if(o>=48&&o<=57)return o-48;let f=o|32;return f>=97&&f<=102?f-97+10:-1}function ve(o){return o===120?2:o===117?4:o===85?8:0}function Ue(o){return o>=48&&o<=57?o-48:-1}function We(o){switch(o){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
|
|
93
93
|
`;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""}}function Lt(o){return o<=65535?String.fromCharCode(o):String.fromCharCode((o-65536>>10)+55296,(o-65536&1023)+56320)}function et(o,f,B){f==="__proto__"?Object.defineProperty(o,f,{configurable:!0,enumerable:!0,writable:!0,value:B}):o[f]=B}let Ge=new Array(256),ot=new Array(256);for(let o=0;o<256;o++)Ge[o]=We(o)?1:0,ot[o]=We(o);function fe(o,f){this.input=o,this.filename=f.filename||null,this.schema=f.schema||r,this.onWarning=f.onWarning||null,this.legacy=f.legacy||!1,this.json=f.json||!1,this.listener=f.listener||null,this.maxDepth=typeof f.maxDepth=="number"?f.maxDepth:100,this.maxTotalMergeKeys=typeof f.maxTotalMergeKeys=="number"?f.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=o.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function ut(o,f){let B={name:o.filename,buffer:o.input.slice(0,-1),position:o.position,line:o.line,column:o.position-o.lineStart};return B.snippet=n(B),new e(f,B)}function D(o,f){throw ut(o,f)}function Zt(o,f){o.onWarning&&o.onWarning.call(null,ut(o,f))}function st(o,f,B){let w=o.anchorMapTransactions;if(w.length!==0){let E=w[w.length-1];s.call(E,f)||(E[f]={existed:s.call(o.anchorMap,f),value:o.anchorMap[f]})}o.anchorMap[f]=B}function Js(o){o.anchorMapTransactions.push(Object.create(null))}function St(o){let f=o.anchorMapTransactions.pop(),B=o.anchorMapTransactions;if(B.length===0)return;let w=B[B.length-1],E=Object.keys(f);for(let d=0,m=E.length;d<m;d+=1){let y=E[d];s.call(w,y)||(w[y]=f[y])}}function Ws(o){let f=o.anchorMapTransactions.pop(),B=Object.keys(f);for(let w=B.length-1;w>=0;w-=1){let E=f[B[w]];E.existed?o.anchorMap[B[w]]=E.value:delete o.anchorMap[B[w]]}}function Dn(o){return{position:o.position,line:o.line,lineStart:o.lineStart,lineIndent:o.lineIndent,firstTabInLine:o.firstTabInLine,tag:o.tag,anchor:o.anchor,kind:o.kind,result:o.result}}function Xt(o,f){o.position=f.position,o.line=f.line,o.lineStart=f.lineStart,o.lineIndent=f.lineIndent,o.firstTabInLine=f.firstTabInLine,o.tag=f.tag,o.anchor=f.anchor,o.kind=f.kind,o.result=f.result}let Br={YAML:function(f,B,w){f.version!==null&&D(f,"duplication of %YAML directive"),w.length!==1&&D(f,"YAML directive accepts exactly one argument");let E=/^([0-9]+)\.([0-9]+)$/.exec(w[0]);E===null&&D(f,"ill-formed argument of the YAML directive");let d=parseInt(E[1],10),m=parseInt(E[2],10);d!==1&&D(f,"unacceptable YAML version of the document"),f.version=w[0],f.checkLineBreaks=m<2,m!==1&&m!==2&&Zt(f,"unsupported YAML version of the document")},TAG:function(f,B,w){let E;w.length!==2&&D(f,"TAG directive accepts exactly two arguments");let d=w[0];E=w[1],v.test(d)||D(f,"ill-formed tag handle (first argument) of the TAG directive"),s.call(f.tagMap,d)&&D(f,'there is a previously declared suffix for "'+d+'" tag handle'),T.test(E)||D(f,"ill-formed tag prefix (second argument) of the TAG directive");try{E=decodeURIComponent(E)}catch{D(f,"tag prefix is malformed: "+E)}f.tagMap[d]=E}};function Le(o,f,B,w){if(f<B){let E=o.input.slice(f,B);if(w)for(let d=0,m=E.length;d<m;d+=1){let y=E.charCodeAt(d);y===9||y>=32&&y<=1114111||D(o,"expected valid JSON character")}else g.test(E)&&D(o,"the stream contains non-printable characters");o.result+=E}}function At(o){o.totalMergeKeys++,o.maxTotalMergeKeys!==-1&&o.totalMergeKeys>o.maxTotalMergeKeys&&D(o,"merge keys exceeded maxTotalMergeKeys ("+o.maxTotalMergeKeys+")")}function Nn(o,f,B,w){t.isObject(B)||D(o,"cannot merge mappings; the provided source object is unacceptable"),At(o);let E=Object.keys(B);for(let d=0,m=E.length;d<m;d+=1){let y=E[d];At(o),s.call(f,y)||(et(f,y,B[y]),w[y]=!0)}}function it(o,f,B,w,E,d,m,y,Q){if(Array.isArray(E)){E=Array.prototype.slice.call(E);for(let b=0,k=E.length;b<k;b+=1)Array.isArray(E[b])&&D(o,"nested arrays are not supported inside keys"),typeof E=="object"&&x(E[b])==="[object Object]"&&(E[b]="[object Object]")}if(typeof E=="object"&&x(E)==="[object Object]"&&(E="[object Object]"),E=String(E),f===null&&(f={}),w==="tag:yaml.org,2002:merge")if(Array.isArray(d)){d.length>100&&D(o,"abnormal merge sequence size");for(let b=0,k=d.length;b<k;b+=1)Nn(o,f,d[b],B)}else Nn(o,f,d,B);else!o.json&&!s.call(B,E)&&s.call(f,E)&&(o.line=m||o.line,o.lineStart=y||o.lineStart,o.position=Q||o.position,D(o,"duplicated mapping key")),et(f,E,d),delete B[E];return f}function Fn(o){let f=o.input.charCodeAt(o.position);f===10?o.position++:f===13?(o.position++,o.input.charCodeAt(o.position)===10&&o.position++):D(o,"a line break is expected"),o.line+=1,o.lineStart=o.position,o.firstTabInLine=-1}function pe(o,f,B){let w=0,E=o.input.charCodeAt(o.position);for(;E!==0;){for(;Y(E);)E===9&&o.firstTabInLine===-1&&(o.firstTabInLine=o.position),E=o.input.charCodeAt(++o.position);if(f&&E===35)do E=o.input.charCodeAt(++o.position);while(E!==10&&E!==13&&E!==0);if(F(E))for(Fn(o),E=o.input.charCodeAt(o.position),w++,o.lineIndent=0;E===32;)o.lineIndent++,E=o.input.charCodeAt(++o.position);else break}return B!==-1&&w!==0&&o.lineIndent<B&&Zt(o,"deficient indentation"),w}function ze(o){let f=o.position,B=o.input.charCodeAt(f);return!!((B===45||B===46)&&B===o.input.charCodeAt(f+1)&&B===o.input.charCodeAt(f+2)&&(f+=3,B=o.input.charCodeAt(f),B===0||$(B)))}function en(o,f){f===1?o.result+=" ":f>1&&(o.result+=t.repeat(`
|
|
94
|
-
`,f-1))}function wr(o,f,B){let w,E,d,m,y,Q,b=o.kind,k=o.result,I=o.input.charCodeAt(o.position);if($(I)||ae(I)||I===35||I===38||I===42||I===33||I===124||I===62||I===39||I===34||I===37||I===64||I===96)return!1;if(I===63||I===45){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))return!1}for(o.kind="scalar",o.result="",w=E=o.position,d=!1;I!==0;){if(I===58){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))break}else if(I===35){let R=o.input.charCodeAt(o.position-1);if($(R))break}else{if(o.position===o.lineStart&&ze(o)||B&&ae(I))break;if(F(I))if(m=o.line,y=o.lineStart,Q=o.lineIndent,pe(o,!1,-1),o.lineIndent>=f){d=!0,I=o.input.charCodeAt(o.position);continue}else{o.position=E,o.line=m,o.lineStart=y,o.lineIndent=Q;break}}d&&(Le(o,w,E,!1),en(o,o.line-m),w=E=o.position,d=!1),Y(I)||(E=o.position+1),I=o.input.charCodeAt(++o.position)}return Le(o,w,E,!1),o.result?!0:(o.kind=b,o.result=k,!1)}function Mn(o,f){let B,w,E=o.input.charCodeAt(o.position);if(E!==39)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(E=o.input.charCodeAt(o.position))!==0;)if(E===39)if(Le(o,B,o.position,!0),E=o.input.charCodeAt(++o.position),E===39)B=o.position,o.position++,w=o.position;else return!0;else F(E)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a single quoted scalar"):(o.position++,Y(E)||(w=o.position));D(o,"unexpected end of the stream within a single quoted scalar")}function Qr(o,f){let B,w,E,d=o.input.charCodeAt(o.position);if(d!==34)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(d=o.input.charCodeAt(o.position))!==0;){if(d===34)return Le(o,B,o.position,!0),o.position++,!0;if(d===92){if(Le(o,B,o.position,!0),d=o.input.charCodeAt(++o.position),F(d))pe(o,!1,f);else if(d<256&&Ge[d])o.result+=ot[d],o.position++;else if((E=ve(d))>0){let m=E,y=0;for(;m>0;m--)d=o.input.charCodeAt(++o.position),(E=ke(d))>=0?y=(y<<4)+E:D(o,"expected hexadecimal character");o.result+=Lt(y),o.position++}else D(o,"unknown escape sequence");B=w=o.position}else F(d)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a double quoted scalar"):(o.position++,Y(d)||(w=o.position))}D(o,"unexpected end of the stream within a double quoted scalar")}function br(o,f){let B=!0,w,E,d,m=o.tag,y,Q=o.anchor,b,k,I,R,N=Object.create(null),M,
|
|
94
|
+
`,f-1))}function wr(o,f,B){let w,E,d,m,y,Q,b=o.kind,k=o.result,I=o.input.charCodeAt(o.position);if($(I)||ae(I)||I===35||I===38||I===42||I===33||I===124||I===62||I===39||I===34||I===37||I===64||I===96)return!1;if(I===63||I===45){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))return!1}for(o.kind="scalar",o.result="",w=E=o.position,d=!1;I!==0;){if(I===58){let R=o.input.charCodeAt(o.position+1);if($(R)||B&&ae(R))break}else if(I===35){let R=o.input.charCodeAt(o.position-1);if($(R))break}else{if(o.position===o.lineStart&&ze(o)||B&&ae(I))break;if(F(I))if(m=o.line,y=o.lineStart,Q=o.lineIndent,pe(o,!1,-1),o.lineIndent>=f){d=!0,I=o.input.charCodeAt(o.position);continue}else{o.position=E,o.line=m,o.lineStart=y,o.lineIndent=Q;break}}d&&(Le(o,w,E,!1),en(o,o.line-m),w=E=o.position,d=!1),Y(I)||(E=o.position+1),I=o.input.charCodeAt(++o.position)}return Le(o,w,E,!1),o.result?!0:(o.kind=b,o.result=k,!1)}function Mn(o,f){let B,w,E=o.input.charCodeAt(o.position);if(E!==39)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(E=o.input.charCodeAt(o.position))!==0;)if(E===39)if(Le(o,B,o.position,!0),E=o.input.charCodeAt(++o.position),E===39)B=o.position,o.position++,w=o.position;else return!0;else F(E)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a single quoted scalar"):(o.position++,Y(E)||(w=o.position));D(o,"unexpected end of the stream within a single quoted scalar")}function Qr(o,f){let B,w,E,d=o.input.charCodeAt(o.position);if(d!==34)return!1;for(o.kind="scalar",o.result="",o.position++,B=w=o.position;(d=o.input.charCodeAt(o.position))!==0;){if(d===34)return Le(o,B,o.position,!0),o.position++,!0;if(d===92){if(Le(o,B,o.position,!0),d=o.input.charCodeAt(++o.position),F(d))pe(o,!1,f);else if(d<256&&Ge[d])o.result+=ot[d],o.position++;else if((E=ve(d))>0){let m=E,y=0;for(;m>0;m--)d=o.input.charCodeAt(++o.position),(E=ke(d))>=0?y=(y<<4)+E:D(o,"expected hexadecimal character");o.result+=Lt(y),o.position++}else D(o,"unknown escape sequence");B=w=o.position}else F(d)?(Le(o,B,w,!0),en(o,pe(o,!1,f)),B=w=o.position):o.position===o.lineStart&&ze(o)?D(o,"unexpected end of the document within a double quoted scalar"):(o.position++,Y(d)||(w=o.position))}D(o,"unexpected end of the stream within a double quoted scalar")}function br(o,f){let B=!0,w,E,d,m=o.tag,y,Q=o.anchor,b,k,I,R,N=Object.create(null),M,_,G,q=o.input.charCodeAt(o.position);if(q===91)b=93,R=!1,y=[];else if(q===123)b=125,R=!0,y={};else return!1;for(o.anchor!==null&&st(o,o.anchor,y),q=o.input.charCodeAt(++o.position);q!==0;){if(pe(o,!0,f),q=o.input.charCodeAt(o.position),q===b)return o.position++,o.tag=m,o.anchor=Q,o.kind=R?"mapping":"sequence",o.result=y,!0;if(B?q===44&&D(o,"expected the node content, but found ','"):D(o,"missed comma between flow collection entries"),_=M=G=null,k=I=!1,q===63){let pt=o.input.charCodeAt(o.position+1);$(pt)&&(k=I=!0,o.position++,pe(o,!0,f))}w=o.line,E=o.lineStart,d=o.position,dt(o,f,i,!1,!0),_=o.tag,M=o.result,pe(o,!0,f),q=o.input.charCodeAt(o.position),(I||o.line===w)&&q===58&&(k=!0,q=o.input.charCodeAt(++o.position),pe(o,!0,f),dt(o,f,i,!1,!0),G=o.result),R?it(o,y,N,_,M,G,w,E,d):k?y.push(it(o,null,N,_,M,G,w,E,d)):y.push(M),pe(o,!0,f),q=o.input.charCodeAt(o.position),q===44?(B=!0,q=o.input.charCodeAt(++o.position)):B=!1}D(o,"unexpected end of the stream within a flow collection")}function lt(o,f){let B,w=l,E=!1,d=!1,m=f,y=0,Q=!1,b,k=o.input.charCodeAt(o.position);if(k===124)B=!1;else if(k===62)B=!0;else return!1;for(o.kind="scalar",o.result="";k!==0;)if(k=o.input.charCodeAt(++o.position),k===43||k===45)l===w?w=k===43?h:p:D(o,"repeat of a chomping mode identifier");else if((b=Ue(k))>=0)b===0?D(o,"bad explicit indentation width of a block scalar; it cannot be less than one"):d?D(o,"repeat of an indentation width identifier"):(m=f+b-1,d=!0);else break;if(Y(k)){do k=o.input.charCodeAt(++o.position);while(Y(k));if(k===35)do k=o.input.charCodeAt(++o.position);while(!F(k)&&k!==0)}for(;k!==0;){for(Fn(o),o.lineIndent=0,k=o.input.charCodeAt(o.position);(!d||o.lineIndent<m)&&k===32;)o.lineIndent++,k=o.input.charCodeAt(++o.position);if(!d&&o.lineIndent>m&&(m=o.lineIndent),F(k)){y++;continue}if(!d&&m===0&&D(o,"missing indentation for block scalar"),o.lineIndent<m){w===h?o.result+=t.repeat(`
|
|
95
95
|
`,E?1+y:y):w===l&&E&&(o.result+=`
|
|
96
96
|
`);break}B?Y(k)?(Q=!0,o.result+=t.repeat(`
|
|
97
97
|
`,E?1+y:y)):Q?(Q=!1,o.result+=t.repeat(`
|
|
98
98
|
`,y+1)):y===0?E&&(o.result+=" "):o.result+=t.repeat(`
|
|
99
99
|
`,y):o.result+=t.repeat(`
|
|
100
|
-
`,E?1+y:y),E=!0,d=!0,y=0;let I=o.position;for(;!F(k)&&k!==0;)k=o.input.charCodeAt(++o.position);Le(o,I,o.position,!1)}return!0}function Sr(o,f){let B=o.tag,w=o.anchor,E=[],d=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,E);let m=o.input.charCodeAt(o.position);for(;m!==0&&(o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation")),m===45);){let y=o.input.charCodeAt(o.position+1);if(!$(y))break;if(d=!0,o.position++,pe(o,!0,-1)&&o.lineIndent<=f){E.push(null),m=o.input.charCodeAt(o.position);continue}let Q=o.line;if(dt(o,f,c,!1,!0),E.push(o.result),pe(o,!0,-1),m=o.input.charCodeAt(o.position),(o.line===Q||o.lineIndent>f)&&m!==0)D(o,"bad indentation of a sequence entry");else if(o.lineIndent<f)break}return d?(o.tag=B,o.anchor=w,o.kind="sequence",o.result=E,!0):!1}function kr(o,f,B){let w,E,d,m,y=o.tag,Q=o.anchor,b={},k=Object.create(null),I=null,R=null,N=null,M=!1,
|
|
101
|
-
`),o.charCodeAt(0)===65279&&(o=o.slice(1)));let B=new fe(o,f),w=o.indexOf("\0");for(w!==-1&&(B.position=w,D(B,"null byte is not allowed in input")),B.input+="\0";B.input.charCodeAt(B.position)===32;)B.lineIndent+=1,B.position+=1;for(;B.position<B.length-1;)Ks(B);return B.documents}function Zs(o,f,B){f!==null&&typeof f=="object"&&typeof B>"u"&&(B=f,f=null);let w=
|
|
100
|
+
`,E?1+y:y),E=!0,d=!0,y=0;let I=o.position;for(;!F(k)&&k!==0;)k=o.input.charCodeAt(++o.position);Le(o,I,o.position,!1)}return!0}function Sr(o,f){let B=o.tag,w=o.anchor,E=[],d=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,E);let m=o.input.charCodeAt(o.position);for(;m!==0&&(o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation")),m===45);){let y=o.input.charCodeAt(o.position+1);if(!$(y))break;if(d=!0,o.position++,pe(o,!0,-1)&&o.lineIndent<=f){E.push(null),m=o.input.charCodeAt(o.position);continue}let Q=o.line;if(dt(o,f,c,!1,!0),E.push(o.result),pe(o,!0,-1),m=o.input.charCodeAt(o.position),(o.line===Q||o.lineIndent>f)&&m!==0)D(o,"bad indentation of a sequence entry");else if(o.lineIndent<f)break}return d?(o.tag=B,o.anchor=w,o.kind="sequence",o.result=E,!0):!1}function kr(o,f,B){let w,E,d,m,y=o.tag,Q=o.anchor,b={},k=Object.create(null),I=null,R=null,N=null,M=!1,_=!1;if(o.firstTabInLine!==-1)return!1;o.anchor!==null&&st(o,o.anchor,b);let G=o.input.charCodeAt(o.position);for(;G!==0;){!M&&o.firstTabInLine!==-1&&(o.position=o.firstTabInLine,D(o,"tab characters must not be used in indentation"));let q=o.input.charCodeAt(o.position+1),pt=o.line;if((G===63||G===58)&&$(q))G===63?(M&&(it(o,b,k,I,R,null,E,d,m),I=R=N=null),_=!0,M=!0,w=!0):M?(M=!1,w=!0):D(o,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),o.position+=1,G=q;else{if(E=o.line,d=o.lineStart,m=o.position,!dt(o,B,a,!1,!0))break;if(o.line===pt){for(G=o.input.charCodeAt(o.position);Y(G);)G=o.input.charCodeAt(++o.position);if(G===58)G=o.input.charCodeAt(++o.position),$(G)||D(o,"a whitespace character is expected after the key-value separator within a block mapping"),M&&(it(o,b,k,I,R,null,E,d,m),I=R=N=null),_=!0,M=!1,w=!1,I=o.tag,R=o.result;else if(_)D(o,"can not read an implicit mapping pair; a colon is missed");else return o.tag=y,o.anchor=Q,!0}else if(_)D(o,"can not read a block mapping entry; a multiline key may not be an implicit key");else return o.tag=y,o.anchor=Q,!0}if((o.line===pt||o.lineIndent>f)&&(M&&(E=o.line,d=o.lineStart,m=o.position),dt(o,f,A,!0,w)&&(M?R=o.result:N=o.result),M||(it(o,b,k,I,R,N,E,d,m),I=R=N=null),pe(o,!0,-1),G=o.input.charCodeAt(o.position)),(o.line===pt||o.lineIndent>f)&&G!==0)D(o,"bad indentation of a mapping entry");else if(o.lineIndent<f)break}return M&&it(o,b,k,I,R,null,E,d,m),_&&(o.tag=y,o.anchor=Q,o.kind="mapping",o.result=b),_}function vr(o){let f=!1,B=!1,w,E,d=o.input.charCodeAt(o.position);if(d!==33)return!1;o.tag!==null&&D(o,"duplication of a tag property"),d=o.input.charCodeAt(++o.position),d===60?(f=!0,d=o.input.charCodeAt(++o.position)):d===33?(B=!0,w="!!",d=o.input.charCodeAt(++o.position)):w="!";let m=o.position;if(f){do d=o.input.charCodeAt(++o.position);while(d!==0&&d!==62);o.position<o.length?(E=o.input.slice(m,o.position),d=o.input.charCodeAt(++o.position)):D(o,"unexpected end of the stream within a verbatim tag")}else{for(;d!==0&&!$(d);)d===33&&(B?D(o,"tag suffix cannot contain exclamation marks"):(w=o.input.slice(m-1,o.position+1),v.test(w)||D(o,"named tag handle cannot contain such characters"),B=!0,m=o.position+1)),d=o.input.charCodeAt(++o.position);E=o.input.slice(m,o.position),S.test(E)&&D(o,"tag suffix cannot contain flow indicator characters")}E&&!T.test(E)&&D(o,"tag name cannot contain such characters: "+E);try{E=decodeURIComponent(E)}catch{D(o,"tag name is malformed: "+E)}return f?o.tag=E:s.call(o.tagMap,w)?o.tag=o.tagMap[w]+E:w==="!"?o.tag="!"+E:w==="!!"?o.tag="tag:yaml.org,2002:"+E:D(o,'undeclared tag handle "'+w+'"'),!0}function Rr(o){let f=o.input.charCodeAt(o.position);if(f!==38)return!1;o.anchor!==null&&D(o,"duplication of an anchor property"),f=o.input.charCodeAt(++o.position);let B=o.position;for(;f!==0&&!$(f)&&!ae(f);)f=o.input.charCodeAt(++o.position);return o.position===B&&D(o,"name of an anchor node must contain at least one character"),o.anchor=o.input.slice(B,o.position),!0}function zs(o){let f=o.input.charCodeAt(o.position);if(f!==42)return!1;f=o.input.charCodeAt(++o.position);let B=o.position;for(;f!==0&&!$(f)&&!ae(f);)f=o.input.charCodeAt(++o.position);o.position===B&&D(o,"name of an alias node must contain at least one character");let w=o.input.slice(B,o.position);return s.call(o.anchorMap,w)||D(o,'unidentified alias "'+w+'"'),o.result=o.anchorMap[w],pe(o,!0,-1),!0}function xr(o,f,B,w){let E=Dn(o);return Js(o),Xt(o,f),o.tag=null,o.anchor=null,o.kind=null,o.result=null,kr(o,B,w)&&o.kind==="mapping"?(St(o),!0):(Ws(o),Xt(o,E),!1)}function dt(o,f,B,w,E){let d,m,y=1,Q=!1,b=!1,k=null,I,R,N;o.depth>=o.maxDepth&&D(o,"nesting exceeded maxDepth ("+o.maxDepth+")"),o.depth+=1,o.listener!==null&&o.listener("open",o),o.tag=null,o.anchor=null,o.kind=null,o.result=null;let M=d=m=A===B||c===B;if(w&&pe(o,!0,-1)&&(Q=!0,o.lineIndent>f?y=1:o.lineIndent===f?y=0:o.lineIndent<f&&(y=-1)),y===1)for(;;){let _=o.input.charCodeAt(o.position),G=Dn(o);if(Q&&(_===33&&o.tag!==null||_===38&&o.anchor!==null)||!vr(o)&&!Rr(o))break;k===null&&(k=G),pe(o,!0,-1)?(Q=!0,m=M,o.lineIndent>f?y=1:o.lineIndent===f?y=0:o.lineIndent<f&&(y=-1)):m=!1}if(m&&(m=Q||E),y===1||A===B)if(i===B||a===B?R=f:R=f+1,N=o.position-o.lineStart,y===1)if(m&&(Sr(o,N)||kr(o,N,R))||br(o,R))b=!0;else{let _=o.input.charCodeAt(o.position);k!==null&&M&&!m&&_!==124&&_!==62&&xr(o,k,k.position-k.lineStart,R)||d&<(o,R)||Mn(o,R)||Qr(o,R)?b=!0:zs(o)?(b=!0,(o.tag!==null||o.anchor!==null)&&D(o,"alias node should not have any properties")):wr(o,R,i===B)&&(b=!0,o.tag===null&&(o.tag="?")),o.anchor!==null&&st(o,o.anchor,o.result)}else y===0&&(b=m&&Sr(o,N));if(o.tag===null)o.anchor!==null&&st(o,o.anchor,o.result);else if(o.tag==="?"){o.result!==null&&o.kind!=="scalar"&&D(o,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+o.kind+'"');for(let _=0,G=o.implicitTypes.length;_<G;_+=1)if(I=o.implicitTypes[_],I.resolve(o.result)){o.result=I.construct(o.result),o.tag=I.tag,o.anchor!==null&&st(o,o.anchor,o.result);break}}else if(o.tag!=="!"){if(s.call(o.typeMap[o.kind||"fallback"],o.tag))I=o.typeMap[o.kind||"fallback"][o.tag];else{I=null;let _=o.typeMap.multi[o.kind||"fallback"];for(let G=0,q=_.length;G<q;G+=1)if(o.tag.slice(0,_[G].tag.length)===_[G].tag){I=_[G];break}}I||D(o,"unknown tag !<"+o.tag+">"),o.result!==null&&I.kind!==o.kind&&D(o,"unacceptable node kind for !<"+o.tag+'> tag; it should be "'+I.kind+'", not "'+o.kind+'"'),I.resolve(o.result,o.tag)?(o.result=I.construct(o.result,o.tag),o.anchor!==null&&st(o,o.anchor,o.result)):D(o,"cannot resolve a node with !<"+o.tag+"> explicit tag")}return o.listener!==null&&o.listener("close",o),o.depth-=1,o.tag!==null||o.anchor!==null||b}function Ks(o){let f=o.position,B=!1,w;for(o.version=null,o.checkLineBreaks=o.legacy,o.tagMap=Object.create(null),o.anchorMap=Object.create(null);(w=o.input.charCodeAt(o.position))!==0&&(pe(o,!0,-1),w=o.input.charCodeAt(o.position),!(o.lineIndent>0||w!==37));){B=!0,w=o.input.charCodeAt(++o.position);let E=o.position;for(;w!==0&&!$(w);)w=o.input.charCodeAt(++o.position);let d=o.input.slice(E,o.position),m=[];for(d.length<1&&D(o,"directive name must not be less than one character in length");w!==0;){for(;Y(w);)w=o.input.charCodeAt(++o.position);if(w===35){do w=o.input.charCodeAt(++o.position);while(w!==0&&!F(w));break}if(F(w))break;for(E=o.position;w!==0&&!$(w);)w=o.input.charCodeAt(++o.position);m.push(o.input.slice(E,o.position))}w!==0&&Fn(o),s.call(Br,d)?Br[d](o,d,m):Zt(o,'unknown document directive "'+d+'"')}if(pe(o,!0,-1),o.lineIndent===0&&o.input.charCodeAt(o.position)===45&&o.input.charCodeAt(o.position+1)===45&&o.input.charCodeAt(o.position+2)===45?(o.position+=3,pe(o,!0,-1)):B&&D(o,"directives end mark is expected"),dt(o,o.lineIndent-1,A,!1,!0),pe(o,!0,-1),o.checkLineBreaks&&C.test(o.input.slice(f,o.position))&&Zt(o,"non-ASCII line breaks are interpreted as content"),o.documents.push(o.result),o.position===o.lineStart&&ze(o)){o.input.charCodeAt(o.position)===46&&(o.position+=3,pe(o,!0,-1));return}o.position<o.length-1&&D(o,"end of the stream or a document separator is expected")}function _n(o,f){o=String(o),f=f||{},o.length!==0&&(o.charCodeAt(o.length-1)!==10&&o.charCodeAt(o.length-1)!==13&&(o+=`
|
|
101
|
+
`),o.charCodeAt(0)===65279&&(o=o.slice(1)));let B=new fe(o,f),w=o.indexOf("\0");for(w!==-1&&(B.position=w,D(B,"null byte is not allowed in input")),B.input+="\0";B.input.charCodeAt(B.position)===32;)B.lineIndent+=1,B.position+=1;for(;B.position<B.length-1;)Ks(B);return B.documents}function Zs(o,f,B){f!==null&&typeof f=="object"&&typeof B>"u"&&(B=f,f=null);let w=_n(o,B);if(typeof f!="function")return w;for(let E=0,d=w.length;E<d;E+=1)f(w[E])}function Xs(o,f){let B=_n(o,f);if(B.length!==0){if(B.length===1)return B[0];throw new e("expected a single document in the stream, but found more")}}return md.loadAll=Zs,md.load=Xs,md}var ry={},lx;function $Y(){if(lx)return ry;lx=1;let t=fu(),e=gu(),n=sy(),r=Object.prototype.toString,s=Object.prototype.hasOwnProperty,i=65279,a=9,c=10,A=13,l=32,p=33,h=34,g=35,C=37,S=38,v=39,T=42,x=44,F=45,Y=58,$=61,ae=62,ke=63,ve=64,Ue=91,We=93,Lt=96,et=123,Ge=124,ot=125,fe={};fe[0]="\\0",fe[7]="\\a",fe[8]="\\b",fe[9]="\\t",fe[10]="\\n",fe[11]="\\v",fe[12]="\\f",fe[13]="\\r",fe[27]="\\e",fe[34]='\\"',fe[92]="\\\\",fe[133]="\\N",fe[160]="\\_",fe[8232]="\\L",fe[8233]="\\P";let ut=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],D=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Zt(d,m){if(m===null)return{};let y={},Q=Object.keys(m);for(let b=0,k=Q.length;b<k;b+=1){let I=Q[b],R=String(m[I]);I.slice(0,2)==="!!"&&(I="tag:yaml.org,2002:"+I.slice(2));let N=d.compiledTypeMap.fallback[I];N&&s.call(N.styleAliases,R)&&(R=N.styleAliases[R]),y[I]=R}return y}function st(d){let m,y,Q=d.toString(16).toUpperCase();if(d<=255)m="x",y=2;else if(d<=65535)m="u",y=4;else if(d<=4294967295)m="U",y=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+m+t.repeat("0",y-Q.length)+Q}let Js=1,St=2;function Ws(d){this.schema=d.schema||n,this.indent=Math.max(1,d.indent||2),this.noArrayIndent=d.noArrayIndent||!1,this.skipInvalid=d.skipInvalid||!1,this.flowLevel=t.isNothing(d.flowLevel)?-1:d.flowLevel,this.styleMap=Zt(this.schema,d.styles||null),this.sortKeys=d.sortKeys||!1,this.lineWidth=d.lineWidth||80,this.noRefs=d.noRefs||!1,this.noCompatMode=d.noCompatMode||!1,this.condenseFlow=d.condenseFlow||!1,this.quotingType=d.quotingType==='"'?St:Js,this.forceQuotes=d.forceQuotes||!1,this.replacer=typeof d.replacer=="function"?d.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Dn(d,m){let y=t.repeat(" ",m),Q=0,b="",k=d.length;for(;Q<k;){let I,R=d.indexOf(`
|
|
102
102
|
`,Q);R===-1?(I=d.slice(Q),Q=k):(I=d.slice(Q,R+1),Q=R+1),I.length&&I!==`
|
|
103
103
|
`&&(b+=y),b+=I}return b}function Xt(d,m){return`
|
|
104
|
-
`+t.repeat(" ",d.indent*m)}function Br(d,m){for(let y=0,Q=d.implicitTypes.length;y<Q;y+=1)if(d.implicitTypes[y].resolve(m))return!0;return!1}function Le(d){return d===l||d===a}function At(d){return d>=32&&d<=126||d>=161&&d<=55295&&d!==8232&&d!==8233||d>=57344&&d<=65533&&d!==i||d>=65536&&d<=1114111}function Nn(d){return At(d)&&d!==i&&d!==A&&d!==c}function it(d,m,y){let Q=Nn(d),b=Q&&!Le(d);return(y?Q:Q&&d!==x&&d!==
|
|
104
|
+
`+t.repeat(" ",d.indent*m)}function Br(d,m){for(let y=0,Q=d.implicitTypes.length;y<Q;y+=1)if(d.implicitTypes[y].resolve(m))return!0;return!1}function Le(d){return d===l||d===a}function At(d){return d>=32&&d<=126||d>=161&&d<=55295&&d!==8232&&d!==8233||d>=57344&&d<=65533&&d!==i||d>=65536&&d<=1114111}function Nn(d){return At(d)&&d!==i&&d!==A&&d!==c}function it(d,m,y){let Q=Nn(d),b=Q&&!Le(d);return(y?Q:Q&&d!==x&&d!==Ue&&d!==We&&d!==et&&d!==ot)&&d!==g&&!(m===Y&&!b)||Nn(m)&&!Le(m)&&d===g||m===Y&&b}function Fn(d){return At(d)&&d!==i&&!Le(d)&&d!==F&&d!==ke&&d!==Y&&d!==x&&d!==Ue&&d!==We&&d!==et&&d!==ot&&d!==g&&d!==S&&d!==T&&d!==p&&d!==Ge&&d!==$&&d!==ae&&d!==v&&d!==h&&d!==C&&d!==ve&&d!==Lt}function pe(d){return!Le(d)&&d!==Y}function ze(d,m){let y=d.charCodeAt(m),Q;return y>=55296&&y<=56319&&m+1<d.length&&(Q=d.charCodeAt(m+1),Q>=56320&&Q<=57343)?(y-55296)*1024+Q-56320+65536:y}function en(d){return/^\n* /.test(d)}let wr=1,Mn=2,Qr=3,br=4,lt=5;function Sr(d,m,y,Q,b,k,I,R){let N,M=0,_=null,G=!1,q=!1,pt=Q!==-1,Un=-1,Ln=Fn(ze(d,0))&&pe(ze(d,d.length-1));if(m||I)for(N=0;N<d.length;M>=65536?N+=2:N++){if(M=ze(d,N),!At(M))return lt;Ln=Ln&&it(M,_,R),_=M}else{for(N=0;N<d.length;M>=65536?N+=2:N++){if(M=ze(d,N),M===c)G=!0,pt&&(q=q||N-Un-1>Q&&d[Un+1]!==" ",Un=N);else if(!At(M))return lt;Ln=Ln&&it(M,_,R),_=M}q=q||pt&&N-Un-1>Q&&d[Un+1]!==" "}return!G&&!q?Ln&&!I&&!b(d)?wr:k===St?lt:Mn:y>9&&en(d)?lt:I?k===St?lt:Mn:q?br:Qr}function kr(d,m,y,Q,b){d.dump=(function(){if(m.length===0)return d.quotingType===St?'""':"''";if(!d.noCompatMode&&(ut.indexOf(m)!==-1||D.test(m)))return d.quotingType===St?'"'+m+'"':"'"+m+"'";let k=d.indent*Math.max(1,y),I=d.lineWidth===-1?-1:Math.max(Math.min(d.lineWidth,40),d.lineWidth-k),R=Q||d.flowLevel>-1&&y>=d.flowLevel;function N(M){return Br(d,M)}switch(Sr(m,R,d.indent,I,N,d.quotingType,d.forceQuotes&&!Q,b)){case wr:return m;case Mn:return"'"+m.replace(/'/g,"''")+"'";case Qr:return"|"+vr(m,d.indent)+Rr(Dn(m,k));case br:return">"+vr(m,d.indent)+Rr(Dn(zs(m,I),k));case lt:return'"'+dt(m)+'"';default:throw new e("impossible error: invalid scalar style")}})()}function vr(d,m){let y=en(d)?String(m):"",Q=d[d.length-1]===`
|
|
105
105
|
`,k=Q&&(d[d.length-2]===`
|
|
106
106
|
`||d===`
|
|
107
107
|
`)?"+":Q?"":"-";return y+k+`
|
|
@@ -112,17 +112,17 @@ Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}fun
|
|
|
112
112
|
`:"")+xr(N,m),b=k}return Q}function xr(d,m){if(d===""||d[0]===" ")return d;let y=/ [^ ]/g,Q,b=0,k,I=0,R=0,N="";for(;Q=y.exec(d);)R=Q.index,R-b>m&&(k=I>b?I:R,N+=`
|
|
113
113
|
`+d.slice(b,k),b=k+1),I=R;return N+=`
|
|
114
114
|
`,d.length-b>m&&I>b?N+=d.slice(b,I)+`
|
|
115
|
-
`+d.slice(I+1):N+=d.slice(b),N.slice(1)}function dt(d){let m="",y=0;for(let Q=0;Q<d.length;y>=65536?Q+=2:Q++){y=ze(d,Q);let b=fe[y];!b&&At(y)?(m+=d[Q],y>=65536&&(m+=d[Q+1])):m+=b||st(y)}return m}function Ks(d,m,y){let Q="",b=d.tag;for(let k=0,I=y.length;k<I;k+=1){let R=y[k];d.replacer&&(R=d.replacer.call(y,String(k),R)),(f(d,m,R,!1,!1)||typeof R>"u"&&f(d,m,null,!1,!1))&&(Q!==""&&(Q+=","+(d.condenseFlow?"":" ")),Q+=d.dump)}d.tag=b,d.dump="["+Q+"]"}function
|
|
116
|
-
`:""}return ry.dump=E,ry}var dx;function VY(){if(dx)return wt;dx=1;let t=OY(),e=$Y();function n(r,s){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+s+" instead, which is now safe by default.")}}return wt.Type=Ft(),wt.Schema=px(),wt.FAILSAFE_SCHEMA=mx(),wt.JSON_SCHEMA=Bx(),wt.CORE_SCHEMA=wx(),wt.DEFAULT_SCHEMA=sy(),wt.load=t.load,wt.loadAll=t.loadAll,wt.dump=e.dump,wt.YAMLException=gu(),wt.types={binary:Sx(),float:Ix(),map:gx(),null:yx(),pairs:vx(),set:Rx(),timestamp:Qx(),bool:Ex(),int:Cx(),merge:bx(),omap:kx(),seq:fx(),str:hx()},wt.safeLoad=n("safeLoad","load"),wt.safeLoadAll=n("safeLoadAll","loadAll"),wt.safeDump=n("safeDump","dump"),wt}var GY=VY(),HY=LY(GY),{Type:g4,Schema:m4,FAILSAFE_SCHEMA:y4,JSON_SCHEMA:xx,CORE_SCHEMA:E4,DEFAULT_SCHEMA:C4,load:mu,loadAll:YY,dump:I4,YAMLException:B4,types:w4,safeLoad:Q4,safeLoadAll:b4,safeDump:S4}=HY;var zr=t=>typeof t=="string"?t:void 0;function Dx(t){let e={services:[]},n;try{let A=Tx.readFileSync(t,"utf8");n=mu(A,{schema:xx})}catch(A){return Pe(`Lenient parse: failed to read/parse ${t}: ${A.message}`),e}if(!n||typeof n!="object"||Array.isArray(n))return Pe(`Lenient parse: ${t} did not contain a YAML object`),e;let r=n,s=r.metadata&&typeof r.metadata=="object"?r.metadata:void 0,i=s?{executorVersion:zr(s.executorVersion),mcpVersion:zr(s.mcpVersion)}:void 0,c=(Array.isArray(r.services)?r.services:[]).reduce((A,l,p)=>{if(!l||typeof l!="object"||Array.isArray(l))return Pe(`Lenient parse: services[${p}] is not an object \u2014 skipping`),A;let h=l,g=zr(h.serviceName);if(!g)return Pe(`Lenient parse: services[${p}] missing or non-string serviceName \u2014 skipping`),A;let C=h.api&&typeof h.api=="object"?h.api:void 0,S=h.runtimeDetails&&typeof h.runtimeDetails=="object"?h.runtimeDetails:void 0;return A.push({serviceName:g,language:zr(h.language),framework:zr(h.framework),testDirectory:zr(h.testDirectory),api:C?{baseUrl:zr(C.baseUrl)}:void 0,runtimeDetails:S?{serverStartCommand:zr(S.serverStartCommand),serverTeardownCommand:zr(S.serverTeardownCommand)}:void 0}),A},[]);return{metadata:i,services:c}}async function Fx(t){let e=Nx.resolve(t.workingDirectory),n=new gd(e),r=[],s=t.targetSetupCommand,i=t.targetTeardownCommand,a=t.skyrampExecutorVersion,c=t.skyrampMcpVersion;if(await n.exists()){Bn(`Found ${n.getConfigPath()}, loading workspace configuration...`);try{let l;try{l=await n.read()}catch(h){Pe(`${n.getConfigPath()} failed strict validation: ${h.message}. Re-reading with per-field lenient parse \u2014 invalid fields will fall back to action input defaults.`),l=Dx(n.getConfigPath())}l.metadata&&(!a&&l.metadata.executorVersion&&(a=l.metadata.executorVersion),!c&&l.metadata.mcpVersion&&(c=l.metadata.mcpVersion));for(let h of l.services??[])r.push({serviceName:h.serviceName,language:h.language,framework:h.framework,baseUrl:h.api?.baseUrl,testDirectory:h.testDirectory});let p=(l.services??[])[0];if(p){!s&&p.runtimeDetails?.serverStartCommand&&(s=p.runtimeDetails.serverStartCommand);let h=p.runtimeDetails?.serverTeardownCommand;!i&&typeof h=="string"&&(i=h)}}catch(l){Pe(`Failed to parse ${n.getConfigPath()}: ${l.message} \u2014 falling back to action input defaults`)}}else au("No .skyramp/workspace.yml found, using action input defaults");a||(a="v1.3.54"),c||(c="latest"),s||(s="docker compose up -d --build");let A={targetSetupCommand:s,authTokenCommand:t.authTokenCommand,targetTeardownCommand:i,skipTargetTeardown:t.skipTargetTeardown,skyrampExecutorVersion:a,skyrampMcpVersion:c,skyrampMcpSource:t.skyrampMcpSource,skyrampMcpGithubRef:t.skyrampMcpGithubRef,nodeVersion:t.nodeVersion,skipTargetSetup:t.skipTargetSetup,targetReadyCheckCommand:t.targetReadyCheckCommand,targetReadyCheckTimeout:t.targetReadyCheckTimeout,targetReadyCheckInterval:t.targetReadyCheckInterval,targetReadyCheckDiagnosticsCommand:t.targetReadyCheckDiagnosticsCommand,autoCommit:t.autoCommit,commitMessage:t.commitMessage,generatedTestsMode:t.generatedTestsMode,postPrComment:t.postPrComment,testExecutionTimeout:t.testExecutionTimeout,maxRecommendations:t.maxRecommendations,maxGenerate:t.maxGenerate,perTestMaxFixAttempts:t.perTestMaxFixAttempts,testbotMaxRetries:t.testbotMaxRetries,testbotRetryDelay:t.testbotRetryDelay,testbotTimeout:t.testbotTimeout,targetSetupRetries:t.targetSetupRetries,targetSetupRetryDelay:t.targetSetupRetryDelay,authTokenRetries:t.authTokenRetries,authTokenRetryDelay:t.authTokenRetryDelay,reportCollapsed:t.reportCollapsed,language:t.language,enableDebug:t.enableDebug,testRepoPath:t.testRepoPath,relatedRepoPaths:t.relatedRepoPaths,services:r};Xl("Resolved configuration");for(let[l,p]of Object.entries(A))l==="authTokenCommand"?Bn(` ${l}: [REDACTED]`):l==="services"?Bn(` ${l}: ${JSON.stringify(p)}`):Bn(` ${l}: ${p}`);return ed(),A}Dt();Dt();zg();var Ux=Re(require("child_process")),iy=class extends Error{constructor(e){super(e),this.name="ExecTimeoutError"}},Ed=class extends Error{constructor(e){super(e),this.name="ExecAbortedError"}};function Mx(t,e){if(!(!t||t.destroyed||t.writableEnded))try{t.write(e)}catch(n){Pe(`stream write failed: ${n instanceof Error?n.message:String(n)}`)}}async function _x(t,e=[],n={}){let r="",s="",i={cwd:n.cwd,silent:n.silent??!1,ignoreReturnCode:n.ignoreReturnCode??!1,env:n.env?{...process.env,...n.env}:void 0,input:n.input,listeners:{stdout:c=>{r+=c.toString(),Mx(n.stdoutStream,c)},stderr:c=>{s+=c.toString()}}};if(n.timeout||n.signal){let c=n.signal;return c?.aborted?Promise.reject(new Ed(`Command aborted before start: ${t}`)):new Promise((A,l)=>{let p=Ux.spawn(t,e,{cwd:n.cwd,env:n.env?{...process.env,...n.env}:process.env,stdio:["pipe","pipe","pipe"],shell:!1});p.stdout?.on("data",v=>{r+=v.toString(),n.silent||process.stdout.write(v),Mx(n.stdoutStream,v)}),p.stderr?.on("data",v=>{s+=v.toString(),n.silent||process.stderr.write(v)}),n.input&&p.stdin?.end(n.input);let h=()=>{S&&clearTimeout(S),c?.removeEventListener("abort",C)},g=v=>{h();try{p.kill("SIGTERM")}catch{}l(v)},C=()=>g(new Ed(`Command aborted: ${t}`)),S=n.timeout?setTimeout(()=>g(new iy(`Command timed out after ${Math.round(n.timeout/6e4)}m: ${t}`)),n.timeout):void 0;c?.addEventListener("abort",C,{once:!0}),p.on("close",v=>{h();let T=v??1;T!==0&&!n.ignoreReturnCode?l(new Error(`The process '${t}' failed with exit code ${T}`)):A({exitCode:T,stdout:r,stderr:s})}),p.on("error",v=>{h(),l(v)})})}return{exitCode:await fv(t,e,i),stdout:r,stderr:s}}async function Lx(t,e){Xl(t);try{return await e()}finally{ed()}}async function Px(t,e){await Lx("Tearing down services",async()=>{if(t.skipTargetTeardown){au("Skipping service teardown (skipTargetTeardown=true)");return}if(!t.targetTeardownCommand){Bn("No targetTeardownCommand configured, skipping teardown");return}Bn(`Running teardown command: ${t.targetTeardownCommand}`);try{await _x("bash",["-c",t.targetTeardownCommand],{cwd:e}),au("Services torn down successfully")}catch(n){let r=n instanceof Error?n.message:String(n);Pe(`Service teardown command failed (non-fatal): ${r}`)}})}Dt();Dt();var qi=(i=>(i.NotFound="not_found",i.NoAccess="no_access",i.Unavailable="unavailable",i.AccessLost="access_lost",i.CannotOpen="cannot_open",i))(qi||{});var oy=t=>`${t.source}:${t.site??""}:${t.key}`;var Cd=/^pasted-[0-9a-f]{16}$/,yu=/^file-[0-9a-f]{16}$/,Eu=(s=>(s.Pdf="application/pdf",s.Csv="text/csv",s.Docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",s.Xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",s))(Eu||{});var ay=(r=>(r.New="new",r.Updated="updated",r.Existing="existing",r))(ay||{}),Sa=(r=>(r.Sufficient="sufficient",r.Insufficient="insufficient",r.NoChange="no_change",r))(Sa||{}),ka=(T=>(T.RelatedChangeConflict="related_change_conflict",T.ReferenceOutsideTarget="reference_outside_target",T.SourceAccessLost="source_access_lost",T.ConfigurationIncomplete="configuration_incomplete",T.CredentialUnavailable="credential_unavailable",T.WorkflowBindingUnverified="workflow_binding_unverified",T.WorkflowRefUnprotected="workflow_ref_unprotected",T.BedrockWorkflowRequired="bedrock_workflow_required",T.DeploymentReview="deployment_review",T.SutRevisionMismatch="sut_revision_mismatch",T.IsolationUnavailable="isolation_unavailable",T.EvidenceInsufficient="evidence_insufficient",T.ConfigurationUnresolved="configuration_unresolved",T.ModelProviderDenied="model_provider_denied",T.ModelProviderUnavailable="model_provider_unavailable",T.RunnerProviderNotReady="runner_provider_not_ready",T))(ka||{}),Us=(i=>(i.CiCheck="ci_check",i.TestReport="test_report",i.StaticAnalysis="static_analysis",i.CodeReview="code_review",i.Other="other",i))(Us||{}),cy=(r=>(r.Application="application",r.Environment="environment",r.TestDefect="test_defect",r))(cy||{}),uy=(c=>(c.AuthToken="auth_token",c.Secret="secret",c.DataConnection="data_connection",c.AppNotStarted="app_not_started",c.Login="login",c.ExternalDependency="external_dependency",c.RecordingReplay="recording_replay",c))(uy||{});var Id=(n=>(n.Probe="probe",n.Agent="agent",n))(Id||{}),Bd=(r=>(r.Seed="seed",r.RuntimeMock="runtime_mock",r.EnvOverride="env_override",r))(Bd||{}),wd=(r=>(r.TestCode="test_code",r.SkyrampMocker="skyramp_mocker",r.RecipeOverride="recipe_override",r))(wd||{});var jY=["generate-unit","native-run"],_4=["preflight","plan","write",...jY,"report","deliver"];var Qd=(r=>(r.Unit="unit",r.Integration="integration",r.E2e="e2e",r))(Qd||{});var bd="\xABredacted\xBB";function Kr(t,e){if(!t||e.length===0)return t;let n=t;for(let r of e)!r||!n.includes(r)||(n=n.split(r).join(bd));return n}var H4=new TextDecoder("utf-8",{fatal:!0});function jt(t,e=[]){let n=t.trim();if(!n)return{error:"session produced no output"};let r=A=>{try{let l=JSON.parse(A);return typeof l=="object"&&l!==null&&!Array.isArray(l)?l:void 0}catch{return}},s=r(n);if(s!==void 0)return{value:s};let i;if(n.startsWith("{")&&n.endsWith("}"))try{JSON.parse(n)}catch(A){i=A instanceof Error?A.message:String(A)}let a=[...n.matchAll(/```(?:json)?\s*\n([\s\S]*?)```/g)];for(let A=a.length-1;A>=0;A--){let l=r(a[A][1].trim());if(l!==void 0)return{value:l}}let c;for(let A=n.indexOf("{");A!==-1;A=n.indexOf("{",A+1)){let l=0,p=!1,h=!1;for(let g=A;g<n.length;g++){let C=n[g];if(h){h=!1;continue}if(C==="\\"){h=p;continue}if(C==='"'){p=!p;continue}if(!p){if(C==="{")l++;else if(C==="}"&&(l--,l===0)){let S=r(n.slice(A,g+1));S!==void 0&&Object.keys(S).length>0&&(c=S,A=g);break}}}}return i&&(c===void 0||Object.keys(c).length<3)?{error:`final message is not valid JSON \u2014 ${i}. Most often an unescaped double quote inside a string (e.g. in "summary" or "evidence"): escape it as \\" or use single quotes in prose`}:c!==void 0?{value:c}:i?{error:`final message is not valid JSON \u2014 ${i}. Most often an unescaped double quote inside a string (e.g. in "summary" or "evidence"): escape it as \\" or use single quotes in prose`}:{error:`no parseable JSON object found in session output \u2014 the final message was: "${JY(Kr(n,e))}"`}}var Ox=240;function JY(t){let e=t.replace(/\s+/g," ").trim();return e.length<=Ox?e:`\u2026${e.slice(-Ox)}`}var Iu=Re(require("fs")),Bu=Re(require("path"));var WY=8;function Mt(t,e,n={}){let r=e.slice(0,WY),s=e.length-r.length;return{name:t,passed:!1,details:r.join("; ")+(s>0?`; \u2026and ${s} more`:""),...n.fatal?{fatal:!0}:{}}}function va(t){if(Iu.existsSync(t))try{return JSON.parse(Iu.readFileSync(t,"utf-8"))}catch{return}}function Sn(t,e){return va(Bu.join(t.outputsDir,e))}function _s(t,e){return{name:t,verify(n,r){let{errors:s}=e(n,r);return s.length===0?{name:this.name,passed:!0}:Mt(this.name,s,{fatal:!0})}}}function wu(t){return t.replace(/\s+/g," ").trim()}var Sd=new RegExp("(^|/)("+["test_[^/]+\\.py","[^/]+_test\\.py","[^/]+\\.(spec|test)\\.[cm]?[jt]sx?","[^/]+\\.e2e-(spec|test)\\.[cm]?[jt]sx?","[^/]+_test\\.go","[^/]+Tests?\\.(java|kts?)","[^/]+_(test|spec)\\.rb","[^/]+\\.feature","[^/]+Tests?\\.cs","[^/]+_test\\.rs","tests/[^/]+\\.rs","[^/]+Test\\.php","[^/]+(Test|Spec|Suite)\\.scala","[^/]+Tests?\\.swift","[^/]+_test\\.exs","[^/]+_test\\.dart","[^/]+_test\\.(c|cc|cpp|cxx)","test_[^/]+\\.(c|cc|cpp|cxx)","[^/]+(Spec|Test)\\.groovy"].join("|")+")$","i");var u={};ip(u,{BRAND:()=>Iq,DIRTY:()=>ji,EMPTY_PATH:()=>XY,INVALID:()=>ie,NEVER:()=>ij,OK:()=>Qt,ParseStatus:()=>mt,Schema:()=>Ce,ZodAny:()=>Os,ZodArray:()=>ts,ZodBigInt:()=>Wi,ZodBoolean:()=>zi,ZodBranded:()=>bu,ZodCatch:()=>ao,ZodDate:()=>Ki,ZodDefault:()=>oo,ZodDiscriminatedUnion:()=>Rd,ZodEffects:()=>Rn,ZodEnum:()=>so,ZodError:()=>Jt,ZodFirstPartyTypeKind:()=>Ae,ZodFunction:()=>Td,ZodIntersection:()=>to,ZodIssueCode:()=>O,ZodLazy:()=>no,ZodLiteral:()=>ro,ZodMap:()=>Fa,ZodNaN:()=>Ua,ZodNativeEnum:()=>io,ZodNever:()=>Wn,ZodNull:()=>Xi,ZodNullable:()=>Er,ZodNumber:()=>Ji,ZodObject:()=>Wt,ZodOptional:()=>kn,ZodParsedType:()=>z,ZodPipeline:()=>Su,ZodPromise:()=>$s,ZodReadonly:()=>co,ZodRecord:()=>xd,ZodSchema:()=>Ce,ZodSet:()=>Ma,ZodString:()=>Ps,ZodSymbol:()=>Da,ZodTransformer:()=>Rn,ZodTuple:()=>yr,ZodType:()=>Ce,ZodUndefined:()=>Zi,ZodUnion:()=>eo,ZodUnknown:()=>es,ZodVoid:()=>Na,addIssueToContext:()=>J,any:()=>xq,array:()=>Fq,bigint:()=>bq,boolean:()=>Kx,coerce:()=>sj,custom:()=>Jx,date:()=>Sq,datetimeRegex:()=>qx,defaultErrorMap:()=>Zr,discriminatedUnion:()=>Lq,effect:()=>zq,enum:()=>jq,function:()=>Hq,getErrorMap:()=>Ra,getParsedType:()=>mr,instanceof:()=>wq,intersection:()=>Pq,isAborted:()=>kd,isAsync:()=>xa,isDirty:()=>vd,isValid:()=>Ls,late:()=>Bq,lazy:()=>Yq,literal:()=>qq,makeIssue:()=>Qu,map:()=>Vq,nan:()=>Qq,nativeEnum:()=>Jq,never:()=>Dq,null:()=>Rq,nullable:()=>Zq,number:()=>zx,object:()=>Mq,objectUtil:()=>ly,oboolean:()=>rj,onumber:()=>nj,optional:()=>Kq,ostring:()=>tj,pipeline:()=>ej,preprocess:()=>Xq,promise:()=>Wq,quotelessJson:()=>zY,record:()=>$q,set:()=>Gq,setErrorMap:()=>ZY,strictObject:()=>Uq,string:()=>Wx,symbol:()=>kq,transformer:()=>zq,tuple:()=>Oq,undefined:()=>vq,union:()=>_q,unknown:()=>Tq,util:()=>Qe,void:()=>Nq});var Qe;(function(t){t.assertEqual=s=>{};function e(s){}t.assertIs=e;function n(s){throw new Error}t.assertNever=n,t.arrayToEnum=s=>{let i={};for(let a of s)i[a]=a;return i},t.getValidEnumValues=s=>{let i=t.objectKeys(s).filter(c=>typeof s[s[c]]!="number"),a={};for(let c of i)a[c]=s[c];return t.objectValues(a)},t.objectValues=s=>t.objectKeys(s).map(function(i){return s[i]}),t.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{let i=[];for(let a in s)Object.prototype.hasOwnProperty.call(s,a)&&i.push(a);return i},t.find=(s,i)=>{for(let a of s)if(i(a))return a},t.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}t.joinValues=r,t.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(Qe||(Qe={}));var ly;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(ly||(ly={}));var z=Qe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),mr=t=>{switch(typeof t){case"undefined":return z.undefined;case"string":return z.string;case"number":return Number.isNaN(t)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(t)?z.array:t===null?z.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?z.promise:typeof Map<"u"&&t instanceof Map?z.map:typeof Set<"u"&&t instanceof Set?z.set:typeof Date<"u"&&t instanceof Date?z.date:z.object;default:return z.unknown}};var O=Qe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),zY=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Jt=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(i){return i.message},r={_errors:[]},s=i=>{for(let a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(s);else if(a.code==="invalid_return_type")s(a.returnTypeError);else if(a.code==="invalid_arguments")s(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let c=r,A=0;for(;A<a.path.length;){let l=a.path[A],p=A===a.path.length-1;if(l==="_errors"){p&&c._errors.push(n(a)),A++;continue}Object.prototype.hasOwnProperty.call(c,l)||(l==="__proto__"?Object.defineProperty(c,l,{value:{_errors:[]},writable:!0,enumerable:!0,configurable:!0}):c[l]={_errors:[]}),c=c[l],p&&c._errors.push(n(a)),A++}}};return s(this),r}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Qe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){let n=Object.create(null),r=[];for(let s of this.issues)if(s.path.length>0){let i=s.path[0];n[i]=n[i]||[],n[i].push(e(s))}else r.push(e(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};Jt.create=t=>new Jt(t);var KY=(t,e)=>{let n;switch(t.code){case O.invalid_type:t.received===z.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case O.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Qe.jsonStringifyReplacer)}`;break;case O.unrecognized_keys:n=`Unrecognized key(s) in object: ${Qe.joinValues(t.keys,", ")}`;break;case O.invalid_union:n="Invalid input";break;case O.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Qe.joinValues(t.options)}`;break;case O.invalid_enum_value:n=`Invalid enum value. Expected ${Qe.joinValues(t.options)}, received '${t.received}'`;break;case O.invalid_arguments:n="Invalid function arguments";break;case O.invalid_return_type:n="Invalid function return type";break;case O.invalid_date:n="Invalid date";break;case O.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Qe.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case O.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case O.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case O.custom:n="Invalid input";break;case O.invalid_intersection_types:n="Intersection results could not be merged";break;case O.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case O.not_finite:n="Number must be finite";break;default:n=e.defaultError,Qe.assertNever(t)}return{message:n}},Zr=KY;var $x=Zr;function ZY(t){$x=t}function Ra(){return $x}var Qu=t=>{let{data:e,path:n,errorMaps:r,issueData:s}=t,i=[...n,...s.path||[]],a={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let c="",A=r.filter(l=>!!l).slice().reverse();for(let l of A)c=l(a,{data:e,defaultError:c}).message;return{...s,path:i,message:c}},XY=[];function J(t,e){let n=Ra(),r=Qu({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Zr?void 0:Zr].filter(s=>!!s)});t.common.issues.push(r)}var mt=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let s of n){if(s.status==="aborted")return ie;s.status==="dirty"&&e.dirty(),r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){let r=[];for(let s of n){let i=await s.key,a=await s.value;r.push({key:i,value:a})}return t.mergeObjectSync(e,r)}static mergeObjectSync(e,n){let r={};for(let s of n){let{key:i,value:a}=s;if(i.status==="aborted"||a.status==="aborted")return ie;i.status==="dirty"&&e.dirty(),a.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||s.alwaysSet)&&(r[i.value]=a.value)}return{status:e.value,value:r}}},ie=Object.freeze({status:"aborted"}),ji=t=>({status:"dirty",value:t}),Qt=t=>({status:"valid",value:t}),kd=t=>t.status==="aborted",vd=t=>t.status==="dirty",Ls=t=>t.status==="valid",xa=t=>typeof Promise<"u"&&t instanceof Promise;var Z;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(Z||(Z={}));var vn=class{constructor(e,n,r,s){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Vx=(t,e)=>{if(Ls(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new Jt(t.common.issues);return this._error=n,this._error}}};function me(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:r,description:s}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(a,c)=>{let{message:A}=t;return a.code==="invalid_enum_value"?{message:A??c.defaultError}:typeof c.data>"u"?{message:A??r??c.defaultError}:a.code!=="invalid_type"?{message:c.defaultError}:{message:A??n??c.defaultError}},description:s}}var Ce=class{get description(){return this._def.description}_getType(e){return mr(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:mr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new mt,ctx:{common:e.parent.common,data:e.data,parsedType:mr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(xa(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)},s=this._parseSync({data:e,path:r.path,parent:r});return Vx(r,s)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:n});return Ls(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>Ls(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){let r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)},s=this._parse({data:e,path:r.path,parent:r}),i=await(xa(s)?s:Promise.resolve(s));return Vx(r,i)}refine(e,n){let r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{let a=e(s),c=()=>i.addIssue({code:O.custom,...r(s)});return typeof Promise<"u"&&a instanceof Promise?a.then(A=>A?!0:(c(),!1)):a?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,s)=>e(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(e){return new Rn({schema:this,typeName:Ae.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return kn.create(this,this._def)}nullable(){return Er.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ts.create(this)}promise(){return $s.create(this,this._def)}or(e){return eo.create([this,e],this._def)}and(e){return to.create(this,e,this._def)}transform(e){return new Rn({...me(this._def),schema:this,typeName:Ae.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new oo({...me(this._def),innerType:this,defaultValue:n,typeName:Ae.ZodDefault})}brand(){return new bu({typeName:Ae.ZodBranded,type:this,...me(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new ao({...me(this._def),innerType:this,catchValue:n,typeName:Ae.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Su.create(this,e)}readonly(){return co.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},eq=/^c[^\s-]{8,}$/i,tq=/^[0-9a-z]+$/,nq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,rq=/^[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-f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0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,hq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Hx="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",fq=new RegExp(`^${Hx}$`);function Yx(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function gq(t){return new RegExp(`^${Yx(t)}$`)}function qx(t){let e=`${Hx}T${Yx(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function mq(t,e){return!!((e==="v4"||!e)&&uq.test(t)||(e==="v6"||!e)&&lq.test(t))}function yq(t,e){if(!iq.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&s?.typ!=="JWT"||!s.alg||e&&s.alg!==e)}catch{return!1}}function Eq(t,e){return!!((e==="v4"||!e)&&Aq.test(t)||(e==="v6"||!e)&&dq.test(t))}var Ps=class t extends Ce{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==z.string){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.string,received:i.parsedType}),ie}let r=new mt,s;for(let i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")e.data.length>i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){let a=e.data.length>i.value,c=e.data.length<i.value;(a||c)&&(s=this._getOrReturnCtx(e,s),a?J(s,{code:O.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):c&&J(s,{code:O.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")aq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"email",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")dy||(dy=new RegExp(cq,"u")),dy.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"emoji",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")rq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"uuid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")sq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"nanoid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")eq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cuid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")tq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cuid2",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")nq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"ulid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{s=this._getOrReturnCtx(e,s),J(s,{validation:"url",code:O.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"regex",code:O.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?qx(i).test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?fq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?gq(i).test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?oq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"duration",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?mq(e.data,i.version)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"ip",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?yq(e.data,i.alg)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"jwt",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?Eq(e.data,i.version)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cidr",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?pq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"base64",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?hq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"base64url",code:O.invalid_string,message:i.message}),r.dirty()):Qe.assertNever(i);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(s=>e.test(s),{validation:n,code:O.invalid_string,...Z.errToObj(r)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Z.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Z.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Z.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Z.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Z.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Z.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Z.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Z.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Z.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Z.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Z.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Z.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Z.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...Z.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...Z.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...Z.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Z.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...Z.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Z.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Z.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Z.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Z.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Z.errToObj(n)})}nonempty(e){return this.min(1,Z.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Ps.create=t=>new Ps({checks:[],typeName:Ae.ZodString,coerce:t?.coerce??!1,...me(t)});function Cq(t,e){let n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return i%a/10**s}var Ji=class t extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==z.number){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.number,received:i.parsedType}),ie}let r,s=new mt;for(let i of this._def.checks)i.kind==="int"?Qe.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),J(r,{code:O.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?Cq(e.data,i.value)!==0&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_finite,message:i.message}),s.dirty()):Qe.assertNever(i);return{status:s.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Z.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Z.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Z.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Z.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Z.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Qe.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}};Ji.create=t=>new Ji({checks:[],typeName:Ae.ZodNumber,coerce:t?.coerce||!1,...me(t)});var Wi=class t extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==z.bigint)return this._getInvalidInput(e);let r,s=new mt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):Qe.assertNever(i);return{status:s.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return J(n,{code:O.invalid_type,expected:z.bigint,received:n.parsedType}),ie}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Z.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Wi.create=t=>new Wi({checks:[],typeName:Ae.ZodBigInt,coerce:t?.coerce??!1,...me(t)});var zi=class extends Ce{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==z.boolean){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.boolean,received:r.parsedType}),ie}return Qt(e.data)}};zi.create=t=>new zi({typeName:Ae.ZodBoolean,coerce:t?.coerce||!1,...me(t)});var Ki=class t extends Ce{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==z.date){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.date,received:i.parsedType}),ie}if(Number.isNaN(e.data.getTime())){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_date}),ie}let r=new mt,s;for(let i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Qe.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Z.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Z.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}};Ki.create=t=>new Ki({checks:[],coerce:t?.coerce||!1,typeName:Ae.ZodDate,...me(t)});var Da=class extends Ce{_parse(e){if(this._getType(e)!==z.symbol){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.symbol,received:r.parsedType}),ie}return Qt(e.data)}};Da.create=t=>new Da({typeName:Ae.ZodSymbol,...me(t)});var Zi=class extends Ce{_parse(e){if(this._getType(e)!==z.undefined){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.undefined,received:r.parsedType}),ie}return Qt(e.data)}};Zi.create=t=>new Zi({typeName:Ae.ZodUndefined,...me(t)});var Xi=class extends Ce{_parse(e){if(this._getType(e)!==z.null){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.null,received:r.parsedType}),ie}return Qt(e.data)}};Xi.create=t=>new Xi({typeName:Ae.ZodNull,...me(t)});var Os=class extends Ce{constructor(){super(...arguments),this._any=!0}_parse(e){return Qt(e.data)}};Os.create=t=>new Os({typeName:Ae.ZodAny,...me(t)});var es=class extends Ce{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Qt(e.data)}};es.create=t=>new es({typeName:Ae.ZodUnknown,...me(t)});var Wn=class extends Ce{_parse(e){let n=this._getOrReturnCtx(e);return J(n,{code:O.invalid_type,expected:z.never,received:n.parsedType}),ie}};Wn.create=t=>new Wn({typeName:Ae.ZodNever,...me(t)});var Na=class extends Ce{_parse(e){if(this._getType(e)!==z.undefined){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.void,received:r.parsedType}),ie}return Qt(e.data)}};Na.create=t=>new Na({typeName:Ae.ZodVoid,...me(t)});var ts=class t extends Ce{_parse(e){let{ctx:n,status:r}=this._processInputParams(e),s=this._def;if(n.parsedType!==z.array)return J(n,{code:O.invalid_type,expected:z.array,received:n.parsedType}),ie;if(s.exactLength!==null){let a=n.data.length>s.exactLength.value,c=n.data.length<s.exactLength.value;(a||c)&&(J(n,{code:a?O.too_big:O.too_small,minimum:c?s.exactLength.value:void 0,maximum:a?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(J(n,{code:O.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(J(n,{code:O.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,c)=>s.type._parseAsync(new vn(n,a,n.path,c)))).then(a=>mt.mergeArray(r,a));let i=[...n.data].map((a,c)=>s.type._parseSync(new vn(n,a,n.path,c)));return mt.mergeArray(r,i)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:Z.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:Z.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:Z.toString(n)}})}nonempty(e){return this.min(1,e)}};ts.create=(t,e)=>new ts({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Ae.ZodArray,...me(e)});function Ta(t){if(t instanceof Wt){let e={};for(let n in t.shape){let r=t.shape[n];e[n]=kn.create(Ta(r))}return new Wt({...t._def,shape:()=>e})}else return t instanceof ts?new ts({...t._def,type:Ta(t.element)}):t instanceof kn?kn.create(Ta(t.unwrap())):t instanceof Er?Er.create(Ta(t.unwrap())):t instanceof yr?yr.create(t.items.map(e=>Ta(e))):t}var Wt=class t extends Ce{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=Qe.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==z.object){let l=this._getOrReturnCtx(e);return J(l,{code:O.invalid_type,expected:z.object,received:l.parsedType}),ie}let{status:r,ctx:s}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),c=[];if(!(this._def.catchall instanceof Wn&&this._def.unknownKeys==="strip"))for(let l in s.data)a.includes(l)||c.push(l);let A=[];for(let l of a){let p=i[l],h=s.data[l];A.push({key:{status:"valid",value:l},value:p._parse(new vn(s,h,s.path,l)),alwaysSet:l in s.data})}if(this._def.catchall instanceof Wn){let l=this._def.unknownKeys;if(l==="passthrough")for(let p of c)A.push({key:{status:"valid",value:p},value:{status:"valid",value:s.data[p]}});else if(l==="strict")c.length>0&&(J(s,{code:O.unrecognized_keys,keys:c}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let l=this._def.catchall;for(let p of c){let h=s.data[p];A.push({key:{status:"valid",value:p},value:l._parse(new vn(s,h,s.path,p)),alwaysSet:p in s.data})}}return s.common.async?Promise.resolve().then(async()=>{let l=[];for(let p of A){let h=await p.key,g=await p.value;l.push({key:h,value:g,alwaysSet:p.alwaysSet})}return l}).then(l=>mt.mergeObjectSync(r,l)):mt.mergeObjectSync(r,A)}get shape(){return this._def.shape()}strict(e){return Z.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{let s=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:Z.errToObj(e).message??s}:{message:s}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ae.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let r of Qe.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let r of Qe.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}deepPartial(){return Ta(this)}partial(e){let n={};for(let r of Qe.objectKeys(this.shape)){let s=this.shape[r];e&&!e[r]?n[r]=s:n[r]=s.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let r of Qe.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof kn;)i=i._def.innerType;n[r]=i}return new t({...this._def,shape:()=>n})}keyof(){return jx(Qe.objectKeys(this.shape))}};Wt.create=(t,e)=>new Wt({shape:()=>t,unknownKeys:"strip",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});Wt.strictCreate=(t,e)=>new Wt({shape:()=>t,unknownKeys:"strict",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});Wt.lazycreate=(t,e)=>new Wt({shape:t,unknownKeys:"strip",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});var eo=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=this._def.options;function s(i){for(let c of i)if(c.result.status==="valid")return c.result;for(let c of i)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;let a=i.map(c=>new Jt(c.ctx.common.issues));return J(n,{code:O.invalid_union,unionErrors:a}),ie}if(n.common.async)return Promise.all(r.map(async i=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(s);{let i,a=[];for(let A of r){let l={...n,common:{...n.common,issues:[]},parent:null},p=A._parseSync({data:n.data,path:n.path,parent:l});if(p.status==="valid")return p;p.status==="dirty"&&!i&&(i={result:p,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let c=a.map(A=>new Jt(A));return J(n,{code:O.invalid_union,unionErrors:c}),ie}}get options(){return this._def.options}};eo.create=(t,e)=>new eo({options:t,typeName:Ae.ZodUnion,...me(e)});var Xr=t=>t instanceof no?Xr(t.schema):t instanceof Rn?Xr(t.innerType()):t instanceof ro?[t.value]:t instanceof so?t.options:t instanceof io?Qe.objectValues(t.enum):t instanceof oo?Xr(t._def.innerType):t instanceof Zi?[void 0]:t instanceof Xi?[null]:t instanceof kn?[void 0,...Xr(t.unwrap())]:t instanceof Er?[null,...Xr(t.unwrap())]:t instanceof bu||t instanceof co?Xr(t.unwrap()):t instanceof ao?Xr(t._def.innerType):[],Rd=class t extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.object)return J(n,{code:O.invalid_type,expected:z.object,received:n.parsedType}),ie;let r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(J(n,{code:O.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),ie)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){let s=new Map;for(let i of n){let a=Xr(i.shape[e]);if(!a.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let c of a){if(s.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);s.set(c,i)}}return new t({typeName:Ae.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:s,...me(r)})}};function py(t,e){let n=mr(t),r=mr(e);if(t===e)return{valid:!0,data:t};if(n===z.object&&r===z.object){let s=Qe.objectKeys(e),i=Qe.objectKeys(t).filter(c=>s.indexOf(c)!==-1),a={...t,...e};Object.prototype.hasOwnProperty.call(a,"__proto__")&&delete a.__proto__;for(let c of i){if(c==="__proto__")continue;let A=py(t[c],e[c]);if(!A.valid)return{valid:!1};a[c]=A.data}return{valid:!0,data:a}}else if(n===z.array&&r===z.array){if(t.length!==e.length)return{valid:!1};let s=[];for(let i=0;i<t.length;i++){let a=t[i],c=e[i],A=py(a,c);if(!A.valid)return{valid:!1};s.push(A.data)}return{valid:!0,data:s}}else return n===z.date&&r===z.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var to=class extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=(i,a)=>{if(kd(i)||kd(a))return ie;let c=py(i.value,a.value);return c.valid?((vd(i)||vd(a))&&n.dirty(),{status:n.value,value:c.data}):(J(r,{code:O.invalid_intersection_types}),ie)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>s(i,a)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};to.create=(t,e,n)=>new to({left:t,right:e,typeName:Ae.ZodIntersection,...me(n)});var yr=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.array)return J(r,{code:O.invalid_type,expected:z.array,received:r.parsedType}),ie;if(r.data.length<this._def.items.length)return J(r,{code:O.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ie;!this._def.rest&&r.data.length>this._def.items.length&&(J(r,{code:O.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...r.data].map((a,c)=>{let A=this._def.items[c]||this._def.rest;return A?A._parse(new vn(r,a,r.path,c)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>mt.mergeArray(n,a)):mt.mergeArray(n,i)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};yr.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new yr({items:t,typeName:Ae.ZodTuple,rest:null,...me(e)})};var xd=class t extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.object)return J(r,{code:O.invalid_type,expected:z.object,received:r.parsedType}),ie;let s=[],i=this._def.keyType,a=this._def.valueType;for(let c in r.data)s.push({key:i._parse(new vn(r,c,r.path,c)),value:a._parse(new vn(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?mt.mergeObjectAsync(n,s):mt.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof Ce?new t({keyType:e,valueType:n,typeName:Ae.ZodRecord,...me(r)}):new t({keyType:Ps.create(),valueType:e,typeName:Ae.ZodRecord,...me(n)})}},Fa=class extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.map)return J(r,{code:O.invalid_type,expected:z.map,received:r.parsedType}),ie;let s=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([c,A],l)=>({key:s._parse(new vn(r,c,r.path,[l,"key"])),value:i._parse(new vn(r,A,r.path,[l,"value"]))}));if(r.common.async){let c=new Map;return Promise.resolve().then(async()=>{for(let A of a){let l=await A.key,p=await A.value;if(l.status==="aborted"||p.status==="aborted")return ie;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}})}else{let c=new Map;for(let A of a){let l=A.key,p=A.value;if(l.status==="aborted"||p.status==="aborted")return ie;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}}}};Fa.create=(t,e,n)=>new Fa({valueType:e,keyType:t,typeName:Ae.ZodMap,...me(n)});var Ma=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.set)return J(r,{code:O.invalid_type,expected:z.set,received:r.parsedType}),ie;let s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(J(r,{code:O.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(J(r,{code:O.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());let i=this._def.valueType;function a(A){let l=new Set;for(let p of A){if(p.status==="aborted")return ie;p.status==="dirty"&&n.dirty(),l.add(p.value)}return{status:n.value,value:l}}let c=[...r.data.values()].map((A,l)=>i._parse(new vn(r,A,r.path,l)));return r.common.async?Promise.all(c).then(A=>a(A)):a(c)}min(e,n){return new t({...this._def,minSize:{value:e,message:Z.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:Z.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Ma.create=(t,e)=>new Ma({valueType:t,minSize:null,maxSize:null,typeName:Ae.ZodSet,...me(e)});var Td=class t extends Ce{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.function)return J(n,{code:O.invalid_type,expected:z.function,received:n.parsedType}),ie;function r(c,A){return Qu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ra(),Zr].filter(l=>!!l),issueData:{code:O.invalid_arguments,argumentsError:A}})}function s(c,A){return Qu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ra(),Zr].filter(l=>!!l),issueData:{code:O.invalid_return_type,returnTypeError:A}})}let i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof $s){let c=this;return Qt(async function(...A){let l=new Jt([]),p=await c._def.args.parseAsync(A,i).catch(C=>{throw l.addIssue(r(A,C)),l}),h=await Reflect.apply(a,this,p);return await c._def.returns._def.type.parseAsync(h,i).catch(C=>{throw l.addIssue(s(h,C)),l})})}else{let c=this;return Qt(function(...A){let l=c._def.args.safeParse(A,i);if(!l.success)throw new Jt([r(A,l.error)]);let p=Reflect.apply(a,this,l.data),h=c._def.returns.safeParse(p,i);if(!h.success)throw new Jt([s(p,h.error)]);return h.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:yr.create(e).rest(es.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new t({args:e||yr.create([]).rest(es.create()),returns:n||es.create(),typeName:Ae.ZodFunction,...me(r)})}},no=class extends Ce{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};no.create=(t,e)=>new no({getter:t,typeName:Ae.ZodLazy,...me(e)});var ro=class extends Ce{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return J(n,{received:n.data,code:O.invalid_literal,expected:this._def.value}),ie}return{status:"valid",value:e.data}}get value(){return this._def.value}};ro.create=(t,e)=>new ro({value:t,typeName:Ae.ZodLiteral,...me(e)});function jx(t,e){return new so({values:t,typeName:Ae.ZodEnum,...me(e)})}var so=class t extends Ce{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),r=this._def.values;return J(n,{expected:Qe.joinValues(r),received:n.parsedType,code:O.invalid_type}),ie}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),r=this._def.values;return J(n,{received:n.data,code:O.invalid_enum_value,options:r}),ie}return Qt(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}};so.create=jx;var io=class extends Ce{_parse(e){let n=Qe.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==z.string&&r.parsedType!==z.number){let s=Qe.objectValues(n);return J(r,{expected:Qe.joinValues(s),received:r.parsedType,code:O.invalid_type}),ie}if(this._cache||(this._cache=new Set(Qe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let s=Qe.objectValues(n);return J(r,{received:r.data,code:O.invalid_enum_value,options:s}),ie}return Qt(e.data)}get enum(){return this._def.values}};io.create=(t,e)=>new io({values:t,typeName:Ae.ZodNativeEnum,...me(e)});var $s=class extends Ce{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.promise&&n.common.async===!1)return J(n,{code:O.invalid_type,expected:z.promise,received:n.parsedType}),ie;let r=n.parsedType===z.promise?n.data:Promise.resolve(n.data);return Qt(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}};$s.create=(t,e)=>new $s({type:t,typeName:Ae.ZodPromise,...me(e)});var Rn=class extends Ce{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ae.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:a=>{J(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){let a=s.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async c=>{if(n.value==="aborted")return ie;let A=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return A.status==="aborted"?ie:A.status==="dirty"?ji(A.value):n.value==="dirty"?ji(A.value):A});{if(n.value==="aborted")return ie;let c=this._def.schema._parseSync({data:a,path:r.path,parent:r});return c.status==="aborted"?ie:c.status==="dirty"?ji(c.value):n.value==="dirty"?ji(c.value):c}}if(s.type==="refinement"){let a=c=>{let A=s.refinement(c,i);if(r.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){let c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?ie:(c.status==="dirty"&&n.dirty(),a(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?ie:(c.status==="dirty"&&n.dirty(),a(c.value).then(()=>({status:n.value,value:c.value}))))}if(s.type==="transform")if(r.common.async===!1){let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Ls(a))return ie;let c=s.transform(a.value,i);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>Ls(a)?Promise.resolve(s.transform(a.value,i)).then(c=>({status:n.value,value:c})):ie);Qe.assertNever(s)}};Rn.create=(t,e,n)=>new Rn({schema:t,typeName:Ae.ZodEffects,effect:e,...me(n)});Rn.createWithPreprocess=(t,e,n)=>new Rn({schema:e,effect:{type:"preprocess",transform:t},typeName:Ae.ZodEffects,...me(n)});var kn=class extends Ce{_parse(e){return this._getType(e)===z.undefined?Qt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};kn.create=(t,e)=>new kn({innerType:t,typeName:Ae.ZodOptional,...me(e)});var Er=class extends Ce{_parse(e){return this._getType(e)===z.null?Qt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Er.create=(t,e)=>new Er({innerType:t,typeName:Ae.ZodNullable,...me(e)});var oo=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return n.parsedType===z.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};oo.create=(t,e)=>new oo({innerType:t,typeName:Ae.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...me(e)});var ao=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return xa(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Jt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Jt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};ao.create=(t,e)=>new ao({innerType:t,typeName:Ae.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...me(e)});var Ua=class extends Ce{_parse(e){if(this._getType(e)!==z.nan){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.nan,received:r.parsedType}),ie}return{status:"valid",value:e.data}}};Ua.create=t=>new Ua({typeName:Ae.ZodNaN,...me(t)});var Iq=Symbol("zod_brand"),bu=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},Su=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ie:i.status==="dirty"?(n.dirty(),ji(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{let s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?ie:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(e,n){return new t({in:e,out:n,typeName:Ae.ZodPipeline})}},co=class extends Ce{_parse(e){let n=this._def.innerType._parse(e),r=s=>(Ls(s)&&(s.value=Object.freeze(s.value)),s);return xa(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}};co.create=(t,e)=>new co({innerType:t,typeName:Ae.ZodReadonly,...me(e)});function Gx(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Jx(t,e={},n){return t?Os.create().superRefine((r,s)=>{let i=t(r);if(i instanceof Promise)return i.then(a=>{if(!a){let c=Gx(e,r),A=c.fatal??n??!0;s.addIssue({code:"custom",...c,fatal:A})}});if(!i){let a=Gx(e,r),c=a.fatal??n??!0;s.addIssue({code:"custom",...a,fatal:c})}}):Os.create()}var Bq={object:Wt.lazycreate},Ae;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Ae||(Ae={}));var wq=(t,e={message:`Input not instance of ${t.name}`})=>Jx(n=>n instanceof t,e),Wx=Ps.create,zx=Ji.create,Qq=Ua.create,bq=Wi.create,Kx=zi.create,Sq=Ki.create,kq=Da.create,vq=Zi.create,Rq=Xi.create,xq=Os.create,Tq=es.create,Dq=Wn.create,Nq=Na.create,Fq=ts.create,Mq=Wt.create,Uq=Wt.strictCreate,_q=eo.create,Lq=Rd.create,Pq=to.create,Oq=yr.create,$q=xd.create,Vq=Fa.create,Gq=Ma.create,Hq=Td.create,Yq=no.create,qq=ro.create,jq=so.create,Jq=io.create,Wq=$s.create,zq=Rn.create,Kq=kn.create,Zq=Er.create,Xq=Rn.createWithPreprocess,ej=Su.create,tj=()=>Wx().optional(),nj=()=>zx().optional(),rj=()=>Kx().optional(),sj={string:(t=>Ps.create({...t,coerce:!0})),number:(t=>Ji.create({...t,coerce:!0})),boolean:(t=>zi.create({...t,coerce:!0})),bigint:(t=>Wi.create({...t,coerce:!0})),date:(t=>Ki.create({...t,coerce:!0}))};var ij=ie;function oj(t){return t.issues.map(e=>{let n=e.path.map(s=>typeof s=="number"?`[${s}]`:`.${s}`).join("").replace(/^\./,""),r=n||"output";if(!/^(Expected |Required$|Invalid |String must|Array must|Number must)/.test(e.message))return`${r} ${e.message}`;switch(e.code){case"invalid_type":return n?e.expected==="object"?`${r} must be an object`:e.received==="undefined"?`${r} is required`:`${r} must be ${e.expected}, got ${e.received}`:"output is not a JSON object";case"invalid_enum_value":{let s=JSON.stringify(e.received),i=e.options.find(c=>typeof c=="string"&&typeof e.received=="string"&&e.received.startsWith(c)),a=i?` \u2014 you sent ${s}; the value must be exactly ${JSON.stringify(i)}, with any qualifier moved to a field that takes free text`:` \u2014 you sent ${s}`;return`${r} must be one of: ${e.options.join(", ")}${a}`}case"invalid_literal":return`${r} must be ${JSON.stringify(e.expected)}`;case"too_small":return e.type==="string"?`${r} must be a non-empty string`:`${r} must have at least ${e.minimum} item(s)`;case"unrecognized_keys":return`${r} has unknown key(s): ${e.keys.join(", ")}`;default:return`${r}: ${e.message}`}})}function ns(t,e){let n=t.safeParse(e);if(n.success)return{value:n.data,errors:[]};let r=(i,a)=>a.reduce((c,A)=>c&&typeof c=="object"?c[A]:void 0,i),s=n.error.issues.filter(i=>i.path.length&&r(e,i.path)===null);if(s.length===n.error.issues.length)try{let i=t.safeParse(s.reduce((a,{path:c})=>Zx(a,c),e));if(i.success)return{value:i.data,errors:[]}}catch{}return{errors:oj(n.error)}}function Zx(t,e){if(!e.length||!t||typeof t!="object")return t;let[n,...r]=e,s=Array.isArray(t)?t.slice():{...t};return r.length?s[n]=Zx(s[n],r):delete s[n],s}var v8=new Set(Object.values(Us));var R8=u.object({checks:u.array(u.object({repository:u.string().optional(),name:u.string().min(1),headSha:u.string().regex(/^[0-9a-f]{40}$|^[0-9a-f]{64}$/i),status:u.string().default("completed"),conclusion:u.string().nullable().optional(),url:u.string().optional(),summary:u.string().optional()}))});var Dd=["-c","core.fsmonitor=false"],aj=new Set(["GH_TOKEN","GITHUB_TOKEN","GH_ENTERPRISE_TOKEN","GITHUB_ENTERPRISE_TOKEN","ACTIONS_RUNTIME_TOKEN","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","SYSTEM_ACCESSTOKEN","SYSTEM_OIDCREQUESTURI","SKYRAMP_MCP_GITHUB_TOKEN","SSH_AUTH_SOCK","GIT_SSH","GIT_SSH_COMMAND","GITHUB_STEP_SUMMARY"]),cj=new Set(["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","AWS_PROFILE","AWS_WEB_IDENTITY_TOKEN_FILE","AWS_ROLE_ARN","AWS_ROLE_SESSION_NAME","AWS_CONTAINER_CREDENTIALS_FULL_URI","AWS_CONTAINER_CREDENTIALS_RELATIVE_URI","AWS_CONTAINER_AUTHORIZATION_TOKEN","AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"]);function zn(t=process.env,e,n="repo-command"){let r={};for(let[s,i]of Object.entries(t))n==="repo-command"&&cj.has(s)||(r[s]=i);Object.assign(r,e??{});for(let s of Object.keys(r))(aj.has(s)||s.startsWith("INPUT_"))&&delete r[s];return r}var _a=Re(require("path"));var P8=_a.join(".skyramp","workspace.yml");var uj={py:"python",go:"go",java:"java",kt:"kotlin",rb:"ruby",cs:"csharp",ts:"typescript",tsx:"typescript",js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",kts:"kotlin",rs:"rust",php:"php",scala:"scala",swift:"swift",ex:"elixir",exs:"elixir",dart:"dart",c:"c",h:"c",cpp:"cpp",cc:"cpp",cxx:"cpp",hpp:"cpp",hh:"cpp",groovy:"groovy"};var O8=new Set(Object.values(uj));var rs=(s=>(s.Clean="clean",s.RecipeDrift="recipe-drift",s.ChangeBrokeBringup="change-broke-bringup",s.BringupFailed="bringup-failed",s))(rs||{}),Vs=u.string().trim().min(1),lj=u.object({url:u.string().optional().describe("the URL probed, if the check is an HTTP request"),command:u.string().optional().describe("the command run, if the check is a script \u2014 preferred when auth is needed"),headers:u.record(u.string()).optional(),status:u.union([u.number(),u.string()]).optional().describe("expected HTTP status for a url check (default 200)"),output:Vs.describe("what the check returned, VERBATIM \u2014 the bytes, nothing appended; this gate RE-RUNS the check")}),hy=u.array(u.object({component:Vs.describe("a shared component listed above"),url:Vs.describe("the URL on the component's own origin (scheme, host and port) that answers with its deployed commit"),output:Vs.describe("what the URL returned, VERBATIM; this gate FETCHES each url")})).describe("only when shared components are listed above: one check per component whose deployed commit you found"),e0=u.object({schemaVersion:u.literal(1),baseUrls:u.record(u.string()).optional().describe("service \u2192 base URL of the running app; omit on a failed bring-up, never invent one"),health:lj.optional(),teardown:Vs.describe("command that tears the SUT down"),dependencies:u.record(u.boolean()).optional().describe("EVERY backing service: true = really deployed, false = mocked; REQUIRED when the app came up"),outcome:u.nativeEnum(rs).describe("clean | recipe-drift (you corrected the recipe) | change-broke-bringup (the PR broke it) | bringup-failed (environment, not the PR)"),recipeFixes:u.array(u.string()).optional().describe("required when outcome is recipe-drift: what was corrected"),bringupError:u.object({command:Vs,output:Vs}).optional().describe("required when bring-up failed: the exact failing command and what it printed"),suspectFiles:u.array(u.string()).optional().describe("required for change-broke-bringup: files THIS PR changed that the failure points at, relative to your working directory (a file in another checkout of the run: its absolute path)"),seeded:u.boolean(),startedAt:Vs.describe("ISO timestamp"),revisions:hy.optional()});var ku=(n=>(n.Full="full",n.Static="static",n))(ku||{}),Gs=(r=>(r.Contract="contract",r.Integration="integration",r.Ui="ui",r))(Gs||{}),vu=(i=>(i.OwnSurface="own_surface",i.StateReadBack="state_read_back",i.Referential="referential",i.Lifecycle="lifecycle",i.Boundaries="boundaries",i))(vu||{}),uo=(s=>(s.Update="update",s.Regenerate="regenerate",s.Delete="delete",s.Verify="verify",s))(uo||{}),Nd=(l=>(l.Equals="equals",l.NotEquals="not_equals",l.GreaterThan="greater_than",l.LessThan="less_than",l.Contains="contains",l.NotContains="not_contains",l.Matches="matches",l.Absent="absent",l.Present="present",l))(Nd||{});var fn=u.string().trim().min(1),pj=u.object({subject:fn.describe('what the test READS: a response field path, the literal "status", or the on-screen text for a ui case \u2014 the FINAL read in a multi-step case'),comparator:u.nativeEnum(Nd),value:u.union([u.string(),u.number(),u.boolean(),u.null()]).optional().describe("the ONE value a broken build would not produce; OMIT for absent/present")}),hj=u.object({test:fn.describe("existing test path, relative to its repository"),repository:fn.optional().describe("owner/repo the test lives in, when the run has several checkouts; omit for the working checkout"),action:u.nativeEnum(uo),evidence:fn.describe("why \u2014 drift vs the diff, or a finding"),covers_behaviors:u.array(u.string()).optional().describe("analyze behavior ids this maintenance covers")});var fj=u.object({surface:fn.describe("a surface from the list, copied verbatim"),axis:u.nativeEnum(vu)}),gj=u.object({id:fn.describe("short-slug, unique across generate[]"),type:u.nativeEnum(Gs),target:fn.describe('"METHOD /path", or a business-flow name'),from_finding:u.string().optional().describe("analyze finding id this case catches"),from_behavior:u.string().optional().describe("analyze behavior id this case pins"),derived_from:fj.optional().describe("the surface \xD7 axis this case pins when no analyze behavior or finding names it \u2014 one of the three is required"),rationale:fn.describe("why this test matters"),expected_observable:fn.describe("one sentence for a human: what a catching test asserts, and what a broken build does instead"),expected:pj.describe("the same intent AS DATA \u2014 see the rules below"),seededPrecondition:fn.optional().describe("seeded non-initial state + how to reach it; only when a seeded-state transition applies"),verifiable:u.boolean().describe("true only when a live SUT could confirm this test (full mode)")}),mj=u.object({covered:u.array(u.string()).optional(),abstain:u.string().optional()}).superRefine((t,e)=>{let n=Array.isArray(t.covered),r=typeof t.abstain=="string";if(n===r)return void e.addIssue({code:u.ZodIssueCode.custom,message:"must have exactly one of covered[] or abstain"});n&&t.covered.length===0&&e.addIssue({code:u.ZodIssueCode.custom,path:["covered"],message:"must list at least one id (else abstain)"}),r&&!t.abstain.trim()&&e.addIssue({code:u.ZodIssueCode.custom,path:["abstain"],message:"must give a reason"})}).describe('{ "covered": [ids] } OR { "abstain": "reason" } \u2014 exactly one'),yj=u.object({surface:fn.describe("a surface from the list, copied verbatim"),axes:u.object(Object.fromEntries(Object.values(vu).map(t=>[t,mj])))}),t0=u.object({schemaVersion:u.literal(1),mode:u.nativeEnum(ku),maintenance:u.array(hj),generate:u.array(gj),surfaces:u.array(yj).describe("one entry per changed surface in the list \u2014 none missing, none invented"),budget:u.object({total:u.number().describe("case count"),rationale:fn}),summary:fn.describe("one paragraph")});var Ao=(n=>(n.Ready="ready",n.Blocked="blocked",n))(Ao||{}),Je=u.string().trim().min(1),Ej=u.object({action:u.enum(["start","run","wait"]),text:Je,source:u.enum(["file","notes","testbot"]).describe("file: a file in the repository; notes: the Target's notes; testbot: Testbot's own finding"),file:Je.nullable().describe("the file the step came from, relative to the component's repository; null unless source is file")}).strict().refine(t=>t.source==="file"==(t.file!==null),{path:["file"],message:"a file exactly when the step came from one"}),Cj=/^[A-Za-z_][A-Za-z0-9_]*$/,La=/^(?!GITHUB_)(?!SKYRAMP_RUNNER_)[A-Z][A-Z0-9_]{0,99}$/,Pa=(a=>(a.VersionEndpoint="version_endpoint",a.DeployWorkflow="deploy_workflow",a.KubernetesLabels="kubernetes_labels",a.Command="command",a.Api="api",a.NotTracked="not_tracked",a))(Pa||{}),zt="shared",Ij=Je.refine(t=>{try{let e=new URL(t);return["http:","https:"].includes(e.protocol)&&!e.username&&!e.password}catch{return!1}},"an http(s) URL with no login in it"),Oa=u.object({address:Ij,readyWhen:Je.nullable(),credentials:u.array(u.string().regex(La)).max(50),revisionSources:u.array(u.object({method:u.nativeEnum(Pa),detail:Je.describe("what Testbot reads, such as GET /version or the deploy workflow's name; for not_tracked, why nothing shows it"),components:u.array(Je).min(1).describe("the components it tells the revision of, by name")}).strict()).max(50)}).strict(),fy={steps:u.array(Ej).max(20).optional().describe("how it starts, in order"),kind:u.enum(["web_app","service","database","external_service"]).optional(),from:u.object({file:Je,service:Je.nullable()}).strict().optional(),credentials:u.array(u.string().max(100).regex(Cj)).max(50).optional().describe("the Target's credentials this component's recipe uses: a sign-in (a test user, password or token) or an API key, which the workflow supplies from a GitHub Actions secret as the environment variable of the credential's name; give each name exactly as the recipe reads it. Names only, never a value, and not a secret the recipe generates itself")},Bj=u.object({name:Je,repository:Je.describe("owner/repo of the Target repository the component is built or started from, such as the one whose compose file starts its database"),healthy:u.boolean(),...fy,deployed:Je.nullable().optional().describe('only with "environment": the revision the component runs, as you read it from its revision source, or null when you could not tell')}),wj=u.object({component:Je,problem:Je,evidence:Je.describe("the exact command and output that shows it"),fix:Je.describe("what the user must provide, and where")}),Qj=u.object({framework:Je,file:Je.describe("the test file run, relative to its repository root"),result:u.enum(["pass","fail","error"])}),bj=u.object({input:Je.describe("the part of the user's SUT input, as given"),reason:Je}),n0=u.object({schemaVersion:u.literal(1),status:u.nativeEnum(Ao).describe("ready only if every component came up healthy and the recipe is written"),components:u.array(Bj),suites:u.array(Qj).default([]).describe("one run per test suite the Target's repositories have; empty when they have none"),inputsUsed:u.array(Je).default([]).describe("the parts of the user's SUT input the recipe used as given"),inputsUsedHow:u.array(u.object({input:Je.describe("exactly as written in inputsUsed; an entry that is not there is left out"),how:Je.describe("what the recipe did with it")})).optional(),inputsNotUsed:u.array(bj).default([]).describe("the parts it did not use, and why. A part that is wrong goes here, with what was wrong, even when the recipe does something like it instead: one that names a file, command, port, route or setting that does not exist or does not work"),blockers:u.array(wj).describe("required (non-empty) when status is blocked"),environment:Oa.optional().describe("only when the whole SUT is an existing deployment you tested where it runs, building and starting nothing: its address, what says it is ready, the credentials that reach it, and how to read what each component runs. Leave it out when any part was built or started on the runner, or reaching it needed something there (a tunnel, port-forward, proxy or client certificate)")});var Ru=64*1024,xu=512*1024,gy=/[\u0000-\u0008\u000b\u000e-\u001f\u007f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/;var r0=".skyramp/sut/deployed-revisions.sh",my=(n=>(n.Running="running",n.Requested="requested",n))(my||{});var t5=new Set(Object.values(my));var n5=`Fix ${r0} so it prints the full commit each component runs, then set it up again.`;var Ey="shared-environment";var h5=64*1024;var f5=new Set(["version_endpoint","api"]);function Md(t){return(t?.components??[]).filter(e=>!!e.repository&&!!e.expectedRevision)}function s0(t){return Md(t).length>0||(t?.dependencies.length??0)>0}function vj(t){let e=t.inputs?.sharedEnvironment;if(!s0(e))return;let n=Sn(t,`${Ey}.json`);if(n)return{components:Rj(e,n.components),dependencies:n.dependencies};let r="Not checked: the run ended before it checked the shared environment.";return{components:Md(e).map(s=>i0(s,r)),dependencies:e.dependencies.map(s=>({name:s.name,url:s.url,version:null,evidence:r}))}}var i0=(t,e)=>({name:t.name,repository:t.repository,url:t.url,expectedRevision:t.expectedRevision,observedRevision:null,status:"unverifiable",source:t.revisionUrl||t.revisionScript?"probe":"agent",evidence:e});function Rj(t,e){let n=new Set(e.map(s=>s.name.toLowerCase())),r=Md(t).filter(s=>s.touched&&!n.has(s.name.toLowerCase()));return[...e,...r.map(s=>i0(s,"Not checked: the run recorded no read of it."))]}function Cy(t){return(vj(t)?.components??[]).filter(e=>e.status!=="verified")}function Iy(t){return(t?.components??[]).filter(e=>!!e.repository&&!e.expectedRevision)}function Qy(t){return a0(t)&&Cy(t).length===0&&Iy(t.inputs?.sharedEnvironment).length===0}function a0(t){let e=Mj(t);if(!e&&t.state.stages.deploy?.status!=="passed")return!1;let n=Sn(t,"deploy.json");return n?n.outcome==="clean"||n.outcome==="recipe-drift":!e}function Mj(t){let e=t.state.stages.plan,n=t.state.stages.deploy;return!(t.inputs?.pipeline?t.inputs.pipeline==="two-step":!n)||e?.status!=="passed"?!1:!n||n.updatedAt<=e.updatedAt}var $a=(a=>(a.Place="place",a.Update="update",a.Regenerate="regenerate",a.Delete="delete",a.Verify="verify",a.None="none",a))($a||{}),Kn=(r=>(r.Pass="pass",r.Fail="fail",r.Skip="skip",r))(Kn||{}),xn=u.string().trim().min(1),c0=u.object({case:xn.describe("a covers id \u2014 the recommend case this test realizes"),status:u.nativeEnum(Kn)}),u0=u.object({exit:u.number({invalid_type_error:"must be a number or null"}).nullable().describe("process exit of the re-run; null when no SUT was available"),details:u.string().optional().describe("what failed, or why a file was not run \u2014 required on any non-zero exit"),tests:u.array(c0).optional().describe("ONE ENTRY PER CASE the file covers; must agree with exit (0 \u2192 no fail; non-zero \u2192 at least one)")}),A0=u.object({from:u.string().optional().describe("staged path \u2014 required for placements"),file:xn.describe("final path relative to its repository, inside that checkout, with a source-file extension"),repository:xn.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),action:u.nativeEnum($a),covers:u.array(u.string()).optional().describe("recommend ids a placed test covers"),repro:u.boolean().optional().describe("this test is MEANT to fail \u2014 it reproduces a reported bug"),finding:u.boolean().optional().describe("a non-repro test that failed on a REAL product bug"),placementBroken:u.boolean().optional().describe('placement/harness problem one repair could not fix \u2014 every reran.tests entry is then "skip"'),keptReason:xn.optional().describe("why a planned delete/regenerate was declined and the file kept"),isolatedRun:xn.optional().describe('only for a test marked "runs alone": the command, from its checkout root and without a shell, that runs only this file and writes its JUnit XML into $SKYRAMP_RESULTS_DIR (named by its path: no shell expands it) \u2014 the harness runs it, so leave reran.exit null'),reran:u0,assertionCount:u.number().int().nonnegative().optional().describe("[derived] assertions reachable from the file, counted at write time")}).refine(t=>t.action!=="place"||typeof t.from=="string"&&t.from.trim().length>0,{message:'is a place but has no "from" staged path',path:[]}),l0=(n=>(n.Junit="junit",n.Converter="converter",n))(l0||{}),Uj=xn.optional().describe("the items[].file this test is in \u2014 needed only when two of this suite's files cover the same case id"),_j=u.object({results:xn.describe("the JUnit XML file this run wrote, a plain file name inside $SKYRAMP_RESULTS_DIR (e.g. backend.xml)"),source:u.nativeEnum(l0),run:xn.describe("the command you ran that wrote it, exactly as you ran it (with any converter)"),files:u.array(xn).min(1).describe("the items[].file paths this run covered"),cases:u.array(u.object({test:xn.describe("the test's name as the runner reports it, qualified by its class or file (e.g. tests/test_a.py::test_x) when the bare name repeats"),case:xn.describe("the covers id it realizes"),file:Uj})).describe("map each reported test name to the case it covers")}),Lj=u.object({suites:u.array(_j).min(1)}),by=u.object({schemaVersion:u.literal(1),items:u.array(A0),runnerResults:Lj.optional().describe("the JUnit XML your test runs wrote into $SKYRAMP_RESULTS_DIR, so the harness reads each test's result from the runner \u2014 omit only when no SUT is available"),ignored:u.array(u.string()).describe("existing tests assessed and deliberately left untouched"),summary:xn.describe("one paragraph")});var Z5=10*6e4;var po=Re(require("fs"));function p0(t){let e=[];for(let n of Hj(t)){let r=n;r?.type==="tool_use"&&typeof r.name=="string"&&e.push(r.name)}return e}function h0(t){return p0(t).some(e=>/^mcp__skyramp__skyramp_(contract|integration)_test_generation$/.test(e))}function f0(t){return p0(t).some(e=>e==="mcp__skyramp__skyramp_ui_test_generation")}function Gj(t){if(!po.existsSync(t))return{};for(let e of po.readFileSync(t,"utf-8").split(`
|
|
115
|
+
`+d.slice(I+1):N+=d.slice(b),N.slice(1)}function dt(d){let m="",y=0;for(let Q=0;Q<d.length;y>=65536?Q+=2:Q++){y=ze(d,Q);let b=fe[y];!b&&At(y)?(m+=d[Q],y>=65536&&(m+=d[Q+1])):m+=b||st(y)}return m}function Ks(d,m,y){let Q="",b=d.tag;for(let k=0,I=y.length;k<I;k+=1){let R=y[k];d.replacer&&(R=d.replacer.call(y,String(k),R)),(f(d,m,R,!1,!1)||typeof R>"u"&&f(d,m,null,!1,!1))&&(Q!==""&&(Q+=","+(d.condenseFlow?"":" ")),Q+=d.dump)}d.tag=b,d.dump="["+Q+"]"}function _n(d,m,y,Q){let b="",k=d.tag;for(let I=0,R=y.length;I<R;I+=1){let N=y[I];d.replacer&&(N=d.replacer.call(y,String(I),N)),(f(d,m+1,N,!0,!0,!1,!0)||typeof N>"u"&&f(d,m+1,null,!0,!0,!1,!0))&&((!Q||b!=="")&&(b+=Xt(d,m)),d.dump&&c===d.dump.charCodeAt(0)?b+="-":b+="- ",b+=d.dump)}d.tag=k,d.dump=b||"[]"}function Zs(d,m,y){let Q="",b=d.tag,k=Object.keys(y);for(let I=0,R=k.length;I<R;I+=1){let N="";Q!==""&&(N+=", "),d.condenseFlow&&(N+='"');let M=k[I],_=y[M];d.replacer&&(_=d.replacer.call(y,M,_)),f(d,m,M,!1,!1)&&(d.dump.length>1024&&(N+="? "),N+=d.dump+(d.condenseFlow?'"':"")+":"+(d.condenseFlow?"":" "),f(d,m,_,!1,!1)&&(N+=d.dump,Q+=N))}d.tag=b,d.dump="{"+Q+"}"}function Xs(d,m,y,Q){let b="",k=d.tag,I=Object.keys(y);if(d.sortKeys===!0)I.sort();else if(typeof d.sortKeys=="function")I.sort(d.sortKeys);else if(d.sortKeys)throw new e("sortKeys must be a boolean or a function");for(let R=0,N=I.length;R<N;R+=1){let M="";(!Q||b!=="")&&(M+=Xt(d,m));let _=I[R],G=y[_];if(d.replacer&&(G=d.replacer.call(y,_,G)),!f(d,m+1,_,!0,!0,!0))continue;let q=d.tag!==null&&d.tag!=="?"||d.dump&&d.dump.length>1024;q&&(d.dump&&c===d.dump.charCodeAt(0)?M+="?":M+="? "),M+=d.dump,q&&(M+=Xt(d,m)),f(d,m+1,G,!0,q)&&(d.dump&&c===d.dump.charCodeAt(0)?M+=":":M+=": ",M+=d.dump,b+=M)}d.tag=k,d.dump=b||"{}"}function o(d,m,y){let Q=y?d.explicitTypes:d.implicitTypes;for(let b=0,k=Q.length;b<k;b+=1){let I=Q[b];if((I.instanceOf||I.predicate)&&(!I.instanceOf||typeof m=="object"&&m instanceof I.instanceOf)&&(!I.predicate||I.predicate(m))){if(y?I.multi&&I.representName?d.tag=I.representName(m):d.tag=I.tag:d.tag="?",I.represent){let R=d.styleMap[I.tag]||I.defaultStyle,N;if(r.call(I.represent)==="[object Function]")N=I.represent(m,R);else if(s.call(I.represent,R))N=I.represent[R](m,R);else throw new e("!<"+I.tag+'> tag resolver accepts not "'+R+'" style');d.dump=N}return!0}}return!1}function f(d,m,y,Q,b,k,I){d.tag=null,d.dump=y,o(d,y,!1)||o(d,y,!0);let R=r.call(d.dump),N=Q;Q&&(Q=d.flowLevel<0||d.flowLevel>m);let M=R==="[object Object]"||R==="[object Array]",_,G;if(M&&(_=d.duplicates.indexOf(y),G=_!==-1),(d.tag!==null&&d.tag!=="?"||G||d.indent!==2&&m>0)&&(b=!1),G&&d.usedDuplicates[_])d.dump="*ref_"+_;else{if(M&&G&&!d.usedDuplicates[_]&&(d.usedDuplicates[_]=!0),R==="[object Object]")Q&&Object.keys(d.dump).length!==0?(Xs(d,m,d.dump,b),G&&(d.dump="&ref_"+_+d.dump)):(Zs(d,m,d.dump),G&&(d.dump="&ref_"+_+" "+d.dump));else if(R==="[object Array]")Q&&d.dump.length!==0?(d.noArrayIndent&&!I&&m>0?_n(d,m-1,d.dump,b):_n(d,m,d.dump,b),G&&(d.dump="&ref_"+_+d.dump)):(Ks(d,m,d.dump),G&&(d.dump="&ref_"+_+" "+d.dump));else if(R==="[object String]")d.tag!=="?"&&kr(d,d.dump,m,k,N);else{if(R==="[object Undefined]")return!1;if(d.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+R)}if(d.tag!==null&&d.tag!=="?"){let q=encodeURI(d.tag[0]==="!"?d.tag.slice(1):d.tag).replace(/!/g,"%21");d.tag[0]==="!"?q="!"+q:q.slice(0,18)==="tag:yaml.org,2002:"?q="!!"+q.slice(18):q="!<"+q+">",d.dump=q+" "+d.dump}}return!0}function B(d,m){let y=[],Q=[];w(d,y,Q);let b=Q.length;for(let k=0;k<b;k+=1)m.duplicates.push(y[Q[k]]);m.usedDuplicates=new Array(b)}function w(d,m,y){if(d!==null&&typeof d=="object"){let Q=m.indexOf(d);if(Q!==-1)y.indexOf(Q)===-1&&y.push(Q);else if(m.push(d),Array.isArray(d))for(let b=0,k=d.length;b<k;b+=1)w(d[b],m,y);else{let b=Object.keys(d);for(let k=0,I=b.length;k<I;k+=1)w(d[b[k]],m,y)}}}function E(d,m){m=m||{};let y=new Ws(m);y.noRefs||B(d,y);let Q=d;return y.replacer&&(Q=y.replacer.call({"":Q},"",Q)),f(y,0,Q,!0,!0)?y.dump+`
|
|
116
|
+
`:""}return ry.dump=E,ry}var dx;function VY(){if(dx)return wt;dx=1;let t=OY(),e=$Y();function n(r,s){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+s+" instead, which is now safe by default.")}}return wt.Type=Ft(),wt.Schema=px(),wt.FAILSAFE_SCHEMA=mx(),wt.JSON_SCHEMA=Bx(),wt.CORE_SCHEMA=wx(),wt.DEFAULT_SCHEMA=sy(),wt.load=t.load,wt.loadAll=t.loadAll,wt.dump=e.dump,wt.YAMLException=gu(),wt.types={binary:Sx(),float:Ix(),map:gx(),null:yx(),pairs:vx(),set:Rx(),timestamp:Qx(),bool:Ex(),int:Cx(),merge:bx(),omap:kx(),seq:fx(),str:hx()},wt.safeLoad=n("safeLoad","load"),wt.safeLoadAll=n("safeLoadAll","loadAll"),wt.safeDump=n("safeDump","dump"),wt}var GY=VY(),HY=LY(GY),{Type:g4,Schema:m4,FAILSAFE_SCHEMA:y4,JSON_SCHEMA:xx,CORE_SCHEMA:E4,DEFAULT_SCHEMA:C4,load:mu,loadAll:YY,dump:I4,YAMLException:B4,types:w4,safeLoad:Q4,safeLoadAll:b4,safeDump:S4}=HY;var zr=t=>typeof t=="string"?t:void 0;function Dx(t){let e={services:[]},n;try{let A=Tx.readFileSync(t,"utf8");n=mu(A,{schema:xx})}catch(A){return Pe(`Lenient parse: failed to read/parse ${t}: ${A.message}`),e}if(!n||typeof n!="object"||Array.isArray(n))return Pe(`Lenient parse: ${t} did not contain a YAML object`),e;let r=n,s=r.metadata&&typeof r.metadata=="object"?r.metadata:void 0,i=s?{executorVersion:zr(s.executorVersion),mcpVersion:zr(s.mcpVersion)}:void 0,c=(Array.isArray(r.services)?r.services:[]).reduce((A,l,p)=>{if(!l||typeof l!="object"||Array.isArray(l))return Pe(`Lenient parse: services[${p}] is not an object \u2014 skipping`),A;let h=l,g=zr(h.serviceName);if(!g)return Pe(`Lenient parse: services[${p}] missing or non-string serviceName \u2014 skipping`),A;let C=h.api&&typeof h.api=="object"?h.api:void 0,S=h.runtimeDetails&&typeof h.runtimeDetails=="object"?h.runtimeDetails:void 0;return A.push({serviceName:g,language:zr(h.language),framework:zr(h.framework),testDirectory:zr(h.testDirectory),api:C?{baseUrl:zr(C.baseUrl)}:void 0,runtimeDetails:S?{serverStartCommand:zr(S.serverStartCommand),serverTeardownCommand:zr(S.serverTeardownCommand)}:void 0}),A},[]);return{metadata:i,services:c}}async function Fx(t){let e=Nx.resolve(t.workingDirectory),n=new gd(e),r=[],s=t.targetSetupCommand,i=t.targetTeardownCommand,a=t.skyrampExecutorVersion,c=t.skyrampMcpVersion;if(await n.exists()){Bn(`Found ${n.getConfigPath()}, loading workspace configuration...`);try{let l;try{l=await n.read()}catch(h){Pe(`${n.getConfigPath()} failed strict validation: ${h.message}. Re-reading with per-field lenient parse \u2014 invalid fields will fall back to action input defaults.`),l=Dx(n.getConfigPath())}l.metadata&&(!a&&l.metadata.executorVersion&&(a=l.metadata.executorVersion),!c&&l.metadata.mcpVersion&&(c=l.metadata.mcpVersion));for(let h of l.services??[])r.push({serviceName:h.serviceName,language:h.language,framework:h.framework,baseUrl:h.api?.baseUrl,testDirectory:h.testDirectory});let p=(l.services??[])[0];if(p){!s&&p.runtimeDetails?.serverStartCommand&&(s=p.runtimeDetails.serverStartCommand);let h=p.runtimeDetails?.serverTeardownCommand;!i&&typeof h=="string"&&(i=h)}}catch(l){Pe(`Failed to parse ${n.getConfigPath()}: ${l.message} \u2014 falling back to action input defaults`)}}else au("No .skyramp/workspace.yml found, using action input defaults");a||(a="v1.3.54"),c||(c="latest"),s||(s="docker compose up -d --build");let A={targetSetupCommand:s,authTokenCommand:t.authTokenCommand,targetTeardownCommand:i,skipTargetTeardown:t.skipTargetTeardown,skyrampExecutorVersion:a,skyrampMcpVersion:c,skyrampMcpSource:t.skyrampMcpSource,skyrampMcpGithubRef:t.skyrampMcpGithubRef,nodeVersion:t.nodeVersion,skipTargetSetup:t.skipTargetSetup,targetReadyCheckCommand:t.targetReadyCheckCommand,targetReadyCheckTimeout:t.targetReadyCheckTimeout,targetReadyCheckInterval:t.targetReadyCheckInterval,targetReadyCheckDiagnosticsCommand:t.targetReadyCheckDiagnosticsCommand,autoCommit:t.autoCommit,commitMessage:t.commitMessage,generatedTestsMode:t.generatedTestsMode,postPrComment:t.postPrComment,testExecutionTimeout:t.testExecutionTimeout,maxRecommendations:t.maxRecommendations,maxGenerate:t.maxGenerate,perTestMaxFixAttempts:t.perTestMaxFixAttempts,testbotMaxRetries:t.testbotMaxRetries,testbotRetryDelay:t.testbotRetryDelay,testbotTimeout:t.testbotTimeout,targetSetupRetries:t.targetSetupRetries,targetSetupRetryDelay:t.targetSetupRetryDelay,authTokenRetries:t.authTokenRetries,authTokenRetryDelay:t.authTokenRetryDelay,reportCollapsed:t.reportCollapsed,language:t.language,enableDebug:t.enableDebug,testRepoPath:t.testRepoPath,relatedRepoPaths:t.relatedRepoPaths,services:r};Xl("Resolved configuration");for(let[l,p]of Object.entries(A))l==="authTokenCommand"?Bn(` ${l}: [REDACTED]`):l==="services"?Bn(` ${l}: ${JSON.stringify(p)}`):Bn(` ${l}: ${p}`);return ed(),A}Dt();Dt();zg();var _x=Re(require("child_process")),iy=class extends Error{constructor(e){super(e),this.name="ExecTimeoutError"}},Ed=class extends Error{constructor(e){super(e),this.name="ExecAbortedError"}};function Mx(t,e){if(!(!t||t.destroyed||t.writableEnded))try{t.write(e)}catch(n){Pe(`stream write failed: ${n instanceof Error?n.message:String(n)}`)}}async function Ux(t,e=[],n={}){let r="",s="",i={cwd:n.cwd,silent:n.silent??!1,ignoreReturnCode:n.ignoreReturnCode??!1,env:n.env?{...process.env,...n.env}:void 0,input:n.input,listeners:{stdout:c=>{r+=c.toString(),Mx(n.stdoutStream,c)},stderr:c=>{s+=c.toString()}}};if(n.timeout||n.signal){let c=n.signal;return c?.aborted?Promise.reject(new Ed(`Command aborted before start: ${t}`)):new Promise((A,l)=>{let p=_x.spawn(t,e,{cwd:n.cwd,env:n.env?{...process.env,...n.env}:process.env,stdio:["pipe","pipe","pipe"],shell:!1});p.stdout?.on("data",v=>{r+=v.toString(),n.silent||process.stdout.write(v),Mx(n.stdoutStream,v)}),p.stderr?.on("data",v=>{s+=v.toString(),n.silent||process.stderr.write(v)}),n.input&&p.stdin?.end(n.input);let h=()=>{S&&clearTimeout(S),c?.removeEventListener("abort",C)},g=v=>{h();try{p.kill("SIGTERM")}catch{}l(v)},C=()=>g(new Ed(`Command aborted: ${t}`)),S=n.timeout?setTimeout(()=>g(new iy(`Command timed out after ${Math.round(n.timeout/6e4)}m: ${t}`)),n.timeout):void 0;c?.addEventListener("abort",C,{once:!0}),p.on("close",v=>{h();let T=v??1;T!==0&&!n.ignoreReturnCode?l(new Error(`The process '${t}' failed with exit code ${T}`)):A({exitCode:T,stdout:r,stderr:s})}),p.on("error",v=>{h(),l(v)})})}return{exitCode:await fv(t,e,i),stdout:r,stderr:s}}async function Lx(t,e){Xl(t);try{return await e()}finally{ed()}}async function Px(t,e){await Lx("Tearing down services",async()=>{if(t.skipTargetTeardown){au("Skipping service teardown (skipTargetTeardown=true)");return}if(!t.targetTeardownCommand){Bn("No targetTeardownCommand configured, skipping teardown");return}Bn(`Running teardown command: ${t.targetTeardownCommand}`);try{await Ux("bash",["-c",t.targetTeardownCommand],{cwd:e}),au("Services torn down successfully")}catch(n){let r=n instanceof Error?n.message:String(n);Pe(`Service teardown command failed (non-fatal): ${r}`)}})}Dt();Dt();var qi=(i=>(i.NotFound="not_found",i.NoAccess="no_access",i.Unavailable="unavailable",i.AccessLost="access_lost",i.CannotOpen="cannot_open",i))(qi||{});var oy=t=>`${t.source}:${t.site??""}:${t.key}`;var Cd=/^pasted-[0-9a-f]{16}$/,yu=/^file-[0-9a-f]{16}$/,Eu=(s=>(s.Pdf="application/pdf",s.Csv="text/csv",s.Docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",s.Xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",s))(Eu||{});var ay=(r=>(r.New="new",r.Updated="updated",r.Existing="existing",r))(ay||{}),Sa=(r=>(r.Sufficient="sufficient",r.Insufficient="insufficient",r.NoChange="no_change",r))(Sa||{}),ka=(T=>(T.RelatedChangeConflict="related_change_conflict",T.ReferenceOutsideTarget="reference_outside_target",T.SourceAccessLost="source_access_lost",T.ConfigurationIncomplete="configuration_incomplete",T.CredentialUnavailable="credential_unavailable",T.WorkflowBindingUnverified="workflow_binding_unverified",T.WorkflowRefUnprotected="workflow_ref_unprotected",T.BedrockWorkflowRequired="bedrock_workflow_required",T.DeploymentReview="deployment_review",T.SutRevisionMismatch="sut_revision_mismatch",T.IsolationUnavailable="isolation_unavailable",T.EvidenceInsufficient="evidence_insufficient",T.ConfigurationUnresolved="configuration_unresolved",T.ModelProviderDenied="model_provider_denied",T.ModelProviderUnavailable="model_provider_unavailable",T.RunnerProviderNotReady="runner_provider_not_ready",T))(ka||{}),_s=(i=>(i.CiCheck="ci_check",i.TestReport="test_report",i.StaticAnalysis="static_analysis",i.CodeReview="code_review",i.Other="other",i))(_s||{}),cy=(r=>(r.Application="application",r.Environment="environment",r.TestDefect="test_defect",r))(cy||{}),uy=(c=>(c.AuthToken="auth_token",c.Secret="secret",c.DataConnection="data_connection",c.AppNotStarted="app_not_started",c.Login="login",c.ExternalDependency="external_dependency",c.RecordingReplay="recording_replay",c))(uy||{});var Id=(n=>(n.Probe="probe",n.Agent="agent",n))(Id||{}),Bd=(r=>(r.Seed="seed",r.RuntimeMock="runtime_mock",r.EnvOverride="env_override",r))(Bd||{}),wd=(r=>(r.TestCode="test_code",r.SkyrampMocker="skyramp_mocker",r.RecipeOverride="recipe_override",r))(wd||{});var jY=["generate-unit","native-run"],U4=["preflight","plan","write",...jY,"report","deliver"];var Qd=(r=>(r.Unit="unit",r.Integration="integration",r.E2e="e2e",r))(Qd||{});var bd="\xABredacted\xBB";function Kr(t,e){if(!t||e.length===0)return t;let n=t;for(let r of e)!r||!n.includes(r)||(n=n.split(r).join(bd));return n}var H4=new TextDecoder("utf-8",{fatal:!0});function jt(t,e=[]){let n=t.trim();if(!n)return{error:"session produced no output"};let r=A=>{try{let l=JSON.parse(A);return typeof l=="object"&&l!==null&&!Array.isArray(l)?l:void 0}catch{return}},s=r(n);if(s!==void 0)return{value:s};let i;if(n.startsWith("{")&&n.endsWith("}"))try{JSON.parse(n)}catch(A){i=A instanceof Error?A.message:String(A)}let a=[...n.matchAll(/```(?:json)?\s*\n([\s\S]*?)```/g)];for(let A=a.length-1;A>=0;A--){let l=r(a[A][1].trim());if(l!==void 0)return{value:l}}let c;for(let A=n.indexOf("{");A!==-1;A=n.indexOf("{",A+1)){let l=0,p=!1,h=!1;for(let g=A;g<n.length;g++){let C=n[g];if(h){h=!1;continue}if(C==="\\"){h=p;continue}if(C==='"'){p=!p;continue}if(!p){if(C==="{")l++;else if(C==="}"&&(l--,l===0)){let S=r(n.slice(A,g+1));S!==void 0&&Object.keys(S).length>0&&(c=S,A=g);break}}}}return i&&(c===void 0||Object.keys(c).length<3)?{error:`final message is not valid JSON \u2014 ${i}. Most often an unescaped double quote inside a string (e.g. in "summary" or "evidence"): escape it as \\" or use single quotes in prose`}:c!==void 0?{value:c}:i?{error:`final message is not valid JSON \u2014 ${i}. Most often an unescaped double quote inside a string (e.g. in "summary" or "evidence"): escape it as \\" or use single quotes in prose`}:{error:`no parseable JSON object found in session output \u2014 the final message was: "${JY(Kr(n,e))}"`}}var Ox=240;function JY(t){let e=t.replace(/\s+/g," ").trim();return e.length<=Ox?e:`\u2026${e.slice(-Ox)}`}var Iu=Re(require("fs")),Bu=Re(require("path"));var WY=8;function Mt(t,e,n={}){let r=e.slice(0,WY),s=e.length-r.length;return{name:t,passed:!1,details:r.join("; ")+(s>0?`; \u2026and ${s} more`:""),...n.fatal?{fatal:!0}:{}}}function va(t){if(Iu.existsSync(t))try{return JSON.parse(Iu.readFileSync(t,"utf-8"))}catch{return}}function Sn(t,e){return va(Bu.join(t.outputsDir,e))}function Us(t,e){return{name:t,verify(n,r){let{errors:s}=e(n,r);return s.length===0?{name:this.name,passed:!0}:Mt(this.name,s,{fatal:!0})}}}function wu(t){return t.replace(/\s+/g," ").trim()}var Sd=new RegExp("(^|/)("+["test_[^/]+\\.py","[^/]+_test\\.py","[^/]+\\.(spec|test)\\.[cm]?[jt]sx?","[^/]+\\.e2e-(spec|test)\\.[cm]?[jt]sx?","[^/]+_test\\.go","[^/]+Tests?\\.(java|kts?)","[^/]+_(test|spec)\\.rb","[^/]+\\.feature","[^/]+Tests?\\.cs","[^/]+_test\\.rs","tests/[^/]+\\.rs","[^/]+Test\\.php","[^/]+(Test|Spec|Suite)\\.scala","[^/]+Tests?\\.swift","[^/]+_test\\.exs","[^/]+_test\\.dart","[^/]+_test\\.(c|cc|cpp|cxx)","test_[^/]+\\.(c|cc|cpp|cxx)","[^/]+(Spec|Test)\\.groovy"].join("|")+")$","i");var u={};ip(u,{BRAND:()=>Iq,DIRTY:()=>ji,EMPTY_PATH:()=>XY,INVALID:()=>ie,NEVER:()=>ij,OK:()=>Qt,ParseStatus:()=>mt,Schema:()=>Ce,ZodAny:()=>Os,ZodArray:()=>ts,ZodBigInt:()=>Wi,ZodBoolean:()=>zi,ZodBranded:()=>bu,ZodCatch:()=>ao,ZodDate:()=>Ki,ZodDefault:()=>oo,ZodDiscriminatedUnion:()=>Rd,ZodEffects:()=>Rn,ZodEnum:()=>so,ZodError:()=>Jt,ZodFirstPartyTypeKind:()=>Ae,ZodFunction:()=>Td,ZodIntersection:()=>to,ZodIssueCode:()=>O,ZodLazy:()=>no,ZodLiteral:()=>ro,ZodMap:()=>Fa,ZodNaN:()=>_a,ZodNativeEnum:()=>io,ZodNever:()=>Wn,ZodNull:()=>Xi,ZodNullable:()=>Er,ZodNumber:()=>Ji,ZodObject:()=>Wt,ZodOptional:()=>kn,ZodParsedType:()=>z,ZodPipeline:()=>Su,ZodPromise:()=>$s,ZodReadonly:()=>co,ZodRecord:()=>xd,ZodSchema:()=>Ce,ZodSet:()=>Ma,ZodString:()=>Ps,ZodSymbol:()=>Da,ZodTransformer:()=>Rn,ZodTuple:()=>yr,ZodType:()=>Ce,ZodUndefined:()=>Zi,ZodUnion:()=>eo,ZodUnknown:()=>es,ZodVoid:()=>Na,addIssueToContext:()=>J,any:()=>xq,array:()=>Fq,bigint:()=>bq,boolean:()=>Kx,coerce:()=>sj,custom:()=>Jx,date:()=>Sq,datetimeRegex:()=>qx,defaultErrorMap:()=>Zr,discriminatedUnion:()=>Lq,effect:()=>zq,enum:()=>jq,function:()=>Hq,getErrorMap:()=>Ra,getParsedType:()=>mr,instanceof:()=>wq,intersection:()=>Pq,isAborted:()=>kd,isAsync:()=>xa,isDirty:()=>vd,isValid:()=>Ls,late:()=>Bq,lazy:()=>Yq,literal:()=>qq,makeIssue:()=>Qu,map:()=>Vq,nan:()=>Qq,nativeEnum:()=>Jq,never:()=>Dq,null:()=>Rq,nullable:()=>Zq,number:()=>zx,object:()=>Mq,objectUtil:()=>ly,oboolean:()=>rj,onumber:()=>nj,optional:()=>Kq,ostring:()=>tj,pipeline:()=>ej,preprocess:()=>Xq,promise:()=>Wq,quotelessJson:()=>zY,record:()=>$q,set:()=>Gq,setErrorMap:()=>ZY,strictObject:()=>_q,string:()=>Wx,symbol:()=>kq,transformer:()=>zq,tuple:()=>Oq,undefined:()=>vq,union:()=>Uq,unknown:()=>Tq,util:()=>Qe,void:()=>Nq});var Qe;(function(t){t.assertEqual=s=>{};function e(s){}t.assertIs=e;function n(s){throw new Error}t.assertNever=n,t.arrayToEnum=s=>{let i={};for(let a of s)i[a]=a;return i},t.getValidEnumValues=s=>{let i=t.objectKeys(s).filter(c=>typeof s[s[c]]!="number"),a={};for(let c of i)a[c]=s[c];return t.objectValues(a)},t.objectValues=s=>t.objectKeys(s).map(function(i){return s[i]}),t.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{let i=[];for(let a in s)Object.prototype.hasOwnProperty.call(s,a)&&i.push(a);return i},t.find=(s,i)=>{for(let a of s)if(i(a))return a},t.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}t.joinValues=r,t.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(Qe||(Qe={}));var ly;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(ly||(ly={}));var z=Qe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),mr=t=>{switch(typeof t){case"undefined":return z.undefined;case"string":return z.string;case"number":return Number.isNaN(t)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(t)?z.array:t===null?z.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?z.promise:typeof Map<"u"&&t instanceof Map?z.map:typeof Set<"u"&&t instanceof Set?z.set:typeof Date<"u"&&t instanceof Date?z.date:z.object;default:return z.unknown}};var O=Qe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),zY=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Jt=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(i){return i.message},r={_errors:[]},s=i=>{for(let a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(s);else if(a.code==="invalid_return_type")s(a.returnTypeError);else if(a.code==="invalid_arguments")s(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let c=r,A=0;for(;A<a.path.length;){let l=a.path[A],p=A===a.path.length-1;if(l==="_errors"){p&&c._errors.push(n(a)),A++;continue}Object.prototype.hasOwnProperty.call(c,l)||(l==="__proto__"?Object.defineProperty(c,l,{value:{_errors:[]},writable:!0,enumerable:!0,configurable:!0}):c[l]={_errors:[]}),c=c[l],p&&c._errors.push(n(a)),A++}}};return s(this),r}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Qe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){let n=Object.create(null),r=[];for(let s of this.issues)if(s.path.length>0){let i=s.path[0];n[i]=n[i]||[],n[i].push(e(s))}else r.push(e(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};Jt.create=t=>new Jt(t);var KY=(t,e)=>{let n;switch(t.code){case O.invalid_type:t.received===z.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case O.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Qe.jsonStringifyReplacer)}`;break;case O.unrecognized_keys:n=`Unrecognized key(s) in object: ${Qe.joinValues(t.keys,", ")}`;break;case O.invalid_union:n="Invalid input";break;case O.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Qe.joinValues(t.options)}`;break;case O.invalid_enum_value:n=`Invalid enum value. Expected ${Qe.joinValues(t.options)}, received '${t.received}'`;break;case O.invalid_arguments:n="Invalid function arguments";break;case O.invalid_return_type:n="Invalid function return type";break;case O.invalid_date:n="Invalid date";break;case O.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Qe.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case O.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case O.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case O.custom:n="Invalid input";break;case O.invalid_intersection_types:n="Intersection results could not be merged";break;case O.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case O.not_finite:n="Number must be finite";break;default:n=e.defaultError,Qe.assertNever(t)}return{message:n}},Zr=KY;var $x=Zr;function ZY(t){$x=t}function Ra(){return $x}var Qu=t=>{let{data:e,path:n,errorMaps:r,issueData:s}=t,i=[...n,...s.path||[]],a={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let c="",A=r.filter(l=>!!l).slice().reverse();for(let l of A)c=l(a,{data:e,defaultError:c}).message;return{...s,path:i,message:c}},XY=[];function J(t,e){let n=Ra(),r=Qu({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Zr?void 0:Zr].filter(s=>!!s)});t.common.issues.push(r)}var mt=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let s of n){if(s.status==="aborted")return ie;s.status==="dirty"&&e.dirty(),r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){let r=[];for(let s of n){let i=await s.key,a=await s.value;r.push({key:i,value:a})}return t.mergeObjectSync(e,r)}static mergeObjectSync(e,n){let r={};for(let s of n){let{key:i,value:a}=s;if(i.status==="aborted"||a.status==="aborted")return ie;i.status==="dirty"&&e.dirty(),a.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||s.alwaysSet)&&(r[i.value]=a.value)}return{status:e.value,value:r}}},ie=Object.freeze({status:"aborted"}),ji=t=>({status:"dirty",value:t}),Qt=t=>({status:"valid",value:t}),kd=t=>t.status==="aborted",vd=t=>t.status==="dirty",Ls=t=>t.status==="valid",xa=t=>typeof Promise<"u"&&t instanceof Promise;var Z;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(Z||(Z={}));var vn=class{constructor(e,n,r,s){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Vx=(t,e)=>{if(Ls(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new Jt(t.common.issues);return this._error=n,this._error}}};function me(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:r,description:s}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(a,c)=>{let{message:A}=t;return a.code==="invalid_enum_value"?{message:A??c.defaultError}:typeof c.data>"u"?{message:A??r??c.defaultError}:a.code!=="invalid_type"?{message:c.defaultError}:{message:A??n??c.defaultError}},description:s}}var Ce=class{get description(){return this._def.description}_getType(e){return mr(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:mr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new mt,ctx:{common:e.parent.common,data:e.data,parsedType:mr(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(xa(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)},s=this._parseSync({data:e,path:r.path,parent:r});return Vx(r,s)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:n});return Ls(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>Ls(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){let r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:mr(e)},s=this._parse({data:e,path:r.path,parent:r}),i=await(xa(s)?s:Promise.resolve(s));return Vx(r,i)}refine(e,n){let r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{let a=e(s),c=()=>i.addIssue({code:O.custom,...r(s)});return typeof Promise<"u"&&a instanceof Promise?a.then(A=>A?!0:(c(),!1)):a?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,s)=>e(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(e){return new Rn({schema:this,typeName:Ae.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return kn.create(this,this._def)}nullable(){return Er.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ts.create(this)}promise(){return $s.create(this,this._def)}or(e){return eo.create([this,e],this._def)}and(e){return to.create(this,e,this._def)}transform(e){return new Rn({...me(this._def),schema:this,typeName:Ae.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new oo({...me(this._def),innerType:this,defaultValue:n,typeName:Ae.ZodDefault})}brand(){return new bu({typeName:Ae.ZodBranded,type:this,...me(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new ao({...me(this._def),innerType:this,catchValue:n,typeName:Ae.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Su.create(this,e)}readonly(){return co.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},eq=/^c[^\s-]{8,}$/i,tq=/^[0-9a-z]+$/,nq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,rq=/^[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}$/i,sq=/^[a-z0-9_-]{21}$/i,iq=/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))?$/,hq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Hx="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",fq=new RegExp(`^${Hx}$`);function Yx(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function gq(t){return new RegExp(`^${Yx(t)}$`)}function qx(t){let e=`${Hx}T${Yx(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function mq(t,e){return!!((e==="v4"||!e)&&uq.test(t)||(e==="v6"||!e)&&lq.test(t))}function yq(t,e){if(!iq.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&s?.typ!=="JWT"||!s.alg||e&&s.alg!==e)}catch{return!1}}function Eq(t,e){return!!((e==="v4"||!e)&&Aq.test(t)||(e==="v6"||!e)&&dq.test(t))}var Ps=class t extends Ce{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==z.string){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.string,received:i.parsedType}),ie}let r=new mt,s;for(let i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")e.data.length>i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){let a=e.data.length>i.value,c=e.data.length<i.value;(a||c)&&(s=this._getOrReturnCtx(e,s),a?J(s,{code:O.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):c&&J(s,{code:O.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")aq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"email",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")dy||(dy=new RegExp(cq,"u")),dy.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"emoji",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")rq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"uuid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")sq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"nanoid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")eq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cuid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")tq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cuid2",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")nq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"ulid",code:O.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{s=this._getOrReturnCtx(e,s),J(s,{validation:"url",code:O.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"regex",code:O.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?qx(i).test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?fq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?gq(i).test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{code:O.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?oq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"duration",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?mq(e.data,i.version)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"ip",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?yq(e.data,i.alg)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"jwt",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?Eq(e.data,i.version)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"cidr",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?pq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"base64",code:O.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?hq.test(e.data)||(s=this._getOrReturnCtx(e,s),J(s,{validation:"base64url",code:O.invalid_string,message:i.message}),r.dirty()):Qe.assertNever(i);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(s=>e.test(s),{validation:n,code:O.invalid_string,...Z.errToObj(r)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Z.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Z.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Z.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Z.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Z.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Z.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Z.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Z.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Z.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Z.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Z.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Z.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Z.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...Z.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...Z.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...Z.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Z.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...Z.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Z.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Z.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Z.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Z.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Z.errToObj(n)})}nonempty(e){return this.min(1,Z.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Ps.create=t=>new Ps({checks:[],typeName:Ae.ZodString,coerce:t?.coerce??!1,...me(t)});function Cq(t,e){let n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return i%a/10**s}var Ji=class t extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==z.number){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.number,received:i.parsedType}),ie}let r,s=new mt;for(let i of this._def.checks)i.kind==="int"?Qe.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),J(r,{code:O.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?Cq(e.data,i.value)!==0&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_finite,message:i.message}),s.dirty()):Qe.assertNever(i);return{status:s.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Z.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Z.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Z.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Z.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Z.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Qe.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}};Ji.create=t=>new Ji({checks:[],typeName:Ae.ZodNumber,coerce:t?.coerce||!1,...me(t)});var Wi=class t extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==z.bigint)return this._getInvalidInput(e);let r,s=new mt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),J(r,{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):Qe.assertNever(i);return{status:s.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return J(n,{code:O.invalid_type,expected:z.bigint,received:n.parsedType}),ie}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,r,s){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Z.toString(s)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};Wi.create=t=>new Wi({checks:[],typeName:Ae.ZodBigInt,coerce:t?.coerce??!1,...me(t)});var zi=class extends Ce{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==z.boolean){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.boolean,received:r.parsedType}),ie}return Qt(e.data)}};zi.create=t=>new zi({typeName:Ae.ZodBoolean,coerce:t?.coerce||!1,...me(t)});var Ki=class t extends Ce{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==z.date){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_type,expected:z.date,received:i.parsedType}),ie}if(Number.isNaN(e.data.getTime())){let i=this._getOrReturnCtx(e);return J(i,{code:O.invalid_date}),ie}let r=new mt,s;for(let i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(s=this._getOrReturnCtx(e,s),J(s,{code:O.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Qe.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Z.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Z.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}};Ki.create=t=>new Ki({checks:[],coerce:t?.coerce||!1,typeName:Ae.ZodDate,...me(t)});var Da=class extends Ce{_parse(e){if(this._getType(e)!==z.symbol){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.symbol,received:r.parsedType}),ie}return Qt(e.data)}};Da.create=t=>new Da({typeName:Ae.ZodSymbol,...me(t)});var Zi=class extends Ce{_parse(e){if(this._getType(e)!==z.undefined){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.undefined,received:r.parsedType}),ie}return Qt(e.data)}};Zi.create=t=>new Zi({typeName:Ae.ZodUndefined,...me(t)});var Xi=class extends Ce{_parse(e){if(this._getType(e)!==z.null){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.null,received:r.parsedType}),ie}return Qt(e.data)}};Xi.create=t=>new Xi({typeName:Ae.ZodNull,...me(t)});var Os=class extends Ce{constructor(){super(...arguments),this._any=!0}_parse(e){return Qt(e.data)}};Os.create=t=>new Os({typeName:Ae.ZodAny,...me(t)});var es=class extends Ce{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Qt(e.data)}};es.create=t=>new es({typeName:Ae.ZodUnknown,...me(t)});var Wn=class extends Ce{_parse(e){let n=this._getOrReturnCtx(e);return J(n,{code:O.invalid_type,expected:z.never,received:n.parsedType}),ie}};Wn.create=t=>new Wn({typeName:Ae.ZodNever,...me(t)});var Na=class extends Ce{_parse(e){if(this._getType(e)!==z.undefined){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.void,received:r.parsedType}),ie}return Qt(e.data)}};Na.create=t=>new Na({typeName:Ae.ZodVoid,...me(t)});var ts=class t extends Ce{_parse(e){let{ctx:n,status:r}=this._processInputParams(e),s=this._def;if(n.parsedType!==z.array)return J(n,{code:O.invalid_type,expected:z.array,received:n.parsedType}),ie;if(s.exactLength!==null){let a=n.data.length>s.exactLength.value,c=n.data.length<s.exactLength.value;(a||c)&&(J(n,{code:a?O.too_big:O.too_small,minimum:c?s.exactLength.value:void 0,maximum:a?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(J(n,{code:O.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(J(n,{code:O.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,c)=>s.type._parseAsync(new vn(n,a,n.path,c)))).then(a=>mt.mergeArray(r,a));let i=[...n.data].map((a,c)=>s.type._parseSync(new vn(n,a,n.path,c)));return mt.mergeArray(r,i)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:Z.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:Z.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:Z.toString(n)}})}nonempty(e){return this.min(1,e)}};ts.create=(t,e)=>new ts({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Ae.ZodArray,...me(e)});function Ta(t){if(t instanceof Wt){let e={};for(let n in t.shape){let r=t.shape[n];e[n]=kn.create(Ta(r))}return new Wt({...t._def,shape:()=>e})}else return t instanceof ts?new ts({...t._def,type:Ta(t.element)}):t instanceof kn?kn.create(Ta(t.unwrap())):t instanceof Er?Er.create(Ta(t.unwrap())):t instanceof yr?yr.create(t.items.map(e=>Ta(e))):t}var Wt=class t extends Ce{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=Qe.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==z.object){let l=this._getOrReturnCtx(e);return J(l,{code:O.invalid_type,expected:z.object,received:l.parsedType}),ie}let{status:r,ctx:s}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),c=[];if(!(this._def.catchall instanceof Wn&&this._def.unknownKeys==="strip"))for(let l in s.data)a.includes(l)||c.push(l);let A=[];for(let l of a){let p=i[l],h=s.data[l];A.push({key:{status:"valid",value:l},value:p._parse(new vn(s,h,s.path,l)),alwaysSet:l in s.data})}if(this._def.catchall instanceof Wn){let l=this._def.unknownKeys;if(l==="passthrough")for(let p of c)A.push({key:{status:"valid",value:p},value:{status:"valid",value:s.data[p]}});else if(l==="strict")c.length>0&&(J(s,{code:O.unrecognized_keys,keys:c}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let l=this._def.catchall;for(let p of c){let h=s.data[p];A.push({key:{status:"valid",value:p},value:l._parse(new vn(s,h,s.path,p)),alwaysSet:p in s.data})}}return s.common.async?Promise.resolve().then(async()=>{let l=[];for(let p of A){let h=await p.key,g=await p.value;l.push({key:h,value:g,alwaysSet:p.alwaysSet})}return l}).then(l=>mt.mergeObjectSync(r,l)):mt.mergeObjectSync(r,A)}get shape(){return this._def.shape()}strict(e){return Z.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{let s=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:Z.errToObj(e).message??s}:{message:s}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ae.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let r of Qe.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let r of Qe.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}deepPartial(){return Ta(this)}partial(e){let n={};for(let r of Qe.objectKeys(this.shape)){let s=this.shape[r];e&&!e[r]?n[r]=s:n[r]=s.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let r of Qe.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof kn;)i=i._def.innerType;n[r]=i}return new t({...this._def,shape:()=>n})}keyof(){return jx(Qe.objectKeys(this.shape))}};Wt.create=(t,e)=>new Wt({shape:()=>t,unknownKeys:"strip",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});Wt.strictCreate=(t,e)=>new Wt({shape:()=>t,unknownKeys:"strict",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});Wt.lazycreate=(t,e)=>new Wt({shape:t,unknownKeys:"strip",catchall:Wn.create(),typeName:Ae.ZodObject,...me(e)});var eo=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=this._def.options;function s(i){for(let c of i)if(c.result.status==="valid")return c.result;for(let c of i)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;let a=i.map(c=>new Jt(c.ctx.common.issues));return J(n,{code:O.invalid_union,unionErrors:a}),ie}if(n.common.async)return Promise.all(r.map(async i=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(s);{let i,a=[];for(let A of r){let l={...n,common:{...n.common,issues:[]},parent:null},p=A._parseSync({data:n.data,path:n.path,parent:l});if(p.status==="valid")return p;p.status==="dirty"&&!i&&(i={result:p,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let c=a.map(A=>new Jt(A));return J(n,{code:O.invalid_union,unionErrors:c}),ie}}get options(){return this._def.options}};eo.create=(t,e)=>new eo({options:t,typeName:Ae.ZodUnion,...me(e)});var Xr=t=>t instanceof no?Xr(t.schema):t instanceof Rn?Xr(t.innerType()):t instanceof ro?[t.value]:t instanceof so?t.options:t instanceof io?Qe.objectValues(t.enum):t instanceof oo?Xr(t._def.innerType):t instanceof Zi?[void 0]:t instanceof Xi?[null]:t instanceof kn?[void 0,...Xr(t.unwrap())]:t instanceof Er?[null,...Xr(t.unwrap())]:t instanceof bu||t instanceof co?Xr(t.unwrap()):t instanceof ao?Xr(t._def.innerType):[],Rd=class t extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.object)return J(n,{code:O.invalid_type,expected:z.object,received:n.parsedType}),ie;let r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(J(n,{code:O.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),ie)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){let s=new Map;for(let i of n){let a=Xr(i.shape[e]);if(!a.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let c of a){if(s.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);s.set(c,i)}}return new t({typeName:Ae.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:s,...me(r)})}};function py(t,e){let n=mr(t),r=mr(e);if(t===e)return{valid:!0,data:t};if(n===z.object&&r===z.object){let s=Qe.objectKeys(e),i=Qe.objectKeys(t).filter(c=>s.indexOf(c)!==-1),a={...t,...e};Object.prototype.hasOwnProperty.call(a,"__proto__")&&delete a.__proto__;for(let c of i){if(c==="__proto__")continue;let A=py(t[c],e[c]);if(!A.valid)return{valid:!1};a[c]=A.data}return{valid:!0,data:a}}else if(n===z.array&&r===z.array){if(t.length!==e.length)return{valid:!1};let s=[];for(let i=0;i<t.length;i++){let a=t[i],c=e[i],A=py(a,c);if(!A.valid)return{valid:!1};s.push(A.data)}return{valid:!0,data:s}}else return n===z.date&&r===z.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var to=class extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=(i,a)=>{if(kd(i)||kd(a))return ie;let c=py(i.value,a.value);return c.valid?((vd(i)||vd(a))&&n.dirty(),{status:n.value,value:c.data}):(J(r,{code:O.invalid_intersection_types}),ie)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>s(i,a)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};to.create=(t,e,n)=>new to({left:t,right:e,typeName:Ae.ZodIntersection,...me(n)});var yr=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.array)return J(r,{code:O.invalid_type,expected:z.array,received:r.parsedType}),ie;if(r.data.length<this._def.items.length)return J(r,{code:O.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ie;!this._def.rest&&r.data.length>this._def.items.length&&(J(r,{code:O.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...r.data].map((a,c)=>{let A=this._def.items[c]||this._def.rest;return A?A._parse(new vn(r,a,r.path,c)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>mt.mergeArray(n,a)):mt.mergeArray(n,i)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};yr.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new yr({items:t,typeName:Ae.ZodTuple,rest:null,...me(e)})};var xd=class t extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.object)return J(r,{code:O.invalid_type,expected:z.object,received:r.parsedType}),ie;let s=[],i=this._def.keyType,a=this._def.valueType;for(let c in r.data)s.push({key:i._parse(new vn(r,c,r.path,c)),value:a._parse(new vn(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?mt.mergeObjectAsync(n,s):mt.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof Ce?new t({keyType:e,valueType:n,typeName:Ae.ZodRecord,...me(r)}):new t({keyType:Ps.create(),valueType:e,typeName:Ae.ZodRecord,...me(n)})}},Fa=class extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.map)return J(r,{code:O.invalid_type,expected:z.map,received:r.parsedType}),ie;let s=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([c,A],l)=>({key:s._parse(new vn(r,c,r.path,[l,"key"])),value:i._parse(new vn(r,A,r.path,[l,"value"]))}));if(r.common.async){let c=new Map;return Promise.resolve().then(async()=>{for(let A of a){let l=await A.key,p=await A.value;if(l.status==="aborted"||p.status==="aborted")return ie;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}})}else{let c=new Map;for(let A of a){let l=A.key,p=A.value;if(l.status==="aborted"||p.status==="aborted")return ie;(l.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(l.value,p.value)}return{status:n.value,value:c}}}};Fa.create=(t,e,n)=>new Fa({valueType:e,keyType:t,typeName:Ae.ZodMap,...me(n)});var Ma=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==z.set)return J(r,{code:O.invalid_type,expected:z.set,received:r.parsedType}),ie;let s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(J(r,{code:O.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(J(r,{code:O.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());let i=this._def.valueType;function a(A){let l=new Set;for(let p of A){if(p.status==="aborted")return ie;p.status==="dirty"&&n.dirty(),l.add(p.value)}return{status:n.value,value:l}}let c=[...r.data.values()].map((A,l)=>i._parse(new vn(r,A,r.path,l)));return r.common.async?Promise.all(c).then(A=>a(A)):a(c)}min(e,n){return new t({...this._def,minSize:{value:e,message:Z.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:Z.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Ma.create=(t,e)=>new Ma({valueType:t,minSize:null,maxSize:null,typeName:Ae.ZodSet,...me(e)});var Td=class t extends Ce{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.function)return J(n,{code:O.invalid_type,expected:z.function,received:n.parsedType}),ie;function r(c,A){return Qu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ra(),Zr].filter(l=>!!l),issueData:{code:O.invalid_arguments,argumentsError:A}})}function s(c,A){return Qu({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ra(),Zr].filter(l=>!!l),issueData:{code:O.invalid_return_type,returnTypeError:A}})}let i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof $s){let c=this;return Qt(async function(...A){let l=new Jt([]),p=await c._def.args.parseAsync(A,i).catch(C=>{throw l.addIssue(r(A,C)),l}),h=await Reflect.apply(a,this,p);return await c._def.returns._def.type.parseAsync(h,i).catch(C=>{throw l.addIssue(s(h,C)),l})})}else{let c=this;return Qt(function(...A){let l=c._def.args.safeParse(A,i);if(!l.success)throw new Jt([r(A,l.error)]);let p=Reflect.apply(a,this,l.data),h=c._def.returns.safeParse(p,i);if(!h.success)throw new Jt([s(p,h.error)]);return h.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:yr.create(e).rest(es.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new t({args:e||yr.create([]).rest(es.create()),returns:n||es.create(),typeName:Ae.ZodFunction,...me(r)})}},no=class extends Ce{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};no.create=(t,e)=>new no({getter:t,typeName:Ae.ZodLazy,...me(e)});var ro=class extends Ce{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return J(n,{received:n.data,code:O.invalid_literal,expected:this._def.value}),ie}return{status:"valid",value:e.data}}get value(){return this._def.value}};ro.create=(t,e)=>new ro({value:t,typeName:Ae.ZodLiteral,...me(e)});function jx(t,e){return new so({values:t,typeName:Ae.ZodEnum,...me(e)})}var so=class t extends Ce{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),r=this._def.values;return J(n,{expected:Qe.joinValues(r),received:n.parsedType,code:O.invalid_type}),ie}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),r=this._def.values;return J(n,{received:n.data,code:O.invalid_enum_value,options:r}),ie}return Qt(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}};so.create=jx;var io=class extends Ce{_parse(e){let n=Qe.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==z.string&&r.parsedType!==z.number){let s=Qe.objectValues(n);return J(r,{expected:Qe.joinValues(s),received:r.parsedType,code:O.invalid_type}),ie}if(this._cache||(this._cache=new Set(Qe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let s=Qe.objectValues(n);return J(r,{received:r.data,code:O.invalid_enum_value,options:s}),ie}return Qt(e.data)}get enum(){return this._def.values}};io.create=(t,e)=>new io({values:t,typeName:Ae.ZodNativeEnum,...me(e)});var $s=class extends Ce{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==z.promise&&n.common.async===!1)return J(n,{code:O.invalid_type,expected:z.promise,received:n.parsedType}),ie;let r=n.parsedType===z.promise?n.data:Promise.resolve(n.data);return Qt(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}};$s.create=(t,e)=>new $s({type:t,typeName:Ae.ZodPromise,...me(e)});var Rn=class extends Ce{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ae.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:a=>{J(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){let a=s.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async c=>{if(n.value==="aborted")return ie;let A=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return A.status==="aborted"?ie:A.status==="dirty"?ji(A.value):n.value==="dirty"?ji(A.value):A});{if(n.value==="aborted")return ie;let c=this._def.schema._parseSync({data:a,path:r.path,parent:r});return c.status==="aborted"?ie:c.status==="dirty"?ji(c.value):n.value==="dirty"?ji(c.value):c}}if(s.type==="refinement"){let a=c=>{let A=s.refinement(c,i);if(r.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){let c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?ie:(c.status==="dirty"&&n.dirty(),a(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?ie:(c.status==="dirty"&&n.dirty(),a(c.value).then(()=>({status:n.value,value:c.value}))))}if(s.type==="transform")if(r.common.async===!1){let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Ls(a))return ie;let c=s.transform(a.value,i);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>Ls(a)?Promise.resolve(s.transform(a.value,i)).then(c=>({status:n.value,value:c})):ie);Qe.assertNever(s)}};Rn.create=(t,e,n)=>new Rn({schema:t,typeName:Ae.ZodEffects,effect:e,...me(n)});Rn.createWithPreprocess=(t,e,n)=>new Rn({schema:e,effect:{type:"preprocess",transform:t},typeName:Ae.ZodEffects,...me(n)});var kn=class extends Ce{_parse(e){return this._getType(e)===z.undefined?Qt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};kn.create=(t,e)=>new kn({innerType:t,typeName:Ae.ZodOptional,...me(e)});var Er=class extends Ce{_parse(e){return this._getType(e)===z.null?Qt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Er.create=(t,e)=>new Er({innerType:t,typeName:Ae.ZodNullable,...me(e)});var oo=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return n.parsedType===z.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};oo.create=(t,e)=>new oo({innerType:t,typeName:Ae.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...me(e)});var ao=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return xa(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Jt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Jt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};ao.create=(t,e)=>new ao({innerType:t,typeName:Ae.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...me(e)});var _a=class extends Ce{_parse(e){if(this._getType(e)!==z.nan){let r=this._getOrReturnCtx(e);return J(r,{code:O.invalid_type,expected:z.nan,received:r.parsedType}),ie}return{status:"valid",value:e.data}}};_a.create=t=>new _a({typeName:Ae.ZodNaN,...me(t)});var Iq=Symbol("zod_brand"),bu=class extends Ce{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},Su=class t extends Ce{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ie:i.status==="dirty"?(n.dirty(),ji(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{let s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?ie:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(e,n){return new t({in:e,out:n,typeName:Ae.ZodPipeline})}},co=class extends Ce{_parse(e){let n=this._def.innerType._parse(e),r=s=>(Ls(s)&&(s.value=Object.freeze(s.value)),s);return xa(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}};co.create=(t,e)=>new co({innerType:t,typeName:Ae.ZodReadonly,...me(e)});function Gx(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Jx(t,e={},n){return t?Os.create().superRefine((r,s)=>{let i=t(r);if(i instanceof Promise)return i.then(a=>{if(!a){let c=Gx(e,r),A=c.fatal??n??!0;s.addIssue({code:"custom",...c,fatal:A})}});if(!i){let a=Gx(e,r),c=a.fatal??n??!0;s.addIssue({code:"custom",...a,fatal:c})}}):Os.create()}var Bq={object:Wt.lazycreate},Ae;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Ae||(Ae={}));var wq=(t,e={message:`Input not instance of ${t.name}`})=>Jx(n=>n instanceof t,e),Wx=Ps.create,zx=Ji.create,Qq=_a.create,bq=Wi.create,Kx=zi.create,Sq=Ki.create,kq=Da.create,vq=Zi.create,Rq=Xi.create,xq=Os.create,Tq=es.create,Dq=Wn.create,Nq=Na.create,Fq=ts.create,Mq=Wt.create,_q=Wt.strictCreate,Uq=eo.create,Lq=Rd.create,Pq=to.create,Oq=yr.create,$q=xd.create,Vq=Fa.create,Gq=Ma.create,Hq=Td.create,Yq=no.create,qq=ro.create,jq=so.create,Jq=io.create,Wq=$s.create,zq=Rn.create,Kq=kn.create,Zq=Er.create,Xq=Rn.createWithPreprocess,ej=Su.create,tj=()=>Wx().optional(),nj=()=>zx().optional(),rj=()=>Kx().optional(),sj={string:(t=>Ps.create({...t,coerce:!0})),number:(t=>Ji.create({...t,coerce:!0})),boolean:(t=>zi.create({...t,coerce:!0})),bigint:(t=>Wi.create({...t,coerce:!0})),date:(t=>Ki.create({...t,coerce:!0}))};var ij=ie;function oj(t){return t.issues.map(e=>{let n=e.path.map(s=>typeof s=="number"?`[${s}]`:`.${s}`).join("").replace(/^\./,""),r=n||"output";if(!/^(Expected |Required$|Invalid |String must|Array must|Number must)/.test(e.message))return`${r} ${e.message}`;switch(e.code){case"invalid_type":return n?e.expected==="object"?`${r} must be an object`:e.received==="undefined"?`${r} is required`:`${r} must be ${e.expected}, got ${e.received}`:"output is not a JSON object";case"invalid_enum_value":{let s=JSON.stringify(e.received),i=e.options.find(c=>typeof c=="string"&&typeof e.received=="string"&&e.received.startsWith(c)),a=i?` \u2014 you sent ${s}; the value must be exactly ${JSON.stringify(i)}, with any qualifier moved to a field that takes free text`:` \u2014 you sent ${s}`;return`${r} must be one of: ${e.options.join(", ")}${a}`}case"invalid_literal":return`${r} must be ${JSON.stringify(e.expected)}`;case"too_small":return e.type==="string"?`${r} must be a non-empty string`:`${r} must have at least ${e.minimum} item(s)`;case"unrecognized_keys":return`${r} has unknown key(s): ${e.keys.join(", ")}`;default:return`${r}: ${e.message}`}})}function ns(t,e){let n=t.safeParse(e);if(n.success)return{value:n.data,errors:[]};let r=(i,a)=>a.reduce((c,A)=>c&&typeof c=="object"?c[A]:void 0,i),s=n.error.issues.filter(i=>i.path.length&&r(e,i.path)===null);if(s.length===n.error.issues.length)try{let i=t.safeParse(s.reduce((a,{path:c})=>Zx(a,c),e));if(i.success)return{value:i.data,errors:[]}}catch{}return{errors:oj(n.error)}}function Zx(t,e){if(!e.length||!t||typeof t!="object")return t;let[n,...r]=e,s=Array.isArray(t)?t.slice():{...t};return r.length?s[n]=Zx(s[n],r):delete s[n],s}var v8=new Set(Object.values(_s));var R8=u.object({checks:u.array(u.object({repository:u.string().optional(),name:u.string().min(1),headSha:u.string().regex(/^[0-9a-f]{40}$|^[0-9a-f]{64}$/i),status:u.string().default("completed"),conclusion:u.string().nullable().optional(),url:u.string().optional(),summary:u.string().optional()}))});var Dd=["-c","core.fsmonitor=false"],aj=new Set(["GH_TOKEN","GITHUB_TOKEN","GH_ENTERPRISE_TOKEN","GITHUB_ENTERPRISE_TOKEN","ACTIONS_RUNTIME_TOKEN","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","SYSTEM_ACCESSTOKEN","SYSTEM_OIDCREQUESTURI","SKYRAMP_MCP_GITHUB_TOKEN","SSH_AUTH_SOCK","GIT_SSH","GIT_SSH_COMMAND","GITHUB_STEP_SUMMARY"]),cj=new Set(["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","AWS_PROFILE","AWS_WEB_IDENTITY_TOKEN_FILE","AWS_ROLE_ARN","AWS_ROLE_SESSION_NAME","AWS_CONTAINER_CREDENTIALS_FULL_URI","AWS_CONTAINER_CREDENTIALS_RELATIVE_URI","AWS_CONTAINER_AUTHORIZATION_TOKEN","AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"]);function zn(t=process.env,e,n="repo-command"){let r={};for(let[s,i]of Object.entries(t))n==="repo-command"&&cj.has(s)||(r[s]=i);Object.assign(r,e??{});for(let s of Object.keys(r))(aj.has(s)||s.startsWith("INPUT_"))&&delete r[s];return r}var Ua=Re(require("path"));var P8=Ua.join(".skyramp","workspace.yml");var uj={py:"python",go:"go",java:"java",kt:"kotlin",rb:"ruby",cs:"csharp",ts:"typescript",tsx:"typescript",js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",kts:"kotlin",rs:"rust",php:"php",scala:"scala",swift:"swift",ex:"elixir",exs:"elixir",dart:"dart",c:"c",h:"c",cpp:"cpp",cc:"cpp",cxx:"cpp",hpp:"cpp",hh:"cpp",groovy:"groovy"};var O8=new Set(Object.values(uj));var rs=(s=>(s.Clean="clean",s.RecipeDrift="recipe-drift",s.ChangeBrokeBringup="change-broke-bringup",s.BringupFailed="bringup-failed",s))(rs||{}),Vs=u.string().trim().min(1),lj=u.object({url:u.string().optional().describe("the URL probed, if the check is an HTTP request"),command:u.string().optional().describe("the command run, if the check is a script \u2014 preferred when auth is needed"),headers:u.record(u.string()).optional(),status:u.union([u.number(),u.string()]).optional().describe("expected HTTP status for a url check (default 200)"),output:Vs.describe("what the check returned, VERBATIM \u2014 the bytes, nothing appended; this gate RE-RUNS the check")}),hy=u.array(u.object({component:Vs.describe("a shared component listed above"),url:Vs.describe("the URL on the component's own origin (scheme, host and port) that answers with its deployed commit"),output:Vs.describe("what the URL returned, VERBATIM; this gate FETCHES each url")})).describe("only when shared components are listed above: one check per component whose deployed commit you found"),e0=u.object({schemaVersion:u.literal(1),baseUrls:u.record(u.string()).optional().describe("service \u2192 base URL of the running app; omit on a failed bring-up, never invent one"),health:lj.optional(),teardown:Vs.describe("command that tears the SUT down"),dependencies:u.record(u.boolean()).optional().describe("EVERY backing service: true = really deployed, false = mocked; REQUIRED when the app came up"),outcome:u.nativeEnum(rs).describe("clean | recipe-drift (you corrected the recipe) | change-broke-bringup (the PR broke it) | bringup-failed (environment, not the PR)"),recipeFixes:u.array(u.string()).optional().describe("required when outcome is recipe-drift: what was corrected"),bringupError:u.object({command:Vs,output:Vs}).optional().describe("required when bring-up failed: the exact failing command and what it printed"),suspectFiles:u.array(u.string()).optional().describe("required for change-broke-bringup: files THIS PR changed that the failure points at, relative to your working directory (a file in another checkout of the run: its absolute path)"),seeded:u.boolean(),startedAt:Vs.describe("ISO timestamp"),revisions:hy.optional()});var ku=(n=>(n.Full="full",n.Static="static",n))(ku||{}),Gs=(r=>(r.Contract="contract",r.Integration="integration",r.Ui="ui",r))(Gs||{}),vu=(i=>(i.OwnSurface="own_surface",i.StateReadBack="state_read_back",i.Referential="referential",i.Lifecycle="lifecycle",i.Boundaries="boundaries",i))(vu||{}),uo=(s=>(s.Update="update",s.Regenerate="regenerate",s.Delete="delete",s.Verify="verify",s))(uo||{}),Nd=(l=>(l.Equals="equals",l.NotEquals="not_equals",l.GreaterThan="greater_than",l.LessThan="less_than",l.Contains="contains",l.NotContains="not_contains",l.Matches="matches",l.Absent="absent",l.Present="present",l))(Nd||{});var fn=u.string().trim().min(1),pj=u.object({subject:fn.describe('what the test READS: a response field path, the literal "status", or the on-screen text for a ui case \u2014 the FINAL read in a multi-step case'),comparator:u.nativeEnum(Nd),value:u.union([u.string(),u.number(),u.boolean(),u.null()]).optional().describe("the ONE value a broken build would not produce; OMIT for absent/present")}),hj=u.object({test:fn.describe("existing test path, relative to its repository"),repository:fn.optional().describe("owner/repo the test lives in, when the run has several checkouts; omit for the working checkout"),action:u.nativeEnum(uo),evidence:fn.describe("why \u2014 drift vs the diff, or a finding"),covers_behaviors:u.array(u.string()).optional().describe("analyze behavior ids this maintenance covers")});var fj=u.object({surface:fn.describe("a surface from the list, copied verbatim"),axis:u.nativeEnum(vu)}),gj=u.object({id:fn.describe("short-slug, unique across generate[]"),type:u.nativeEnum(Gs),target:fn.describe('"METHOD /path", or a business-flow name'),from_finding:u.string().optional().describe("analyze finding id this case catches"),from_behavior:u.string().optional().describe("analyze behavior id this case pins"),derived_from:fj.optional().describe("the surface \xD7 axis this case pins when no analyze behavior or finding names it \u2014 one of the three is required"),rationale:fn.describe("why this test matters"),expected_observable:fn.describe("one sentence for a human: what a catching test asserts, and what a broken build does instead"),expected:pj.describe("the same intent AS DATA \u2014 see the rules below"),seededPrecondition:fn.optional().describe("seeded non-initial state + how to reach it; only when a seeded-state transition applies"),verifiable:u.boolean().describe("true only when a live SUT could confirm this test (full mode)")}),mj=u.object({covered:u.array(u.string()).optional(),abstain:u.string().optional()}).superRefine((t,e)=>{let n=Array.isArray(t.covered),r=typeof t.abstain=="string";if(n===r)return void e.addIssue({code:u.ZodIssueCode.custom,message:"must have exactly one of covered[] or abstain"});n&&t.covered.length===0&&e.addIssue({code:u.ZodIssueCode.custom,path:["covered"],message:"must list at least one id (else abstain)"}),r&&!t.abstain.trim()&&e.addIssue({code:u.ZodIssueCode.custom,path:["abstain"],message:"must give a reason"})}).describe('{ "covered": [ids] } OR { "abstain": "reason" } \u2014 exactly one'),yj=u.object({surface:fn.describe("a surface from the list, copied verbatim"),axes:u.object(Object.fromEntries(Object.values(vu).map(t=>[t,mj])))}),t0=u.object({schemaVersion:u.literal(1),mode:u.nativeEnum(ku),maintenance:u.array(hj),generate:u.array(gj),surfaces:u.array(yj).describe("one entry per changed surface in the list \u2014 none missing, none invented"),budget:u.object({total:u.number().describe("case count"),rationale:fn}),summary:fn.describe("one paragraph")});var Ao=(n=>(n.Ready="ready",n.Blocked="blocked",n))(Ao||{}),Je=u.string().trim().min(1),Ej=u.object({action:u.enum(["start","run","wait"]),text:Je,source:u.enum(["file","notes","testbot"]).describe("file: a file in the repository; notes: the Target's notes; testbot: Testbot's own finding"),file:Je.nullable().describe("the file the step came from, relative to the component's repository; null unless source is file")}).strict().refine(t=>t.source==="file"==(t.file!==null),{path:["file"],message:"a file exactly when the step came from one"}),Cj=/^[A-Za-z_][A-Za-z0-9_]*$/,La=/^(?!GITHUB_)(?!SKYRAMP_RUNNER_)[A-Z][A-Z0-9_]{0,99}$/,Pa=(a=>(a.VersionEndpoint="version_endpoint",a.DeployWorkflow="deploy_workflow",a.KubernetesLabels="kubernetes_labels",a.Command="command",a.Api="api",a.NotTracked="not_tracked",a))(Pa||{}),zt="shared",Ij=Je.refine(t=>{try{let e=new URL(t);return["http:","https:"].includes(e.protocol)&&!e.username&&!e.password}catch{return!1}},"an http(s) URL with no login in it"),Oa=u.object({address:Ij,readyWhen:Je.nullable(),credentials:u.array(u.string().regex(La)).max(50),revisionSources:u.array(u.object({method:u.nativeEnum(Pa),detail:Je.describe("what Testbot reads, such as GET /version or the deploy workflow's name; for not_tracked, why nothing shows it"),components:u.array(Je).min(1).describe("the components it tells the revision of, by name")}).strict()).max(50)}).strict(),fy={steps:u.array(Ej).max(20).optional().describe("how it starts, in order"),kind:u.enum(["web_app","service","database","external_service"]).optional(),from:u.object({file:Je,service:Je.nullable()}).strict().optional(),credentials:u.array(u.string().max(100).regex(Cj)).max(50).optional().describe("the Target's credentials this component's recipe uses: a sign-in (a test user, password or token) or an API key, which the workflow supplies from a GitHub Actions secret as the environment variable of the credential's name; give each name exactly as the recipe reads it. Names only, never a value, and not a secret the recipe generates itself")},Bj=u.object({name:Je,repository:Je.describe("owner/repo of the Target repository the component is built or started from, such as the one whose compose file starts its database"),healthy:u.boolean(),...fy,deployed:Je.nullable().optional().describe('only with "environment": the revision the component runs, as you read it from its revision source, or null when you could not tell')}),wj=u.object({component:Je,problem:Je,evidence:Je.describe("the exact command and output that shows it"),fix:Je.describe("what the user must provide, and where")}),Qj=u.object({framework:Je,file:Je.describe("the test file run, relative to its repository root"),result:u.enum(["pass","fail","error"])}),bj=u.object({input:Je.describe("the part of the user's SUT input, as given"),reason:Je}),n0=u.object({schemaVersion:u.literal(1),status:u.nativeEnum(Ao).describe("ready only if every component came up healthy and the recipe is written"),components:u.array(Bj),suites:u.array(Qj).default([]).describe("one run per test suite the Target's repositories have; empty when they have none"),inputsUsed:u.array(Je).default([]).describe("the parts of the user's SUT input the recipe used as given"),inputsUsedHow:u.array(u.object({input:Je.describe("exactly as written in inputsUsed; an entry that is not there is left out"),how:Je.describe("what the recipe did with it")})).optional(),inputsNotUsed:u.array(bj).default([]).describe("the parts it did not use, and why. A part that is wrong goes here, with what was wrong, even when the recipe does something like it instead: one that names a file, command, port, route or setting that does not exist or does not work"),blockers:u.array(wj).describe("required (non-empty) when status is blocked"),environment:Oa.optional().describe("only when the whole SUT is an existing deployment you tested where it runs, building and starting nothing: its address, what says it is ready, the credentials that reach it, and how to read what each component runs. Leave it out when any part was built or started on the runner, or reaching it needed something there (a tunnel, port-forward, proxy or client certificate)")});var Ru=64*1024,xu=512*1024,gy=/[\u0000-\u0008\u000b\u000e-\u001f\u007f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/;var r0=".skyramp/sut/deployed-revisions.sh",my=(n=>(n.Running="running",n.Requested="requested",n))(my||{});var t5=new Set(Object.values(my));var n5=`Fix ${r0} so it prints the full commit each component runs, then set it up again.`;var Ey="shared-environment";var h5=64*1024;var f5=new Set(["version_endpoint","api"]);function Md(t){return(t?.components??[]).filter(e=>!!e.repository&&!!e.expectedRevision)}function s0(t){return Md(t).length>0||(t?.dependencies.length??0)>0}function vj(t){let e=t.inputs?.sharedEnvironment;if(!s0(e))return;let n=Sn(t,`${Ey}.json`);if(n)return{components:Rj(e,n.components),dependencies:n.dependencies};let r="Not checked: the run ended before it checked the shared environment.";return{components:Md(e).map(s=>i0(s,r)),dependencies:e.dependencies.map(s=>({name:s.name,url:s.url,version:null,evidence:r}))}}var i0=(t,e)=>({name:t.name,repository:t.repository,url:t.url,expectedRevision:t.expectedRevision,observedRevision:null,status:"unverifiable",source:t.revisionUrl||t.revisionScript?"probe":"agent",evidence:e});function Rj(t,e){let n=new Set(e.map(s=>s.name.toLowerCase())),r=Md(t).filter(s=>s.touched&&!n.has(s.name.toLowerCase()));return[...e,...r.map(s=>i0(s,"Not checked: the run recorded no read of it."))]}function Cy(t){return(vj(t)?.components??[]).filter(e=>e.status!=="verified")}function Iy(t){return(t?.components??[]).filter(e=>!!e.repository&&!e.expectedRevision)}function Qy(t){return a0(t)&&Cy(t).length===0&&Iy(t.inputs?.sharedEnvironment).length===0}function a0(t){let e=Mj(t);if(!e&&t.state.stages.deploy?.status!=="passed")return!1;let n=Sn(t,"deploy.json");return n?n.outcome==="clean"||n.outcome==="recipe-drift":!e}function Mj(t){let e=t.state.stages.plan,n=t.state.stages.deploy;return!(t.inputs?.pipeline?t.inputs.pipeline==="two-step":!n)||e?.status!=="passed"?!1:!n||n.updatedAt<=e.updatedAt}var $a=(a=>(a.Place="place",a.Update="update",a.Regenerate="regenerate",a.Delete="delete",a.Verify="verify",a.None="none",a))($a||{}),Kn=(r=>(r.Pass="pass",r.Fail="fail",r.Skip="skip",r))(Kn||{}),xn=u.string().trim().min(1),c0=u.object({case:xn.describe("a covers id \u2014 the recommend case this test realizes"),status:u.nativeEnum(Kn)}),u0=u.object({exit:u.number({invalid_type_error:"must be a number or null"}).nullable().describe("process exit of the re-run; null when no SUT was available"),details:u.string().optional().describe("what failed, or why a file was not run \u2014 required on any non-zero exit"),tests:u.array(c0).optional().describe("ONE ENTRY PER CASE the file covers; must agree with exit (0 \u2192 no fail; non-zero \u2192 at least one)")}),A0=u.object({from:u.string().optional().describe("staged path \u2014 required for placements"),file:xn.describe("final path relative to its repository, inside that checkout, with a source-file extension"),repository:xn.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),action:u.nativeEnum($a),covers:u.array(u.string()).optional().describe("recommend ids a placed test covers"),repro:u.boolean().optional().describe("this test is MEANT to fail \u2014 it reproduces a reported bug"),finding:u.boolean().optional().describe("a non-repro test that failed on a REAL product bug"),placementBroken:u.boolean().optional().describe('placement/harness problem one repair could not fix \u2014 every reran.tests entry is then "skip"'),keptReason:xn.optional().describe("why a planned delete/regenerate was declined and the file kept"),isolatedRun:xn.optional().describe('only for a test marked "runs alone": the command, from its checkout root and without a shell, that runs only this file and writes its JUnit XML into $SKYRAMP_RESULTS_DIR (named by its path: no shell expands it) \u2014 the harness runs it, so leave reran.exit null'),reran:u0,assertionCount:u.number().int().nonnegative().optional().describe("[derived] assertions reachable from the file, counted at write time")}).refine(t=>t.action!=="place"||typeof t.from=="string"&&t.from.trim().length>0,{message:'is a place but has no "from" staged path',path:[]}),l0=(n=>(n.Junit="junit",n.Converter="converter",n))(l0||{}),_j=xn.optional().describe("the items[].file this test is in \u2014 needed only when two of this suite's files cover the same case id"),Uj=u.object({results:xn.describe("the JUnit XML file this run wrote, a plain file name inside $SKYRAMP_RESULTS_DIR (e.g. backend.xml)"),source:u.nativeEnum(l0),run:xn.describe("the command you ran that wrote it, exactly as you ran it (with any converter)"),files:u.array(xn).min(1).describe("the items[].file paths this run covered"),cases:u.array(u.object({test:xn.describe("the test's name as the runner reports it, qualified by its class or file (e.g. tests/test_a.py::test_x) when the bare name repeats"),case:xn.describe("the covers id it realizes"),file:_j})).describe("map each reported test name to the case it covers")}),Lj=u.object({suites:u.array(Uj).min(1)}),by=u.object({schemaVersion:u.literal(1),items:u.array(A0),runnerResults:Lj.optional().describe("the JUnit XML your test runs wrote into $SKYRAMP_RESULTS_DIR, so the harness reads each test's result from the runner \u2014 omit only when no SUT is available"),ignored:u.array(u.string()).describe("existing tests assessed and deliberately left untouched"),summary:xn.describe("one paragraph")});var Z5=10*6e4;var po=Re(require("fs"));function p0(t){let e=[];for(let n of Hj(t)){let r=n;r?.type==="tool_use"&&typeof r.name=="string"&&e.push(r.name)}return e}function h0(t){return p0(t).some(e=>/^mcp__skyramp__skyramp_(contract|integration)_test_generation$/.test(e))}function f0(t){return p0(t).some(e=>e==="mcp__skyramp__skyramp_ui_test_generation")}function Gj(t){if(!po.existsSync(t))return{};for(let e of po.readFileSync(t,"utf-8").split(`
|
|
117
117
|
`)){let n=e.trim();if(n)try{let r=JSON.parse(n);if(r.type==="system"&&r.subtype==="init"&&Array.isArray(r.mcp_servers))return Object.fromEntries(r.mcp_servers.filter(s=>typeof s.name=="string").map(s=>[s.name,typeof s.status=="string"?s.status:"unknown"]))}catch{}}return{}}function g0(t){let e=Gj(t).skyramp;return e===void 0||e==="connected"}function Hj(t){if(!po.existsSync(t))return[];let e=[];for(let n of po.readFileSync(t,"utf-8").split(`
|
|
118
|
-
`)){let r=n.trim();if(!r)continue;let s;try{s=JSON.parse(r)}catch{continue}let i=s.message?.content;Array.isArray(i)&&e.push(...i)}return e}var m0=Re(require("path"));var bt=u.string().trim().min(1),ky=(n=>(n.TestbotManaged="testbot_managed",n.CustomerDeployed="customer_deployed",n))(ky||{}),Ud=[".skyramp/sut/setup.sh",".skyramp/sut/teardown.sh"],vy=u.object({schemaVersion:u.literal(1),type:u.nativeEnum(ky).optional(),status:u.enum(["ready","blocked"]),environment:Oa.optional(),components:u.array(u.object({name:bt,repository:bt.describe(`owner/repo, or "${zt}" for a customer-deployed component no repository builds`),healthy:u.boolean(),url:u.string().min(1).nullable(),...fy,credentials:u.array(u.string().regex(La)).max(50).optional(),deployed:bt.nullable().optional().describe("customer_deployed only: the revision the component runs, as setup read it (WF-SETUP-22's Deployed now), or null when it could not tell")}).strict()),suites:u.array(u.object({framework:bt,file:bt,result:u.enum(["pass","fail","error"])}).strict()),inputsUsed:u.array(bt),inputsUsedHow:u.array(u.object({input:bt,how:bt}).strict()).optional(),inputsNotUsed:u.array(u.object({input:bt,reason:bt}).strict()),blockers:u.array(u.object({component:bt,problem:bt,evidence:bt,fix:bt}).strict()),replay:u.object({outcome:bt,durationSeconds:u.number().nonnegative().nullable()}).strict().nullable(),files:u.array(u.object({path:bt,content:u.string()}).strict())}).strict().superRefine((t,e)=>{t.inputsUsedHow?.forEach((s,i)=>{t.inputsUsed.includes(s.input)||e.addIssue({code:u.ZodIssueCode.custom,path:["inputsUsedHow",i,"input"],message:"not one of inputsUsed"})}),t.components.forEach((s,i)=>{s.credentials&&new Set(s.credentials).size!==s.credentials.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"credentials"],message:"names a credential twice"})});let n=t.type==="customer_deployed";n!==(t.environment!==void 0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["environment"],message:"an environment exactly when the plan's type is customer_deployed"}),t.environment&&new Set(t.environment.credentials).size!==t.environment.credentials.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["environment","credentials"],message:"names a credential twice"});let r=new Set(t.components.map(s=>s.name));if(t.environment?.revisionSources.forEach((s,i)=>{s.components.forEach((a,c)=>{r.has(a)||e.addIssue({code:u.ZodIssueCode.custom,path:["environment","revisionSources",i,"components",c],message:"not one of components"})})}),t.components.forEach((s,i)=>{s.deployed!==void 0!==n&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"deployed"],message:"what a component runs exactly when the plan is customer_deployed"}),s.repository===zt&&!n&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"repository"],message:`only a customer_deployed component is ${zt}`})}),n&&(t.components.forEach((s,i)=>{t.components.findIndex(a=>a.name===s.name)!==i&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"name"],message:"names a component twice"})}),t.replay!==null&&e.addIssue({code:u.ZodIssueCode.custom,path:["replay"],message:"a customer_deployed plan is never replayed"}),t.files.forEach((s,i)=>{Ud.includes(s.path)&&e.addIssue({code:u.ZodIssueCode.custom,path:["files",i,"path"],message:"a customer_deployed plan has no script that starts or stops the system"})})),n&&t.status==="ready"){let s=new Set(t.environment?.revisionSources.flatMap(i=>i.components));t.components.forEach((i,a)=>{i.repository!==zt&&!s.has(i.name)&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",a,"name"],message:"a ready customer_deployed plan reads what every component a repository builds runs"})})}});var sX=["clean","recipe-drift"];function Tu(t){let e=m0.posix.normalize(t);return e===t&&(e===".skyramp/workspace.yml"||e.startsWith(".skyramp/sut/")&&e.length>13)}var Ry=[".skyramp/sut",".skyramp/workspace.yml"];var lX=256*1024*1024;var dX=["--",":/",...Ry.map(t=>`:(exclude)${t}`)];var Ty=(s=>(s.RestApi="rest-api",s.Frontend="frontend",s.FullStack="full-stack",s.Other="other",s))(Ty||{}),Va=(s=>(s.Critical="critical",s.High="high",s.Medium="medium",s.Low="low",s))(Va||{}),_d=(r=>(r.Suspected="suspected",r.Latent="latent",r.Refuted="refuted",r))(_d||{}),E0=(r=>(r.Skyramp="skyramp",r.External="external",r.Unknown="unknown",r))(E0||{}),C0=(s=>(s.Cascade="cascade",s.Restrict="restrict",s.Orphan="orphan",s.Unknown="unknown",s))(C0||{}),Ga=(s=>(s.RequirementReference="requirement-reference",s.Spec="spec",s.PrDescription="pr-description",s.CouldBreak="could-break",s))(Ga||{}),Fe=u.string().trim().min(1),Ha=Fe.describe("file:line"),y0=t=>Fe.refine(e=>e.length<=400,e=>({message:`is ${e.length} characters, over the 400 cap \u2014 ${t}`})),Du=Fe.optional().describe('multi-repo only: the OTHER checkout this lives in \u2014 its "owner/repo" slug, or the directory name if the run discovered it; omit for the working checkout'),xy=u.object({method:Fe,path:Fe,service:u.string().optional(),evidence:Ha,repository:Du}),Yj=u.object({id:Fe.describe("short-slug, e.g. R9"),statement:Fe.max(400,"exceeds 400 characters \u2014 state the requirement, do not paste the spec section").describe("a testable obligation, not a summary"),source:u.nativeEnum(Ga).describe("spec outranks pr-description when both state it"),evidence:Fe.describe("spec: file:line or a section locator. pr-description: the quoted phrase it comes from.")}),qj=u.object({id:Fe.describe("short-slug"),statement:Fe.max(400,"exceeds 400 characters \u2014 state the behaviour, do not paste the code").describe("what the change makes true"),surface:Fe.describe("METHOD /path, or a component/page name"),evidence:Fe.describe("file:line from the diff that introduces it"),repository:Du,satisfies:u.array(Fe).optional().describe("requirement ids (from `requirements`) this behaviour correctly implements \u2014 a requirement met only in part is ALSO named by the finding that shows the rest (conflictsWith)")}),jj=u.object({id:Fe.describe("short-slug"),file:Fe,line:u.number().optional(),claim:y0("shorten it to the one sentence that states the defect, and move the supporting detail into `evidence`"),severity:u.nativeEnum(Va),evidence:y0("cite the file:line and the one line that shows it, rather than reproducing the surrounding code").describe("quoted diff/code line"),status:u.nativeEnum(_d),repository:Du,conflictsWith:u.array(Fe).optional().describe("requirement ids (from `requirements`) this defect contradicts or leaves unimplemented \u2014 a lower-precedence source (the diff, or the PR description) lost")}),Jj=u.object({name:Fe,language:u.string().optional(),framework:u.string().optional(),evidence:Ha,repository:Du}),Wj=u.object({dir:Fe,framework:u.string().optional(),kind:u.nativeEnum(E0),evidence:Ha,repository:Du}),zj=u.object({from:Fe,to:Fe,onDelete:u.nativeEnum(C0),evidence:Ha}),Kj=u.object({entity:Fe,field:Fe,values:u.array(u.string()),evidence:Ha}),Zj=u.object({entities:u.array(u.object({name:Fe,evidence:Ha})),references:u.array(zj).describe("INBOUND references \u2014 what still points at an entity when it is deleted"),stateFields:u.array(Kj)}),fX=u.object({schemaVersion:u.literal(1),repository:u.object({path:Fe.describe("absolute repo path"),currentBranch:Fe,baseBranch:Fe}),project:u.object({type:u.nativeEnum(Ty),primaryLanguage:Fe,languages:u.array(u.string()),frameworks:u.array(u.string())}),services:u.array(Jj),infrastructure:u.object({containerized:u.boolean(),hasDockerCompose:u.boolean(),composeFiles:u.array(u.string()),hasCiCd:u.boolean()}),diff:u.object({changedFiles:u.array(u.string()).describe("as git reports them; a file in another checkout may carry that repo's name"),nonApplicationOnly:u.boolean(),summary:Fe.describe("\u2264400 chars")}),endpoints:u.object({new:u.array(xy),modified:u.array(xy),removed:u.array(xy)}),existingTests:u.object({locations:u.array(Wj)}),entityMap:Zj,requirements:u.array(Yj).describe("from a spec (attached or linked) and/or the PR description; empty when neither states a testable obligation"),behaviors:u.array(qj),findings:u.array(jj),unexamined:u.array(u.string()).describe("files or areas outside this change you did not open"),summary:Fe.describe("one paragraph on what this change does and its test-relevant risk")});var tJ=u.object({route:u.string().describe('the page this step happens on, e.g. "/products/:id"'),action:u.string().describe('what the user does there, through the UI, e.g. "clicks Add to cart"'),clauses:u.array(u.string()).optional().describe("the plan clause ids this step exercises"),check:u.string().optional().describe("what the user then sees that shows the step worked; the test asserts it")}),Nu=(n=>(n.InProcess="in-process",n.Browser="browser",n))(Nu||{}),I0=(r=>(r.Spec="spec",r.PrDescription="pr-description",r.Inferred="inferred",r))(I0||{}),B0=u.object({id:u.string().describe('e.g. "J1"'),name:u.string().describe(`the flow in a user's words, e.g. "buy a product with a coupon"`),entry:u.string().describe("the route the user starts the flow on: the app's normal starting page for it, never a deep link into its middle"),steps:u.array(tJ).describe("every step, in order, from the entry page to the outcome: at least two"),outcome:u.string().describe("what the user sees at the end that shows the flow worked: every part of it"),finishes:u.string().optional().describe('the user action that completes the task, verb first, e.g. "places the order"; the journey walks on to it'),kind:u.nativeEnum(Nu).optional().describe("in-process when the repo's in-process tests (components, app routes) can walk the whole flow and check it; else browser"),source:u.nativeEnum(I0).optional().describe("spec or pr-description when one describes this flow (quote it under evidence), else inferred"),evidence:u.string().optional().describe("for spec or pr-description: its words that describe the flow"),testFile:u.string().describe("the browser test file it goes in, beside the repo's existing e2e tests")}),Ld=u.object({journey:u.string().describe("the plan's journey id"),file:u.string().describe("the browser test file that walks it"),brokeAt:u.object({step:u.number().int().describe("the 1-based step whose check failed first"),expected:u.string(),actual:u.string().describe("what the app did instead, from the runner's output"),notReached:u.array(u.number().int()).optional().describe("later steps the test could not get to")}).optional().describe("only when the journey's test failed on a check: where"),test:u.string().describe("the title of the one test in that file that walks it end to end")});var bX=["stale_test","open_question"],SX=["low","medium","high","critical"];var Pd=(n=>(n.Skyramp="skyramp",n.Llm="llm",n))(Pd||{}),is=u.string().trim().min(1),nJ=u.object({case:is.describe("recommend id this assertion enforces"),evidence:is.describe("the exact assertion line from the file that checks that case's observable")}),Dy=u.object({kind:u.nativeEnum(Bd).describe("seed: data the test creates in the app; runtime_mock: a mock on a Skyramp worker, which other tests reach too; env_override: an env value the app runs with. A stub inside the test's own process, such as a browser page's route, is none of these"),target:is.describe("the dependency, endpoint or data it affects"),mechanism:u.nativeEnum(wd).describe("test_code: the test applies and undoes it; skyramp_mocker: a mock the test applies on a Skyramp worker; recipe_override: the mocker cannot reach the dependency (its URL is fixed in the build)"),detail:is.describe("what it sets up"),worker:is.optional().describe("skyramp_mocker: host:port of the worker the test applies the mock to (default localhost:35142)"),cleanup:is.optional().describe("seed: a command, without a shell, that removes the data when the test does not")}),rJ=u.object({file:is.describe("staged path under .skyramp/staged/"),source:u.nativeEnum(Pd),language:is,covers:u.array(u.string()).min(1,"must be a non-empty array of recommend ids").describe("recommend ids this test covers"),assertions:u.array(nJ).min(1,"must be a non-empty array").describe("one per case covered, citing the real line"),context:u.array(Dy).optional().describe("what the test sets up against the running app, in order: data it seeds, Skyramp mocks it applies, env overrides; omit when none")}),Ny=u.object({schemaVersion:u.literal(1),tests:u.array(rJ),deferredUi:u.array(u.string()).describe("recommend ui ids left for the UI stage (generate) \u2014 [] for generate-ui"),summary:is.describe("one paragraph")});var os=u.string().trim().min(1),Fu=72,sJ=u.object({repository:os.optional().describe("owner/repo of the checkout this lint ran in, when the run has several; omit for the working checkout"),tool:u.string(),command:u.string().describe("the exact command you ran, scoped to the changed files"),clean:u.boolean(),fixed:u.array(u.string()).optional().describe("files you fixed"),uncovered:u.array(u.string()).describe("changed/new files this linter's own config does not match (wrong extension, wrong directory) \u2014 so `clean` never examined them, even though CI may still execute them. Empty array, not omitted, when every changed/new file IS covered.")}),MX=u.object({schemaVersion:u.literal(1),lint:u.array(sJ).min(1).describe("one entry per checkout this run wrote tests in, each run from that checkout"),fileConventions:u.object({ok:u.boolean(),notes:u.string().optional()}),ciReadiness:u.object({covered:u.boolean().describe("will the repo's CI run these tests?"),notes:u.string().optional()}),dependencies:u.object({added:u.array(u.object({package:u.string(),manifest:u.string(),repository:os.optional().describe("owner/repo of the manifest's checkout; omit for the working checkout"),reason:os.optional().describe("why the test must run inside the application's own test environment, so its manifest had to change \u2014 required for every entry")})).describe("every package added to an APPLICATION manifest (an exception, surfaced in the report); never the Testbot test package's own")}),support:u.array(u.object({file:os,repository:os.optional().describe("owner/repo of the file's checkout; omit for the working checkout")})).optional().describe("the files the tests need besides themselves (helper modules, page objects, fixtures, snapshots), delivered with them"),commit:u.object({message:os.refine(t=>t.split(`
|
|
119
|
-
`)[0].length<=Fu,{message:`subject line must be <= ${Fu} chars`})}),pr:u.object({title:os.max(Fu,`must be <= ${Fu} chars`),body:os}),ready:u.boolean().describe("a statement of fact: true only if the tests are fit to commit as they stand"),blockers:u.array(u.string()).describe("what blocks the commit \u2014 required non-empty when ready is false"),summary:os.describe("one paragraph")});var qs=Re(require("fs")),ja=Re(require("path")),v0=require("child_process");var Zn="{junit}",Q0=(r=>(r.Junit="junit",r.Trx="trx",r.GoTestJson="go-test-json",r))(Q0||{}),b0=(e=>(e.Minitest="minitest",e))(b0||{}),w0=u.string().trim().min(1),Ya=u.object({cwd:w0.describe('repo-relative directory the command starts in ("." for the root)'),argv:u.array(w0).min(1).describe(`the command as separate arguments, run without a shell; for a junit or trx report an argument or env value holds ${Zn}, where the report is written (not for Maven or Gradle, whose build writes its own)`),env:u.record(u.string(),u.string()).optional().describe("plain test or reporter settings beyond the repository's CI test job (RAILS_ENV=test, PLAYWRIGHT_JUNIT_OUTPUT_FILE={junit}); never a credential, PATH, or a tool's install path"),report:u.object({format:u.nativeEnum(Q0).describe(`junit (JUnit XML to ${Zn}), trx (to ${Zn}), or go-test-json (go test -json on the command's output)`),reporter:u.nativeEnum(b0).optional().describe("a reporter Testbot loads for a runner that writes no report: minitest")}).optional().describe("the report the command writes; junit when omitted")});var qa="a framework other than pytest, jest, vitest and node --test (go test, rails test, mvn, dotnet test), or one the repository's test script runs through another command (ng test, nx test)",PX=`pytest, Jest, Vitest and node --test tests run as the run already knows them, unless the repository's test script runs them through another command (ng test, nx test), which may be the only one that compiles them. A test in any other framework, or one run that way, also gives "run": the repository's own command for only those tests, from the directory the repository runs it in, as separate arguments without a shell. Its "report" says what the runner writes: junit (JUnit XML to ${Zn} in the reporter's argument or env setting), trx (a TRX file to ${Zn}, which every dotnet test writes with its built-in logger), or go-test-json (go test -json, read from the command's output). A Maven or Gradle command names no ${Zn}: its build writes JUnit XML to its own report directory, which the run reads. Use a reporter the repository already has, or one of those; a reporter or converter the command fetches is the version the repository pins, or else its latest release (an older one may not build with the repository's toolchain). For minitest, which writes none, give report.reporter "minitest" and the run fills ${Zn} itself. A setting the tests or reporter read goes in "env" (RAILS_ENV=test, or PLAYWRIGHT_JUNIT_OUTPUT_FILE=${Zn} with playwright test --reporter=junit): the run sets it, so never wrap the command in a shell to set one. The run replaces ${Zn} in argv and env with its report path, executes the command, and reads that report.`;var ho=(s=>(s.ExistingEvidenceSufficient="existing_evidence_sufficient",s.TargetedUnit="targeted_unit",s.RuntimeRequired="runtime_required",s.BlockedPreflight="blocked_preflight",s))(ho||{}),Ys=(i=>(i.ExistingEvidence="existing_evidence",i.Unaffected="unaffected",i.ExistingUnit="existing_unit",i.NewUnit="new_unit",i.Runtime="runtime",i))(Ys||{}),My=(n=>(n.Repository="repository",n.Testbot="testbot",n))(My||{}),Uy=(r=>(r.Identified="identified",r.Passed="passed",r.Failed="failed",r))(Uy||{}),Kt=u.string().trim().min(1),iJ=u.string().regex(/^[a-z0-9][a-z0-9-]*$/,"must be a short lowercase slug").describe("short-slug");var oJ=u.object({id:iJ,source:u.nativeEnum(My),kind:u.nativeEnum(Us),outcome:u.nativeEnum(Uy),summary:Kt.max(400).describe("one line: what it shows"),tests:u.array(Kt).optional().describe("source repository: the existing tests, as repo-relative paths, optionally path::test-name"),repository:Kt.optional().describe("source repository: owner/repo the tests live in, when the run has several checkouts; omit for the working checkout"),command:Kt.optional().describe("source testbot: the exact command you ran, as you ran it"),run:Ya.optional().describe(`source repository, for tests in ${qa}: how the run executes only these tests, all of them in one command, with the repository's own runner writing JUnit XML to {junit}. Name each test (path::test-name): a test is credited to a file only by its name or by a report that names the file`)}),aJ=u.object({behaviorId:Kt.describe("an id from analyze's behaviors"),mechanism:u.nativeEnum(Ys),evidenceIds:u.array(Kt).default([]).describe("existing_evidence: the ci-<n> or evidence ids that establish it; existing_unit: the evidence id naming the tests to run"),covers:u.string().trim().optional().describe('new_unit / runtime: the missing evidence this obtains, e.g. "the boundary the change moved"; unaffected: why the change cannot reach it, citing path:line')}),cJ=u.object({behaviorId:u.string().trim().optional().describe("an id from analyze's behaviors, when it is about one"),missing:Kt.max(600).describe("the evidence that is required and cannot be obtained in this run")}),uJ=u.object({file:Kt.describe("the changed file the failure is in"),repository:Kt.optional().describe("owner/repo the file is in, when the run has several checkouts; omit for the working checkout"),reason:Kt.max(300).describe("what prerequisite the change fails"),evidence:Kt.max(400).describe("the error line, quoted")}),AJ=u.object({behaviorId:Kt.describe("an id from analyze's behaviors"),reason:Kt.max(600).describe("\u2264600 characters: why this change leaves the behavior's result as it was, citing the unchanged line that decides it (path:line)")}),Mu=u.object({schemaVersion:u.literal(1),decision:u.nativeEnum(ho),evidence:u.array(oJ).describe("evidence this session found or produced; CI results are the ci-<n> items and are not restated here"),plan:u.array(aJ).describe("how each changed behavior's evidence is obtained"),gaps:u.array(cJ),outOfScope:u.array(AJ).optional().describe("behaviors analyze found that this change neither changes nor states"),blocked:uJ.optional().describe("only for blocked_preflight"),rationale:Kt.max(1200).describe("\u22641200 characters: why this evidence is enough, or what it still lacks \u2014 the scope you chose and why")});function $d(t){let e=Sn(t,"recommend.json");if(!e||!Array.isArray(e.generate)||!Array.isArray(e.maintenance))return;let n=e;return{...n,maintenance:n.maintenance.map(({repository:r,...s})=>({...s,test:s.test.trim().replace(/^\.\//,""),...r?.trim()?{repository:r.trim()}:{}}))}}function hJ(t){return ns(Ny,t).errors}function fJ(t,e=[]){let{value:n,error:r}=jt(t,e);if(r)return{errors:[r]};let s=hJ(n);return s.length>0?{errors:s}:{generate:n,errors:[]}}function Vd(t,e=[]){return fJ(t.stdout,e)}function gJ(t){return t.generate.filter(e=>e.type!=="ui").map(e=>e.id)}function R0(t){return t.generate.filter(e=>e.type==="ui").map(e=>e.id)}var Gd={backend:{stage:"generate",cases:gJ,noRecommendCoverage:"recommend.json missing or malformed \u2014 cannot check coverage",noRecommendIntent:"recommend.json missing or malformed \u2014 cannot check intent",uncovered:t=>`recommend case "${t}" is not covered by any generated test`,unknownCovered:t=>`test covers unknown recommend id "${t}"`,unasserted:t=>`case "${t}" has no verified assertion enforcing its expected_observable`,usedCodegen:h0,codegenHint:"These tests were hand-written. Skyramp codegen (skyramp_contract_test_generation / skyramp_integration_test_generation) was available but not used \u2014 it computes valid sample data and response correlations. Prefer scaffolding with it and then refining, especially for the failures above."},ui:{stage:"generate-ui",cases:R0,noRecommendCoverage:"recommend.json not found \u2014 cannot check UI coverage",noRecommendIntent:"recommend.json not found \u2014 cannot check UI intent",uncovered:t=>`UI case "${t}" is not covered by any generated UI test`,unknownCovered:t=>`test covers "${t}" which is not a recommend UI case`,unasserted:t=>`UI case "${t}" has no verified assertion enforcing its expected_observable`,usedCodegen:f0,codegenHint:"This UI test was hand-authored. Skyramp UI codegen (skyramp_ui_test_generation) was available but not used. Prefer scaffolding with it and then refining, especially for the failures above."}},E6=_s("generate-schema",(t,e)=>Vd(e,t.secretValues));function mJ(t){let e=Gd[t];return{name:`${e.stage}-coverage`,verify(n,r){let{generate:s,errors:i}=Vd(r,n.secretValues);if(!s)return Mt(this.name,i);let a=$d(n);if(!a)return Mt(this.name,[e.noRecommendCoverage]);let c=new Set(s.tests.flatMap(h=>h.covers)),A=[],l=e.cases(a);for(let h of l)c.has(h)||A.push(e.uncovered(h));let p=new Set(t==="ui"?l:a.generate.map(h=>h.id));for(let h of c)p.has(h)||A.push(e.unknownCovered(h));if(t==="backend"){let h=new Set(s.deferredUi),g=new Set(R0(a));for(let C of g)!h.has(C)&&!c.has(C)&&A.push(`UI case "${C}" is neither covered nor deferred to the UI stage`);for(let C of h)g.has(C)||A.push(`deferredUi lists "${C}" which is not a UI case`)}return A.length===0?{name:this.name,passed:!0}:Mt(this.name,A)}}}function yJ(t){let e=Gd[t];return{name:`${e.stage}-intent`,verify(n,r){let{generate:s,errors:i}=Vd(r,n.secretValues);if(!s)return Mt(this.name,i);let a=$d(n);if(!a)return Mt(this.name,[e.noRecommendIntent]);let{asserted:c,errors:A,badFiles:l}=bJ(s,n.inputs.repositoryPath),p=A.length;for(let g of e.cases(a))c.has(g)||A.push(e.unasserted(g));if(A.length===0)return{name:this.name,passed:!0};let h=Mt(this.name,A);return p>0&&p===A.length&&l.size>0?{...h,droppable:[...l]}:h}}}function EJ(t){let e=Gd[t];return n=>{if(!n.inputs.skyrampMcp?.command||t==="backend"&&!Qy(n))return;let r=ja.join(n.outputsDir,`${e.stage}-stream.ndjson`);if(!(!qs.existsSync(r)||e.usedCodegen(r)))return g0(r)?e.codegenHint:"Skyramp codegen tools were configured but the MCP server did not connect this session, so they were not available. Hand-authoring was the only option; this is an environment problem, not yours."}}var C6=mJ("backend"),I6=yJ("backend"),B6=EJ("backend");var k0=t=>t.replace(/\s+/g,"");var _y={python:[/\bassert\s*[({\w"'`]/g,/\bpytest\.raises\s*\(/g,/\bself\.assert\w*\s*\(/g],typescript:[/\bexpect\s*\(/g,/\.should\b/g,/\bassert\s*[.(]/g],go:[/\bt\.(Error|Errorf|Fatal|Fatalf|Fail|FailNow)\s*\(/g,/\b(assert|require)\.\w+\s*\(/g],java:[/\bassert\w*\s*\(/g,/\bassertThat\s*\(/g],ruby:[/\bexpect\s*[({]/g,/\bassert\w*\b/g,/\.should\b/g]};for(let[t,e]of[["javascript","typescript"],["kotlin","java"]])_y[t]=_y[e];function CJ(t,e){if(t.includes(wu(e))||k0(t).includes(k0(e)))return!0;let n=e.split(/\r?\n/).map(r=>r.trim()).filter(r=>r&&!/^(\/\/|#|\*|\/\*)/.test(r));return n.length>0&&n.every(r=>t.includes(wu(r)))?!0:QJ(t,e)}var IJ=/\bassert\w*\b|\bexpect\s*\(|\.should\b|\brequire\s*\(/i,BJ=12,wJ=/,\s*\(\s*#|,\s*f?["'`]|\s+#\s|\s+\/\/|\s*\((?:line|lines|at line)\b|\s*,\s*$/i;function QJ(t,e){let n=e.split(/\s*;\s*|\s*\.\.\.\s*|\r?\n/),r=0;for(let s of n){let i=IJ.exec(s);if(!i)continue;let a=s.slice(i.index),c=wJ.exec(a);if(c&&(a=a.slice(0,c.index)),a=wu(a).replace(/[,\s]+$/,""),a.length<BJ||!t.includes(a))return!1;r++}return r>0}function bJ(t,e){let n=new Set,r=[],s=new Set;for(let i of t.tests){let a=ja.resolve(e,i.file);if(!qs.existsSync(a))continue;let c=wu(qs.readFileSync(a,"utf-8"));for(let A of i.assertions??[]){if(!CJ(c,A.evidence)){r.push(`assertion evidence for "${A.case}" not found in ${i.file} \u2014 cite the real assertion line`),s.add(i.file);continue}i.covers.includes(A.case)?n.add(A.case):(r.push(`assertion cites case "${A.case}" not in that test's covers[]`),s.add(i.file))}}return{asserted:n,errors:r,badFiles:s}}var SJ=/\.(spec|test)\.[cm]?[jt]sx?$/i;function x0(t){let e;try{e=(0,v0.execFileSync)("git",[...Dd,"status","--porcelain","--untracked-files=all"],{env:zn(),cwd:t,encoding:"utf-8",stdio:["ignore","pipe","ignore"]})}catch{return}let n=s=>/_scaffold/i.test(s)||Sd.test(s),r=[];for(let s of e.split(`
|
|
120
|
-
`)){if(!s.trim()||s.length>1&&s[1]==="D")continue;let i=s.slice(3).trim(),a=i.indexOf(" -> ");if(a!==-1&&(i=i.slice(a+4).trim()),i=i.replace(/^"|"$/g,""),!i)continue;let c=i.replace(/^\.\//,"");c.startsWith(".skyramp/")||!n(c)||r.push(c)}return r}function kJ(t){let e=Gd[t],n=t==="ui";return{name:`${e.stage}-no-litter`,verify(r){let s=x0(r.inputs.repositoryPath);if(s===void 0)return{name:this.name,passed:!0};let i=s.filter(a=>SJ.test(a)===n);return i.length===0?{name:this.name,passed:!0}:Mt(this.name,[`${e.stage} left files outside .skyramp/ \u2014 move the staged test into .skyramp/staged/ and delete any codegen draft (e.g. *_scaffold.*): ${i.slice(0,6).join(", ")}`])}}}var w6=kJ("backend");var Uu=Re(require("fs")),fo=Re(require("path"));function N0(t){return ns(by,t).errors}function xJ(t,e=[]){let{value:n,error:r}=jt(t,e);if(r)return{errors:[r]};let s=N0(n);return s.length>0?{errors:s}:{adapt:n,errors:[]}}var TJ="adapt-scratch",T0=`${TJ}/adapt-result.json`;function F0(t,e){let n=fo.join(t.outputsDir,T0),r;try{r=Uu.readFileSync(n,"utf-8")}catch{r=void 0}if(r!==void 0&&(t.secretValues??[]).some(a=>r.includes(a)))return{errors:[`${T0} contains a secret value (token / credential) \u2014 never write it anywhere`]};let s=xJ(e.stdout,t.secretValues);if(s.adapt)return s;let i=r!==void 0?va(n):void 0;return i!==void 0&&N0(i).length===0?{adapt:i,errors:[]}:s}var q6=_s("adapt-schema",F0);var t7=2*1024*1024;var le=u.string().trim().min(1),FJ=t=>{if(!t||typeof t!="object")return t;let e=t;return typeof e.skip=="string"&&e.skip.trim()&&(e.expected===void 0||e.expected===null)?{...e,expected:"(not tested)"}:t},MJ=u.preprocess(FJ,u.object({id:le.describe(`its requirement's id plus a letter, e.g. "R1a", "AC-3a"`),clause:le.describe("one testable part of the requirement"),expected:le.describe("the outcome the requirement calls for \u2014 taken from the requirement, never from what the code does"),skip:u.string().optional().describe("only when no test can check this clause here: why"),type:u.nativeEnum(Gs).optional().describe("the test that checks this clause: contract / integration (the API, or code called directly in-process: a function, hook or module) or ui (a page)"),target:u.string().optional().describe('its "METHOD /path", or the page / flow'),steps:u.string().optional().describe("what that test does; its expected outcome is this clause's"),finding:u.string().optional().describe("the finding id, when this clause's test also catches that defect (the defect still gets a case of its own)"),code:u.string().optional().describe("path:line of the code that decides this clause, when there is one"),mutates:u.boolean().optional().describe("true when its test changes state, in the test or its setup: an API POST, PUT, PATCH or DELETE, or a UI flow that submits, creates, edits or deletes"),browserOnly:u.boolean().optional().describe("true when its behaviour happens only in a browser: real clicks or keys driving page script, client-side sorting or filtering, script-driven DOM updates, focus, drag-and-drop, navigation, rendering that depends on CSS or JavaScript"),browserHarness:u.string().optional().describe("browserOnly, off the runtime path: the path of the repo's in-process browser suite its test goes in (e.g. a Django StaticLiveServerTestCase test that drives Selenium)")})),M0=u.object({spec:u.string().optional().describe("file:line of a spec in the repository"),prDescription:u.boolean().optional().describe("or true when a pull request description says otherwise"),reference:u.string().optional().describe("or the key of an item the run was given, as listed"),says:le.describe("what it says there, in its own words, copied exactly"),criterion:u.number().int().positive().optional().describe("an item's only: leave it out; Testbot numbers it")}).refine(t=>[!!t.prDescription,!!t.spec?.trim(),!!t.reference?.trim()].filter(Boolean).length===1,{message:`names no source, or more than one: give "spec" its file:line or "reference" an item's key, or set "prDescription", one of them; list each source as its own entry`}),UJ=u.object({id:le.describe('the label its source gives it ("AC-3", "REQ-12"; item 4 of a numbered list is "R4"), else "R1", "R2"\u2026 in order'),statement:le,source:u.nativeEnum(Ga).describe("requirement-reference (an item the run was given), spec, pr-description (also for what the change is evidently meant to do when nothing is written down), or could-break (what the change could break that no requirement mentions)"),reference:u.string().optional().describe('requirement-reference only: the key of its item as listed, e.g. "PAY-184", or a Confluence page id such as "3021"'),evidence:le.describe("where it is stated: for requirement-reference, the item's own words, copied exactly; else file:line, a doc section, or the quoted phrase"),criterion:u.number().int().positive().optional().describe("requirement-reference only: leave it out; Testbot numbers each criterion by the item's own label (AC2, 2.), else after the item's labels"),notInChange:u.string().optional().describe("requirement-reference only: when the change does not touch this criterion at all (e.g. a later step of a staged rollout), why; give it no clauses"),overrules:u.array(M0).optional().describe("requirement-reference only: each lower-ranked source that says otherwise, a spec in the repository, a PR description or another item; this requirement wins, so test what it says"),clauses:u.array(MJ)}),U0=(s=>(s.ServerError="server-error",s.DataLost="data-lost",s.FinalState="final-state",s.DerivedValues="derived-values",s))(U0||{}),_J=u.object({id:le.describe('e.g. "F1"'),file:le,line:u.number().optional(),claim:le.describe("the defect, in one sentence"),severity:u.nativeEnum(Va),evidence:le.describe("the code line, or the probe request and response, that shows it"),conflictsWith:u.array(le).optional().describe("requirement or clause ids it violates"),keeps:u.string().optional().describe("for a defect no requirement or clause states: path:line of the code beside the change that keeps the rule it breaks"),rule:u.nativeEnum(U0).optional().describe("for a defect that breaks a rule every app keeps, which nothing needs to state: which one"),existing:u.string().optional().describe("only when the base already does this, in code the change left as it was: where the base does it (its file:line); such a defect gets no case"),needsApp:u.enum(["browser","live-api"]).optional().describe("only when the running app alone can show this defect and the repo has no in-process test that can: browser (page script, what the user sees after a click or a save) or live-api (code the repo tests only against the running app's API)")}),LJ=u.object({id:le.describe('e.g. "Q1"'),question:le.describe("what is unsettled, as a question the PR author can answer"),readings:u.array(le).min(2).describe("each reasonable behaviour, with what points to it (file:line, or the words that suggest it)"),about:u.string().optional().describe("the requirement or clause id it is about, when there is one"),sources:u.array(M0).optional().describe("when sources of the same rank disagree on it: each of them")}),PJ=u.object({id:le.describe('unique, a short kebab-case name for what the case checks, e.g. "ship-twice-409"'),type:u.nativeEnum(Gs).describe("contract / integration: checks the API, or calls code directly in-process (a function, hook or module); ui: checks what a user sees or does on a page"),target:le.describe('"METHOD /path", or the page / flow'),clause:u.string().optional().describe("the clause id this case checks"),finding:u.string().optional().describe("the finding id this case catches"),steps:le.describe("what the test does"),expected:le.describe("the expected outcome, from the clause"),mutates:u.boolean().optional().describe("true when its test changes state, in the test or its setup: an API POST, PUT, PATCH or DELETE, or a UI flow that submits, creates, edits or deletes")}),OJ=u.object({test:le.describe("existing test file"),action:u.nativeEnum(uo),reason:le,mutates:u.boolean().optional().describe("true when the maintained test changes state"),clauses:u.array(le).optional().describe("the clause ids this test checks")}),$J=u.object({outcome:u.nativeEnum(rs).describe("clean | recipe-drift (you had to fix the recipe) | change-broke-bringup (this PR broke start-up) | bringup-failed (the environment, not the PR)"),baseUrls:u.record(u.string()).optional().describe("service \u2192 base URL of the running app"),health:u.object({url:u.string().optional(),command:u.string().optional(),output:u.string().optional()}).optional().describe("the check that shows the app serves real data, and what it returned"),teardown:u.string().optional().describe("command that stops the app"),dependencies:u.record(u.boolean()).optional().describe("every backing service: true = really running, false = mocked"),recipeFixes:u.array(u.string()).optional().describe("what you changed in the recipe"),error:u.string().optional().describe("when it did not come up: the failing command and what it printed"),suspectFiles:u.array(u.string()).optional().describe("change-broke-bringup: the changed files to blame"),login:u.object({username:le,password:u.string()}).optional().describe("the account the tests sign in as, when they sign in: each a literal value the recipe seeds, or $VARIABLE when a secret in the environment holds it"),revisions:hy.optional()}),D7=u.object({schemaVersion:u.literal(1),requirements:u.array(UJ),findings:u.array(_J),cases:u.array(PJ).describe("a second test for a clause, and one case per finding that fails on this branch"),questions:u.array(LJ).optional().describe("behaviours the change leaves unsettled; no case asserts any of them"),maintenance:u.array(OJ),journeys:u.array(B0).optional().describe("the user journeys that, together, pass through everything the change alters that a user sees or does; empty when it alters nothing a user sees"),notInJourney:u.array(u.object({clause:le,why:le})).optional().describe("a clause a user sees or does that no journey can reach through the UI, and why"),triage:Mu.optional().describe("the validation triage decision, made before the app is started; its behaviorIds are clause ids"),app:$J.optional().describe("omit when no app was needed or none was started"),summary:le.describe("one paragraph: what the change does and where the risk is")});var _0=(n=>(n.Backend="backend",n.Ui="ui",n))(_0||{});var Ly=(s=>(s.Added="added",s.Updated="updated",s.Deleted="deleted",s.Unchanged="unchanged",s))(Ly||{}),VJ=u.object({file:le.describe("repo-relative path; in another repo of the change, that repo's directory name then its path"),kind:u.nativeEnum(_0),change:u.nativeEnum(Ly).describe("added: a file you created; updated / deleted / unchanged: an existing test"),covers:u.array(u.string()).describe("the plan case ids this file tests"),defect:u.boolean().optional().describe("true when a case of it fails because the app is wrong and the test is right \u2014 kept failing on purpose"),staleBecause:u.object({requirement:le.describe("the requirement or clause id the change deliberately alters"),line:le.describe("path:line (or path) of the application code the change altered that makes this test's old expectation wrong")}).optional().describe("for an existing test you updated: why it is out of date"),result:u.object({exit:u.number().nullable().describe("exit code of your last run of this file; null if it could not be run"),cases:u.array(u.object({case:le,status:u.nativeEnum(Kn),defect:u.boolean().optional().describe("for a failing case: true when the app is wrong and the test is right; false when the test is at fault and you could not fix it"),failure:u.string().optional().describe("for a failing case: the runner's failure for it as printed (the error and the line it was raised at), not a summary"),cause:u.string().optional().describe("for a case you keep as a defect: path:line of the application code that makes it fail"),requires:u.string().optional().describe("for a case you keep as a defect: the words of the PR description, a requirement or clause of the plan, or the code a finding's keeps names, that state what its failing check expects, quoted exactly")})).describe("one entry per covered case, from the runner's own output"),details:u.string().optional().describe("what failed and why, or why it was not run")}),assertions:u.array(u.object({case:le,evidence:le})).optional().describe("per covered case, the assertion line that checks its expected outcome"),functions:u.array(u.object({name:le.describe("the test function as the runner names it within its file, without the file (test_x, TestClass::test_x, TestSuite/TestCase)"),cases:u.array(le).describe("the plan case ids it checks")})).optional().describe("for a file you added or updated: each test function in it and the plan case ids it checks"),skyramp:u.object({draft:u.union([u.string(),u.array(u.string())]).optional().describe("the draft path the Skyramp helper returned for this test, or each path when the test was made from several drafts"),handWritten:u.string().optional().describe("why it is written by hand: the helper call you made and what it returned")}).optional().describe("only for a test of a case the Skyramp API block lists: where it came from"),context:u.array(Dy).optional().describe("what the test sets up outside its own process that another test could run into: data it creates in the app, a Skyramp mock, an env override; omit when none"),isolatedRun:le.optional().describe("for a test with a context: the command, from its checkout's root and without a shell, that runs only this file"),run:Ya.optional().describe(`for a file in ${qa}, added, updated or re-run: how the run executes only this file's tests, with the repository's own runner and the report it writes (junit or trx to ${Zn}, or go-test-json); Testbot runs it before write ends and re-runs the tests with it`)}),GJ=t=>{if(!t||typeof t!="object")return t;let{test:e,...n}=t;return typeof e=="string"&&e.trim()&&n.tests===void 0?{...n,tests:[e]}:t},HJ=u.preprocess(GJ,u.object({description:le.describe("what is wrong and how to reproduce it: endpoint or page, input, what you got vs what was expected"),severity:u.nativeEnum(Va).optional(),sourceFile:u.string().optional().describe("the app file at fault"),sourceLine:u.number().optional(),tests:u.array(le).optional().describe("every test file that fails because of it: a defect several tests show is one issue"),finding:u.string().optional().describe("the plan's finding id, when it is one"),requirements:u.array(le).optional().describe("the plan's requirement or clause ids it violates")})),N7=u.object({schemaVersion:u.literal(1),tests:u.array(VJ),notWritten:u.array(u.object({case:le,reason:le})).describe("every plan case no test covers, and why"),journeys:u.array(Ld).optional().describe("one entry per planned user journey: the browser test that walks it end to end"),lint:u.object({command:u.string(),clean:u.boolean()}).optional().describe("the linter/formatter you ran on your test files, if the repo has one: the exact command, with its file paths (Testbot re-runs it)"),dependenciesAdded:u.array(u.object({package:le,manifest:le.describe("the manifest file's path relative to its checkout (e.g. package.json, pom.xml or pyproject.toml), and nothing else; name another checkout in repository"),repository:le.optional().describe("owner/repo of the manifest's checkout; omit for the repo under test"),reason:le.optional().describe("why the test must run inside the application's own test environment, so its manifest had to change \u2014 required for every entry")})).optional().describe("every package you added to an APPLICATION manifest (an exception, surfaced in the report); never the Testbot test package's own"),supportFiles:u.array(le).optional().describe("every file that is not a test you created or changed for your tests, which they need to compile or run (a helper module, page object, fixture, or a snapshot the runner wrote for them), named as you name a test; Testbot delivers only the tests you list and the files under supportFiles"),ciRunsTests:u.boolean().optional().describe("will the repo's CI pick these tests up as they are?"),ciNotes:u.string().optional().describe("when ciRunsTests is false: which of your tests the repo's CI will not collect, why, and the exact change the author must make for CI to run them"),commit:u.object({message:le.describe('"Skyramp Testbot: \u2026", subject line at most 72 characters'),prTitle:le.describe("at most 72 characters"),prBody:le.describe("what the tests cover and what they found")}),report:u.object({summary:le.describe("1-2 sentences for the PR author: does the change do what it says?"),issues:u.array(HJ).describe("every defect the tests found"),nextSteps:u.array(u.string())})});var F7={added:"place",updated:"update",deleted:"delete",unchanged:"verify"};var P0=(r=>(r.Requirement="requirement",r.PrDescription="pr_description",r.Code="code",r))(P0||{}),yt=u.string().trim().min(1),YJ=u.object({expectation:yt.max(300).describe("the behavior this assertion pins, in words"),source:u.nativeEnum(P0),expected:yt.max(200).describe("the exact value or outcome asserted, as the test asserts it")}),qJ=u.object({file:yt.describe("path of the NEW test file you wrote, relative to its repository"),repository:yt.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),framework:yt.describe("the framework the repository runs this file with: pytest, jest, vitest, node-test, or the name of any other"),run:Ya.optional().describe(`for ${qa}: how the run executes only the tests in names, with the repository's own runner writing JUnit XML to {junit}`),covers:u.array(yt).length(1).describe("the ONE behavior id, or defect id, from the plan that the tests in names provide evidence for; a file covering several is listed once per id"),names:u.array(yt).min(1).describe("the test functions/cases in the file that provide evidence for that behavior, as the framework names them"),assertions:u.array(YJ).min(1)}),Py=(n=>(n.Updated="updated",n.Deleted="deleted",n))(Py||{}),L0=300,jJ=u.object({file:yt.describe("path of the EXISTING test file you updated or deleted, relative to its repository"),repository:yt.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),change:u.nativeEnum(Py),staleBecause:u.object({requirement:yt.describe("the requirement or clause id the change deliberately alters"),line:yt.describe("path:line (or path) of the application code the change altered that makes this test's old expectation wrong")}).optional().describe("for an existing test you updated: why it is out of date"),reason:u.preprocess(t=>typeof t=="string"?t.trim().slice(0,L0):t,yt.max(L0)).describe("what the change deliberately altered that made the test wrong")}),Oy=u.object({schemaVersion:u.literal(1),tests:u.array(qJ),maintained:u.array(jJ).optional().describe("existing tests the change made stale that you updated or deleted; omit when there were none"),defectsNotTested:u.array(u.object({id:yt,reason:yt.max(300)})).optional().describe("defects the plan found that no in-process test can reach, each with why; omit when every defect has a test"),journeys:u.array(Ld).optional().describe("one entry per planned user journey: the in-process test that walks it end to end"),journeysNotWritten:u.array(u.object({journey:yt,missing:yt.transform(t=>t.length>300?`${t.slice(0,299)}\u2026`:t)})).optional().describe("a planned journey no in-process test can walk here, with what it needs that is missing; it is reported as not covered"),lint:u.object({command:u.string(),clean:u.boolean()}).optional().describe("the linter/formatter you ran on your test files, if the repository has one you can run; omit otherwise"),commitMessage:yt.optional().describe("the commit message for your tests: a subject line of at most 72 characters, then what they cover")});var tee=5*6e4;function zJ(t){let{value:e,error:n}=jt(t);if(n)return{errors:[n]};let{value:r,errors:s}=ns(Oy,e);return s.length?{errors:s}:{output:r,errors:[]}}function KJ(t){return zJ(t.stdout)}var ite=_s("generate-unit-schema",(t,e)=>KJ(e));var Hd=String.raw`(?:node:)?(?:http|https|http2|net|tls|dgram)`,ote=[[/\b(localhost|127\.0\.0\.1|0\.0\.0\.0)\b/,"a local server address"],[/^\s*(import|from)\s+(requests|aiohttp|urllib3|websockets?)\b/m,"an HTTP client"],[/^\s*(?:import|from)\s+(?:urllib\.request|http\.client|http\.server|socket|ssl|ftplib|smtplib|telnetlib)\b|^\s*from\s+urllib\s+import\b[^\n]*\brequest\b|\burlopen\s*\(/m,"a standard-library network client"],[/\bfrom\s+["'](axios|node-fetch|undici|ws)["']|require\(\s*["'](axios|node-fetch|undici|ws)["']\s*\)/,"an HTTP client"],[new RegExp(String.raw`\bfrom\s+["']${Hd}["']|\bimport\s+["']${Hd}["']|require\(\s*["']${Hd}["']\s*\)|\bimport\(\s*["']${Hd}["']\s*\)`),"Node's network modules"],[/\bfetch\s*\(|\bnew\s+(XMLHttpRequest|WebSocket)\b/,"a network call (fetch, XMLHttpRequest, WebSocket)"],[/\bskyramp\b/i,"the Skyramp runtime (a runtime mock or client)"]];var mte={"application/pdf":"PDF","text/csv":"CSV","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"DOCX","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"XLSX"};var eW=10*1024*1024;var V0=String.raw`\b(?:real browser|browser|javascript|js|htmx|client-side)\b`,G0=String.raw`\b(?:not|isn't|aren't|never|no)\s+(?:be\s+)?(?:covered|tested|exercised|verified|checked|walked|executed|run)\b|\buncovered\b|\bunverified\b`,Rte=[new RegExp(`${V0}[^.;\\n]{0,100}(?:${G0})`,"i"),new RegExp(`(?:${G0})[^.;\\n]{0,100}${V0}`,"i")];var xte=new Set(["targeted_unit","existing_evidence_sufficient"]);var Ene=new Set(["existing_evidence","unaffected","existing_unit","new_unit","runtime"]),Cne={existing_evidence:"existing evidence",unaffected:"showing the change cannot reach it",existing_unit:"running the existing unit tests",new_unit:"a new unit test",runtime:"tests against the running application"};function sW(t){let{value:e,error:n}=jt(t);if(n)return{errors:[n]};let{value:r,errors:s}=ns(Mu,e);return s.length?{errors:s}:{triage:r,errors:[]}}function iW(t){return sW(t.stdout)}var Ine=_s("triage-schema",(t,e)=>iW(e));var Bne=new Set(["deploy","recommend","generate","generate-ui","adapt","generate-unit","native-run","finalize","deliver"]);Dt();Dt();var aW="Skyramp-Pull-Request",cW="Skyramp-Delivery-Base",uW="Skyramp-Tested-Revision";var Yne=["%H","%P","%an","%ae","%ce",`%(trailers:key=${aW},valueonly,separator=%x2C)`,"%s",`%(trailers:key=${cW},valueonly,separator=%x2C)`,`%(trailers:key=${uW},valueonly,separator=%x2C)`];var qd=(n=>(n.GitHub="github",n.AzureDevOps="azure-devops",n))(qd||{}),Gy=(i=>(i.Trigger="TRIGGER",i.Baseline="BASELINE",i.AuthoritativeRelatedChange="AUTHORITATIVE_RELATED_CHANGE",i.ConfiguredSharedDependency="CONFIGURED_SHARED_DEPENDENCY",i.ManualOverride="MANUAL_OVERRIDE",i))(Gy||{}),Lu=(a=>(a.PullRequest="pull_request",a.ReadyForReview="ready_for_review",a.Schedule="schedule",a.Manual="manual",a.SutSetup="sut_setup",a.RevisionRead="revision_read",a))(Lu||{}),dW=["sut_setup"],pW=["sut_setup","schedule","revision_read"];var jd=(e=>(e.PullRequest="pull_request",e))(jd||{}),Pu=(s=>(s.ModelProvider="model_provider",s.SutAccess="sut_access",s.Skyramp="skyramp",s.Other="other",s))(Pu||{});var Jd=(i=>(i.ReportUploaded="report_uploaded",i.NoReport="no_report",i.Cancelled="cancelled",i.RecipeUploaded="recipe_uploaded",i.RevisionsUploaded="revisions_uploaded",i))(Jd||{}),tT=(n=>(n.Running="running",n.Ended="ended",n))(tT||{}),Wd=(p=>(p.TimedOut="timed_out",p.AgentFailed="agent_failed",p.SetupFailed="setup_failed",p.CredentialMissing="credential_missing",p.RunnerLost="runner_lost",p.CheckoutFailed="checkout_failed",p.EnvironmentUnverified="environment_unverified",p.ModelProviderDenied="model_provider_denied",p.ModelProviderUnavailable="model_provider_unavailable",p.RunnerProviderNotReady="runner_provider_not_ready",p))(Wd||{}),Hy=(r=>(r.Onboard="onboard",r.Deploy="deploy",r.Recheck="recheck",r))(Hy||{}),Yy=(n=>(n.Started="started",n.Finished="finished",n))(Yy||{}),qy=(r=>(r.Passed="passed",r.Failed="failed",r.Skipped="skipped",r))(qy||{});var jy=(r=>(r.ChooseCredential="choose_credential",r.FreeText="free_text",r.ChooseSource="choose_source",r))(jy||{});var zd=(r=>(r.Discover="discover",r.Start="start",r.Check="check",r))(zd||{}),Kd=(s=>(s.ValidationPlan="validation_plan",s.TestEnvironment="test_environment",s.TestConditions="test_conditions",s.Tests="tests",s))(Kd||{}),Ou=(s=>(s.Found="found",s.Starting="starting",s.Up="up",s.OutOfScope="out_of_scope",s))(Ou||{}),Xn=u.string().regex(/^[1-9][0-9]{0,18}$/),Cr=u.string().regex(/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/),Wa=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,Ut=u.string().regex(Wa),_t=u.string().regex(/^[0-9a-f]{64}$/),Yd=u.object({id:Ut,revision:Xn}).strict(),Zd={provider:u.literal("github"),providerAccountId:Xn,providerRepositoryId:Xn},Xd={provider:u.literal("azure-devops"),providerAccountId:Ut,providerRepositoryId:Ut},er=u.discriminatedUnion("provider",[u.object(Zd).strict(),u.object(Xd).strict()]),Jy=u.discriminatedUnion("provider",[u.object(Zd).passthrough(),u.object(Xd).passthrough()]),go=t=>`${t.provider}:${t.providerRepositoryId}`,H0={namespace:u.string().min(1),name:u.string().min(1)},nT=u.discriminatedUnion("provider",[u.object({...Zd,...H0}).strict(),u.object({...Xd,...H0}).strict()]),Y0=u.object({ref:u.string().min(1),revision:Cr}).strict(),hW=u.object({repository:nT,revision:Cr,ref:u.string().nullable(),reason:u.nativeEnum(Gy),change:u.object({kind:u.nativeEnum(jd),number:Xn,base:Y0.optional()}).strict().nullable(),compareWith:Y0.optional()}).strict();function fW(t){if(t.trigger.kind==="revision_read"!=!t.baseline)return t.baseline?"a revision_read run names no baseline":"names its baseline";if(!t.baseline)return null;let{confirmedRunId:e,initialBaselineId:n,sources:r}=t.baseline;if(e!==null&&n!==void 0)return"a run compares with one baseline";let s=t.trigger.kind==="schedule"&&e!==null||n!==void 0;if(!r)return s?"names every source of the snapshot, once":null;if(e===null&&n===void 0)return"a run with no Confirmed Baseline names no baseline sources";let i=new Set(t.sources.map(A=>go(A.repository))),a=new Set(r.map(A=>go(A.repository)));return a.size===r.length&&a.size===i.size&&[...a].every(A=>i.has(A))?null:"names every source of the snapshot, once"}var rT=/^[A-Z][A-Z0-9_]+-[1-9][0-9]*$/,sT=/^[1-9][0-9]{0,18}$/,q0=new RegExp(`${rT.source}|${sT.source}`),j0=/^https:\/\/[a-z0-9-]+(\.[a-z0-9-]+)+$/,gW=u.union([u.object({source:u.literal("jira"),site:u.string().regex(j0),key:u.string().regex(rT),updated:u.string().datetime(),contentHash:_t}).strict(),u.object({source:u.literal("confluence"),site:u.string().regex(j0),key:u.string().regex(sT),version:u.number().int().positive(),contentHash:_t}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),contentHash:_t}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),contentHash:_t,fileName:u.string().min(1).max(255),mediaType:u.nativeEnum(Eu)}).strict()]),J0=u.union([u.literal("jira"),u.literal("confluence")]),mW=u.object({schemaVersion:u.literal(1),items:u.array(u.union([u.object({source:J0,site:u.string(),key:u.string().regex(q0),state:u.literal("read"),text:u.string(),version:u.string().min(1),contentMatches:u.boolean()}).strict(),u.object({source:J0,site:u.string(),key:u.string().regex(q0),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),state:u.literal("read"),text:u.string(),version:u.string().min(1),contentMatches:u.boolean()}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),state:u.literal("read"),version:_t,fileName:u.string().min(1).max(255),mediaType:u.nativeEnum(Eu)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict()])),instructions:u.array(u.string()).optional()}).strict(),yW=u.object({schemaVersion:u.literal(1),runId:Ut,skyrampOrgId:Ut,target:Yd,policy:Yd.nullable(),trigger:u.object({kind:u.nativeEnum(Lu),requestedAt:u.string().datetime()}).strict(),configuration:u.object({captureId:Ut,revision:Xn.nullable(),hash:_t}).strict(),baseline:u.object({confirmedRunId:Ut.nullable(),initialBaselineId:Ut.optional(),sources:u.array(u.object({repository:er,revision:Cr}).strict()).optional()}).strict().optional(),sources:u.array(hW).min(1),execution:u.object({provider:u.nativeEnum(qd),repository:nT,workflowPath:u.string(),ref:u.string()}).strict(),credentials:u.array(u.object({name:u.string(),purpose:u.nativeEnum(Pu),required:u.boolean()}).strict()),requirements:u.array(gW).min(1).optional(),instructions:u.object({contentHash:_t}).strict().optional(),deployedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).min(1).optional()}).strict().superRefine((t,e)=>{let n=new Set;(t.requirements??[]).forEach((A,l)=>{let p="fileName"in A?"file":"pasted";A.source==="other"&&A.key!==`${p}-${A.contentHash.slice(0,16)}`&&e.addIssue({code:u.ZodIssueCode.custom,message:"is not the key of its content hash",path:["requirements",l,"key"]});let h=oy({source:A.source,key:A.key});n.has(h)&&e.addIssue({code:u.ZodIssueCode.custom,message:"names an item that the run already names",path:["requirements",l,"key"]}),n.add(h)});let r=t.trigger.kind,s=dW.includes(r);s!==(t.policy===null)&&e.addIssue({code:u.ZodIssueCode.custom,path:["policy"],message:s?`a ${r} run has no policy`:"names the policy revision"});let i=fW(t);i&&e.addIssue({code:u.ZodIssueCode.custom,path:t.baseline?["baseline","sources"]:["baseline"],message:i}),pW.includes(r)&&t.sources.forEach((A,l)=>{A.reason!=="BASELINE"&&e.addIssue({code:u.ZodIssueCode.custom,path:["sources",l,"reason"],message:`a ${r} run selects only BASELINE sources`})}),t.deployedRevisions&&r!=="manual"&&e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions"],message:"only a manual run pins deployed revisions"});let a=new Set(t.sources.map(A=>go(A.repository))),c=new Set;(t.deployedRevisions??[]).forEach((A,l)=>{let p=go(A.repository);a.has(p)?c.has(p)&&e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions",l,"repository"],message:"repository appears twice"}):e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions",l,"repository"],message:"names a repository outside the snapshot"}),c.add(p)}),t.sources.forEach((A,l)=>{A.compareWith&&(A.reason!=="MANUAL_OVERRIDE"||A.change)&&e.addIssue({code:u.ZodIssueCode.custom,path:["sources",l,"compareWith"],message:"only a MANUAL_OVERRIDE source without a change names a revision to compare with"})})});var iT=(n=>(n.Person="person",n.Policy="policy",n))(iT||{}),EW=u.object({kind:u.nativeEnum(iT),name:u.string().min(1).max(256)}).strict(),CW=u.object({mcp:u.discriminatedUnion("source",[u.object({source:u.literal("npm"),version:u.string().regex(/^[A-Za-z0-9][A-Za-z0-9.+_-]{0,63}$/).nullable()}).strict(),u.object({source:u.literal("github"),ref:u.string().regex(/^[A-Za-z0-9._/-]{1,255}$/)}).strict()]),bedrock:u.object({region:u.string().regex(/^[a-z]{2}(-[a-z]+)+-[0-9]$/),roleArn:u.string().regex(/^arn:aws(-[a-z]+)*:iam::[0-9]{12}:role\/[\w+=,.@/-]{1,512}$/)}).strict().nullable()}).strict(),Qre=u.object({schemaVersion:u.literal(1),attempt:u.object({id:Ut,number:u.number().int().positive(),deadlineAt:u.string().datetime()}).strict(),manifest:yW,manifestHash:_t,entitlements:u.array(u.string()).optional(),runToken:u.string().min(1).optional(),requestedBy:EW.nullable().optional(),writeAllowed:u.boolean().optional(),claudeCodeVersion:u.string().regex(/^[0-9]+\.[0-9]+\.[0-9]+$/,"an exact version, such as 2.1.290").nullable().optional(),deployedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).optional(),statedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).optional(),runSettings:CW.optional()}).strict(),W0={providerRunAttempt:u.number().int().positive(),workflowRef:u.string().min(1)},IW=u.string().regex(/^[^/]+\/[^/]+\/[1-9][0-9]{0,15}\/[1-9][0-9]{0,15}$/),bre=u.object({schemaVersion:u.literal(1),runId:Ut,execution:u.discriminatedUnion("provider",[u.object({...W0,provider:u.literal("github"),repository:u.object(Zd).strict(),providerRunId:Xn}).strict(),u.object({...W0,provider:u.literal("azure-devops"),repository:u.object(Xd).strict(),providerRunId:IW}).strict()]),requester:u.literal(!0).optional(),writeCheck:u.literal(!0).optional(),claudeCodePin:u.literal(!0).optional(),deployedPins:u.literal(!0).optional(),statedPins:u.literal(!0).optional(),runSettings:u.literal(!0).optional()}).strict(),z0=u.object({repository:er,number:Xn,commitSha:Cr.optional()}).strict(),BW=u.discriminatedUnion("status",[u.object({status:u.literal("none")}).strict(),u.object({status:u.literal("delivered"),pullRequests:u.array(z0).min(1)}).strict(),u.object({status:u.literal("partial"),pullRequests:u.array(z0).min(1),failures:u.array(u.object({repository:er,message:u.string()}).strict()).min(1)}).strict(),u.object({status:u.literal("failed"),message:u.string()}).strict()]),wW=u.object({blockedPreflight:u.object({file:u.string().min(1),repository:u.string().min(1).optional(),reason:u.string().min(1).max(300),evidence:u.string().min(1).max(400)}).strict().optional(),sufficiency:u.nativeEnum(Sa),rationale:u.string().min(1),gaps:u.array(u.string().min(1)),acceptedEvidence:u.array(u.object({kind:u.nativeEnum(Us),repository:u.string().min(1),revision:Cr,reference:u.string().min(1),summary:u.string().min(1)}).strict()),actionRequired:u.array(u.nativeEnum(ka))}).strict().superRefine((t,e)=>{t.sufficiency==="insufficient"!=t.gaps.length>0&&e.addIssue({code:u.ZodIssueCode.custom,path:["gaps"],message:"only insufficient evidence names gaps, and it names at least one"}),new Set(t.actionRequired).size!==t.actionRequired.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["actionRequired"],message:"a reason appears twice"})}),$y=500,QW=2048,bW=1e3,SW=/[\\/:*?"<>|;#$*{},+=[\]%\p{Cc}\p{Cf}]/u,K0=t=>t.length>0&&t.length<=64&&t===t.trim()&&!SW.test(t)&&!/[^\S ]/u.test(t)&&!/^[._]/.test(t)&&!t.endsWith("."),kW=t=>{if(/^[A-Za-z0-9._-]{1,100}\/[A-Za-z0-9._-]{1,100}$/.test(t))return!0;let[e,n,r,...s]=t.split("/");return t.length<=201&&s.length===0&&r!==void 0&&/^[A-Za-z0-9](?:[A-Za-z0-9-]{0,48}[A-Za-z0-9])?$/.test(e)&&K0(n)&&K0(r)},vW=u.object({testResults:u.array(u.object({resultId:u.string().regex(/^[^\u0000-\u001f]{1,512}$/),repository:u.string().refine(kW,"Invalid"),testType:u.string(),endpoint:u.string(),status:u.enum(["Pass","Fail","Skipped"]),details:u.string(),fileName:u.string().optional(),testId:u.string().regex(/^[^\u0000-\u001f]{1,512}$/).optional(),failureCause:u.object({kind:u.nativeEnum(cy),family:u.nativeEnum(uy).optional()}).strict().optional(),origin:u.nativeEnum(ay).optional()}).strict()),validation:wW,changes:u.array(u.object({id:u.string().min(1).max(512),text:u.string().max(16384),source:u.string().max(QW),testedBy:u.array(u.string().min(1).max(1024)).max($y),writtenBy:u.array(u.string().min(1).max(1024)).max($y),maintainedBy:u.array(u.string().min(1).max(1024)).max($y)}).strict()).max(bW).optional(),traceVersion:u.literal(1)}).passthrough().superRefine((t,e)=>{let n=new Set;t.testResults.forEach((r,s)=>{let i=r.failureCause;i&&r.status==="Pass"&&e.addIssue({code:u.ZodIssueCode.custom,path:["testResults",s,"failureCause"],message:"a passing result has no failure cause"}),i&&i.kind==="environment"!=(i.family!==void 0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["testResults",s,"failureCause"],message:"an environment cause names its family, and no other cause does"});let a=["testResults",s,"resultId"],c=r.resultId.slice(`${r.repository}:${r.testType}:`.length);(!r.resultId.startsWith(`${r.repository}:${r.testType}:`)||c===""||c.startsWith("/")||c.startsWith("#"))&&e.addIssue({code:u.ZodIssueCode.custom,path:a,message:"is not repository:testType:path for this result"}),n.has(r.resultId)&&e.addIssue({code:u.ZodIssueCode.custom,path:a,message:"stable identity repeated"}),n.add(r.resultId)})});var oT=50,Z0=u.string().regex(/^(?!.*\.\.)(?!\/)(?!.*\/$)[A-Za-z0-9._/-]{1,255}$/),aT=u.discriminatedUnion("kind",[u.object({kind:u.literal("branch_pushed"),repository:er,branch:Z0,commit:Cr}).strict(),u.object({kind:u.enum(["pull_request_opened","pull_request_edited"]),repository:er,number:Xn,branch:Z0}).strict()]),RW=u.object({schemaVersion:u.literal(1),run:u.object({runId:Ut,attemptNumber:u.number().int().positive(),manifestHash:_t}).strict(),target:Yd,policy:Yd,provenance:u.object({sources:u.array(u.object({repository:er,revision:Cr}).strict()),firstQualification:u.literal(!0).optional()}).strict(),delivery:u.object({generatedTests:BW}).strict(),producer:u.object({testbot:u.string().regex(/^[0-9A-Za-z.+-]{1,64}$/),mcp:u.string().regex(/^[0-9A-Za-z.+-]{1,64}$/)}).strict(),report:vW,githubWrites:u.array(aT).max(oT).optional()}).strict(),Sre=RW.pick({schemaVersion:!0,run:!0,target:!0,provenance:!0,producer:!0}).extend({recipe:vy}).strict().superRefine(({recipe:t},e)=>{let n=(i,a)=>e.addIssue({code:u.ZodIssueCode.custom,path:["recipe",...i],message:a});t.status==="blocked"&&t.blockers.length===0&&n(["blockers"],"a blocked recipe names at least one blocker");let r=new Set,s=0;t.files.forEach((i,a)=>{Tu(i.path)||n(["files",a,"path"],"is not .skyramp/workspace.yml or a file under .skyramp/sut/"),r.has(i.path)&&n(["files",a,"path"],"file repeated"),r.add(i.path),gy.test(i.content)&&n(["files",a,"content"],"is not text");let c=Buffer.byteLength(i.content,"utf8");s+=c,c>Ru&&n(["files",a,"content"],`larger than ${Ru} bytes`)}),s>xu&&n(["files"],`recipe text over ${xu} bytes in total`)}),kre=u.object({components:u.array(u.object({name:u.string().min(1),repository:u.string().regex(/^[A-Za-z0-9._-]{1,100}\/[A-Za-z0-9._-]{1,100}$/),observedRevision:u.string().regex(/^[0-9a-f]{7,64}$/).nullable(),source:u.nativeEnum(Id),evidence:u.string()}).strict().refine(t=>t.source!=="agent"||t.observedRevision===null,{path:["observedRevision"],message:"a component only an agent session can read names no revision"}))}).strict();var xW=u.object({schemaVersion:u.literal(1),stage:u.nativeEnum(Hy),event:u.nativeEnum(Yy),status:u.nativeEnum(qy).optional()}).strict().refine(t=>t.status===void 0||t.event==="finished",{path:["status"],message:"only a finished stage has a status"}),za=100,Wy=5e3,_u=2e3,Vy=100,zy=/^[A-Za-z0-9_-]{1,64}$/,cT=20,uT=200,AT=100,lT=100,TW=200,X0="[^/\\s](?:(?:[^/\\s]| )*[^/\\s])?",DW=new RegExp(`^(?:[^/\\s]+/[^/\\s]+|[^/\\s]+/${X0}/${X0})$`),dT=500,pT=50,$u=/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/,Tn=t=>u.string().max(t).refine(e=>e.trim().length>0&&!$u.test(e),"blank, or not text"),as={sequence:u.number().int().min(1).max(Wy),at:u.string().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,6})?Z$/)},hT=u.discriminatedUnion("kind",[u.object({...as,kind:u.literal("log"),phase:u.nativeEnum(zd),text:Tn(_u)}).strict(),u.object({...as,kind:u.literal("component"),name:Tn(Vy),repository:Tn(TW).refine(t=>DW.test(t)||t===zt,"not owner/name"),file:Tn(dT).nullable(),status:u.nativeEnum(Ou),version:Tn(lT).optional()}).strict(),u.object({...as,kind:u.literal("reply"),to:u.string().uuid(),accepted:u.boolean(),text:Tn(_u)}).strict(),u.object({...as,kind:u.literal("question"),id:u.string().regex(zy),type:u.nativeEnum(jy),text:Tn(_u),component:Tn(Vy).nullable(),choices:u.array(Tn(uT)).max(cT),placeholder:Tn(AT).optional()}).strict(),u.object({...as,kind:u.literal("delivered"),ids:u.array(u.string().uuid()).max(za)}).strict(),u.object({...as,kind:u.literal("credentials"),names:u.array(u.string().regex(La)).min(1).max(pT)}).strict()]).superRefine((t,e)=>{t.kind==="credentials"&&new Set(t.names).size!==t.names.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["names"],message:"a name twice"}),t.kind==="question"&&(t.type==="free_text"!=(t.choices.length===0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["choices"],message:"choices exactly when the question is not free_text"}),new Set(t.choices).size!==t.choices.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["choices"],message:"a choice twice"}))}),NW=u.object({schemaVersion:u.literal(1),events:u.array(hT).max(za)}).strict(),fT=u.discriminatedUnion("kind",[u.object({...as,kind:u.literal("log"),stage:u.nativeEnum(Kd),text:Tn(_u)}).strict(),u.object({...as,kind:u.literal("reply"),to:u.string().uuid(),accepted:u.boolean(),text:Tn(_u)}).strict(),u.object({...as,kind:u.literal("delivered"),ids:u.array(u.string().uuid()).max(za)}).strict()]),FW=u.object({schemaVersion:u.literal(1),events:u.array(fT).max(za)}).strict(),eT={id:u.string().uuid(),text:u.string(),by:u.string().nullable(),at:u.string(),replied:u.literal(!0).optional()},gT=u.discriminatedUnion("kind",[u.object({...eT,kind:u.literal("instruction"),question:u.null()}),u.object({...eT,kind:u.literal("answer"),question:u.string().regex(zy)})]),mT=u.string().regex(/^[A-Za-z0-9+/]{43}=$/),MW=u.object({id:u.string().uuid(),revision:u.string(),by:u.string().nullable(),at:u.string(),target:u.string(),own:u.object({source:u.enum(["policy","test_environment"]),text:u.string()}).nullable()}),UW=u.object({schemaVersion:u.literal(1),leftOut:u.array(u.string()),messages:u.array(gT).optional(),stop:u.object({key:mT}).optional(),notes:MW.optional()}),_W=u.object({schemaVersion:u.literal(1),messages:u.array(gT).optional()});var yT=500*1024*1024,ET=u.object({id:Xn,name:u.string().regex(/^[A-Za-z0-9._-]{1,200}$/),providerRunId:Xn,expiresAt:u.string().datetime()}).strict(),LW=u.object({schemaVersion:u.literal(1),artifact:ET,sessionId:Ut,contentHash:_t,bytes:u.number().int().min(1).max(yT)}).strict(),PW=u.object({schemaVersion:u.literal(1),checkpoint:u.object({artifact:ET,repository:u.object({namespace:u.string().min(1),name:u.string().min(1)}).strict(),sessionId:Ut,contentHash:_t,key:mT}).strict().nullable()}).strict(),OW=200,Ja=100,Ky=(r=>(r.Resume="resume",r.Retry="retry",r.Update="update",r))(Ky||{}),$W=u.object({kind:u.nativeEnum(Ky),setup:u.object({runId:Ut,endedAt:u.string().nullable(),outcome:u.string().nullable()}).strict(),components:u.array(u.object({name:u.string().min(1),repository:u.string().min(1),status:u.nativeEnum(Ou)}).strict()).max(Ja),credentials:u.array(u.string().min(1)).max(Ja),answers:u.array(u.object({question:u.string(),answer:u.string().nullable()}).strict()).max(Ja),instructions:u.array(u.object({text:u.string(),reply:u.string().nullable()}).strict()).max(Ja),log:u.array(u.object({phase:u.nativeEnum(zd),text:u.string()}).strict()).max(OW),recipe:u.object({files:u.array(u.object({path:u.string().min(1),content:u.string()}).strict()).max(Ja),blockers:u.array(u.object({component:u.string(),problem:u.string(),evidence:u.string(),fix:u.string()}).strict()).max(Ja)}).strict().optional()}).strict(),VW=u.object({schemaVersion:u.literal(1),context:$W.nullable()}).strict(),GW=u.object({schemaVersion:u.literal(1),configuration:u.object({captureId:Ut,revision:Xn.nullable(),hash:_t}).strict(),capture:u.object({schemaVersion:u.literal(1),settings:u.object({target:u.object({environment:u.unknown()}).passthrough(),timeoutMinutes:u.number().int().positive(),answerWaitMinutes:u.number().int().positive().optional(),testEnvironment:u.object({name:u.string().min(1),address:u.string().min(1).optional(),readyWhen:u.string().min(1).optional()}).passthrough().optional()}).passthrough(),provenance:u.object({}).passthrough(),hash:_t}).strict()}).strict(),HW=Oa.extend({version:u.number().int().positive(),components:u.array(u.object({name:u.string().min(1),repository:u.string().min(1)}).strict()),contentHash:_t.optional(),files:u.array(u.object({path:u.string().refine(t=>Tu(t)&&!Ud.includes(t),"not a file of a customer_deployed plan"),content:u.string()}).strict()).optional()}).strict(),YW=u.object({schemaVersion:u.literal(1),testEnvironment:HW.nullable().optional(),runtimePlan:u.object({version:u.number().int().positive(),contentHash:_t,files:u.array(u.object({path:u.string().refine(Tu,"not a recipe file path"),content:u.string()}).strict()).min(1),recipe:u.record(u.unknown()).optional()}).strict().nullable()}).strict().refine(t=>!(t.runtimePlan&&t.testEnvironment),{message:"a run pins a recipe or a customer's Test Environment, never both",path:["testEnvironment"]}),qW=u.object({schemaVersion:u.literal(1),state:u.nativeEnum(tT),ending:u.nativeEnum(Jd).nullable(),cause:u.nativeEnum(Wd).nullable(),deadlineAt:u.string().datetime()}).strict();function CT(t){return t.reportUploaded?{schemaVersion:1,reason:"report_uploaded",cause:null}:t.recipeUploaded?{schemaVersion:1,reason:"recipe_uploaded",cause:null}:t.revisionsUploaded?{schemaVersion:1,reason:"revisions_uploaded",cause:null}:t.cancelled?{schemaVersion:1,reason:"cancelled",cause:null}:{schemaVersion:1,reason:"no_report",cause:jW(t)}}function jW(t){return t.runnerProviderNotReady?"runner_provider_not_ready":t.credentialMissing?"credential_missing":t.checkoutFailed?"checkout_failed":t.environmentUnverified?"environment_unverified":t.setupFailed?"setup_failed":t.timedOut?"timed_out":t.modelProviderDenied?"model_provider_denied":t.modelProviderUnavailable?"model_provider_unavailable":"agent_failed"}var IT=Re(require("fs")),Vu="SKYRAMP_AZURE_SUPERVISED",Zy=3;function ep(t){return t.replace(/##(?=(?:vso)?\[)/gi,"#\u200B#")}function Xy(t,e=process.env){e[Vu]==="1"?IT.writeSync(Zy,`${JSON.stringify(t)}
|
|
118
|
+
`)){let r=n.trim();if(!r)continue;let s;try{s=JSON.parse(r)}catch{continue}let i=s.message?.content;Array.isArray(i)&&e.push(...i)}return e}var m0=Re(require("path"));var bt=u.string().trim().min(1),ky=(n=>(n.TestbotManaged="testbot_managed",n.CustomerDeployed="customer_deployed",n))(ky||{}),_d=[".skyramp/sut/setup.sh",".skyramp/sut/teardown.sh"],vy=u.object({schemaVersion:u.literal(1),type:u.nativeEnum(ky).optional(),status:u.enum(["ready","blocked"]),environment:Oa.optional(),components:u.array(u.object({name:bt,repository:bt.describe(`owner/repo, or "${zt}" for a customer-deployed component no repository builds`),healthy:u.boolean(),url:u.string().min(1).nullable(),...fy,credentials:u.array(u.string().regex(La)).max(50).optional(),deployed:bt.nullable().optional().describe("customer_deployed only: the revision the component runs, as setup read it (WF-SETUP-22's Deployed now), or null when it could not tell")}).strict()),suites:u.array(u.object({framework:bt,file:bt,result:u.enum(["pass","fail","error"])}).strict()),inputsUsed:u.array(bt),inputsUsedHow:u.array(u.object({input:bt,how:bt}).strict()).optional(),inputsNotUsed:u.array(u.object({input:bt,reason:bt}).strict()),blockers:u.array(u.object({component:bt,problem:bt,evidence:bt,fix:bt}).strict()),replay:u.object({outcome:bt,durationSeconds:u.number().nonnegative().nullable()}).strict().nullable(),files:u.array(u.object({path:bt,content:u.string()}).strict())}).strict().superRefine((t,e)=>{t.inputsUsedHow?.forEach((s,i)=>{t.inputsUsed.includes(s.input)||e.addIssue({code:u.ZodIssueCode.custom,path:["inputsUsedHow",i,"input"],message:"not one of inputsUsed"})}),t.components.forEach((s,i)=>{s.credentials&&new Set(s.credentials).size!==s.credentials.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"credentials"],message:"names a credential twice"})});let n=t.type==="customer_deployed";n!==(t.environment!==void 0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["environment"],message:"an environment exactly when the plan's type is customer_deployed"}),t.environment&&new Set(t.environment.credentials).size!==t.environment.credentials.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["environment","credentials"],message:"names a credential twice"});let r=new Set(t.components.map(s=>s.name));if(t.environment?.revisionSources.forEach((s,i)=>{s.components.forEach((a,c)=>{r.has(a)||e.addIssue({code:u.ZodIssueCode.custom,path:["environment","revisionSources",i,"components",c],message:"not one of components"})})}),t.components.forEach((s,i)=>{s.deployed!==void 0!==n&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"deployed"],message:"what a component runs exactly when the plan is customer_deployed"}),s.repository===zt&&!n&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"repository"],message:`only a customer_deployed component is ${zt}`})}),n&&(t.components.forEach((s,i)=>{t.components.findIndex(a=>a.name===s.name)!==i&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",i,"name"],message:"names a component twice"})}),t.replay!==null&&e.addIssue({code:u.ZodIssueCode.custom,path:["replay"],message:"a customer_deployed plan is never replayed"}),t.files.forEach((s,i)=>{_d.includes(s.path)&&e.addIssue({code:u.ZodIssueCode.custom,path:["files",i,"path"],message:"a customer_deployed plan has no script that starts or stops the system"})})),n&&t.status==="ready"){let s=new Set(t.environment?.revisionSources.flatMap(i=>i.components));t.components.forEach((i,a)=>{i.repository!==zt&&!s.has(i.name)&&e.addIssue({code:u.ZodIssueCode.custom,path:["components",a,"name"],message:"a ready customer_deployed plan reads what every component a repository builds runs"})})}});var sX=["clean","recipe-drift"];function Tu(t){let e=m0.posix.normalize(t);return e===t&&(e===".skyramp/workspace.yml"||e.startsWith(".skyramp/sut/")&&e.length>13)}var Ry=[".skyramp/sut",".skyramp/workspace.yml"];var lX=256*1024*1024;var dX=["--",":/",...Ry.map(t=>`:(exclude)${t}`)];var Ty=(s=>(s.RestApi="rest-api",s.Frontend="frontend",s.FullStack="full-stack",s.Other="other",s))(Ty||{}),Va=(s=>(s.Critical="critical",s.High="high",s.Medium="medium",s.Low="low",s))(Va||{}),Ud=(r=>(r.Suspected="suspected",r.Latent="latent",r.Refuted="refuted",r))(Ud||{}),E0=(r=>(r.Skyramp="skyramp",r.External="external",r.Unknown="unknown",r))(E0||{}),C0=(s=>(s.Cascade="cascade",s.Restrict="restrict",s.Orphan="orphan",s.Unknown="unknown",s))(C0||{}),Ga=(s=>(s.RequirementReference="requirement-reference",s.Spec="spec",s.PrDescription="pr-description",s.CouldBreak="could-break",s))(Ga||{}),Fe=u.string().trim().min(1),Ha=Fe.describe("file:line"),y0=t=>Fe.refine(e=>e.length<=400,e=>({message:`is ${e.length} characters, over the 400 cap \u2014 ${t}`})),Du=Fe.optional().describe('multi-repo only: the OTHER checkout this lives in \u2014 its "owner/repo" slug, or the directory name if the run discovered it; omit for the working checkout'),xy=u.object({method:Fe,path:Fe,service:u.string().optional(),evidence:Ha,repository:Du}),Yj=u.object({id:Fe.describe("short-slug, e.g. R9"),statement:Fe.max(400,"exceeds 400 characters \u2014 state the requirement, do not paste the spec section").describe("a testable obligation, not a summary"),source:u.nativeEnum(Ga).describe("spec outranks pr-description when both state it"),evidence:Fe.describe("spec: file:line or a section locator. pr-description: the quoted phrase it comes from.")}),qj=u.object({id:Fe.describe("short-slug"),statement:Fe.max(400,"exceeds 400 characters \u2014 state the behaviour, do not paste the code").describe("what the change makes true"),surface:Fe.describe("METHOD /path, or a component/page name"),evidence:Fe.describe("file:line from the diff that introduces it"),repository:Du,satisfies:u.array(Fe).optional().describe("requirement ids (from `requirements`) this behaviour correctly implements \u2014 a requirement met only in part is ALSO named by the finding that shows the rest (conflictsWith)")}),jj=u.object({id:Fe.describe("short-slug"),file:Fe,line:u.number().optional(),claim:y0("shorten it to the one sentence that states the defect, and move the supporting detail into `evidence`"),severity:u.nativeEnum(Va),evidence:y0("cite the file:line and the one line that shows it, rather than reproducing the surrounding code").describe("quoted diff/code line"),status:u.nativeEnum(Ud),repository:Du,conflictsWith:u.array(Fe).optional().describe("requirement ids (from `requirements`) this defect contradicts or leaves unimplemented \u2014 a lower-precedence source (the diff, or the PR description) lost")}),Jj=u.object({name:Fe,language:u.string().optional(),framework:u.string().optional(),evidence:Ha,repository:Du}),Wj=u.object({dir:Fe,framework:u.string().optional(),kind:u.nativeEnum(E0),evidence:Ha,repository:Du}),zj=u.object({from:Fe,to:Fe,onDelete:u.nativeEnum(C0),evidence:Ha}),Kj=u.object({entity:Fe,field:Fe,values:u.array(u.string()),evidence:Ha}),Zj=u.object({entities:u.array(u.object({name:Fe,evidence:Ha})),references:u.array(zj).describe("INBOUND references \u2014 what still points at an entity when it is deleted"),stateFields:u.array(Kj)}),fX=u.object({schemaVersion:u.literal(1),repository:u.object({path:Fe.describe("absolute repo path"),currentBranch:Fe,baseBranch:Fe}),project:u.object({type:u.nativeEnum(Ty),primaryLanguage:Fe,languages:u.array(u.string()),frameworks:u.array(u.string())}),services:u.array(Jj),infrastructure:u.object({containerized:u.boolean(),hasDockerCompose:u.boolean(),composeFiles:u.array(u.string()),hasCiCd:u.boolean()}),diff:u.object({changedFiles:u.array(u.string()).describe("as git reports them; a file in another checkout may carry that repo's name"),nonApplicationOnly:u.boolean(),summary:Fe.describe("\u2264400 chars")}),endpoints:u.object({new:u.array(xy),modified:u.array(xy),removed:u.array(xy)}),existingTests:u.object({locations:u.array(Wj)}),entityMap:Zj,requirements:u.array(Yj).describe("from a spec (attached or linked) and/or the PR description; empty when neither states a testable obligation"),behaviors:u.array(qj),findings:u.array(jj),unexamined:u.array(u.string()).describe("files or areas outside this change you did not open"),summary:Fe.describe("one paragraph on what this change does and its test-relevant risk")});var tJ=u.object({route:u.string().describe('the page this step happens on, e.g. "/products/:id"'),action:u.string().describe('what the user does there, through the UI, e.g. "clicks Add to cart"'),clauses:u.array(u.string()).optional().describe("the plan clause ids this step exercises"),check:u.string().optional().describe("what the user then sees that shows the step worked; the test asserts it")}),Nu=(n=>(n.InProcess="in-process",n.Browser="browser",n))(Nu||{}),I0=(r=>(r.Spec="spec",r.PrDescription="pr-description",r.Inferred="inferred",r))(I0||{}),B0=u.object({id:u.string().describe('e.g. "J1"'),name:u.string().describe(`the flow in a user's words, e.g. "buy a product with a coupon"`),entry:u.string().describe("the route the user starts the flow on: the app's normal starting page for it, never a deep link into its middle"),steps:u.array(tJ).describe("every step, in order, from the entry page to the outcome: at least two"),outcome:u.string().describe("what the user sees at the end that shows the flow worked: every part of it"),finishes:u.string().optional().describe('the user action that completes the task, verb first, e.g. "places the order"; the journey walks on to it'),kind:u.nativeEnum(Nu).optional().describe("in-process when the repo's in-process tests (components, app routes) can walk the whole flow and check it; else browser"),source:u.nativeEnum(I0).optional().describe("spec or pr-description when one describes this flow (quote it under evidence), else inferred"),evidence:u.string().optional().describe("for spec or pr-description: its words that describe the flow"),testFile:u.string().describe("the browser test file it goes in, beside the repo's existing e2e tests")}),Ld=u.object({journey:u.string().describe("the plan's journey id"),file:u.string().describe("the browser test file that walks it"),brokeAt:u.object({step:u.number().int().describe("the 1-based step whose check failed first"),expected:u.string(),actual:u.string().describe("what the app did instead, from the runner's output"),notReached:u.array(u.number().int()).optional().describe("later steps the test could not get to")}).optional().describe("only when the journey's test failed on a check: where"),test:u.string().describe("the title of the one test in that file that walks it end to end")});var bX=["stale_test","open_question"],SX=["low","medium","high","critical"];var Pd=(n=>(n.Skyramp="skyramp",n.Llm="llm",n))(Pd||{}),is=u.string().trim().min(1),nJ=u.object({case:is.describe("recommend id this assertion enforces"),evidence:is.describe("the exact assertion line from the file that checks that case's observable")}),Dy=u.object({kind:u.nativeEnum(Bd).describe("seed: data the test creates in the app; runtime_mock: a mock on a Skyramp worker, which other tests reach too; env_override: an env value the app runs with. A stub inside the test's own process, such as a browser page's route, is none of these"),target:is.describe("the dependency, endpoint or data it affects"),mechanism:u.nativeEnum(wd).describe("test_code: the test applies and undoes it; skyramp_mocker: a mock the test applies on a Skyramp worker; recipe_override: the mocker cannot reach the dependency (its URL is fixed in the build)"),detail:is.describe("what it sets up"),worker:is.optional().describe("skyramp_mocker: host:port of the worker the test applies the mock to (default localhost:35142)"),cleanup:is.optional().describe("seed: a command, without a shell, that removes the data when the test does not")}),rJ=u.object({file:is.describe("staged path under .skyramp/staged/"),source:u.nativeEnum(Pd),language:is,covers:u.array(u.string()).min(1,"must be a non-empty array of recommend ids").describe("recommend ids this test covers"),assertions:u.array(nJ).min(1,"must be a non-empty array").describe("one per case covered, citing the real line"),context:u.array(Dy).optional().describe("what the test sets up against the running app, in order: data it seeds, Skyramp mocks it applies, env overrides; omit when none")}),Ny=u.object({schemaVersion:u.literal(1),tests:u.array(rJ),deferredUi:u.array(u.string()).describe("recommend ui ids left for the UI stage (generate) \u2014 [] for generate-ui"),summary:is.describe("one paragraph")});var os=u.string().trim().min(1),Fu=72,sJ=u.object({repository:os.optional().describe("owner/repo of the checkout this lint ran in, when the run has several; omit for the working checkout"),tool:u.string(),command:u.string().describe("the exact command you ran, scoped to the changed files"),clean:u.boolean(),fixed:u.array(u.string()).optional().describe("files you fixed"),uncovered:u.array(u.string()).describe("changed/new files this linter's own config does not match (wrong extension, wrong directory) \u2014 so `clean` never examined them, even though CI may still execute them. Empty array, not omitted, when every changed/new file IS covered.")}),MX=u.object({schemaVersion:u.literal(1),lint:u.array(sJ).min(1).describe("one entry per checkout this run wrote tests in, each run from that checkout"),fileConventions:u.object({ok:u.boolean(),notes:u.string().optional()}),ciReadiness:u.object({covered:u.boolean().describe("will the repo's CI run these tests?"),notes:u.string().optional()}),dependencies:u.object({added:u.array(u.object({package:u.string(),manifest:u.string(),repository:os.optional().describe("owner/repo of the manifest's checkout; omit for the working checkout"),reason:os.optional().describe("why the test must run inside the application's own test environment, so its manifest had to change \u2014 required for every entry")})).describe("every package added to an APPLICATION manifest (an exception, surfaced in the report); never the Testbot test package's own")}),support:u.array(u.object({file:os,repository:os.optional().describe("owner/repo of the file's checkout; omit for the working checkout")})).optional().describe("the files the tests need besides themselves (helper modules, page objects, fixtures, snapshots), delivered with them"),commit:u.object({message:os.refine(t=>t.split(`
|
|
119
|
+
`)[0].length<=Fu,{message:`subject line must be <= ${Fu} chars`})}),pr:u.object({title:os.max(Fu,`must be <= ${Fu} chars`),body:os}),ready:u.boolean().describe("a statement of fact: true only if the tests are fit to commit as they stand"),blockers:u.array(u.string()).describe("what blocks the commit \u2014 required non-empty when ready is false"),summary:os.describe("one paragraph")});var qs=Re(require("fs")),ja=Re(require("path")),v0=require("child_process");var Zn="{junit}",Q0=(r=>(r.Junit="junit",r.Trx="trx",r.GoTestJson="go-test-json",r))(Q0||{}),b0=(e=>(e.Minitest="minitest",e))(b0||{}),w0=u.string().trim().min(1),Ya=u.object({cwd:w0.describe('repo-relative directory the command starts in ("." for the root)'),argv:u.array(w0).min(1).describe(`the command as separate arguments, run without a shell; for a junit or trx report an argument or env value holds ${Zn}, where the report is written (not for Maven or Gradle, whose build writes its own)`),env:u.record(u.string(),u.string()).optional().describe("plain test or reporter settings beyond the repository's CI test job (RAILS_ENV=test, PLAYWRIGHT_JUNIT_OUTPUT_FILE={junit}); never a credential, PATH, or a tool's install path"),report:u.object({format:u.nativeEnum(Q0).describe(`junit (JUnit XML to ${Zn}), trx (to ${Zn}), or go-test-json (go test -json on the command's output)`),reporter:u.nativeEnum(b0).optional().describe("a reporter Testbot loads for a runner that writes no report: minitest")}).optional().describe("the report the command writes; junit when omitted")});var qa="a framework other than pytest, jest, vitest and node --test (go test, rails test, mvn, dotnet test), or one the repository's test script runs through another command (ng test, nx test)",PX=`pytest, Jest, Vitest and node --test tests run as the run already knows them, unless the repository's test script runs them through another command (ng test, nx test), which may be the only one that compiles them. A test in any other framework, or one run that way, also gives "run": the repository's own command for only those tests, from the directory the repository runs it in, as separate arguments without a shell. Its "report" says what the runner writes: junit (JUnit XML to ${Zn} in the reporter's argument or env setting), trx (a TRX file to ${Zn}, which every dotnet test writes with its built-in logger), or go-test-json (go test -json, read from the command's output). A Maven or Gradle command names no ${Zn}: its build writes JUnit XML to its own report directory, which the run reads. Use a reporter the repository already has, or one of those; a reporter or converter the command fetches is the version the repository pins, or else its latest release (an older one may not build with the repository's toolchain). For minitest, which writes none, give report.reporter "minitest" and the run fills ${Zn} itself. A setting the tests or reporter read goes in "env" (RAILS_ENV=test, or PLAYWRIGHT_JUNIT_OUTPUT_FILE=${Zn} with playwright test --reporter=junit): the run sets it, so never wrap the command in a shell to set one. The run replaces ${Zn} in argv and env with its report path, executes the command, and reads that report.`;var ho=(s=>(s.ExistingEvidenceSufficient="existing_evidence_sufficient",s.TargetedUnit="targeted_unit",s.RuntimeRequired="runtime_required",s.BlockedPreflight="blocked_preflight",s))(ho||{}),Ys=(i=>(i.ExistingEvidence="existing_evidence",i.Unaffected="unaffected",i.ExistingUnit="existing_unit",i.NewUnit="new_unit",i.Runtime="runtime",i))(Ys||{}),My=(n=>(n.Repository="repository",n.Testbot="testbot",n))(My||{}),_y=(r=>(r.Identified="identified",r.Passed="passed",r.Failed="failed",r))(_y||{}),Kt=u.string().trim().min(1),iJ=u.string().regex(/^[a-z0-9][a-z0-9-]*$/,"must be a short lowercase slug").describe("short-slug");var oJ=u.object({id:iJ,source:u.nativeEnum(My),kind:u.nativeEnum(_s),outcome:u.nativeEnum(_y),summary:Kt.max(400).describe("one line: what it shows"),tests:u.array(Kt).optional().describe("source repository: the existing tests, as repo-relative paths, optionally path::test-name"),repository:Kt.optional().describe("source repository: owner/repo the tests live in, when the run has several checkouts; omit for the working checkout"),command:Kt.optional().describe("source testbot: the exact command you ran, as you ran it"),run:Ya.optional().describe(`source repository, for tests in ${qa}: how the run executes only these tests, all of them in one command, with the repository's own runner writing JUnit XML to {junit}. Name each test (path::test-name): a test is credited to a file only by its name or by a report that names the file`)}),aJ=u.object({behaviorId:Kt.describe("an id from analyze's behaviors"),mechanism:u.nativeEnum(Ys),evidenceIds:u.array(Kt).default([]).describe("existing_evidence: the ci-<n> or evidence ids that establish it; existing_unit: the evidence id naming the tests to run"),covers:u.string().trim().optional().describe('new_unit / runtime: the missing evidence this obtains, e.g. "the boundary the change moved"; unaffected: why the change cannot reach it, citing path:line')}),cJ=u.object({behaviorId:u.string().trim().optional().describe("an id from analyze's behaviors, when it is about one"),missing:Kt.max(600).describe("the evidence that is required and cannot be obtained in this run")}),uJ=u.object({file:Kt.describe("the changed file the failure is in"),repository:Kt.optional().describe("owner/repo the file is in, when the run has several checkouts; omit for the working checkout"),reason:Kt.max(300).describe("what prerequisite the change fails"),evidence:Kt.max(400).describe("the error line, quoted")}),AJ=u.object({behaviorId:Kt.describe("an id from analyze's behaviors"),reason:Kt.max(600).describe("\u2264600 characters: why this change leaves the behavior's result as it was, citing the unchanged line that decides it (path:line)")}),Mu=u.object({schemaVersion:u.literal(1),decision:u.nativeEnum(ho),evidence:u.array(oJ).describe("evidence this session found or produced; CI results are the ci-<n> items and are not restated here"),plan:u.array(aJ).describe("how each changed behavior's evidence is obtained"),gaps:u.array(cJ),outOfScope:u.array(AJ).optional().describe("behaviors analyze found that this change neither changes nor states"),blocked:uJ.optional().describe("only for blocked_preflight"),rationale:Kt.max(1200).describe("\u22641200 characters: why this evidence is enough, or what it still lacks \u2014 the scope you chose and why")});function $d(t){let e=Sn(t,"recommend.json");if(!e||!Array.isArray(e.generate)||!Array.isArray(e.maintenance))return;let n=e;return{...n,maintenance:n.maintenance.map(({repository:r,...s})=>({...s,test:s.test.trim().replace(/^\.\//,""),...r?.trim()?{repository:r.trim()}:{}}))}}function hJ(t){return ns(Ny,t).errors}function fJ(t,e=[]){let{value:n,error:r}=jt(t,e);if(r)return{errors:[r]};let s=hJ(n);return s.length>0?{errors:s}:{generate:n,errors:[]}}function Vd(t,e=[]){return fJ(t.stdout,e)}function gJ(t){return t.generate.filter(e=>e.type!=="ui").map(e=>e.id)}function R0(t){return t.generate.filter(e=>e.type==="ui").map(e=>e.id)}var Gd={backend:{stage:"generate",cases:gJ,noRecommendCoverage:"recommend.json missing or malformed \u2014 cannot check coverage",noRecommendIntent:"recommend.json missing or malformed \u2014 cannot check intent",uncovered:t=>`recommend case "${t}" is not covered by any generated test`,unknownCovered:t=>`test covers unknown recommend id "${t}"`,unasserted:t=>`case "${t}" has no verified assertion enforcing its expected_observable`,usedCodegen:h0,codegenHint:"These tests were hand-written. Skyramp codegen (skyramp_contract_test_generation / skyramp_integration_test_generation) was available but not used \u2014 it computes valid sample data and response correlations. Prefer scaffolding with it and then refining, especially for the failures above."},ui:{stage:"generate-ui",cases:R0,noRecommendCoverage:"recommend.json not found \u2014 cannot check UI coverage",noRecommendIntent:"recommend.json not found \u2014 cannot check UI intent",uncovered:t=>`UI case "${t}" is not covered by any generated UI test`,unknownCovered:t=>`test covers "${t}" which is not a recommend UI case`,unasserted:t=>`UI case "${t}" has no verified assertion enforcing its expected_observable`,usedCodegen:f0,codegenHint:"This UI test was hand-authored. Skyramp UI codegen (skyramp_ui_test_generation) was available but not used. Prefer scaffolding with it and then refining, especially for the failures above."}},E6=Us("generate-schema",(t,e)=>Vd(e,t.secretValues));function mJ(t){let e=Gd[t];return{name:`${e.stage}-coverage`,verify(n,r){let{generate:s,errors:i}=Vd(r,n.secretValues);if(!s)return Mt(this.name,i);let a=$d(n);if(!a)return Mt(this.name,[e.noRecommendCoverage]);let c=new Set(s.tests.flatMap(h=>h.covers)),A=[],l=e.cases(a);for(let h of l)c.has(h)||A.push(e.uncovered(h));let p=new Set(t==="ui"?l:a.generate.map(h=>h.id));for(let h of c)p.has(h)||A.push(e.unknownCovered(h));if(t==="backend"){let h=new Set(s.deferredUi),g=new Set(R0(a));for(let C of g)!h.has(C)&&!c.has(C)&&A.push(`UI case "${C}" is neither covered nor deferred to the UI stage`);for(let C of h)g.has(C)||A.push(`deferredUi lists "${C}" which is not a UI case`)}return A.length===0?{name:this.name,passed:!0}:Mt(this.name,A)}}}function yJ(t){let e=Gd[t];return{name:`${e.stage}-intent`,verify(n,r){let{generate:s,errors:i}=Vd(r,n.secretValues);if(!s)return Mt(this.name,i);let a=$d(n);if(!a)return Mt(this.name,[e.noRecommendIntent]);let{asserted:c,errors:A,badFiles:l}=bJ(s,n.inputs.repositoryPath),p=A.length;for(let g of e.cases(a))c.has(g)||A.push(e.unasserted(g));if(A.length===0)return{name:this.name,passed:!0};let h=Mt(this.name,A);return p>0&&p===A.length&&l.size>0?{...h,droppable:[...l]}:h}}}function EJ(t){let e=Gd[t];return n=>{if(!n.inputs.skyrampMcp?.command||t==="backend"&&!Qy(n))return;let r=ja.join(n.outputsDir,`${e.stage}-stream.ndjson`);if(!(!qs.existsSync(r)||e.usedCodegen(r)))return g0(r)?e.codegenHint:"Skyramp codegen tools were configured but the MCP server did not connect this session, so they were not available. Hand-authoring was the only option; this is an environment problem, not yours."}}var C6=mJ("backend"),I6=yJ("backend"),B6=EJ("backend");var k0=t=>t.replace(/\s+/g,"");var Uy={python:[/\bassert\s*[({\w"'`]/g,/\bpytest\.raises\s*\(/g,/\bself\.assert\w*\s*\(/g],typescript:[/\bexpect\s*\(/g,/\.should\b/g,/\bassert\s*[.(]/g],go:[/\bt\.(Error|Errorf|Fatal|Fatalf|Fail|FailNow)\s*\(/g,/\b(assert|require)\.\w+\s*\(/g],java:[/\bassert\w*\s*\(/g,/\bassertThat\s*\(/g],ruby:[/\bexpect\s*[({]/g,/\bassert\w*\b/g,/\.should\b/g]};for(let[t,e]of[["javascript","typescript"],["kotlin","java"]])Uy[t]=Uy[e];function CJ(t,e){if(t.includes(wu(e))||k0(t).includes(k0(e)))return!0;let n=e.split(/\r?\n/).map(r=>r.trim()).filter(r=>r&&!/^(\/\/|#|\*|\/\*)/.test(r));return n.length>0&&n.every(r=>t.includes(wu(r)))?!0:QJ(t,e)}var IJ=/\bassert\w*\b|\bexpect\s*\(|\.should\b|\brequire\s*\(/i,BJ=12,wJ=/,\s*\(\s*#|,\s*f?["'`]|\s+#\s|\s+\/\/|\s*\((?:line|lines|at line)\b|\s*,\s*$/i;function QJ(t,e){let n=e.split(/\s*;\s*|\s*\.\.\.\s*|\r?\n/),r=0;for(let s of n){let i=IJ.exec(s);if(!i)continue;let a=s.slice(i.index),c=wJ.exec(a);if(c&&(a=a.slice(0,c.index)),a=wu(a).replace(/[,\s]+$/,""),a.length<BJ||!t.includes(a))return!1;r++}return r>0}function bJ(t,e){let n=new Set,r=[],s=new Set;for(let i of t.tests){let a=ja.resolve(e,i.file);if(!qs.existsSync(a))continue;let c=wu(qs.readFileSync(a,"utf-8"));for(let A of i.assertions??[]){if(!CJ(c,A.evidence)){r.push(`assertion evidence for "${A.case}" not found in ${i.file} \u2014 cite the real assertion line`),s.add(i.file);continue}i.covers.includes(A.case)?n.add(A.case):(r.push(`assertion cites case "${A.case}" not in that test's covers[]`),s.add(i.file))}}return{asserted:n,errors:r,badFiles:s}}var SJ=/\.(spec|test)\.[cm]?[jt]sx?$/i;function x0(t){let e;try{e=(0,v0.execFileSync)("git",[...Dd,"status","--porcelain","--untracked-files=all"],{env:zn(),cwd:t,encoding:"utf-8",stdio:["ignore","pipe","ignore"]})}catch{return}let n=s=>/_scaffold/i.test(s)||Sd.test(s),r=[];for(let s of e.split(`
|
|
120
|
+
`)){if(!s.trim()||s.length>1&&s[1]==="D")continue;let i=s.slice(3).trim(),a=i.indexOf(" -> ");if(a!==-1&&(i=i.slice(a+4).trim()),i=i.replace(/^"|"$/g,""),!i)continue;let c=i.replace(/^\.\//,"");c.startsWith(".skyramp/")||!n(c)||r.push(c)}return r}function kJ(t){let e=Gd[t],n=t==="ui";return{name:`${e.stage}-no-litter`,verify(r){let s=x0(r.inputs.repositoryPath);if(s===void 0)return{name:this.name,passed:!0};let i=s.filter(a=>SJ.test(a)===n);return i.length===0?{name:this.name,passed:!0}:Mt(this.name,[`${e.stage} left files outside .skyramp/ \u2014 move the staged test into .skyramp/staged/ and delete any codegen draft (e.g. *_scaffold.*): ${i.slice(0,6).join(", ")}`])}}}var w6=kJ("backend");var _u=Re(require("fs")),fo=Re(require("path"));function N0(t){return ns(by,t).errors}function xJ(t,e=[]){let{value:n,error:r}=jt(t,e);if(r)return{errors:[r]};let s=N0(n);return s.length>0?{errors:s}:{adapt:n,errors:[]}}var TJ="adapt-scratch",T0=`${TJ}/adapt-result.json`;function F0(t,e){let n=fo.join(t.outputsDir,T0),r;try{r=_u.readFileSync(n,"utf-8")}catch{r=void 0}if(r!==void 0&&(t.secretValues??[]).some(a=>r.includes(a)))return{errors:[`${T0} contains a secret value (token / credential) \u2014 never write it anywhere`]};let s=xJ(e.stdout,t.secretValues);if(s.adapt)return s;let i=r!==void 0?va(n):void 0;return i!==void 0&&N0(i).length===0?{adapt:i,errors:[]}:s}var q6=Us("adapt-schema",F0);var t7=2*1024*1024;var le=u.string().trim().min(1),FJ=t=>{if(!t||typeof t!="object")return t;let e=t;return typeof e.skip=="string"&&e.skip.trim()&&(e.expected===void 0||e.expected===null)?{...e,expected:"(not tested)"}:t},MJ=u.preprocess(FJ,u.object({id:le.describe(`its requirement's id plus a letter, e.g. "R1a", "AC-3a"`),clause:le.describe("one testable part of the requirement"),expected:le.describe("the outcome the requirement calls for \u2014 taken from the requirement, never from what the code does"),skip:u.string().optional().describe("only when no test can check this clause here: why"),type:u.nativeEnum(Gs).optional().describe("the test that checks this clause: contract / integration (the API, or code called directly in-process: a function, hook or module) or ui (a page)"),target:u.string().optional().describe('its "METHOD /path", or the page / flow'),steps:u.string().optional().describe("what that test does; its expected outcome is this clause's"),finding:u.string().optional().describe("the finding id, when this clause's test also catches that defect (the defect still gets a case of its own)"),code:u.string().optional().describe("path:line of the code that decides this clause, when there is one"),mutates:u.boolean().optional().describe("true when its test changes state, in the test or its setup: an API POST, PUT, PATCH or DELETE, or a UI flow that submits, creates, edits or deletes"),browserOnly:u.boolean().optional().describe("true when its behaviour happens only in a browser: real clicks or keys driving page script, client-side sorting or filtering, script-driven DOM updates, focus, drag-and-drop, navigation, rendering that depends on CSS or JavaScript"),browserHarness:u.string().optional().describe("browserOnly, off the runtime path: the path of the repo's in-process browser suite its test goes in (e.g. a Django StaticLiveServerTestCase test that drives Selenium)")})),M0=u.object({spec:u.string().optional().describe("file:line of a spec in the repository"),prDescription:u.boolean().optional().describe("or true when a pull request description says otherwise"),reference:u.string().optional().describe("or the key of an item the run was given, as listed"),says:le.describe("what it says there, in its own words, copied exactly"),criterion:u.number().int().positive().optional().describe("an item's only: leave it out; Testbot numbers it")}).refine(t=>[!!t.prDescription,!!t.spec?.trim(),!!t.reference?.trim()].filter(Boolean).length===1,{message:`names no source, or more than one: give "spec" its file:line or "reference" an item's key, or set "prDescription", one of them; list each source as its own entry`}),_J=u.object({id:le.describe('the label its source gives it ("AC-3", "REQ-12"; item 4 of a numbered list is "R4"), else "R1", "R2"\u2026 in order'),statement:le,source:u.nativeEnum(Ga).describe("requirement-reference (an item the run was given), spec, pr-description (also for what the change is evidently meant to do when nothing is written down), or could-break (what the change could break that no requirement mentions)"),reference:u.string().optional().describe('requirement-reference only: the key of its item as listed, e.g. "PAY-184", or a Confluence page id such as "3021"'),evidence:le.describe("where it is stated: for requirement-reference, the item's own words, copied exactly; else file:line, a doc section, or the quoted phrase"),criterion:u.number().int().positive().optional().describe("requirement-reference only: leave it out; Testbot numbers each criterion by the item's own label (AC2, 2.), else after the item's labels"),notInChange:u.string().optional().describe("requirement-reference only: when the change does not touch this criterion at all (e.g. a later step of a staged rollout), why; give it no clauses"),overrules:u.array(M0).optional().describe("requirement-reference only: each lower-ranked source that says otherwise, a spec in the repository, a PR description or another item; this requirement wins, so test what it says"),clauses:u.array(MJ)}),_0=(s=>(s.ServerError="server-error",s.DataLost="data-lost",s.FinalState="final-state",s.DerivedValues="derived-values",s))(_0||{}),UJ=u.object({id:le.describe('e.g. "F1"'),file:le,line:u.number().optional(),claim:le.describe("the defect, in one sentence"),severity:u.nativeEnum(Va),evidence:le.describe("the code line, or the probe request and response, that shows it"),conflictsWith:u.array(le).optional().describe("requirement or clause ids it violates"),keeps:u.string().optional().describe("for a defect no requirement or clause states: path:line of the code beside the change that keeps the rule it breaks"),rule:u.nativeEnum(_0).optional().describe("for a defect that breaks a rule every app keeps, which nothing needs to state: which one"),existing:u.string().optional().describe("only when the base already does this, in code the change left as it was: where the base does it (its file:line); such a defect gets no case"),needsApp:u.enum(["browser","live-api"]).optional().describe("only when the running app alone can show this defect and the repo has no in-process test that can: browser (page script, what the user sees after a click or a save) or live-api (code the repo tests only against the running app's API)")}),LJ=u.object({id:le.describe('e.g. "Q1"'),question:le.describe("what is unsettled, as a question the PR author can answer"),readings:u.array(le).min(2).describe("each reasonable behaviour, with what points to it (file:line, or the words that suggest it)"),about:u.string().optional().describe("the requirement or clause id it is about, when there is one"),sources:u.array(M0).optional().describe("when sources of the same rank disagree on it: each of them")}),PJ=u.object({id:le.describe('unique, a short kebab-case name for what the case checks, e.g. "ship-twice-409"'),type:u.nativeEnum(Gs).describe("contract / integration: checks the API, or calls code directly in-process (a function, hook or module); ui: checks what a user sees or does on a page"),target:le.describe('"METHOD /path", or the page / flow'),clause:u.string().optional().describe("the clause id this case checks"),finding:u.string().optional().describe("the finding id this case catches"),steps:le.describe("what the test does"),expected:le.describe("the expected outcome, from the clause"),mutates:u.boolean().optional().describe("true when its test changes state, in the test or its setup: an API POST, PUT, PATCH or DELETE, or a UI flow that submits, creates, edits or deletes")}),OJ=u.object({test:le.describe("existing test file"),action:u.nativeEnum(uo),reason:le,mutates:u.boolean().optional().describe("true when the maintained test changes state"),clauses:u.array(le).optional().describe("the clause ids this test checks")}),$J=u.object({outcome:u.nativeEnum(rs).describe("clean | recipe-drift (you had to fix the recipe) | change-broke-bringup (this PR broke start-up) | bringup-failed (the environment, not the PR)"),baseUrls:u.record(u.string()).optional().describe("service \u2192 base URL of the running app"),health:u.object({url:u.string().optional(),command:u.string().optional(),output:u.string().optional()}).optional().describe("the check that shows the app serves real data, and what it returned"),teardown:u.string().optional().describe("command that stops the app"),dependencies:u.record(u.boolean()).optional().describe("every backing service: true = really running, false = mocked"),recipeFixes:u.array(u.string()).optional().describe("what you changed in the recipe"),error:u.string().optional().describe("when it did not come up: the failing command and what it printed"),suspectFiles:u.array(u.string()).optional().describe("change-broke-bringup: the changed files to blame"),login:u.object({username:le,password:u.string()}).optional().describe("the account the tests sign in as, when they sign in: each a literal value the recipe seeds, or $VARIABLE when a secret in the environment holds it"),revisions:hy.optional()}),D7=u.object({schemaVersion:u.literal(1),requirements:u.array(_J),findings:u.array(UJ),cases:u.array(PJ).describe("a second test for a clause, and one case per finding that fails on this branch"),questions:u.array(LJ).optional().describe("behaviours the change leaves unsettled; no case asserts any of them"),maintenance:u.array(OJ),journeys:u.array(B0).optional().describe("the user journeys that, together, pass through everything the change alters that a user sees or does; empty when it alters nothing a user sees"),notInJourney:u.array(u.object({clause:le,why:le})).optional().describe("a clause a user sees or does that no journey can reach through the UI, and why"),triage:Mu.optional().describe("the validation triage decision, made before the app is started; its behaviorIds are clause ids"),app:$J.optional().describe("omit when no app was needed or none was started"),summary:le.describe("one paragraph: what the change does and where the risk is")});var U0=(n=>(n.Backend="backend",n.Ui="ui",n))(U0||{});var Ly=(s=>(s.Added="added",s.Updated="updated",s.Deleted="deleted",s.Unchanged="unchanged",s))(Ly||{}),VJ=u.object({file:le.describe("repo-relative path; in another repo of the change, that repo's directory name then its path"),kind:u.nativeEnum(U0),change:u.nativeEnum(Ly).describe("added: a file you created; updated / deleted / unchanged: an existing test"),covers:u.array(u.string()).describe("the plan case ids this file tests"),defect:u.boolean().optional().describe("true when a case of it fails because the app is wrong and the test is right \u2014 kept failing on purpose"),staleBecause:u.object({requirement:le.describe("the requirement or clause id the change deliberately alters"),line:le.describe("path:line (or path) of the application code the change altered that makes this test's old expectation wrong")}).optional().describe("for an existing test you updated: why it is out of date"),result:u.object({exit:u.number().nullable().describe("exit code of your last run of this file; null if it could not be run"),cases:u.array(u.object({case:le,status:u.nativeEnum(Kn),defect:u.boolean().optional().describe("for a failing case: true when the app is wrong and the test is right; false when the test is at fault and you could not fix it"),failure:u.string().optional().describe("for a failing case: the runner's failure for it as printed (the error and the line it was raised at), not a summary"),cause:u.string().optional().describe("for a case you keep as a defect: path:line of the application code that makes it fail"),requires:u.string().optional().describe("for a case you keep as a defect: the words of the PR description, a requirement or clause of the plan, or the code a finding's keeps names, that state what its failing check expects, quoted exactly")})).describe("one entry per covered case, from the runner's own output"),details:u.string().optional().describe("what failed and why, or why it was not run")}),assertions:u.array(u.object({case:le,evidence:le})).optional().describe("per covered case, the assertion line that checks its expected outcome"),functions:u.array(u.object({name:le.describe("the test function as the runner names it within its file, without the file (test_x, TestClass::test_x, TestSuite/TestCase)"),cases:u.array(le).describe("the plan case ids it checks")})).optional().describe("for a file you added or updated: each test function in it and the plan case ids it checks"),skyramp:u.object({draft:u.union([u.string(),u.array(u.string())]).optional().describe("the draft path the Skyramp helper returned for this test, or each path when the test was made from several drafts"),handWritten:u.string().optional().describe("why it is written by hand: the helper call you made and what it returned")}).optional().describe("only for a test of a case the Skyramp API block lists: where it came from"),context:u.array(Dy).optional().describe("what the test sets up outside its own process that another test could run into: data it creates in the app, a Skyramp mock, an env override; omit when none"),isolatedRun:le.optional().describe("for a test with a context: the command, from its checkout's root and without a shell, that runs only this file"),run:Ya.optional().describe(`for a file in ${qa}, added, updated or re-run: how the run executes only this file's tests, with the repository's own runner and the report it writes (junit or trx to ${Zn}, or go-test-json); Testbot runs it before write ends and re-runs the tests with it`)}),GJ=t=>{if(!t||typeof t!="object")return t;let{test:e,...n}=t;return typeof e=="string"&&e.trim()&&n.tests===void 0?{...n,tests:[e]}:t},HJ=u.preprocess(GJ,u.object({description:le.describe("what is wrong and how to reproduce it: endpoint or page, input, what you got vs what was expected"),severity:u.nativeEnum(Va).optional(),sourceFile:u.string().optional().describe("the app file at fault"),sourceLine:u.number().optional(),tests:u.array(le).optional().describe("every test file that fails because of it: a defect several tests show is one issue"),finding:u.string().optional().describe("the plan's finding id, when it is one"),requirements:u.array(le).optional().describe("the plan's requirement or clause ids it violates")})),N7=u.object({schemaVersion:u.literal(1),tests:u.array(VJ),notWritten:u.array(u.object({case:le,reason:le})).describe("every plan case no test covers, and why"),journeys:u.array(Ld).optional().describe("one entry per planned user journey: the browser test that walks it end to end"),lint:u.object({command:u.string(),clean:u.boolean()}).optional().describe("the linter/formatter you ran on your test files, if the repo has one: the exact command, with its file paths (Testbot re-runs it)"),dependenciesAdded:u.array(u.object({package:le,manifest:le.describe("the manifest file's path relative to its checkout (e.g. package.json, pom.xml or pyproject.toml), and nothing else; name another checkout in repository"),repository:le.optional().describe("owner/repo of the manifest's checkout; omit for the repo under test"),reason:le.optional().describe("why the test must run inside the application's own test environment, so its manifest had to change \u2014 required for every entry")})).optional().describe("every package you added to an APPLICATION manifest (an exception, surfaced in the report); never the Testbot test package's own"),supportFiles:u.array(le).optional().describe("every file that is not a test you created or changed for your tests, which they need to compile or run (a helper module, page object, fixture, or a snapshot the runner wrote for them), named as you name a test; Testbot delivers only the tests you list and the files under supportFiles"),ciRunsTests:u.boolean().optional().describe("will the repo's CI pick these tests up as they are?"),ciNotes:u.string().optional().describe("when ciRunsTests is false: which of your tests the repo's CI will not collect, why, and the exact change the author must make for CI to run them"),commit:u.object({message:le.describe('"Skyramp Testbot: \u2026", subject line at most 72 characters'),prTitle:le.describe("at most 72 characters"),prBody:le.describe("what the tests cover and what they found")}),report:u.object({summary:le.describe("1-2 sentences for the PR author: does the change do what it says?"),issues:u.array(HJ).describe("every defect the tests found"),nextSteps:u.array(u.string())})});var F7={added:"place",updated:"update",deleted:"delete",unchanged:"verify"};var P0=(r=>(r.Requirement="requirement",r.PrDescription="pr_description",r.Code="code",r))(P0||{}),yt=u.string().trim().min(1),YJ=u.object({expectation:yt.max(300).describe("the behavior this assertion pins, in words"),source:u.nativeEnum(P0),expected:yt.max(200).describe("the exact value or outcome asserted, as the test asserts it")}),qJ=u.object({file:yt.describe("path of the NEW test file you wrote, relative to its repository"),repository:yt.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),framework:yt.describe("the framework the repository runs this file with: pytest, jest, vitest, node-test, or the name of any other"),run:Ya.optional().describe(`for ${qa}: how the run executes only the tests in names, with the repository's own runner writing JUnit XML to {junit}`),covers:u.array(yt).length(1).describe("the ONE behavior id, or defect id, from the plan that the tests in names provide evidence for; a file covering several is listed once per id"),names:u.array(yt).min(1).describe("the test functions/cases in the file that provide evidence for that behavior, as the framework names them"),assertions:u.array(YJ).min(1)}),Py=(n=>(n.Updated="updated",n.Deleted="deleted",n))(Py||{}),L0=300,jJ=u.object({file:yt.describe("path of the EXISTING test file you updated or deleted, relative to its repository"),repository:yt.optional().describe("owner/repo the file lives in, when the run has several checkouts; omit for the working checkout"),change:u.nativeEnum(Py),staleBecause:u.object({requirement:yt.describe("the requirement or clause id the change deliberately alters"),line:yt.describe("path:line (or path) of the application code the change altered that makes this test's old expectation wrong")}).optional().describe("for an existing test you updated: why it is out of date"),reason:u.preprocess(t=>typeof t=="string"?t.trim().slice(0,L0):t,yt.max(L0)).describe("what the change deliberately altered that made the test wrong")}),Oy=u.object({schemaVersion:u.literal(1),tests:u.array(qJ),maintained:u.array(jJ).optional().describe("existing tests the change made stale that you updated or deleted; omit when there were none"),defectsNotTested:u.array(u.object({id:yt,reason:yt.max(300)})).optional().describe("defects the plan found that no in-process test can reach, each with why; omit when every defect has a test"),journeys:u.array(Ld).optional().describe("one entry per planned user journey: the in-process test that walks it end to end"),journeysNotWritten:u.array(u.object({journey:yt,missing:yt.transform(t=>t.length>300?`${t.slice(0,299)}\u2026`:t)})).optional().describe("a planned journey no in-process test can walk here, with what it needs that is missing; it is reported as not covered"),lint:u.object({command:u.string(),clean:u.boolean()}).optional().describe("the linter/formatter you ran on your test files, if the repository has one you can run; omit otherwise"),commitMessage:yt.optional().describe("the commit message for your tests: a subject line of at most 72 characters, then what they cover")});var tee=5*6e4;function zJ(t){let{value:e,error:n}=jt(t);if(n)return{errors:[n]};let{value:r,errors:s}=ns(Oy,e);return s.length?{errors:s}:{output:r,errors:[]}}function KJ(t){return zJ(t.stdout)}var ite=Us("generate-unit-schema",(t,e)=>KJ(e));var Hd=String.raw`(?:node:)?(?:http|https|http2|net|tls|dgram)`,ote=[[/\b(localhost|127\.0\.0\.1|0\.0\.0\.0)\b/,"a local server address"],[/^\s*(import|from)\s+(requests|aiohttp|urllib3|websockets?)\b/m,"an HTTP client"],[/^\s*(?:import|from)\s+(?:urllib\.request|http\.client|http\.server|socket|ssl|ftplib|smtplib|telnetlib)\b|^\s*from\s+urllib\s+import\b[^\n]*\brequest\b|\burlopen\s*\(/m,"a standard-library network client"],[/\bfrom\s+["'](axios|node-fetch|undici|ws)["']|require\(\s*["'](axios|node-fetch|undici|ws)["']\s*\)/,"an HTTP client"],[new RegExp(String.raw`\bfrom\s+["']${Hd}["']|\bimport\s+["']${Hd}["']|require\(\s*["']${Hd}["']\s*\)|\bimport\(\s*["']${Hd}["']\s*\)`),"Node's network modules"],[/\bfetch\s*\(|\bnew\s+(XMLHttpRequest|WebSocket)\b/,"a network call (fetch, XMLHttpRequest, WebSocket)"],[/\bskyramp\b/i,"the Skyramp runtime (a runtime mock or client)"]];var mte={"application/pdf":"PDF","text/csv":"CSV","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"DOCX","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"XLSX"};var eW=10*1024*1024;var V0=String.raw`\b(?:real browser|browser|javascript|js|htmx|client-side)\b`,G0=String.raw`\b(?:not|isn't|aren't|never|no)\s+(?:be\s+)?(?:covered|tested|exercised|verified|checked|walked|executed|run)\b|\buncovered\b|\bunverified\b`,Rte=[new RegExp(`${V0}[^.;\\n]{0,100}(?:${G0})`,"i"),new RegExp(`(?:${G0})[^.;\\n]{0,100}${V0}`,"i")];var xte=new Set(["targeted_unit","existing_evidence_sufficient"]);var Ene=new Set(["existing_evidence","unaffected","existing_unit","new_unit","runtime"]),Cne={existing_evidence:"existing evidence",unaffected:"showing the change cannot reach it",existing_unit:"running the existing unit tests",new_unit:"a new unit test",runtime:"tests against the running application"};function sW(t){let{value:e,error:n}=jt(t);if(n)return{errors:[n]};let{value:r,errors:s}=ns(Mu,e);return s.length?{errors:s}:{triage:r,errors:[]}}function iW(t){return sW(t.stdout)}var Ine=Us("triage-schema",(t,e)=>iW(e));var Bne=new Set(["deploy","recommend","generate","generate-ui","adapt","generate-unit","native-run","finalize","deliver"]);Dt();Dt();var aW="Skyramp-Pull-Request",cW="Skyramp-Delivery-Base",uW="Skyramp-Tested-Revision";var Yne=["%H","%P","%an","%ae","%ce",`%(trailers:key=${aW},valueonly,separator=%x2C)`,"%s",`%(trailers:key=${cW},valueonly,separator=%x2C)`,`%(trailers:key=${uW},valueonly,separator=%x2C)`];var qd=(n=>(n.GitHub="github",n.AzureDevOps="azure-devops",n))(qd||{}),Gy=(i=>(i.Trigger="TRIGGER",i.Baseline="BASELINE",i.AuthoritativeRelatedChange="AUTHORITATIVE_RELATED_CHANGE",i.ConfiguredSharedDependency="CONFIGURED_SHARED_DEPENDENCY",i.ManualOverride="MANUAL_OVERRIDE",i))(Gy||{}),Lu=(a=>(a.PullRequest="pull_request",a.ReadyForReview="ready_for_review",a.Schedule="schedule",a.Manual="manual",a.SutSetup="sut_setup",a.RevisionRead="revision_read",a))(Lu||{}),dW=["sut_setup"],pW=["sut_setup","schedule","revision_read"];var jd=(e=>(e.PullRequest="pull_request",e))(jd||{}),Pu=(s=>(s.ModelProvider="model_provider",s.SutAccess="sut_access",s.Skyramp="skyramp",s.Other="other",s))(Pu||{});var Jd=(i=>(i.ReportUploaded="report_uploaded",i.NoReport="no_report",i.Cancelled="cancelled",i.RecipeUploaded="recipe_uploaded",i.RevisionsUploaded="revisions_uploaded",i))(Jd||{}),tT=(n=>(n.Running="running",n.Ended="ended",n))(tT||{}),Wd=(p=>(p.TimedOut="timed_out",p.AgentFailed="agent_failed",p.SetupFailed="setup_failed",p.CredentialMissing="credential_missing",p.RunnerLost="runner_lost",p.CheckoutFailed="checkout_failed",p.EnvironmentUnverified="environment_unverified",p.ModelProviderDenied="model_provider_denied",p.ModelProviderUnavailable="model_provider_unavailable",p.RunnerProviderNotReady="runner_provider_not_ready",p))(Wd||{}),Hy=(r=>(r.Onboard="onboard",r.Deploy="deploy",r.Recheck="recheck",r))(Hy||{}),Yy=(n=>(n.Started="started",n.Finished="finished",n))(Yy||{}),qy=(r=>(r.Passed="passed",r.Failed="failed",r.Skipped="skipped",r))(qy||{});var jy=(r=>(r.ChooseCredential="choose_credential",r.FreeText="free_text",r.ChooseSource="choose_source",r))(jy||{});var zd=(r=>(r.Discover="discover",r.Start="start",r.Check="check",r))(zd||{}),Kd=(s=>(s.ValidationPlan="validation_plan",s.TestEnvironment="test_environment",s.TestConditions="test_conditions",s.Tests="tests",s))(Kd||{}),Ou=(s=>(s.Found="found",s.Starting="starting",s.Up="up",s.OutOfScope="out_of_scope",s))(Ou||{}),Xn=u.string().regex(/^[1-9][0-9]{0,18}$/),Cr=u.string().regex(/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/),Wa=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,_t=u.string().regex(Wa),Ut=u.string().regex(/^[0-9a-f]{64}$/),Yd=u.object({id:_t,revision:Xn}).strict(),Zd={provider:u.literal("github"),providerAccountId:Xn,providerRepositoryId:Xn},Xd={provider:u.literal("azure-devops"),providerAccountId:_t,providerRepositoryId:_t},er=u.discriminatedUnion("provider",[u.object(Zd).strict(),u.object(Xd).strict()]),Jy=u.discriminatedUnion("provider",[u.object(Zd).passthrough(),u.object(Xd).passthrough()]),go=t=>`${t.provider}:${t.providerRepositoryId}`,H0={namespace:u.string().min(1),name:u.string().min(1)},nT=u.discriminatedUnion("provider",[u.object({...Zd,...H0}).strict(),u.object({...Xd,...H0}).strict()]),Y0=u.object({ref:u.string().min(1),revision:Cr}).strict(),hW=u.object({repository:nT,revision:Cr,ref:u.string().nullable(),reason:u.nativeEnum(Gy),change:u.object({kind:u.nativeEnum(jd),number:Xn,base:Y0.optional()}).strict().nullable(),compareWith:Y0.optional()}).strict();function fW(t){if(t.trigger.kind==="revision_read"!=!t.baseline)return t.baseline?"a revision_read run names no baseline":"names its baseline";if(!t.baseline)return null;let{confirmedRunId:e,initialBaselineId:n,sources:r}=t.baseline;if(e!==null&&n!==void 0)return"a run compares with one baseline";let s=t.trigger.kind==="schedule"&&e!==null||n!==void 0;if(!r)return s?"names every source of the snapshot, once":null;if(e===null&&n===void 0)return"a run with no Confirmed Baseline names no baseline sources";let i=new Set(t.sources.map(A=>go(A.repository))),a=new Set(r.map(A=>go(A.repository)));return a.size===r.length&&a.size===i.size&&[...a].every(A=>i.has(A))?null:"names every source of the snapshot, once"}var rT=/^[A-Z][A-Z0-9_]+-[1-9][0-9]*$/,sT=/^[1-9][0-9]{0,18}$/,q0=new RegExp(`${rT.source}|${sT.source}`),j0=/^https:\/\/[a-z0-9-]+(\.[a-z0-9-]+)+$/,gW=u.union([u.object({source:u.literal("jira"),site:u.string().regex(j0),key:u.string().regex(rT),updated:u.string().datetime(),contentHash:Ut}).strict(),u.object({source:u.literal("confluence"),site:u.string().regex(j0),key:u.string().regex(sT),version:u.number().int().positive(),contentHash:Ut}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),contentHash:Ut}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),contentHash:Ut,fileName:u.string().min(1).max(255),mediaType:u.nativeEnum(Eu)}).strict()]),J0=u.union([u.literal("jira"),u.literal("confluence")]),mW=u.object({schemaVersion:u.literal(1),items:u.array(u.union([u.object({source:J0,site:u.string(),key:u.string().regex(q0),state:u.literal("read"),text:u.string(),version:u.string().min(1),contentMatches:u.boolean()}).strict(),u.object({source:J0,site:u.string(),key:u.string().regex(q0),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),state:u.literal("read"),text:u.string(),version:u.string().min(1),contentMatches:u.boolean()}).strict(),u.object({source:u.literal("other"),key:u.string().regex(Cd),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),state:u.literal("read"),version:Ut,fileName:u.string().min(1).max(255),mediaType:u.nativeEnum(Eu)}).strict(),u.object({source:u.literal("other"),key:u.string().regex(yu),state:u.literal("not_read"),reason:u.nativeEnum(qi)}).strict()])),instructions:u.array(u.string()).optional()}).strict(),yW=u.object({schemaVersion:u.literal(1),runId:_t,skyrampOrgId:_t,target:Yd,policy:Yd.nullable(),trigger:u.object({kind:u.nativeEnum(Lu),requestedAt:u.string().datetime()}).strict(),configuration:u.object({captureId:_t,revision:Xn.nullable(),hash:Ut}).strict(),baseline:u.object({confirmedRunId:_t.nullable(),initialBaselineId:_t.optional(),sources:u.array(u.object({repository:er,revision:Cr}).strict()).optional()}).strict().optional(),sources:u.array(hW).min(1),execution:u.object({provider:u.nativeEnum(qd),repository:nT,workflowPath:u.string(),ref:u.string()}).strict(),credentials:u.array(u.object({name:u.string(),purpose:u.nativeEnum(Pu),required:u.boolean()}).strict()),requirements:u.array(gW).min(1).optional(),instructions:u.object({contentHash:Ut}).strict().optional(),deployedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).min(1).optional()}).strict().superRefine((t,e)=>{let n=new Set;(t.requirements??[]).forEach((A,l)=>{let p="fileName"in A?"file":"pasted";A.source==="other"&&A.key!==`${p}-${A.contentHash.slice(0,16)}`&&e.addIssue({code:u.ZodIssueCode.custom,message:"is not the key of its content hash",path:["requirements",l,"key"]});let h=oy({source:A.source,key:A.key});n.has(h)&&e.addIssue({code:u.ZodIssueCode.custom,message:"names an item that the run already names",path:["requirements",l,"key"]}),n.add(h)});let r=t.trigger.kind,s=dW.includes(r);s!==(t.policy===null)&&e.addIssue({code:u.ZodIssueCode.custom,path:["policy"],message:s?`a ${r} run has no policy`:"names the policy revision"});let i=fW(t);i&&e.addIssue({code:u.ZodIssueCode.custom,path:t.baseline?["baseline","sources"]:["baseline"],message:i}),pW.includes(r)&&t.sources.forEach((A,l)=>{A.reason!=="BASELINE"&&e.addIssue({code:u.ZodIssueCode.custom,path:["sources",l,"reason"],message:`a ${r} run selects only BASELINE sources`})}),t.deployedRevisions&&r!=="manual"&&e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions"],message:"only a manual run pins deployed revisions"});let a=new Set(t.sources.map(A=>go(A.repository))),c=new Set;(t.deployedRevisions??[]).forEach((A,l)=>{let p=go(A.repository);a.has(p)?c.has(p)&&e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions",l,"repository"],message:"repository appears twice"}):e.addIssue({code:u.ZodIssueCode.custom,path:["deployedRevisions",l,"repository"],message:"names a repository outside the snapshot"}),c.add(p)}),t.sources.forEach((A,l)=>{A.compareWith&&(A.reason!=="MANUAL_OVERRIDE"||A.change)&&e.addIssue({code:u.ZodIssueCode.custom,path:["sources",l,"compareWith"],message:"only a MANUAL_OVERRIDE source without a change names a revision to compare with"})})});var iT=(n=>(n.Person="person",n.Policy="policy",n))(iT||{}),EW=u.object({kind:u.nativeEnum(iT),name:u.string().min(1).max(256)}).strict(),CW=u.object({mcp:u.discriminatedUnion("source",[u.object({source:u.literal("npm"),version:u.string().regex(/^[A-Za-z0-9][A-Za-z0-9.+_-]{0,63}$/).nullable()}).strict(),u.object({source:u.literal("github"),ref:u.string().regex(/^[A-Za-z0-9._/-]{1,255}$/)}).strict()]),bedrock:u.object({region:u.string().regex(/^[a-z]{2}(-[a-z]+)+-[0-9]$/),roleArn:u.string().regex(/^arn:aws(-[a-z]+)*:iam::[0-9]{12}:role\/[\w+=,.@/-]{1,512}$/)}).strict().nullable()}).strict(),Qre=u.object({schemaVersion:u.literal(1),attempt:u.object({id:_t,number:u.number().int().positive(),deadlineAt:u.string().datetime()}).strict(),manifest:yW,manifestHash:Ut,entitlements:u.array(u.string()).optional(),runToken:u.string().min(1).optional(),requestedBy:EW.nullable().optional(),writeAllowed:u.boolean().optional(),claudeCodeVersion:u.string().regex(/^[0-9]+\.[0-9]+\.[0-9]+$/,"an exact version, such as 2.1.290").nullable().optional(),deployedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).optional(),statedRevisions:u.array(u.object({repository:er,revision:Cr}).strict()).optional(),runSettings:CW.optional()}).strict(),W0={providerRunAttempt:u.number().int().positive(),workflowRef:u.string().min(1)},IW=u.string().regex(/^[^/]+\/[^/]+\/[1-9][0-9]{0,15}\/[1-9][0-9]{0,15}$/),bre=u.object({schemaVersion:u.literal(1),runId:_t,execution:u.discriminatedUnion("provider",[u.object({...W0,provider:u.literal("github"),repository:u.object(Zd).strict(),providerRunId:Xn}).strict(),u.object({...W0,provider:u.literal("azure-devops"),repository:u.object(Xd).strict(),providerRunId:IW}).strict()]),requester:u.literal(!0).optional(),writeCheck:u.literal(!0).optional(),claudeCodePin:u.literal(!0).optional(),deployedPins:u.literal(!0).optional(),statedPins:u.literal(!0).optional(),runSettings:u.literal(!0).optional()}).strict(),z0=u.object({repository:er,number:Xn,commitSha:Cr.optional()}).strict(),BW=u.discriminatedUnion("status",[u.object({status:u.literal("none")}).strict(),u.object({status:u.literal("delivered"),pullRequests:u.array(z0).min(1)}).strict(),u.object({status:u.literal("partial"),pullRequests:u.array(z0).min(1),failures:u.array(u.object({repository:er,message:u.string()}).strict()).min(1)}).strict(),u.object({status:u.literal("failed"),message:u.string()}).strict()]),wW=u.object({blockedPreflight:u.object({file:u.string().min(1),repository:u.string().min(1).optional(),reason:u.string().min(1).max(300),evidence:u.string().min(1).max(400)}).strict().optional(),sufficiency:u.nativeEnum(Sa),rationale:u.string().min(1),gaps:u.array(u.string().min(1)),acceptedEvidence:u.array(u.object({kind:u.nativeEnum(_s),repository:u.string().min(1),revision:Cr,reference:u.string().min(1),summary:u.string().min(1)}).strict()),actionRequired:u.array(u.nativeEnum(ka))}).strict().superRefine((t,e)=>{t.sufficiency==="insufficient"!=t.gaps.length>0&&e.addIssue({code:u.ZodIssueCode.custom,path:["gaps"],message:"only insufficient evidence names gaps, and it names at least one"}),new Set(t.actionRequired).size!==t.actionRequired.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["actionRequired"],message:"a reason appears twice"})}),$y=500,QW=2048,bW=1e3,SW=/[\\/:*?"<>|;#$*{},+=[\]%\p{Cc}\p{Cf}]/u,K0=t=>t.length>0&&t.length<=64&&t===t.trim()&&!SW.test(t)&&!/[^\S ]/u.test(t)&&!/^[._]/.test(t)&&!t.endsWith("."),kW=t=>{if(/^[A-Za-z0-9._-]{1,100}\/[A-Za-z0-9._-]{1,100}$/.test(t))return!0;let[e,n,r,...s]=t.split("/");return t.length<=201&&s.length===0&&r!==void 0&&/^[A-Za-z0-9](?:[A-Za-z0-9-]{0,48}[A-Za-z0-9])?$/.test(e)&&K0(n)&&K0(r)},vW=u.object({testResults:u.array(u.object({resultId:u.string().regex(/^[^\u0000-\u001f]{1,512}$/),repository:u.string().refine(kW,"Invalid"),testType:u.string(),endpoint:u.string(),status:u.enum(["Pass","Fail","Skipped"]),details:u.string(),fileName:u.string().optional(),testId:u.string().regex(/^[^\u0000-\u001f]{1,512}$/).optional(),failureCause:u.object({kind:u.nativeEnum(cy),family:u.nativeEnum(uy).optional()}).strict().optional(),origin:u.nativeEnum(ay).optional()}).strict()),validation:wW,changes:u.array(u.object({id:u.string().min(1).max(512),text:u.string().max(16384),source:u.string().max(QW),testedBy:u.array(u.string().min(1).max(1024)).max($y),writtenBy:u.array(u.string().min(1).max(1024)).max($y),maintainedBy:u.array(u.string().min(1).max(1024)).max($y)}).strict()).max(bW).optional(),traceVersion:u.literal(1)}).passthrough().superRefine((t,e)=>{let n=new Set;t.testResults.forEach((r,s)=>{let i=r.failureCause;i&&r.status==="Pass"&&e.addIssue({code:u.ZodIssueCode.custom,path:["testResults",s,"failureCause"],message:"a passing result has no failure cause"}),i&&i.kind==="environment"!=(i.family!==void 0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["testResults",s,"failureCause"],message:"an environment cause names its family, and no other cause does"});let a=["testResults",s,"resultId"],c=r.resultId.slice(`${r.repository}:${r.testType}:`.length);(!r.resultId.startsWith(`${r.repository}:${r.testType}:`)||c===""||c.startsWith("/")||c.startsWith("#"))&&e.addIssue({code:u.ZodIssueCode.custom,path:a,message:"is not repository:testType:path for this result"}),n.has(r.resultId)&&e.addIssue({code:u.ZodIssueCode.custom,path:a,message:"stable identity repeated"}),n.add(r.resultId)})});var oT=50,Z0=u.string().regex(/^(?!.*\.\.)(?!\/)(?!.*\/$)[A-Za-z0-9._/-]{1,255}$/),aT=u.discriminatedUnion("kind",[u.object({kind:u.literal("branch_pushed"),repository:er,branch:Z0,commit:Cr}).strict(),u.object({kind:u.enum(["pull_request_opened","pull_request_edited"]),repository:er,number:Xn,branch:Z0}).strict()]),RW=u.object({schemaVersion:u.literal(1),run:u.object({runId:_t,attemptNumber:u.number().int().positive(),manifestHash:Ut}).strict(),target:Yd,policy:Yd,provenance:u.object({sources:u.array(u.object({repository:er,revision:Cr}).strict()),firstQualification:u.literal(!0).optional()}).strict(),delivery:u.object({generatedTests:BW}).strict(),producer:u.object({testbot:u.string().regex(/^[0-9A-Za-z.+-]{1,64}$/),mcp:u.string().regex(/^[0-9A-Za-z.+-]{1,64}$/)}).strict(),report:vW,githubWrites:u.array(aT).max(oT).optional()}).strict(),Sre=RW.pick({schemaVersion:!0,run:!0,target:!0,provenance:!0,producer:!0}).extend({recipe:vy}).strict().superRefine(({recipe:t},e)=>{let n=(i,a)=>e.addIssue({code:u.ZodIssueCode.custom,path:["recipe",...i],message:a});t.status==="blocked"&&t.blockers.length===0&&n(["blockers"],"a blocked recipe names at least one blocker");let r=new Set,s=0;t.files.forEach((i,a)=>{Tu(i.path)||n(["files",a,"path"],"is not .skyramp/workspace.yml or a file under .skyramp/sut/"),r.has(i.path)&&n(["files",a,"path"],"file repeated"),r.add(i.path),gy.test(i.content)&&n(["files",a,"content"],"is not text");let c=Buffer.byteLength(i.content,"utf8");s+=c,c>Ru&&n(["files",a,"content"],`larger than ${Ru} bytes`)}),s>xu&&n(["files"],`recipe text over ${xu} bytes in total`)}),kre=u.object({components:u.array(u.object({name:u.string().min(1),repository:u.string().regex(/^[A-Za-z0-9._-]{1,100}\/[A-Za-z0-9._-]{1,100}$/),observedRevision:u.string().regex(/^[0-9a-f]{7,64}$/).nullable(),source:u.nativeEnum(Id),evidence:u.string()}).strict().refine(t=>t.source!=="agent"||t.observedRevision===null,{path:["observedRevision"],message:"a component only an agent session can read names no revision"}))}).strict();var xW=u.object({schemaVersion:u.literal(1),stage:u.nativeEnum(Hy),event:u.nativeEnum(Yy),status:u.nativeEnum(qy).optional()}).strict().refine(t=>t.status===void 0||t.event==="finished",{path:["status"],message:"only a finished stage has a status"}),za=100,Wy=5e3,Uu=2e3,Vy=100,zy=/^[A-Za-z0-9_-]{1,64}$/,cT=20,uT=200,AT=100,lT=100,TW=200,X0="[^/\\s](?:(?:[^/\\s]| )*[^/\\s])?",DW=new RegExp(`^(?:[^/\\s]+/[^/\\s]+|[^/\\s]+/${X0}/${X0})$`),dT=500,pT=50,$u=/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/,Tn=t=>u.string().max(t).refine(e=>e.trim().length>0&&!$u.test(e),"blank, or not text"),as={sequence:u.number().int().min(1).max(Wy),at:u.string().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,6})?Z$/)},hT=u.discriminatedUnion("kind",[u.object({...as,kind:u.literal("log"),phase:u.nativeEnum(zd),text:Tn(Uu)}).strict(),u.object({...as,kind:u.literal("component"),name:Tn(Vy),repository:Tn(TW).refine(t=>DW.test(t)||t===zt,"not owner/name"),file:Tn(dT).nullable(),status:u.nativeEnum(Ou),version:Tn(lT).optional()}).strict(),u.object({...as,kind:u.literal("reply"),to:u.string().uuid(),accepted:u.boolean(),text:Tn(Uu)}).strict(),u.object({...as,kind:u.literal("question"),id:u.string().regex(zy),type:u.nativeEnum(jy),text:Tn(Uu),component:Tn(Vy).nullable(),choices:u.array(Tn(uT)).max(cT),placeholder:Tn(AT).optional()}).strict(),u.object({...as,kind:u.literal("delivered"),ids:u.array(u.string().uuid()).max(za)}).strict(),u.object({...as,kind:u.literal("credentials"),names:u.array(u.string().regex(La)).min(1).max(pT)}).strict()]).superRefine((t,e)=>{t.kind==="credentials"&&new Set(t.names).size!==t.names.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["names"],message:"a name twice"}),t.kind==="question"&&(t.type==="free_text"!=(t.choices.length===0)&&e.addIssue({code:u.ZodIssueCode.custom,path:["choices"],message:"choices exactly when the question is not free_text"}),new Set(t.choices).size!==t.choices.length&&e.addIssue({code:u.ZodIssueCode.custom,path:["choices"],message:"a choice twice"}))}),NW=u.object({schemaVersion:u.literal(1),events:u.array(hT).max(za)}).strict(),fT=u.discriminatedUnion("kind",[u.object({...as,kind:u.literal("log"),stage:u.nativeEnum(Kd),text:Tn(Uu)}).strict(),u.object({...as,kind:u.literal("reply"),to:u.string().uuid(),accepted:u.boolean(),text:Tn(Uu)}).strict(),u.object({...as,kind:u.literal("delivered"),ids:u.array(u.string().uuid()).max(za)}).strict()]),FW=u.object({schemaVersion:u.literal(1),events:u.array(fT).max(za)}).strict(),eT={id:u.string().uuid(),text:u.string(),by:u.string().nullable(),at:u.string(),replied:u.literal(!0).optional()},gT=u.discriminatedUnion("kind",[u.object({...eT,kind:u.literal("instruction"),question:u.null()}),u.object({...eT,kind:u.literal("answer"),question:u.string().regex(zy)})]),mT=u.string().regex(/^[A-Za-z0-9+/]{43}=$/),MW=u.object({id:u.string().uuid(),revision:u.string(),by:u.string().nullable(),at:u.string(),target:u.string(),own:u.object({source:u.enum(["policy","test_environment"]),text:u.string()}).nullable()}),_W=u.object({schemaVersion:u.literal(1),leftOut:u.array(u.string()),messages:u.array(gT).optional(),stop:u.object({key:mT}).optional(),notes:MW.optional()}),UW=u.object({schemaVersion:u.literal(1),messages:u.array(gT).optional()});var yT=500*1024*1024,ET=u.object({id:Xn,name:u.string().regex(/^[A-Za-z0-9._-]{1,200}$/),providerRunId:Xn,expiresAt:u.string().datetime()}).strict(),LW=u.object({schemaVersion:u.literal(1),artifact:ET,sessionId:_t,contentHash:Ut,bytes:u.number().int().min(1).max(yT)}).strict(),PW=u.object({schemaVersion:u.literal(1),checkpoint:u.object({artifact:ET,repository:u.object({namespace:u.string().min(1),name:u.string().min(1)}).strict(),sessionId:_t,contentHash:Ut,key:mT}).strict().nullable()}).strict(),OW=200,Ja=100,Ky=(r=>(r.Resume="resume",r.Retry="retry",r.Update="update",r))(Ky||{}),$W=u.object({kind:u.nativeEnum(Ky),setup:u.object({runId:_t,endedAt:u.string().nullable(),outcome:u.string().nullable()}).strict(),components:u.array(u.object({name:u.string().min(1),repository:u.string().min(1),status:u.nativeEnum(Ou)}).strict()).max(Ja),credentials:u.array(u.string().min(1)).max(Ja),answers:u.array(u.object({question:u.string(),answer:u.string().nullable()}).strict()).max(Ja),instructions:u.array(u.object({text:u.string(),reply:u.string().nullable()}).strict()).max(Ja),log:u.array(u.object({phase:u.nativeEnum(zd),text:u.string()}).strict()).max(OW),recipe:u.object({files:u.array(u.object({path:u.string().min(1),content:u.string()}).strict()).max(Ja),blockers:u.array(u.object({component:u.string(),problem:u.string(),evidence:u.string(),fix:u.string()}).strict()).max(Ja)}).strict().optional()}).strict(),VW=u.object({schemaVersion:u.literal(1),context:$W.nullable()}).strict(),GW=u.object({schemaVersion:u.literal(1),configuration:u.object({captureId:_t,revision:Xn.nullable(),hash:Ut}).strict(),capture:u.object({schemaVersion:u.literal(1),settings:u.object({target:u.object({environment:u.unknown()}).passthrough(),timeoutMinutes:u.number().int().positive(),answerWaitMinutes:u.number().int().positive().optional(),testEnvironment:u.object({name:u.string().min(1),address:u.string().min(1).optional(),readyWhen:u.string().min(1).optional()}).passthrough().optional()}).passthrough(),provenance:u.object({}).passthrough(),hash:Ut}).strict()}).strict(),HW=Oa.extend({version:u.number().int().positive(),components:u.array(u.object({name:u.string().min(1),repository:u.string().min(1)}).strict()),contentHash:Ut.optional(),files:u.array(u.object({path:u.string().refine(t=>Tu(t)&&!_d.includes(t),"not a file of a customer_deployed plan"),content:u.string()}).strict()).optional()}).strict(),YW=u.object({schemaVersion:u.literal(1),testEnvironment:HW.nullable().optional(),runtimePlan:u.object({version:u.number().int().positive(),contentHash:Ut,files:u.array(u.object({path:u.string().refine(Tu,"not a recipe file path"),content:u.string()}).strict()).min(1),recipe:u.record(u.unknown()).optional()}).strict().nullable()}).strict().refine(t=>!(t.runtimePlan&&t.testEnvironment),{message:"a run pins a recipe or a customer's Test Environment, never both",path:["testEnvironment"]}),qW=u.object({schemaVersion:u.literal(1),state:u.nativeEnum(tT),ending:u.nativeEnum(Jd).nullable(),cause:u.nativeEnum(Wd).nullable(),deadlineAt:u.string().datetime()}).strict();function CT(t){return t.reportUploaded?{schemaVersion:1,reason:"report_uploaded",cause:null}:t.recipeUploaded?{schemaVersion:1,reason:"recipe_uploaded",cause:null}:t.revisionsUploaded?{schemaVersion:1,reason:"revisions_uploaded",cause:null}:t.cancelled?{schemaVersion:1,reason:"cancelled",cause:null}:{schemaVersion:1,reason:"no_report",cause:jW(t)}}function jW(t){return t.runnerProviderNotReady?"runner_provider_not_ready":t.credentialMissing?"credential_missing":t.checkoutFailed?"checkout_failed":t.environmentUnverified?"environment_unverified":t.setupFailed?"setup_failed":t.timedOut?"timed_out":t.modelProviderDenied?"model_provider_denied":t.modelProviderUnavailable?"model_provider_unavailable":"agent_failed"}var IT=Re(require("fs")),Vu="SKYRAMP_AZURE_SUPERVISED",Zy=3;function ep(t){return t.replace(/##(?=(?:vso)?\[)/gi,"#\u200B#")}function Xy(t,e=process.env){e[Vu]==="1"?IT.writeSync(Zy,`${JSON.stringify(t)}
|
|
121
121
|
`):process.stdout.write(t.command!==void 0?`${t.command}
|
|
122
122
|
`:t.text??"")}function eE(t){Xy({command:t})}function BT(t){return t.replace(/%/g,"%AZP25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function JW(t){return BT(t).replace(/;/g,"%3B").replace(/]/g,"%5D")}function tp(t,e,n){let r=Object.entries(e).map(([s,i])=>`${s}=${JW(i)}`).join(";");return`##vso[${t}${r?` ${r}`:""}]${BT(n)}`}function wT(t){if(!t)return[];let e=t.split(/\r?\n/).filter(n=>n.trim()&&n!==t);return[t,...e].map(n=>tp("task.setsecret",{},n))}function QT(t,e=eE){for(let n of wT(t))e(n)}function WW(t){return t.replace(/%0D/g,"\r").replace(/%0A/g,`
|
|
123
123
|
`).replace(/%25/g,"%")}function bT(t){let e=/^::([a-z-]+)(?: [^:]*)?::(.*)$/s.exec(t.replace(/\r?\n$/,""));if(!e)return;let[,n,r]=e,s=WW(r),i=ep(s);switch(n){case"add-mask":return wT(s);case"warning":case"error":return[tp("task.logissue",{type:n},i)];case"notice":return[i];case"debug":return i.split(`
|
|
124
124
|
`).map(a=>`##[debug]${a}`);case"group":return[`##[group]${i.split(`
|
|
125
|
-
`)[0]}`];case"endgroup":return["##[endgroup]"];default:return[]}}function Hu(t){return t.replace(/\/+$/,"")}function tE(t){let e=new URL(t),n=e.pathname.split("/").filter(Boolean);if(n.length)return decodeURIComponent(n[n.length-1]);if(e.hostname.endsWith(".visualstudio.com"))return e.hostname.split(".")[0];throw new Error(`SYSTEM_COLLECTIONURI "${t}" names no organization`)}var zW=/^[A-Za-z0-9](?:[A-Za-z0-9-]{0,48}[A-Za-z0-9])?$/,KW=/[\\/:*?"<>|;#${},+=[\]%\p{Cc}\p{Cf}]/u;function ST(t){return t.length>0&&t.length<=64&&t===t.trim()&&!KW.test(t)&&!/[^\S ]/u.test(t)&&!/^[._]/.test(t)&&!t.endsWith(".")}function np(t){return nE(`${t.namespace}/${t.name}`)}function nE(t){let e=t.indexOf("/"),n=t.lastIndexOf("/"),r=t.slice(0,e),s=t.slice(e+1,n),i=t.slice(n+1);if(e<0||e===n||!zW.test(r)||!ST(s)||!ST(i))throw new Error(`"${t}" is not an Azure DevOps organization/project/repository`);return{organization:r,project:s,name:i}}function kT(t,e){let n=tE(t);if(n.toLowerCase()!==e.organization.toLowerCase())throw new Error(`${e.organization}/${e.project}/${e.name} is not in ${n}, the Azure DevOps organization this job runs in`)}function vT(t,e){return kT(t,e),`${Hu(t)}/${encodeURIComponent(e.project)}/_git/${encodeURIComponent(e.name)}`}function rE(t,e){return kT(t,e),`${Hu(t)}/${encodeURIComponent(e.project)}/_apis/git/repositories/${encodeURIComponent(e.name)}`}var ZW="7.1",Gu=class extends Error{constructor(n,r){super(n);this.status=r}status};async function sE(t){let e=t.accept??"application/json",n=new URL(t.url);n.searchParams.has("api-version")||n.searchParams.set("api-version",ZW);let r=await(t.fetch??fetch)(n.toString(),{method:t.method??"GET",headers:{Authorization:`Bearer ${t.token}`,Accept:e,...t.body!==void 0?{"Content-Type":"application/json"}:{}},...t.body!==void 0?{body:JSON.stringify(t.body)}:{},redirect:"error",signal:AbortSignal.timeout(3e4)});if(!r.ok){let s=(await r.json().catch(()=>({}))).message;throw new Gu(`Azure DevOps answered ${r.status}${typeof s=="string"?`: ${s}`:""}`,r.status)}return e!=="application/json"?Buffer.from(await r.arrayBuffer()):r.status===204?{}:await r.json()}function XW(t){return`AUTHORIZATION: bearer ${t}`}function RT(t,e){return{GIT_CONFIG_COUNT:"1",GIT_CONFIG_KEY_0:`http.${Hu(t)}/.extraheader`,GIT_CONFIG_VALUE_0:XW(e)}}var e9="7.1-preview.1",t9=".azure-pipelines/skyramp-testbot-v3.yml";function mo(t){return t.GITHUB_ACTIONS!=="true"&&/^true$/i.test(t.TF_BUILD??"")}var n9={INPUT_SKYRAMPRUNID:"SKYRAMP_RUN_ID",INPUT_SKYRAMPAPPORIGIN:"SKYRAMP_APP_ORIGIN",INPUT_SKYRAMPMCPGITHUBTOKEN:"SKYRAMP_MCP_GITHUB_TOKEN"};function DT(t=process.env){if(mo(t))for(let[e,n]of Object.entries(n9))!t[e]&&t[n]!==void 0&&(t[e]=t[n])}function NT(t,e={}){let n=h=>{let g=t[h];if(!g)throw new Error(`${h} is not set; the V3 runner handshake needs it`);return g},r=Hu(t.SYSTEM_COLLECTIONURI??""),s=()=>tE(n("SYSTEM_COLLECTIONURI")),i=t.SYSTEM_TEAMPROJECT,a=t.BUILD_REPOSITORY_NAME,c=t.BUILD_REPOSITORY_ID?.toLowerCase(),A=t.SYSTEM_ACCESSTOKEN,l=e.mask??(h=>QT(h)),p=h=>async()=>{if(!h)throw new Error("The job cannot request an OIDC token: the Testbot step's env must set SYSTEM_OIDCREQUESTURI to $(System.OidcRequestUri).");if(!A)throw new Error("The job cannot request an OIDC token: the Testbot step's env must set SYSTEM_ACCESSTOKEN to $(System.AccessToken).");let g=new URL(h);if(g.protocol!=="https:")throw new Error("SYSTEM_OIDCREQUESTURI is not an https URL");g.searchParams.set("api-version",e9);let C=await(e.fetch??fetch)(g.toString(),{method:"POST",headers:{Authorization:`Bearer ${A}`,"Content-Type":"application/json",Accept:"application/json"},body:"{}",redirect:"error",signal:AbortSignal.timeout(3e4)});if(!C.ok)throw new Error(`Azure DevOps refused the OIDC token request: ${C.status}`);let S=(await C.json().catch(()=>({}))).oidcToken;if(typeof S!="string"||!S)throw new Error("Azure DevOps's OIDC token response carried no token");return l(S),S};return{runnerPlatform:mo(t)?"azure":void 0,workspace:t.BUILD_SOURCESDIRECTORY||void 0,serverUrl:r,apiUrl:r,repository:c&&i&&a&&r?{id:c,slug:`${s()}/${i}/${a}`}:void 0,runId:t.BUILD_BUILDID||void 0,runAttempt:t.SYSTEM_STAGEATTEMPT||void 0,job:t.SYSTEM_JOBNAME||void 0,execution(){let h=n("SYSTEM_STAGEATTEMPT");if(!/^[1-9][0-9]*$/.test(h))throw new Error(`SYSTEM_STAGEATTEMPT is "${h}", not a positive whole number`);let g=n("SYSTEM_COLLECTIONID").toLowerCase();if(!Wa.test(g))throw new Error(`SYSTEM_COLLECTIONID is "${g}", not a GUID`);let C=n("BUILD_REPOSITORY_ID").toLowerCase();if(!Wa.test(C))throw new Error(`BUILD_REPOSITORY_ID is "${C}", not a GUID`);let S=[s(),n("SYSTEM_TEAMPROJECT"),n("SYSTEM_DEFINITIONID"),n("BUILD_BUILDID")].map(encodeURIComponent).join("/");return{provider:"azure-devops",repository:{provider:"azure-devops",providerAccountId:g,providerRepositoryId:C},providerRunId:S,providerRunAttempt:Number(h),workflowRef:`${t9}@${n("BUILD_SOURCEBRANCH")}`}},takeIdToken(){let h=t.SYSTEM_OIDCREQUESTURI;delete t.SYSTEM_OIDCREQUESTURI;let g=p(h);return()=>g()},takeSourceToken(){return delete t.SYSTEM_ACCESSTOKEN,A||void 0},webIdentity(){if(!t.SYSTEM_OIDCREQUESTURI?.trim()||!A)return;let h=p(t.SYSTEM_OIDCREQUESTURI);return{token:()=>h(),runId:t.BUILD_BUILDID}},v3RunsOnly:!0,assumesBedrockRole:!0,namesSourceToMcp:!0,runSettingsFromApp:!0,checkSourceName(h){np(h)},cloneUrl(h){return vT(r,np(h))},gitAuthEnv(h){return RT(r,h)},async pullRequest(h,g,C){let S=await sE({token:await C.token(),url:`${rE(r,np(h))}/pullrequests/${g}`,fetch:C.fetch}),v=S.status==="completed";return{...typeof S.title=="string"?{title:S.title}:{},...typeof S.description=="string"?{body:S.description}:{},...typeof S.status=="string"?{merged:v}:{},...v&&typeof S.lastMergeCommit?.commitId=="string"?{mergeCommit:S.lastMergeCommit.commitId}:{},...v&&typeof S.lastMergeSourceCommit?.commitId=="string"?{mergedHead:S.lastMergeSourceCommit.commitId}:{}}},async commit(h,g,C){let S;try{S=rE(r,nE(h))}catch{return{lookup:"unknown"}}try{let v=await sE({token:await C.token(),url:`${S}/commits/${encodeURIComponent(g)}`,fetch:C.fetch});return typeof v.commitId=="string"?{sha:v.commitId}:{lookup:"missing"}}catch(v){return{lookup:v instanceof Gu&&(v.status===404||v.status===400)?"missing":"unknown"}}}}}Dt();var r9=5e3,iE=/^(?!\.\.?$)[A-Za-z0-9._-]{1,100}$/;function s9(t){let e=Buffer.from(`x-access-token:${t}`).toString("base64");return Hr(e),`AUTHORIZATION: basic ${e}`}function FT(t,e={}){let n=A=>{let l=t[A];if(!l)throw new Error(`${A} is not set; the V3 runner handshake needs it`);return l},r=t.GITHUB_REPOSITORY_ID,s=t.GITHUB_REPOSITORY,i=(t.GITHUB_SERVER_URL||"https://github.com").replace(/\/+$/,""),a=(t.GITHUB_API_URL||"https://api.github.com").replace(/\/+$/,""),c=async(A,l)=>l.fetch(A,{headers:{Authorization:`Bearer ${await l.token()}`,Accept:"application/vnd.github+json"},redirect:"error",signal:AbortSignal.timeout(3e4)});return{runnerPlatform:t.GITHUB_ACTIONS==="true"?"github":void 0,workspace:t.GITHUB_WORKSPACE||void 0,serverUrl:i,apiUrl:a,repository:r&&s?{id:r,slug:s}:void 0,runId:t.GITHUB_RUN_ID||void 0,runAttempt:t.GITHUB_RUN_ATTEMPT||void 0,job:t.GITHUB_JOB||void 0,execution(){let A=n("GITHUB_RUN_ATTEMPT");if(!/^[1-9][0-9]*$/.test(A))throw new Error(`GITHUB_RUN_ATTEMPT is "${A}", not a positive whole number`);return{provider:"github",repository:{provider:"github",providerAccountId:n("GITHUB_REPOSITORY_OWNER_ID"),providerRepositoryId:n("GITHUB_REPOSITORY_ID")},providerRunId:n("GITHUB_RUN_ID"),providerRunAttempt:Number(A),workflowRef:n("GITHUB_WORKFLOW_REF")}},takeIdToken(){let A=t.ACTIONS_ID_TOKEN_REQUEST_URL,l=t.ACTIONS_ID_TOKEN_REQUEST_TOKEN;return delete t.ACTIONS_ID_TOKEN_REQUEST_URL,delete t.ACTIONS_ID_TOKEN_REQUEST_TOKEN,async p=>{if(!A||!l)throw new Error("The job cannot request an OIDC token. Give it the `id-token: write` permission.");let h=new URL(A);h.searchParams.set("audience",p);let g=await fetch(h,{headers:{Authorization:`Bearer ${l}`,Accept:"application/json"},redirect:"error",signal:AbortSignal.timeout(3e4)});if(!g.ok)throw new Error(`GitHub refused the OIDC token request: ${g.status}`);let C=(await g.json().catch(()=>({}))).value;if(typeof C!="string"||!C)throw new Error("GitHub's OIDC token response carried no token");return Hr(C),C}},webIdentity(){return!t.ACTIONS_ID_TOKEN_REQUEST_TOKEN?.trim()||!t.ACTIONS_ID_TOKEN_REQUEST_URL?.trim()?void 0:{token:e.getIDToken??(l=>Cv(l)),runId:t.GITHUB_RUN_ID}},v3RunsOnly:!1,assumesBedrockRole:!1,namesSourceToMcp:!1,runSettingsFromApp:!1,checkSourceName(A){for(let l of[A.namespace,A.name])if(!iE.test(l))throw new Error(`"${l}" is not a repository name`)},cloneUrl(A){return`${i}/${A.namespace}/${A.name}.git`},gitAuthEnv(A){return A?{GIT_CONFIG_COUNT:"1",GIT_CONFIG_KEY_0:`http.${i}/.extraheader`,GIT_CONFIG_VALUE_0:s9(A)}:{}},async pullRequest({namespace:A,name:l},p,h){if(![A,l].every(S=>iE.test(S)))throw new Error("the repository name is not valid");let g=await c(`${a}/repos/${A}/${l}/pulls/${p}`,h);if(!g.ok)throw new Error(`GitHub answered ${g.status}`);let C=await g.json();return{...typeof C.title=="string"?{title:C.title}:{},...typeof C.body=="string"?{body:C.body}:{},...typeof C.merged=="boolean"?{merged:C.merged}:{},...C.merged===!0&&typeof C.merge_commit_sha=="string"?{mergeCommit:C.merge_commit_sha}:{},...C.merged===!0&&typeof C.head?.sha=="string"?{mergedHead:C.head.sha}:{}}},async commit(A,l,p){let[h,g,...C]=A.split("/");if(C.length||![h,g].every(S=>S!==void 0&&iE.test(S)))return{lookup:"unknown"};try{let S=await c(`${a}/repos/${h}/${g}/commits/${encodeURIComponent(l)}`,p);if(S.status===404||S.status===422)return{lookup:"missing"};if(!S.ok)return{lookup:"unknown"};let v=await S.json();return typeof v.sha=="string"?{sha:v.sha}:{lookup:"missing"}}catch{return{lookup:"unknown"}}},async revokeToken(A,l){let p=await l(`${a}/installation/token`,{method:"DELETE",headers:{Authorization:`Bearer ${A}`,Accept:"application/vnd.github+json"},redirect:"error",signal:AbortSignal.timeout(r9)});if(!p.ok&&p.status!==401)throw new Error(`GitHub answered ${p.status}`)}}}function oE(t=process.env){return mo(t)?NT(t):FT(t)}var Sse=10*6e4;var kse=10*6e4;var o9=3e4,a9=3,MT=30,js=class extends Error{constructor(n,r,s,i){super(n);this.status=r;this.code=s;this.path=i}status;code;path},yo=class extends Error{},Za=class extends yo{},rp=class extends Za{};function c9(t){let e;try{e=new URL(t)}catch{throw new Error(`skyrampAppOrigin "${t}" is not a URL`)}if(e.protocol!=="https:"||e.origin!==t.replace(/\/+$/,""))throw new Error(`skyrampAppOrigin must be an https origin, got "${t}"`);return e.origin}function u9(t,e){if(!Wa.test(t))throw new Error(`The ${e} "${t}" is not a uuid`);return t}function A9(t,e,n,r){throw e<500&&e!==429?new js(t,e,n,r):e===503&&n==="RUNNER_PROVIDER_NOT_READY"?new rp(t):e===503&&n==="RUN_NOT_READY"?new Za(t):new yo(t)}async function l9(t,e,n,r){let s=c9(t.origin),i,a=0;for(let c=1;c<=a9||i instanceof Za;c+=1){if(i instanceof Za){if(a===MT)throw i;a+=1,c-=1,t.log?.(`${i.message}; trying again (${a} of ${MT}).`),await new Promise(A=>setTimeout(A,t.readyWaitMs??1e4))}else c>1&&await new Promise(A=>setTimeout(A,(t.retryDelayMs??2e3)*(c-1)));try{let A=await t.idToken(s),l=await(t.fetch??fetch)(new URL(e,s).toString(),{...n(A),redirect:"error",signal:AbortSignal.timeout(o9)}).catch(p=>{throw new yo(p instanceof Error?p.message:String(p),{cause:p})});return await r(l)}catch(A){if(A instanceof js)throw A;i=A}}throw i}function d9(t,e,n,r){return l9(t,n,i=>({method:e,headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:e==="GET"?void 0:JSON.stringify(r)}),async i=>{let a=await i.json().catch(()=>({}));if(i.ok)return a.data;let c=a.error?.fields,A=typeof c?.path=="string"&&typeof c.reason=="string"?` at ${c.path}: ${c.reason}`:"",l=`The Skyramp app refused ${e} ${n}: ${i.status} ${a.error?.code??"no error code"}${A}`;return A9(l,i.status,a.error?.code,typeof c?.path=="string"?c.path:void 0)})}var vse=10*6e4;var Rse=["TRIGGER","AUTHORITATIVE_RELATED_CHANGE"];var xse=u.object({tests:u.object({placements:u.array(u.unknown()).optional()}).passthrough().optional()}).passthrough(),Tse=u.object({repository:Jy,testType:u.nativeEnum(Qd),directory:u.string()}).passthrough();var Dse=u.object({report:u.object({language:u.string()}).passthrough()}).passthrough();var Nse=u.object({environment:u.object({components:u.array(u.unknown()).optional(),dependencies:u.array(u.unknown()).optional()}).passthrough()}).passthrough(),Fse=u.object({name:u.string().min(1),provision:u.literal("existing"),url:u.string().min(1),repository:Jy.optional(),revisionUrl:u.string().min(1).optional()}).passthrough(),Mse=u.object({name:u.string().min(1),url:u.string().nullable(),versionUrl:u.string().nullable(),notes:u.string().nullable()}).passthrough();var Use=new Set(["TRIGGER","AUTHORITATIVE_RELATED_CHANGE","MANUAL_OVERRIDE"]);var _se={"model-provider-denied":"model_provider_denied","model-provider-unavailable":"model_provider_unavailable"};async function LT(t,e){return u9(t.attemptId,"attempt id"),d9(e,"POST",`/api/v1/runner/attempts/${t.attemptId}/end`,CT({reportUploaded:t.reportUploaded,recipeUploaded:t.recipeUploaded,revisionsUploaded:t.revisionsUploaded,cancelled:t.cause==="cancelled",timedOut:t.cause==="timed_out",setupFailed:t.cause==="setup_failed",checkoutFailed:t.cause==="checkout_failed",environmentUnverified:t.cause==="environment_unverified",runnerProviderNotReady:t.cause==="runner_provider_not_ready",credentialMissing:t.cause==="credential_missing",modelProviderDenied:t.cause==="model_provider_denied",modelProviderUnavailable:t.cause==="model_provider_unavailable"}))}var Hse={focused:"Focused",impacted_critical:"Impacted and critical",broad:"Broad"};var sp=Re(require("path")),jse=sp.join(".skyramp","sut"),Jse=sp.join(".skyramp","workspace.yml");var PT=".skyramp/sut/health.json",Aie={[PT]:`${PT} (with a url or command)`,".skyramp/workspace.yml":".skyramp/workspace.yml (create it with skyramp_init_scan and skyramp_init_workspace)"};var fie=20*1024*1024;var OT=Re(require("path"));var kie=OT.join(".skyramp","sut","get-auth-token.sh");var E9=50,C9=50,I9=4096,B9=8e3,w9=2048,Q9=/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f-\u009f]/,b9=/^(?!\/)(?!.*(?:^|\/)\.\.?(?:\/|$))[A-Za-z0-9._/ -]{1,255}$/,S9=/^\.github\/workflows\/[A-Za-z0-9._-]+\.ya?ml$/,k9=/^(?!GITHUB_)(?!SKYRAMP_RUNNER_)[A-Z][A-Z0-9_]{0,99}$/,VT=(i=>(i.Command="command",i.ComposeFile="compose_file",i.DeploymentWorkflow="deployment_workflow",i.Url="url",i.Guidance="guidance",i))(VT||{}),v9={command:"optional",compose_file:"required",deployment_workflow:"required",url:"none",guidance:"none"},$T=t=>u.string().max(t).refine(e=>e.trim().length>0&&!Q9.test(e),"must be non-blank text with no control characters other than tab, LF and CR");function R9(t){let e;try{e=new URL(t)}catch{return"invalid URL"}if(e.protocol!=="https:"&&e.protocol!=="http:")return"only http and https URLs";if(e.username||e.password)return"a URL cannot carry a login"}var x9={command:$T(I9),compose_file:u.string().regex(b9,"must be a relative path inside the repository"),deployment_workflow:u.string().regex(S9,"must be a .github/workflows/*.yml path"),url:u.string().max(w9).superRefine((t,e)=>{let n=R9(t);n&&e.addIssue({code:u.ZodIssueCode.custom,message:n})}),guidance:$T(B9)},T9=u.object({kind:u.nativeEnum(VT),value:u.string(),repository:er.nullable()}).strict().superRefine((t,e)=>{let n=v9[t.kind];n==="required"&&!t.repository&&e.addIssue({code:u.ZodIssueCode.custom,path:["repository"],message:"a file belongs to a repository"}),n==="none"&&t.repository&&e.addIssue({code:u.ZodIssueCode.custom,path:["repository"],message:`a ${t.kind} names no repository`});let r=x9[t.kind].safeParse(t.value);if(!r.success)for(let s of r.error.issues)e.addIssue({code:u.ZodIssueCode.custom,path:["value"],message:s.message})}),D9=u.object({name:u.string().regex(k9,"must be a GitHub Actions secret name (A-Z, 0-9, _; not GITHUB_ or SKYRAMP_RUNNER_)"),purpose:u.nativeEnum(Pu),required:u.boolean()}).strict(),Tie=u.object({knowledge:u.array(T9).max(E9),credentials:u.array(D9).max(C9)}).strict().superRefine((t,e)=>{let n=new Set;t.credentials.forEach((r,s)=>{n.has(r.name)&&e.addIssue({code:u.ZodIssueCode.custom,path:["credentials",s,"name"],message:"named twice"}),n.add(r.name)})});var Die={model_provider:"model provider",sut_access:"SUT access",skyramp:"Skyramp",other:"other"};var poe=3*6e4;var hoe=`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`;var M9={discover:"reading the repositories",start:"starting the components",check:"checking that the components answer"};var Boe={running:"up",healthy:"up",ready:"up",started:"up",building:"starting",pending:"starting",installing:"starting",skipped:"out_of_scope",excluded:"out_of_scope","out-of-scope":"out_of_scope"};var woe=new RegExp($u.source,"g");var Voe=new RegExp($u.source,"g");var P9="https://testbot.skyramp.dev",Eo={attemptId:"v3AttemptId",deadlineAt:"v3DeadlineAt",reportUploaded:"v3ReportUploaded",recipeUploaded:"v3RecipeUploaded",recipeStatus:"v3RecipeStatus",revisionsUploaded:"v3RevisionsUploaded",cause:"v3Cause"};function O9(t,e,n){return{origin:t,idToken:e,sourceToken:n,mask:r=>Hr(r),log:r=>Bn(r),onTokenRefused:(r,s)=>{V9(r)&&HT.set(s,r)},onTokenGranted:r=>{HT.delete(r)}}}var HT=new Map;var Fce=["setup_failed","checkout_failed","environment_unverified"];function $9(t,e){return e.getTime()>=t.getTime()}function V9(t){return t instanceof yo||t instanceof js&&t.code!=="CREDENTIALS_UNAVAILABLE"}var Mce={cancelled:"Skyramp cancelled this run",expired:"this attempt passed its deadline in Skyramp",ended:"Skyramp already ended this attempt"},Uce={cancelled:"attempt-cancelled",expired:"attempt-closed",ended:"attempt-closed"},_ce={cancelled:"cancelled",expired:"timed_out",ended:"agent_failed"};var Lce={analyze:"analyze",triage:"analyze",recommend:"recommend",generate:"generate","generate-ui":"generate","generate-unit":"generate",adapt:"generate",write:"generate",onboard:"execute",deploy:"execute","native-run":"execute",deliver:"deliver"},Pce={analyze:"change analysis",recommend:"test recommendations",generate:"test generation",execute:"test execution",deliver:"opening a pull request with the tests"};function G9(){return he("skyrampAppOrigin").trim()||P9}var Oce=10*6e4;var $ce={onboard:"onboard",deploy:"deploy"},Vce={plan:{stage:"validation_plan",text:"Working out what to validate, and bringing up what it needs"},write:{stage:"tests",text:"Writing and running the tests"},"generate-unit":{stage:"tests",text:"Writing unit tests"},"native-run":{stage:"tests",text:"Running the unit tests"}};async function YT(){let t=Rs(Eo.attemptId);if(!t)return;let e=Rs(Eo.reportUploaded)==="true",n=Rs(Eo.recipeUploaded)==="true",r=Rs(Eo.revisionsUploaded)==="true",s=Rs(Eo.deadlineAt),i=Rs(Eo.cause)||void 0;!i&&!e&&!n&&!r&&s&&$9(new Date(s),new Date)&&(i="timed_out");let a=oE().takeIdToken(),c=await LT({attemptId:t,reportUploaded:e,recipeUploaded:n,revisionsUploaded:r,cause:i},O9(G9(),a)),A=Rs(Eo.recipeStatus);n&&A?Bn(`Testbot V3: attempt ended; the setup ended ${A==="ready"?"Ready":"blocked (Needs input)"}.`):Bn(`Testbot V3: attempt ended; the run's outcome in Skyramp is ${c.outcome??"not final yet"}.`)}var qT=require("child_process"),Ir=Re(require("fs")),uE=Re(require("path")),AE=require("string_decoder");var H9="skyramp-testbot-state",Y9=/^\$\([^)]*\)$/;function q9(t){for(let[e,n]of Object.entries(t))n!==void 0&&Y9.test(n)&&delete t[e]}function j9(t){let e={},n=Ir.existsSync(t)?Ir.readFileSync(t,"utf-8"):"",r=/^([^\r\n<]+)<<(\S+)\r?\n([\s\S]*?)\r?\n\2\r?$/gm;for(let s=r.exec(n);s;s=r.exec(n))e[s[1]]=s[3];return e}function jT(t,e={}){let n=e.env??process.env;if(!mo(n))return!1;q9(n),DT(n);let r=n.AGENT_TEMPDIRECTORY||n.RUNNER_TEMP;if(r){n.RUNNER_TEMP??=r;let a=uE.join(r,H9);if(t==="main")Ir.writeFileSync(a,"",{mode:384});else for(let[c,A]of Object.entries(j9(a)))n[`STATE_${c}`]=A;n.GITHUB_STATE=a;for(let[c,A]of[["GITHUB_OUTPUT","output"],["GITHUB_ENV","env"],["GITHUB_PATH","path"],["GITHUB_STEP_SUMMARY",`summary-${t}.md`]])n[c]=uE.join(r,`skyramp-testbot-${A}`),Ir.writeFileSync(n[c],"",{mode:384})}let s=e.stdout??n===process.env;s&&J9(n,e.write);let i=n.GITHUB_STEP_SUMMARY;if(s&&i){let a=e.write??(c=>eE(c.replace(/\n$/,"")));process.once("exit",()=>{Ir.existsSync(i)&&Ir.statSync(i).size>0&&a(`${tp("task.uploadsummary",{},i)}
|
|
125
|
+
`)[0]}`];case"endgroup":return["##[endgroup]"];default:return[]}}function Hu(t){return t.replace(/\/+$/,"")}function tE(t){let e=new URL(t),n=e.pathname.split("/").filter(Boolean);if(n.length)return decodeURIComponent(n[n.length-1]);if(e.hostname.endsWith(".visualstudio.com"))return e.hostname.split(".")[0];throw new Error(`SYSTEM_COLLECTIONURI "${t}" names no organization`)}var zW=/^[A-Za-z0-9](?:[A-Za-z0-9-]{0,48}[A-Za-z0-9])?$/,KW=/[\\/:*?"<>|;#${},+=[\]%\p{Cc}\p{Cf}]/u;function ST(t){return t.length>0&&t.length<=64&&t===t.trim()&&!KW.test(t)&&!/[^\S ]/u.test(t)&&!/^[._]/.test(t)&&!t.endsWith(".")}function np(t){return nE(`${t.namespace}/${t.name}`)}function nE(t){let e=t.indexOf("/"),n=t.lastIndexOf("/"),r=t.slice(0,e),s=t.slice(e+1,n),i=t.slice(n+1);if(e<0||e===n||!zW.test(r)||!ST(s)||!ST(i))throw new Error(`"${t}" is not an Azure DevOps organization/project/repository`);return{organization:r,project:s,name:i}}function kT(t,e){let n=tE(t);if(n.toLowerCase()!==e.organization.toLowerCase())throw new Error(`${e.organization}/${e.project}/${e.name} is not in ${n}, the Azure DevOps organization this job runs in`)}function vT(t,e){return kT(t,e),`${Hu(t)}/${encodeURIComponent(e.project)}/_git/${encodeURIComponent(e.name)}`}function rE(t,e){return kT(t,e),`${Hu(t)}/${encodeURIComponent(e.project)}/_apis/git/repositories/${encodeURIComponent(e.name)}`}var ZW="7.1",Gu=class extends Error{constructor(n,r){super(n);this.status=r}status};async function sE(t){let e=t.accept??"application/json",n=new URL(t.url);n.searchParams.has("api-version")||n.searchParams.set("api-version",ZW);let r=await(t.fetch??fetch)(n.toString(),{method:t.method??"GET",headers:{Authorization:`Bearer ${t.token}`,Accept:e,...t.body!==void 0?{"Content-Type":"application/json"}:{}},...t.body!==void 0?{body:JSON.stringify(t.body)}:{},redirect:"error",signal:AbortSignal.timeout(3e4)});if(!r.ok){let s=(await r.json().catch(()=>({}))).message;throw new Gu(`Azure DevOps answered ${r.status}${typeof s=="string"?`: ${s}`:""}`,r.status)}return e!=="application/json"?Buffer.from(await r.arrayBuffer()):r.status===204?{}:await r.json()}function XW(t){return`AUTHORIZATION: bearer ${t}`}function RT(t,e){return{GIT_CONFIG_COUNT:"1",GIT_CONFIG_KEY_0:`http.${Hu(t)}/.extraheader`,GIT_CONFIG_VALUE_0:XW(e)}}var e9="7.1-preview.1",t9=".azure-pipelines/skyramp-testbot-v3.yml";function mo(t){return t.GITHUB_ACTIONS!=="true"&&/^true$/i.test(t.TF_BUILD??"")}var n9={INPUT_SKYRAMPRUNID:"SKYRAMP_RUN_ID",INPUT_SKYRAMPAPPORIGIN:"SKYRAMP_APP_ORIGIN",INPUT_SKYRAMPMCPGITHUBTOKEN:"SKYRAMP_MCP_GITHUB_TOKEN"};function DT(t=process.env){if(mo(t))for(let[e,n]of Object.entries(n9))!t[e]&&t[n]!==void 0&&(t[e]=t[n])}function NT(t,e={}){let n=h=>{let g=t[h];if(!g)throw new Error(`${h} is not set; the V3 runner handshake needs it`);return g},r=Hu(t.SYSTEM_COLLECTIONURI??""),s=()=>tE(n("SYSTEM_COLLECTIONURI")),i=t.SYSTEM_TEAMPROJECT,a=t.BUILD_REPOSITORY_NAME,c=t.BUILD_REPOSITORY_ID?.toLowerCase(),A=t.SYSTEM_ACCESSTOKEN,l=e.mask??(h=>QT(h)),p=h=>async()=>{if(!h)throw new Error("The job cannot request an OIDC token: the Testbot step's env must set SYSTEM_OIDCREQUESTURI to $(System.OidcRequestUri).");if(!A)throw new Error("The job cannot request an OIDC token: the Testbot step's env must set SYSTEM_ACCESSTOKEN to $(System.AccessToken).");let g=new URL(h);if(g.protocol!=="https:")throw new Error("SYSTEM_OIDCREQUESTURI is not an https URL");g.searchParams.set("api-version",e9);let C=await(e.fetch??fetch)(g.toString(),{method:"POST",headers:{Authorization:`Bearer ${A}`,"Content-Type":"application/json",Accept:"application/json"},body:"{}",redirect:"error",signal:AbortSignal.timeout(3e4)});if(!C.ok)throw new Error(`Azure DevOps refused the OIDC token request: ${C.status}`);let S=(await C.json().catch(()=>({}))).oidcToken;if(typeof S!="string"||!S)throw new Error("Azure DevOps's OIDC token response carried no token");return l(S),S};return{runnerPlatform:mo(t)?"azure":void 0,workspace:t.BUILD_SOURCESDIRECTORY||void 0,serverUrl:r,apiUrl:r,repository:c&&i&&a&&r?{id:c,slug:`${s()}/${i}/${a}`}:void 0,runId:t.BUILD_BUILDID||void 0,runAttempt:t.SYSTEM_STAGEATTEMPT||void 0,job:t.SYSTEM_JOBNAME||void 0,execution(){let h=n("SYSTEM_STAGEATTEMPT");if(!/^[1-9][0-9]*$/.test(h))throw new Error(`SYSTEM_STAGEATTEMPT is "${h}", not a positive whole number`);let g=n("SYSTEM_COLLECTIONID").toLowerCase();if(!Wa.test(g))throw new Error(`SYSTEM_COLLECTIONID is "${g}", not a GUID`);let C=n("BUILD_REPOSITORY_ID").toLowerCase();if(!Wa.test(C))throw new Error(`BUILD_REPOSITORY_ID is "${C}", not a GUID`);let S=[s(),n("SYSTEM_TEAMPROJECT"),n("SYSTEM_DEFINITIONID"),n("BUILD_BUILDID")].map(encodeURIComponent).join("/");return{provider:"azure-devops",repository:{provider:"azure-devops",providerAccountId:g,providerRepositoryId:C},providerRunId:S,providerRunAttempt:Number(h),workflowRef:`${t9}@${n("BUILD_SOURCEBRANCH")}`}},takeIdToken(){let h=t.SYSTEM_OIDCREQUESTURI;delete t.SYSTEM_OIDCREQUESTURI;let g=p(h);return()=>g()},takeSourceToken(){return delete t.SYSTEM_ACCESSTOKEN,A||void 0},webIdentity(){if(!t.SYSTEM_OIDCREQUESTURI?.trim()||!A)return;let h=p(t.SYSTEM_OIDCREQUESTURI);return{token:()=>h(),runId:t.BUILD_BUILDID}},v3RunsOnly:!0,assumesBedrockRole:!0,namesSourceToMcp:!0,runSettingsFromApp:!0,checkSourceName(h){np(h)},cloneUrl(h){return vT(r,np(h))},gitAuthEnv(h){return RT(r,h)},async pullRequest(h,g,C){let S=await sE({token:await C.token(),url:`${rE(r,np(h))}/pullrequests/${g}`,fetch:C.fetch}),v=S.status==="completed";return{...typeof S.title=="string"?{title:S.title}:{},...typeof S.description=="string"?{body:S.description}:{},...typeof S.status=="string"?{merged:v}:{},...v&&typeof S.lastMergeCommit?.commitId=="string"?{mergeCommit:S.lastMergeCommit.commitId}:{},...v&&typeof S.lastMergeSourceCommit?.commitId=="string"?{mergedHead:S.lastMergeSourceCommit.commitId}:{}}},async commit(h,g,C){let S;try{S=rE(r,nE(h))}catch{return{lookup:"unknown"}}try{let v=await sE({token:await C.token(),url:`${S}/commits/${encodeURIComponent(g)}`,fetch:C.fetch});return typeof v.commitId=="string"?{sha:v.commitId}:{lookup:"missing"}}catch(v){return{lookup:v instanceof Gu&&(v.status===404||v.status===400)?"missing":"unknown"}}}}}Dt();var r9=5e3,iE=/^(?!\.\.?$)[A-Za-z0-9._-]{1,100}$/;function s9(t){let e=Buffer.from(`x-access-token:${t}`).toString("base64");return Hr(e),`AUTHORIZATION: basic ${e}`}function FT(t,e={}){let n=A=>{let l=t[A];if(!l)throw new Error(`${A} is not set; the V3 runner handshake needs it`);return l},r=t.GITHUB_REPOSITORY_ID,s=t.GITHUB_REPOSITORY,i=(t.GITHUB_SERVER_URL||"https://github.com").replace(/\/+$/,""),a=(t.GITHUB_API_URL||"https://api.github.com").replace(/\/+$/,""),c=async(A,l)=>l.fetch(A,{headers:{Authorization:`Bearer ${await l.token()}`,Accept:"application/vnd.github+json"},redirect:"error",signal:AbortSignal.timeout(3e4)});return{runnerPlatform:t.GITHUB_ACTIONS==="true"?"github":void 0,workspace:t.GITHUB_WORKSPACE||void 0,serverUrl:i,apiUrl:a,repository:r&&s?{id:r,slug:s}:void 0,runId:t.GITHUB_RUN_ID||void 0,runAttempt:t.GITHUB_RUN_ATTEMPT||void 0,job:t.GITHUB_JOB||void 0,execution(){let A=n("GITHUB_RUN_ATTEMPT");if(!/^[1-9][0-9]*$/.test(A))throw new Error(`GITHUB_RUN_ATTEMPT is "${A}", not a positive whole number`);return{provider:"github",repository:{provider:"github",providerAccountId:n("GITHUB_REPOSITORY_OWNER_ID"),providerRepositoryId:n("GITHUB_REPOSITORY_ID")},providerRunId:n("GITHUB_RUN_ID"),providerRunAttempt:Number(A),workflowRef:n("GITHUB_WORKFLOW_REF")}},takeIdToken(){let A=t.ACTIONS_ID_TOKEN_REQUEST_URL,l=t.ACTIONS_ID_TOKEN_REQUEST_TOKEN;return delete t.ACTIONS_ID_TOKEN_REQUEST_URL,delete t.ACTIONS_ID_TOKEN_REQUEST_TOKEN,async p=>{if(!A||!l)throw new Error("The job cannot request an OIDC token. Give it the `id-token: write` permission.");let h=new URL(A);h.searchParams.set("audience",p);let g=await fetch(h,{headers:{Authorization:`Bearer ${l}`,Accept:"application/json"},redirect:"error",signal:AbortSignal.timeout(3e4)});if(!g.ok)throw new Error(`GitHub refused the OIDC token request: ${g.status}`);let C=(await g.json().catch(()=>({}))).value;if(typeof C!="string"||!C)throw new Error("GitHub's OIDC token response carried no token");return Hr(C),C}},webIdentity(){return!t.ACTIONS_ID_TOKEN_REQUEST_TOKEN?.trim()||!t.ACTIONS_ID_TOKEN_REQUEST_URL?.trim()?void 0:{token:e.getIDToken??(l=>Cv(l)),runId:t.GITHUB_RUN_ID}},v3RunsOnly:!1,assumesBedrockRole:!1,namesSourceToMcp:!1,runSettingsFromApp:!1,checkSourceName(A){for(let l of[A.namespace,A.name])if(!iE.test(l))throw new Error(`"${l}" is not a repository name`)},cloneUrl(A){return`${i}/${A.namespace}/${A.name}.git`},gitAuthEnv(A){return A?{GIT_CONFIG_COUNT:"1",GIT_CONFIG_KEY_0:`http.${i}/.extraheader`,GIT_CONFIG_VALUE_0:s9(A)}:{}},async pullRequest({namespace:A,name:l},p,h){if(![A,l].every(S=>iE.test(S)))throw new Error("the repository name is not valid");let g=await c(`${a}/repos/${A}/${l}/pulls/${p}`,h);if(!g.ok)throw new Error(`GitHub answered ${g.status}`);let C=await g.json();return{...typeof C.title=="string"?{title:C.title}:{},...typeof C.body=="string"?{body:C.body}:{},...typeof C.merged=="boolean"?{merged:C.merged}:{},...C.merged===!0&&typeof C.merge_commit_sha=="string"?{mergeCommit:C.merge_commit_sha}:{},...C.merged===!0&&typeof C.head?.sha=="string"?{mergedHead:C.head.sha}:{}}},async commit(A,l,p){let[h,g,...C]=A.split("/");if(C.length||![h,g].every(S=>S!==void 0&&iE.test(S)))return{lookup:"unknown"};try{let S=await c(`${a}/repos/${h}/${g}/commits/${encodeURIComponent(l)}`,p);if(S.status===404||S.status===422)return{lookup:"missing"};if(!S.ok)return{lookup:"unknown"};let v=await S.json();return typeof v.sha=="string"?{sha:v.sha}:{lookup:"missing"}}catch{return{lookup:"unknown"}}},async revokeToken(A,l){let p=await l(`${a}/installation/token`,{method:"DELETE",headers:{Authorization:`Bearer ${A}`,Accept:"application/vnd.github+json"},redirect:"error",signal:AbortSignal.timeout(r9)});if(!p.ok&&p.status!==401)throw new Error(`GitHub answered ${p.status}`)}}}function oE(t=process.env){return mo(t)?NT(t):FT(t)}var Sse=10*6e4;var kse=10*6e4;var o9=3e4,a9=3,MT=30,js=class extends Error{constructor(n,r,s,i){super(n);this.status=r;this.code=s;this.path=i}status;code;path},yo=class extends Error{},Za=class extends yo{},rp=class extends Za{};function c9(t){let e;try{e=new URL(t)}catch{throw new Error(`skyrampAppOrigin "${t}" is not a URL`)}if(e.protocol!=="https:"||e.origin!==t.replace(/\/+$/,""))throw new Error(`skyrampAppOrigin must be an https origin, got "${t}"`);return e.origin}function u9(t,e){if(!Wa.test(t))throw new Error(`The ${e} "${t}" is not a uuid`);return t}function A9(t,e,n,r){throw e<500&&e!==429?new js(t,e,n,r):e===503&&n==="RUNNER_PROVIDER_NOT_READY"?new rp(t):e===503&&n==="RUN_NOT_READY"?new Za(t):new yo(t)}async function l9(t,e,n,r){let s=c9(t.origin),i,a=0;for(let c=1;c<=a9||i instanceof Za;c+=1){if(i instanceof Za){if(a===MT)throw i;a+=1,c-=1,t.log?.(`${i.message}; trying again (${a} of ${MT}).`),await new Promise(A=>setTimeout(A,t.readyWaitMs??1e4))}else c>1&&await new Promise(A=>setTimeout(A,(t.retryDelayMs??2e3)*(c-1)));try{let A=await t.idToken(s),l=await(t.fetch??fetch)(new URL(e,s).toString(),{...n(A),redirect:"error",signal:AbortSignal.timeout(o9)}).catch(p=>{throw new yo(p instanceof Error?p.message:String(p),{cause:p})});return await r(l)}catch(A){if(A instanceof js)throw A;i=A}}throw i}function d9(t,e,n,r){return l9(t,n,i=>({method:e,headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:e==="GET"?void 0:JSON.stringify(r)}),async i=>{let a=await i.json().catch(()=>({}));if(i.ok)return a.data;let c=a.error?.fields,A=typeof c?.path=="string"&&typeof c.reason=="string"?` at ${c.path}: ${c.reason}`:"",l=`The Skyramp app refused ${e} ${n}: ${i.status} ${a.error?.code??"no error code"}${A}`;return A9(l,i.status,a.error?.code,typeof c?.path=="string"?c.path:void 0)})}var vse=10*6e4;var Rse=["TRIGGER","AUTHORITATIVE_RELATED_CHANGE"];var xse=u.object({tests:u.object({placements:u.array(u.unknown()).optional()}).passthrough().optional()}).passthrough(),Tse=u.object({repository:Jy,testType:u.nativeEnum(Qd),directory:u.string()}).passthrough();var Dse=u.object({report:u.object({language:u.string()}).passthrough()}).passthrough();var Nse=u.object({environment:u.object({components:u.array(u.unknown()).optional(),dependencies:u.array(u.unknown()).optional()}).passthrough()}).passthrough(),Fse=u.object({name:u.string().min(1),provision:u.literal("existing"),url:u.string().min(1),repository:Jy.optional(),revisionUrl:u.string().min(1).optional()}).passthrough(),Mse=u.object({name:u.string().min(1),url:u.string().nullable(),versionUrl:u.string().nullable(),notes:u.string().nullable()}).passthrough();var _se=new Set(["TRIGGER","AUTHORITATIVE_RELATED_CHANGE","MANUAL_OVERRIDE"]);var Use={"model-provider-denied":"model_provider_denied","model-provider-unavailable":"model_provider_unavailable"};async function LT(t,e){return u9(t.attemptId,"attempt id"),d9(e,"POST",`/api/v1/runner/attempts/${t.attemptId}/end`,CT({reportUploaded:t.reportUploaded,recipeUploaded:t.recipeUploaded,revisionsUploaded:t.revisionsUploaded,cancelled:t.cause==="cancelled",timedOut:t.cause==="timed_out",setupFailed:t.cause==="setup_failed",checkoutFailed:t.cause==="checkout_failed",environmentUnverified:t.cause==="environment_unverified",runnerProviderNotReady:t.cause==="runner_provider_not_ready",credentialMissing:t.cause==="credential_missing",modelProviderDenied:t.cause==="model_provider_denied",modelProviderUnavailable:t.cause==="model_provider_unavailable"}))}var Hse={focused:"Focused",impacted_critical:"Impacted and critical",broad:"Broad"};var sp=Re(require("path")),jse=sp.join(".skyramp","sut"),Jse=sp.join(".skyramp","workspace.yml");var PT=".skyramp/sut/health.json",Aie={[PT]:`${PT} (with a url or command)`,".skyramp/workspace.yml":".skyramp/workspace.yml (create it with skyramp_init_scan and skyramp_init_workspace)"};var fie=20*1024*1024;var OT=Re(require("path"));var kie=OT.join(".skyramp","sut","get-auth-token.sh");var E9=50,C9=50,I9=4096,B9=8e3,w9=2048,Q9=/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f-\u009f]/,b9=/^(?!\/)(?!.*(?:^|\/)\.\.?(?:\/|$))[A-Za-z0-9._/ -]{1,255}$/,S9=/^\.github\/workflows\/[A-Za-z0-9._-]+\.ya?ml$/,k9=/^(?!GITHUB_)(?!SKYRAMP_RUNNER_)[A-Z][A-Z0-9_]{0,99}$/,VT=(i=>(i.Command="command",i.ComposeFile="compose_file",i.DeploymentWorkflow="deployment_workflow",i.Url="url",i.Guidance="guidance",i))(VT||{}),v9={command:"optional",compose_file:"required",deployment_workflow:"required",url:"none",guidance:"none"},$T=t=>u.string().max(t).refine(e=>e.trim().length>0&&!Q9.test(e),"must be non-blank text with no control characters other than tab, LF and CR");function R9(t){let e;try{e=new URL(t)}catch{return"invalid URL"}if(e.protocol!=="https:"&&e.protocol!=="http:")return"only http and https URLs";if(e.username||e.password)return"a URL cannot carry a login"}var x9={command:$T(I9),compose_file:u.string().regex(b9,"must be a relative path inside the repository"),deployment_workflow:u.string().regex(S9,"must be a .github/workflows/*.yml path"),url:u.string().max(w9).superRefine((t,e)=>{let n=R9(t);n&&e.addIssue({code:u.ZodIssueCode.custom,message:n})}),guidance:$T(B9)},T9=u.object({kind:u.nativeEnum(VT),value:u.string(),repository:er.nullable()}).strict().superRefine((t,e)=>{let n=v9[t.kind];n==="required"&&!t.repository&&e.addIssue({code:u.ZodIssueCode.custom,path:["repository"],message:"a file belongs to a repository"}),n==="none"&&t.repository&&e.addIssue({code:u.ZodIssueCode.custom,path:["repository"],message:`a ${t.kind} names no repository`});let r=x9[t.kind].safeParse(t.value);if(!r.success)for(let s of r.error.issues)e.addIssue({code:u.ZodIssueCode.custom,path:["value"],message:s.message})}),D9=u.object({name:u.string().regex(k9,"must be a GitHub Actions secret name (A-Z, 0-9, _; not GITHUB_ or SKYRAMP_RUNNER_)"),purpose:u.nativeEnum(Pu),required:u.boolean()}).strict(),Tie=u.object({knowledge:u.array(T9).max(E9),credentials:u.array(D9).max(C9)}).strict().superRefine((t,e)=>{let n=new Set;t.credentials.forEach((r,s)=>{n.has(r.name)&&e.addIssue({code:u.ZodIssueCode.custom,path:["credentials",s,"name"],message:"named twice"}),n.add(r.name)})});var Die={model_provider:"model provider",sut_access:"SUT access",skyramp:"Skyramp",other:"other"};var poe=3*6e4;var hoe=`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`;var M9={discover:"reading the repositories",start:"starting the components",check:"checking that the components answer"};var Boe={running:"up",healthy:"up",ready:"up",started:"up",building:"starting",pending:"starting",installing:"starting",skipped:"out_of_scope",excluded:"out_of_scope","out-of-scope":"out_of_scope"};var woe=new RegExp($u.source,"g");var Voe=new RegExp($u.source,"g");var P9="https://testbot.skyramp.dev",Eo={attemptId:"v3AttemptId",deadlineAt:"v3DeadlineAt",reportUploaded:"v3ReportUploaded",recipeUploaded:"v3RecipeUploaded",recipeStatus:"v3RecipeStatus",revisionsUploaded:"v3RevisionsUploaded",cause:"v3Cause"};function O9(t,e,n){return{origin:t,idToken:e,sourceToken:n,mask:r=>Hr(r),log:r=>Bn(r),onTokenRefused:(r,s)=>{V9(r)&&HT.set(s,r)},onTokenGranted:r=>{HT.delete(r)}}}var HT=new Map;var Mce=["setup_failed","checkout_failed","environment_unverified"];function $9(t,e){return e.getTime()>=t.getTime()}function V9(t){return t instanceof yo||t instanceof js&&t.code!=="CREDENTIALS_UNAVAILABLE"}var _ce={cancelled:"Skyramp cancelled this run",expired:"this attempt passed its deadline in Skyramp",ended:"Skyramp already ended this attempt"},Uce={cancelled:"attempt-cancelled",expired:"attempt-closed",ended:"attempt-closed"},Lce={cancelled:"cancelled",expired:"timed_out",ended:"agent_failed"};var Pce={analyze:"analyze",triage:"analyze",recommend:"recommend",generate:"generate","generate-ui":"generate","generate-unit":"generate",adapt:"generate",write:"generate",onboard:"execute",deploy:"execute","native-run":"execute",deliver:"deliver"},Oce={analyze:"change analysis",recommend:"test recommendations",generate:"test generation",execute:"test execution",deliver:"opening a pull request with the tests"};function G9(){return he("skyrampAppOrigin").trim()||P9}var $ce=10*6e4;var Vce={onboard:"onboard",deploy:"deploy"},Gce={plan:{stage:"validation_plan",text:"Working out what to validate, and bringing up what it needs"},write:{stage:"tests",text:"Writing and running the tests"},"generate-unit":{stage:"tests",text:"Writing unit tests"},"native-run":{stage:"tests",text:"Running the unit tests"}};async function YT(){let t=Rs(Eo.attemptId);if(!t)return;let e=Rs(Eo.reportUploaded)==="true",n=Rs(Eo.recipeUploaded)==="true",r=Rs(Eo.revisionsUploaded)==="true",s=Rs(Eo.deadlineAt),i=Rs(Eo.cause)||void 0;!i&&!e&&!n&&!r&&s&&$9(new Date(s),new Date)&&(i="timed_out");let a=oE().takeIdToken(),c=await LT({attemptId:t,reportUploaded:e,recipeUploaded:n,revisionsUploaded:r,cause:i},O9(G9(),a)),A=Rs(Eo.recipeStatus);n&&A?Bn(`Testbot V3: attempt ended; the setup ended ${A==="ready"?"Ready":"blocked (Needs input)"}.`):Bn(`Testbot V3: attempt ended; the run's outcome in Skyramp is ${c.outcome??"not final yet"}.`)}var qT=require("child_process"),Ir=Re(require("fs")),uE=Re(require("path")),AE=require("string_decoder");var H9="skyramp-testbot-state",Y9=/^\$\([^)]*\)$/;function q9(t){for(let[e,n]of Object.entries(t))n!==void 0&&Y9.test(n)&&delete t[e]}function j9(t){let e={},n=Ir.existsSync(t)?Ir.readFileSync(t,"utf-8"):"",r=/^([^\r\n<]+)<<(\S+)\r?\n([\s\S]*?)\r?\n\2\r?$/gm;for(let s=r.exec(n);s;s=r.exec(n))e[s[1]]=s[3];return e}function jT(t,e={}){let n=e.env??process.env;if(!mo(n))return!1;q9(n),DT(n);let r=n.AGENT_TEMPDIRECTORY||n.RUNNER_TEMP;if(r){n.RUNNER_TEMP??=r;let a=uE.join(r,H9);if(t==="main")Ir.writeFileSync(a,"",{mode:384});else for(let[c,A]of Object.entries(j9(a)))n[`STATE_${c}`]=A;n.GITHUB_STATE=a;for(let[c,A]of[["GITHUB_OUTPUT","output"],["GITHUB_ENV","env"],["GITHUB_PATH","path"],["GITHUB_STEP_SUMMARY",`summary-${t}.md`]])n[c]=uE.join(r,`skyramp-testbot-${A}`),Ir.writeFileSync(n[c],"",{mode:384})}let s=e.stdout??n===process.env;s&&J9(n,e.write);let i=n.GITHUB_STEP_SUMMARY;if(s&&i){let a=e.write??(c=>eE(c.replace(/\n$/,"")));process.once("exit",()=>{Ir.existsSync(i)&&Ir.statSync(i).size>0&&a(`${tp("task.uploadsummary",{},i)}
|
|
126
126
|
`)})}return!0}function J9(t,e){let n=process.stdout.write.bind(process.stdout),r=a=>t[Vu]==="1"?Xy(a,t):void n(a.command!==void 0?`${a.command}
|
|
127
127
|
`:a.text??""),s=e??(a=>r({command:a.replace(/\n$/,"")})),i=e??(a=>r({text:a}));process.stdout.write=((a,...c)=>{let A=typeof a=="string"?a:Buffer.from(a).toString("utf-8"),l="";for(let h of A.split(/(?<=\n)/)){let g=h.startsWith("::")?bT(h):void 0;if(!g){l+=h;continue}l&&i(l),l="";for(let C of g)s(`${C}
|
|
128
128
|
`)}return l&&i(l),c.find(h=>typeof h=="function")?.(),!0})}var W9=64*1024;function cE(t){let e=new AE.StringDecoder("utf8"),n="",r=s=>t(ep(s));return{push(s){n+=typeof s=="string"?s:e.write(s);let i=n.lastIndexOf(`
|