Added Check Token subaction.
Test Action / test (push) Successful in 4s

This commit is contained in:
slawek committed 2026-01-11 19:24:23 +01:00
1 parent 2bb60fc0ed
commit 32a4011b54
5 files changed
+126 -2

No files matched your search

+69
View File
@@ -0,0 +1,69 @@
"use strict";var ml=Object.create;var ZE=Object.defineProperty;var Sl=Object.getOwnPropertyDescriptor;var Ul=Object.getOwnPropertyNames;var Ll=Object.getPrototypeOf,Ml=Object.prototype.hasOwnProperty;var I=(A,e)=>()=>(e||A((e={exports:{}}).exports,e),e.exports);var Yl=(A,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ul(e))!Ml.call(A,s)&&s!==t&&ZE(A,s,{get:()=>e[s],enumerable:!(r=Sl(e,s))||r.enumerable});return A};var xl=(A,e,t)=>(t=A!=null?ml(Ll(A)):{},Yl(e||!A||!A.__esModule?ZE(t,"default",{value:A,enumerable:!0}):t,A));var fs=I(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.toCommandProperties=Mt.toCommandValue=void 0;function Jl(A){return A==null?"":typeof A=="string"||A instanceof String?A:JSON.stringify(A)}Mt.toCommandValue=Jl;function Gl(A){return Object.keys(A).length?{title:A.title,file:A.file,line:A.startLine,endLine:A.endLine,col:A.startColumn,endColumn:A.endColumn}:{}}Mt.toCommandProperties=Gl});var zE=I(se=>{"use strict";var Tl=se&&se.__createBinding||(Object.create?(function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}):(function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]})),Hl=se&&se.__setModuleDefault||(Object.create?(function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}):function(A,e){A.default=e}),vl=se&&se.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&Tl(e,A,t);return Hl(e,A),e};Object.defineProperty(se,"__esModule",{value:!0});se.issue=se.issueCommand=void 0;var Vl=vl(require("os")),KE=fs();function jE(A,e,t){let r=new wn(A,e,t);process.stdout.write(r.toString()+Vl.EOL)}se.issueCommand=jE;function ql(A,e=""){jE(A,{},e)}se.issue=ql;var XE="::",wn=class{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e=XE+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(t?t=!1:e+=",",e+=`${r}=${Ol(s)}`)}}return e+=`${XE}${Wl(this.message)}`,e}};function Wl(A){return(0,KE.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Ol(A){return(0,KE.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var eQ=I(ie=>{"use strict";var Pl=ie&&ie.__createBinding||(Object.create?(function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}):(function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]})),_l=ie&&ie.__setModuleDefault||(Object.create?(function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}):function(A,e){A.default=e}),pn=ie&&ie.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&Pl(e,A,t);return _l(e,A),e};Object.defineProperty(ie,"__esModule",{value:!0});ie.prepareKeyValueMessage=ie.issueFileCommand=void 0;var Zl=pn(require("crypto")),$E=pn(require("fs")),Dn=pn(require("os")),AQ=fs();function Xl(A,e){let t=process.env[`GITHUB_${A}`];if(!t)throw new Error(`Unable to find environment variable for file command ${A}`);if(!$E.existsSync(t))throw new Error(`Missing file at path: ${t}`);$E.appendFileSync(t,`${(0,AQ.toCommandValue)(e)}${Dn.EOL}`,{encoding:"utf8"})}ie.issueFileCommand=Xl;function Kl(A,e){let t=`ghadelimiter_${Zl.randomUUID()}`,r=(0,AQ.toCommandValue)(e);if(A.includes(t))throw new Error(`Unexpected input: name should not contain the delimiter "${t}"`);if(r.includes(t))throw new Error(`Unexpected input: value should not contain the delimiter "${t}"`);return`${A}<<${t}${Dn.EOL}${r}${Dn.EOL}${t}`}ie.prepareKeyValueMessage=Kl});var rQ=I(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.checkBypass=Yt.getProxyUrl=void 0;function jl(A){let e=A.protocol==="https:";if(tQ(A))return;let t=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(t)try{return new ys(t)}catch{if(!t.startsWith("http://")&&!t.startsWith("https://"))return new ys(`http://${t}`)}else return}Yt.getProxyUrl=jl;function tQ(A){if(!A.hostname)return!1;let e=A.hostname;if(zl(e))return!0;let t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;A.port?r=Number(A.port):A.protocol==="http:"?r=80:A.protocol==="https:"&&(r=443);let s=[A.hostname.toUpperCase()];typeof r=="number"&&s.push(`${s[0]}:${r}`);for(let i of t.split(",").map(n=>n.trim().toUpperCase()).filter(n=>n))if(i==="*"||s.some(n=>n===i||n.endsWith(`.${i}`)||i.startsWith(".")&&n.endsWith(`${i}`)))return!0;return!1}Yt.checkBypass=tQ;functLine truncated
`,a.message,a.stack);var B=new Error("tunneling socket could not be established, cause="+a.message);B.code="ECONNRESET",e.request.emit("error",B),r.removeSocket(s)}};xe.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function iQ(A,e){var t=this;xe.prototype.createSocket.call(t,A,function(r){var s=A.request.getHeader("host"),i=kn({},t.options,{socket:r,servername:s?s.replace(/:.*$/,""):A.host}),n=$l.connect(0,i);t.sockets[t.sockets.indexOf(r)]=n,e(n)})}function nQ(A,e,t){return typeof A=="string"?{host:A,port:e,localAddress:t}:A}function kn(A){for(var e=1,t=arguments.length;e<t;++e){var r=arguments[e];if(typeof r=="object")for(var s=Object.keys(r),i=0,n=s.length;i<n;++i){var o=s[i];r[o]!==void 0&&(A[o]=r[o])}}return A}var ze;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?ze=function(){var A=Array.prototype.slice.call(arguments);typeof A[0]=="string"?A[0]="TUNNEL: "+A[0]:A.unshift("TUNNEL:"),console.error.apply(console,A)}:ze=function(){};xt.debug=ze});var EQ=I((Mb,gQ)=>{gQ.exports=oQ()});var X=I((Yb,QQ)=>{QQ.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var O=I((xb,aQ)=>{"use strict";var iA=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}},Fn=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Nn=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},bn=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},mn=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Sn=class A extends iA{constructor(e,t,r,s){super(e),Error.captureStackTrace(this,A),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=t,this.statusCode=t,this.headers=r}},Un=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},Ln=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},Mn=class A extends iA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="AbortError",this.message=e|| Line truncated
\r
`),Ou=/\r\n/g,Pu=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Gt(A){MQ.call(this),A=A||{};let e=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=LQ(A,"maxHeaderPairs",2e3),this.maxHeaderSize=LQ(A,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new qu(Wu),this.ss.on("info",function(t,r,s,i){r&&!e.maxed&&(e.nread+i-s>=e.maxHeaderSize?(i=e.maxHeaderSize-e.nread+s,e.nread=e.maxHeaderSize,e.maxed=!0):e.nread+=i-s,e.buffer+=r.toString("binary",s,i)),t&&e._finish()})}Vu(Gt,MQ);Gt.prototype.push=function(A){let e=this.ss.push(A);if(this.finished)return e};Gt.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};Gt.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let A=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",A)};Gt.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let A=this.buffer.split(Ou),e=A.length,t,r;for(var s=0;s<e;++s){if(A[s].length===0)continue;if((A[s][0]===" "||A[s][0]===" ")&&r){this.header[r][this.header[r].length-1]+=A[s];continue}let i=A[s].indexOf(":");if(i===-1||i===0)return;if(t=Pu.exec(A[s]),r=t[1].toLowerCase(),this.header[r]=this.header[r]||[],this.header[r].push(t[2]||""),++this.npairs===this.maxHeaderPairs)break}};YQ.exports=Gt});var $n=I((Wb,GQ)=>{"use strict";var zn=require("node:stream").Writable,_u=require("node:util").inherits,Zu=Kn(),JQ=SQ(),Xu=xQ(),Ku=45,ju=Buffer.from("-"),zu=Buffer.from(`\r
`),$u=function(){};function ce(A){if(!(this instanceof ce))return new ce(A);if(zn.call(this,A),!A||!A.headerFirst&&typeof A.boundary!="string")throw new TypeError("Boundary required");typeof A.boundary=="string"?this.setBoundary(A.boundary):this._bparser=void 0,this._headerFirst=A.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:A.partHwm},this._pause=!1;let e=this;this._hparser=new Xu(A),this._hparser.on("header",function(t){e._inHeader=!1,e._part.emit("header",t)})}_u(ce,zn);ce.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){let e=this;process.nextTick(function(){if(e.emit("error",new Error("Unexpected end of multipart data")),e._part&&!e._ignoreData){let t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data")),e._part.push(null),process.nextTick(function(){e._realFinish=!0,e.emit("finish"),e._realFinish=!1});return}e._realFinish=!0,e.emit("finish"),e._realFinish=!1})}}else zn.prototype.emit.apply(this,arguments)};ce.prototype._write=function(A,e,t){if(!this._hparser&&!this._bparser)return t();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new JQ(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let r=this._hparser.push(A);if(!this._inHeader&&r!==void 0&&r<A.length)A=A.slice(r);else return t()}this._firstWrite&&(this._bparser.push(zu),this._firstWrite=!1),this._bparser.push(A),this._pause?this._cb=t:t()};ce.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};ce.prototype.setBoundary=function(A){let e=this;this._bparser=new Zu(`\r
--`+A),this._bparser.on("info",function(t,r,s,i){e._oninfo(t,r,s,i)})};ce.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",$u),this._part.resume())};ce.prototype._oninfo=function(A,e,t,r){let s,i=this,n=0,o,g=!0;if(!this._part&&this._justMatched&&e){for(;this._dashes<2&&t+n<r;)if(e[t+n]===Ku)++n,++this._dashes;else{this._dashes&&(s=ju),this._dashes=0;break}if(this._dashes===2&&(t+n<r&&this.listenerCount("trailer")!==0&&this.emit("trailer",e.slice(t+n,r)),this.reset(),this._finished=!0,i._parts===0&&(i._realFinish=!0,i.emit("finish"),i._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new JQ(this._partOpts),this._part._read=function(E){i._unpause()},this._isPreamble&&this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._isPreamble!==!0&&this.listenerCount("part")!==0?this.emit("part",this._part):this._ignore(),this._isPreamble||(this._inHeader=!0)),e&&t<r&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(s&&(g=this._part.push(s)),g=this._part.push(e.slice(t,r)),g||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(s&&this._hparser.push(s),o=this._hparser.push(e.slice(t,r)),!this._inHeader&&o!==void 0&&o<r&&this._oninfo(!1,e,t+o,r))),A&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:t!==r&&(++this._parts,this._part.on("end",function(){--i._parts===0&&(i._finished?(i._realFinish=!0,i.emit("finish"),i._realFinish=!1):i._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};ce.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let A=this._cb;this._cb=void 0,A()}};GQ.exports=ce});var Fs=I((Ao,vQ)=>{"use strict";var TQ=new TextDecoder("utf-8"),HQ=new Map([["utf-8",TQ],["utf8",TQ]]);function Ad(A){let e;for(;;)switch(A){case"utf-8":case"utf8":return Ur.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return Ur.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Ur.utf16le;case"base64":return Ur.base64;default:if(e===void 0){e=!0,A=A.toLowerCase();continue}return Ur.other.bind(A)}}var Ur={utf8:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.utf8Slice(0,A.length)),latin1:(A,e)=>A.length===0?"":typeof A=="string"?A:A.latin1Slice(0,A.length),utf16le:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.ucs2Slice(0,A.length)),base64:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.base64Slice(0,A.length)),other:(A,e)=>{if(A.length===0)return"";if(typeof A=="string"&&(A=Buffer.from(A,e)),HQ.has(Ao.toString()))try{return HQ.get(Ao).decode(A)}catch{}return typeof A=="string"?A:A.toString()}};function ed(A,e,t){return A&&Ad(t)(A,e)}vQ.exports=ed});var to=I((Ob,PQ)=>{"use strict";var Ns=Fs(),VQ=/%[a-fA-F0-9][a-fA-F0-9]/g,td={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
`,"%0A":`
`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xLine truncated
`))}function ef(A,e){let{headersList:t}=e,r=(t.get("referrer-policy")??"").split(","),s="";if(r.length>0)for(let i=r.length;i!==0;i--){let n=r[i-1].trim();if(vd.has(n)){s=n;break}}s!==""&&(A.referrerPolicy=s)}function tf(){return"allowed"}function rf(){return"success"}function sf(){return"success"}function nf(A){let e=null;e=A.mode,A.headersList.set("sec-fetch-mode",e)}function of(A){let e=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket")e&&A.headersList.append("origin",e);else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":A.origin&&Qo(A.origin)&&!Qo(Yr(A))&&(e=null);break;case"same-origin":Ls(A,Yr(A))||(e=null);break;default:}e&&A.headersList.append("origin",e)}}function gf(A){return Wd.now()}function Ef(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function Qf(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function af(A){return{referrerPolicy:A.referrerPolicy}}function Bf(A){let e=A.referrerPolicy;qt(e);let t=null;if(A.referrer==="client"){let o=qd();if(!o||o.origin==="null")return"no-referrer";t=new URL(o)}else A.referrer instanceof URL&&(t=A.referrer);let r=go(t),s=go(t,!0);r.toString().length>4096&&(r=s);let i=Ls(A,r),n=Mr(r)&&!Mr(A.url);switch(e){case"origin":return s??go(t,!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 o=Yr(A);return Ls(r,o)?r:Mr(r)&&!Mr(o)?"no-referrer":s}default:return n?"no-referrer":s}}function go(A,e){return qt(A instanceof URL),A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"?"no-referrer":(A.username="",A.password="",A.hash="",e&&(A.pathname="",A.search=""),A)}function Mr(A){if(!(A instanceof URL))return!1;if(A.href==="about:blank"||A.href==="about:srcdoc"||A.protocol==="data:"||A.protocol==="file:")return!0;return e(A.origin);function e(t){if(t==null||t==="null")return!1;let r=new URL(t);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 Cf(A,e){if(Us===void 0)return!0;let t=da(e);if(t==="no metadata"||t.length===0)return!0;let r=If(t),s=hf(t,r);for(let i of s){let n=i.algo,o=i.hash,g=Us.createHash(n).update(A).digest("base64");if(g[g.length-1]==="="&&(g[g.length-2]==="="?g=g.slice(0,-2):g=g.slice(0,-1)),lf(g,o))return!0}return!1}var cf=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function da(A){let e=[],t=!0;for(let r of A.split(" ")){t=!1;let s=cf.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();Ia.includes(i)&&e.push(s.groups)}return t===!0?"no metadata":e}function If(A){let e=A[0].algo;if(e[3]==="5")return e;for(let t=1;t<A.length;++t){let r=A[t];if(r.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;r.algo[3]==="3"&&(e="sha384")}}return e}function hf(A,e){if(A.length===1)return A;let t=0;for(let r=0;r<A.length;++r)A[r].algo===e&&(A[t++]=A[r]);return A.length=t,A}function lf(A,e){if(A.length!==e.length)return!1;for(let t=0;t<A.length;++t)if(A[t]!==e[t]){if(A[t]==="+"&&e[t]==="-"||A[t]==="/"&&e[t]==="_")continue;return!1}return!0}function uf(A){}function Ls(A,e){return A.origin===e.origin&&A.origin==="null"||A.protocol===e.protocol&&A.hostname===e.hostname&&A.port===e.port}function df(){let A,e;return{promise:new Promise((r,s)=>{A=r,e=s}),resolve:A,reject:e}}function ff(A){return A.controller.state==="aborted"}function yf(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}var ao={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(ao,null);function wf(A){return ao[A.toLowerCase()]??A}function Df(A){let e=JSON.stringify(A);if(e===void 0)throw new TypeError("Value is not JSON serializable");return qt(typeof e=="string"),e}var pf=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Rf(A,e,t){let r={index:0,kind:t,target:A},s={next(){if(Object.getPrototypeOf(this)!==s)throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let{index:i,kind:n,target:o}=r,g=o(),E=g.length;if(i>=E)return{value:void 0,done:!0};let Q=g[i];return r.index=i+1,kf(Q,n)},[Symbol.toStringTag]:`${e} Iterator`};return Object.setPrototypeOf(s,pf),Object.setPrototypeOf({},s)}function kf(A,e){let t;switch(e){case"key":{t=A[0];break}case"value":{t=A[1];break}case"key+value":{t Line truncated
`||A===" "||A===" "}function Bo(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&ka(A[r]);r++);if(t)for(;s>0&&ka(A[s]);s--);return A.slice(r,s+1)}function Fa(A){return A==="\r"||A===`
`||A===" "||A==="\f"||A===" "}function Of(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&Fa(A[r]);r++);if(t)for(;s>0&&Fa(A[s]);s--);return A.slice(r,s+1)}Sa.exports={dataURLProcessor:vf,URLSerializer:Na,collectASequenceOfCodePoints:xs,collectASequenceOfCodePointsFast:Wt,stringPercentDecode:ba,parseMIMEType:Co,collectAnHTTPQuotedString:ma,serializeAMimeType:Wf}});var Js=I((rm,xa)=>{"use strict";var{Blob:Ma,File:Ua}=require("buffer"),{types:co}=require("util"),{kState:_A}=Ge(),{isBlobLike:Ya}=ne(),{webidl:v}=RA(),{parseMIMEType:Pf,serializeAMimeType:_f}=Ie(),{kEnumerableProperty:La}=J(),Zf=new TextEncoder,xr=class A extends Ma{constructor(e,t,r={}){v.argumentLengthCheck(arguments,2,{header:"File constructor"}),e=v.converters["sequence<BlobPart>"](e),t=v.converters.USVString(t),r=v.converters.FilePropertyBag(r);let s=t,i=r.type,n;A:{if(i){if(i=Pf(i),i==="failure"){i="";break A}i=_f(i).toLowerCase()}n=r.lastModified}super(Xf(e,r),{type:i}),this[_A]={name:s,lastModified:n,type:i}}get name(){return v.brandCheck(this,A),this[_A].name}get lastModified(){return v.brandCheck(this,A),this[_A].lastModified}get type(){return v.brandCheck(this,A),this[_A].type}},Io=class A{constructor(e,t,r={}){let s=t,i=r.type,n=r.lastModified??Date.now();this[_A]={blobLike:e,name:s,type:i,lastModified:n}}stream(...e){return v.brandCheck(this,A),this[_A].blobLike.stream(...e)}arrayBuffer(...e){return v.brandCheck(this,A),this[_A].blobLike.arrayBuffer(...e)}slice(...e){return v.brandCheck(this,A),this[_A].blobLike.slice(...e)}text(...e){return v.brandCheck(this,A),this[_A].blobLike.text(...e)}get size(){return v.brandCheck(this,A),this[_A].blobLike.size}get type(){return v.brandCheck(this,A),this[_A].blobLike.type}get name(){return v.brandCheck(this,A),this[_A].name}get lastModified(){return v.brandCheck(this,A),this[_A].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(xr.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:La,lastModified:La});v.converters.Blob=v.interfaceConverter(Ma);v.converters.BlobPart=function(A,e){if(v.util.Type(A)==="Object"){if(Ya(A))return v.converters.Blob(A,{strict:!1});if(ArrayBuffer.isView(A)||co.isAnyArrayBuffer(A))return v.converters.BufferSource(A,e)}return v.converters.USVString(A,e)};v.converters["sequence<BlobPart>"]=v.sequenceConverter(v.converters.BlobPart);v.converters.FilePropertyBag=v.dictionaryConverter([{key:"lastModified",converter:v.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:v.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>(A=v.converters.DOMString(A),A=A.toLowerCase(),A!=="native"&&(A="transparent"),A),defaultValue:"transparent"}]);function Xf(A,e){let t=[];for(let r of A)if(typeof r=="string"){let s=r;e.endings==="native"&&(s=Kf(s)),t.push(Zf.encode(s))}else co.isAnyArrayBuffer(r)||co.isTypedArray(r)?r.buffer?t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength)):t.push(new Uint8Array(r)):Ya(r)&&t.push(r);return t}function Kf(A){let e=`
`;return process.platform==="win32"&&(e=`\r
`),A.replace(/\r?\n/g,e)}function jf(A){return Ua&&A instanceof Ua||A instanceof xr||A&&(typeof A.stream=="function"||typeof A.arrayBuffer=="function")&&A[Symbol.toStringTag]==="File"}xa.exports={File:xr,FileLike:Io,isFileLike:jf}});var Ts=I((sm,va)=>{"use strict";var{isBlobLike:Gs,toUSVString:zf,makeIterator:ho}=ne(),{kState:yA}=Ge(),{File:Ha,FileLike:Ja,isFileLike:$f}=Js(),{webidl:q}=RA(),{Blob:Ay,File:lo}=require("buffer"),Ga=lo??Ha,Ot=class A{constructor(e){if(e!==void 0)throw q.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[yA]=[]}append(e,t,r=void 0){if(q.brandCheck(this,A),q.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!Gs(t))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=q.converters.USVString(e),t=Gs(t)?q.converters.Blob(t,{strict:!1}):q.converters.USVString(t),r=arguments.length===3?q.converters.USVString(r):void 0;let s=Ta(e,t,r);this[yA].push(s)}delete(e){q.brandCheck(this,A),q.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),e=q.converters.USVString(e),this[yA]=this[yA].filter(t=>t.name!==e)}get(e){q.brandCheck(this,A),q.argumentLengthCheck(arguments,1,{header:"FormData.get"}),e=q.converters.USVString(e);let t=this[yA].findIndex(r=>r.name===e);return t===-1?null:this[yA][t].value}getAll(e){return q.brandCheck(this,A),q.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),e=q.converters.USVString(e),this[yA].filter(t=>t.name===e).map(t=>t.value)}has(e){return q.brandCheck(this,A),q.argumentLengthCheck(arguments,1,{header:"FormData.has"}),e=q.converters.USVString(e),this[yA].findIndex(t=>t.name===e)!==-1}set(e,t,r=void 0){if(q.brandCheck(this,A),q.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!Gs(t))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=q.converters.USVString(e),t=Gs(t)?q.converters.Blob(t,{strict:!1}):q.converters.USVString(t),r=arguments.length===3?zf(r):void 0;let s=Ta(e,t,r),i=this[yA].findIndex(n=>n.name===e);i!==-1?this[yA]=[...this[yA].slice(0,i),s,...this[yA].slice(i+1).filter(n=>n.name!==e)]:this[yA].push(s)}entries(){return q.brandCheck(this,A),ho(()=>this[yA].map(e=>[e.name,e.value]),"FormData","key+value")}keys(){return q.brandCheck(this,A),ho(()=>this[yA].map(e=>[e.name,e.value]),"FormData","key")}values(){return q.brandCheck(this,A),ho(()=>this[yA].map(e=>[e.name,e.value]),"FormData","value")}forEach(e,t=globalThis){if(q.brandCheck(this,A),q.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[r,s]of this)e.apply(t,[s,r,this])}};Ot.prototype[Symbol.iterator]=Ot.prototype.entries;Object.defineProperties(Ot.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Ta(A,e,t){if(A=Buffer.from(A).toString("utf8"),typeof e=="string")e=Buffer.from(e).toString("utf8");else if($f(e)||(e=e instanceof Ay?new Ga([e],"blob",{type:e.type}):new Ja(e,"blob",{type:e.type})),t!==void 0){let r={type:e.type,lastModified:e.lastModified};e=lo&&e instanceof lo||e instanceof Ha?new Ga([e],t,r):new Ja(e,t,r)}return{name:A,value:e}}va.exports={FormData:Ot}});var Jr=I((im,Ka)=>{"use strict";var ey=ia(),Pt=J(),{ReadableStreamFrom:ty,isBlobLike:Va,isReadableStreamLike:ry,readableStreamClose:sy,createDeferredPromise:iy,fullyReadBody:ny}=ne(),{FormData:qa}=Ts(),{kState:He}=Ge(),{webidl:uo}=RA(),{DOMException:Pa,structuredClone:oy}=et(),{Blob:gy,File:Ey}=require("buffer"),{kBodyUsed:Qy}=X(),fo=require("assert"),{isErrored:ay}=J(),{isUint8Array:_a,isArrayBuffer:By}=require("util/types"),{File:Cy}=Js(),{parseMIMEType:cy,serializeAMimeType:Iy}=Ie(),yo;try{let A=require("node:crypto");yo=e=>A.randomInt(0,e)}catch{yo=A=>Math.floor(Math.random(A))}var Te=globalThis.ReadableStream,Wa=Ey??Cy,Hs=new TextEncoder,hy=new TextDecoder;function Za(A,e=!1){Te||(Te=require("stream/web").ReadableStream);let t=null;A instanceof Te?t=A:Va(A)?t=A.stream():t=new Te({async pull(g){g.enqueue(typeof s=="string"?Hs.encode(s):s),queueMicrotask(()=>sy(g))},start(){},type:void 0}),fo(ry(t));let r=null,s=null,i=null,n=null;if(typeof A=="string")s=A,n="text/plain;charset=UTF-8";else if(A instanceof URLSearchParams)s=A.toString(),n="application/x-www-form-urlencoded;charset=UTF-8";else if(By(A))s=new Uint8Array(A.slice());else if(ArrayBuffer.isView(A))s=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength));else if(Pt.isFormDataLike(A)){let g=`----formdata-undici-0${`${yo(1e11)}`.padStart(11,"0")}`,E=`--${g}\r
Content-Disposition: form-data`;let Q=h=>h.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),a=h=>h.replace(/\r?\n|\r/g,`\r
`),B=[],c=new Uint8Array([13,10]);i=0;let C=!1;for(let[h,d]of A)if(typeof d=="string"){let p=Hs.encode(E+`; name="${Q(a(h))}"\r
\r
${a(d)}\r
`);B.push(p),i+=p.byteLength}else{let p=Hs.encode(`${E}; name="${Q(a(h))}"`+(d.name?`; filename="${Q(d.name)}"`:"")+`\r
Content-Type: ${d.type||"application/octet-stream"}\r
\r
`);B.push(p,d,c),typeof d.size=="number"?i+=p.byteLength+d.size+c.byteLength:C=!0}let u=Hs.encode(`--${g}--`);B.push(u),i+=u.byteLength,C&&(i=null),s=A,r=async function*(){for(let h of B)h.stream?yield*h.stream():yield h},n="multipart/form-data; boundary="+g}else if(Va(A))s=A,i=A.size,A.type&&(n=A.type);else if(typeof A[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Pt.isDisturbed(A)||A.locked)throw new TypeError("Response body object should not be disturbed or locked");t=A instanceof Te?A:ty(A)}if((typeof s=="string"||Pt.isBuffer(s))&&(i=Buffer.byteLength(s)),r!=null){let g;t=new Te({async start(){g=r(A)[Symbol.asyncIterator]()},async pull(E){let{value:Q,done:a}=await g.next();return a?queueMicrotask(()=>{E.close()}):ay(t)||E.enqueue(new Uint8Array(Q)),E.desiredSize>0},async cancel(E){await g.return()},type:void 0})}return[{stream:t,source:s,length:i},n]}function ly(A,e=!1){return Te||(Te=require("stream/web").ReadableStream),A instanceof Te&&(fo(!Pt.isDisturbed(A),"The body has already been consumed."),fo(!A.locked,"The stream is locked.")),Za(A,e)}function uy(A){let[e,t]=A.stream.tee(),r=oy(t,{transfer:[t]}),[,s]=r.tee();return A.stream=e,{stream:s,length:A.length,source:A.source}}async function*Oa(A){if(A)if(_a(A))yield A;else{let e=A.stream;if(Pt.isDisturbed(e))throw new TypeError("The body has already been consumed.");if(e.locked)throw new TypeError("The stream is locked.");e[Qy]=!0,yield*e}}function wo(A){if(A.aborted)throw new Pa("The operation was aborted.","AbortError")}function dy(A){return{blob(){return vs(this,t=>{let r=Dy(this);return r==="failure"?r="":r&&(r=Iy(r)),new gy([t],{type:r})},A)},arrayBuffer(){return vs(this,t=>new Uint8Array(t).buffer,A)},text(){return vs(this,Xa,A)},json(){return vs(this,wy,A)},async formData(){uo.brandCheck(this,A),wo(this[He]);let t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){let r={};for(let[o,g]of this.headers)r[o.toLowerCase()]=g;let s=new qa,i;try{i=new ey({headers:r,preservePath:!0})}catch(o){throw new Pa(`${o}`,"AbortError")}i.on("field",(o,g)=>{s.append(o,g)}),i.on("file",(o,g,E,Q,a)=>{let B=[];if(Q==="base64"||Q.toLowerCase()==="base64"){let c="";g.on("data",C=>{c+=C.toString().replace(/[\r\n]/gm,"");let u=c.length-c.length%4;B.push(Buffer.from(c.slice(0,u),"base64")),c=c.slice(u)}),g.on("end",()=>{B.push(Buffer.from(c,"base64")),s.append(o,new Wa(B,E,{type:a}))})}else g.on("data",c=>{B.push(c)}),g.on("end",()=>{s.append(o,new Wa(B,E,{type:a}))})});let n=new Promise((o,g)=>{i.on("finish",o),i.on("error",E=>g(new TypeError(E)))});if(this.body!==null)for await(let o of Oa(this[He].body))i.write(o);return i.end(),await n,s}else if(/application\/x-www-form-urlencoded/.test(t)){let r;try{let i="",n=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let o of Oa(this[He].body)){if(!_a(o))throw new TypeError("Expected Uint8Array chunk");i+=n.decode(o,{stream:!0})}i+=n.decode(),r=new URLSearchParams(i)}catch(i){throw Object.assign(new TypeError,{cause:i})}let s=new qa;for(let[i,n]of r)s.append(i,n);return s}else throw await Promise.resolve(),wo(this[He]),uo.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}}function fy(A){Object.assign(A.prototype,dy(A))}async function vs(A,e,t){if(uo.brandCheck(A,t),wo(A[He]),yy(A[He].body))throw new TypeError("Body is unusable");let r=iy(),s=n=>r.reject(n),i=n=>{try{r.resolve(e(n))}catch(o){s(o)}};return A[He].body==null?(i(new Uint8Array),r.promise):(await ny(A[He].body,i,s),r.promise)}function yy(A){return A!=null&&(A.stream.locked||Pt.isDisturbed(A.stream))}function Xa(A){return A.length===0?"":(A[0]===239&&A[1]===187&&A[2]===191&&(A=A.subarray(3)),hy.decode(A))}function wy(A){return JSON.parse(Xa(A))}function Dy(A){let{headersList:e}=A[He],t=e.get("content-type");return t===null?"failure":cy(t)}Ka.exports={extractBody:Za,safelyExtractBody:ly,cloneBody:uy,mixinBody:fy}});var AB=I((nm,$a)=>{"use strict";var{InvalidArgumentError:_,NotSupportedError:py}=O(),ve=require("assert"),{kHTTP2BuildRequest:Ry,kHTTP2CopyHeaders:ky,kHTTP1BuildRequest:Fy}=X(),LA=J(),ja=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,za=/[^\t\x20-\x7e\x80-\xff]/,Ny=/[^\u0021-\u00ff]/,he=Symbol("handler"),gA={},Do;try{let A=require("diagnostics_channel");gA.create=A.channel("undici:request:create"),gA.bodySent=A.channel("undici:request:bodySent"),gA.headers=A.channel("undici:request:headers"),gA.trailers=A.channel("undici:request:trailers"),gA.error=A.channel("undici:request:error")}catch{gA.create={hasSubscribers:!1},gA.bodySent={hasSubscribers:!1},gA.headers={hasSubscribers:!1},gA.trailers={hasSubscribers:!1},gA.error={hasSubscribers:!1}}var po=class A{constructor(e,{path:t,method:r,body:s,headers:i,query:n,idempotent:o,blocking:g,upgrade:E,headersTimeout:Q,bodyTimeout:a,reset:B,throwOnError:c,expectContinue:C},u){if(typeof t!="string")throw new _("path must be a string");if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new _("path Line truncated
`),this.body=h.stream,this.contentLength=h.length}else LA.isBlobLike(s)&&this.contentType==null&&s.type&&(this.contentType=s.type,this.headers+=`content-type: ${s.type}\r
`);LA.validateHandler(u,r,E),this.servername=LA.getServerName(this.host),this[he]=u,gA.create.hasSubscribers&&gA.create.publish({request:this})}onBodySent(e){if(this[he].onBodySent)try{return this[he].onBodySent(e)}catch(t){this.abort(t)}}onRequestSent(){if(gA.bodySent.hasSubscribers&&gA.bodySent.publish({request:this}),this[he].onRequestSent)try{return this[he].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(ve(!this.aborted),ve(!this.completed),this.error)e(this.error);else return this.abort=e,this[he].onConnect(e)}onHeaders(e,t,r,s){ve(!this.aborted),ve(!this.completed),gA.headers.hasSubscribers&&gA.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:s}});try{return this[he].onHeaders(e,t,r,s)}catch(i){this.abort(i)}}onData(e){ve(!this.aborted),ve(!this.completed);try{return this[he].onData(e)}catch(t){return this.abort(t),!1}}onUpgrade(e,t,r){return ve(!this.aborted),ve(!this.completed),this[he].onUpgrade(e,t,r)}onComplete(e){this.onFinally(),ve(!this.aborted),this.completed=!0,gA.trailers.hasSubscribers&&gA.trailers.publish({request:this,trailers:e});try{return this[he].onComplete(e)}catch(t){this.onError(t)}}onError(e){if(this.onFinally(),gA.error.hasSubscribers&&gA.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[he].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,t){return Gr(this,e,t),this}static[Fy](e,t,r){return new A(e,t,r)}static[Ry](e,t,r){let s=t.headers;t={...t,headers:null};let i=new A(e,t,r);if(i.headers={},Array.isArray(s)){if(s.length%2!==0)throw new _("headers array must be even");for(let n=0;n<s.length;n+=2)Gr(i,s[n],s[n+1],!0)}else if(s&&typeof s=="object"){let n=Object.keys(s);for(let o=0;o<n.length;o++){let g=n[o];Gr(i,g,s[g],!0)}}else if(s!=null)throw new _("headers must be an object or an array");return i}static[ky](e){let t=e.split(`\r
`),r={};for(let s of t){let[i,n]=s.split(": ");n==null||n.length===0||(r[i]?r[i]+=`,${n}`:r[i]=n)}return r}};function It(A,e,t){if(e&&typeof e=="object")throw new _(`invalid ${A} header`);if(e=e!=null?`${e}`:"",za.exec(e)!==null)throw new _(`invalid ${A} header`);return t?e:`${A}: ${e}\r
`}function Gr(A,e,t,r=!1){if(t&&typeof t=="object"&&!Array.isArray(t))throw new _(`invalid ${e} header`);if(t===void 0)return;if(A.host===null&&e.length===4&&e.toLowerCase()==="host"){if(za.exec(t)!==null)throw new _(`invalid ${e} header`);A.host=t}else if(A.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){if(A.contentLength=parseInt(t,10),!Number.isFinite(A.contentLength))throw new _("invalid content-length header")}else if(A.contentType===null&&e.length===12&&e.toLowerCase()==="content-type")A.contentType=t,r?A.headers[e]=It(e,t,r):A.headers+=It(e,t);else{if(e.length===17&&e.toLowerCase()==="transfer-encoding")throw new _("invalid transfer-encoding header");if(e.length===10&&e.toLowerCase()==="connection"){let s=typeof t=="string"?t.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new _("invalid connection header");s==="close"&&(A.reset=!0)}else{if(e.length===10&&e.toLowerCase()==="keep-alive")throw new _("invalid keep-alive header");if(e.length===7&&e.toLowerCase()==="upgrade")throw new _("invalid upgrade header");if(e.length===6&&e.toLowerCase()==="expect")throw new py("expect header not supported");if(ja.exec(e)===null)throw new _("invalid header key");if(Array.isArray(t))for(let s=0;s<t.length;s++)r?A.headers[e]?A.headers[e]+=`,${It(e,t[s],r)}`:A.headers[e]=It(e,t[s],r):A.headers+=It(e,t[s]);else r?A.headers[e]=It(e,t,r):A.headers+=It(e,t)}}}$a.exports=po});var Vs=I((om,eB)=>{"use strict";var by=require("events"),Ro=class extends by{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};eB.exports=Ro});var Hr=I((gm,tB)=>{"use strict";var my=Vs(),{ClientDestroyedError:ko,ClientClosedError:Sy,InvalidArgumentError:_t}=O(),{kDestroy:Uy,kClose:Ly,kDispatch:Fo,kInterceptors:ht}=X(),Zt=Symbol("destroyed"),Tr=Symbol("closed"),Ve=Symbol("onDestroyed"),Xt=Symbol("onClosed"),qs=Symbol("Intercepted Dispatch"),No=class extends my{constructor(){super(),this[Zt]=!1,this[Ve]=null,this[Tr]=!1,this[Xt]=[]}get destroyed(){return this[Zt]}get closed(){return this[Tr]}get interceptors(){return this[ht]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[ht][t]!="function")throw new _t("interceptor must be an function")}this[ht]=e}close(e){if(e===void 0)return new Promise((r,s)=>{this.close((i,n)=>i?s(i):r(n))});if(typeof e!="function")throw new _t("invalid callback");if(this[Zt]){queueMicrotask(()=>e(new ko,null));return}if(this[Tr]){this[Xt]?this[Xt].push(e):queueMicrotask(()=>e(null,null));return}this[Tr]=!0,this[Xt].push(e);let t=()=>{let r=this[Xt];this[Xt]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[Ly]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e=="function"&&(t=e,e=null),t===void 0)return new Promise((s,i)=>{this.destroy(e,(n,o)=>n?i(n):s(o))});if(typeof t!="function")throw new _t("invalid callback");if(this[Zt]){this[Ve]?this[Ve].push(t):queueMicrotask(()=>t(null,null));return}e||(e=new ko),this[Zt]=!0,this[Ve]=this[Ve]||[],this[Ve].push(t);let r=()=>{let s=this[Ve];this[Ve]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[Uy](e).then(()=>{queueMicrotask(r)})}[qs](e,t){if(!this[ht]||this[ht].length===0)return this[qs]=this[Fo],this[Fo](e,t);let r=this[Fo].bind(this);for(let s=this[ht].length-1;s>=0;s--)r=this[ht][s](r);return this[qs]=r,r(e,t)}dispatch(e,t){if(!t||typeof t!="object")throw new _t("handler must be an object");try{if(!e||typeof e!="object")throw new _t("opts must be an object.");if(this[Zt]||this[Ve])throw new ko;if(this[Tr])throw new Sy;return this[qs](e,t)}catch(r){if(typeof t.onError!="function")throw new _t("invalid onError method");return t.onError(r),!1}}};tB.exports=No});var vr=I((am,iB)=>{"use strict";var My=require("net"),rB=require("assert"),sB=J(),{InvalidArgumentError:Yy,ConnectTimeoutError:xy}=O(),bo,mo;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?mo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(t=>{if(this._sessionCache.size<this._maxCachedSessions)return;let r=this._sessionCache.get(t);r!==void 0&&r.deref()===void 0&&this._sessionCache.delete(t)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e))}}:mo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){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,t)}}};function Jy({allowH2:A,maxCachedSessions:e,socketPath:t,timeout:r,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new Yy("maxCachedSessions must be a positive integer or zero");let i={path:t,...s},n=new mo(e??100);return r=r??1e4,A=A??!1,function({hostname:g,host:E,protoc Line truncated
`,this[wB]=g??3e5,this[yB]=s??3e5,this[_r]=p??!0,this[Cw]=Y,this[Zr]=cA,this[rt]=null,this[pB]=fA>-1?fA:-1,this[Fe]="h1",this[XA]=null,this[js]=OA?{openStreams:0,maxConcurrentStreams:T??100}:null,this[RB]=`${this[hA].hostname}${this[hA].port?`:${this[hA].port}`:""}`,this[K]=[],this[j]=0,this[ZA]=0}get pipelining(){return this[it]}set pipelining(e){this[it]=e,KA(this,!0)}get[dt](){return this[K].length-this[ZA]}get[AA](){return this[ZA]-this[j]}get[ut](){return this[K].length-this[j]}get[Bw](){return!!this[rA]&&!this[jt]&&!this[rA].destroyed}get[Go](){let e=this[rA];return e&&(e[kA]||e[Oe]||e[$t])||this[ut]>=(this[it]||1)||this[dt]>0}[aw](e){bB(this),this.once("connect",e)}[hw](e,t){let r=e.origin||this[hA].origin,s=this[Fe]==="h2"?Jo[uw](r,e,t):Jo[fw](r,e,t);return this[K].push(s),this[lt]||(R.bodyLength(s.body)==null&&R.isIterable(s.body)?(this[lt]=1,process.nextTick(KA,this)):KA(this,!0)),this[lt]&&this[st]!==2&&this[Go]&&(this[st]=2),this[st]<2}async[cw](){return new Promise(e=>{this[ut]?this[rt]=e:e(null)})}async[Iw](e){return new Promise(t=>{let r=this[K].splice(this[ZA]);for(let i=0;i<r.length;i++){let n=r[i];FA(this,n,e)}let s=()=>{this[rt]&&(this[rt](),this[rt]=null),t()};this[XA]!=null&&(R.destroy(this[XA],e),this[XA]=null,this[js]=null),this[rA]?R.destroy(this[rA].on("close",s),e):queueMicrotask(s),KA(this)})}};function Nw(A){y(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[rA][lA]=A,ei(this[ke],A)}function bw(A,e,t){let r=new Re(`HTTP/2: "frameError" received - type ${A}, code ${e}`);t===0&&(this[rA][lA]=r,ei(this[ke],r))}function mw(){R.destroy(this,new zt("other side closed")),R.destroy(this[rA],new zt("other side closed"))}function Sw(A){let e=this[ke],t=new Re(`HTTP/2: "GOAWAY" frame received with code ${A}`);if(e[rA]=null,e[XA]=null,e.destroyed){y(this[dt]===0);let r=e[K].splice(e[j]);for(let s=0;s<r.length;s++){let i=r[s];FA(this,i,t)}}else if(e[AA]>0){let r=e[K][e[j]];e[K][e[j]++]=null,FA(e,r,t)}e[ZA]=e[j],y(e[AA]===0),e.emit("disconnect",e[hA],[e],t),KA(e)}var we=oB(),Uw=Ps(),Lw=Buffer.alloc(0);async function Mw(){let A=process.env.JEST_WORKER_ID?Mo():void 0,e;try{e=await WebAssembly.compile(Buffer.from(cB(),"base64"))}catch{e=await WebAssembly.compile(Buffer.from(A||Mo(),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(t,r,s)=>0,wasm_on_status:(t,r,s)=>{y.strictEqual(aA.ptr,t);let i=r-pe+De.byteOffset;return aA.onStatus(new _s(De.buffer,i,s))||0},wasm_on_message_begin:t=>(y.strictEqual(aA.ptr,t),aA.onMessageBegin()||0),wasm_on_header_field:(t,r,s)=>{y.strictEqual(aA.ptr,t);let i=r-pe+De.byteOffset;return aA.onHeaderField(new _s(De.buffer,i,s))||0},wasm_on_header_value:(t,r,s)=>{y.strictEqual(aA.ptr,t);let i=r-pe+De.byteOffset;return aA.onHeaderValue(new _s(De.buffer,i,s))||0},wasm_on_headers_complete:(t,r,s,i)=>(y.strictEqual(aA.ptr,t),aA.onHeadersComplete(r,!!s,!!i)||0),wasm_on_body:(t,r,s)=>{y.strictEqual(aA.ptr,t);let i=r-pe+De.byteOffset;return aA.onBody(new _s(De.buffer,i,s))||0},wasm_on_message_complete:t=>(y.strictEqual(aA.ptr,t),aA.onMessageComplete()||0)}})}var xo=null,vo=Mw();vo.catch();var aA=null,De=null,Zs=0,pe=null,Ar=1,Ks=2,Vo=3,qo=class{constructor(e,t,{exports:r}){y(Number.isFinite(e[Xs])&&e[Xs]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(we.TYPE.RESPONSE),this.client=e,this.socket=t,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[Xs],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[pB]}setTimeout(e,t){this.timeoutType=t,e!==this.timeoutValue?(Yo.clearTimeout(this.timeout),e?(this.timeout=Yo.setTimeout(Yw,e,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(y(this.ptr!=null),y(aA==null),this.llhttp.llhttp_resume(this.ptr),y(this.timeoutType===Ks),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Lw),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){y(this.ptr!=null),y(aA==null),y(!this.paused);let{socket:t,llhttp:r}=this;e.length>Zs&&(pe&&r.free(pe),Zs=Math.ceil(e.length/4096)*4096,pe=r.malloc(Zs)),new Uint8Array(r.memory.buffer,pe,Zs).set(e);try{let s;try{De=e,aA=this,s=r.llhttp_execute(this.ptr,pe,e.length)}catch(n){throw n}finally{aA=null,De=null}let i=r.llhttp_get_error_pos(this.ptr)-pe;if(s===we.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(s===we.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(i));else if(s!==we.ERROR.OK){let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let g=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,g).toS Line truncated
`;return typeof i=="string"?C+=`host: ${i}\r
`:C+=A[uB],n?C+=`connection: upgrade\r
upgrade: ${n}\r
`:A[it]&&!c[kA]?C+=`connection: keep-alive\r
`:C+=`connection: close\r
`,o&&(C+=o),wA.sendHeaders.hasSubscribers&&wA.sendHeaders.publish({request:e,headers:C,socket:c}),!t||a===0?(B===0?c.write(`${C}content-length: 0\r
\r
`,"latin1"):(y(B===null,"no body must not have content length"),c.write(`${C}\r
`,"latin1")),e.onRequestSent()):R.isBuffer(t)?(y(B===t.byteLength,"buffer body must have content length"),c.cork(),c.write(`${C}content-length: ${B}\r
\r
`,"latin1"),c.write(t),c.uncork(),e.onBodySent(t),e.onRequestSent(),Q||(c[kA]=!0)):R.isBlobLike(t)?typeof t.stream=="function"?$s({body:t.stream(),client:A,request:e,socket:c,contentLength:B,header:C,expectsPayload:Q}):UB({body:t,client:A,request:e,socket:c,contentLength:B,header:C,expectsPayload:Q}):R.isStream(t)?SB({body:t,client:A,request:e,socket:c,contentLength:B,header:C,expectsPayload:Q}):R.isIterable(t)?$s({body:t,client:A,request:e,socket:c,contentLength:B,header:C,expectsPayload:Q}):y(!1),!0}function Gw(A,e,t){let{body:r,method:s,path:i,host:n,upgrade:o,expectContinue:g,signal:E,headers:Q}=t,a;if(typeof Q=="string"?a=Jo[dw](Q.trim()):a=Q,o)return FA(A,t,new Error("Upgrade not supported for H2")),!1;try{t.onConnect(p=>{t.aborted||t.completed||FA(A,t,p||new Oo)})}catch(p){FA(A,t,p)}if(t.aborted)return!1;let B,c=A[js];if(a[yw]=n||A[RB],a[ww]=s,s==="CONNECT")return e.ref(),B=e.request(a,{endStream:!1,signal:E}),B.id&&!B.pending?(t.onUpgrade(null,null,B),++c.openStreams):B.once("ready",()=>{t.onUpgrade(null,null,B),++c.openStreams}),B.once("close",()=>{c.openStreams-=1,c.openStreams===0&&e.unref()}),!0;a[Dw]=i,a[pw]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";r&&typeof r.read=="function"&&r.read(0);let u=R.bodyLength(r);if(u==null&&(u=t.contentLength),(u===0||!C)&&(u=null),mB(s)&&u>0&&t.contentLength!=null&&t.contentLength!==u){if(A[_r])return FA(A,t,new We),!1;process.emitWarning(new We)}u!=null&&(y(r,"no body must not have content length"),a[Rw]=`${u}`),e.ref();let h=s==="GET"||s==="HEAD";return g?(a[kw]="100-continue",B=e.request(a,{endStream:h,signal:E}),B.once("continue",d)):(B=e.request(a,{endStream:h,signal:E}),d()),++c.openStreams,B.once("response",p=>{let{[Fw]:m,...Y}=p;t.onHeaders(Number(m),Y,B.resume.bind(B),"")===!1&&B.pause()}),B.once("end",()=>{t.onComplete([])}),B.on("data",p=>{t.onData(p)===!1&&B.pause()}),B.once("close",()=>{c.openStreams-=1,c.openStreams===0&&e.unref()}),B.once("error",function(p){A[XA]&&!A[XA].destroyed&&!this.closed&&!this.destroyed&&(c.streams-=1,R.destroy(B,p))}),B.once("frameError",(p,m)=>{let Y=new Re(`HTTP/2: "frameError" received - type ${p}, code ${m}`);FA(A,t,Y),A[XA]&&!A[XA].destroyed&&!this.closed&&!this.destroyed&&(c.streams-=1,R.destroy(B,Y))}),!0;function d(){r?R.isBuffer(r)?(y(u===r.byteLength,"buffer body must have content length"),B.cork(),B.write(r),B.uncork(),B.end(),t.onBodySent(r),t.onRequestSent()):R.isBlobLike(r)?typeof r.stream=="function"?$s({client:A,request:t,contentLength:u,h2stream:B,expectsPayload:C,body:r.stream(),socket:A[rA],header:""}):UB({body:r,client:A,request:t,contentLength:u,expectsPayload:C,h2stream:B,header:"",socket:A[rA]}):R.isStream(r)?SB({body:r,client:A,request:t,contentLength:u,expectsPayload:C,socket:A[rA],h2stream:B,header:""}):R.isIterable(r)?$s({body:r,client:A,request:t,contentLength:u,expectsPayload:C,header:"",h2stream:B,socket:A[rA]}):y(!1):t.onRequestSent()}}function SB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){if(y(i!==0||t[AA]===0,"stream body cannot be pipelined"),t[Fe]==="h2"){let u=function(h){r.onBodySent(h)},C=ew(e,A,h=>{h?(R.destroy(e,h),R.destroy(A,h)):r.onRequestSent()});C.on("data",u),C.once("end",()=>{C.removeListener("data",u),R.destroy(C)});return}let g=!1,E=new Ai({socket:s,request:r,contentLength:i,client:t,expectsPayload:o,header:n}),Q=function(C){if(!g)try{!E.write(C)&&this.pause&&this.pause()}catch(u){R.destroy(this,u)}},a=function(){g||e.resume&&e.resume()},B=function(){if(g)return;let C=new Oo;queueMicrotask(()=>c(C))},c=function(C){if(!g){if(g=!0,y(s.destroyed||s[Oe]&&t[AA]<=1),s.off("drain",a).off("error",c),e.removeListener("data",Q).removeListener("end",c).removeListener("error",c).removeListener("close",B),!C)try{E.end()}catch(u){C=u}E.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?R.destroy(e,C):R.destroy(e)}};e.on("data",Q).on("end",c).on("error",c).on("close",B),e.resume&&e.resume(),s.on("drain",a).on("error",c)}async function UB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){y(i===e.size,"blob body must have content length");let g=t[Fe]==="h2";try{if(i!=null&&i!==e.size)throw new We;let E=Buffer.from(await e.arrayBuffer());g?(A.cork(),A.write(E),A.uncork()):(s.cork(),s.write(`${n}content-length: ${i}\r
\r
`,"latin1"),s.write(E),s.uncork()),r.onBodySent(E),r.onRequestSent(),o||(s[kA]=!0),KA(t)}catch(E){R.destroy(g?A:s,E)}}async function $s({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){y(i!==0||t[AA]===0,"iterator body cannot be pipelined");let g=null;function E(){if(g){let B=g;g=null,B()}}let Q=()=>new Promise((B,c)=>{y(g===null),s[lA]?c(s[lA]):g=B});if(t[Fe]==="h2"){A.on("close",E).on("drain",E);try{for await(let B of e){if(s[lA])throw s[lA];let c=A.write(B);r.onBodySent(B),c||await Q()}}catch(B){A.destroy(B)}finally{r.onRequestSent(),A.end(),A.off("close",E).off("drain",E)}return}s.on("close",E).on("drain",E);let a=new Ai({socket:s,request:r,contentLength:i,client:t,expectsPayload:o,header:n});try{for await(let B of e){if(s[lA])throw s[lA];a.write(B)||await Q()}a.end()}catch(B){a.destroy(B)}finally{s.off("close",E).off("drain",E)}}var Ai=class{constructor({socket:e,request:t,contentLength:r,client:s,expectsPayload:i,header:n}){this.socket=e,this.request=t,this.contentLength=r,this.client=s,this.bytesWritten=0,this.expectsPayload=i,this.header=n,e[Oe]=!0}write(e){let{socket:t,request:r,contentLength:s,client:i,bytesWritten:n,expectsPayload:o,header:g}=this;if(t[lA])throw t[lA];if(t.destroyed)return!1;let E=Buffer.byteLength(e);if(!E)return!0;if(s!==null&&n+E>s){if(i[_r])throw new We;process.emitWarning(new We)}t.cork(),n===0&&(o||(t[kA]=!0),s===null?t.write(`${g}transfer-encoding: chunked\r
`,"latin1"):t.write(`${g}content-length: ${s}\r
\r
`,"latin1")),s===null&&t.write(`\r
${E.toString(16)}\r
`,"latin1"),this.bytesWritten+=E;let Q=t.write(e);return t.uncork(),r.onBodySent(e),Q||t[tA].timeout&&t[tA].timeoutType===Ar&&t[tA].timeout.refresh&&t[tA].timeout.refresh(),Q}end(){let{socket:e,contentLength:t,client:r,bytesWritten:s,expectsPayload:i,header:n,request:o}=this;if(o.onRequestSent(),e[Oe]=!1,e[lA])throw e[lA];if(!e.destroyed){if(s===0?i?e.write(`${n}content-length: 0\r
\r
`,"latin1"):e.write(`${n}\r
`,"latin1"):t===null&&e.write(`\r
0\r
\r
`,"latin1"),t!==null&&s!==t){if(r[_r])throw new We;process.emitWarning(new We)}e[tA].timeout&&e[tA].timeoutType===Ar&&e[tA].timeout.refresh&&e[tA].timeout.refresh(),KA(r)}}destroy(e){let{socket:t,client:r}=this;t[Oe]=!1,e&&(y(r[AA]<=1,"pipeline should only contain this request"),R.destroy(t,e))}};function FA(A,e,t){try{e.onError(t),y(e.aborted)}catch(r){A.emit("error",r)}}LB.exports=Ho});var YB=I((fm,MB)=>{"use strict";var ti=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)}};MB.exports=class{constructor(){this.head=this.tail=new ti}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new ti),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),t}}});var JB=I((ym,xB)=>{var{kFree:Tw,kConnected:Hw,kPending:vw,kQueued:Vw,kRunning:qw,kSize:Ww}=X(),ft=Symbol("pool"),Po=class{constructor(e){this[ft]=e}get connected(){return this[ft][Hw]}get free(){return this[ft][Tw]}get pending(){return this[ft][vw]}get queued(){return this[ft][Vw]}get running(){return this[ft][qw]}get size(){return this[ft][Ww]}};xB.exports=Po});var zo=I((wm,_B)=>{"use strict";var Ow=Hr(),Pw=YB(),{kConnected:_o,kSize:GB,kRunning:TB,kPending:HB,kQueued:Kr,kBusy:_w,kFree:Zw,kUrl:Xw,kClose:Kw,kDestroy:jw,kDispatch:zw}=X(),$w=JB(),MA=Symbol("clients"),NA=Symbol("needDrain"),jr=Symbol("queue"),Zo=Symbol("closed resolve"),Xo=Symbol("onDrain"),vB=Symbol("onConnect"),VB=Symbol("onDisconnect"),qB=Symbol("onConnectionError"),Ko=Symbol("get dispatcher"),OB=Symbol("add client"),PB=Symbol("remove client"),WB=Symbol("stats"),jo=class extends Ow{constructor(){super(),this[jr]=new Pw,this[MA]=[],this[Kr]=0;let e=this;this[Xo]=function(r,s){let i=e[jr],n=!1;for(;!n;){let o=i.shift();if(!o)break;e[Kr]--,n=!this.dispatch(o.opts,o.handler)}this[NA]=n,!this[NA]&&e[NA]&&(e[NA]=!1,e.emit("drain",r,[e,...s])),e[Zo]&&i.isEmpty()&&Promise.all(e[MA].map(o=>o.close())).then(e[Zo])},this[vB]=(t,r)=>{e.emit("connect",t,[e,...r])},this[VB]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)},this[qB]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)},this[WB]=new $w(this)}get[_w](){return this[NA]}get[_o](){return this[MA].filter(e=>e[_o]).length}get[Zw](){return this[MA].filter(e=>e[_o]&&!e[NA]).length}get[HB](){let e=this[Kr];for(let{[HB]:t}of this[MA])e+=t;return e}get[TB](){let e=0;for(let{[TB]:t}of this[MA])e+=t;return e}get[GB](){let e=this[Kr];for(let{[GB]:t}of this[MA])e+=t;return e}get stats(){return this[WB]}async[Kw](){return this[jr].isEmpty()?Promise.all(this[MA].map(e=>e.close())):new Promise(e=>{this[Zo]=e})}async[jw](e){for(;;){let t=this[jr].shift();if(!t)break;t.handler.onError(e)}return Promise.all(this[MA].map(t=>t.destroy(e)))}[zw](e,t){let r=this[Ko]();return r?r.dispatch(e,t)||(r[NA]=!0,this[NA]=!this[Ko]()):(this[NA]=!0,this[jr].push({opts:e,handler:t}),this[Kr]++),!this[NA]}[OB](e){return e.on("drain",this[Xo]).on("connect",this[vB]).on("disconnect",this[VB]).on("connectionError",this[qB]),this[MA].push(e),this[NA]&&process.nextTick(()=>{this[NA]&&this[Xo](e[Xw],[this,e])}),this}[PB](e){e.close(()=>{let t=this[MA].indexOf(e);t!==-1&&this[MA].splice(t,1)}),this[NA]=this[MA].some(t=>!t[NA]&&t.closed!==!0&&t.destroyed!==!0)}};_B.exports={PoolBase:jo,kClients:MA,kNeedDrain:NA,kAddClient:OB,kRemoveClient:PB,kGetDispatcher:Ko}});var er=I((Dm,KB)=>{"use strict";var{PoolBase:AD,kClients:ri,kNeedDrain:eD,kAddClient:tD,kGetDispatcher:rD}=zo(),sD=Xr(),{InvalidArgumentError:$o}=O(),Ag=J(),{kUrl:ZB,kInterceptors:iD}=X(),nD=vr(),eg=Symbol("options"),tg=Symbol("connections"),XB=Symbol("factory");function oD(A,e){return new sD(A,e)}var rg=class extends AD{constructor(e,{connections:t,factory:r=oD,connect:s,connectTimeout:i,tls:n,maxCachedSessions:o,socketPath:g,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q,allowH2:a,...B}={}){if(super(),t!=null&&(!Number.isFinite(t)||t<0))throw new $o("invalid connections");if(typeof r!="function")throw new $o("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new $o("connect must be a function or an object");typeof s!="function"&&(s=nD({...n,maxCachedSessions:o,allowH2:a,socketPath:g,timeout:i,...Ag.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q}:void 0,...s})),this[iD]=B.interceptors&&B.interceptors.Pool&&Array.isArray(B.interceptors.Pool)?B.interceptors.Pool:[],this[tg]=t||null,this[ZB]=Ag.parseOrigin(e),this[eg]={...Ag.deepClone(B),connect:s,allowH2:a},this[eg].interceptors=B.interceptors?{...B.interceptors}:void 0,this[XB]=r,this.on("connectionError",(c,C,u)=>{for(let h of C){let d=this[ri].indexOf(h);d!==-1&&this[ri].splice(d,1)}})}[rD](){let e=this[ri].find(t=>!t[eD]) Line truncated
${r.count} ${r.noun} ${r.is} pending:
${e.format(t)}
`.trim())}};Nc.exports=vg});var Yc=I((Zm,Mc)=>{"use strict";var{kProxy:gp,kClose:Ep,kDestroy:Qp,kInterceptors:ap}=X(),{URL:mc}=require("url"),Sc=$r(),Bp=er(),Cp=Hr(),{InvalidArgumentError:ss,RequestAbortedError:cp}=O(),Uc=vr(),ts=Symbol("proxy agent"),pi=Symbol("proxy client"),rs=Symbol("proxy headers"),Vg=Symbol("request tls settings"),Ip=Symbol("proxy tls settings"),Lc=Symbol("connect endpoint function");function hp(A){return A==="https:"?443:80}function lp(A){if(typeof A=="string"&&(A={uri:A}),!A||!A.uri)throw new ss("Proxy opts.uri is mandatory");return{uri:A.uri,protocol:A.protocol||"https"}}function up(A,e){return new Bp(A,e)}var qg=class extends Cp{constructor(e){if(super(e),this[gp]=lp(e),this[ts]=new Sc(e),this[ap]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new ss("Proxy opts.uri is mandatory");let{clientFactory:t=up}=e;if(typeof t!="function")throw new ss("Proxy opts.clientFactory must be a function.");this[Vg]=e.requestTls,this[Ip]=e.proxyTls,this[rs]=e.headers||{};let r=new mc(e.uri),{origin:s,port:i,host:n,username:o,password:g}=r;if(e.auth&&e.token)throw new ss("opts.auth cannot be used in combination with opts.token");e.auth?this[rs]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[rs]["proxy-authorization"]=e.token:o&&g&&(this[rs]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(o)}:${decodeURIComponent(g)}`).toString("base64")}`);let E=Uc({...e.proxyTls});this[Lc]=Uc({...e.requestTls}),this[pi]=t(r,{connect:E}),this[ts]=new Sc({...e,connect:async(Q,a)=>{let B=Q.host;Q.port||(B+=`:${hp(Q.protocol)}`);try{let{socket:c,statusCode:C}=await this[pi].connect({origin:s,port:i,path:B,signal:Q.signal,headers:{...this[rs],host:n}});if(C!==200&&(c.on("error",()=>{}).destroy(),a(new cp(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){a(null,c);return}let u;this[Vg]?u=this[Vg].servername:u=Q.servername,this[Lc]({...Q,servername:u,httpSocket:c},a)}catch(c){a(c)}}})}dispatch(e,t){let{host:r}=new mc(e.origin),s=dp(e.headers);return fp(s),this[ts].dispatch({...e,headers:{...s,host:r}},t)}async[Ep](){await this[ts].close(),await this[pi].close()}async[Qp](){await this[ts].destroy(),await this[pi].destroy()}};function dp(A){if(Array.isArray(A)){let e={};for(let t=0;t<A.length;t+=2)e[A[t]]=A[t+1];return e}return A}function fp(A){if(A&&Object.keys(A).find(t=>t.toLowerCase()==="proxy-authorization"))throw new ss("Proxy-Authorization should be sent in ProxyAgent constructor")}Mc.exports=qg});var Hc=I((Xm,Tc)=>{var kt=require("assert"),{kRetryHandlerDefaultRetry:xc}=X(),{RequestRetryError:Ri}=O(),{isDisturbed:Jc,parseHeaders:yp,parseRangeHeader:Gc}=J();function wp(A){let e=Date.now();return new Date(A).getTime()-e}var Wg=class A{constructor(e,t){let{retryOptions:r,...s}=e,{retry:i,maxRetries:n,maxTimeout:o,minTimeout:g,timeoutFactor:E,methods:Q,errorCodes:a,retryAfter:B,statusCodes:c}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts=s,this.abort=null,this.aborted=!1,this.retryOpts={retry:i??A[xc],retryAfter:B??!0,maxTimeout:o??30*1e3,timeout:g??500,timeoutFactor:E??2,maxRetries:n??5,methods:Q??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:c??[500,502,503,504,429],errorCodes:a??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,t,r){this.handler.onUpgrade&&this.handler.onUpgrade(e,t,r)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[xc](e,{state:t,opts:r},s){let{statusCode:i,code:n,headers:o}=e,{method:g,retryOptions:E}=r,{maxRetries:Q,timeout:a,maxTimeout:B,timeoutFactor:c,statusCodes:C,errorCodes:u,methods:h}=E,{counter:d,currentTimeout:p}=t;if(p=p!=null&&p>0?p:a,n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!u.includes(n)){s(e);return}if(Array.isArray(h)&&!h.includes(g)){s(e);return}if(i!=null&&Array.isArray(C)&&!C.includes(i)){s(e);return}if(d>Q){s(e);return}let m=o!=null&&o["retry-after"];m&&(m=Number(m),m=isNaN(m)?wp(m):m*1e3);let Y=m>0?Math.min(m,B):Math.min(p*c**d,B);t.currentTimeout=Y,setTimeout(()=>s(null),Y)}onHeaders(e,t,r,s){let i=yp(t);if(this.retryCount+=1,e>=300)return this.abort(new Ri("Request failed",e,{headers:i,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,e!==206)return!0;let o=Gc(i["content-range"]);if(!o)return this.abort(new Ri("Content-Range mismatch",e,{headers:i,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Ri("ETag mismatch",e,{headers:i,count:this.retryCount})),!1;let{start:g,size:E,end:Q=E}=o;return kt(this.start===g,"content-range mismatch Line truncated
Error Code : ${n.statusCode}
Error Message: ${n.message}`)})).result)===null||t===void 0?void 0:t.value;if(!i)throw new Error("Response json body do not have ID Token field");return i})}static getIDToken(e){return jh(this,void 0,void 0,function*(){try{let t=A.getIDTokenUrl();if(e){let s=encodeURIComponent(e);t=`${t}&audience=${s}`}(0,zh.debug)(`ID token url is ${t}`);let r=yield A.getCall(t);return(0,zh.setSecret)(r),r}catch(t){throw new Error(`Error message: ${t.message}`)}})}};kr.OidcClient=LE});var GE=I(TA=>{"use strict";var YE=TA&&TA.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(a){n(a)}}function g(Q){try{E(r.throw(Q))}catch(a){n(a)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(TA,"__esModule",{value:!0});TA.summary=TA.markdownSummary=TA.SUMMARY_DOCS_URL=TA.SUMMARY_ENV_VAR=void 0;var BN=require("os"),xE=require("fs"),{access:CN,appendFile:cN,writeFile:IN}=xE.promises;TA.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";TA.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var JE=class{constructor(){this._buffer=""}filePath(){return YE(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[TA.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${TA.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield CN(e,xE.constants.R_OK|xE.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,t,r={}){let s=Object.entries(r).map(([i,n])=>` ${i}="${n}"`).join("");return t?`<${e}${s}>${t}</${e}>`:`<${e}${s}>`}write(e){return YE(this,void 0,void 0,function*(){let t=!!e?.overwrite,r=yield this.filePath();return yield(t?IN:cN)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return YE(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,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(BN.EOL)}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,t=!1){let r=t?"ol":"ul",s=e.map(n=>this.wrap("li",n)).join(""),i=this.wrap(r,s);return this.addRaw(i).addEOL()}addTable(e){let t=e.map(s=>{let i=s.map(n=>{if(typeof n=="string")return this.wrap("td",n);let{header:o,data:g,colspan:E,rowspan:Q}=n,a=o?"th":"td",B=Object.assign(Object.assign({},E&&{colspan:E}),Q&&{rowspan:Q});return this.wrap(a,g,B)}).join("");return this.wrap("tr",i)}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){let{width:s,height:i}=r||{},n=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),o=this.wrap("img",null,Object.assign({src:e,alt:t},n));return this.addRaw(o).addEOL()}addHeading(e,t){let r=`h${t}`,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,t){let r=Object.assign({},t&&{cite:t}),s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}},Al=new JE;TA.markdownSummary=Al;TA.summary=Al});var el=I(HA=>{"use strict";var hN=HA&&HA.__createBinding||(Object.create?(function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}):(function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]})),lN=HA&&HA.__setModuleDefault||(Object.create?(function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}):function(A,e){A.default=e}),uN=HA&&HA.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&hN(e,A,t);return lN(e,A),e};Object.defineProperty(HA,"__esModule",{value:!0});HA.toPlatformPath=HA.toWin32Path=HA.toPosixPath=void 0;var dN=uN(require("path"));function fN(A){return A.replace(/[\\]/g,"/")}HA.toPosixPath=fN;function yN(A){return A.replace(/[/]/g,"\\")}HA.toWin32Path=yN;function wN(A){return A.replace(/[/\\]/g,dN.sep)}HA.toPlatformPath=wN});var HE=I(D=>{"use strict";var DN=D&&D.__createBinding||(Object.create?(function(A,e,t,r){r===void 0&&(r=t),Object.defineProperty(A,r,{enumerable:!0,get:function(){return e[t]}})}):(function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]})),pN=D&&D.__setModLine truncated
`);return{name:e,version:t}});G.platform=yl.default.platform();G.arch=yl.default.arch();G.isWindows=G.platform==="win32";G.isMacOS=G.platform==="darwin";G.isLinux=G.platform==="linux";function eb(){return dn(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield G.isWindows?zN():G.isMacOS?$N():Ab()),{platform:G.platform,arch:G.arch,isWindows:G.isWindows,isMacOS:G.isMacOS,isLinux:G.isLinux})})}G.getDetails=eb});var ME=I(w=>{"use strict";var tb=w&&w.__createBinding||(Object.create?(function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}):(function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]})),rb=w&&w.__setModuleDefault||(Object.create?(function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}):function(A,e){A.default=e}),OE=w&&w.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&tb(e,A,t);return rb(e,A),e},Dl=w&&w.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(a){n(a)}}function g(Q){try{E(r.throw(Q))}catch(a){n(a)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(w,"__esModule",{value:!0});w.platform=w.toPlatformPath=w.toWin32Path=w.toPosixPath=w.markdownSummary=w.summary=w.getIDToken=w.getState=w.saveState=w.group=w.endGroup=w.startGroup=w.info=w.notice=w.warning=w.error=w.debug=w.isDebug=w.setFailed=w.setCommandEcho=w.setOutput=w.getBooleanInput=w.getMultilineInput=w.getInput=w.addPath=w.setSecret=w.exportVariable=w.ExitCode=void 0;var Ce=zE(),Lt=eQ(),Nr=fs(),pl=OE(require("os")),sb=OE(require("path")),ib=$h(),WE;(function(A){A[A.Success=0]="Success",A[A.Failure=1]="Failure"})(WE||(w.ExitCode=WE={}));function nb(A,e){let t=(0,Nr.toCommandValue)(e);if(process.env[A]=t,process.env.GITHUB_ENV||"")return(0,Lt.issueFileCommand)("ENV",(0,Lt.prepareKeyValueMessage)(A,e));(0,Ce.issueCommand)("set-env",{name:A},t)}w.exportVariable=nb;function ob(A){(0,Ce.issueCommand)("add-mask",{},A)}w.setSecret=ob;function gb(A){process.env.GITHUB_PATH||""?(0,Lt.issueFileCommand)("PATH",A):(0,Ce.issueCommand)("add-path",{},A),process.env.PATH=`${A}${sb.delimiter}${process.env.PATH}`}w.addPath=gb;function PE(A,e){let t=process.env[`INPUT_${A.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!t)throw new Error(`Input required and not supplied: ${A}`);return e&&e.trimWhitespace===!1?t:t.trim()}w.getInput=PE;function Eb(A,e){let t=PE(A,e).split(`
`).filter(r=>r!=="");return e&&e.trimWhitespace===!1?t:t.map(r=>r.trim())}w.getMultilineInput=Eb;function Qb(A,e){let t=["true","True","TRUE"],r=["false","False","FALSE"],s=PE(A,e);if(t.includes(s))return!0;if(r.includes(s))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${A}
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}w.getBooleanInput=Qb;function ab(A,e){if(process.env.GITHUB_OUTPUT||"")return(0,Lt.issueFileCommand)("OUTPUT",(0,Lt.prepareKeyValueMessage)(A,e));process.stdout.write(pl.EOL),(0,Ce.issueCommand)("set-output",{name:A},(0,Nr.toCommandValue)(e))}w.setOutput=ab;function Bb(A){(0,Ce.issue)("echo",A?"on":"off")}w.setCommandEcho=Bb;function Cb(A){process.exitCode=WE.Failure,Rl(A)}w.setFailed=Cb;function cb(){return process.env.RUNNER_DEBUG==="1"}w.isDebug=cb;function Ib(A){(0,Ce.issueCommand)("debug",{},A)}w.debug=Ib;function Rl(A,e={}){(0,Ce.issueCommand)("error",(0,Nr.toCommandProperties)(e),A instanceof Error?A.toString():A)}w.error=Rl;function hb(A,e={}){(0,Ce.issueCommand)("warning",(0,Nr.toCommandProperties)(e),A instanceof Error?A.toString():A)}w.warning=hb;function lb(A,e={}){(0,Ce.issueCommand)("notice",(0,Nr.toCommandProperties)(e),A instanceof Error?A.toString():A)}w.notice=lb;function ub(A){process.stdout.write(A+pl.EOL)}w.info=ub;function kl(A){(0,Ce.issue)("group",A)}w.startGroup=kl;function Fl(){(0,Ce.issue)("endgroup")}w.endGroup=Fl;function db(A,e){return Dl(this,void 0,void 0,function*(){kl(A);let t;try{t=yield e()}finally{Fl()}return t})}w.group=db;function fb(A,e){if(process.env.GITHUB_STATE||"")return(0,Lt.issueFileCommand)("STATE",(0,Lt.prepareKeyValueMessage)(A,e));(0,Ce.issueCommand)("save-state",{name:A},(0,Nr.toCommandValue)(e))}w.saveState=fb;function yb(A){return process.env[`STATE_${A}`]||""}w.getState=yb;function wb(A){return Dl(this,void 0,void 0,function*(){return yield ib.OidcClient.getIDToken(A)})}w.getIDToken=wb;var Db=GE();Object.defineProperty(w,"summary",{enumerable:!0,get:function(){return Db.summary}});var pb=GE();Object.defineProperty(w,"markdownSummary",{enumerable:!0,get:function(){return pb.markdownSummary}});var _E=el();Object.defineProperty(w,"toPosixPath",{enumerable:!0,get:function(){return _E.toPosixPath}});Object.defineProperty(w,"toWin32Path",{enumerable:!0,get:function(){return _E.toWin32Path}});Object.defineProperty(w,"toPlatformPath",{enumerable:!0,get:function(){return _E.toPlatformPath}});w.platform=OE(wl())});var Ke=xl(ME());async function Nl(A,e){let t=`https://api.github.com/repos/${A}/releases/latest`,r={Accept:"application/vnd.github.v3+json","User-Agent":"setup-github-release-action"};e&&(r.Authorization=`token ${e}`);let s=await fetch(t,{headers:r});if(!s.ok){let i=await s.text();throw new Error(`Failed to fetch latest release for ${A}: ${s.statusText}. ${i}`)}return await s.json()}async function Rb(){try{let A=Ke.getInput("repository")||"actions/checkout",e=Ke.getInput("token")||process.env.GITHUB_TOKEN;if(!e){Ke.setFailed("No GitHub token provided as an input or found in GITHUB_TOKEN environment variable.");return}Ke.info(`Verifying GitHub token using repository ${A}...`),await Nl(A,e),Ke.info("Success: The provided GitHub token is valid and has sufficient permissions to access the repository.")}catch(A){Ke.setFailed(`GitHub token verification failed. Reason: ${A.message}`)}}Rb();
/*! Bundled license information:
undici/lib/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
*/