mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-05 03:42:51 +00:00
chore(release): 45.0.2 [skip ci]
This commit is contained in:
1 parent
a806380329
commit
5d135bbcab
3 files changed
+45
-45
No files matched your search
Vendored
+40
-40
@@ -1,64 +1,64 @@
|
||||
var Hl=Object.create;var oQ=Object.defineProperty;var Vl=Object.getOwnPropertyDescriptor;var ql=Object.getOwnPropertyNames;var Ol=Object.getPrototypeOf,Wl=Object.prototype.hasOwnProperty;var I=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(A,t)=>(typeof require<"u"?require:A)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Pl=(e,A)=>()=>(e&&(A=e(e=0)),A);var l=(e,A)=>()=>(A||e((A={exports:{}}).exports,A),A.exports);var _l=(e,A,t,r)=>{if(A&&typeof A=="object"||typeof A=="function")for(let s of ql(A))!Wl.call(e,s)&&s!==t&&oQ(e,s,{get:()=>A[s],enumerable:!(r=Vl(A,s))||r.enumerable});return e};var Ds=(e,A,t)=>(t=e!=null?Hl(Ol(e)):{},_l(A||!e||!e.__esModule?oQ(t,"default",{value:e,enumerable:!0}):t,e));import{createRequire as Zl}from"node:module";import Xl from"node:path";import Kl from"node:url";var a=Pl(()=>{"use strict";globalThis.require=Zl(import.meta.url);globalThis.__filename=Kl.fileURLToPath(import.meta.url);globalThis.__dirname=Xl.dirname(__filename)});var Rs=l(ps=>{"use strict";a();Object.defineProperty(ps,"__esModule",{value:!0});ps.toCommandValue=jl;ps.toCommandProperties=zl;function jl(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}function zl(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}});var aQ=l(we=>{"use strict";a();var $l=we&&we.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,s)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),Au=we&&we.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),eu=we&&we.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[r.length]=s);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),s=0;s<r.length;s++)r[s]!=="default"&&$l(t,A,r[s]);return Au(t,A),t}})();Object.defineProperty(we,"__esModule",{value:!0});we.issueCommand=QQ;we.issue=ru;var tu=eu(I("os")),EQ=Rs();function QQ(e,A,t){let r=new Ui(e,A,t);process.stdout.write(r.toString()+tu.EOL)}function ru(e,A=""){QQ(e,{},A)}var gQ="::",Ui=class{constructor(A,t,r){A||(A="missing.command"),this.command=A,this.properties=t,this.message=r}toString(){let A=gQ+this.command;if(this.properties&&Object.keys(this.properties).length>0){A+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(t?t=!1:A+=",",A+=`${r}=${nu(s)}`)}}return A+=`${gQ}${su(this.message)}`,A}};function su(e){return(0,EQ.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function nu(e){return(0,EQ.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var CQ=l(De=>{"use strict";a();var iu=De&&De.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,s)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),ou=De&&De.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),Mi=De&&De.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[r.length]=s);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),s=0;s<r.length;s++)r[s]!=="default"&&iu(t,A,r[s]);return ou(t,A),t}})();Object.defineProperty(De,"__esModule",{value:!0});De.issueFileCommand=Eu;De.prepareKeyValueMessage=Qu;var gu=Mi(I("crypto")),BQ=Mi(I("fs")),Li=Mi(I("os")),cQ=Rs();function Eu(e,A){let t=process.env[`GITHUB_${e}`];if(!t)throw new Error(`Unable to find environment variable for file command ${e}`);if(!BQ.existsSync(t))throw new Error(`Missing file at path: ${t}`);BQ.appendFileSync(t,`${(0,cQ.toCommandValue)(A)}${Li.EOL}`,{encoding:"utf8"})}function Qu(e,A){let t=`ghadelimiter_${gu.randomUUID()}`,r=(0,cQ.toCommandValue)(A);if(e.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`${e}<<${t}${Li.EOL}${r}${Li.EOL}${t}`}});var hQ=l(Fs=>{"use strict";a();Object.defineProperty(Fs,"__esModule",{value:!0});Fs.getProxyUrl=au;Fs.checkBypass=IQ;function au(e){let A=e.protocol==="https:";if(IQ(e))return;let t=A?process.eLine truncated
|
||||
`,B.message,B.stack);var c=new Error("tunneling socket could not be established, cause="+B.message);c.code="ECONNRESET",A.request.emit("error",c),r.removeSocket(s)}};Te.prototype.removeSocket=function(A){var t=this.sockets.indexOf(A);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function uQ(e,A){var t=this;Te.prototype.createSocket.call(t,e,function(r){var s=e.request.getHeader("host"),n=xi({},t.options,{socket:r,servername:s?s.replace(/:.*$/,""):e.host}),i=cu.connect(0,n);t.sockets[t.sockets.indexOf(r)]=i,A(i)})}function dQ(e,A,t){return typeof e=="string"?{host:e,port:A,localAddress:t}:e}function xi(e){for(var A=1,t=arguments.length;A<t;++A){var r=arguments[A];if(typeof r=="object")for(var s=Object.keys(r),n=0,i=s.length;n<i;++n){var o=s[n];r[o]!==void 0&&(e[o]=r[o])}}return e}var At;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?At=function(){var e=Array.prototype.slice.call(arguments);typeof e[0]=="string"?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:At=function(){};xt.debug=At});var wQ=l((rb,yQ)=>{"use strict";a();yQ.exports=fQ()});var K=l((nb,DQ)=>{"use strict";a();DQ.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 _=l((ob,pQ)=>{"use strict";a();var iA=class extends Error{constructor(A){super(A),this.name="UndiciError",this.code="UND_ERR"}},Ji=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="ConnectTimeoutError",this.message=A||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Gi=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="HeadersTimeoutError",this.message=A||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},Ti=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="HeadersOverflowError",this.message=A||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},vi=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="BodyTimeoutError",this.message=A||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Hi=class e extends iA{constructor(A,t,r,s){super(A),Error.captureStackTrace(this,e),this.name="ResponseStatusCodeError",this.message=A||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=t,this.statusCode=t,this.headers=r}},Vi=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="InvalidArgumentError",this.message=A||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},qi=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="InvalidReturnValueError",this.message=A||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},Oi=class e extends iA{constructor(A){super(A),Error.captureStackTrace(this,e),t
Line truncated
|
||||
var Bu=Object.create;var fQ=Object.defineProperty;var Cu=Object.getOwnPropertyDescriptor;var Iu=Object.getOwnPropertyNames;var hu=Object.getPrototypeOf,lu=Object.prototype.hasOwnProperty;var h=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(A,t)=>(typeof require<"u"?require:A)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var uu=(e,A)=>()=>(e&&(A=e(e=0)),A);var l=(e,A)=>()=>(A||e((A={exports:{}}).exports,A),A.exports);var du=(e,A,t,r)=>{if(A&&typeof A=="object"||typeof A=="function")for(let i of Iu(A))!lu.call(e,i)&&i!==t&&fQ(e,i,{get:()=>A[i],enumerable:!(r=Cu(A,i))||r.enumerable});return e};var Tn=(e,A,t)=>(t=e!=null?Bu(hu(e)):{},du(A||!e||!e.__esModule?fQ(t,"default",{value:e,enumerable:!0}):t,e));import{createRequire as fu}from"node:module";import yu from"node:path";import wu from"node:url";var a=uu(()=>{"use strict";globalThis.require=fu(import.meta.url);globalThis.__filename=wu.fileURLToPath(import.meta.url);globalThis.__dirname=yu.dirname(__filename)});var Fi=l(mi=>{"use strict";a();Object.defineProperty(mi,"__esModule",{value:!0});mi.toCommandValue=pu;mi.toCommandProperties=Du;function pu(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}function Du(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}});var DQ=l(we=>{"use strict";a();var Ru=we&&we.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(A,t);(!i||("get"in i?!A.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,i)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),ku=we&&we.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),mu=we&&we.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),i=0;i<r.length;i++)r[i]!=="default"&&Ru(t,A,r[i]);return ku(t,A),t}})();Object.defineProperty(we,"__esModule",{value:!0});we.issueCommand=pQ;we.issue=Nu;var Fu=mu(h("os")),wQ=Fi();function pQ(e,A,t){let r=new vn(e,A,t);process.stdout.write(r.toString()+Fu.EOL)}function Nu(e,A=""){pQ(e,{},A)}var yQ="::",vn=class{constructor(A,t,r){A||(A="missing.command"),this.command=A,this.properties=t,this.message=r}toString(){let A=yQ+this.command;if(this.properties&&Object.keys(this.properties).length>0){A+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let i=this.properties[r];i&&(t?t=!1:A+=",",A+=`${r}=${Su(i)}`)}}return A+=`${yQ}${bu(this.message)}`,A}};function bu(e){return(0,wQ.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Su(e){return(0,wQ.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var mQ=l(pe=>{"use strict";a();var Uu=pe&&pe.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(A,t);(!i||("get"in i?!A.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,i)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),Lu=pe&&pe.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),Vn=pe&&pe.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),i=0;i<r.length;i++)r[i]!=="default"&&Uu(t,A,r[i]);return Lu(t,A),t}})();Object.defineProperty(pe,"__esModule",{value:!0});pe.issueFileCommand=xu;pe.prepareKeyValueMessage=Yu;var Mu=Vn(h("crypto")),RQ=Vn(h("fs")),Hn=Vn(h("os")),kQ=Fi();function xu(e,A){let t=process.env[`GITHUB_${e}`];if(!t)throw new Error(`Unable to find environment variable for file command ${e}`);if(!RQ.existsSync(t))throw new Error(`Missing file at path: ${t}`);RQ.appendFileSync(t,`${(0,kQ.toCommandValue)(A)}${Hn.EOL}`,{encoding:"utf8"})}function Yu(e,A){let t=`ghadelimiter_${Mu.randomUUID()}`,r=(0,kQ.toCommandValue)(A);if(e.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`${e}<<${t}${Hn.EOL}${r}${Hn.EOL}${t}`}});var NQ=l(bi=>{"use strict";a();Object.defineProperty(bi,"__esModule",{value:!0});bi.getProxyUrl=Ju;bi.checkBypass=FQ;function Ju(e){let A=e.protocol==="https:";if(FQ(e))return;let t=A?process.eLine truncated
|
||||
`,c.message,c.stack);var B=new Error("tunneling socket could not be established, cause="+c.message);B.code="ECONNRESET",A.request.emit("error",B),r.removeSocket(i)}};ve.prototype.removeSocket=function(A){var t=this.sockets.indexOf(A);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(i){r.request.onSocket(i)})}};function SQ(e,A){var t=this;ve.prototype.createSocket.call(t,e,function(r){var i=e.request.getHeader("host"),s=On({},t.options,{socket:r,servername:i?i.replace(/:.*$/,""):e.host}),n=Tu.connect(0,s);t.sockets[t.sockets.indexOf(r)]=n,A(n)})}function UQ(e,A,t){return typeof e=="string"?{host:e,port:A,localAddress:t}:e}function On(e){for(var A=1,t=arguments.length;A<t;++A){var r=arguments[A];if(typeof r=="object")for(var i=Object.keys(r),s=0,n=i.length;s<n;++s){var o=i[s];r[o]!==void 0&&(e[o]=r[o])}}return e}var et;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?et=function(){var e=Array.prototype.slice.call(arguments);typeof e[0]=="string"?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:et=function(){};Tt.debug=et});var xQ=l((Vb,MQ)=>{"use strict";a();MQ.exports=LQ()});var K=l((Ob,YQ)=>{"use strict";a();YQ.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 _=l((Pb,JQ)=>{"use strict";a();var nA=class extends Error{constructor(A){super(A),this.name="UndiciError",this.code="UND_ERR"}},Wn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="ConnectTimeoutError",this.message=A||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Pn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="HeadersTimeoutError",this.message=A||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},_n=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="HeadersOverflowError",this.message=A||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},Zn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="BodyTimeoutError",this.message=A||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Xn=class e extends nA{constructor(A,t,r,i){super(A),Error.captureStackTrace(this,e),this.name="ResponseStatusCodeError",this.message=A||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=t,this.statusCode=t,this.headers=r}},Kn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="InvalidArgumentError",this.message=A||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},jn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),this.name="InvalidReturnValueError",this.message=A||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},zn=class e extends nA{constructor(A){super(A),Error.captureStackTrace(this,e),t
Line truncated
|
||||
\r
|
||||
`),nd=/\r\n/g,id=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Gt(e){_Q.call(this),e=e||{};let A=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=PQ(e,"maxHeaderPairs",2e3),this.maxHeaderSize=PQ(e,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new rd(sd),this.ss.on("info",function(t,r,s,n){r&&!A.maxed&&(A.nread+n-s>=A.maxHeaderSize?(n=A.maxHeaderSize-A.nread+s,A.nread=A.maxHeaderSize,A.maxed=!0):A.nread+=n-s,A.buffer+=r.toString("binary",s,n)),t&&A._finish()})}td(Gt,_Q);Gt.prototype.push=function(e){let A=this.ss.push(e);if(this.finished)return A};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 e=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",e)};Gt.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let e=this.buffer.split(nd),A=e.length,t,r;for(var s=0;s<A;++s){if(e[s].length===0)continue;if((e[s][0]===" "||e[s][0]===" ")&&r){this.header[r][this.header[r].length-1]+=e[s];continue}let n=e[s].indexOf(":");if(n===-1||n===0)return;if(t=id.exec(e[s]),r=t[1].toLowerCase(),this.header[r]=this.header[r]||[],this.header[r].push(t[2]||""),++this.npairs===this.maxHeaderPairs)break}};ZQ.exports=Gt});var Eo=l((Db,jQ)=>{"use strict";a();var go=I("node:stream").Writable,od=I("node:util").inherits,gd=io(),KQ=OQ(),Ed=XQ(),Qd=45,ad=Buffer.from("-"),Bd=Buffer.from(`\r
|
||||
`),cd=function(){};function ce(e){if(!(this instanceof ce))return new ce(e);if(go.call(this,e),!e||!e.headerFirst&&typeof e.boundary!="string")throw new TypeError("Boundary required");typeof e.boundary=="string"?this.setBoundary(e.boundary):this._bparser=void 0,this._headerFirst=e.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:e.partHwm},this._pause=!1;let A=this;this._hparser=new Ed(e),this._hparser.on("header",function(t){A._inHeader=!1,A._part.emit("header",t)})}od(ce,go);ce.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){let A=this;process.nextTick(function(){if(A.emit("error",new Error("Unexpected end of multipart data")),A._part&&!A._ignoreData){let t=A._isPreamble?"Preamble":"Part";A._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data")),A._part.push(null),process.nextTick(function(){A._realFinish=!0,A.emit("finish"),A._realFinish=!1});return}A._realFinish=!0,A.emit("finish"),A._realFinish=!1})}}else go.prototype.emit.apply(this,arguments)};ce.prototype._write=function(e,A,t){if(!this._hparser&&!this._bparser)return t();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new KQ(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let r=this._hparser.push(e);if(!this._inHeader&&r!==void 0&&r<e.length)e=e.slice(r);else return t()}this._firstWrite&&(this._bparser.push(Bd),this._firstWrite=!1),this._bparser.push(e),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(e){let A=this;this._bparser=new gd(`\r
|
||||
--`+e),this._bparser.on("info",function(t,r,s,n){A._oninfo(t,r,s,n)})};ce.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",cd),this._part.resume())};ce.prototype._oninfo=function(e,A,t,r){let s,n=this,i=0,o,g=!0;if(!this._part&&this._justMatched&&A){for(;this._dashes<2&&t+i<r;)if(A[t+i]===Qd)++i,++this._dashes;else{this._dashes&&(s=ad),this._dashes=0;break}if(this._dashes===2&&(t+i<r&&this.listenerCount("trailer")!==0&&this.emit("trailer",A.slice(t+i,r)),this.reset(),this._finished=!0,n._parts===0&&(n._realFinish=!0,n.emit("finish"),n._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new KQ(this._partOpts),this._part._read=function(E){n._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)),A&&t<r&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(s&&(g=this._part.push(s)),g=this._part.push(A.slice(t,r)),g||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(s&&this._hparser.push(s),o=this._hparser.push(A.slice(t,r)),!this._inHeader&&o!==void 0&&o<r&&this._oninfo(!1,A,t+o,r))),e&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:t!==r&&(++this._parts,this._part.on("end",function(){--n._parts===0&&(n._finished?(n._realFinish=!0,n.emit("finish"),n._realFinish=!1):n._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 e=this._cb;this._cb=void 0,e()}};jQ.exports=ce});var Ls=l((Qo,Aa)=>{"use strict";a();var zQ=new TextDecoder("utf-8"),$Q=new Map([["utf-8",zQ],["utf8",zQ]]);function Cd(e){let A;for(;;)switch(e){case"utf-8":case"utf8":return Lr.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 Lr.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Lr.utf16le;case"base64":return Lr.base64;default:if(A===void 0){A=!0,e=e.toLowerCase();continue}return Lr.other.bind(e)}}var Lr={utf8:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.utf8Slice(0,e.length)),latin1:(e,A)=>e.length===0?"":typeof e=="string"?e:e.latin1Slice(0,e.length),utf16le:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.ucs2Slice(0,e.length)),base64:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.base64Slice(0,e.length)),other:(e,A)=>{if(e.length===0)return"";if(typeof e=="string"&&(e=Buffer.from(e,A)),$Q.has(Qo.toString()))try{return $Q.get(Qo).decode(e)}catch{}return typeof e=="string"?e:e.toString()}};function Id(e,A,t){return e&&Cd(t)(e,A)}Aa.exports=Id});var Bo=l((kb,na)=>{"use strict";a();var Ms=Ls(),ea=/%[a-fA-F0-9][a-fA-F0-9]/g,hd={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
|
||||
`),Sd=/\r\n/g,Ud=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Ht(e){na.call(this),e=e||{};let A=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=sa(e,"maxHeaderPairs",2e3),this.maxHeaderSize=sa(e,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new Nd(bd),this.ss.on("info",function(t,r,i,s){r&&!A.maxed&&(A.nread+s-i>=A.maxHeaderSize?(s=A.maxHeaderSize-A.nread+i,A.nread=A.maxHeaderSize,A.maxed=!0):A.nread+=s-i,A.buffer+=r.toString("binary",i,s)),t&&A._finish()})}Fd(Ht,na);Ht.prototype.push=function(e){let A=this.ss.push(e);if(this.finished)return A};Ht.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};Ht.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let e=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",e)};Ht.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let e=this.buffer.split(Sd),A=e.length,t,r;for(var i=0;i<A;++i){if(e[i].length===0)continue;if((e[i][0]===" "||e[i][0]===" ")&&r){this.header[r][this.header[r].length-1]+=e[i];continue}let s=e[i].indexOf(":");if(s===-1||s===0)return;if(t=Ud.exec(e[i]),r=t[1].toLowerCase(),this.header[r]=this.header[r]||[],this.header[r].push(t[2]||""),++this.npairs===this.maxHeaderPairs)break}};oa.exports=Ht});var lo=l((gS,Qa)=>{"use strict";a();var ho=h("node:stream").Writable,Ld=h("node:util").inherits,Md=Co(),Ea=ra(),xd=ga(),Yd=45,Jd=Buffer.from("-"),Gd=Buffer.from(`\r
|
||||
`),Td=function(){};function Be(e){if(!(this instanceof Be))return new Be(e);if(ho.call(this,e),!e||!e.headerFirst&&typeof e.boundary!="string")throw new TypeError("Boundary required");typeof e.boundary=="string"?this.setBoundary(e.boundary):this._bparser=void 0,this._headerFirst=e.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:e.partHwm},this._pause=!1;let A=this;this._hparser=new xd(e),this._hparser.on("header",function(t){A._inHeader=!1,A._part.emit("header",t)})}Ld(Be,ho);Be.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){let A=this;process.nextTick(function(){if(A.emit("error",new Error("Unexpected end of multipart data")),A._part&&!A._ignoreData){let t=A._isPreamble?"Preamble":"Part";A._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data")),A._part.push(null),process.nextTick(function(){A._realFinish=!0,A.emit("finish"),A._realFinish=!1});return}A._realFinish=!0,A.emit("finish"),A._realFinish=!1})}}else ho.prototype.emit.apply(this,arguments)};Be.prototype._write=function(e,A,t){if(!this._hparser&&!this._bparser)return t();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new Ea(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let r=this._hparser.push(e);if(!this._inHeader&&r!==void 0&&r<e.length)e=e.slice(r);else return t()}this._firstWrite&&(this._bparser.push(Gd),this._firstWrite=!1),this._bparser.push(e),this._pause?this._cb=t:t()};Be.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};Be.prototype.setBoundary=function(e){let A=this;this._bparser=new Md(`\r
|
||||
--`+e),this._bparser.on("info",function(t,r,i,s){A._oninfo(t,r,i,s)})};Be.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",Td),this._part.resume())};Be.prototype._oninfo=function(e,A,t,r){let i,s=this,n=0,o,g=!0;if(!this._part&&this._justMatched&&A){for(;this._dashes<2&&t+n<r;)if(A[t+n]===Yd)++n,++this._dashes;else{this._dashes&&(i=Jd),this._dashes=0;break}if(this._dashes===2&&(t+n<r&&this.listenerCount("trailer")!==0&&this.emit("trailer",A.slice(t+n,r)),this.reset(),this._finished=!0,s._parts===0&&(s._realFinish=!0,s.emit("finish"),s._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new Ea(this._partOpts),this._part._read=function(E){s._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)),A&&t<r&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(i&&(g=this._part.push(i)),g=this._part.push(A.slice(t,r)),g||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(i&&this._hparser.push(i),o=this._hparser.push(A.slice(t,r)),!this._inHeader&&o!==void 0&&o<r&&this._oninfo(!1,A,t+o,r))),e&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:t!==r&&(++this._parts,this._part.on("end",function(){--s._parts===0&&(s._finished?(s._realFinish=!0,s.emit("finish"),s._realFinish=!1):s._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};Be.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let e=this._cb;this._cb=void 0,e()}};Qa.exports=Be});var Yi=l((uo,Ba)=>{"use strict";a();var aa=new TextDecoder("utf-8"),ca=new Map([["utf-8",aa],["utf8",aa]]);function vd(e){let A;for(;;)switch(e){case"utf-8":case"utf8":return Yr.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 Yr.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Yr.utf16le;case"base64":return Yr.base64;default:if(A===void 0){A=!0,e=e.toLowerCase();continue}return Yr.other.bind(e)}}var Yr={utf8:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.utf8Slice(0,e.length)),latin1:(e,A)=>e.length===0?"":typeof e=="string"?e:e.latin1Slice(0,e.length),utf16le:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.ucs2Slice(0,e.length)),base64:(e,A)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,A)),e.base64Slice(0,e.length)),other:(e,A)=>{if(e.length===0)return"";if(typeof e=="string"&&(e=Buffer.from(e,A)),ca.has(uo.toString()))try{return ca.get(uo).decode(e)}catch{}return typeof e=="string"?e:e.toString()}};function Hd(e,A,t){return e&&vd(t)(e,A)}Ba.exports=Hd});var yo=l((aS,ua)=>{"use strict";a();var Ji=Yi(),Ca=/%[a-fA-F0-9][a-fA-F0-9]/g,Vd={"%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 hf(e,A){let{headersList:t}=A,r=(t.get("referrer-policy")??"").split(","),s="";if(r.length>0)for(let n=r.length;n!==0;n--){let i=r[n-1].trim();if(ef.has(i)){s=i;break}}s!==""&&(e.referrerPolicy=s)}function lf(){return"allowed"}function uf(){return"success"}function df(){return"success"}function ff(e){let A=null;A=e.mode,e.headersList.set("sec-fetch-mode",A)}function yf(e){let A=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket")A&&e.headersList.append("origin",A);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":A=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&yo(e.origin)&&!yo(xr(e))&&(A=null);break;case"same-origin":Ts(e,xr(e))||(A=null);break;default:}A&&e.headersList.append("origin",A)}}function wf(e){return sf.now()}function Df(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function pf(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Rf(e){return{referrerPolicy:e.referrerPolicy}}function kf(e){let A=e.referrerPolicy;qt(A);let t=null;if(e.referrer==="client"){let o=rf();if(!o||o.origin==="null")return"no-referrer";t=new URL(o)}else e.referrer instanceof URL&&(t=e.referrer);let r=uo(t),s=uo(t,!0);r.toString().length>4096&&(r=s);let n=Ts(e,r),i=Yr(r)&&!Yr(e.url);switch(A){case"origin":return s??uo(t,!0);case"unsafe-url":return r;case"same-origin":return n?s:"no-referrer";case"origin-when-cross-origin":return n?r:s;case"strict-origin-when-cross-origin":{let o=xr(e);return Ts(r,o)?r:Yr(r)&&!Yr(o)?"no-referrer":s}default:return i?"no-referrer":s}}function uo(e,A){return qt(e instanceof URL),e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"?"no-referrer":(e.username="",e.password="",e.hash="",A&&(e.pathname="",e.search=""),e)}function Yr(e){if(!(e instanceof URL))return!1;if(e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="file:")return!0;return A(e.origin);function A(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 Ff(e,A){if(Gs===void 0)return!0;let t=Ua(A);if(t==="no metadata"||t.length===0)return!0;let r=mf(t),s=bf(t,r);for(let n of s){let i=n.algo,o=n.hash,g=Gs.createHash(i).update(e).digest("base64");if(g[g.length-1]==="="&&(g[g.length-2]==="="?g=g.slice(0,-2):g=g.slice(0,-1)),Sf(g,o))return!0}return!1}var Nf=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function Ua(e){let A=[],t=!0;for(let r of e.split(" ")){t=!1;let s=Nf.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let n=s.groups.algo.toLowerCase();Na.includes(n)&&A.push(s.groups)}return t===!0?"no metadata":A}function mf(e){let A=e[0].algo;if(A[3]==="5")return A;for(let t=1;t<e.length;++t){let r=e[t];if(r.algo[3]==="5"){A="sha512";break}else{if(A[3]==="3")continue;r.algo[3]==="3"&&(A="sha384")}}return A}function bf(e,A){if(e.length===1)return e;let t=0;for(let r=0;r<e.length;++r)e[r].algo===A&&(e[t++]=e[r]);return e.length=t,e}function Sf(e,A){if(e.length!==A.length)return!1;for(let t=0;t<e.length;++t)if(e[t]!==A[t]){if(e[t]==="+"&&A[t]==="-"||e[t]==="/"&&A[t]==="_")continue;return!1}return!0}function Uf(e){}function Ts(e,A){return e.origin===A.origin&&e.origin==="null"||e.protocol===A.protocol&&e.hostname===A.hostname&&e.port===A.port}function Lf(){let e,A;return{promise:new Promise((r,s)=>{e=r,A=s}),resolve:e,reject:A}}function Mf(e){return e.controller.state==="aborted"}function Yf(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}var wo={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(wo,null);function xf(e){return wo[e.toLowerCase()]??e}function Jf(e){let A=JSON.stringify(e);if(A===void 0)throw new TypeError("Value is not JSON serializable");return qt(typeof A=="string"),A}var Gf=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Tf(e,A,t){let r={index:0,kind:t,target:e},s={next(){if(Object.getPrototypeOf(this)!==s)throw new TypeError(`'next' called on an object that does not implement interface ${A} Iterator.`);let{index:n,kind:i,target:o}=r,g=o(),E=g.length;if(n>=E)return{value:void 0,done:!0};let Q=g[n];return r.index=n+1,vf(Q,i)},[Symbol.toStringTag]:`${A} Iterator`};return Object.setPrototypeOf(s,Gf),Object.setPrototypeOf({},s)}function vf(e,A){let t;switch(A){case"key":{t=e[0];break}case"value":{t=e[1];break}case"key+value":{t
Line truncated
|
||||
`||e===" "||e===" "}function Do(e,A=!0,t=!0){let r=0,s=e.length-1;if(A)for(;r<e.length&&Ta(e[r]);r++);if(t)for(;s>0&&Ta(e[s]);s--);return e.slice(r,s+1)}function va(e){return e==="\r"||e===`
|
||||
`||e===" "||e==="\f"||e===" "}function ny(e,A=!0,t=!0){let r=0,s=e.length-1;if(A)for(;r<e.length&&va(e[r]);r++);if(t)for(;s>0&&va(e[s]);s--);return e.slice(r,s+1)}Oa.exports={dataURLProcessor:ey,URLSerializer:Ha,collectASequenceOfCodePoints:Vs,collectASequenceOfCodePointsFast:Ot,stringPercentDecode:Va,parseMIMEType:po,collectAnHTTPQuotedString:qa,serializeAMimeType:sy}});var qs=l((Kb,Xa)=>{"use strict";a();var{Blob:_a,File:Wa}=I("buffer"),{types:Ro}=I("util"),{kState:WA}=He(),{isBlobLike:Za}=se(),{webidl:q}=kA(),{parseMIMEType:iy,serializeAMimeType:oy}=Ce(),{kEnumerableProperty:Pa}=T(),gy=new TextEncoder,Jr=class e extends _a{constructor(A,t,r={}){q.argumentLengthCheck(arguments,2,{header:"File constructor"}),A=q.converters["sequence<BlobPart>"](A),t=q.converters.USVString(t),r=q.converters.FilePropertyBag(r);let s=t,n=r.type,i;A:{if(n){if(n=iy(n),n==="failure"){n="";break A}n=oy(n).toLowerCase()}i=r.lastModified}super(Ey(A,r),{type:n}),this[WA]={name:s,lastModified:i,type:n}}get name(){return q.brandCheck(this,e),this[WA].name}get lastModified(){return q.brandCheck(this,e),this[WA].lastModified}get type(){return q.brandCheck(this,e),this[WA].type}},ko=class e{constructor(A,t,r={}){let s=t,n=r.type,i=r.lastModified??Date.now();this[WA]={blobLike:A,name:s,type:n,lastModified:i}}stream(...A){return q.brandCheck(this,e),this[WA].blobLike.stream(...A)}arrayBuffer(...A){return q.brandCheck(this,e),this[WA].blobLike.arrayBuffer(...A)}slice(...A){return q.brandCheck(this,e),this[WA].blobLike.slice(...A)}text(...A){return q.brandCheck(this,e),this[WA].blobLike.text(...A)}get size(){return q.brandCheck(this,e),this[WA].blobLike.size}get type(){return q.brandCheck(this,e),this[WA].blobLike.type}get name(){return q.brandCheck(this,e),this[WA].name}get lastModified(){return q.brandCheck(this,e),this[WA].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(Jr.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:Pa,lastModified:Pa});q.converters.Blob=q.interfaceConverter(_a);q.converters.BlobPart=function(e,A){if(q.util.Type(e)==="Object"){if(Za(e))return q.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||Ro.isAnyArrayBuffer(e))return q.converters.BufferSource(e,A)}return q.converters.USVString(e,A)};q.converters["sequence<BlobPart>"]=q.sequenceConverter(q.converters.BlobPart);q.converters.FilePropertyBag=q.dictionaryConverter([{key:"lastModified",converter:q.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:q.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>(e=q.converters.DOMString(e),e=e.toLowerCase(),e!=="native"&&(e="transparent"),e),defaultValue:"transparent"}]);function Ey(e,A){let t=[];for(let r of e)if(typeof r=="string"){let s=r;A.endings==="native"&&(s=Qy(s)),t.push(gy.encode(s))}else Ro.isAnyArrayBuffer(r)||Ro.isTypedArray(r)?r.buffer?t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength)):t.push(new Uint8Array(r)):Za(r)&&t.push(r);return t}function Qy(e){let A=`
|
||||
`,"%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 Vf(e,A){let{headersList:t}=A,r=(t.get("referrer-policy")??"").split(","),i="";if(r.length>0)for(let s=r.length;s!==0;s--){let n=r[s-1].trim();if(Ff.has(n)){i=n;break}}i!==""&&(e.referrerPolicy=i)}function qf(){return"allowed"}function Of(){return"success"}function Wf(){return"success"}function Pf(e){let A=null;A=e.mode,e.headersList.set("sec-fetch-mode",A)}function _f(e){let A=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket")A&&e.headersList.append("origin",A);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":A=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&No(e.origin)&&!No(Tr(e))&&(A=null);break;case"same-origin":Vi(e,Tr(e))||(A=null);break;default:}A&&e.headersList.append("origin",A)}}function Zf(e){return Sf.now()}function Xf(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function Kf(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function jf(e){return{referrerPolicy:e.referrerPolicy}}function zf(e){let A=e.referrerPolicy;Pt(A);let t=null;if(e.referrer==="client"){let o=bf();if(!o||o.origin==="null")return"no-referrer";t=new URL(o)}else e.referrer instanceof URL&&(t=e.referrer);let r=mo(t),i=mo(t,!0);r.toString().length>4096&&(r=i);let s=Vi(e,r),n=Gr(r)&&!Gr(e.url);switch(A){case"origin":return i??mo(t,!0);case"unsafe-url":return r;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?r:i;case"strict-origin-when-cross-origin":{let o=Tr(e);return Vi(r,o)?r:Gr(r)&&!Gr(o)?"no-referrer":i}default:return n?"no-referrer":i}}function mo(e,A){return Pt(e instanceof URL),e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"?"no-referrer":(e.username="",e.password="",e.hash="",A&&(e.pathname="",e.search=""),e)}function Gr(e){if(!(e instanceof URL))return!1;if(e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="file:")return!0;return A(e.origin);function A(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 $f(e,A){if(Hi===void 0)return!0;let t=Wa(A);if(t==="no metadata"||t.length===0)return!0;let r=ey(t),i=ty(t,r);for(let s of i){let n=s.algo,o=s.hash,g=Hi.createHash(n).update(e).digest("base64");if(g[g.length-1]==="="&&(g[g.length-2]==="="?g=g.slice(0,-2):g=g.slice(0,-1)),ry(g,o))return!0}return!1}var Ay=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function Wa(e){let A=[],t=!0;for(let r of e.split(" ")){t=!1;let i=Ay.exec(r);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();Ha.includes(s)&&A.push(i.groups)}return t===!0?"no metadata":A}function ey(e){let A=e[0].algo;if(A[3]==="5")return A;for(let t=1;t<e.length;++t){let r=e[t];if(r.algo[3]==="5"){A="sha512";break}else{if(A[3]==="3")continue;r.algo[3]==="3"&&(A="sha384")}}return A}function ty(e,A){if(e.length===1)return e;let t=0;for(let r=0;r<e.length;++r)e[r].algo===A&&(e[t++]=e[r]);return e.length=t,e}function ry(e,A){if(e.length!==A.length)return!1;for(let t=0;t<e.length;++t)if(e[t]!==A[t]){if(e[t]==="+"&&A[t]==="-"||e[t]==="/"&&A[t]==="_")continue;return!1}return!0}function iy(e){}function Vi(e,A){return e.origin===A.origin&&e.origin==="null"||e.protocol===A.protocol&&e.hostname===A.hostname&&e.port===A.port}function sy(){let e,A;return{promise:new Promise((r,i)=>{e=r,A=i}),resolve:e,reject:A}}function ny(e){return e.controller.state==="aborted"}function oy(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}var bo={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(bo,null);function gy(e){return bo[e.toLowerCase()]??e}function Ey(e){let A=JSON.stringify(e);if(A===void 0)throw new TypeError("Value is not JSON serializable");return Pt(typeof A=="string"),A}var Qy=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function ay(e,A,t){let r={index:0,kind:t,target:e},i={next(){if(Object.getPrototypeOf(this)!==i)throw new TypeError(`'next' called on an object that does not implement interface ${A} Iterator.`);let{index:s,kind:n,target:o}=r,g=o(),E=g.length;if(s>=E)return{value:void 0,done:!0};let Q=g[s];return r.index=s+1,cy(Q,n)},[Symbol.toStringTag]:`${A} Iterator`};return Object.setPrototypeOf(i,Qy),Object.setPrototypeOf({},i)}function cy(e,A){let t;switch(A){case"key":{t=e[0];break}case"value":{t=e[1];break}case"key+value":{t
Line truncated
|
||||
`||e===" "||e===" "}function So(e,A=!0,t=!0){let r=0,i=e.length-1;if(A)for(;r<e.length&&za(e[r]);r++);if(t)for(;i>0&&za(e[i]);i--);return e.slice(r,i+1)}function $a(e){return e==="\r"||e===`
|
||||
`||e===" "||e==="\f"||e===" "}function Sy(e,A=!0,t=!0){let r=0,i=e.length-1;if(A)for(;r<e.length&&$a(e[r]);r++);if(t)for(;i>0&&$a(e[i]);i--);return e.slice(r,i+1)}rc.exports={dataURLProcessor:my,URLSerializer:Ac,collectASequenceOfCodePoints:Wi,collectASequenceOfCodePointsFast:_t,stringPercentDecode:ec,parseMIMEType:Uo,collectAnHTTPQuotedString:tc,serializeAMimeType:by}});var Pi=l((xS,gc)=>{"use strict";a();var{Blob:nc,File:ic}=h("buffer"),{types:Lo}=h("util"),{kState:WA}=Ve(),{isBlobLike:oc}=ie(),{webidl:q}=kA(),{parseMIMEType:Uy,serializeAMimeType:Ly}=Ce(),{kEnumerableProperty:sc}=T(),My=new TextEncoder,vr=class e extends nc{constructor(A,t,r={}){q.argumentLengthCheck(arguments,2,{header:"File constructor"}),A=q.converters["sequence<BlobPart>"](A),t=q.converters.USVString(t),r=q.converters.FilePropertyBag(r);let i=t,s=r.type,n;A:{if(s){if(s=Uy(s),s==="failure"){s="";break A}s=Ly(s).toLowerCase()}n=r.lastModified}super(xy(A,r),{type:s}),this[WA]={name:i,lastModified:n,type:s}}get name(){return q.brandCheck(this,e),this[WA].name}get lastModified(){return q.brandCheck(this,e),this[WA].lastModified}get type(){return q.brandCheck(this,e),this[WA].type}},Mo=class e{constructor(A,t,r={}){let i=t,s=r.type,n=r.lastModified??Date.now();this[WA]={blobLike:A,name:i,type:s,lastModified:n}}stream(...A){return q.brandCheck(this,e),this[WA].blobLike.stream(...A)}arrayBuffer(...A){return q.brandCheck(this,e),this[WA].blobLike.arrayBuffer(...A)}slice(...A){return q.brandCheck(this,e),this[WA].blobLike.slice(...A)}text(...A){return q.brandCheck(this,e),this[WA].blobLike.text(...A)}get size(){return q.brandCheck(this,e),this[WA].blobLike.size}get type(){return q.brandCheck(this,e),this[WA].blobLike.type}get name(){return q.brandCheck(this,e),this[WA].name}get lastModified(){return q.brandCheck(this,e),this[WA].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(vr.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:sc,lastModified:sc});q.converters.Blob=q.interfaceConverter(nc);q.converters.BlobPart=function(e,A){if(q.util.Type(e)==="Object"){if(oc(e))return q.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||Lo.isAnyArrayBuffer(e))return q.converters.BufferSource(e,A)}return q.converters.USVString(e,A)};q.converters["sequence<BlobPart>"]=q.sequenceConverter(q.converters.BlobPart);q.converters.FilePropertyBag=q.dictionaryConverter([{key:"lastModified",converter:q.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:q.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>(e=q.converters.DOMString(e),e=e.toLowerCase(),e!=="native"&&(e="transparent"),e),defaultValue:"transparent"}]);function xy(e,A){let t=[];for(let r of e)if(typeof r=="string"){let i=r;A.endings==="native"&&(i=Yy(i)),t.push(My.encode(i))}else Lo.isAnyArrayBuffer(r)||Lo.isTypedArray(r)?r.buffer?t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength)):t.push(new Uint8Array(r)):oc(r)&&t.push(r);return t}function Yy(e){let A=`
|
||||
`;return process.platform==="win32"&&(A=`\r
|
||||
`),e.replace(/\r?\n/g,A)}function ay(e){return Wa&&e instanceof Wa||e instanceof Jr||e&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&e[Symbol.toStringTag]==="File"}Xa.exports={File:Jr,FileLike:ko,isFileLike:ay}});var Ws=l((zb,AB)=>{"use strict";a();var{isBlobLike:Os,toUSVString:By,makeIterator:Fo}=se(),{kState:wA}=He(),{File:$a,FileLike:Ka,isFileLike:cy}=qs(),{webidl:W}=kA(),{Blob:Cy,File:No}=I("buffer"),ja=No??$a,Wt=class e{constructor(A){if(A!==void 0)throw W.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[wA]=[]}append(A,t,r=void 0){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!Os(t))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");A=W.converters.USVString(A),t=Os(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?W.converters.USVString(r):void 0;let s=za(A,t,r);this[wA].push(s)}delete(A){W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),A=W.converters.USVString(A),this[wA]=this[wA].filter(t=>t.name!==A)}get(A){W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.get"}),A=W.converters.USVString(A);let t=this[wA].findIndex(r=>r.name===A);return t===-1?null:this[wA][t].value}getAll(A){return W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),A=W.converters.USVString(A),this[wA].filter(t=>t.name===A).map(t=>t.value)}has(A){return W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.has"}),A=W.converters.USVString(A),this[wA].findIndex(t=>t.name===A)!==-1}set(A,t,r=void 0){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!Os(t))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");A=W.converters.USVString(A),t=Os(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?By(r):void 0;let s=za(A,t,r),n=this[wA].findIndex(i=>i.name===A);n!==-1?this[wA]=[...this[wA].slice(0,n),s,...this[wA].slice(n+1).filter(i=>i.name!==A)]:this[wA].push(s)}entries(){return W.brandCheck(this,e),Fo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","key+value")}keys(){return W.brandCheck(this,e),Fo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","key")}values(){return W.brandCheck(this,e),Fo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","value")}forEach(A,t=globalThis){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof A!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[r,s]of this)A.apply(t,[s,r,this])}};Wt.prototype[Symbol.iterator]=Wt.prototype.entries;Object.defineProperties(Wt.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function za(e,A,t){if(e=Buffer.from(e).toString("utf8"),typeof A=="string")A=Buffer.from(A).toString("utf8");else if(cy(A)||(A=A instanceof Cy?new ja([A],"blob",{type:A.type}):new Ka(A,"blob",{type:A.type})),t!==void 0){let r={type:A.type,lastModified:A.lastModified};A=No&&A instanceof No||A instanceof $a?new ja([A],t,r):new Ka(A,t,r)}return{name:e,value:A}}AB.exports={FormData:Wt}});var Gr=l((AS,EB)=>{"use strict";a();var Iy=ua(),Pt=T(),{ReadableStreamFrom:hy,isBlobLike:eB,isReadableStreamLike:ly,readableStreamClose:uy,createDeferredPromise:dy,fullyReadBody:fy}=se(),{FormData:tB}=Ws(),{kState:qe}=He(),{webidl:mo}=kA(),{DOMException:nB,structuredClone:yy}=rt(),{Blob:wy,File:Dy}=I("buffer"),{kBodyUsed:py}=K(),bo=I("assert"),{isErrored:Ry}=T(),{isUint8Array:iB,isArrayBuffer:ky}=I("util/types"),{File:Fy}=qs(),{parseMIMEType:Ny,serializeAMimeType:my}=Ce(),So;try{let e=I("node:crypto");So=A=>e.randomInt(0,A)}catch{So=e=>Math.floor(Math.random(e))}var Ve=globalThis.ReadableStream,rB=Dy??Fy,Ps=new TextEncoder,by=new TextDecoder;function oB(e,A=!1){Ve||(Ve=I("stream/web").ReadableStream);let t=null;e instanceof Ve?t=e:eB(e)?t=e.stream():t=new Ve({async pull(g){g.enqueue(typeof s=="string"?Ps.encode(s):s),queueMicrotask(()=>uy(g))},start(){},type:void 0}),bo(ly(t));let r=null,s=null,n=null,i=null;if(typeof e=="string")s=e,i="text/plain;charset=UTF-8";else if(e instanceof URLSearchParams)s=e.toString(),i="application/x-www-form-urlencoded;charset=UTF-8";else if(ky(e))s=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))s=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(Pt.isFormDataLike(e)){let g=`----formdata-undici-0${`${So(1e11)}`.padStart(11,"0")}`,E=`--${g}\r
|
||||
Content-Disposition: form-data`;let Q=u=>u.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),B=u=>u.replace(/\r?\n|\r/g,`\r
|
||||
`),c=[],h=new Uint8Array([13,10]);n=0;let C=!1;for(let[u,y]of e)if(typeof y=="string"){let p=Ps.encode(E+`; name="${Q(B(u))}"\r
|
||||
`),e.replace(/\r?\n/g,A)}function Jy(e){return ic&&e instanceof ic||e instanceof vr||e&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&e[Symbol.toStringTag]==="File"}gc.exports={File:vr,FileLike:Mo,isFileLike:Jy}});var Zi=l((JS,Bc)=>{"use strict";a();var{isBlobLike:_i,toUSVString:Gy,makeIterator:xo}=ie(),{kState:wA}=Ve(),{File:cc,FileLike:Ec,isFileLike:Ty}=Pi(),{webidl:W}=kA(),{Blob:vy,File:Yo}=h("buffer"),Qc=Yo??cc,Zt=class e{constructor(A){if(A!==void 0)throw W.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[wA]=[]}append(A,t,r=void 0){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!_i(t))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");A=W.converters.USVString(A),t=_i(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?W.converters.USVString(r):void 0;let i=ac(A,t,r);this[wA].push(i)}delete(A){W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),A=W.converters.USVString(A),this[wA]=this[wA].filter(t=>t.name!==A)}get(A){W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.get"}),A=W.converters.USVString(A);let t=this[wA].findIndex(r=>r.name===A);return t===-1?null:this[wA][t].value}getAll(A){return W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),A=W.converters.USVString(A),this[wA].filter(t=>t.name===A).map(t=>t.value)}has(A){return W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.has"}),A=W.converters.USVString(A),this[wA].findIndex(t=>t.name===A)!==-1}set(A,t,r=void 0){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!_i(t))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");A=W.converters.USVString(A),t=_i(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?Gy(r):void 0;let i=ac(A,t,r),s=this[wA].findIndex(n=>n.name===A);s!==-1?this[wA]=[...this[wA].slice(0,s),i,...this[wA].slice(s+1).filter(n=>n.name!==A)]:this[wA].push(i)}entries(){return W.brandCheck(this,e),xo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","key+value")}keys(){return W.brandCheck(this,e),xo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","key")}values(){return W.brandCheck(this,e),xo(()=>this[wA].map(A=>[A.name,A.value]),"FormData","value")}forEach(A,t=globalThis){if(W.brandCheck(this,e),W.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof A!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[r,i]of this)A.apply(t,[i,r,this])}};Zt.prototype[Symbol.iterator]=Zt.prototype.entries;Object.defineProperties(Zt.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function ac(e,A,t){if(e=Buffer.from(e).toString("utf8"),typeof A=="string")A=Buffer.from(A).toString("utf8");else if(Ty(A)||(A=A instanceof vy?new Qc([A],"blob",{type:A.type}):new Ec(A,"blob",{type:A.type})),t!==void 0){let r={type:A.type,lastModified:A.lastModified};A=Yo&&A instanceof Yo||A instanceof cc?new Qc([A],t,r):new Ec(A,t,r)}return{name:e,value:A}}Bc.exports={FormData:Zt}});var Hr=l((TS,wc)=>{"use strict";a();var Hy=Sa(),Xt=T(),{ReadableStreamFrom:Vy,isBlobLike:Cc,isReadableStreamLike:qy,readableStreamClose:Oy,createDeferredPromise:Wy,fullyReadBody:Py}=ie(),{FormData:Ic}=Zi(),{kState:Oe}=Ve(),{webidl:Jo}=kA(),{DOMException:uc,structuredClone:_y}=it(),{Blob:Zy,File:Xy}=h("buffer"),{kBodyUsed:Ky}=K(),Go=h("assert"),{isErrored:jy}=T(),{isUint8Array:dc,isArrayBuffer:zy}=h("util/types"),{File:$y}=Pi(),{parseMIMEType:Aw,serializeAMimeType:ew}=Ce(),To;try{let e=h("node:crypto");To=A=>e.randomInt(0,A)}catch{To=e=>Math.floor(Math.random(e))}var qe=globalThis.ReadableStream,hc=Xy??$y,Xi=new TextEncoder,tw=new TextDecoder;function fc(e,A=!1){qe||(qe=h("stream/web").ReadableStream);let t=null;e instanceof qe?t=e:Cc(e)?t=e.stream():t=new qe({async pull(g){g.enqueue(typeof i=="string"?Xi.encode(i):i),queueMicrotask(()=>Oy(g))},start(){},type:void 0}),Go(qy(t));let r=null,i=null,s=null,n=null;if(typeof e=="string")i=e,n="text/plain;charset=UTF-8";else if(e instanceof URLSearchParams)i=e.toString(),n="application/x-www-form-urlencoded;charset=UTF-8";else if(zy(e))i=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))i=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(Xt.isFormDataLike(e)){let g=`----formdata-undici-0${`${To(1e11)}`.padStart(11,"0")}`,E=`--${g}\r
|
||||
Content-Disposition: form-data`;let Q=u=>u.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),c=u=>u.replace(/\r?\n|\r/g,`\r
|
||||
`),B=[],I=new Uint8Array([13,10]);s=0;let C=!1;for(let[u,y]of e)if(typeof y=="string"){let D=Xi.encode(E+`; name="${Q(c(u))}"\r
|
||||
\r
|
||||
${B(y)}\r
|
||||
`);c.push(p),n+=p.byteLength}else{let p=Ps.encode(`${E}; name="${Q(B(u))}"`+(y.name?`; filename="${Q(y.name)}"`:"")+`\r
|
||||
${c(y)}\r
|
||||
`);B.push(D),s+=D.byteLength}else{let D=Xi.encode(`${E}; name="${Q(c(u))}"`+(y.name?`; filename="${Q(y.name)}"`:"")+`\r
|
||||
Content-Type: ${y.type||"application/octet-stream"}\r
|
||||
\r
|
||||
`);c.push(p,y,h),typeof y.size=="number"?n+=p.byteLength+y.size+h.byteLength:C=!0}let f=Ps.encode(`--${g}--`);c.push(f),n+=f.byteLength,C&&(n=null),s=e,r=async function*(){for(let u of c)u.stream?yield*u.stream():yield u},i="multipart/form-data; boundary="+g}else if(eB(e))s=e,n=e.size,e.type&&(i=e.type);else if(typeof e[Symbol.asyncIterator]=="function"){if(A)throw new TypeError("keepalive");if(Pt.isDisturbed(e)||e.locked)throw new TypeError("Response body object should not be disturbed or locked");t=e instanceof Ve?e:hy(e)}if((typeof s=="string"||Pt.isBuffer(s))&&(n=Buffer.byteLength(s)),r!=null){let g;t=new Ve({async start(){g=r(e)[Symbol.asyncIterator]()},async pull(E){let{value:Q,done:B}=await g.next();return B?queueMicrotask(()=>{E.close()}):Ry(t)||E.enqueue(new Uint8Array(Q)),E.desiredSize>0},async cancel(E){await g.return()},type:void 0})}return[{stream:t,source:s,length:n},i]}function Sy(e,A=!1){return Ve||(Ve=I("stream/web").ReadableStream),e instanceof Ve&&(bo(!Pt.isDisturbed(e),"The body has already been consumed."),bo(!e.locked,"The stream is locked.")),oB(e,A)}function Uy(e){let[A,t]=e.stream.tee(),r=yy(t,{transfer:[t]}),[,s]=r.tee();return e.stream=A,{stream:s,length:e.length,source:e.source}}async function*sB(e){if(e)if(iB(e))yield e;else{let A=e.stream;if(Pt.isDisturbed(A))throw new TypeError("The body has already been consumed.");if(A.locked)throw new TypeError("The stream is locked.");A[py]=!0,yield*A}}function Uo(e){if(e.aborted)throw new nB("The operation was aborted.","AbortError")}function Ly(e){return{blob(){return _s(this,t=>{let r=Jy(this);return r==="failure"?r="":r&&(r=my(r)),new wy([t],{type:r})},e)},arrayBuffer(){return _s(this,t=>new Uint8Array(t).buffer,e)},text(){return _s(this,gB,e)},json(){return _s(this,xy,e)},async formData(){mo.brandCheck(this,e),Uo(this[qe]);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 tB,n;try{n=new Iy({headers:r,preservePath:!0})}catch(o){throw new nB(`${o}`,"AbortError")}n.on("field",(o,g)=>{s.append(o,g)}),n.on("file",(o,g,E,Q,B)=>{let c=[];if(Q==="base64"||Q.toLowerCase()==="base64"){let h="";g.on("data",C=>{h+=C.toString().replace(/[\r\n]/gm,"");let f=h.length-h.length%4;c.push(Buffer.from(h.slice(0,f),"base64")),h=h.slice(f)}),g.on("end",()=>{c.push(Buffer.from(h,"base64")),s.append(o,new rB(c,E,{type:B}))})}else g.on("data",h=>{c.push(h)}),g.on("end",()=>{s.append(o,new rB(c,E,{type:B}))})});let i=new Promise((o,g)=>{n.on("finish",o),n.on("error",E=>g(new TypeError(E)))});if(this.body!==null)for await(let o of sB(this[qe].body))n.write(o);return n.end(),await i,s}else if(/application\/x-www-form-urlencoded/.test(t)){let r;try{let n="",i=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let o of sB(this[qe].body)){if(!iB(o))throw new TypeError("Expected Uint8Array chunk");n+=i.decode(o,{stream:!0})}n+=i.decode(),r=new URLSearchParams(n)}catch(n){throw Object.assign(new TypeError,{cause:n})}let s=new tB;for(let[n,i]of r)s.append(n,i);return s}else throw await Promise.resolve(),Uo(this[qe]),mo.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}}function My(e){Object.assign(e.prototype,Ly(e))}async function _s(e,A,t){if(mo.brandCheck(e,t),Uo(e[qe]),Yy(e[qe].body))throw new TypeError("Body is unusable");let r=dy(),s=i=>r.reject(i),n=i=>{try{r.resolve(A(i))}catch(o){s(o)}};return e[qe].body==null?(n(new Uint8Array),r.promise):(await fy(e[qe].body,n,s),r.promise)}function Yy(e){return e!=null&&(e.stream.locked||Pt.isDisturbed(e.stream))}function gB(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),by.decode(e))}function xy(e){return JSON.parse(gB(e))}function Jy(e){let{headersList:A}=e[qe],t=A.get("content-type");return t===null?"failure":Ny(t)}EB.exports={extractBody:oB,safelyExtractBody:Sy,cloneBody:Uy,mixinBody:My}});var cB=l((tS,BB)=>{"use strict";a();var{InvalidArgumentError:X,NotSupportedError:Gy}=_(),Oe=I("assert"),{kHTTP2BuildRequest:Ty,kHTTP2CopyHeaders:vy,kHTTP1BuildRequest:Hy}=K(),YA=T(),QB=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,aB=/[^\t\x20-\x7e\x80-\xff]/,Vy=/[^\u0021-\u00ff]/,Ie=Symbol("handler"),EA={},Lo;try{let e=I("diagnostics_channel");EA.create=e.channel("undici:request:create"),EA.bodySent=e.channel("undici:request:bodySent"),EA.headers=e.channel("undici:request:headers"),EA.trailers=e.channel("undici:request:trailers"),EA.error=e.channel("undici:request:error")}catch{EA.create={hasSubscribers:!1},EA.bodySent={hasSubscribers:!1},EA.headers={hasSubscribers:!1},EA.trailers={hasSubscribers:!1},EA.error={hasSubscribers:!1}}var Mo=class e{constructor(A,{path:t,method:r,body:s,headers:n,query:i,idempotent:o,blocking:g,upgrade:E,headersTimeout:Q,bodyTimeout:B,reset:c,throwOnError:h,expectContinue:C},f){if(typeof t!="string")throw new X("path must be a string");if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new X("path must be an absLine truncated
|
||||
`),this.body=u.stream,this.contentLength=u.length}else YA.isBlobLike(s)&&this.contentType==null&&s.type&&(this.contentType=s.type,this.headers+=`content-type: ${s.type}\r
|
||||
`);YA.validateHandler(f,r,E),this.servername=YA.getServerName(this.host),this[Ie]=f,EA.create.hasSubscribers&&EA.create.publish({request:this})}onBodySent(A){if(this[Ie].onBodySent)try{return this[Ie].onBodySent(A)}catch(t){this.abort(t)}}onRequestSent(){if(EA.bodySent.hasSubscribers&&EA.bodySent.publish({request:this}),this[Ie].onRequestSent)try{return this[Ie].onRequestSent()}catch(A){this.abort(A)}}onConnect(A){if(Oe(!this.aborted),Oe(!this.completed),this.error)A(this.error);else return this.abort=A,this[Ie].onConnect(A)}onHeaders(A,t,r,s){Oe(!this.aborted),Oe(!this.completed),EA.headers.hasSubscribers&&EA.headers.publish({request:this,response:{statusCode:A,headers:t,statusText:s}});try{return this[Ie].onHeaders(A,t,r,s)}catch(n){this.abort(n)}}onData(A){Oe(!this.aborted),Oe(!this.completed);try{return this[Ie].onData(A)}catch(t){return this.abort(t),!1}}onUpgrade(A,t,r){return Oe(!this.aborted),Oe(!this.completed),this[Ie].onUpgrade(A,t,r)}onComplete(A){this.onFinally(),Oe(!this.aborted),this.completed=!0,EA.trailers.hasSubscribers&&EA.trailers.publish({request:this,trailers:A});try{return this[Ie].onComplete(A)}catch(t){this.onError(t)}}onError(A){if(this.onFinally(),EA.error.hasSubscribers&&EA.error.publish({request:this,error:A}),!this.aborted)return this.aborted=!0,this[Ie].onError(A)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(A,t){return Tr(this,A,t),this}static[Hy](A,t,r){return new e(A,t,r)}static[Ty](A,t,r){let s=t.headers;t={...t,headers:null};let n=new e(A,t,r);if(n.headers={},Array.isArray(s)){if(s.length%2!==0)throw new X("headers array must be even");for(let i=0;i<s.length;i+=2)Tr(n,s[i],s[i+1],!0)}else if(s&&typeof s=="object"){let i=Object.keys(s);for(let o=0;o<i.length;o++){let g=i[o];Tr(n,g,s[g],!0)}}else if(s!=null)throw new X("headers must be an object or an array");return n}static[vy](A){let t=A.split(`\r
|
||||
`),r={};for(let s of t){let[n,i]=s.split(": ");i==null||i.length===0||(r[n]?r[n]+=`,${i}`:r[n]=i)}return r}};function lt(e,A,t){if(A&&typeof A=="object")throw new X(`invalid ${e} header`);if(A=A!=null?`${A}`:"",aB.exec(A)!==null)throw new X(`invalid ${e} header`);return t?A:`${e}: ${A}\r
|
||||
`}function Tr(e,A,t,r=!1){if(t&&typeof t=="object"&&!Array.isArray(t))throw new X(`invalid ${A} header`);if(t===void 0)return;if(e.host===null&&A.length===4&&A.toLowerCase()==="host"){if(aB.exec(t)!==null)throw new X(`invalid ${A} header`);e.host=t}else if(e.contentLength===null&&A.length===14&&A.toLowerCase()==="content-length"){if(e.contentLength=parseInt(t,10),!Number.isFinite(e.contentLength))throw new X("invalid content-length header")}else if(e.contentType===null&&A.length===12&&A.toLowerCase()==="content-type")e.contentType=t,r?e.headers[A]=lt(A,t,r):e.headers+=lt(A,t);else{if(A.length===17&&A.toLowerCase()==="transfer-encoding")throw new X("invalid transfer-encoding header");if(A.length===10&&A.toLowerCase()==="connection"){let s=typeof t=="string"?t.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new X("invalid connection header");s==="close"&&(e.reset=!0)}else{if(A.length===10&&A.toLowerCase()==="keep-alive")throw new X("invalid keep-alive header");if(A.length===7&&A.toLowerCase()==="upgrade")throw new X("invalid upgrade header");if(A.length===6&&A.toLowerCase()==="expect")throw new Gy("expect header not supported");if(QB.exec(A)===null)throw new X("invalid header key");if(Array.isArray(t))for(let s=0;s<t.length;s++)r?e.headers[A]?e.headers[A]+=`,${lt(A,t[s],r)}`:e.headers[A]=lt(A,t[s],r):e.headers+=lt(A,t[s]);else r?e.headers[A]=lt(A,t,r):e.headers+=lt(A,t)}}}BB.exports=Mo});var Zs=l((sS,CB)=>{"use strict";a();var qy=I("events"),Yo=class extends qy{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};CB.exports=Yo});var Hr=l((iS,IB)=>{"use strict";a();var Oy=Zs(),{ClientDestroyedError:xo,ClientClosedError:Wy,InvalidArgumentError:_t}=_(),{kDestroy:Py,kClose:_y,kDispatch:Jo,kInterceptors:ut}=K(),Zt=Symbol("destroyed"),vr=Symbol("closed"),We=Symbol("onDestroyed"),Xt=Symbol("onClosed"),Xs=Symbol("Intercepted Dispatch"),Go=class extends Oy{constructor(){super(),this[Zt]=!1,this[We]=null,this[vr]=!1,this[Xt]=[]}get destroyed(){return this[Zt]}get closed(){return this[vr]}get interceptors(){return this[ut]}set interceptors(A){if(A){for(let t=A.length-1;t>=0;t--)if(typeof this[ut][t]!="function")throw new _t("interceptor must be an function")}this[ut]=A}close(A){if(A===void 0)return new Promise((r,s)=>{this.close((n,i)=>n?s(n):r(i))});if(typeof A!="function")throw new _t("invalid callback");if(this[Zt]){queueMicrotask(()=>A(new xo,null));return}if(this[vr]){this[Xt]?this[Xt].push(A):queueMicrotask(()=>A(null,null));return}this[vr]=!0,this[Xt].push(A);let t=()=>{let r=this[Xt];this[Xt]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[_y]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(A,t){if(typeof A=="function"&&(t=A,A=null),t===void 0)return new Promise((s,n)=>{this.destroy(A,(i,o)=>i?n(i):s(o))});if(typeof t!="function")throw new _t("invalid callback");if(this[Zt]){this[We]?this[We].push(t):queueMicrotask(()=>t(null,null));return}A||(A=new xo),this[Zt]=!0,this[We]=this[We]||[],this[We].push(t);let r=()=>{let s=this[We];this[We]=null;for(let n=0;n<s.length;n++)s[n](null,null)};this[Py](A).then(()=>{queueMicrotask(r)})}[Xs](A,t){if(!this[ut]||this[ut].length===0)return this[Xs]=this[Jo],this[Jo](A,t);let r=this[Jo].bind(this);for(let s=this[ut].length-1;s>=0;s--)r=this[ut][s](r);return this[Xs]=r,r(A,t)}dispatch(A,t){if(!t||typeof t!="object")throw new _t("handler must be an object");try{if(!A||typeof A!="object")throw new _t("opts must be an object.");if(this[Zt]||this[We])throw new xo;if(this[vr])throw new Wy;return this[Xs](A,t)}catch(r){if(typeof t.onError!="function")throw new _t("invalid onError method");return t.onError(r),!1}}};IB.exports=Go});var Vr=l((QS,uB)=>{"use strict";a();var Zy=I("net"),hB=I("assert"),lB=T(),{InvalidArgumentError:Xy,ConnectTimeoutError:Ky}=_(),To,vo;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?vo=class{constructor(A){this._maxCachedSessions=A,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(A){let t=this._sessionCache.get(A);return t?t.deref():null}set(A,t){this._maxCachedSessions!==0&&(this._sessionCache.set(A,new WeakRef(t)),this._sessionRegistry.register(t,A))}}:vo=class{constructor(A){this._maxCachedSessions=A,this._sessionCache=new Map}get(A){return this._sessionCache.get(A)}set(A,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(A,t)}}};function jy({allowH2:e,maxCachedSessions:A,socketPath:t,timeout:r,...s}){if(A!=null&&(!Number.isInteger(A)||A<0))throw new Xy("maxCachedSessions must be a positive integer or zero");let n={path:t,...s},i=new vo(A??100);return r=r??1e4,e=e??!1,function({hostname:g,host:E,protocol:Q,p
Line truncated
|
||||
`,this[YB]=g??3e5,this[MB]=s??3e5,this[Zr]=p??!0,this[Fw]=J,this[Xr]=IA,this[nt]=null,this[JB]=yA>-1?yA:-1,this[be]="h1",this[_A]=null,this[rn]=qA?{openStreams:0,maxConcurrentStreams:H??100}:null,this[GB]=`${this[lA].hostname}${this[lA].port?`:${this[lA].port}`:""}`,this[j]=[],this[z]=0,this[PA]=0}get pipelining(){return this[ot]}set pipelining(A){this[ot]=A,ZA(this,!0)}get[yt](){return this[j].length-this[PA]}get[tA](){return this[PA]-this[z]}get[ft](){return this[j].length-this[z]}get[kw](){return!!this[nA]&&!this[jt]&&!this[nA].destroyed}get[Zo](){let A=this[nA];return A&&(A[FA]||A[Ze]||A[$t])||this[ft]>=(this[ot]||1)||this[yt]>0}[Rw](A){VB(this),this.once("connect",A)}[bw](A,t){let r=A.origin||this[lA].origin,s=this[be]==="h2"?_o[Uw](r,A,t):_o[Mw](r,A,t);return this[j].push(s),this[dt]||(k.bodyLength(s.body)==null&&k.isIterable(s.body)?(this[dt]=1,process.nextTick(ZA,this)):ZA(this,!0)),this[dt]&&this[it]!==2&&this[Zo]&&(this[it]=2),this[it]<2}async[Nw](){return new Promise(A=>{this[ft]?this[nt]=A:A(null)})}async[mw](A){return new Promise(t=>{let r=this[j].splice(this[PA]);for(let n=0;n<r.length;n++){let i=r[n];NA(this,i,A)}let s=()=>{this[nt]&&(this[nt](),this[nt]=null),t()};this[_A]!=null&&(k.destroy(this[_A],A),this[_A]=null,this[rn]=null),this[nA]?k.destroy(this[nA].on("close",s),A):queueMicrotask(s),ZA(this)})}};function Vw(e){D(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[nA][uA]=e,gn(this[me],e)}function qw(e,A,t){let r=new Ne(`HTTP/2: "frameError" received - type ${e}, code ${A}`);t===0&&(this[nA][uA]=r,gn(this[me],r))}function Ow(){k.destroy(this,new zt("other side closed")),k.destroy(this[nA],new zt("other side closed"))}function Ww(e){let A=this[me],t=new Ne(`HTTP/2: "GOAWAY" frame received with code ${e}`);if(A[nA]=null,A[_A]=null,A.destroyed){D(this[yt]===0);let r=A[j].splice(A[z]);for(let s=0;s<r.length;s++){let n=r[s];NA(this,n,t)}}else if(A[tA]>0){let r=A[j][A[z]];A[j][A[z]++]=null,NA(A,r,t)}A[PA]=A[z],D(A[tA]===0),A.emit("disconnect",A[lA],[A],t),ZA(A)}var Re=fB(),Pw=zs(),_w=Buffer.alloc(0);async function Zw(){let e=process.env.JEST_WORKER_ID?Oo():void 0,A;try{A=await WebAssembly.compile(Buffer.from(FB(),"base64"))}catch{A=await WebAssembly.compile(Buffer.from(e||Oo(),"base64"))}return await WebAssembly.instantiate(A,{env:{wasm_on_url:(t,r,s)=>0,wasm_on_status:(t,r,s)=>{D.strictEqual(BA.ptr,t);let n=r-Fe+ke.byteOffset;return BA.onStatus(new $s(ke.buffer,n,s))||0},wasm_on_message_begin:t=>(D.strictEqual(BA.ptr,t),BA.onMessageBegin()||0),wasm_on_header_field:(t,r,s)=>{D.strictEqual(BA.ptr,t);let n=r-Fe+ke.byteOffset;return BA.onHeaderField(new $s(ke.buffer,n,s))||0},wasm_on_header_value:(t,r,s)=>{D.strictEqual(BA.ptr,t);let n=r-Fe+ke.byteOffset;return BA.onHeaderValue(new $s(ke.buffer,n,s))||0},wasm_on_headers_complete:(t,r,s,n)=>(D.strictEqual(BA.ptr,t),BA.onHeadersComplete(r,!!s,!!n)||0),wasm_on_body:(t,r,s)=>{D.strictEqual(BA.ptr,t);let n=r-Fe+ke.byteOffset;return BA.onBody(new $s(ke.buffer,n,s))||0},wasm_on_message_complete:t=>(D.strictEqual(BA.ptr,t),BA.onMessageComplete()||0)}})}var Po=null,jo=Zw();jo.catch();var BA=null,ke=null,An=0,Fe=null,Ar=1,tn=2,zo=3,$o=class{constructor(A,t,{exports:r}){D(Number.isFinite(A[en])&&A[en]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(Re.TYPE.RESPONSE),this.client=A,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=A[en],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=A[JB]}setTimeout(A,t){this.timeoutType=t,A!==this.timeoutValue?(Wo.clearTimeout(this.timeout),A?(this.timeout=Wo.setTimeout(Xw,A,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=A):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(D(this.ptr!=null),D(BA==null),this.llhttp.llhttp_resume(this.ptr),D(this.timeoutType===tn),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||_w),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let A=this.socket.read();if(A===null)break;this.execute(A)}}execute(A){D(this.ptr!=null),D(BA==null),D(!this.paused);let{socket:t,llhttp:r}=this;A.length>An&&(Fe&&r.free(Fe),An=Math.ceil(A.length/4096)*4096,Fe=r.malloc(An)),new Uint8Array(r.memory.buffer,Fe,An).set(A);try{let s;try{ke=A,BA=this,s=r.llhttp_execute(this.ptr,Fe,A.length)}catch(i){throw i}finally{BA=null,ke=null}let n=r.llhttp_get_error_pos(this.ptr)-Fe;if(s===Re.ERROR.PAUSED_UPGRADE)this.onUpgrade(A.slice(n));else if(s===Re.ERROR.PAUSED)this.paused=!0,t.unshift(A.slice(n));else if(s!==Re.ERROR.OK){let i=r.llhttp_get_error_reason(this.ptr),o="";if(i){let g=new Uint8Array(r.memory.buffer,i).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,i,g).toS
Line truncated
|
||||
`;return typeof n=="string"?C+=`host: ${n}\r
|
||||
`:C+=e[SB],i?C+=`connection: upgrade\r
|
||||
upgrade: ${i}\r
|
||||
`:e[ot]&&!h[FA]?C+=`connection: keep-alive\r
|
||||
`);B.push(D,y,I),typeof y.size=="number"?s+=D.byteLength+y.size+I.byteLength:C=!0}let d=Xi.encode(`--${g}--`);B.push(d),s+=d.byteLength,C&&(s=null),i=e,r=async function*(){for(let u of B)u.stream?yield*u.stream():yield u},n="multipart/form-data; boundary="+g}else if(Cc(e))i=e,s=e.size,e.type&&(n=e.type);else if(typeof e[Symbol.asyncIterator]=="function"){if(A)throw new TypeError("keepalive");if(Xt.isDisturbed(e)||e.locked)throw new TypeError("Response body object should not be disturbed or locked");t=e instanceof qe?e:Vy(e)}if((typeof i=="string"||Xt.isBuffer(i))&&(s=Buffer.byteLength(i)),r!=null){let g;t=new qe({async start(){g=r(e)[Symbol.asyncIterator]()},async pull(E){let{value:Q,done:c}=await g.next();return c?queueMicrotask(()=>{E.close()}):jy(t)||E.enqueue(new Uint8Array(Q)),E.desiredSize>0},async cancel(E){await g.return()},type:void 0})}return[{stream:t,source:i,length:s},n]}function rw(e,A=!1){return qe||(qe=h("stream/web").ReadableStream),e instanceof qe&&(Go(!Xt.isDisturbed(e),"The body has already been consumed."),Go(!e.locked,"The stream is locked.")),fc(e,A)}function iw(e){let[A,t]=e.stream.tee(),r=_y(t,{transfer:[t]}),[,i]=r.tee();return e.stream=A,{stream:i,length:e.length,source:e.source}}async function*lc(e){if(e)if(dc(e))yield e;else{let A=e.stream;if(Xt.isDisturbed(A))throw new TypeError("The body has already been consumed.");if(A.locked)throw new TypeError("The stream is locked.");A[Ky]=!0,yield*A}}function vo(e){if(e.aborted)throw new uc("The operation was aborted.","AbortError")}function sw(e){return{blob(){return Ki(this,t=>{let r=Ew(this);return r==="failure"?r="":r&&(r=ew(r)),new Zy([t],{type:r})},e)},arrayBuffer(){return Ki(this,t=>new Uint8Array(t).buffer,e)},text(){return Ki(this,yc,e)},json(){return Ki(this,gw,e)},async formData(){Jo.brandCheck(this,e),vo(this[Oe]);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 i=new Ic,s;try{s=new Hy({headers:r,preservePath:!0})}catch(o){throw new uc(`${o}`,"AbortError")}s.on("field",(o,g)=>{i.append(o,g)}),s.on("file",(o,g,E,Q,c)=>{let B=[];if(Q==="base64"||Q.toLowerCase()==="base64"){let I="";g.on("data",C=>{I+=C.toString().replace(/[\r\n]/gm,"");let d=I.length-I.length%4;B.push(Buffer.from(I.slice(0,d),"base64")),I=I.slice(d)}),g.on("end",()=>{B.push(Buffer.from(I,"base64")),i.append(o,new hc(B,E,{type:c}))})}else g.on("data",I=>{B.push(I)}),g.on("end",()=>{i.append(o,new hc(B,E,{type:c}))})});let n=new Promise((o,g)=>{s.on("finish",o),s.on("error",E=>g(new TypeError(E)))});if(this.body!==null)for await(let o of lc(this[Oe].body))s.write(o);return s.end(),await n,i}else if(/application\/x-www-form-urlencoded/.test(t)){let r;try{let s="",n=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let o of lc(this[Oe].body)){if(!dc(o))throw new TypeError("Expected Uint8Array chunk");s+=n.decode(o,{stream:!0})}s+=n.decode(),r=new URLSearchParams(s)}catch(s){throw Object.assign(new TypeError,{cause:s})}let i=new Ic;for(let[s,n]of r)i.append(s,n);return i}else throw await Promise.resolve(),vo(this[Oe]),Jo.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}}function nw(e){Object.assign(e.prototype,sw(e))}async function Ki(e,A,t){if(Jo.brandCheck(e,t),vo(e[Oe]),ow(e[Oe].body))throw new TypeError("Body is unusable");let r=Wy(),i=n=>r.reject(n),s=n=>{try{r.resolve(A(n))}catch(o){i(o)}};return e[Oe].body==null?(s(new Uint8Array),r.promise):(await Py(e[Oe].body,s,i),r.promise)}function ow(e){return e!=null&&(e.stream.locked||Xt.isDisturbed(e.stream))}function yc(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),tw.decode(e))}function gw(e){return JSON.parse(yc(e))}function Ew(e){let{headersList:A}=e[Oe],t=A.get("content-type");return t===null?"failure":Aw(t)}wc.exports={extractBody:fc,safelyExtractBody:rw,cloneBody:iw,mixinBody:nw}});var kc=l((HS,Rc)=>{"use strict";a();var{InvalidArgumentError:X,NotSupportedError:Qw}=_(),We=h("assert"),{kHTTP2BuildRequest:aw,kHTTP2CopyHeaders:cw,kHTTP1BuildRequest:Bw}=K(),xA=T(),pc=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Dc=/[^\t\x20-\x7e\x80-\xff]/,Cw=/[^\u0021-\u00ff]/,Ie=Symbol("handler"),EA={},Ho;try{let e=h("diagnostics_channel");EA.create=e.channel("undici:request:create"),EA.bodySent=e.channel("undici:request:bodySent"),EA.headers=e.channel("undici:request:headers"),EA.trailers=e.channel("undici:request:trailers"),EA.error=e.channel("undici:request:error")}catch{EA.create={hasSubscribers:!1},EA.bodySent={hasSubscribers:!1},EA.headers={hasSubscribers:!1},EA.trailers={hasSubscribers:!1},EA.error={hasSubscribers:!1}}var Vo=class e{constructor(A,{path:t,method:r,body:i,headers:s,query:n,idempotent:o,blocking:g,upgrade:E,headersTimeout:Q,bodyTimeout:c,reset:B,throwOnError:I,expectContinue:C},d){if(typeof t!="string")throw new X("path must be a string");if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new X("path must be an absLine truncated
|
||||
`),this.body=u.stream,this.contentLength=u.length}else xA.isBlobLike(i)&&this.contentType==null&&i.type&&(this.contentType=i.type,this.headers+=`content-type: ${i.type}\r
|
||||
`);xA.validateHandler(d,r,E),this.servername=xA.getServerName(this.host),this[Ie]=d,EA.create.hasSubscribers&&EA.create.publish({request:this})}onBodySent(A){if(this[Ie].onBodySent)try{return this[Ie].onBodySent(A)}catch(t){this.abort(t)}}onRequestSent(){if(EA.bodySent.hasSubscribers&&EA.bodySent.publish({request:this}),this[Ie].onRequestSent)try{return this[Ie].onRequestSent()}catch(A){this.abort(A)}}onConnect(A){if(We(!this.aborted),We(!this.completed),this.error)A(this.error);else return this.abort=A,this[Ie].onConnect(A)}onHeaders(A,t,r,i){We(!this.aborted),We(!this.completed),EA.headers.hasSubscribers&&EA.headers.publish({request:this,response:{statusCode:A,headers:t,statusText:i}});try{return this[Ie].onHeaders(A,t,r,i)}catch(s){this.abort(s)}}onData(A){We(!this.aborted),We(!this.completed);try{return this[Ie].onData(A)}catch(t){return this.abort(t),!1}}onUpgrade(A,t,r){return We(!this.aborted),We(!this.completed),this[Ie].onUpgrade(A,t,r)}onComplete(A){this.onFinally(),We(!this.aborted),this.completed=!0,EA.trailers.hasSubscribers&&EA.trailers.publish({request:this,trailers:A});try{return this[Ie].onComplete(A)}catch(t){this.onError(t)}}onError(A){if(this.onFinally(),EA.error.hasSubscribers&&EA.error.publish({request:this,error:A}),!this.aborted)return this.aborted=!0,this[Ie].onError(A)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(A,t){return Vr(this,A,t),this}static[Bw](A,t,r){return new e(A,t,r)}static[aw](A,t,r){let i=t.headers;t={...t,headers:null};let s=new e(A,t,r);if(s.headers={},Array.isArray(i)){if(i.length%2!==0)throw new X("headers array must be even");for(let n=0;n<i.length;n+=2)Vr(s,i[n],i[n+1],!0)}else if(i&&typeof i=="object"){let n=Object.keys(i);for(let o=0;o<n.length;o++){let g=n[o];Vr(s,g,i[g],!0)}}else if(i!=null)throw new X("headers must be an object or an array");return s}static[cw](A){let t=A.split(`\r
|
||||
`),r={};for(let i of t){let[s,n]=i.split(": ");n==null||n.length===0||(r[s]?r[s]+=`,${n}`:r[s]=n)}return r}};function dt(e,A,t){if(A&&typeof A=="object")throw new X(`invalid ${e} header`);if(A=A!=null?`${A}`:"",Dc.exec(A)!==null)throw new X(`invalid ${e} header`);return t?A:`${e}: ${A}\r
|
||||
`}function Vr(e,A,t,r=!1){if(t&&typeof t=="object"&&!Array.isArray(t))throw new X(`invalid ${A} header`);if(t===void 0)return;if(e.host===null&&A.length===4&&A.toLowerCase()==="host"){if(Dc.exec(t)!==null)throw new X(`invalid ${A} header`);e.host=t}else if(e.contentLength===null&&A.length===14&&A.toLowerCase()==="content-length"){if(e.contentLength=parseInt(t,10),!Number.isFinite(e.contentLength))throw new X("invalid content-length header")}else if(e.contentType===null&&A.length===12&&A.toLowerCase()==="content-type")e.contentType=t,r?e.headers[A]=dt(A,t,r):e.headers+=dt(A,t);else{if(A.length===17&&A.toLowerCase()==="transfer-encoding")throw new X("invalid transfer-encoding header");if(A.length===10&&A.toLowerCase()==="connection"){let i=typeof t=="string"?t.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new X("invalid connection header");i==="close"&&(e.reset=!0)}else{if(A.length===10&&A.toLowerCase()==="keep-alive")throw new X("invalid keep-alive header");if(A.length===7&&A.toLowerCase()==="upgrade")throw new X("invalid upgrade header");if(A.length===6&&A.toLowerCase()==="expect")throw new Qw("expect header not supported");if(pc.exec(A)===null)throw new X("invalid header key");if(Array.isArray(t))for(let i=0;i<t.length;i++)r?e.headers[A]?e.headers[A]+=`,${dt(A,t[i],r)}`:e.headers[A]=dt(A,t[i],r):e.headers+=dt(A,t[i]);else r?e.headers[A]=dt(A,t,r):e.headers+=dt(A,t)}}}Rc.exports=Vo});var ji=l((qS,mc)=>{"use strict";a();var Iw=h("events"),qo=class extends Iw{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};mc.exports=qo});var Or=l((WS,Fc)=>{"use strict";a();var hw=ji(),{ClientDestroyedError:Oo,ClientClosedError:lw,InvalidArgumentError:Kt}=_(),{kDestroy:uw,kClose:dw,kDispatch:Wo,kInterceptors:ft}=K(),jt=Symbol("destroyed"),qr=Symbol("closed"),Pe=Symbol("onDestroyed"),zt=Symbol("onClosed"),zi=Symbol("Intercepted Dispatch"),Po=class extends hw{constructor(){super(),this[jt]=!1,this[Pe]=null,this[qr]=!1,this[zt]=[]}get destroyed(){return this[jt]}get closed(){return this[qr]}get interceptors(){return this[ft]}set interceptors(A){if(A){for(let t=A.length-1;t>=0;t--)if(typeof this[ft][t]!="function")throw new Kt("interceptor must be an function")}this[ft]=A}close(A){if(A===void 0)return new Promise((r,i)=>{this.close((s,n)=>s?i(s):r(n))});if(typeof A!="function")throw new Kt("invalid callback");if(this[jt]){queueMicrotask(()=>A(new Oo,null));return}if(this[qr]){this[zt]?this[zt].push(A):queueMicrotask(()=>A(null,null));return}this[qr]=!0,this[zt].push(A);let t=()=>{let r=this[zt];this[zt]=null;for(let i=0;i<r.length;i++)r[i](null,null)};this[dw]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(A,t){if(typeof A=="function"&&(t=A,A=null),t===void 0)return new Promise((i,s)=>{this.destroy(A,(n,o)=>n?s(n):i(o))});if(typeof t!="function")throw new Kt("invalid callback");if(this[jt]){this[Pe]?this[Pe].push(t):queueMicrotask(()=>t(null,null));return}A||(A=new Oo),this[jt]=!0,this[Pe]=this[Pe]||[],this[Pe].push(t);let r=()=>{let i=this[Pe];this[Pe]=null;for(let s=0;s<i.length;s++)i[s](null,null)};this[uw](A).then(()=>{queueMicrotask(r)})}[zi](A,t){if(!this[ft]||this[ft].length===0)return this[zi]=this[Wo],this[Wo](A,t);let r=this[Wo].bind(this);for(let i=this[ft].length-1;i>=0;i--)r=this[ft][i](r);return this[zi]=r,r(A,t)}dispatch(A,t){if(!t||typeof t!="object")throw new Kt("handler must be an object");try{if(!A||typeof A!="object")throw new Kt("opts must be an object.");if(this[jt]||this[Pe])throw new Oo;if(this[qr])throw new lw;return this[zi](A,t)}catch(r){if(typeof t.onError!="function")throw new Kt("invalid onError method");return t.onError(r),!1}}};Fc.exports=Po});var Wr=l((XS,Sc)=>{"use strict";a();var fw=h("net"),Nc=h("assert"),bc=T(),{InvalidArgumentError:yw,ConnectTimeoutError:ww}=_(),_o,Zo;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?Zo=class{constructor(A){this._maxCachedSessions=A,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(A){let t=this._sessionCache.get(A);return t?t.deref():null}set(A,t){this._maxCachedSessions!==0&&(this._sessionCache.set(A,new WeakRef(t)),this._sessionRegistry.register(t,A))}}:Zo=class{constructor(A){this._maxCachedSessions=A,this._sessionCache=new Map}get(A){return this._sessionCache.get(A)}set(A,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(A,t)}}};function pw({allowH2:e,maxCachedSessions:A,socketPath:t,timeout:r,...i}){if(A!=null&&(!Number.isInteger(A)||A<0))throw new yw("maxCachedSessions must be a positive integer or zero");let s={path:t,...i},n=new Zo(A??100);return r=r??1e4,e=e??!1,function({hostname:g,host:E,protocol:Q,p
Line truncated
|
||||
`,this[Zc]=g??3e5,this[_c]=i??3e5,this[jr]=D??!0,this[$w]=J,this[zr]=IA,this[nt]=null,this[Kc]=yA>-1?yA:-1,this[be]="h1",this[_A]=null,this[ns]=qA?{openStreams:0,maxConcurrentStreams:H??100}:null,this[jc]=`${this[lA].hostname}${this[lA].port?`:${this[lA].port}`:""}`,this[j]=[],this[z]=0,this[PA]=0}get pipelining(){return this[gt]}set pipelining(A){this[gt]=A,ZA(this,!0)}get[pt](){return this[j].length-this[PA]}get[tA](){return this[PA]-this[z]}get[wt](){return this[j].length-this[z]}get[zw](){return!!this[sA]&&!this[Ar]&&!this[sA].destroyed}get[tg](){let A=this[sA];return A&&(A[mA]||A[Xe]||A[tr])||this[wt]>=(this[gt]||1)||this[pt]>0}[jw](A){eB(this),this.once("connect",A)}[tp](A,t){let r=A.origin||this[lA].origin,i=this[be]==="h2"?eg[ip](r,A,t):eg[np](r,A,t);return this[j].push(i),this[yt]||(k.bodyLength(i.body)==null&&k.isIterable(i.body)?(this[yt]=1,process.nextTick(ZA,this)):ZA(this,!0)),this[yt]&&this[ot]!==2&&this[tg]&&(this[ot]=2),this[ot]<2}async[Ap](){return new Promise(A=>{this[wt]?this[nt]=A:A(null)})}async[ep](A){return new Promise(t=>{let r=this[j].splice(this[PA]);for(let s=0;s<r.length;s++){let n=r[s];FA(this,n,A)}let i=()=>{this[nt]&&(this[nt](),this[nt]=null),t()};this[_A]!=null&&(k.destroy(this[_A],A),this[_A]=null,this[ns]=null),this[sA]?k.destroy(this[sA].on("close",i),A):queueMicrotask(i),ZA(this)})}};function Cp(e){p(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[sA][uA]=e,Qs(this[Ne],e)}function Ip(e,A,t){let r=new Fe(`HTTP/2: "frameError" received - type ${e}, code ${A}`);t===0&&(this[sA][uA]=r,Qs(this[Ne],r))}function hp(){k.destroy(this,new er("other side closed")),k.destroy(this[sA],new er("other side closed"))}function lp(e){let A=this[Ne],t=new Fe(`HTTP/2: "GOAWAY" frame received with code ${e}`);if(A[sA]=null,A[_A]=null,A.destroyed){p(this[pt]===0);let r=A[j].splice(A[z]);for(let i=0;i<r.length;i++){let s=r[i];FA(this,s,t)}}else if(A[tA]>0){let r=A[j][A[z]];A[j][A[z]++]=null,FA(A,r,t)}A[PA]=A[z],p(A[tA]===0),A.emit("disconnect",A[lA],[A],t),ZA(A)}var Re=Lc(),up=es(),dp=Buffer.alloc(0);async function fp(){let e=process.env.JEST_WORKER_ID?zo():void 0,A;try{A=await WebAssembly.compile(Buffer.from(vc(),"base64"))}catch{A=await WebAssembly.compile(Buffer.from(e||zo(),"base64"))}return await WebAssembly.instantiate(A,{env:{wasm_on_url:(t,r,i)=>0,wasm_on_status:(t,r,i)=>{p.strictEqual(cA.ptr,t);let s=r-me+ke.byteOffset;return cA.onStatus(new ts(ke.buffer,s,i))||0},wasm_on_message_begin:t=>(p.strictEqual(cA.ptr,t),cA.onMessageBegin()||0),wasm_on_header_field:(t,r,i)=>{p.strictEqual(cA.ptr,t);let s=r-me+ke.byteOffset;return cA.onHeaderField(new ts(ke.buffer,s,i))||0},wasm_on_header_value:(t,r,i)=>{p.strictEqual(cA.ptr,t);let s=r-me+ke.byteOffset;return cA.onHeaderValue(new ts(ke.buffer,s,i))||0},wasm_on_headers_complete:(t,r,i,s)=>(p.strictEqual(cA.ptr,t),cA.onHeadersComplete(r,!!i,!!s)||0),wasm_on_body:(t,r,i)=>{p.strictEqual(cA.ptr,t);let s=r-me+ke.byteOffset;return cA.onBody(new ts(ke.buffer,s,i))||0},wasm_on_message_complete:t=>(p.strictEqual(cA.ptr,t),cA.onMessageComplete()||0)}})}var Ag=null,sg=fp();sg.catch();var cA=null,ke=null,rs=0,me=null,rr=1,ss=2,ng=3,og=class{constructor(A,t,{exports:r}){p(Number.isFinite(A[is])&&A[is]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(Re.TYPE.RESPONSE),this.client=A,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=A[is],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=A[Kc]}setTimeout(A,t){this.timeoutType=t,A!==this.timeoutValue?($o.clearTimeout(this.timeout),A?(this.timeout=$o.setTimeout(yp,A,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=A):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(p(this.ptr!=null),p(cA==null),this.llhttp.llhttp_resume(this.ptr),p(this.timeoutType===ss),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||dp),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let A=this.socket.read();if(A===null)break;this.execute(A)}}execute(A){p(this.ptr!=null),p(cA==null),p(!this.paused);let{socket:t,llhttp:r}=this;A.length>rs&&(me&&r.free(me),rs=Math.ceil(A.length/4096)*4096,me=r.malloc(rs)),new Uint8Array(r.memory.buffer,me,rs).set(A);try{let i;try{ke=A,cA=this,i=r.llhttp_execute(this.ptr,me,A.length)}catch(n){throw n}finally{cA=null,ke=null}let s=r.llhttp_get_error_pos(this.ptr)-me;if(i===Re.ERROR.PAUSED_UPGRADE)this.onUpgrade(A.slice(s));else if(i===Re.ERROR.PAUSED)this.paused=!0,t.unshift(A.slice(s));else if(i!==Re.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 s=="string"?C+=`host: ${s}\r
|
||||
`:C+=e[Oc],n?C+=`connection: upgrade\r
|
||||
upgrade: ${n}\r
|
||||
`:e[gt]&&!I[mA]?C+=`connection: keep-alive\r
|
||||
`:C+=`connection: close\r
|
||||
`,o&&(C+=o),DA.sendHeaders.hasSubscribers&&DA.sendHeaders.publish({request:A,headers:C,socket:h}),!t||B===0?(c===0?h.write(`${C}content-length: 0\r
|
||||
`,o&&(C+=o),pA.sendHeaders.hasSubscribers&&pA.sendHeaders.publish({request:A,headers:C,socket:I}),!t||c===0?(B===0?I.write(`${C}content-length: 0\r
|
||||
\r
|
||||
`,"latin1"):(D(c===null,"no body must not have content length"),h.write(`${C}\r
|
||||
`,"latin1")),A.onRequestSent()):k.isBuffer(t)?(D(c===t.byteLength,"buffer body must have content length"),h.cork(),h.write(`${C}content-length: ${c}\r
|
||||
`,"latin1"):(p(B===null,"no body must not have content length"),I.write(`${C}\r
|
||||
`,"latin1")),A.onRequestSent()):k.isBuffer(t)?(p(B===t.byteLength,"buffer body must have content length"),I.cork(),I.write(`${C}content-length: ${B}\r
|
||||
\r
|
||||
`,"latin1"),h.write(t),h.uncork(),A.onBodySent(t),A.onRequestSent(),Q||(h[FA]=!0)):k.isBlobLike(t)?typeof t.stream=="function"?nn({body:t.stream(),client:e,request:A,socket:h,contentLength:c,header:C,expectsPayload:Q}):WB({body:t,client:e,request:A,socket:h,contentLength:c,header:C,expectsPayload:Q}):k.isStream(t)?OB({body:t,client:e,request:A,socket:h,contentLength:c,header:C,expectsPayload:Q}):k.isIterable(t)?nn({body:t,client:e,request:A,socket:h,contentLength:c,header:C,expectsPayload:Q}):D(!1),!0}function zw(e,A,t){let{body:r,method:s,path:n,host:i,upgrade:o,expectContinue:g,signal:E,headers:Q}=t,B;if(typeof Q=="string"?B=_o[Lw](Q.trim()):B=Q,o)return NA(e,t,new Error("Upgrade not supported for H2")),!1;try{t.onConnect(p=>{t.aborted||t.completed||NA(e,t,p||new eg)})}catch(p){NA(e,t,p)}if(t.aborted)return!1;let c,h=e[rn];if(B[Yw]=i||e[GB],B[xw]=s,s==="CONNECT")return A.ref(),c=A.request(B,{endStream:!1,signal:E}),c.id&&!c.pending?(t.onUpgrade(null,null,c),++h.openStreams):c.once("ready",()=>{t.onUpgrade(null,null,c),++h.openStreams}),c.once("close",()=>{h.openStreams-=1,h.openStreams===0&&A.unref()}),!0;B[Jw]=n,B[Gw]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";r&&typeof r.read=="function"&&r.read(0);let f=k.bodyLength(r);if(f==null&&(f=t.contentLength),(f===0||!C)&&(f=null),qB(s)&&f>0&&t.contentLength!=null&&t.contentLength!==f){if(e[Zr])return NA(e,t,new _e),!1;process.emitWarning(new _e)}f!=null&&(D(r,"no body must not have content length"),B[Tw]=`${f}`),A.ref();let u=s==="GET"||s==="HEAD";return g?(B[vw]="100-continue",c=A.request(B,{endStream:u,signal:E}),c.once("continue",y)):(c=A.request(B,{endStream:u,signal:E}),y()),++h.openStreams,c.once("response",p=>{let{[Hw]:S,...J}=p;t.onHeaders(Number(S),J,c.resume.bind(c),"")===!1&&c.pause()}),c.once("end",()=>{t.onComplete([])}),c.on("data",p=>{t.onData(p)===!1&&c.pause()}),c.once("close",()=>{h.openStreams-=1,h.openStreams===0&&A.unref()}),c.once("error",function(p){e[_A]&&!e[_A].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,k.destroy(c,p))}),c.once("frameError",(p,S)=>{let J=new Ne(`HTTP/2: "frameError" received - type ${p}, code ${S}`);NA(e,t,J),e[_A]&&!e[_A].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,k.destroy(c,J))}),!0;function y(){r?k.isBuffer(r)?(D(f===r.byteLength,"buffer body must have content length"),c.cork(),c.write(r),c.uncork(),c.end(),t.onBodySent(r),t.onRequestSent()):k.isBlobLike(r)?typeof r.stream=="function"?nn({client:e,request:t,contentLength:f,h2stream:c,expectsPayload:C,body:r.stream(),socket:e[nA],header:""}):WB({body:r,client:e,request:t,contentLength:f,expectsPayload:C,h2stream:c,header:"",socket:e[nA]}):k.isStream(r)?OB({body:r,client:e,request:t,contentLength:f,expectsPayload:C,socket:e[nA],h2stream:c,header:""}):k.isIterable(r)?nn({body:r,client:e,request:t,contentLength:f,expectsPayload:C,header:"",h2stream:c,socket:e[nA]}):D(!1):t.onRequestSent()}}function OB({h2stream:e,body:A,client:t,request:r,socket:s,contentLength:n,header:i,expectsPayload:o}){if(D(n!==0||t[tA]===0,"stream body cannot be pipelined"),t[be]==="h2"){let f=function(u){r.onBodySent(u)},C=Iw(A,e,u=>{u?(k.destroy(A,u),k.destroy(e,u)):r.onRequestSent()});C.on("data",f),C.once("end",()=>{C.removeListener("data",f),k.destroy(C)});return}let g=!1,E=new on({socket:s,request:r,contentLength:n,client:t,expectsPayload:o,header:i}),Q=function(C){if(!g)try{!E.write(C)&&this.pause&&this.pause()}catch(f){k.destroy(this,f)}},B=function(){g||A.resume&&A.resume()},c=function(){if(g)return;let C=new eg;queueMicrotask(()=>h(C))},h=function(C){if(!g){if(g=!0,D(s.destroyed||s[Ze]&&t[tA]<=1),s.off("drain",B).off("error",h),A.removeListener("data",Q).removeListener("end",h).removeListener("error",h).removeListener("close",c),!C)try{E.end()}catch(f){C=f}E.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?k.destroy(A,C):k.destroy(A)}};A.on("data",Q).on("end",h).on("error",h).on("close",c),A.resume&&A.resume(),s.on("drain",B).on("error",h)}async function WB({h2stream:e,body:A,client:t,request:r,socket:s,contentLength:n,header:i,expectsPayload:o}){D(n===A.size,"blob body must have content length");let g=t[be]==="h2";try{if(n!=null&&n!==A.size)throw new _e;let E=Buffer.from(await A.arrayBuffer());g?(e.cork(),e.write(E),e.uncork()):(s.cork(),s.write(`${i}content-length: ${n}\r
|
||||
`,"latin1"),I.write(t),I.uncork(),A.onBodySent(t),A.onRequestSent(),Q||(I[mA]=!0)):k.isBlobLike(t)?typeof t.stream=="function"?gs({body:t.stream(),client:e,request:A,socket:I,contentLength:B,header:C,expectsPayload:Q}):iB({body:t,client:e,request:A,socket:I,contentLength:B,header:C,expectsPayload:Q}):k.isStream(t)?rB({body:t,client:e,request:A,socket:I,contentLength:B,header:C,expectsPayload:Q}):k.isIterable(t)?gs({body:t,client:e,request:A,socket:I,contentLength:B,header:C,expectsPayload:Q}):p(!1),!0}function Dp(e,A,t){let{body:r,method:i,path:s,host:n,upgrade:o,expectContinue:g,signal:E,headers:Q}=t,c;if(typeof Q=="string"?c=eg[sp](Q.trim()):c=Q,o)return FA(e,t,new Error("Upgrade not supported for H2")),!1;try{t.onConnect(D=>{t.aborted||t.completed||FA(e,t,D||new Eg)})}catch(D){FA(e,t,D)}if(t.aborted)return!1;let B,I=e[ns];if(c[op]=n||e[jc],c[gp]=i,i==="CONNECT")return A.ref(),B=A.request(c,{endStream:!1,signal:E}),B.id&&!B.pending?(t.onUpgrade(null,null,B),++I.openStreams):B.once("ready",()=>{t.onUpgrade(null,null,B),++I.openStreams}),B.once("close",()=>{I.openStreams-=1,I.openStreams===0&&A.unref()}),!0;c[Ep]=s,c[Qp]="https";let C=i==="PUT"||i==="POST"||i==="PATCH";r&&typeof r.read=="function"&&r.read(0);let d=k.bodyLength(r);if(d==null&&(d=t.contentLength),(d===0||!C)&&(d=null),tB(i)&&d>0&&t.contentLength!=null&&t.contentLength!==d){if(e[jr])return FA(e,t,new Ze),!1;process.emitWarning(new Ze)}d!=null&&(p(r,"no body must not have content length"),c[ap]=`${d}`),A.ref();let u=i==="GET"||i==="HEAD";return g?(c[cp]="100-continue",B=A.request(c,{endStream:u,signal:E}),B.once("continue",y)):(B=A.request(c,{endStream:u,signal:E}),y()),++I.openStreams,B.once("response",D=>{let{[Bp]:S,...J}=D;t.onHeaders(Number(S),J,B.resume.bind(B),"")===!1&&B.pause()}),B.once("end",()=>{t.onComplete([])}),B.on("data",D=>{t.onData(D)===!1&&B.pause()}),B.once("close",()=>{I.openStreams-=1,I.openStreams===0&&A.unref()}),B.once("error",function(D){e[_A]&&!e[_A].destroyed&&!this.closed&&!this.destroyed&&(I.streams-=1,k.destroy(B,D))}),B.once("frameError",(D,S)=>{let J=new Fe(`HTTP/2: "frameError" received - type ${D}, code ${S}`);FA(e,t,J),e[_A]&&!e[_A].destroyed&&!this.closed&&!this.destroyed&&(I.streams-=1,k.destroy(B,J))}),!0;function y(){r?k.isBuffer(r)?(p(d===r.byteLength,"buffer body must have content length"),B.cork(),B.write(r),B.uncork(),B.end(),t.onBodySent(r),t.onRequestSent()):k.isBlobLike(r)?typeof r.stream=="function"?gs({client:e,request:t,contentLength:d,h2stream:B,expectsPayload:C,body:r.stream(),socket:e[sA],header:""}):iB({body:r,client:e,request:t,contentLength:d,expectsPayload:C,h2stream:B,header:"",socket:e[sA]}):k.isStream(r)?rB({body:r,client:e,request:t,contentLength:d,expectsPayload:C,socket:e[sA],h2stream:B,header:""}):k.isIterable(r)?gs({body:r,client:e,request:t,contentLength:d,expectsPayload:C,header:"",h2stream:B,socket:e[sA]}):p(!1):t.onRequestSent()}}function rB({h2stream:e,body:A,client:t,request:r,socket:i,contentLength:s,header:n,expectsPayload:o}){if(p(s!==0||t[tA]===0,"stream body cannot be pipelined"),t[be]==="h2"){let d=function(u){r.onBodySent(u)},C=Hw(A,e,u=>{u?(k.destroy(A,u),k.destroy(e,u)):r.onRequestSent()});C.on("data",d),C.once("end",()=>{C.removeListener("data",d),k.destroy(C)});return}let g=!1,E=new Es({socket:i,request:r,contentLength:s,client:t,expectsPayload:o,header:n}),Q=function(C){if(!g)try{!E.write(C)&&this.pause&&this.pause()}catch(d){k.destroy(this,d)}},c=function(){g||A.resume&&A.resume()},B=function(){if(g)return;let C=new Eg;queueMicrotask(()=>I(C))},I=function(C){if(!g){if(g=!0,p(i.destroyed||i[Xe]&&t[tA]<=1),i.off("drain",c).off("error",I),A.removeListener("data",Q).removeListener("end",I).removeListener("error",I).removeListener("close",B),!C)try{E.end()}catch(d){C=d}E.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?k.destroy(A,C):k.destroy(A)}};A.on("data",Q).on("end",I).on("error",I).on("close",B),A.resume&&A.resume(),i.on("drain",c).on("error",I)}async function iB({h2stream:e,body:A,client:t,request:r,socket:i,contentLength:s,header:n,expectsPayload:o}){p(s===A.size,"blob body must have content length");let g=t[be]==="h2";try{if(s!=null&&s!==A.size)throw new Ze;let E=Buffer.from(await A.arrayBuffer());g?(e.cork(),e.write(E),e.uncork()):(i.cork(),i.write(`${n}content-length: ${s}\r
|
||||
\r
|
||||
`,"latin1"),s.write(E),s.uncork()),r.onBodySent(E),r.onRequestSent(),o||(s[FA]=!0),ZA(t)}catch(E){k.destroy(g?e:s,E)}}async function nn({h2stream:e,body:A,client:t,request:r,socket:s,contentLength:n,header:i,expectsPayload:o}){D(n!==0||t[tA]===0,"iterator body cannot be pipelined");let g=null;function E(){if(g){let c=g;g=null,c()}}let Q=()=>new Promise((c,h)=>{D(g===null),s[uA]?h(s[uA]):g=c});if(t[be]==="h2"){e.on("close",E).on("drain",E);try{for await(let c of A){if(s[uA])throw s[uA];let h=e.write(c);r.onBodySent(c),h||await Q()}}catch(c){e.destroy(c)}finally{r.onRequestSent(),e.end(),e.off("close",E).off("drain",E)}return}s.on("close",E).on("drain",E);let B=new on({socket:s,request:r,contentLength:n,client:t,expectsPayload:o,header:i});try{for await(let c of A){if(s[uA])throw s[uA];B.write(c)||await Q()}B.end()}catch(c){B.destroy(c)}finally{s.off("close",E).off("drain",E)}}var on=class{constructor({socket:A,request:t,contentLength:r,client:s,expectsPayload:n,header:i}){this.socket=A,this.request=t,this.contentLength=r,this.client=s,this.bytesWritten=0,this.expectsPayload=n,this.header=i,A[Ze]=!0}write(A){let{socket:t,request:r,contentLength:s,client:n,bytesWritten:i,expectsPayload:o,header:g}=this;if(t[uA])throw t[uA];if(t.destroyed)return!1;let E=Buffer.byteLength(A);if(!E)return!0;if(s!==null&&i+E>s){if(n[Zr])throw new _e;process.emitWarning(new _e)}t.cork(),i===0&&(o||(t[FA]=!0),s===null?t.write(`${g}transfer-encoding: chunked\r
|
||||
`,"latin1"):t.write(`${g}content-length: ${s}\r
|
||||
`,"latin1"),i.write(E),i.uncork()),r.onBodySent(E),r.onRequestSent(),o||(i[mA]=!0),ZA(t)}catch(E){k.destroy(g?e:i,E)}}async function gs({h2stream:e,body:A,client:t,request:r,socket:i,contentLength:s,header:n,expectsPayload:o}){p(s!==0||t[tA]===0,"iterator body cannot be pipelined");let g=null;function E(){if(g){let B=g;g=null,B()}}let Q=()=>new Promise((B,I)=>{p(g===null),i[uA]?I(i[uA]):g=B});if(t[be]==="h2"){e.on("close",E).on("drain",E);try{for await(let B of A){if(i[uA])throw i[uA];let I=e.write(B);r.onBodySent(B),I||await Q()}}catch(B){e.destroy(B)}finally{r.onRequestSent(),e.end(),e.off("close",E).off("drain",E)}return}i.on("close",E).on("drain",E);let c=new Es({socket:i,request:r,contentLength:s,client:t,expectsPayload:o,header:n});try{for await(let B of A){if(i[uA])throw i[uA];c.write(B)||await Q()}c.end()}catch(B){c.destroy(B)}finally{i.off("close",E).off("drain",E)}}var Es=class{constructor({socket:A,request:t,contentLength:r,client:i,expectsPayload:s,header:n}){this.socket=A,this.request=t,this.contentLength=r,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=n,A[Xe]=!0}write(A){let{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:o,header:g}=this;if(t[uA])throw t[uA];if(t.destroyed)return!1;let E=Buffer.byteLength(A);if(!E)return!0;if(i!==null&&n+E>i){if(s[jr])throw new Ze;process.emitWarning(new Ze)}t.cork(),n===0&&(o||(t[mA]=!0),i===null?t.write(`${g}transfer-encoding: chunked\r
|
||||
`,"latin1"):t.write(`${g}content-length: ${i}\r
|
||||
\r
|
||||
`,"latin1")),s===null&&t.write(`\r
|
||||
`,"latin1")),i===null&&t.write(`\r
|
||||
${E.toString(16)}\r
|
||||
`,"latin1"),this.bytesWritten+=E;let Q=t.write(A);return t.uncork(),r.onBodySent(A),Q||t[sA].timeout&&t[sA].timeoutType===Ar&&t[sA].timeout.refresh&&t[sA].timeout.refresh(),Q}end(){let{socket:A,contentLength:t,client:r,bytesWritten:s,expectsPayload:n,header:i,request:o}=this;if(o.onRequestSent(),A[Ze]=!1,A[uA])throw A[uA];if(!A.destroyed){if(s===0?n?A.write(`${i}content-length: 0\r
|
||||
`,"latin1"),this.bytesWritten+=E;let Q=t.write(A);return t.uncork(),r.onBodySent(A),Q||t[iA].timeout&&t[iA].timeoutType===rr&&t[iA].timeout.refresh&&t[iA].timeout.refresh(),Q}end(){let{socket:A,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:o}=this;if(o.onRequestSent(),A[Xe]=!1,A[uA])throw A[uA];if(!A.destroyed){if(i===0?s?A.write(`${n}content-length: 0\r
|
||||
\r
|
||||
`,"latin1"):A.write(`${i}\r
|
||||
`,"latin1"):A.write(`${n}\r
|
||||
`,"latin1"):t===null&&A.write(`\r
|
||||
0\r
|
||||
\r
|
||||
`,"latin1"),t!==null&&s!==t){if(r[Zr])throw new _e;process.emitWarning(new _e)}A[sA].timeout&&A[sA].timeoutType===Ar&&A[sA].timeout.refresh&&A[sA].timeout.refresh(),ZA(r)}}destroy(A){let{socket:t,client:r}=this;t[Ze]=!1,A&&(D(r[tA]<=1,"pipeline should only contain this request"),k.destroy(t,A))}};function NA(e,A,t){try{A.onError(t),D(A.aborted)}catch(r){e.emit("error",r)}}PB.exports=Ko});var ZB=l((FS,_B)=>{"use strict";a();var En=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(A){this.list[this.top]=A,this.top=this.top+1&2047}shift(){let A=this.list[this.bottom];return A===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,A)}};_B.exports=class{constructor(){this.head=this.tail=new En}isEmpty(){return this.head.isEmpty()}push(A){this.head.isFull()&&(this.head=this.head.next=new En),this.head.push(A)}shift(){let A=this.tail,t=A.shift();return A.isEmpty()&&A.next!==null&&(this.tail=A.next),t}}});var KB=l((mS,XB)=>{"use strict";a();var{kFree:$w,kConnected:AD,kPending:eD,kQueued:tD,kRunning:rD,kSize:sD}=K(),wt=Symbol("pool"),tg=class{constructor(A){this[wt]=A}get connected(){return this[wt][AD]}get free(){return this[wt][$w]}get pending(){return this[wt][eD]}get queued(){return this[wt][tD]}get running(){return this[wt][rD]}get size(){return this[wt][sD]}};XB.exports=tg});var gg=l((SS,ic)=>{"use strict";a();var nD=Hr(),iD=ZB(),{kConnected:rg,kSize:jB,kRunning:zB,kPending:$B,kQueued:jr,kBusy:oD,kFree:gD,kUrl:ED,kClose:QD,kDestroy:aD,kDispatch:BD}=K(),cD=KB(),xA=Symbol("clients"),mA=Symbol("needDrain"),zr=Symbol("queue"),sg=Symbol("closed resolve"),ng=Symbol("onDrain"),Ac=Symbol("onConnect"),ec=Symbol("onDisconnect"),tc=Symbol("onConnectionError"),ig=Symbol("get dispatcher"),sc=Symbol("add client"),nc=Symbol("remove client"),rc=Symbol("stats"),og=class extends nD{constructor(){super(),this[zr]=new iD,this[xA]=[],this[jr]=0;let A=this;this[ng]=function(r,s){let n=A[zr],i=!1;for(;!i;){let o=n.shift();if(!o)break;A[jr]--,i=!this.dispatch(o.opts,o.handler)}this[mA]=i,!this[mA]&&A[mA]&&(A[mA]=!1,A.emit("drain",r,[A,...s])),A[sg]&&n.isEmpty()&&Promise.all(A[xA].map(o=>o.close())).then(A[sg])},this[Ac]=(t,r)=>{A.emit("connect",t,[A,...r])},this[ec]=(t,r,s)=>{A.emit("disconnect",t,[A,...r],s)},this[tc]=(t,r,s)=>{A.emit("connectionError",t,[A,...r],s)},this[rc]=new cD(this)}get[oD](){return this[mA]}get[rg](){return this[xA].filter(A=>A[rg]).length}get[gD](){return this[xA].filter(A=>A[rg]&&!A[mA]).length}get[$B](){let A=this[jr];for(let{[$B]:t}of this[xA])A+=t;return A}get[zB](){let A=0;for(let{[zB]:t}of this[xA])A+=t;return A}get[jB](){let A=this[jr];for(let{[jB]:t}of this[xA])A+=t;return A}get stats(){return this[rc]}async[QD](){return this[zr].isEmpty()?Promise.all(this[xA].map(A=>A.close())):new Promise(A=>{this[sg]=A})}async[aD](A){for(;;){let t=this[zr].shift();if(!t)break;t.handler.onError(A)}return Promise.all(this[xA].map(t=>t.destroy(A)))}[BD](A,t){let r=this[ig]();return r?r.dispatch(A,t)||(r[mA]=!0,this[mA]=!this[ig]()):(this[mA]=!0,this[zr].push({opts:A,handler:t}),this[jr]++),!this[mA]}[sc](A){return A.on("drain",this[ng]).on("connect",this[Ac]).on("disconnect",this[ec]).on("connectionError",this[tc]),this[xA].push(A),this[mA]&&process.nextTick(()=>{this[mA]&&this[ng](A[ED],[this,A])}),this}[nc](A){A.close(()=>{let t=this[xA].indexOf(A);t!==-1&&this[xA].splice(t,1)}),this[mA]=this[xA].some(t=>!t[mA]&&t.closed!==!0&&t.destroyed!==!0)}};ic.exports={PoolBase:og,kClients:xA,kNeedDrain:mA,kAddClient:sc,kRemoveClient:nc,kGetDispatcher:ig}});var er=l((LS,Ec)=>{"use strict";a();var{PoolBase:CD,kClients:Qn,kNeedDrain:ID,kAddClient:hD,kGetDispatcher:lD}=gg(),uD=Kr(),{InvalidArgumentError:Eg}=_(),Qg=T(),{kUrl:oc,kInterceptors:dD}=K(),fD=Vr(),ag=Symbol("options"),Bg=Symbol("connections"),gc=Symbol("factory");function yD(e,A){return new uD(e,A)}var cg=class extends CD{constructor(A,{connections:t,factory:r=yD,connect:s,connectTimeout:n,tls:i,maxCachedSessions:o,socketPath:g,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q,allowH2:B,...c}={}){if(super(),t!=null&&(!Number.isFinite(t)||t<0))throw new Eg("invalid connections");if(typeof r!="function")throw new Eg("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Eg("connect must be a function or an object");typeof s!="function"&&(s=fD({...i,maxCachedSessions:o,allowH2:B,socketPath:g,timeout:n,...Qg.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q}:void 0,...s})),this[dD]=c.interceptors&&c.interceptors.Pool&&Array.isArray(c.interceptors.Pool)?c.interceptors.Pool:[],this[Bg]=t||null,this[oc]=Qg.parseOrigin(A),this[ag]={...Qg.deepClone(c),connect:s,allowH2:B},this[ag].interceptors=c.interceptors?{...c.interceptors}:void 0,this[gc]=r,this.on("connectionError",(h,C,f)=>{for(let u of C){let y=this[Qn].indexOf(u);y!==-1&&this[Qn].splice(y,1)}})}[lD](){l
Line truncated
|
||||
`,"latin1"),t!==null&&i!==t){if(r[jr])throw new Ze;process.emitWarning(new Ze)}A[iA].timeout&&A[iA].timeoutType===rr&&A[iA].timeout.refresh&&A[iA].timeout.refresh(),ZA(r)}}destroy(A){let{socket:t,client:r}=this;t[Xe]=!1,A&&(p(r[tA]<=1,"pipeline should only contain this request"),k.destroy(t,A))}};function FA(e,A,t){try{A.onError(t),p(A.aborted)}catch(r){e.emit("error",r)}}sB.exports=ig});var oB=l((cU,nB)=>{"use strict";a();var as=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(A){this.list[this.top]=A,this.top=this.top+1&2047}shift(){let A=this.list[this.bottom];return A===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,A)}};nB.exports=class{constructor(){this.head=this.tail=new as}isEmpty(){return this.head.isEmpty()}push(A){this.head.isFull()&&(this.head=this.head.next=new as),this.head.push(A)}shift(){let A=this.tail,t=A.shift();return A.isEmpty()&&A.next!==null&&(this.tail=A.next),t}}});var EB=l((CU,gB)=>{"use strict";a();var{kFree:Rp,kConnected:kp,kPending:mp,kQueued:Fp,kRunning:Np,kSize:bp}=K(),Dt=Symbol("pool"),Qg=class{constructor(A){this[Dt]=A}get connected(){return this[Dt][kp]}get free(){return this[Dt][Rp]}get pending(){return this[Dt][mp]}get queued(){return this[Dt][Fp]}get running(){return this[Dt][Np]}get size(){return this[Dt][bp]}};gB.exports=Qg});var hg=l((hU,dB)=>{"use strict";a();var Sp=Or(),Up=oB(),{kConnected:ag,kSize:QB,kRunning:aB,kPending:cB,kQueued:Ai,kBusy:Lp,kFree:Mp,kUrl:xp,kClose:Yp,kDestroy:Jp,kDispatch:Gp}=K(),Tp=EB(),YA=Symbol("clients"),NA=Symbol("needDrain"),ei=Symbol("queue"),cg=Symbol("closed resolve"),Bg=Symbol("onDrain"),BB=Symbol("onConnect"),CB=Symbol("onDisconnect"),IB=Symbol("onConnectionError"),Cg=Symbol("get dispatcher"),lB=Symbol("add client"),uB=Symbol("remove client"),hB=Symbol("stats"),Ig=class extends Sp{constructor(){super(),this[ei]=new Up,this[YA]=[],this[Ai]=0;let A=this;this[Bg]=function(r,i){let s=A[ei],n=!1;for(;!n;){let o=s.shift();if(!o)break;A[Ai]--,n=!this.dispatch(o.opts,o.handler)}this[NA]=n,!this[NA]&&A[NA]&&(A[NA]=!1,A.emit("drain",r,[A,...i])),A[cg]&&s.isEmpty()&&Promise.all(A[YA].map(o=>o.close())).then(A[cg])},this[BB]=(t,r)=>{A.emit("connect",t,[A,...r])},this[CB]=(t,r,i)=>{A.emit("disconnect",t,[A,...r],i)},this[IB]=(t,r,i)=>{A.emit("connectionError",t,[A,...r],i)},this[hB]=new Tp(this)}get[Lp](){return this[NA]}get[ag](){return this[YA].filter(A=>A[ag]).length}get[Mp](){return this[YA].filter(A=>A[ag]&&!A[NA]).length}get[cB](){let A=this[Ai];for(let{[cB]:t}of this[YA])A+=t;return A}get[aB](){let A=0;for(let{[aB]:t}of this[YA])A+=t;return A}get[QB](){let A=this[Ai];for(let{[QB]:t}of this[YA])A+=t;return A}get stats(){return this[hB]}async[Yp](){return this[ei].isEmpty()?Promise.all(this[YA].map(A=>A.close())):new Promise(A=>{this[cg]=A})}async[Jp](A){for(;;){let t=this[ei].shift();if(!t)break;t.handler.onError(A)}return Promise.all(this[YA].map(t=>t.destroy(A)))}[Gp](A,t){let r=this[Cg]();return r?r.dispatch(A,t)||(r[NA]=!0,this[NA]=!this[Cg]()):(this[NA]=!0,this[ei].push({opts:A,handler:t}),this[Ai]++),!this[NA]}[lB](A){return A.on("drain",this[Bg]).on("connect",this[BB]).on("disconnect",this[CB]).on("connectionError",this[IB]),this[YA].push(A),this[NA]&&process.nextTick(()=>{this[NA]&&this[Bg](A[xp],[this,A])}),this}[uB](A){A.close(()=>{let t=this[YA].indexOf(A);t!==-1&&this[YA].splice(t,1)}),this[NA]=this[YA].some(t=>!t[NA]&&t.closed!==!0&&t.destroyed!==!0)}};dB.exports={PoolBase:Ig,kClients:YA,kNeedDrain:NA,kAddClient:lB,kRemoveClient:uB,kGetDispatcher:Cg}});var ir=l((uU,wB)=>{"use strict";a();var{PoolBase:vp,kClients:cs,kNeedDrain:Hp,kAddClient:Vp,kGetDispatcher:qp}=hg(),Op=$r(),{InvalidArgumentError:lg}=_(),ug=T(),{kUrl:fB,kInterceptors:Wp}=K(),Pp=Wr(),dg=Symbol("options"),fg=Symbol("connections"),yB=Symbol("factory");function _p(e,A){return new Op(e,A)}var yg=class extends vp{constructor(A,{connections:t,factory:r=_p,connect:i,connectTimeout:s,tls:n,maxCachedSessions:o,socketPath:g,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q,allowH2:c,...B}={}){if(super(),t!=null&&(!Number.isFinite(t)||t<0))throw new lg("invalid connections");if(typeof r!="function")throw new lg("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new lg("connect must be a function or an object");typeof i!="function"&&(i=Pp({...n,maxCachedSessions:o,allowH2:c,socketPath:g,timeout:s,...ug.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q}:void 0,...i})),this[Wp]=B.interceptors&&B.interceptors.Pool&&Array.isArray(B.interceptors.Pool)?B.interceptors.Pool:[],this[fg]=t||null,this[fB]=ug.parseOrigin(A),this[dg]={...ug.deepClone(B),connect:i,allowH2:c},this[dg].interceptors=B.interceptors?{...B.interceptors}:void 0,this[yB]=r,this.on("connectionError",(I,C,d)=>{for(let u of C){let y=this[cs].indexOf(u);y!==-1&&this[cs].splice(y,1)}})}[qp](){l
Line truncated
|
||||
${r.count} ${r.noun} ${r.is} pending:
|
||||
|
||||
${A.format(t)}
|
||||
`.trim())}};HC.exports=jg});var ZC=l((kU,_C)=>{"use strict";a();var{kProxy:w0,kClose:D0,kDestroy:p0,kInterceptors:R0}=K(),{URL:qC}=I("url"),OC=As(),k0=er(),F0=Hr(),{InvalidArgumentError:ns,RequestAbortedError:N0}=_(),WC=Vr(),rs=Symbol("proxy agent"),Sn=Symbol("proxy client"),ss=Symbol("proxy headers"),zg=Symbol("request tls settings"),m0=Symbol("proxy tls settings"),PC=Symbol("connect endpoint function");function b0(e){return e==="https:"?443:80}function S0(e){if(typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new ns("Proxy opts.uri is mandatory");return{uri:e.uri,protocol:e.protocol||"https"}}function U0(e,A){return new k0(e,A)}var $g=class extends F0{constructor(A){if(super(A),this[w0]=S0(A),this[rs]=new OC(A),this[R0]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[],typeof A=="string"&&(A={uri:A}),!A||!A.uri)throw new ns("Proxy opts.uri is mandatory");let{clientFactory:t=U0}=A;if(typeof t!="function")throw new ns("Proxy opts.clientFactory must be a function.");this[zg]=A.requestTls,this[m0]=A.proxyTls,this[ss]=A.headers||{};let r=new qC(A.uri),{origin:s,port:n,host:i,username:o,password:g}=r;if(A.auth&&A.token)throw new ns("opts.auth cannot be used in combination with opts.token");A.auth?this[ss]["proxy-authorization"]=`Basic ${A.auth}`:A.token?this[ss]["proxy-authorization"]=A.token:o&&g&&(this[ss]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(o)}:${decodeURIComponent(g)}`).toString("base64")}`);let E=WC({...A.proxyTls});this[PC]=WC({...A.requestTls}),this[Sn]=t(r,{connect:E}),this[rs]=new OC({...A,connect:async(Q,B)=>{let c=Q.host;Q.port||(c+=`:${b0(Q.protocol)}`);try{let{socket:h,statusCode:C}=await this[Sn].connect({origin:s,port:n,path:c,signal:Q.signal,headers:{...this[ss],host:i}});if(C!==200&&(h.on("error",()=>{}).destroy(),B(new N0(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){B(null,h);return}let f;this[zg]?f=this[zg].servername:f=Q.servername,this[PC]({...Q,servername:f,httpSocket:h},B)}catch(h){B(h)}}})}dispatch(A,t){let{host:r}=new qC(A.origin),s=L0(A.headers);return M0(s),this[rs].dispatch({...A,headers:{...s,host:r}},t)}async[D0](){await this[rs].close(),await this[Sn].close()}async[p0](){await this[rs].destroy(),await this[Sn].destroy()}};function L0(e){if(Array.isArray(e)){let A={};for(let t=0;t<e.length;t+=2)A[e[t]]=e[t+1];return A}return e}function M0(e){if(e&&Object.keys(e).find(t=>t.toLowerCase()==="proxy-authorization"))throw new ns("Proxy-Authorization should be sent in ProxyAgent constructor")}_C.exports=$g});var $C=l((NU,zC)=>{"use strict";a();var Nt=I("assert"),{kRetryHandlerDefaultRetry:XC}=K(),{RequestRetryError:Un}=_(),{isDisturbed:KC,parseHeaders:Y0,parseRangeHeader:jC}=T();function x0(e){let A=Date.now();return new Date(e).getTime()-A}var AE=class e{constructor(A,t){let{retryOptions:r,...s}=A,{retry:n,maxRetries:i,maxTimeout:o,minTimeout:g,timeoutFactor:E,methods:Q,errorCodes:B,retryAfter:c,statusCodes:h}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts=s,this.abort=null,this.aborted=!1,this.retryOpts={retry:n??e[XC],retryAfter:c??!0,maxTimeout:o??30*1e3,timeout:g??500,timeoutFactor:E??2,maxRetries:i??5,methods:Q??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:h??[500,502,503,504,429],errorCodes:B??["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(A,t,r){this.handler.onUpgrade&&this.handler.onUpgrade(A,t,r)}onConnect(A){this.aborted?A(this.reason):this.abort=A}onBodySent(A){if(this.handler.onBodySent)return this.handler.onBodySent(A)}static[XC](A,{state:t,opts:r},s){let{statusCode:n,code:i,headers:o}=A,{method:g,retryOptions:E}=r,{maxRetries:Q,timeout:B,maxTimeout:c,timeoutFactor:h,statusCodes:C,errorCodes:f,methods:u}=E,{counter:y,currentTimeout:p}=t;if(p=p!=null&&p>0?p:B,i&&i!=="UND_ERR_REQ_RETRY"&&i!=="UND_ERR_SOCKET"&&!f.includes(i)){s(A);return}if(Array.isArray(u)&&!u.includes(g)){s(A);return}if(n!=null&&Array.isArray(C)&&!C.includes(n)){s(A);return}if(y>Q){s(A);return}let S=o!=null&&o["retry-after"];S&&(S=Number(S),S=isNaN(S)?x0(S):S*1e3);let J=S>0?Math.min(S,c):Math.min(p*h**y,c);t.currentTimeout=J,setTimeout(()=>s(null),J)}onHeaders(A,t,r,s){let n=Y0(t);if(this.retryCount+=1,A>=300)return this.abort(new Un("Request failed",A,{headers:n,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,A!==206)return!0;let o=jC(n["content-range"]);if(!o)return this.abort(new Un("Content-Range mismatch",A,{headers:n,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==n.etag)return this.abort(new Un("ETag mismatch",A,{headers:n,count:this.retryCount})),!1;let{start:g,size:E,end:Q=E}=o;return Nt(this.start===g,"content-range
Line truncated
|
||||
`.trim())}};AI.exports=sE});var oI=l((aL,nI)=>{"use strict";a();var{kProxy:Z0,kClose:X0,kDestroy:K0,kInterceptors:j0}=K(),{URL:tI}=h("url"),rI=ri(),z0=ir(),$0=Or(),{InvalidArgumentError:gi,RequestAbortedError:AR}=_(),iI=Wr(),ni=Symbol("proxy agent"),Ls=Symbol("proxy client"),oi=Symbol("proxy headers"),nE=Symbol("request tls settings"),eR=Symbol("proxy tls settings"),sI=Symbol("connect endpoint function");function tR(e){return e==="https:"?443:80}function rR(e){if(typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new gi("Proxy opts.uri is mandatory");return{uri:e.uri,protocol:e.protocol||"https"}}function iR(e,A){return new z0(e,A)}var oE=class extends $0{constructor(A){if(super(A),this[Z0]=rR(A),this[ni]=new rI(A),this[j0]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[],typeof A=="string"&&(A={uri:A}),!A||!A.uri)throw new gi("Proxy opts.uri is mandatory");let{clientFactory:t=iR}=A;if(typeof t!="function")throw new gi("Proxy opts.clientFactory must be a function.");this[nE]=A.requestTls,this[eR]=A.proxyTls,this[oi]=A.headers||{};let r=new tI(A.uri),{origin:i,port:s,host:n,username:o,password:g}=r;if(A.auth&&A.token)throw new gi("opts.auth cannot be used in combination with opts.token");A.auth?this[oi]["proxy-authorization"]=`Basic ${A.auth}`:A.token?this[oi]["proxy-authorization"]=A.token:o&&g&&(this[oi]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(o)}:${decodeURIComponent(g)}`).toString("base64")}`);let E=iI({...A.proxyTls});this[sI]=iI({...A.requestTls}),this[Ls]=t(r,{connect:E}),this[ni]=new rI({...A,connect:async(Q,c)=>{let B=Q.host;Q.port||(B+=`:${tR(Q.protocol)}`);try{let{socket:I,statusCode:C}=await this[Ls].connect({origin:i,port:s,path:B,signal:Q.signal,headers:{...this[oi],host:n}});if(C!==200&&(I.on("error",()=>{}).destroy(),c(new AR(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){c(null,I);return}let d;this[nE]?d=this[nE].servername:d=Q.servername,this[sI]({...Q,servername:d,httpSocket:I},c)}catch(I){c(I)}}})}dispatch(A,t){let{host:r}=new tI(A.origin),i=sR(A.headers);return nR(i),this[ni].dispatch({...A,headers:{...i,host:r}},t)}async[X0](){await this[ni].close(),await this[Ls].close()}async[K0](){await this[ni].destroy(),await this[Ls].destroy()}};function sR(e){if(Array.isArray(e)){let A={};for(let t=0;t<e.length;t+=2)A[e[t]]=e[t+1];return A}return e}function nR(e){if(e&&Object.keys(e).find(t=>t.toLowerCase()==="proxy-authorization"))throw new gi("Proxy-Authorization should be sent in ProxyAgent constructor")}nI.exports=oE});var cI=l((BL,aI)=>{"use strict";a();var bt=h("assert"),{kRetryHandlerDefaultRetry:gI}=K(),{RequestRetryError:Ms}=_(),{isDisturbed:EI,parseHeaders:oR,parseRangeHeader:QI}=T();function gR(e){let A=Date.now();return new Date(e).getTime()-A}var gE=class e{constructor(A,t){let{retryOptions:r,...i}=A,{retry:s,maxRetries:n,maxTimeout:o,minTimeout:g,timeoutFactor:E,methods:Q,errorCodes:c,retryAfter:B,statusCodes:I}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts=i,this.abort=null,this.aborted=!1,this.retryOpts={retry:s??e[gI],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:I??[500,502,503,504,429],errorCodes:c??["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(A,t,r){this.handler.onUpgrade&&this.handler.onUpgrade(A,t,r)}onConnect(A){this.aborted?A(this.reason):this.abort=A}onBodySent(A){if(this.handler.onBodySent)return this.handler.onBodySent(A)}static[gI](A,{state:t,opts:r},i){let{statusCode:s,code:n,headers:o}=A,{method:g,retryOptions:E}=r,{maxRetries:Q,timeout:c,maxTimeout:B,timeoutFactor:I,statusCodes:C,errorCodes:d,methods:u}=E,{counter:y,currentTimeout:D}=t;if(D=D!=null&&D>0?D:c,n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!d.includes(n)){i(A);return}if(Array.isArray(u)&&!u.includes(g)){i(A);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(A);return}if(y>Q){i(A);return}let S=o!=null&&o["retry-after"];S&&(S=Number(S),S=isNaN(S)?gR(S):S*1e3);let J=S>0?Math.min(S,B):Math.min(D*I**y,B);t.currentTimeout=J,setTimeout(()=>i(null),J)}onHeaders(A,t,r,i){let s=oR(t);if(this.retryCount+=1,A>=300)return this.abort(new Ms("Request failed",A,{headers:s,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,A!==206)return!0;let o=QI(s["content-range"]);if(!o)return this.abort(new Ms("Content-Range mismatch",A,{headers:s,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Ms("ETag mismatch",A,{headers:s,count:this.retryCount})),!1;let{start:g,size:E,end:Q=E}=o;return bt(this.start===g,"content-range
Line truncated
|
||||
|
||||
Error Code : ${i.statusCode}
|
||||
Error Code : ${n.statusCode}
|
||||
|
||||
Error Message: ${i.message}`)})).result)===null||t===void 0?void 0:t.value;if(!n)throw new Error("Response json body do not have ID Token field");return n})}static getIDToken(A){return Ql(this,void 0,void 0,function*(){try{let t=e.getIDTokenUrl();if(A){let s=encodeURIComponent(A);t=`${t}&audience=${s}`}(0,al.debug)(`ID token url is ${t}`);let r=yield e.getCall(t);return(0,al.setSecret)(r),r}catch(t){throw new Error(`Error message: ${t.message}`)}})}};kr.OidcClient=qE});var _E=l(HA=>{"use strict";a();var OE=HA&&HA.__awaiter||function(e,A,t,r){function s(n){return n instanceof t?n:new t(function(i){i(n)})}return new(t||(t=Promise))(function(n,i){function o(Q){try{E(r.next(Q))}catch(B){i(B)}}function g(Q){try{E(r.throw(Q))}catch(B){i(B)}}function E(Q){Q.done?n(Q.value):s(Q.value).then(o,g)}E((r=r.apply(e,A||[])).next())})};Object.defineProperty(HA,"__esModule",{value:!0});HA.summary=HA.markdownSummary=HA.SUMMARY_DOCS_URL=HA.SUMMARY_ENV_VAR=void 0;var kN=I("os"),WE=I("fs"),{access:FN,appendFile:NN,writeFile:mN}=WE.promises;HA.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";HA.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var PE=class{constructor(){this._buffer=""}filePath(){return OE(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let A=process.env[HA.SUMMARY_ENV_VAR];if(!A)throw new Error(`Unable to find environment variable for $${HA.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield FN(A,WE.constants.R_OK|WE.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${A}'. Check if the file has correct read/write permissions.`)}return this._filePath=A,this._filePath})}wrap(A,t,r={}){let s=Object.entries(r).map(([n,i])=>` ${n}="${i}"`).join("");return t?`<${A}${s}>${t}</${A}>`:`<${A}${s}>`}write(A){return OE(this,void 0,void 0,function*(){let t=!!A?.overwrite,r=yield this.filePath();return yield(t?mN:NN)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return OE(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(A,t=!1){return this._buffer+=A,t?this.addEOL():this}addEOL(){return this.addRaw(kN.EOL)}addCodeBlock(A,t){let r=Object.assign({},t&&{lang:t}),s=this.wrap("pre",this.wrap("code",A),r);return this.addRaw(s).addEOL()}addList(A,t=!1){let r=t?"ol":"ul",s=A.map(i=>this.wrap("li",i)).join(""),n=this.wrap(r,s);return this.addRaw(n).addEOL()}addTable(A){let t=A.map(s=>{let n=s.map(i=>{if(typeof i=="string")return this.wrap("td",i);let{header:o,data:g,colspan:E,rowspan:Q}=i,B=o?"th":"td",c=Object.assign(Object.assign({},E&&{colspan:E}),Q&&{rowspan:Q});return this.wrap(B,g,c)}).join("");return this.wrap("tr",n)}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(A,t){let r=this.wrap("details",this.wrap("summary",A)+t);return this.addRaw(r).addEOL()}addImage(A,t,r){let{width:s,height:n}=r||{},i=Object.assign(Object.assign({},s&&{width:s}),n&&{height:n}),o=this.wrap("img",null,Object.assign({src:A,alt:t},i));return this.addRaw(o).addEOL()}addHeading(A,t){let r=`h${t}`,s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",n=this.wrap(s,A);return this.addRaw(n).addEOL()}addSeparator(){let A=this.wrap("hr",null);return this.addRaw(A).addEOL()}addBreak(){let A=this.wrap("br",null);return this.addRaw(A).addEOL()}addQuote(A,t){let r=Object.assign({},t&&{cite:t}),s=this.wrap("blockquote",A,r);return this.addRaw(s).addEOL()}addLink(A,t){let r=this.wrap("a",A,{href:t});return this.addRaw(r).addEOL()}},cl=new PE;HA.markdownSummary=cl;HA.summary=cl});var Cl=l(de=>{"use strict";a();var bN=de&&de.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,s)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),SN=de&&de.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),UN=de&&de.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[r.length]=s);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),s=0;s<r.length;s++)r[s]!=="default"&&bN(t,A,r[s]);return SN(t,A),t}})();Object.defineProperty(de,"__esModule",{value:!0});de.toPosixPath=MN;de.toWin32Path=YN;de.toPlatformPath=xN;var LN=UN(I("path"));function MN(e){return e.replace(/[\\]/g,"/")}function YN(e){return e.replace(/[/]/g,"\\")}function xN(e){return e.replace(/[/\\]/g,LN.sep)}});var XE=l(R=>{"use strict";a();var JN=R&&R.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDLine truncated
|
||||
`);return{name:A,version:t}});v.platform=Ul.default.platform();v.arch=Ul.default.arch();v.isWindows=v.platform==="win32";v.isMacOS=v.platform==="darwin";v.isLinux=v.platform==="linux";function hm(){return Ri(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield v.isWindows?cm():v.isMacOS?Cm():Im()),{platform:v.platform,arch:v.arch,isWindows:v.isWindows,isMacOS:v.isMacOS,isLinux:v.isLinux})})}});var fs=l(L=>{"use strict";a();var lm=L&&L.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,s)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),um=L&&L.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),eQ=L&&L.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[r.length]=s);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),s=0;s<r.length;s++)r[s]!=="default"&&lm(t,A,r[s]);return um(t,A),t}})(),Ml=L&&L.__awaiter||function(e,A,t,r){function s(n){return n instanceof t?n:new t(function(i){i(n)})}return new(t||(t=Promise))(function(n,i){function o(Q){try{E(r.next(Q))}catch(B){i(B)}}function g(Q){try{E(r.throw(Q))}catch(B){i(B)}}function E(Q){Q.done?n(Q.value):s(Q.value).then(o,g)}E((r=r.apply(e,A||[])).next())})};Object.defineProperty(L,"__esModule",{value:!0});L.platform=L.toPlatformPath=L.toWin32Path=L.toPosixPath=L.markdownSummary=L.summary=L.ExitCode=void 0;L.exportVariable=ym;L.setSecret=wm;L.addPath=Dm;L.getInput=tQ;L.getMultilineInput=pm;L.getBooleanInput=Rm;L.setOutput=km;L.setCommandEcho=Fm;L.setFailed=Nm;L.isDebug=mm;L.debug=bm;L.error=xl;L.warning=Sm;L.notice=Um;L.info=Lm;L.startGroup=Jl;L.endGroup=Gl;L.group=Mm;L.saveState=Ym;L.getState=xm;L.getIDToken=Jm;var Be=aQ(),Yt=CQ(),Nr=Rs(),Yl=eQ(I("os")),dm=eQ(I("path")),fm=Bl(),AQ;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(AQ||(L.ExitCode=AQ={}));function ym(e,A){let t=(0,Nr.toCommandValue)(A);if(process.env[e]=t,process.env.GITHUB_ENV||"")return(0,Yt.issueFileCommand)("ENV",(0,Yt.prepareKeyValueMessage)(e,A));(0,Be.issueCommand)("set-env",{name:e},t)}function wm(e){(0,Be.issueCommand)("add-mask",{},e)}function Dm(e){process.env.GITHUB_PATH||""?(0,Yt.issueFileCommand)("PATH",e):(0,Be.issueCommand)("add-path",{},e),process.env.PATH=`${e}${dm.delimiter}${process.env.PATH}`}function tQ(e,A){let t=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(A&&A.required&&!t)throw new Error(`Input required and not supplied: ${e}`);return A&&A.trimWhitespace===!1?t:t.trim()}function pm(e,A){let t=tQ(e,A).split(`
|
||||
`).filter(r=>r!=="");return A&&A.trimWhitespace===!1?t:t.map(r=>r.trim())}function Rm(e,A){let t=["true","True","TRUE"],r=["false","False","FALSE"],s=tQ(e,A);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: ${e}
|
||||
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function km(e,A){if(process.env.GITHUB_OUTPUT||"")return(0,Yt.issueFileCommand)("OUTPUT",(0,Yt.prepareKeyValueMessage)(e,A));process.stdout.write(Yl.EOL),(0,Be.issueCommand)("set-output",{name:e},(0,Nr.toCommandValue)(A))}function Fm(e){(0,Be.issue)("echo",e?"on":"off")}function Nm(e){process.exitCode=AQ.Failure,xl(e)}function mm(){return process.env.RUNNER_DEBUG==="1"}function bm(e){(0,Be.issueCommand)("debug",{},e)}function xl(e,A={}){(0,Be.issueCommand)("error",(0,Nr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function Sm(e,A={}){(0,Be.issueCommand)("warning",(0,Nr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function Um(e,A={}){(0,Be.issueCommand)("notice",(0,Nr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function Lm(e){process.stdout.write(e+Yl.EOL)}function Jl(e){(0,Be.issue)("group",e)}function Gl(){(0,Be.issue)("endgroup")}function Mm(e,A){return Ml(this,void 0,void 0,function*(){Jl(e);let t;try{t=yield A()}finally{Gl()}return t})}function Ym(e,A){if(process.env.GITHUB_STATE||"")return(0,Yt.issueFileCommand)("STATE",(0,Yt.prepareKeyValueMessage)(e,A));(0,Be.issueCommand)("save-state",{name:e},(0,Nr.toCommandValue)(A))}function xm(e){return process.env[`STATE_${e}`]||""}function Jm(e){return Ml(this,void 0,void 0,function*(){return yield fm.OidcClient.getIDToken(e)})}var Gm=_E();Object.defineProperty(L,"summary",{enumerable:!0,get:function(){return Gm.summary}});var Tm=_E();Object.defineProperty(L,"markdownSummary",{enumerable:!0,get:function(){return Tm.markdownSummary}});var rQ=Cl();Object.defineProperty(L,"toPosixPath",{enumerable:!0,get:function(){return rQ.toPosixPath}});Object.defineProperty(L,"toWin32Path",{enumerable:!0,get:function(){return rQ.toWin32Path}});Object.defineProperty(L,"toPlatformPath",{enumerable:!0,get:function(){return rQ.toPlatformPath}});L.platform=eQ(Ll())});a();var mr=Ds(fs(),1);a();var fe=Ds(fs(),1);import Tl from"node:path";var ki=class{options={envRegex:/^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,configurationFile:{input:"configurationFile",env:"RENOVATE_CONFIG_FILE",optional:!0},token:{input:"token",env:"RENOVATE_TOKEN",optional:!1}};token;_environmentVariables;_configurationFile;constructor(){let A=(0,fe.getInput)("env-regex"),t=A?new RegExp(A):this.options.envRegex;this._environmentVariables=new Map(Object.entries(process.env).filter(([r])=>t.test(r)).filter(r=>r[1]!==void 0)),this.token=this.get(this.options.token.input,this.options.token.env,this.options.token.optional),this._configurationFile=this.get(this.options.configurationFile.input,this.options.configurationFile.env,this.options.configurationFile.optional)}configurationFile(){return this._configurationFile.value!==""?{key:this._configurationFile.key,value:Tl.resolve(this._configurationFile.value)}:null}getDockerImage(){return(0,fe.getInput)("renovate-image")||null}getVersion(){return(0,fe.getInput)("renovate-version")||null}mountDockerSocket(){return(0,fe.getInput)("mount-docker-socket")==="true"}dockerSocketHostPath(){return(0,fe.getInput)("docker-socket-host-path")||"/var/run/docker.sock"}getDockerCmdFile(){let A=(0,fe.getInput)("docker-cmd-file");return A&&A!==""?Tl.resolve(A):null}getDockerUser(){return(0,fe.getInput)("docker-user")||null}getDockerVolumeMounts(){return(0,fe.getInput)("docker-volumes").split(";").map(A=>A.trim()).filter(A=>!!A)}getDockerNetwork(){return(0,fe.getInput)("docker-network")}toEnvironmentVariables(){return[...this._environmentVariables].map(([A,t])=>({key:A,value:t}))}get(A,t,r){let s=(0,fe.getInput)(A),n=this._environmentVariables.get(t);if(s===""&&n===void 0&&!r)throw new Error([`'${A}' MUST be passed using its input or the '${t}'`,"environment variable"].join(" "));return this._environmentVariables.delete(t),s!==""?{key:t,value:s}:{key:t,value:n??""}}};a();var mi=Ds($E(),1);a();var sQ=Ds(fs(),1),Fi=class e{static image="ghcr.io/renovatebot/renovate";static version="42";dockerImage;fullTag;constructor(A){let t=A.getDockerImage(),r=A.getVersion();t||((0,sQ.warning)(`No Docker image specified, using ${e.image}`),t=e.image),r||((0,sQ.warning)(`No Docker version specified, using ${e.version}`),r=e.version),this.dockerImage=t,this.fullTag=r}image(){return`${this.dockerImage}:${this.fullTag}`}};import nQ from"node:fs/promises";import iQ from"node:path";var Ni=class e{constructor(A){this.input=A;this.docker=new Fi(A)}static dockerGroupRegex=/^docker:x:(?<groupId>[1-9][0-9]*):/m;configFileMountDir="/github-action";docker;async runDockerContainerForVersion(){let A=`docker run -t --rm ${this.docker.image()} --version`,{exitCode:t,stdout:r}=await(0,mi.getExecOutput)(A);return t!==0&&new Error(`'docker run' failed with exit code ${t}.`),r.trim()}async runDockerContainer(){await this.validateArguments();let A=this.input.toEnvironmentVariables().map(E=>`--env ${E.key}`).concat([`--env ${this.input.token.key}=${thLine truncated
|
||||
Error Message: ${n.message}`)})).result)===null||t===void 0?void 0:t.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(A){return pl(this,void 0,void 0,function*(){try{let t=e.getIDTokenUrl();if(A){let i=encodeURIComponent(A);t=`${t}&audience=${i}`}(0,Dl.debug)(`ID token url is ${t}`);let r=yield e.getCall(t);return(0,Dl.setSecret)(r),r}catch(t){throw new Error(`Error message: ${t.message}`)}})}};Nr.OidcClient=jE});var eQ=l(HA=>{"use strict";a();var zE=HA&&HA.__awaiter||function(e,A,t,r){function i(s){return s instanceof t?s:new t(function(n){n(s)})}return new(t||(t=Promise))(function(s,n){function o(Q){try{E(r.next(Q))}catch(c){n(c)}}function g(Q){try{E(r.throw(Q))}catch(c){n(c)}}function E(Q){Q.done?s(Q.value):i(Q.value).then(o,g)}E((r=r.apply(e,A||[])).next())})};Object.defineProperty(HA,"__esModule",{value:!0});HA.summary=HA.markdownSummary=HA.SUMMARY_DOCS_URL=HA.SUMMARY_ENV_VAR=void 0;var zF=h("os"),$E=h("fs"),{access:$F,appendFile:AN,writeFile:eN}=$E.promises;HA.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";HA.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var AQ=class{constructor(){this._buffer=""}filePath(){return zE(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let A=process.env[HA.SUMMARY_ENV_VAR];if(!A)throw new Error(`Unable to find environment variable for $${HA.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield $F(A,$E.constants.R_OK|$E.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${A}'. Check if the file has correct read/write permissions.`)}return this._filePath=A,this._filePath})}wrap(A,t,r={}){let i=Object.entries(r).map(([s,n])=>` ${s}="${n}"`).join("");return t?`<${A}${i}>${t}</${A}>`:`<${A}${i}>`}write(A){return zE(this,void 0,void 0,function*(){let t=!!A?.overwrite,r=yield this.filePath();return yield(t?eN:AN)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return zE(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(A,t=!1){return this._buffer+=A,t?this.addEOL():this}addEOL(){return this.addRaw(zF.EOL)}addCodeBlock(A,t){let r=Object.assign({},t&&{lang:t}),i=this.wrap("pre",this.wrap("code",A),r);return this.addRaw(i).addEOL()}addList(A,t=!1){let r=t?"ol":"ul",i=A.map(n=>this.wrap("li",n)).join(""),s=this.wrap(r,i);return this.addRaw(s).addEOL()}addTable(A){let t=A.map(i=>{let s=i.map(n=>{if(typeof n=="string")return this.wrap("td",n);let{header:o,data:g,colspan:E,rowspan:Q}=n,c=o?"th":"td",B=Object.assign(Object.assign({},E&&{colspan:E}),Q&&{rowspan:Q});return this.wrap(c,g,B)}).join("");return this.wrap("tr",s)}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(A,t){let r=this.wrap("details",this.wrap("summary",A)+t);return this.addRaw(r).addEOL()}addImage(A,t,r){let{width:i,height:s}=r||{},n=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),o=this.wrap("img",null,Object.assign({src:A,alt:t},n));return this.addRaw(o).addEOL()}addHeading(A,t){let r=`h${t}`,i=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",s=this.wrap(i,A);return this.addRaw(s).addEOL()}addSeparator(){let A=this.wrap("hr",null);return this.addRaw(A).addEOL()}addBreak(){let A=this.wrap("br",null);return this.addRaw(A).addEOL()}addQuote(A,t){let r=Object.assign({},t&&{cite:t}),i=this.wrap("blockquote",A,r);return this.addRaw(i).addEOL()}addLink(A,t){let r=this.wrap("a",A,{href:t});return this.addRaw(r).addEOL()}},kl=new AQ;HA.markdownSummary=kl;HA.summary=kl});var ml=l(de=>{"use strict";a();var tN=de&&de.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(A,t);(!i||("get"in i?!A.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,i)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),rN=de&&de.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),iN=de&&de.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),i=0;i<r.length;i++)r[i]!=="default"&&tN(t,A,r[i]);return rN(t,A),t}})();Object.defineProperty(de,"__esModule",{value:!0});de.toPosixPath=nN;de.toWin32Path=oN;de.toPlatformPath=gN;var sN=iN(h("path"));function nN(e){return e.replace(/[\\]/g,"/")}function oN(e){return e.replace(/[/]/g,"\\")}function gN(e){return e.replace(/[/\\]/g,sN.sep)}});var rQ=l(R=>{"use strict";a();var EN=R&&R.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDLine truncated
|
||||
`);return{name:A,version:t}});v.platform=Pl.default.platform();v.arch=Pl.default.arch();v.isWindows=v.platform==="win32";v.isMacOS=v.platform==="darwin";v.isLinux=v.platform==="linux";function VN(){return Fn(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield v.isWindows?TN():v.isMacOS?vN():HN()),{platform:v.platform,arch:v.arch,isWindows:v.isWindows,isMacOS:v.isMacOS,isLinux:v.isLinux})})}});var pi=l(L=>{"use strict";a();var qN=L&&L.__createBinding||(Object.create?(function(e,A,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(A,t);(!i||("get"in i?!A.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return A[t]}}),Object.defineProperty(e,r,i)}):(function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]})),ON=L&&L.__setModuleDefault||(Object.create?(function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}):function(e,A){e.default=A}),gQ=L&&L.__importStar||(function(){var e=function(A){return e=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},e(A)};return function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var r=e(A),i=0;i<r.length;i++)r[i]!=="default"&&qN(t,A,r[i]);return ON(t,A),t}})(),Zl=L&&L.__awaiter||function(e,A,t,r){function i(s){return s instanceof t?s:new t(function(n){n(s)})}return new(t||(t=Promise))(function(s,n){function o(Q){try{E(r.next(Q))}catch(c){n(c)}}function g(Q){try{E(r.throw(Q))}catch(c){n(c)}}function E(Q){Q.done?s(Q.value):i(Q.value).then(o,g)}E((r=r.apply(e,A||[])).next())})};Object.defineProperty(L,"__esModule",{value:!0});L.platform=L.toPlatformPath=L.toWin32Path=L.toPosixPath=L.markdownSummary=L.summary=L.ExitCode=void 0;L.exportVariable=_N;L.setSecret=ZN;L.addPath=XN;L.getInput=EQ;L.getMultilineInput=KN;L.getBooleanInput=jN;L.setOutput=zN;L.setCommandEcho=$N;L.setFailed=Ab;L.isDebug=eb;L.debug=tb;L.error=Kl;L.warning=rb;L.notice=ib;L.info=sb;L.startGroup=jl;L.endGroup=zl;L.group=nb;L.saveState=ob;L.getState=gb;L.getIDToken=Eb;var ce=DQ(),Jt=mQ(),Sr=Fi(),Xl=gQ(h("os")),WN=gQ(h("path")),PN=Rl(),oQ;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(oQ||(L.ExitCode=oQ={}));function _N(e,A){let t=(0,Sr.toCommandValue)(A);if(process.env[e]=t,process.env.GITHUB_ENV||"")return(0,Jt.issueFileCommand)("ENV",(0,Jt.prepareKeyValueMessage)(e,A));(0,ce.issueCommand)("set-env",{name:e},t)}function ZN(e){(0,ce.issueCommand)("add-mask",{},e)}function XN(e){process.env.GITHUB_PATH||""?(0,Jt.issueFileCommand)("PATH",e):(0,ce.issueCommand)("add-path",{},e),process.env.PATH=`${e}${WN.delimiter}${process.env.PATH}`}function EQ(e,A){let t=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(A&&A.required&&!t)throw new Error(`Input required and not supplied: ${e}`);return A&&A.trimWhitespace===!1?t:t.trim()}function KN(e,A){let t=EQ(e,A).split(`
|
||||
`).filter(r=>r!=="");return A&&A.trimWhitespace===!1?t:t.map(r=>r.trim())}function jN(e,A){let t=["true","True","TRUE"],r=["false","False","FALSE"],i=EQ(e,A);if(t.includes(i))return!0;if(r.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}
|
||||
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function zN(e,A){if(process.env.GITHUB_OUTPUT||"")return(0,Jt.issueFileCommand)("OUTPUT",(0,Jt.prepareKeyValueMessage)(e,A));process.stdout.write(Xl.EOL),(0,ce.issueCommand)("set-output",{name:e},(0,Sr.toCommandValue)(A))}function $N(e){(0,ce.issue)("echo",e?"on":"off")}function Ab(e){process.exitCode=oQ.Failure,Kl(e)}function eb(){return process.env.RUNNER_DEBUG==="1"}function tb(e){(0,ce.issueCommand)("debug",{},e)}function Kl(e,A={}){(0,ce.issueCommand)("error",(0,Sr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function rb(e,A={}){(0,ce.issueCommand)("warning",(0,Sr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function ib(e,A={}){(0,ce.issueCommand)("notice",(0,Sr.toCommandProperties)(A),e instanceof Error?e.toString():e)}function sb(e){process.stdout.write(e+Xl.EOL)}function jl(e){(0,ce.issue)("group",e)}function zl(){(0,ce.issue)("endgroup")}function nb(e,A){return Zl(this,void 0,void 0,function*(){jl(e);let t;try{t=yield A()}finally{zl()}return t})}function ob(e,A){if(process.env.GITHUB_STATE||"")return(0,Jt.issueFileCommand)("STATE",(0,Jt.prepareKeyValueMessage)(e,A));(0,ce.issueCommand)("save-state",{name:e},(0,Sr.toCommandValue)(A))}function gb(e){return process.env[`STATE_${e}`]||""}function Eb(e){return Zl(this,void 0,void 0,function*(){return yield PN.OidcClient.getIDToken(e)})}var Qb=eQ();Object.defineProperty(L,"summary",{enumerable:!0,get:function(){return Qb.summary}});var ab=eQ();Object.defineProperty(L,"markdownSummary",{enumerable:!0,get:function(){return ab.markdownSummary}});var QQ=ml();Object.defineProperty(L,"toPosixPath",{enumerable:!0,get:function(){return QQ.toPosixPath}});Object.defineProperty(L,"toWin32Path",{enumerable:!0,get:function(){return QQ.toWin32Path}});Object.defineProperty(L,"toPlatformPath",{enumerable:!0,get:function(){return QQ.toPlatformPath}});L.platform=gQ(_l())});a();var Ur=Tn(pi(),1);a();var fe=Tn(pi(),1);import $l from"node:path";var Nn=class{options={envRegex:/^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,configurationFile:{input:"configurationFile",env:"RENOVATE_CONFIG_FILE",optional:!0},token:{input:"token",env:"RENOVATE_TOKEN",optional:!1}};token;_environmentVariables;_configurationFile;constructor(){let A=(0,fe.getInput)("env-regex"),t=A?new RegExp(A):this.options.envRegex;this._environmentVariables=new Map(Object.entries(process.env).filter(([r])=>t.test(r)).filter(r=>r[1]!==void 0)),this.token=this.get(this.options.token.input,this.options.token.env,this.options.token.optional),this._configurationFile=this.get(this.options.configurationFile.input,this.options.configurationFile.env,this.options.configurationFile.optional)}configurationFile(){return this._configurationFile.value!==""?{key:this._configurationFile.key,value:$l.resolve(this._configurationFile.value)}:null}getDockerImage(){return(0,fe.getInput)("renovate-image")||null}getVersion(){return(0,fe.getInput)("renovate-version")||null}mountDockerSocket(){return(0,fe.getInput)("mount-docker-socket")==="true"}dockerSocketHostPath(){return(0,fe.getInput)("docker-socket-host-path")||"/var/run/docker.sock"}getDockerCmdFile(){let A=(0,fe.getInput)("docker-cmd-file");return A&&A!==""?$l.resolve(A):null}getDockerUser(){return(0,fe.getInput)("docker-user")||null}getDockerVolumeMounts(){return(0,fe.getInput)("docker-volumes").split(";").map(A=>A.trim()).filter(A=>!!A)}getDockerNetwork(){return(0,fe.getInput)("docker-network")}toEnvironmentVariables(){return[...this._environmentVariables].map(([A,t])=>({key:A,value:t}))}get(A,t,r){let i=(0,fe.getInput)(A),s=this._environmentVariables.get(t);if(i===""&&s===void 0&&!r)throw new Error([`'${A}' MUST be passed using its input or the '${t}'`,"environment variable"].join(" "));return this._environmentVariables.delete(t),i!==""?{key:t,value:i}:{key:t,value:s??""}}};a();a();import{StringDecoder as Eu}from"string_decoder";a();import*as Di from"os";import*as IQ from"events";import*as nu from"child_process";import*as ou from"path";a();import*as Ge from"path";a();import*as Sn from"fs";import*as ht from"path";var eu=function(e,A,t,r){function i(s){return s instanceof t?s:new t(function(n){n(s)})}return new(t||(t=Promise))(function(s,n){function o(Q){try{E(r.next(Q))}catch(c){n(c)}}function g(Q){try{E(r.throw(Q))}catch(c){n(c)}}function E(Q){Q.done?s(Q.value):i(Q.value).then(o,g)}E((r=r.apply(e,A||[])).next())})},{chmod:cb,copyFile:Bb,lstat:Cb,mkdir:Ib,open:qM,readdir:tu,rename:hb,rm:lb,rmdir:OM,stat:bn,symlink:ub,unlink:db}=Sn.promises,Gt=process.platform==="win32";var WM=Sn.constants.O_RDONLY;function aQ(e){return eu(this,void 0,void 0,function*(){try{yield bn(e)}catch(A){if(A.code==="ENOENT")return!1;throw A}return!0})}function Un(e){if(e=fb(e),!e)throw new Error('isRooted() parameter "p" cannot be empty');return Gt?e.startsWith("\\")||/^[A-Z]:/i.test(e):e.startsWith("/")}function cQ(e,A){return eu(this,void 0,voidLine truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
undici/lib/fetch/body.js:
|
||||
|
||||
Vendored
+4
-4
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../tools/cjs-shim.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/utils.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/command.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/file-command.ts", "../node_modules/.pnpm/@actions+http-client@3.0.1/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/symbols.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/errors.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/constants.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/timers.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/getLimit.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/decodeText.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/parseParams.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/multipart.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/Decoder.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/urlencoded.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/constants.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/global.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/symbols.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/webidl.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/dataURL.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/file.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/formdata.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/body.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/request.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/dispatcher.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/dispatcher-base.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/connect.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/src/llhttp/utils.ts", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/src/llhttp/constants.ts", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/handler/RedirectHandler.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/interceptor/redirectInterceptor.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/client.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/node/fixed-queue.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool-stats.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool-base.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/balanced-pool.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/compat/dispatcher-weakref.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/agent.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/readable.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/abort-signal.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-request.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-stream.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-pipeline.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-upgrade.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-connect.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/unLine truncated
|
||||
"sourcesContent": ["// https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331\nimport { createRequire } from 'node:module';\nimport path from 'node:path';\nimport url from 'node:url';\n\nglobalThis.require = createRequire(import.meta.url);\nglobalThis.__filename = url.fileURLToPath(import.meta.url);\nglobalThis.__dirname = path.dirname(__filename);\n", null, null, null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = newLine truncated
|
||||
"mappings": "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 truncated
|
||||
"names": ["createRequire", "path", "url", "init_cjs_shim", "__esmMin", "exports", "toCommandValue", "toCommandProperties", "input", "annotationProperties", "exports", "issueCommand", "issue", "os", "__importStar", "utils_1", "command", "properties", "message", "cmd", "Command", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "exports", "issueFileCommand", "prepareKeyValueMessage", "crypto", "__importStar", "fs", "os", "utils_1", "command", "message", "filePath", "key", "value", "delimiter", "convertedValue", "exports", "getProxyUrl", "checkBypass", "reqUrl", "usingSsl", "proxyVar", "DecodedURL", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "url", "base", "require_tunnel", "__commonJSMin", "exports", "init_cjs_shim", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_symbols", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_errors", "__commonJSMin", "exports", "module", "init_cjs_shim", "UndiciError", "message", "ConnectTimeoutError", "_ConnectTimeoutError", "HeadersTimeoutError", "_HeadersTimeoutError", "HeadersOverflowError", "_HeadersOverflowError", "BodyTimeoutError", "_BodyTimeoutError", "ResponseStatusCodeError", "_ResponseStatusCodeError", "statusCode", "headers", "body", "InvalidArgumentError", "_InvalidArgumentError", "InvalidReturnValueError", "_InvalidReturnValueError", "RequestAbortedError", "_RequestAbortedError", "InformationalError", "_InformationalError", "RequestContentLengthMismatchError", "_RequestContentLengthMismatchError", "ResponseContentLengthMismatchError", "_ResponseContentLengthMismatchError", "ClientDestroyedError", "_ClientDestroyedError", "ClientClosedError", "_ClientClosedError", "SocketError", "_SocketError", "socket", "NotSupportedError", "_NotSupportedError", "BalancedPoolMissingUpstreamError", "HTTPParserError", "_HTTPParserError", "code", "data", "ResponseExceededMaxSizeError", "_ResponseExceededMaxSizeError", "RequestRetryError", "_RequestRetryError", "require_constants", "__commonJSMin", "exports", "module", "init_cjs_shim", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_util", "__commonJSMin", "exports", "module", "init_cjs_shim", "assert", "kDestroyed", "kBodyUsed", "IncomingMessage", "stream", "net", "InvalidArgumentError", "Blob", "nodeUtil", "stringify", "headerNameLowerCasedRecord", "nodeMajor", "nodeMinor", "v", "nop", "isStream", "obj", "isBlobLike", "object", "buildURL", "url", "queryParams", "stringified", "parseURL", "port", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "isIterable", "bodyLength", "body", "state", "isBuffer", "isDestroyed", "isReadableAborted", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "value", "parseHeaders", "headers", "i", "key", "x", "parseRawHeaders", "ret", "hasContentLength", "contentDispositionIdx", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "convertIterableToBuffer", "iterable", "chunk", "ReadableStream", "ReadableStreamFrom", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "throwIfAborted", "signal", "addAbortListener", "listener", "hasToWellFormed", "toUSVString", "parseRangeHeader", "range", "kEnumerableProperty", "require_timers", "__commonJSMin", "exports", "module", "init_cjs_shim", "fastNow", "fastNowTimeout", "fastTimers", "onTimeout", "len", "idx", "timer", "refreshTimeout", "Timeout", "callback", "delay", "opaque", "timeout", "require_sbmh", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "SBMH", "needle", "needleLength", "i", "chunk", "pos", "chlen", "data", "len", "lastNeedleChar", "ch", "bytesToCutOff", "require_PartStream", "__commonJSMin", "exports", "module", "init_cjs_shim", "inherits", "ReadableStream", "PartStream", "opts", "n", "require_getLimit", "__commonJSMin", "exports", "module", "init_cjs_shim", "limits", "name", "defaultLimit", "require_HeaderParser", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "getLimit", "StreamSearch", "B_DCRLF", "RE_CRLF", "RE_HDR", "HeaderParser", "cfg", "self", "isMatch", "data", Line truncated
|
||||
"sources": ["../tools/cjs-shim.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/utils.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/command.ts", "../node_modules/.pnpm/@actions+core@2.0.2/node_modules/@actions/core/src/file-command.ts", "../node_modules/.pnpm/@actions+http-client@3.0.1/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/symbols.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/errors.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/constants.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/timers.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/getLimit.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/decodeText.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/parseParams.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/multipart.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/Decoder.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/urlencoded.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/constants.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/global.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/symbols.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/webidl.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/dataURL.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/file.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/formdata.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/body.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/request.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/dispatcher.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/dispatcher-base.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/core/connect.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/src/llhttp/utils.ts", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/src/llhttp/constants.ts", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/handler/RedirectHandler.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/interceptor/redirectInterceptor.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/client.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/node/fixed-queue.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool-stats.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool-base.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/pool.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/balanced-pool.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/compat/dispatcher-weakref.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/agent.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/readable.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/util.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/abort-signal.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-request.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-stream.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-pipeline.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-upgrade.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/api-connect.js", "../node_modules/.pnpm/undici@5.29.0/node_modules/unLine truncated
|
||||
"sourcesContent": ["// https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331\nimport { createRequire } from 'node:module';\nimport path from 'node:path';\nimport url from 'node:url';\n\nglobalThis.require = createRequire(import.meta.url);\nglobalThis.__filename = url.fileURLToPath(import.meta.url);\nglobalThis.__dirname = path.dirname(__filename);\n", null, null, null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = newLine truncated
|
||||
"mappings": "szBACA,OAAS,iBAAAA,OAAqB,cAC9B,OAAOC,OAAU,YACjB,OAAOC,OAAS,WAHhB,IAAAC,EAAAC,GAAA,kBAKA,WAAW,QAAUJ,GAAc,YAAY,GAAG,EAClD,WAAW,WAAaE,GAAI,cAAc,YAAY,GAAG,EACzD,WAAW,UAAYD,GAAK,QAAQ,UAAU,qFCG9CI,GAAA,eAAAC,GAeAD,GAAA,oBAAAE,GAfA,SAAgBD,GAAeE,EAAU,CACvC,OAAIA,GAAU,KACL,GACE,OAAOA,GAAU,UAAYA,aAAiB,OAChDA,EAEF,KAAK,UAAUA,CAAK,CAC7B,CAQA,SAAgBD,GACdE,EAA0C,CAE1C,OAAK,OAAO,KAAKA,CAAoB,EAAE,OAIhC,CACL,MAAOA,EAAqB,MAC5B,KAAMA,EAAqB,KAC3B,KAAMA,EAAqB,UAC3B,QAASA,EAAqB,QAC9B,IAAKA,EAAqB,YAC1B,UAAWA,EAAqB,WATzB,CAAA,CAWX,y4BCKAC,GAAA,aAAAC,GASAD,GAAA,MAAAE,GAtDA,IAAAC,GAAAC,GAAA,EAAA,IAAA,CAAA,EACAC,GAAA,KA4CA,SAAgBJ,GACdK,EACAC,EACAC,EAAY,CAEZ,IAAMC,EAAM,IAAIC,GAAQJ,EAASC,EAAYC,CAAO,EACpD,QAAQ,OAAO,MAAMC,EAAI,SAAQ,EAAKN,GAAG,GAAG,CAC9C,CAEA,SAAgBD,GAAMS,EAAcH,EAAU,GAAE,CAC9CP,GAAaU,EAAM,CAAA,EAAIH,CAAO,CAChC,CAEA,IAAMI,GAAa,KAEbF,GAAN,KAAa,CAKX,YAAYJ,EAAiBC,EAA+BC,EAAe,CACpEF,IACHA,EAAU,mBAGZ,KAAK,QAAUA,EACf,KAAK,WAAaC,EAClB,KAAK,QAAUC,CACjB,CAEA,UAAQ,CACN,IAAIK,EAASD,GAAa,KAAK,QAE/B,GAAI,KAAK,YAAc,OAAO,KAAK,KAAK,UAAU,EAAE,OAAS,EAAG,CAC9DC,GAAU,IACV,IAAIC,EAAQ,GACZ,QAAWC,KAAO,KAAK,WACrB,GAAI,KAAK,WAAW,eAAeA,CAAG,EAAG,CACvC,IAAMC,EAAM,KAAK,WAAWD,CAAG,EAC3BC,IACEF,EACFA,EAAQ,GAERD,GAAU,IAGZA,GAAU,GAAGE,CAAG,IAAIE,GAAeD,CAAG,CAAC,GAE3C,CAEJ,CAEA,OAAAH,GAAU,GAAGD,EAAU,GAAGM,GAAW,KAAK,OAAO,CAAC,GAC3CL,CACT,GAGF,SAASK,GAAWC,EAAM,CACxB,SAAOd,GAAA,gBAAec,CAAC,EACpB,QAAQ,KAAM,KAAK,EACnB,QAAQ,MAAO,KAAK,EACpB,QAAQ,MAAO,KAAK,CACzB,CAEA,SAASF,GAAeE,EAAM,CAC5B,SAAOd,GAAA,gBAAec,CAAC,EACpB,QAAQ,KAAM,KAAK,EACnB,QAAQ,MAAO,KAAK,EACpB,QAAQ,MAAO,KAAK,EACpB,QAAQ,KAAM,KAAK,EACnB,QAAQ,KAAM,KAAK,CACxB,y4BC1GAC,GAAA,iBAAAC,GAgBAD,GAAA,uBAAAE,GArBA,IAAAC,GAAAC,GAAA,EAAA,QAAA,CAAA,EACAC,GAAAD,GAAA,EAAA,IAAA,CAAA,EACAE,GAAAF,GAAA,EAAA,IAAA,CAAA,EACAG,GAAA,KAEA,SAAgBN,GAAiBO,EAAiBC,EAAY,CAC5D,IAAMC,EAAW,QAAQ,IAAI,UAAUF,CAAO,EAAE,EAChD,GAAI,CAACE,EACH,MAAM,IAAI,MACR,wDAAwDF,CAAO,EAAE,EAGrE,GAAI,CAACH,GAAG,WAAWK,CAAQ,EACzB,MAAM,IAAI,MAAM,yBAAyBA,CAAQ,EAAE,EAGrDL,GAAG,eAAeK,EAAU,MAAGH,GAAA,gBAAeE,CAAO,CAAC,GAAGH,GAAG,GAAG,GAAI,CACjE,SAAU,OACX,CACH,CAEA,SAAgBJ,GAAuBS,EAAaC,EAAU,CAC5D,IAAMC,EAAY,gBAAgBV,GAAO,WAAU,CAAE,GAC/CW,KAAiBP,GAAA,gBAAeK,CAAK,EAK3C,GAAID,EAAI,SAASE,CAAS,EACxB,MAAM,IAAI,MACR,4DAA4DA,CAAS,GAAG,EAI5E,GAAIC,EAAe,SAASD,CAAS,EACnC,MAAM,IAAI,MACR,6DAA6DA,CAAS,GAAG,EAI7E,MAAO,GAAGF,CAAG,KAAKE,CAAS,GAAGP,GAAG,GAAG,GAAGQ,CAAc,GAAGR,GAAG,GAAG,GAAGO,CAAS,EAC5E,qFC9CAE,GAAA,YAAAC,GA2BAD,GAAA,YAAAE,GA3BA,SAAgBD,GAAYE,EAAW,CACrC,IAAMC,EAAWD,EAAO,WAAa,SAErC,GAAID,GAAYC,CAAM,EACpB,OAGF,IAAME,EACAD,EACK,QAAQ,IAAI,aAAkB,QAAQ,IAAI,YAE1C,QAAQ,IAAI,YAAiB,QAAQ,IAAI,WAIpD,GAAIC,EACF,GAAI,CACF,OAAO,IAAIC,GAAWD,CAAQ,CAChC,MAAQ,CACN,GAAI,CAACA,EAAS,WAAW,SAAS,GAAK,CAACA,EAAS,WAAW,UAAU,EACpE,OAAO,IAAIC,GAAW,UAAUD,CAAQ,EAAE,CAC9C,KAEA,OAEJ,CAEA,SAAgBH,GAAYC,EAAW,CACrC,GAAI,CAACA,EAAO,SACV,MAAO,GAGT,IAAMI,EAAUJ,EAAO,SACvB,GAAIK,GAAkBD,CAAO,EAC3B,MAAO,GAGT,IAAME,EAAU,QAAQ,IAAI,UAAe,QAAQ,IAAI,UAAe,GACtE,GAAI,CAACA,EACH,MAAO,GAIT,IAAIC,EACAP,EAAO,KACTO,EAAU,OAAOP,EAAO,IAAI,EACnBA,EAAO,WAAa,QAC7BO,EAAU,GACDP,EAAO,WAAa,WAC7BO,EAAU,KAIZ,IAAMC,EAAgB,CAACR,EAAO,SAAS,YAAW,CAAE,EAChD,OAAOO,GAAY,UACrBC,EAAc,KAAK,GAAGA,EAAc,CAAC,CAAC,IAAID,CAAO,EAAE,EAIrD,QAAWE,KAAoBH,EAC5B,MAAM,GAAG,EACT,IAAII,GAAKA,EAAE,KAAI,EAAG,YAAW,CAAE,EAC/B,OAAOA,GAAKA,CAAC,EACd,GACED,IAAqB,KACrBD,EAAc,KACZE,GACEA,IAAMD,GACNC,EAAE,SAAS,IAAID,CAAgB,EAAE,GAChCA,EAAiB,WAAW,GAAG,GAC9BC,EAAE,SAAS,GAAGD,CAAgB,EAAE,CAAE,EAGxC,MAAO,GAIX,MAAO,EACT,CAEA,SAASJ,GAAkBM,EAAY,CACrC,IAAMC,EAAYD,EAAK,YAAW,EAClC,OACEC,IAAc,aACdA,EAAU,WAAW,MAAM,GAC3BA,EAAU,WAAW,OAAO,GAC5BA,EAAU,WAAW,mBAAmB,CAE5C,CAEA,IAAMT,GAAN,cAAyB,GAAG,CAI1B,YAAYU,EAAmBC,EAAmB,CAChD,MAAMD,EAAKC,CAAI,EACf,KAAK,iBAAmB,mBAAmB,MAAM,QAAQ,EACzD,KAAK,iBAAmB,mBAAmB,MAAM,QAAQ,CAC3D,CAEA,IAAI,UAAQ,CACV,OAAO,KAAK,gBACd,CAEA,IAAI,UAAQ,CACV,OAAO,KAAK,gBACd,KC1GF,IAAAC,GAAAC,EAAAC,IAAA,cAAAC,IAEA,IAAIC,GAAM,EAAQ,KAAK,EACnBC,GAAM,EAAQ,KAAK,EACnBC,GAAO,EAAQ,MAAM,EACrBC,GAAQ,EAAQ,OAAO,EACvBC,GAAS,EAAQ,QAAQ,EACzBC,GAAS,EAAQ,QAAQ,EACzBC,GAAO,EAAQ,MAAM,EAGzBR,GAAQ,aAAeS,GACvBT,GAAQ,cAAgBU,GACxBV,GAAQ,cAAgBW,GACxBX,GAAQ,eAAiBY,GAGzB,SAASH,GAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAEA,SAASJ,GAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeE,GACrBF,EAAM,YAAc,IACbA,CACT,CAEA,SAASH,GAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAEA,SAASF,GAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeE,GACrBF,EAAM,YAAc,IACbA,CACT,CAGA,SAASC,GAAeF,EAAS,CAC/B,IAAII,EAAO,KACXA,EAAK,QAAUJ,GAAW,CAAC,EAC3BI,EAAK,aAAeA,EAAK,QAAQ,OAAS,CAAC,EAC3CA,EAAK,WAAaA,EAAK,QAAQ,YAAcb,GAAK,MAAM,kBACxDa,EAAK,SAAW,CAAC,EACjBA,EAAK,QAAU,CAAC,EAEhBA,EAAK,GAAG,OAAQ,SAAgBC,EAAQC,EAAMC,EAAMC,EAAc,CAEhE,QADIR,EAAUS,GAAUH,EAAMC,EAAMC,CAAY,EACvCE,EAAI,EAAGC,EAAMP,EAAK,SAAS,OAAQM,EAAIC,EAAK,EAAED,EAAG,CACxD,IAAIE,EAAUR,EAAK,SAASM,CAAC,EAC7B,GAAIE,EAAQ,OAASZ,EAAQ,MAAQY,EAAQ,OAASZ,EAAQ,KAAM,CAGlEI,EAAK,SAAS,OAAOM,EAAG,CAAC,EACzBE,EAAQ,QAAQ,SAASP,Line truncated
|
||||
"names": ["createRequire", "path", "url", "init_cjs_shim", "__esmMin", "exports", "toCommandValue", "toCommandProperties", "input", "annotationProperties", "exports", "issueCommand", "issue", "os", "__importStar", "utils_1", "command", "properties", "message", "cmd", "Command", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "exports", "issueFileCommand", "prepareKeyValueMessage", "crypto", "__importStar", "fs", "os", "utils_1", "command", "message", "filePath", "key", "value", "delimiter", "convertedValue", "exports", "getProxyUrl", "checkBypass", "reqUrl", "usingSsl", "proxyVar", "DecodedURL", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "url", "base", "require_tunnel", "__commonJSMin", "exports", "init_cjs_shim", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_symbols", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_errors", "__commonJSMin", "exports", "module", "init_cjs_shim", "UndiciError", "message", "ConnectTimeoutError", "_ConnectTimeoutError", "HeadersTimeoutError", "_HeadersTimeoutError", "HeadersOverflowError", "_HeadersOverflowError", "BodyTimeoutError", "_BodyTimeoutError", "ResponseStatusCodeError", "_ResponseStatusCodeError", "statusCode", "headers", "body", "InvalidArgumentError", "_InvalidArgumentError", "InvalidReturnValueError", "_InvalidReturnValueError", "RequestAbortedError", "_RequestAbortedError", "InformationalError", "_InformationalError", "RequestContentLengthMismatchError", "_RequestContentLengthMismatchError", "ResponseContentLengthMismatchError", "_ResponseContentLengthMismatchError", "ClientDestroyedError", "_ClientDestroyedError", "ClientClosedError", "_ClientClosedError", "SocketError", "_SocketError", "socket", "NotSupportedError", "_NotSupportedError", "BalancedPoolMissingUpstreamError", "HTTPParserError", "_HTTPParserError", "code", "data", "ResponseExceededMaxSizeError", "_ResponseExceededMaxSizeError", "RequestRetryError", "_RequestRetryError", "require_constants", "__commonJSMin", "exports", "module", "init_cjs_shim", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_util", "__commonJSMin", "exports", "module", "init_cjs_shim", "assert", "kDestroyed", "kBodyUsed", "IncomingMessage", "stream", "net", "InvalidArgumentError", "Blob", "nodeUtil", "stringify", "headerNameLowerCasedRecord", "nodeMajor", "nodeMinor", "v", "nop", "isStream", "obj", "isBlobLike", "object", "buildURL", "url", "queryParams", "stringified", "parseURL", "port", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "isIterable", "bodyLength", "body", "state", "isBuffer", "isDestroyed", "isReadableAborted", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "value", "parseHeaders", "headers", "i", "key", "x", "parseRawHeaders", "ret", "hasContentLength", "contentDispositionIdx", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "convertIterableToBuffer", "iterable", "chunk", "ReadableStream", "ReadableStreamFrom", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "throwIfAborted", "signal", "addAbortListener", "listener", "hasToWellFormed", "toUSVString", "parseRangeHeader", "range", "kEnumerableProperty", "require_timers", "__commonJSMin", "exports", "module", "init_cjs_shim", "fastNow", "fastNowTimeout", "fastTimers", "onTimeout", "len", "idx", "timer", "refreshTimeout", "Timeout", "callback", "delay", "opaque", "timeout", "require_sbmh", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "SBMH", "needle", "needleLength", "i", "chunk", "pos", "chlen", "data", "len", "lastNeedleChar", "ch", "bytesToCutOff", "require_PartStream", "__commonJSMin", "exports", "module", "init_cjs_shim", "inherits", "ReadableStream", "PartStream", "opts", "n", "require_getLimit", "__commonJSMin", "exports", "module", "init_cjs_shim", "limits", "name", "defaultLimit", "require_HeaderParser", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "getLimit", "StreamSearch", "B_DCRLF", "RE_CRLF", "RE_HDR", "HeaderParser", "cfg", "self", "isMatch", "data", Line truncated
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "github-action",
|
||||
"version": "45.0.1",
|
||||
"version": "45.0.2",
|
||||
"private": true,
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||
|
||||
Reference in new issue
Block a user