From 6dbd18726c02026737c0a2247866e717c831ee4d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 7 Dec 2025 05:47:14 +0000 Subject: [PATCH 1/2] chore(deps): update dependency esbuild to v0.27.1 --- eslint/package.json | 2 +- scripts/package.json | 2 +- yarn.lock | 222 +++++++++++++++++++++---------------------- 3 files changed, 113 insertions(+), 113 deletions(-) diff --git a/eslint/package.json b/eslint/package.json index 8033ff25174..9dae6dd8e8e 100644 --- a/eslint/package.json +++ b/eslint/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@types/eslint": "9.6.1", - "esbuild": "0.27.0", + "esbuild": "0.27.1", "eslint": "8.57.1", "eslint-plugin-yml": "1.19.0", "eslint-vitest-rule-tester": "3.0.0", diff --git a/scripts/package.json b/scripts/package.json index 5bd1c70b792..10bee80250c 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -35,7 +35,7 @@ "chalk": "5.6.2", "commander": "14.0.2", "crc": "4.3.2", - "esbuild": "0.27.0", + "esbuild": "0.27.1", "execa": "9.6.1", "express": "5.2.1", "folder-hash": "4.1.1", diff --git a/yarn.lock b/yarn.lock index b3ecef84c3e..b5c410dad5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -742,9 +742,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/aix-ppc64@npm:0.27.0" +"@esbuild/aix-ppc64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/aix-ppc64@npm:0.27.1" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard @@ -756,9 +756,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/android-arm64@npm:0.27.0" +"@esbuild/android-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/android-arm64@npm:0.27.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -770,9 +770,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/android-arm@npm:0.27.0" +"@esbuild/android-arm@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/android-arm@npm:0.27.1" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -784,9 +784,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/android-x64@npm:0.27.0" +"@esbuild/android-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/android-x64@npm:0.27.1" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -798,9 +798,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/darwin-arm64@npm:0.27.0" +"@esbuild/darwin-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/darwin-arm64@npm:0.27.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -812,9 +812,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/darwin-x64@npm:0.27.0" +"@esbuild/darwin-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/darwin-x64@npm:0.27.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -826,9 +826,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/freebsd-arm64@npm:0.27.0" +"@esbuild/freebsd-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/freebsd-arm64@npm:0.27.1" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -840,9 +840,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/freebsd-x64@npm:0.27.0" +"@esbuild/freebsd-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/freebsd-x64@npm:0.27.1" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -854,9 +854,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-arm64@npm:0.27.0" +"@esbuild/linux-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-arm64@npm:0.27.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -868,9 +868,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-arm@npm:0.27.0" +"@esbuild/linux-arm@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-arm@npm:0.27.1" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -882,9 +882,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-ia32@npm:0.27.0" +"@esbuild/linux-ia32@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-ia32@npm:0.27.1" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -896,9 +896,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-loong64@npm:0.27.0" +"@esbuild/linux-loong64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-loong64@npm:0.27.1" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -910,9 +910,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-mips64el@npm:0.27.0" +"@esbuild/linux-mips64el@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-mips64el@npm:0.27.1" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -924,9 +924,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-ppc64@npm:0.27.0" +"@esbuild/linux-ppc64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-ppc64@npm:0.27.1" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -938,9 +938,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-riscv64@npm:0.27.0" +"@esbuild/linux-riscv64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-riscv64@npm:0.27.1" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -952,9 +952,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-s390x@npm:0.27.0" +"@esbuild/linux-s390x@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-s390x@npm:0.27.1" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -966,9 +966,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/linux-x64@npm:0.27.0" +"@esbuild/linux-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/linux-x64@npm:0.27.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -980,9 +980,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/netbsd-arm64@npm:0.27.0" +"@esbuild/netbsd-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/netbsd-arm64@npm:0.27.1" conditions: os=netbsd & cpu=arm64 languageName: node linkType: hard @@ -994,9 +994,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/netbsd-x64@npm:0.27.0" +"@esbuild/netbsd-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/netbsd-x64@npm:0.27.1" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -1008,9 +1008,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/openbsd-arm64@npm:0.27.0" +"@esbuild/openbsd-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/openbsd-arm64@npm:0.27.1" conditions: os=openbsd & cpu=arm64 languageName: node linkType: hard @@ -1022,9 +1022,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/openbsd-x64@npm:0.27.0" +"@esbuild/openbsd-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/openbsd-x64@npm:0.27.1" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -1036,9 +1036,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openharmony-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/openharmony-arm64@npm:0.27.0" +"@esbuild/openharmony-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/openharmony-arm64@npm:0.27.1" conditions: os=openharmony & cpu=arm64 languageName: node linkType: hard @@ -1050,9 +1050,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/sunos-x64@npm:0.27.0" +"@esbuild/sunos-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/sunos-x64@npm:0.27.1" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -1064,9 +1064,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/win32-arm64@npm:0.27.0" +"@esbuild/win32-arm64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/win32-arm64@npm:0.27.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -1078,9 +1078,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/win32-ia32@npm:0.27.0" +"@esbuild/win32-ia32@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/win32-ia32@npm:0.27.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -1092,9 +1092,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.27.0": - version: 0.27.0 - resolution: "@esbuild/win32-x64@npm:0.27.0" +"@esbuild/win32-x64@npm:0.27.1": + version: 0.27.1 + resolution: "@esbuild/win32-x64@npm:0.27.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -4758,36 +4758,36 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:0.27.0": - version: 0.27.0 - resolution: "esbuild@npm:0.27.0" - dependencies: - "@esbuild/aix-ppc64": "npm:0.27.0" - "@esbuild/android-arm": "npm:0.27.0" - "@esbuild/android-arm64": "npm:0.27.0" - "@esbuild/android-x64": "npm:0.27.0" - "@esbuild/darwin-arm64": "npm:0.27.0" - "@esbuild/darwin-x64": "npm:0.27.0" - "@esbuild/freebsd-arm64": "npm:0.27.0" - "@esbuild/freebsd-x64": "npm:0.27.0" - "@esbuild/linux-arm": "npm:0.27.0" - "@esbuild/linux-arm64": "npm:0.27.0" - "@esbuild/linux-ia32": "npm:0.27.0" - "@esbuild/linux-loong64": "npm:0.27.0" - "@esbuild/linux-mips64el": "npm:0.27.0" - "@esbuild/linux-ppc64": "npm:0.27.0" - "@esbuild/linux-riscv64": "npm:0.27.0" - "@esbuild/linux-s390x": "npm:0.27.0" - "@esbuild/linux-x64": "npm:0.27.0" - "@esbuild/netbsd-arm64": "npm:0.27.0" - "@esbuild/netbsd-x64": "npm:0.27.0" - "@esbuild/openbsd-arm64": "npm:0.27.0" - "@esbuild/openbsd-x64": "npm:0.27.0" - "@esbuild/openharmony-arm64": "npm:0.27.0" - "@esbuild/sunos-x64": "npm:0.27.0" - "@esbuild/win32-arm64": "npm:0.27.0" - "@esbuild/win32-ia32": "npm:0.27.0" - "@esbuild/win32-x64": "npm:0.27.0" +"esbuild@npm:0.27.1": + version: 0.27.1 + resolution: "esbuild@npm:0.27.1" + dependencies: + "@esbuild/aix-ppc64": "npm:0.27.1" + "@esbuild/android-arm": "npm:0.27.1" + "@esbuild/android-arm64": "npm:0.27.1" + "@esbuild/android-x64": "npm:0.27.1" + "@esbuild/darwin-arm64": "npm:0.27.1" + "@esbuild/darwin-x64": "npm:0.27.1" + "@esbuild/freebsd-arm64": "npm:0.27.1" + "@esbuild/freebsd-x64": "npm:0.27.1" + "@esbuild/linux-arm": "npm:0.27.1" + "@esbuild/linux-arm64": "npm:0.27.1" + "@esbuild/linux-ia32": "npm:0.27.1" + "@esbuild/linux-loong64": "npm:0.27.1" + "@esbuild/linux-mips64el": "npm:0.27.1" + "@esbuild/linux-ppc64": "npm:0.27.1" + "@esbuild/linux-riscv64": "npm:0.27.1" + "@esbuild/linux-s390x": "npm:0.27.1" + "@esbuild/linux-x64": "npm:0.27.1" + "@esbuild/netbsd-arm64": "npm:0.27.1" + "@esbuild/netbsd-x64": "npm:0.27.1" + "@esbuild/openbsd-arm64": "npm:0.27.1" + "@esbuild/openbsd-x64": "npm:0.27.1" + "@esbuild/openharmony-arm64": "npm:0.27.1" + "@esbuild/sunos-x64": "npm:0.27.1" + "@esbuild/win32-arm64": "npm:0.27.1" + "@esbuild/win32-ia32": "npm:0.27.1" + "@esbuild/win32-x64": "npm:0.27.1" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -4843,7 +4843,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 10/17a34f3c7cf67f5903693d14401beb3025bd9ecbffbfdd3f0d504e299689679fdd8034c94d9a6814983d448afc7d9fce5b8dfe03ee24ba23ee6f144a9dd2f15d + checksum: 10/534148f01e85ca93ec3a4ae8bef133680f5659e639915cd3a453d6ec9ead94c9a2e9bfd61380301471447e182beb62841cb72e0fa18251cdce3454a2511d7cf4 languageName: node linkType: hard @@ -4998,7 +4998,7 @@ __metadata: resolution: "eslint-plugin-automation-custom@workspace:eslint" dependencies: "@types/eslint": "npm:9.6.1" - esbuild: "npm:0.27.0" + esbuild: "npm:0.27.1" eslint: "npm:8.57.1" eslint-plugin-yml: "npm:1.19.0" eslint-vitest-rule-tester: "npm:3.0.0" @@ -8588,7 +8588,7 @@ __metadata: chalk: "npm:5.6.2" commander: "npm:14.0.2" crc: "npm:4.3.2" - esbuild: "npm:0.27.0" + esbuild: "npm:0.27.1" execa: "npm:9.6.1" express: "npm:5.2.1" folder-hash: "npm:4.1.1" From 189a66a4b39838626339668a54636e60e5f63cd8 Mon Sep 17 00:00:00 2001 From: Thomas Raffray Date: Mon, 8 Dec 2025 13:47:55 +0100 Subject: [PATCH 2/2] chore: update CI scripts --- scripts/ci/actions/restore-artifacts/builddir/index.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci/actions/restore-artifacts/builddir/index.cjs b/scripts/ci/actions/restore-artifacts/builddir/index.cjs index 4bde533f95c..aeee6a37762 100644 --- a/scripts/ci/actions/restore-artifacts/builddir/index.cjs +++ b/scripts/ci/actions/restore-artifacts/builddir/index.cjs @@ -139,12 +139,12 @@ Source: GFS4: `),console.error(t)});dr[fn]||(W$=global[fn]||[],V$(dr,W$),dr.close=(function(t){function e(r,n){return t.call(dr,r,function(i){i||J$(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(e,K0,{value:t}),e})(dr.close),dr.closeSync=(function(t){function e(r){t.apply(dr,arguments),J$()}return Object.defineProperty(e,K0,{value:t}),e})(dr.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){iA(dr[fn]),require("assert").equal(dr[fn].length,0)}));var W$;global[fn]||V$(global,dr[fn]);kO.exports=PO(TUe(dr));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!dr.__patched&&(kO.exports=PO(dr),dr.__patched=!0);function PO(t){xUe(t),t.gracefulify=PO,t.createReadStream=ee,t.createWriteStream=se;var e=t.readFile;t.readFile=r;function r(L,$,K){return typeof $=="function"&&(K=$,$=null),X(L,$,K);function X(Ae,Qe,He,Me){return e(Ae,Qe,function(Ye){Ye&&(Ye.code==="EMFILE"||Ye.code==="ENFILE")?Bf([X,[Ae,Qe,He],Ye,Me||Date.now(),Date.now()]):typeof He=="function"&&He.apply(this,arguments)})}}var n=t.writeFile;t.writeFile=i;function i(L,$,K,X){return typeof K=="function"&&(X=K,K=null),Ae(L,$,K,X);function Ae(Qe,He,Me,Ye,St){return n(Qe,He,Me,function(Ze){Ze&&(Ze.code==="EMFILE"||Ze.code==="ENFILE")?Bf([Ae,[Qe,He,Me,Ye],Ze,St||Date.now(),Date.now()]):typeof Ye=="function"&&Ye.apply(this,arguments)})}}var s=t.appendFile;s&&(t.appendFile=o);function o(L,$,K,X){return typeof K=="function"&&(X=K,K=null),Ae(L,$,K,X);function Ae(Qe,He,Me,Ye,St){return s(Qe,He,Me,function(Ze){Ze&&(Ze.code==="EMFILE"||Ze.code==="ENFILE")?Bf([Ae,[Qe,He,Me,Ye],Ze,St||Date.now(),Date.now()]):typeof Ye=="function"&&Ye.apply(this,arguments)})}}var a=t.copyFile;a&&(t.copyFile=c);function c(L,$,K,X){return typeof K=="function"&&(X=K,K=0),Ae(L,$,K,X);function Ae(Qe,He,Me,Ye,St){return a(Qe,He,Me,function(Ze){Ze&&(Ze.code==="EMFILE"||Ze.code==="ENFILE")?Bf([Ae,[Qe,He,Me,Ye],Ze,St||Date.now(),Date.now()]):typeof Ye=="function"&&Ye.apply(this,arguments)})}}var l=t.readdir;t.readdir=u;var A=/^v[0-5]\./;function u(L,$,K){typeof $=="function"&&(K=$,$=null);var X=A.test(process.version)?function(He,Me,Ye,St){return l(He,Ae(He,Me,Ye,St))}:function(He,Me,Ye,St){return l(He,Me,Ae(He,Me,Ye,St))};return X(L,$,K);function Ae(Qe,He,Me,Ye){return function(St,Ze){St&&(St.code==="EMFILE"||St.code==="ENFILE")?Bf([X,[Qe,He,Me],St,Ye||Date.now(),Date.now()]):(Ze&&Ze.sort&&Ze.sort(),typeof Me=="function"&&Me.call(this,St,Ze))}}}if(process.version.substr(0,4)==="v0.8"){var d=vUe(t);I=d.ReadStream,P=d.WriteStream}var h=t.ReadStream;h&&(I.prototype=Object.create(h.prototype),I.prototype.open=R);var g=t.WriteStream;g&&(P.prototype=Object.create(g.prototype),P.prototype.open=M),Object.defineProperty(t,"ReadStream",{get:function(){return I},set:function(L){I=L},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return P},set:function(L){P=L},enumerable:!0,configurable:!0});var E=I;Object.defineProperty(t,"FileReadStream",{get:function(){return E},set:function(L){E=L},enumerable:!0,configurable:!0});var C=P;Object.defineProperty(t,"FileWriteStream",{get:function(){return C},set:function(L){C=L},enumerable:!0,configurable:!0});function I(L,$){return this instanceof I?(h.apply(this,arguments),this):I.apply(Object.create(I.prototype),arguments)}function R(){var L=this;te(L.path,L.flags,L.mode,function($,K){$?(L.autoClose&&L.destroy(),L.emit("error",$)):(L.fd=K,L.emit("open",K),L.read())})}function P(L,$){return this instanceof P?(g.apply(this,arguments),this):P.apply(Object.create(P.prototype),arguments)}function M(){var L=this;te(L.path,L.flags,L.mode,function($,K){$?(L.destroy(),L.emit("error",$)):(L.fd=K,L.emit("open",K))})}function ee(L,$){return new t.ReadStream(L,$)}function se(L,$){return new t.WriteStream(L,$)}var U=t.open;t.open=te;function te(L,$,K,X){return typeof K=="function"&&(X=K,K=null),Ae(L,$,K,X);function Ae(Qe,He,Me,Ye,St){return U(Qe,He,Me,function(Ze,er){Ze&&(Ze.code==="EMFILE"||Ze.code==="ENFILE")?Bf([Ae,[Qe,He,Me,Ye],Ze,St||Date.now(),Date.now()]):typeof Ye=="function"&&Ye.apply(this,arguments)})}}return t}function Bf(t){iA("ENQUEUE",t[0].name,t[1]),dr[fn].push(t),DO()}var $0;function J$(){for(var t=Date.now(),e=0;e2&&(dr[fn][e][3]=t,dr[fn][e][4]=t);DO()}function DO(){if(clearTimeout($0),$0=void 0,dr[fn].length!==0){var t=dr[fn].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)iA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){iA("TIMEOUT",e.name,r);var o=r.pop();typeof o=="function"&&o.call(null,n)}else{var a=Date.now()-s,c=Math.max(s-i,1),l=Math.min(c*1.2,100);a>=l?(iA("RETRY",e.name,r),e.apply(null,r.concat([i]))):dr[fn].push(t)}$0===void 0&&($0=setTimeout(DO,0))}}});var X0=f((Clt,$$)=>{"use strict";var Ro=t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function";Ro.writable=t=>Ro(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Ro.readable=t=>Ro(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Ro.duplex=t=>Ro.writable(t)&&Ro.readable(t);Ro.transform=t=>Ro.duplex(t)&&typeof t._transform=="function";$$.exports=Ro});var vg=f((Ilt,LO)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?LO.exports={nextTick:DUe}:LO.exports=process;function DUe(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,o;switch(i){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(function(){t.call(null,e)});case 3:return process.nextTick(function(){t.call(null,e,r)});case 4:return process.nextTick(function(){t.call(null,e,r,n)});default:for(s=new Array(i-1),o=0;o{var kUe={}.toString;K$.exports=Array.isArray||function(t){return kUe.call(t)=="[object Array]"}});var MO=f((blt,Z$)=>{Z$.exports=require("stream")});var Tg=f((FO,tK)=>{var Z0=require("buffer"),Ea=Z0.Buffer;function eK(t,e){for(var r in t)e[r]=t[r]}Ea.from&&Ea.alloc&&Ea.allocUnsafe&&Ea.allocUnsafeSlow?tK.exports=Z0:(eK(Z0,FO),FO.Buffer=bf);function bf(t,e,r){return Ea(t,e,r)}eK(Ea,bf);bf.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Ea(t,e,r)};bf.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=Ea(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};bf.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Ea(t)};bf.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Z0.SlowBuffer(t)}});var wf=f(Tn=>{function OUe(t){return Array.isArray?Array.isArray(t):ew(t)==="[object Array]"}Tn.isArray=OUe;function LUe(t){return typeof t=="boolean"}Tn.isBoolean=LUe;function MUe(t){return t===null}Tn.isNull=MUe;function FUe(t){return t==null}Tn.isNullOrUndefined=FUe;function UUe(t){return typeof t=="number"}Tn.isNumber=UUe;function qUe(t){return typeof t=="string"}Tn.isString=qUe;function HUe(t){return typeof t=="symbol"}Tn.isSymbol=HUe;function GUe(t){return t===void 0}Tn.isUndefined=GUe;function jUe(t){return ew(t)==="[object RegExp]"}Tn.isRegExp=jUe;function zUe(t){return typeof t=="object"&&t!==null}Tn.isObject=zUe;function YUe(t){return ew(t)==="[object Date]"}Tn.isDate=YUe;function WUe(t){return ew(t)==="[object Error]"||t instanceof Error}Tn.isError=WUe;function JUe(t){return typeof t=="function"}Tn.isFunction=JUe;function VUe(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Tn.isPrimitive=VUe;Tn.isBuffer=require("buffer").Buffer.isBuffer;function ew(t){return Object.prototype.toString.call(t)}});var rK=f((Qlt,UO)=>{typeof Object.create=="function"?UO.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:UO.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Qf=f((_lt,HO)=>{try{if(qO=require("util"),typeof qO.inherits!="function")throw"";HO.exports=qO.inherits}catch{HO.exports=rK()}var qO});var iK=f((Slt,GO)=>{"use strict";function $Ue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var nK=Tg().Buffer,Pg=require("util");function KUe(t,e,r){t.copy(e,r)}GO.exports=(function(){function t(){$Ue(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},t.prototype.unshift=function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},t.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},t.prototype.concat=function(r){if(this.length===0)return nK.alloc(0);for(var n=nK.allocUnsafe(r>>>0),i=this.head,s=0;i;)KUe(i.data,n,s),s+=i.data.length,i=i.next;return n},t})();Pg&&Pg.inspect&&Pg.inspect.custom&&(GO.exports.prototype[Pg.inspect.custom]=function(){var t=Pg.inspect({length:this.length});return this.constructor.name+" "+t})});var jO=f((Nlt,sK)=>{"use strict";var tw=vg();function XUe(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,tw.nextTick(rw,this,t)):tw.nextTick(rw,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,tw.nextTick(rw,r,s)):tw.nextTick(rw,r,s):e&&e(s)}),this)}function ZUe(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function rw(t,e){t.emit("error",e)}sK.exports={destroy:XUe,undestroy:ZUe}});var aK=f((Rlt,oK)=>{oK.exports=require("util").deprecate});var YO=f((xlt,pK)=>{"use strict";var sA=vg();pK.exports=Or;function lK(t){var e=this;this.next=null,this.entry=null,this.finish=function(){mqe(e,t)}}var eqe=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:sA.nextTick,_f;Or.WritableState=kg;var AK=Object.create(wf());AK.inherits=Qf();var tqe={deprecate:aK()},uK=MO(),iw=Tg().Buffer,rqe=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function nqe(t){return iw.from(t)}function iqe(t){return iw.isBuffer(t)||t instanceof rqe}var dK=jO();AK.inherits(Or,uK);function sqe(){}function kg(t,e){_f=_f||oA(),t=t||{};var r=e instanceof _f;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=t.writableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){dqe(e,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new lK(this)}kg.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(kg.prototype,"buffer",{get:tqe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var nw;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(nw=Function.prototype[Symbol.hasInstance],Object.defineProperty(Or,Symbol.hasInstance,{value:function(t){return nw.call(this,t)?!0:this!==Or?!1:t&&t._writableState instanceof kg}})):nw=function(t){return t instanceof this};function Or(t){if(_f=_f||oA(),!nw.call(Or,this)&&!(this instanceof _f))return new Or(t);this._writableState=new kg(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),uK.call(this)}Or.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function oqe(t,e){var r=new Error("write after end");t.emit("error",r),sA.nextTick(e,r)}function aqe(t,e,r,n){var i=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!e.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),sA.nextTick(n,s),i=!1),i}Or.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&iqe(t);return s&&!iw.isBuffer(t)&&(t=nqe(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=sqe),n.ended?oqe(this,r):(s||aqe(this,n,t,r))&&(n.pendingcb++,i=lqe(this,n,s,t,e,r)),i};Or.prototype.cork=function(){var t=this._writableState;t.corked++};Or.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&fK(this,t))};Or.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function cqe(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=iw.from(e,r)),e}Object.defineProperty(Or.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function lqe(t,e,r,n,i,s){if(!r){var o=cqe(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=e.objectMode?1:n.length;e.length+=a;var c=e.length{"use strict";var gK=vg(),yqe=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};EK.exports=Ca;var mK=Object.create(wf());mK.inherits=Qf();var yK=VO(),JO=YO();mK.inherits(Ca,yK);for(WO=yqe(JO.prototype),sw=0;sw{"use strict";var KO=Tg().Buffer,CK=KO.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Iqe(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function Bqe(t){var e=Iqe(t);if(typeof e!="string"&&(KO.isEncoding===CK||!CK(t)))throw new Error("Unknown encoding: "+t);return e||t}IK.StringDecoder=Og;function Og(t){this.encoding=Bqe(t);var e;switch(this.encoding){case"utf16le":this.text=Nqe,this.end=Rqe,e=4;break;case"utf8":this.fillLast=Qqe,e=4;break;case"base64":this.text=xqe,this.end=vqe,e=3;break;default:this.write=Tqe,this.end=Pqe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=KO.allocUnsafe(e)}Og.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function bqe(t,e,r){var n=e.length-1;if(n=0?(i>0&&(t.lastNeed=i-1),i):--n=0?(i>0&&(t.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function wqe(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Qqe(t){var e=this.lastTotal-this.lastNeed,r=wqe(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function _qe(t,e){var r=bqe(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function Sqe(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Nqe(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Rqe(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function xqe(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function vqe(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Tqe(t){return t.toString(this.encoding)}function Pqe(t){return t&&t.length?this.write(t):""}});var VO=f((Dlt,PK)=>{"use strict";var Nf=vg();PK.exports=$t;var Dqe=X$(),Lg;$t.ReadableState=NK;var Plt=require("events").EventEmitter,QK=function(t,e){return t.listeners(e).length},nL=MO(),Mg=Tg().Buffer,kqe=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Oqe(t){return Mg.from(t)}function Lqe(t){return Mg.isBuffer(t)||t instanceof kqe}var _K=Object.create(wf());_K.inherits=Qf();var ZO=require("util"),Et=void 0;ZO&&ZO.debuglog?Et=ZO.debuglog("stream"):Et=function(){};var Mqe=iK(),SK=jO(),Sf;_K.inherits($t,nL);var eL=["error","close","destroy","pause","resume"];function Fqe(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Dqe(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function NK(t,e){Lg=Lg||oA(),t=t||{};var r=e instanceof Lg;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=t.readableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Mqe,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Sf||(Sf=XO().StringDecoder),this.decoder=new Sf(t.encoding),this.encoding=t.encoding)}function $t(t){if(Lg=Lg||oA(),!(this instanceof $t))return new $t(t);this._readableState=new NK(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),nL.call(this)}Object.defineProperty($t.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});$t.prototype.destroy=SK.destroy;$t.prototype._undestroy=SK.undestroy;$t.prototype._destroy=function(t,e){this.push(null),e(t)};$t.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=Mg.from(t,e),e=""),n=!0),RK(this,t,e,!1,n)};$t.prototype.unshift=function(t){return RK(this,t,null,!0,!1)};function RK(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,Gqe(t,s);else{var o;i||(o=Uqe(s,e)),o?t.emit("error",o):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==Mg.prototype&&(e=Oqe(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):tL(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?tL(t,s,e,!1):xK(t,s)):tL(t,s,e,!1))):n||(s.reading=!1)}return qqe(s)}function tL(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&aw(t)),xK(t,e)}function Uqe(t,e){var r;return!Lqe(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function qqe(t){return!t.ended&&(t.needReadable||t.length=BK?t=BK:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function bK(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=Hqe(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}$t.prototype.read=function(t){Et("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Et("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?rL(this):aw(this),null;if(t=bK(t,e),t===0&&e.ended)return e.length===0&&rL(this),null;var n=e.needReadable;Et("need readable",n),(e.length===0||e.length-t0?i=vK(t,e):i=null,i===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&rL(this)),i!==null&&this.emit("data",i),i};function Gqe(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,aw(t)}}function aw(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Et("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Nf.nextTick(wK,t):wK(t))}function wK(t){Et("emit readable"),t.emit("readable"),iL(t)}function xK(t,e){e.readingMore||(e.readingMore=!0,Nf.nextTick(jqe,t,e))}function jqe(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&TK(n.pipes,t)!==-1)&&!l&&(Et("false write response, pause",n.awaitDrain),n.awaitDrain++,u=!0),r.pause())}function h(I){Et("onerror",I),C(),t.removeListener("error",h),QK(t,"error")===0&&t.emit("error",I)}Fqe(t,"error",h);function g(){t.removeListener("finish",E),C()}t.once("close",g);function E(){Et("onfinish"),t.removeListener("close",g),C()}t.once("finish",E);function C(){Et("unpipe"),r.unpipe(t)}return t.emit("pipe",r),n.flowing||(Et("pipe resume"),r.resume()),t};function zqe(t){return function(){var e=t._readableState;Et("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&QK(t,"data")&&(e.flowing=!0,iL(t))}}$t.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.head.data:r=e.buffer.concat(e.length),e.buffer.clear()):r=Vqe(t,e.buffer,e.decoder),r}function Vqe(t,e,r){var n;return ts.length?s.length:t;if(o===s.length?i+=s:i+=s.slice(0,t),t-=o,t===0){o===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(o));break}++n}return e.length-=n,i}function Kqe(t,e){var r=Mg.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var s=n.data,o=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,o),t-=o,t===0){o===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(o));break}++i}return e.length-=i,r}function rL(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Nf.nextTick(Xqe,e,t))}function Xqe(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function TK(t,e){for(var r=0,n=t.length;r{"use strict";OK.exports=Ia;var cw=oA(),kK=Object.create(wf());kK.inherits=Qf();kK.inherits(Ia,cw);function Zqe(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";FK.exports=Fg;var LK=sL(),MK=Object.create(wf());MK.inherits=Qf();MK.inherits(Fg,LK);function Fg(t){if(!(this instanceof Fg))return new Fg(t);LK.call(this,t)}Fg.prototype._transform=function(t,e,r){r(null,t)}});var qK=f((hn,lw)=>{var xo=require("stream");process.env.READABLE_STREAM==="disable"&&xo?(lw.exports=xo,hn=lw.exports=xo.Readable,hn.Readable=xo.Readable,hn.Writable=xo.Writable,hn.Duplex=xo.Duplex,hn.Transform=xo.Transform,hn.PassThrough=xo.PassThrough,hn.Stream=xo):(hn=lw.exports=VO(),hn.Stream=xo||hn,hn.Readable=hn,hn.Writable=YO(),hn.Duplex=oA(),hn.Transform=sL(),hn.PassThrough=UK())});var GK=f((Llt,HK)=>{HK.exports=qK().PassThrough});var WK=f((Mlt,YK)=>{var jK=require("util"),dw=GK();YK.exports={Readable:Aw,Writable:uw};jK.inherits(Aw,dw);jK.inherits(uw,dw);function zK(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}function Aw(t,e){if(!(this instanceof Aw))return new Aw(t,e);dw.call(this,e),zK(this,"_read",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),r.pipe(this)}),this.emit("readable")}function uw(t,e){if(!(this instanceof uw))return new uw(t,e);dw.call(this,e),zK(this,"_write",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),this.pipe(r)}),this.emit("writable")}});var oL=f((Flt,JK)=>{JK.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var aL=f((Ult,VK)=>{function t2e(t){return t}VK.exports=t2e});var KK=f((qlt,$K)=>{function r2e(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}$K.exports=r2e});var eX=f((Hlt,ZK)=>{var n2e=KK(),XK=Math.max;function i2e(t,e,r){return e=XK(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=XK(n.length-e,0),o=Array(s);++i{function s2e(t){return function(){return t}}tX.exports=s2e});var cL=f((jlt,nX)=>{var o2e=typeof global=="object"&&global&&global.Object===Object&&global;nX.exports=o2e});var Rf=f((zlt,iX)=>{var a2e=cL(),c2e=typeof self=="object"&&self&&self.Object===Object&&self,l2e=a2e||c2e||Function("return this")();iX.exports=l2e});var fw=f((Ylt,sX)=>{var A2e=Rf(),u2e=A2e.Symbol;sX.exports=u2e});var lX=f((Wlt,cX)=>{var oX=fw(),aX=Object.prototype,d2e=aX.hasOwnProperty,f2e=aX.toString,Ug=oX?oX.toStringTag:void 0;function h2e(t){var e=d2e.call(t,Ug),r=t[Ug];try{t[Ug]=void 0;var n=!0}catch{}var i=f2e.call(t);return n&&(e?t[Ug]=r:delete t[Ug]),i}cX.exports=h2e});var uX=f((Jlt,AX)=>{var p2e=Object.prototype,g2e=p2e.toString;function m2e(t){return g2e.call(t)}AX.exports=m2e});var qg=f((Vlt,hX)=>{var dX=fw(),y2e=lX(),E2e=uX(),C2e="[object Null]",I2e="[object Undefined]",fX=dX?dX.toStringTag:void 0;function B2e(t){return t==null?t===void 0?I2e:C2e:fX&&fX in Object(t)?y2e(t):E2e(t)}hX.exports=B2e});var Hg=f(($lt,pX)=>{function b2e(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}pX.exports=b2e});var lL=f((Klt,gX)=>{var w2e=qg(),Q2e=Hg(),_2e="[object AsyncFunction]",S2e="[object Function]",N2e="[object GeneratorFunction]",R2e="[object Proxy]";function x2e(t){if(!Q2e(t))return!1;var e=w2e(t);return e==S2e||e==N2e||e==_2e||e==R2e}gX.exports=x2e});var yX=f((Xlt,mX)=>{var v2e=Rf(),T2e=v2e["__core-js_shared__"];mX.exports=T2e});var IX=f((Zlt,CX)=>{var AL=yX(),EX=(function(){var t=/[^.]+$/.exec(AL&&AL.keys&&AL.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function P2e(t){return!!EX&&EX in t}CX.exports=P2e});var bX=f((eAt,BX)=>{var D2e=Function.prototype,k2e=D2e.toString;function O2e(t){if(t!=null){try{return k2e.call(t)}catch{}try{return t+""}catch{}}return""}BX.exports=O2e});var QX=f((tAt,wX)=>{var L2e=lL(),M2e=IX(),F2e=Hg(),U2e=bX(),q2e=/[\\^$.*+?()[\]{}|]/g,H2e=/^\[object .+?Constructor\]$/,G2e=Function.prototype,j2e=Object.prototype,z2e=G2e.toString,Y2e=j2e.hasOwnProperty,W2e=RegExp("^"+z2e.call(Y2e).replace(q2e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function J2e(t){if(!F2e(t)||M2e(t))return!1;var e=L2e(t)?W2e:H2e;return e.test(U2e(t))}wX.exports=J2e});var SX=f((rAt,_X)=>{function V2e(t,e){return t?.[e]}_X.exports=V2e});var Gg=f((nAt,NX)=>{var $2e=QX(),K2e=SX();function X2e(t,e){var r=K2e(t,e);return $2e(r)?r:void 0}NX.exports=X2e});var xX=f((iAt,RX)=>{var Z2e=Gg(),eHe=(function(){try{var t=Z2e(Object,"defineProperty");return t({},"",{}),t}catch{}})();RX.exports=eHe});var PX=f((sAt,TX)=>{var tHe=rX(),vX=xX(),rHe=aL(),nHe=vX?function(t,e){return vX(t,"toString",{configurable:!0,enumerable:!1,value:tHe(e),writable:!0})}:rHe;TX.exports=nHe});var kX=f((oAt,DX)=>{var iHe=800,sHe=16,oHe=Date.now;function aHe(t){var e=0,r=0;return function(){var n=oHe(),i=sHe-(n-r);if(r=n,i>0){if(++e>=iHe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}DX.exports=aHe});var LX=f((aAt,OX)=>{var cHe=PX(),lHe=kX(),AHe=lHe(cHe);OX.exports=AHe});var hw=f((cAt,MX)=>{var uHe=aL(),dHe=eX(),fHe=LX();function hHe(t,e){return fHe(dHe(t,e,uHe),t+"")}MX.exports=hHe});var pw=f((lAt,FX)=>{function pHe(t,e){return t===e||t!==t&&e!==e}FX.exports=pHe});var uL=f((AAt,UX)=>{var gHe=9007199254740991;function mHe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=gHe}UX.exports=mHe});var gw=f((uAt,qX)=>{var yHe=lL(),EHe=uL();function CHe(t){return t!=null&&EHe(t.length)&&!yHe(t)}qX.exports=CHe});var dL=f((dAt,HX)=>{var IHe=9007199254740991,BHe=/^(?:0|[1-9]\d*)$/;function bHe(t,e){var r=typeof t;return e=e??IHe,!!e&&(r=="number"||r!="symbol"&&BHe.test(t))&&t>-1&&t%1==0&&t{var wHe=pw(),QHe=gw(),_He=dL(),SHe=Hg();function NHe(t,e,r){if(!SHe(r))return!1;var n=typeof e;return(n=="number"?QHe(r)&&_He(e,r.length):n=="string"&&e in r)?wHe(r[e],t):!1}GX.exports=NHe});var YX=f((hAt,zX)=>{function RHe(t,e){for(var r=-1,n=Array(t);++r{function xHe(t){return t!=null&&typeof t=="object"}WX.exports=xHe});var VX=f((gAt,JX)=>{var vHe=qg(),THe=xf(),PHe="[object Arguments]";function DHe(t){return THe(t)&&vHe(t)==PHe}JX.exports=DHe});var fL=f((mAt,XX)=>{var $X=VX(),kHe=xf(),KX=Object.prototype,OHe=KX.hasOwnProperty,LHe=KX.propertyIsEnumerable,MHe=$X((function(){return arguments})())?$X:function(t){return kHe(t)&&OHe.call(t,"callee")&&!LHe.call(t,"callee")};XX.exports=MHe});var hL=f((yAt,ZX)=>{var FHe=Array.isArray;ZX.exports=FHe});var tZ=f((EAt,eZ)=>{function UHe(){return!1}eZ.exports=UHe});var sZ=f((jg,vf)=>{var qHe=Rf(),HHe=tZ(),iZ=typeof jg=="object"&&jg&&!jg.nodeType&&jg,rZ=iZ&&typeof vf=="object"&&vf&&!vf.nodeType&&vf,GHe=rZ&&rZ.exports===iZ,nZ=GHe?qHe.Buffer:void 0,jHe=nZ?nZ.isBuffer:void 0,zHe=jHe||HHe;vf.exports=zHe});var aZ=f((CAt,oZ)=>{var YHe=qg(),WHe=uL(),JHe=xf(),VHe="[object Arguments]",$He="[object Array]",KHe="[object Boolean]",XHe="[object Date]",ZHe="[object Error]",eGe="[object Function]",tGe="[object Map]",rGe="[object Number]",nGe="[object Object]",iGe="[object RegExp]",sGe="[object Set]",oGe="[object String]",aGe="[object WeakMap]",cGe="[object ArrayBuffer]",lGe="[object DataView]",AGe="[object Float32Array]",uGe="[object Float64Array]",dGe="[object Int8Array]",fGe="[object Int16Array]",hGe="[object Int32Array]",pGe="[object Uint8Array]",gGe="[object Uint8ClampedArray]",mGe="[object Uint16Array]",yGe="[object Uint32Array]",Kt={};Kt[AGe]=Kt[uGe]=Kt[dGe]=Kt[fGe]=Kt[hGe]=Kt[pGe]=Kt[gGe]=Kt[mGe]=Kt[yGe]=!0;Kt[VHe]=Kt[$He]=Kt[cGe]=Kt[KHe]=Kt[lGe]=Kt[XHe]=Kt[ZHe]=Kt[eGe]=Kt[tGe]=Kt[rGe]=Kt[nGe]=Kt[iGe]=Kt[sGe]=Kt[oGe]=Kt[aGe]=!1;function EGe(t){return JHe(t)&&WHe(t.length)&&!!Kt[YHe(t)]}oZ.exports=EGe});var pL=f((IAt,cZ)=>{function CGe(t){return function(e){return t(e)}}cZ.exports=CGe});var AZ=f((zg,Tf)=>{var IGe=cL(),lZ=typeof zg=="object"&&zg&&!zg.nodeType&&zg,Yg=lZ&&typeof Tf=="object"&&Tf&&!Tf.nodeType&&Tf,BGe=Yg&&Yg.exports===lZ,gL=BGe&&IGe.process,bGe=(function(){try{var t=Yg&&Yg.require&&Yg.require("util").types;return t||gL&&gL.binding&&gL.binding("util")}catch{}})();Tf.exports=bGe});var hZ=f((BAt,fZ)=>{var wGe=aZ(),QGe=pL(),uZ=AZ(),dZ=uZ&&uZ.isTypedArray,_Ge=dZ?QGe(dZ):wGe;fZ.exports=_Ge});var gZ=f((bAt,pZ)=>{var SGe=YX(),NGe=fL(),RGe=hL(),xGe=sZ(),vGe=dL(),TGe=hZ(),PGe=Object.prototype,DGe=PGe.hasOwnProperty;function kGe(t,e){var r=RGe(t),n=!r&&NGe(t),i=!r&&!n&&xGe(t),s=!r&&!n&&!i&&TGe(t),o=r||n||i||s,a=o?SGe(t.length,String):[],c=a.length;for(var l in t)(e||DGe.call(t,l))&&!(o&&(l=="length"||i&&(l=="offset"||l=="parent")||s&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||vGe(l,c)))&&a.push(l);return a}pZ.exports=kGe});var yZ=f((wAt,mZ)=>{var OGe=Object.prototype;function LGe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||OGe;return t===r}mZ.exports=LGe});var CZ=f((QAt,EZ)=>{function MGe(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}EZ.exports=MGe});var BZ=f((_At,IZ)=>{var FGe=Hg(),UGe=yZ(),qGe=CZ(),HGe=Object.prototype,GGe=HGe.hasOwnProperty;function jGe(t){if(!FGe(t))return qGe(t);var e=UGe(t),r=[];for(var n in t)n=="constructor"&&(e||!GGe.call(t,n))||r.push(n);return r}IZ.exports=jGe});var wZ=f((SAt,bZ)=>{var zGe=gZ(),YGe=BZ(),WGe=gw();function JGe(t){return WGe(t)?zGe(t,!0):YGe(t)}bZ.exports=JGe});var SZ=f((NAt,_Z)=>{var VGe=hw(),$Ge=pw(),KGe=jX(),XGe=wZ(),QZ=Object.prototype,ZGe=QZ.hasOwnProperty,eje=VGe(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&KGe(e[0],e[1],i)&&(n=1);++r{"use strict";var mL=class extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError(`Expected input to be an Array, got ${typeof e}`);let r="";for(let n=0;n{"use strict";RZ.exports={format(t,...e){return t.replace(/%([sdifj])/g,function(...[r,n]){let i=e.shift();return n==="f"?i.toFixed(6):n==="j"?JSON.stringify(i):n==="s"&&typeof i=="object"?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})},inspect(t){switch(typeof t){case"string":if(t.includes("'"))if(t.includes('"')){if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}else return`"${t}"`;return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return`${String(t)}n`;case"boolean":case"undefined":return String(t);case"object":return"{}"}}}});var Pn=f((vAt,TZ)=>{"use strict";var{format:tje,inspect:mw}=yL(),{AggregateError:rje}=cr(),nje=globalThis.AggregateError||rje,ije=Symbol("kIsNodeError"),sje=["string","function","number","object","Function","Object","boolean","bigint","symbol"],oje=/^([A-Z][a-z0-9]*)+$/,aje="__node_internal_",yw={};function aA(t,e){if(!t)throw new yw.ERR_INTERNAL_ASSERTION(e)}function xZ(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function cje(t,e,r){if(typeof e=="function")return aA(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);let n=(e.match(/%[dfijoOs]/g)||[]).length;return aA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:tje(e,...r)}function pn(t,e,r){r||(r=Error);class n extends r{constructor(...s){super(cje(t,e,s))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[ije]=!0,yw[t]=n}function vZ(t){let e=aje+t.name;return Object.defineProperty(t,"name",{value:e}),t}function lje(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new nje([e,t],e.message);return r.code=e.code,r}return t||e}var EL=class extends Error{constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new yw.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};pn("ERR_ASSERTION","%s",Error);pn("ERR_INVALID_ARG_TYPE",(t,e,r)=>{aA(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";let i=[],s=[],o=[];for(let c of e)aA(typeof c=="string","All expected entries have to be of type string"),sje.includes(c)?i.push(c.toLowerCase()):oje.test(c)?s.push(c):(aA(c!=="object",'The value "object" should be written as "Object"'),o.push(c));if(s.length>0){let c=i.indexOf("object");c!==-1&&(i.splice(i,c,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{let c=i.pop();n+=`one of type ${i.join(", ")}, or ${c}`}}(s.length>0||o.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{let c=s.pop();n+=`an instance of ${s.join(", ")}, or ${c}`}}o.length>0&&(n+=" or ")}switch(o.length){case 0:break;case 1:o[0].toLowerCase()!==o[0]&&(n+="an "),n+=`${o[0]}`;break;case 2:n+=`one of ${o[0]} or ${o[1]}`;break;default:{let c=o.pop();n+=`one of ${o.join(", ")}, or ${c}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{let c=mw(r,{depth:-1});n+=`. Received ${c}`}}else{let c=mw(r,{colors:!1});c.length>25&&(c=`${c.slice(0,25)}...`),n+=`. Received type ${typeof r} (${c})`}return n},TypeError);pn("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=mw(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);pn("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;let i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${i}.`},TypeError);pn("ERR_MISSING_ARGS",(...t)=>{aA(t.length>0,"At least one arg needs to be specified");let e,r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{let n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);pn("ERR_OUT_OF_RANGE",(t,e,r)=>{aA(e,'Missing "range" argument');let n;if(Number.isInteger(r)&&Math.abs(r)>2**32)n=xZ(String(r));else if(typeof r=="bigint"){n=String(r);let i=BigInt(2)**BigInt(32);(r>i||r<-i)&&(n=xZ(n)),n+="n"}else n=mw(r);return`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);pn("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);pn("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);pn("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);pn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);pn("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);pn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);pn("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);pn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);pn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);pn("ERR_STREAM_WRITE_AFTER_END","write after end",Error);pn("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);TZ.exports={AbortError:EL,aggregateTwoErrors:vZ(lje),hideStackFrames:vZ,codes:yw}});var HZ=f((Vg,Jg)=>{"use strict";Object.defineProperty(Vg,"__esModule",{value:!0});var MZ=new WeakMap,CL=new WeakMap;function Xt(t){let e=MZ.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}function PZ(t){if(t.passiveListener!=null){typeof console<"u"&&typeof console.error=="function"&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}t.event.cancelable&&(t.canceled=!0,typeof t.event.preventDefault=="function"&&t.event.preventDefault())}function Pf(t,e){MZ.set(this,{eventTarget:t,event:e,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:e.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let r=Object.keys(e);for(let n=0;n0){let t=new Array(arguments.length);for(let e=0;e{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});var BL=HZ(),Tc=class extends BL.EventTarget{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let e=Iw.get(this);if(typeof e!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return e}};BL.defineEventAttribute(Tc.prototype,"abort");function mje(){let t=Object.create(Tc.prototype);return BL.EventTarget.call(t),Iw.set(t,!1),t}function yje(t){Iw.get(t)===!1&&(Iw.set(t,!0),t.dispatchEvent({type:"abort"}))}var Iw=new WeakMap;Object.defineProperties(Tc.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Tc.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var Pc=class{constructor(){jZ.set(this,mje())}get signal(){return GZ(this)}abort(){yje(GZ(this))}},jZ=new WeakMap;function GZ(t){let e=jZ.get(t);if(e==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${t===null?"null":typeof t}`);return e}Object.defineProperties(Pc.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Pc.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});Kg.AbortController=Pc;Kg.AbortSignal=Tc;Kg.default=Pc;$g.exports=Pc;$g.exports.AbortController=$g.exports.default=Pc;$g.exports.AbortSignal=Tc});var ti=f((TAt,wL)=>{"use strict";var Eje=require("buffer"),{format:Cje,inspect:Ije}=yL(),{codes:{ERR_INVALID_ARG_TYPE:bL}}=Pn(),{kResistStopPropagation:Bje,AggregateError:bje,SymbolDispose:wje}=cr(),Qje=globalThis.AbortSignal||Df().AbortSignal,_je=globalThis.AbortController||Df().AbortController,Sje=Object.getPrototypeOf(async function(){}).constructor,zZ=globalThis.Blob||Eje.Blob,Nje=typeof zZ<"u"?function(e){return e instanceof zZ}:function(e){return!1},YZ=(t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new bL(e,"AbortSignal",t)},Rje=(t,e)=>{if(typeof t!="function")throw new bL(e,"Function",t)};wL.exports={AggregateError:bje,kEmptyObject:Object.freeze({}),once(t){let e=!1;return function(...r){e||(e=!0,t.apply(this,r))}},createDeferredPromise:function(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}},promisify(t){return new Promise((e,r)=>{t((n,...i)=>n?r(n):e(...i))})},debuglog(){return function(){}},format:Cje,inspect:Ije,types:{isAsyncFunction(t){return t instanceof Sje},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:Nje,deprecate(t,e){return t},addAbortListener:require("events").addAbortListener||function(e,r){if(e===void 0)throw new bL("signal","AbortSignal",e);YZ(e,"signal"),Rje(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[Bje]:!0}),n=()=>{e.removeEventListener("abort",r)}),{__proto__:null,[wje](){var i;(i=n)===null||i===void 0||i()}}},AbortSignalAny:Qje.any||function(e){if(e.length===1)return e[0];let r=new _je,n=()=>r.abort();return e.forEach(i=>{YZ(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal}};wL.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var Of=f((PAt,r7)=>{"use strict";var{ArrayIsArray:_L,ArrayPrototypeIncludes:$Z,ArrayPrototypeJoin:KZ,ArrayPrototypeMap:xje,NumberIsInteger:SL,NumberIsNaN:vje,NumberMAX_SAFE_INTEGER:Tje,NumberMIN_SAFE_INTEGER:Pje,NumberParseInt:Dje,ObjectPrototypeHasOwnProperty:kje,RegExpPrototypeExec:XZ,String:Oje,StringPrototypeToUpperCase:Lje,StringPrototypeTrim:Mje}=cr(),{hideStackFrames:Es,codes:{ERR_SOCKET_BAD_PORT:Fje,ERR_INVALID_ARG_TYPE:Dn,ERR_INVALID_ARG_VALUE:kf,ERR_OUT_OF_RANGE:cA,ERR_UNKNOWN_SIGNAL:WZ}}=Pn(),{normalizeEncoding:Uje}=ti(),{isAsyncFunction:qje,isArrayBufferView:Hje}=ti().types,JZ={};function Gje(t){return t===(t|0)}function jje(t){return t===t>>>0}var zje=/^[0-7]+$/,Yje="must be a 32-bit unsigned integer or an octal string";function Wje(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(XZ(zje,t)===null)throw new kf(e,t,Yje);t=Dje(t,8)}return ZZ(t,e),t}var Jje=Es((t,e,r=Pje,n=Tje)=>{if(typeof t!="number")throw new Dn(e,"number",t);if(!SL(t))throw new cA(e,"an integer",t);if(tn)throw new cA(e,`>= ${r} && <= ${n}`,t)}),Vje=Es((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Dn(e,"number",t);if(!SL(t))throw new cA(e,"an integer",t);if(tn)throw new cA(e,`>= ${r} && <= ${n}`,t)}),ZZ=Es((t,e,r=!1)=>{if(typeof t!="number")throw new Dn(e,"number",t);if(!SL(t))throw new cA(e,"an integer",t);let n=r?1:0,i=4294967295;if(ti)throw new cA(e,`>= ${n} && <= ${i}`,t)});function NL(t,e){if(typeof t!="string")throw new Dn(e,"string",t)}function $je(t,e,r=void 0,n){if(typeof t!="number")throw new Dn(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&vje(t))throw new cA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}var Kje=Es((t,e,r)=>{if(!$Z(r,t)){let i="must be one of: "+KZ(xje(r,s=>typeof s=="string"?`'${s}'`:Oje(s)),", ");throw new kf(e,t,i)}});function e7(t,e){if(typeof t!="boolean")throw new Dn(e,"boolean",t)}function QL(t,e,r){return t==null||!kje(t,e)?r:t[e]}var Xje=Es((t,e,r=null)=>{let n=QL(r,"allowArray",!1),i=QL(r,"allowFunction",!1);if(!QL(r,"nullable",!1)&&t===null||!n&&_L(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Dn(e,"Object",t)}),Zje=Es((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Dn(e,"a dictionary",t)}),Bw=Es((t,e,r=0)=>{if(!_L(t))throw new Dn(e,"Array",t);if(t.length{if(!Hje(t))throw new Dn(e,["Buffer","TypedArray","DataView"],t)});function sze(t,e){let r=Uje(e),n=t.length;if(r==="hex"&&n%2!==0)throw new kf("encoding",e,`is invalid for data of length ${n}`)}function oze(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&Mje(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new Fje(e,t,r);return t|0}var t7=Es((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Dn(e,"AbortSignal",t)}),aze=Es((t,e)=>{if(typeof t!="function")throw new Dn(e,"Function",t)}),cze=Es((t,e)=>{if(typeof t!="function"||qje(t))throw new Dn(e,"Function",t)}),lze=Es((t,e)=>{if(t!==void 0)throw new Dn(e,"undefined",t)});function Aze(t,e,r){if(!$Z(r,t))throw new Dn(e,`('${KZ(r,"|")}')`,t)}var uze=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function VZ(t,e){if(typeof t>"u"||!XZ(uze,t))throw new kf(e,t,'must be an array or string of format "; rel=preload; as=style"')}function dze(t){if(typeof t=="string")return VZ(t,"hints"),t;if(_L(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}r7.exports={isInt32:Gje,isUint32:jje,parseFileMode:Wje,validateArray:Bw,validateStringArray:eze,validateBooleanArray:tze,validateAbortSignalArray:rze,validateBoolean:e7,validateBuffer:ize,validateDictionary:Zje,validateEncoding:sze,validateFunction:aze,validateInt32:Vje,validateInteger:Jje,validateNumber:$je,validateObject:Xje,validateOneOf:Kje,validatePlainFunction:cze,validatePort:oze,validateSignalName:nze,validateString:NL,validateUint32:ZZ,validateUndefined:lze,validateUnion:Aze,validateAbortSignal:t7,validateLinkHeaderValue:dze}});var Dc=f((DAt,n7)=>{n7.exports=global.process});var To=f((kAt,y7)=>{"use strict";var{SymbolAsyncIterator:i7,SymbolIterator:s7,SymbolFor:lA}=cr(),o7=lA("nodejs.stream.destroyed"),a7=lA("nodejs.stream.errored"),RL=lA("nodejs.stream.readable"),xL=lA("nodejs.stream.writable"),c7=lA("nodejs.stream.disturbed"),fze=lA("nodejs.webstream.isClosedPromise"),hze=lA("nodejs.webstream.controllerErrorFunction");function bw(t,e=!1){var r;return!!(t&&typeof t.pipe=="function"&&typeof t.on=="function"&&(!e||typeof t.pause=="function"&&typeof t.resume=="function")&&(!t._writableState||((r=t._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!t._writableState||t._readableState))}function ww(t){var e;return!!(t&&typeof t.write=="function"&&typeof t.on=="function"&&(!t._readableState||((e=t._writableState)===null||e===void 0?void 0:e.writable)!==!1))}function pze(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}function vo(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}function l7(t){return!!(t&&!vo(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}function A7(t){return!!(t&&!vo(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}function u7(t){return!!(t&&!vo(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}function gze(t){return l7(t)||A7(t)||u7(t)}function mze(t,e){return t==null?!1:e===!0?typeof t[i7]=="function":e===!1?typeof t[s7]=="function":typeof t[i7]=="function"||typeof t[s7]=="function"}function Qw(t){if(!vo(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[o7]||n!=null&&n.destroyed)}function d7(t){if(!ww(t))return null;if(t.writableEnded===!0)return!0;let e=t._writableState;return e!=null&&e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}function yze(t,e){if(!ww(t))return null;if(t.writableFinished===!0)return!0;let r=t._writableState;return r!=null&&r.errored?!1:typeof r?.finished!="boolean"?null:!!(r.finished||e===!1&&r.ended===!0&&r.length===0)}function Eze(t){if(!bw(t))return null;if(t.readableEnded===!0)return!0;let e=t._readableState;return!e||e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}function f7(t,e){if(!bw(t))return null;let r=t._readableState;return r!=null&&r.errored?!1:typeof r?.endEmitted!="boolean"?null:!!(r.endEmitted||e===!1&&r.ended===!0&&r.length===0)}function h7(t){return t&&t[RL]!=null?t[RL]:typeof t?.readable!="boolean"?null:Qw(t)?!1:bw(t)&&t.readable&&!f7(t)}function p7(t){return t&&t[xL]!=null?t[xL]:typeof t?.writable!="boolean"?null:Qw(t)?!1:ww(t)&&t.writable&&!d7(t)}function Cze(t,e){return vo(t)?Qw(t)?!0:!(e?.readable!==!1&&h7(t)||e?.writable!==!1&&p7(t)):null}function Ize(t){var e,r;return vo(t)?t.writableErrored?t.writableErrored:(e=(r=t._writableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}function Bze(t){var e,r;return vo(t)?t.readableErrored?t.readableErrored:(e=(r=t._readableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}function bze(t){if(!vo(t))return null;if(typeof t.closed=="boolean")return t.closed;let e=t._writableState,r=t._readableState;return typeof e?.closed=="boolean"||typeof r?.closed=="boolean"?e?.closed||r?.closed:typeof t._closed=="boolean"&&g7(t)?t._closed:null}function g7(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}function m7(t){return typeof t._sent100=="boolean"&&g7(t)}function wze(t){var e;return typeof t._consuming=="boolean"&&typeof t._dumped=="boolean"&&((e=t.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}function Qze(t){if(!vo(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!n&&m7(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}function _ze(t){var e;return!!(t&&((e=t[c7])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}function Sze(t){var e,r,n,i,s,o,a,c,l,A;return!!(t&&((e=(r=(n=(i=(s=(o=t[a7])!==null&&o!==void 0?o:t.readableErrored)!==null&&s!==void 0?s:t.writableErrored)!==null&&i!==void 0?i:(a=t._readableState)===null||a===void 0?void 0:a.errorEmitted)!==null&&n!==void 0?n:(c=t._writableState)===null||c===void 0?void 0:c.errorEmitted)!==null&&r!==void 0?r:(l=t._readableState)===null||l===void 0?void 0:l.errored)!==null&&e!==void 0?e:!((A=t._writableState)===null||A===void 0)&&A.errored))}y7.exports={isDestroyed:Qw,kIsDestroyed:o7,isDisturbed:_ze,kIsDisturbed:c7,isErrored:Sze,kIsErrored:a7,isReadable:h7,kIsReadable:RL,kIsClosedPromise:fze,kControllerErrorFunction:hze,kIsWritable:xL,isClosed:bze,isDuplexNodeStream:pze,isFinished:Cze,isIterable:mze,isReadableNodeStream:bw,isReadableStream:l7,isReadableEnded:Eze,isReadableFinished:f7,isReadableErrored:Bze,isNodeStream:vo,isWebStream:gze,isWritable:p7,isWritableNodeStream:ww,isWritableStream:A7,isWritableEnded:d7,isWritableFinished:yze,isWritableErrored:Ize,isServerRequest:wze,isServerResponse:m7,willEmitClose:Qze,isTransformStream:u7}});var Ba=f((OAt,kL)=>{"use strict";var kc=Dc(),{AbortError:S7,codes:Nze}=Pn(),{ERR_INVALID_ARG_TYPE:Rze,ERR_STREAM_PREMATURE_CLOSE:E7}=Nze,{kEmptyObject:TL,once:PL}=ti(),{validateAbortSignal:xze,validateFunction:vze,validateObject:Tze,validateBoolean:Pze}=Of(),{Promise:Dze,PromisePrototypeThen:kze,SymbolDispose:N7}=cr(),{isClosed:Oze,isReadable:C7,isReadableNodeStream:vL,isReadableStream:Lze,isReadableFinished:I7,isReadableErrored:B7,isWritable:b7,isWritableNodeStream:w7,isWritableStream:Mze,isWritableFinished:Q7,isWritableErrored:_7,isNodeStream:Fze,willEmitClose:Uze,kIsClosedPromise:qze}=To(),Lf;function Hze(t){return t.setHeader&&typeof t.abort=="function"}var DL=()=>{};function R7(t,e,r){var n,i;if(arguments.length===2?(r=e,e=TL):e==null?e=TL:Tze(e,"options"),vze(r,"callback"),xze(e.signal,"options.signal"),r=PL(r),Lze(t)||Mze(t))return Gze(t,e,r);if(!Fze(t))throw new Rze("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:vL(t),o=(i=e.writable)!==null&&i!==void 0?i:w7(t),a=t._writableState,c=t._readableState,l=()=>{t.writable||d()},A=Uze(t)&&vL(t)===s&&w7(t)===o,u=Q7(t,!1),d=()=>{u=!0,t.destroyed&&(A=!1),!(A&&(!t.readable||s))&&(!s||h)&&r.call(t)},h=I7(t,!1),g=()=>{h=!0,t.destroyed&&(A=!1),!(A&&(!t.writable||o))&&(!o||u)&&r.call(t)},E=ee=>{r.call(t,ee)},C=Oze(t),I=()=>{C=!0;let ee=_7(t)||B7(t);if(ee&&typeof ee!="boolean")return r.call(t,ee);if(s&&!h&&vL(t,!0)&&!I7(t,!1))return r.call(t,new E7);if(o&&!u&&!Q7(t,!1))return r.call(t,new E7);r.call(t)},R=()=>{C=!0;let ee=_7(t)||B7(t);if(ee&&typeof ee!="boolean")return r.call(t,ee);r.call(t)},P=()=>{t.req.on("finish",d)};Hze(t)?(t.on("complete",d),A||t.on("abort",I),t.req?P():t.on("request",P)):o&&!a&&(t.on("end",l),t.on("close",l)),!A&&typeof t.aborted=="boolean"&&t.on("aborted",I),t.on("end",g),t.on("finish",d),e.error!==!1&&t.on("error",E),t.on("close",I),C?kc.nextTick(I):a!=null&&a.errorEmitted||c!=null&&c.errorEmitted?A||kc.nextTick(R):(!s&&(!A||C7(t))&&(u||b7(t)===!1)||!o&&(!A||b7(t))&&(h||C7(t)===!1)||c&&t.req&&t.aborted)&&kc.nextTick(R);let M=()=>{r=DL,t.removeListener("aborted",I),t.removeListener("complete",d),t.removeListener("abort",I),t.removeListener("request",P),t.req&&t.req.removeListener("finish",d),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",d),t.removeListener("end",g),t.removeListener("error",E),t.removeListener("close",I)};if(e.signal&&!C){let ee=()=>{let se=r;M(),se.call(t,new S7(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)kc.nextTick(ee);else{Lf=Lf||ti().addAbortListener;let se=Lf(e.signal,ee),U=r;r=PL((...te)=>{se[N7](),U.apply(t,te)})}}return M}function Gze(t,e,r){let n=!1,i=DL;if(e.signal)if(i=()=>{n=!0,r.call(t,new S7(void 0,{cause:e.signal.reason}))},e.signal.aborted)kc.nextTick(i);else{Lf=Lf||ti().addAbortListener;let o=Lf(e.signal,i),a=r;r=PL((...c)=>{o[N7](),a.apply(t,c)})}let s=(...o)=>{n||kc.nextTick(()=>r.apply(t,o))};return kze(t[qze].promise,s,s),DL}function jze(t,e){var r;let n=!1;return e===null&&(e=TL),(r=e)!==null&&r!==void 0&&r.cleanup&&(Pze(e.cleanup,"cleanup"),n=e.cleanup),new Dze((i,s)=>{let o=R7(t,e,a=>{n&&o(),a?s(a):i()})})}kL.exports=R7;kL.exports.finished=jze});var AA=f((LAt,L7)=>{"use strict";var Po=Dc(),{aggregateTwoErrors:zze,codes:{ERR_MULTIPLE_CALLBACK:Yze},AbortError:Wze}=Pn(),{Symbol:T7}=cr(),{kIsDestroyed:Jze,isDestroyed:Vze,isFinished:$ze,isServerRequest:Kze}=To(),P7=T7("kDestroy"),OL=T7("kConstruct");function D7(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function Xze(t,e){let r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(D7(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?x7(this,t,e):this.once(P7,function(s){x7(this,zze(s,t),e)}),this)}function x7(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let o=t._readableState,a=t._writableState;D7(s,a,o),a&&(a.closed=!0),o&&(o.closed=!0),typeof r=="function"&&r(s),s?Po.nextTick(Zze,t,s):Po.nextTick(k7,t)}try{t._destroy(e||null,i)}catch(s){i(s)}}function Zze(t,e){LL(t,e),k7(t)}function k7(t){let e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}function LL(t,e){let r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function eYe(){let t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}function ML(t,e,r){let n=t._readableState,i=t._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?t.destroy(e):e&&(e.stack,i&&!i.errored&&(i.errored=e),n&&!n.errored&&(n.errored=e),r?Po.nextTick(LL,t,e):LL(t,e))}function tYe(t,e){if(typeof t._construct!="function")return;let r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(OL,e),!(t.listenerCount(OL)>1)&&Po.nextTick(rYe,t)}function rYe(t){let e=!1;function r(n){if(e){ML(t,n??new Yze);return}e=!0;let i=t._readableState,s=t._writableState,o=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),o.destroyed?t.emit(P7,n):n?ML(t,n,!0):Po.nextTick(nYe,t)}try{t._construct(n=>{Po.nextTick(r,n)})}catch(n){Po.nextTick(r,n)}}function nYe(t){t.emit(OL)}function v7(t){return t?.setHeader&&typeof t.abort=="function"}function O7(t){t.emit("close")}function iYe(t,e){t.emit("error",e),Po.nextTick(O7,t)}function sYe(t,e){!t||Vze(t)||(!e&&!$ze(t)&&(e=new Wze),Kze(t)?(t.socket=null,t.destroy(e)):v7(t)?t.abort():v7(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Po.nextTick(iYe,t,e):Po.nextTick(O7,t),t.destroyed||(t[Jze]=!0))}L7.exports={construct:tYe,destroyer:sYe,destroy:Xze,undestroy:eYe,errorOrDestroy:ML}});var Nw=f((MAt,F7)=>{"use strict";var{ArrayIsArray:oYe,ObjectSetPrototypeOf:M7}=cr(),{EventEmitter:_w}=require("events");function Sw(t){_w.call(this,t)}M7(Sw.prototype,_w.prototype);M7(Sw,_w);Sw.prototype.pipe=function(t,e){let r=this;function n(A){t.writable&&t.write(A)===!1&&r.pause&&r.pause()}r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",o),r.on("close",a));let s=!1;function o(){s||(s=!0,t.end())}function a(){s||(s=!0,typeof t.destroy=="function"&&t.destroy())}function c(A){l(),_w.listenerCount(this,"error")===0&&this.emit("error",A)}FL(r,"error",c),FL(t,"error",c);function l(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",a),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t};function FL(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):oYe(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}F7.exports={Stream:Sw,prependListener:FL}});var Xg=f((FAt,Rw)=>{"use strict";var{SymbolDispose:aYe}=cr(),{AbortError:U7,codes:cYe}=Pn(),{isNodeStream:q7,isWebStream:lYe,kControllerErrorFunction:AYe}=To(),uYe=Ba(),{ERR_INVALID_ARG_TYPE:H7}=cYe,UL,dYe=(t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new H7(e,"AbortSignal",t)};Rw.exports.addAbortSignal=function(e,r){if(dYe(e,"signal"),!q7(r)&&!lYe(r))throw new H7("stream",["ReadableStream","WritableStream","Stream"],r);return Rw.exports.addAbortSignalNoValidate(e,r)};Rw.exports.addAbortSignalNoValidate=function(t,e){if(typeof t!="object"||!("aborted"in t))return e;let r=q7(e)?()=>{e.destroy(new U7(void 0,{cause:t.reason}))}:()=>{e[AYe](new U7(void 0,{cause:t.reason}))};if(t.aborted)r();else{UL=UL||ti().addAbortListener;let n=UL(t,r);uYe(e,n[aYe])}return e}});var z7=f((qAt,j7)=>{"use strict";var{StringPrototypeSlice:G7,SymbolIterator:fYe,TypedArrayPrototypeSet:xw,Uint8Array:hYe}=cr(),{Buffer:qL}=require("buffer"),{inspect:pYe}=ti();j7.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){let r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){let r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;let e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return qL.alloc(0);let r=qL.allocUnsafe(e>>>0),n=this.head,i=0;for(;n;)xw(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(e,r){let n=this.head.data;if(es.length)r+=s,e-=s.length;else{e===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=G7(s,0,e),this.head=n,n.data=G7(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=qL.allocUnsafe(e),n=e,i=this.head,s=0;do{let o=i.data;if(e>o.length)xw(r,o,n-e),e-=o.length;else{e===o.length?(xw(r,o,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(xw(r,new hYe(o.buffer,o.byteOffset,e),n-e),this.head=i,i.data=o.slice(e));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return pYe(this,{...r,depth:0,customInspect:!1})}}});var Zg=f((HAt,V7)=>{"use strict";var{MathFloor:gYe,NumberIsInteger:mYe}=cr(),{validateInteger:yYe}=Of(),{ERR_INVALID_ARG_VALUE:EYe}=Pn().codes,Y7=16*1024,W7=16;function CYe(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function J7(t){return t?W7:Y7}function IYe(t,e){yYe(e,"value",0),t?W7=e:Y7=e}function BYe(t,e,r,n){let i=CYe(e,n,r);if(i!=null){if(!mYe(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new EYe(s,i)}return gYe(i)}return J7(t.objectMode)}V7.exports={getHighWaterMark:BYe,getDefaultHighWaterMark:J7,setDefaultHighWaterMark:IYe}});var X7=f((HL,K7)=>{var vw=require("buffer"),Do=vw.Buffer;function $7(t,e){for(var r in t)e[r]=t[r]}Do.from&&Do.alloc&&Do.allocUnsafe&&Do.allocUnsafeSlow?K7.exports=vw:($7(vw,HL),HL.Buffer=uA);function uA(t,e,r){return Do(t,e,r)}uA.prototype=Object.create(Do.prototype);$7(Do,uA);uA.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Do(t,e,r)};uA.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=Do(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};uA.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Do(t)};uA.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return vw.SlowBuffer(t)}});var tee=f(eee=>{"use strict";var jL=X7().Buffer,Z7=jL.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function bYe(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function wYe(t){var e=bYe(t);if(typeof e!="string"&&(jL.isEncoding===Z7||!Z7(t)))throw new Error("Unknown encoding: "+t);return e||t}eee.StringDecoder=em;function em(t){this.encoding=wYe(t);var e;switch(this.encoding){case"utf16le":this.text=xYe,this.end=vYe,e=4;break;case"utf8":this.fillLast=SYe,e=4;break;case"base64":this.text=TYe,this.end=PYe,e=3;break;default:this.write=DYe,this.end=kYe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=jL.allocUnsafe(e)}em.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function QYe(t,e,r){var n=e.length-1;if(n=0?(i>0&&(t.lastNeed=i-1),i):--n=0?(i>0&&(t.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function _Ye(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function SYe(t){var e=this.lastTotal-this.lastNeed,r=_Ye(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function NYe(t,e){var r=QYe(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function RYe(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function xYe(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function vYe(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function TYe(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function PYe(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function DYe(t){return t.toString(this.encoding)}function kYe(t){return t&&t.length?this.write(t):""}});var zL=f((jAt,see)=>{"use strict";var ree=Dc(),{PromisePrototypeThen:OYe,SymbolAsyncIterator:nee,SymbolIterator:iee}=cr(),{Buffer:LYe}=require("buffer"),{ERR_INVALID_ARG_TYPE:MYe,ERR_STREAM_NULL_VALUES:FYe}=Pn().codes;function UYe(t,e,r){let n;if(typeof e=="string"||e instanceof LYe)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[nee])i=!0,n=e[nee]();else if(e&&e[iee])i=!1,n=e[iee]();else throw new MYe("iterable",["Iterable"],e);let s=new t({objectMode:!0,highWaterMark:1,...r}),o=!1;s._read=function(){o||(o=!0,c())},s._destroy=function(l,A){OYe(a(l),()=>ree.nextTick(A,l),u=>ree.nextTick(A,u||l))};async function a(l){let A=l!=null,u=typeof n.throw=="function";if(A&&u){let{value:d,done:h}=await n.throw(l);if(await d,h)return}if(typeof n.return=="function"){let{value:d}=await n.return();await d}}async function c(){for(;;){try{let{value:l,done:A}=i?await n.next():n.next();if(A)s.push(null);else{let u=l&&typeof l.then=="function"?await l:l;if(u===null)throw o=!1,new FYe;if(s.push(u))continue;o=!1}}catch(l){s.destroy(l)}break}}return s}see.exports=UYe});var rm=f((zAt,bee)=>{"use strict";var Us=Dc(),{ArrayPrototypeIndexOf:qYe,NumberIsInteger:HYe,NumberIsNaN:GYe,NumberParseInt:jYe,ObjectDefineProperties:ZL,ObjectKeys:zYe,ObjectSetPrototypeOf:cee,Promise:lee,SafeSet:YYe,SymbolAsyncDispose:WYe,SymbolAsyncIterator:JYe,Symbol:VYe}=cr();bee.exports=Je;Je.ReadableState=kw;var{EventEmitter:$Ye}=require("events"),{Stream:Oc,prependListener:KYe}=Nw(),{Buffer:YL}=require("buffer"),{addAbortSignal:XYe}=Xg(),Aee=Ba(),st=ti().debuglog("stream",t=>{st=t}),ZYe=z7(),Uf=AA(),{getHighWaterMark:eWe,getDefaultHighWaterMark:tWe}=Zg(),{aggregateTwoErrors:oee,codes:{ERR_INVALID_ARG_TYPE:rWe,ERR_METHOD_NOT_IMPLEMENTED:nWe,ERR_OUT_OF_RANGE:iWe,ERR_STREAM_PUSH_AFTER_EOF:sWe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:oWe},AbortError:aWe}=Pn(),{validateObject:cWe}=Of(),dA=VYe("kPaused"),{StringDecoder:uee}=tee(),lWe=zL();cee(Je.prototype,Oc.prototype);cee(Je,Oc);var WL=()=>{},{errorOrDestroy:Mf}=Uf,Ff=1,AWe=2,dee=4,tm=8,fee=16,Tw=32,Pw=64,hee=128,uWe=256,dWe=512,fWe=1024,KL=2048,XL=4096,hWe=8192,pWe=16384,gWe=32768,pee=65536,mWe=1<<17,yWe=1<<18;function Gr(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}ZL(kw.prototype,{objectMode:Gr(Ff),ended:Gr(AWe),endEmitted:Gr(dee),reading:Gr(tm),constructed:Gr(fee),sync:Gr(Tw),needReadable:Gr(Pw),emittedReadable:Gr(hee),readableListening:Gr(uWe),resumeScheduled:Gr(dWe),errorEmitted:Gr(fWe),emitClose:Gr(KL),autoDestroy:Gr(XL),destroyed:Gr(hWe),closed:Gr(pWe),closeEmitted:Gr(gWe),multiAwaitDrain:Gr(pee),readingMore:Gr(mWe),dataEmitted:Gr(yWe)});function kw(t,e,r){typeof r!="boolean"&&(r=e instanceof ko()),this.state=KL|XL|fee|Tw,t&&t.objectMode&&(this.state|=Ff),r&&t&&t.readableObjectMode&&(this.state|=Ff),this.highWaterMark=t?eWe(this,t,"readableHighWaterMark",r):tWe(!1),this.buffer=new ZYe,this.length=0,this.pipes=[],this.flowing=null,this[dA]=null,t&&t.emitClose===!1&&(this.state&=~KL),t&&t.autoDestroy===!1&&(this.state&=~XL),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new uee(t.encoding),this.encoding=t.encoding)}function Je(t){if(!(this instanceof Je))return new Je(t);let e=this instanceof ko();this._readableState=new kw(t,this,e),t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&!e&&XYe(t.signal,this)),Oc.call(this,t),Uf.construct(this,()=>{this._readableState.needReadable&&Dw(this,this._readableState)})}Je.prototype.destroy=Uf.destroy;Je.prototype._undestroy=Uf.undestroy;Je.prototype._destroy=function(t,e){e(t)};Je.prototype[$Ye.captureRejectionSymbol]=function(t){this.destroy(t)};Je.prototype[WYe]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new aWe,this.destroy(t)),new lee((e,r)=>Aee(this,n=>n&&n!==t?r(n):e(null)))};Je.prototype.push=function(t,e){return gee(this,t,e,!1)};Je.prototype.unshift=function(t,e){return gee(this,t,e,!0)};function gee(t,e,r,n){st("readableAddChunk",e);let i=t._readableState,s;if((i.state&Ff)===0&&(typeof e=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=YL.from(e,r).toString(i.encoding):(e=YL.from(e,r),r=""))):e instanceof YL?r="":Oc._isUint8Array(e)?(e=Oc._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new rWe("chunk",["string","Buffer","Uint8Array"],e))),s)Mf(t,s);else if(e===null)i.state&=~tm,IWe(t,i);else if((i.state&Ff)!==0||e&&e.length>0)if(n)if((i.state&dee)!==0)Mf(t,new oWe);else{if(i.destroyed||i.errored)return!1;JL(t,i,e,!0)}else if(i.ended)Mf(t,new sWe);else{if(i.destroyed||i.errored)return!1;i.state&=~tm,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?JL(t,i,e,!1):Dw(t,i)):JL(t,i,e,!1)}else n||(i.state&=~tm,Dw(t,i));return!i.ended&&(i.length0?((e.state&pee)!==0?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),(e.state&Pw)!==0&&Ow(t)),Dw(t,e)}Je.prototype.isPaused=function(){let t=this._readableState;return t[dA]===!0||t.flowing===!1};Je.prototype.setEncoding=function(t){let e=new uee(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,n="";for(let i of r)n+=e.write(i);return r.clear(),n!==""&&r.push(n),this._readableState.length=n.length,this};var EWe=1073741824;function CWe(t){if(t>EWe)throw new iWe("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}function aee(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&Ff)!==0?1:GYe(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}Je.prototype.read=function(t){st("read",t),t===void 0?t=NaN:HYe(t)||(t=jYe(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=CWe(t)),t!==0&&(e.state&=~hee),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return st("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?VL(this):Ow(this),null;if(t=aee(t,e),t===0&&e.ended)return e.length===0&&VL(this),null;let n=(e.state&Pw)!==0;if(st("need readable",n),(e.length===0||e.length-t0?i=Iee(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&VL(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function IWe(t,e){if(st("onEofChunk"),!e.ended){if(e.decoder){let r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?Ow(t):(e.needReadable=!1,e.emittedReadable=!0,mee(t))}}function Ow(t){let e=t._readableState;st("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(st("emitReadable",e.flowing),e.emittedReadable=!0,Us.nextTick(mee,t))}function mee(t){let e=t._readableState;st("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&!e.errored&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Eee(t)}function Dw(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,Us.nextTick(BWe,t,e))}function BWe(t,e){for(;!e.reading&&!e.ended&&(e.length1&&n.pipes.includes(t)&&(st("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),c||(c=bWe(r,t),t.on("drain",c))}r.on("data",d);function d(I){st("ondata");let R=t.write(I);st("dest.write",R),R===!1&&u()}function h(I){if(st("onerror",I),C(),t.removeListener("error",h),t.listenerCount("error")===0){let R=t._writableState||t._readableState;R&&!R.errorEmitted?Mf(t,I):t.emit("error",I)}}KYe(t,"error",h);function g(){t.removeListener("finish",E),C()}t.once("close",g);function E(){st("onfinish"),t.removeListener("close",g),C()}t.once("finish",E);function C(){st("unpipe"),r.unpipe(t)}return t.emit("pipe",r),t.writableNeedDrain===!0?u():n.flowing||(st("pipe resume"),r.resume()),t};function bWe(t,e){return function(){let n=t._readableState;n.awaitDrainWriters===e?(st("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(st("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()}}Je.prototype.unpipe=function(t){let e=this._readableState,r={hasUnpiped:!1};if(e.pipes.length===0)return this;if(!t){let i=e.pipes;e.pipes=[],this.pause();for(let s=0;s0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,st("on readable",n.length,n.reading),n.length?Ow(this):n.reading||Us.nextTick(wWe,this)),r};Je.prototype.addListener=Je.prototype.on;Je.prototype.removeListener=function(t,e){let r=Oc.prototype.removeListener.call(this,t,e);return t==="readable"&&Us.nextTick(yee,this),r};Je.prototype.off=Je.prototype.removeListener;Je.prototype.removeAllListeners=function(t){let e=Oc.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&Us.nextTick(yee,this),e};function yee(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[dA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}function wWe(t){st("readable nexttick read 0"),t.read(0)}Je.prototype.resume=function(){let t=this._readableState;return t.flowing||(st("resume"),t.flowing=!t.readableListening,QWe(this,t)),t[dA]=!1,this};function QWe(t,e){e.resumeScheduled||(e.resumeScheduled=!0,Us.nextTick(_We,t,e))}function _We(t,e){st("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),Eee(t),e.flowing&&!e.reading&&t.read(0)}Je.prototype.pause=function(){return st("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(st("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[dA]=!0,this};function Eee(t){let e=t._readableState;for(st("flow",e.flowing);e.flowing&&t.read()!==null;);}Je.prototype.wrap=function(t){let e=!1;t.on("data",n=>{!this.push(n)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",n=>{Mf(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=zYe(t);for(let n=1;n{i=o?oee(i,o):null,r(),r=WL});try{for(;;){let o=t.destroyed?null:t.read();if(o!==null)yield o;else{if(i)throw i;if(i===null)return;await new lee(n)}}}catch(o){throw i=oee(i,o),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?Uf.destroyer(t,null):(t.off("readable",n),s())}}ZL(Je.prototype,{readable:{__proto__:null,get(){let t=this._readableState;return!!t&&t.readable!==!1&&!t.destroyed&&!t.errorEmitted&&!t.endEmitted},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});ZL(kw.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[dA]!==!1},set(t){this[dA]=!!t}}});Je._fromList=Iee;function Iee(t,e){if(e.length===0)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function VL(t){let e=t._readableState;st("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,Us.nextTick(NWe,e,t))}function NWe(t,e){if(st("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&t.length===0){if(t.endEmitted=!0,e.emit("end"),e.writable&&e.allowHalfOpen===!1)Us.nextTick(RWe,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}function RWe(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}Je.from=function(t,e){return lWe(Je,t,e)};var $L;function Bee(){return $L===void 0&&($L={}),$L}Je.fromWeb=function(t,e){return Bee().newStreamReadableFromReadableStream(t,e)};Je.toWeb=function(t,e){return Bee().newReadableStreamFromStreamReadable(t,e)};Je.wrap=function(t,e){var r,n;return new Je({objectMode:(r=(n=t.readableObjectMode)!==null&&n!==void 0?n:t.objectMode)!==null&&r!==void 0?r:!0,...e,destroy(i,s){Uf.destroyer(t,i),s(i)}}).wrap(t)}});var qw=f((YAt,kee)=>{"use strict";var fA=Dc(),{ArrayPrototypeSlice:_ee,Error:xWe,FunctionPrototypeSymbolHasInstance:See,ObjectDefineProperty:Nee,ObjectDefineProperties:vWe,ObjectSetPrototypeOf:Ree,StringPrototypeToLowerCase:TWe,Symbol:PWe,SymbolHasInstance:DWe}=cr();kee.exports=fr;fr.WritableState=sm;var{EventEmitter:kWe}=require("events"),nm=Nw().Stream,{Buffer:Lw}=require("buffer"),Uw=AA(),{addAbortSignal:OWe}=Xg(),{getHighWaterMark:LWe,getDefaultHighWaterMark:MWe}=Zg(),{ERR_INVALID_ARG_TYPE:FWe,ERR_METHOD_NOT_IMPLEMENTED:UWe,ERR_MULTIPLE_CALLBACK:xee,ERR_STREAM_CANNOT_PIPE:qWe,ERR_STREAM_DESTROYED:im,ERR_STREAM_ALREADY_FINISHED:HWe,ERR_STREAM_NULL_VALUES:GWe,ERR_STREAM_WRITE_AFTER_END:jWe,ERR_UNKNOWN_ENCODING:vee}=Pn().codes,{errorOrDestroy:qf}=Uw;Ree(fr.prototype,nm.prototype);Ree(fr,nm);function rM(){}var Hf=PWe("kOnFinished");function sm(t,e,r){typeof r!="boolean"&&(r=e instanceof ko()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?LWe(this,t,"writableHighWaterMark",r):MWe(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let n=!!(t&&t.decodeStrings===!1);this.decodeStrings=!n,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=YWe.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,Fw(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||t.emitClose!==!1,this.autoDestroy=!t||t.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[Hf]=[]}function Fw(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}sm.prototype.getBuffer=function(){return _ee(this.buffered,this.bufferedIndex)};Nee(sm.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function fr(t){let e=this instanceof ko();if(!e&&!See(fr,this))return new fr(t);this._writableState=new sm(t,this,e),t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&OWe(t.signal,this)),nm.call(this,t),Uw.construct(this,()=>{let r=this._writableState;r.writing||iM(this,r),sM(this,r)})}Nee(fr,DWe,{__proto__:null,value:function(t){return See(this,t)?!0:this!==fr?!1:t&&t._writableState instanceof sm}});fr.prototype.pipe=function(){qf(this,new qWe)};function Tee(t,e,r,n){let i=t._writableState;if(typeof r=="function")n=r,r=i.defaultEncoding;else{if(!r)r=i.defaultEncoding;else if(r!=="buffer"&&!Lw.isEncoding(r))throw new vee(r);typeof n!="function"&&(n=rM)}if(e===null)throw new GWe;if(!i.objectMode)if(typeof e=="string")i.decodeStrings!==!1&&(e=Lw.from(e,r),r="buffer");else if(e instanceof Lw)r="buffer";else if(nm._isUint8Array(e))e=nm._uint8ArrayToBuffer(e),r="buffer";else throw new FWe("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new jWe:i.destroyed&&(s=new im("write")),s?(fA.nextTick(n,s),qf(t,s,!0),s):(i.pendingcb++,zWe(t,i,e,r,n))}fr.prototype.write=function(t,e,r){return Tee(this,t,e,r)===!0};fr.prototype.cork=function(){this._writableState.corked++};fr.prototype.uncork=function(){let t=this._writableState;t.corked&&(t.corked--,t.writing||iM(this,t))};fr.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=TWe(e)),!Lw.isEncoding(e))throw new vee(e);return this._writableState.defaultEncoding=e,this};function zWe(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let o=e.lengthr.bufferedIndex&&iM(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},fA.nextTick(WWe,r.afterWriteTickInfo)):Pee(t,r,1,i))}function WWe({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,Pee(t,e,r,n)}function Pee(t,e,r,n){for(!e.ending&&!t.destroyed&&e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&nM(e),sM(t,e)}function nM(t){if(t.writing)return;for(let i=t.bufferedIndex;i1&&t._writev){e.pendingcb-=s-1;let a=e.allNoop?rM:l=>{for(let A=o;A256?(r.splice(0,o),e.bufferedIndex=0):e.bufferedIndex=o}e.bufferProcessing=!1}fr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new UWe("_write()")};fr.prototype._writev=null;fr.prototype.end=function(t,e,r){let n=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let i;if(t!=null){let s=Tee(this,t,e);s instanceof xWe&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,sM(this,n,!0),n.ended=!0):n.finished?i=new HWe("end"):n.destroyed&&(i=new im("end"))),typeof r=="function"&&(i||n.finished?fA.nextTick(r,i):n[Hf].push(r)),this};function Mw(t){return t.ending&&!t.destroyed&&t.constructed&&t.length===0&&!t.errored&&t.buffered.length===0&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}function JWe(t,e){let r=!1;function n(i){if(r){qf(t,i??xee());return}if(r=!0,e.pendingcb--,i){let s=e[Hf].splice(0);for(let o=0;o{Mw(i)?tM(n,i):i.pendingcb--},t,e)):Mw(e)&&(e.pendingcb++,tM(t,e))))}function tM(t,e){e.pendingcb--,e.finished=!0;let r=e[Hf].splice(0);for(let n=0;n{var oM=Dc(),KWe=require("buffer"),{isReadable:XWe,isWritable:ZWe,isIterable:Oee,isNodeStream:eJe,isReadableNodeStream:Lee,isWritableNodeStream:Mee,isDuplexNodeStream:tJe,isReadableStream:Fee,isWritableStream:Uee}=To(),qee=Ba(),{AbortError:Wee,codes:{ERR_INVALID_ARG_TYPE:rJe,ERR_INVALID_RETURN_VALUE:Hee}}=Pn(),{destroyer:jf}=AA(),nJe=ko(),Jee=rm(),iJe=qw(),{createDeferredPromise:Gee}=ti(),jee=zL(),zee=globalThis.Blob||KWe.Blob,sJe=typeof zee<"u"?function(e){return e instanceof zee}:function(e){return!1},oJe=globalThis.AbortController||Df().AbortController,{FunctionPrototypeCall:Yee}=cr(),Lc=class extends nJe{constructor(e){super(e),e?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),e?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};Vee.exports=function t(e,r){if(tJe(e))return e;if(Lee(e))return Gf({readable:e});if(Mee(e))return Gf({writable:e});if(eJe(e))return Gf({writable:!1,readable:!1});if(Fee(e))return Gf({readable:Jee.fromWeb(e)});if(Uee(e))return Gf({writable:iJe.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:o,destroy:a}=aJe(e);if(Oee(i))return jee(Lc,i,{objectMode:!0,write:s,final:o,destroy:a});let c=i?.then;if(typeof c=="function"){let l,A=Yee(c,i,u=>{if(u!=null)throw new Hee("nully","body",u)},u=>{jf(l,u)});return l=new Lc({objectMode:!0,readable:!1,write:s,final(u){o(async()=>{try{await A,oM.nextTick(u,null)}catch(d){oM.nextTick(u,d)}})},destroy:a})}throw new Hee("Iterable, AsyncIterable or AsyncFunction",r,i)}if(sJe(e))return t(e.arrayBuffer());if(Oee(e))return jee(Lc,e,{objectMode:!0,writable:!1});if(Fee(e?.readable)&&Uee(e?.writable))return Lc.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?Lee(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?Mee(e?.writable)?e?.writable:t(e.writable):void 0;return Gf({readable:i,writable:s})}let n=e?.then;if(typeof n=="function"){let i;return Yee(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{jf(i,s)}),i=new Lc({objectMode:!0,writable:!1,read(){}})}throw new rJe(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)};function aJe(t){let{promise:e,resolve:r}=Gee(),n=new oJe,i=n.signal;return{value:t((async function*(){for(;;){let o=e;e=null;let{chunk:a,done:c,cb:l}=await o;if(oM.nextTick(l),c)return;if(i.aborted)throw new Wee(void 0,{cause:i.reason});({promise:e,resolve:r}=Gee()),yield a}})(),{signal:i}),write(o,a,c){let l=r;r=null,l({chunk:o,done:!1,cb:c})},final(o){let a=r;r=null,a({done:!0,cb:o})},destroy(o,a){n.abort(),a(o)}}}function Gf(t){let e=t.readable&&typeof t.readable.read!="function"?Jee.wrap(t.readable):t.readable,r=t.writable,n=!!XWe(e),i=!!ZWe(r),s,o,a,c,l;function A(u){let d=c;c=null,d?d(u):u&&l.destroy(u)}return l=new Lc({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(qee(r,u=>{i=!1,u&&jf(e,u),A(u)}),l._write=function(u,d,h){r.write(u,d)?h():s=h},l._final=function(u){r.end(),o=u},r.on("drain",function(){if(s){let u=s;s=null,u()}}),r.on("finish",function(){if(o){let u=o;o=null,u()}})),n&&(qee(e,u=>{n=!1,u&&jf(e,u),A(u)}),e.on("readable",function(){if(a){let u=a;a=null,u()}}),e.on("end",function(){l.push(null)}),l._read=function(){for(;;){let u=e.read();if(u===null){a=l._read;return}if(!l.push(u))return}}),l._destroy=function(u,d){!u&&c!==null&&(u=new Wee),a=null,s=null,o=null,c===null?d(u):(c=d,jf(r,u),jf(e,u))},l}});var ko=f((JAt,Zee)=>{"use strict";var{ObjectDefineProperties:cJe,ObjectGetOwnPropertyDescriptor:ba,ObjectKeys:lJe,ObjectSetPrototypeOf:Kee}=cr();Zee.exports=qs;var lM=rm(),Cs=qw();Kee(qs.prototype,lM.prototype);Kee(qs,lM);{let t=lJe(Cs.prototype);for(let e=0;e{"use strict";var{ObjectSetPrototypeOf:ete,Symbol:AJe}=cr();tte.exports=wa;var{ERR_METHOD_NOT_IMPLEMENTED:uJe}=Pn().codes,uM=ko(),{getHighWaterMark:dJe}=Zg();ete(wa.prototype,uM.prototype);ete(wa,uM);var om=AJe("kCallback");function wa(t){if(!(this instanceof wa))return new wa(t);let e=t?dJe(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),uM.call(this,t),this._readableState.sync=!1,this[om]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",fJe)}function AM(t){typeof this._flush=="function"&&!this.destroyed?this._flush((e,r)=>{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}function fJe(){this._final!==AM&&AM.call(this)}wa.prototype._final=AM;wa.prototype._transform=function(t,e,r){throw new uJe("_transform()")};wa.prototype._write=function(t,e,r){let n=this._readableState,i=this._writableState,s=n.length;this._transform(t,e,(o,a)=>{if(o){r(o);return}a!=null&&this.push(a),i.ended||s===n.length||n.length{"use strict";var{ObjectSetPrototypeOf:rte}=cr();nte.exports=zf;var fM=dM();rte(zf.prototype,fM.prototype);rte(zf,fM);function zf(t){if(!(this instanceof zf))return new zf(t);fM.call(this,t)}zf.prototype._transform=function(t,e,r){r(null,t)}});var zw=f((KAt,cte)=>{var am=Dc(),{ArrayIsArray:hJe,Promise:pJe,SymbolAsyncIterator:gJe,SymbolDispose:mJe}=cr(),jw=Ba(),{once:yJe}=ti(),EJe=AA(),ite=ko(),{aggregateTwoErrors:CJe,codes:{ERR_INVALID_ARG_TYPE:bM,ERR_INVALID_RETURN_VALUE:pM,ERR_MISSING_ARGS:IJe,ERR_STREAM_DESTROYED:BJe,ERR_STREAM_PREMATURE_CLOSE:bJe},AbortError:wJe}=Pn(),{validateFunction:QJe,validateAbortSignal:_Je}=Of(),{isIterable:hA,isReadable:gM,isReadableNodeStream:Gw,isNodeStream:ste,isTransformStream:Yf,isWebStream:SJe,isReadableStream:mM,isReadableFinished:NJe}=To(),RJe=globalThis.AbortController||Df().AbortController,yM,EM,CM;function ote(t,e,r){let n=!1;t.on("close",()=>{n=!0});let i=jw(t,{readable:e,writable:r},s=>{n=!s});return{destroy:s=>{n||(n=!0,EJe.destroyer(t,s||new BJe("pipe")))},cleanup:i}}function xJe(t){return QJe(t[t.length-1],"streams[stream.length - 1]"),t.pop()}function IM(t){if(hA(t))return t;if(Gw(t))return vJe(t);throw new bM("val",["Readable","Iterable","AsyncIterable"],t)}async function*vJe(t){EM||(EM=rm()),yield*EM.prototype[gJe].call(t)}async function Hw(t,e,r,{end:n}){let i,s=null,o=l=>{if(l&&(i=l),s){let A=s;s=null,A()}},a=()=>new pJe((l,A)=>{i?A(i):s=()=>{i?A(i):l()}});e.on("drain",o);let c=jw(e,{readable:!1},o);try{e.writableNeedDrain&&await a();for await(let l of t)e.write(l)||await a();n&&(e.end(),await a()),r()}catch(l){r(i!==l?CJe(i,l):l)}finally{c(),e.off("drain",o)}}async function BM(t,e,r,{end:n}){Yf(e)&&(e=e.writable);let i=e.getWriter();try{for await(let s of t)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(o){r(o)}}}function TJe(...t){return ate(t,yJe(xJe(t)))}function ate(t,e,r){if(t.length===1&&hJe(t[0])&&(t=t[0]),t.length<2)throw new IJe("streams");let n=new RJe,i=n.signal,s=r?.signal,o=[];_Je(s,"options.signal");function a(){g(new wJe)}CM=CM||ti().addAbortListener;let c;s&&(c=CM(s,a));let l,A,u=[],d=0;function h(P){g(P,--d===0)}function g(P,M){var ee;if(P&&(!l||l.code==="ERR_STREAM_PREMATURE_CLOSE")&&(l=P),!(!l&&!M)){for(;u.length;)u.shift()(l);(ee=c)===null||ee===void 0||ee[mJe](),n.abort(),M&&(l||o.forEach(se=>se()),am.nextTick(e,l,A))}}let E;for(let P=0;P0,U=ee||r?.end!==!1,te=P===t.length-1;if(ste(M)){let L=function($){$&&$.name!=="AbortError"&&$.code!=="ERR_STREAM_PREMATURE_CLOSE"&&h($)};var R=L;if(U){let{destroy:$,cleanup:K}=ote(M,ee,se);u.push($),gM(M)&&te&&o.push(K)}M.on("error",L),gM(M)&&te&&o.push(()=>{M.removeListener("error",L)})}if(P===0)if(typeof M=="function"){if(E=M({signal:i}),!hA(E))throw new pM("Iterable, AsyncIterable or Stream","source",E)}else hA(M)||Gw(M)||Yf(M)?E=M:E=ite.from(M);else if(typeof M=="function"){if(Yf(E)){var C;E=IM((C=E)===null||C===void 0?void 0:C.readable)}else E=IM(E);if(E=M(E,{signal:i}),ee){if(!hA(E,!0))throw new pM("AsyncIterable",`transform[${P-1}]`,E)}else{var I;yM||(yM=hM());let L=new yM({objectMode:!0}),$=(I=E)===null||I===void 0?void 0:I.then;if(typeof $=="function")d++,$.call(E,Ae=>{A=Ae,Ae!=null&&L.write(Ae),U&&L.end(),am.nextTick(h)},Ae=>{L.destroy(Ae),am.nextTick(h,Ae)});else if(hA(E,!0))d++,Hw(E,L,h,{end:U});else if(mM(E)||Yf(E)){let Ae=E.readable||E;d++,Hw(Ae,L,h,{end:U})}else throw new pM("AsyncIterable or Promise","destination",E);E=L;let{destroy:K,cleanup:X}=ote(E,!1,!0);u.push(K),te&&o.push(X)}}else if(ste(M)){if(Gw(E)){d+=2;let L=PJe(E,M,h,{end:U});gM(M)&&te&&o.push(L)}else if(Yf(E)||mM(E)){let L=E.readable||E;d++,Hw(L,M,h,{end:U})}else if(hA(E))d++,Hw(E,M,h,{end:U});else throw new bM("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],E);E=M}else if(SJe(M)){if(Gw(E))d++,BM(IM(E),M,h,{end:U});else if(mM(E)||hA(E))d++,BM(E,M,h,{end:U});else if(Yf(E))d++,BM(E.readable,M,h,{end:U});else throw new bM("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],E);E=M}else E=ite.from(M)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&am.nextTick(a),E}function PJe(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new bJe)}),t.pipe(e,{end:!1}),n){let o=function(){i=!0,e.end()};var s=o;NJe(t)?am.nextTick(o):t.once("end",o)}else r();return jw(t,{readable:!0,writable:!1},o=>{let a=t._readableState;o&&o.code==="ERR_STREAM_PREMATURE_CLOSE"&&a&&a.ended&&!a.errored&&!a.errorEmitted?t.once("end",r).once("error",r):r(o)}),jw(e,{readable:!1,writable:!0},r)}cte.exports={pipelineImpl:ate,pipeline:TJe}});var QM=f((XAt,hte)=>{"use strict";var{pipeline:DJe}=zw(),Yw=ko(),{destroyer:kJe}=AA(),{isNodeStream:Ww,isReadable:lte,isWritable:Ate,isWebStream:wM,isTransformStream:pA,isWritableStream:ute,isReadableStream:dte}=To(),{AbortError:OJe,codes:{ERR_INVALID_ARG_VALUE:fte,ERR_MISSING_ARGS:LJe}}=Pn(),MJe=Ba();hte.exports=function(...e){if(e.length===0)throw new LJe("streams");if(e.length===1)return Yw.from(e[0]);let r=[...e];if(typeof e[0]=="function"&&(e[0]=Yw.from(e[0])),typeof e[e.length-1]=="function"){let h=e.length-1;e[h]=Yw.from(e[h])}for(let h=0;h0&&!(Ate(e[h])||ute(e[h])||pA(e[h])))throw new fte(`streams[${h}]`,r[h],"must be writable")}let n,i,s,o,a;function c(h){let g=o;o=null,g?g(h):h?a.destroy(h):!d&&!u&&a.destroy()}let l=e[0],A=DJe(e,c),u=!!(Ate(l)||ute(l)||pA(l)),d=!!(lte(A)||dte(A)||pA(A));if(a=new Yw({writableObjectMode:!!(l!=null&&l.writableObjectMode),readableObjectMode:!!(A!=null&&A.readableObjectMode),writable:u,readable:d}),u){if(Ww(l))a._write=function(g,E,C){l.write(g,E)?C():n=C},a._final=function(g){l.end(),i=g},l.on("drain",function(){if(n){let g=n;n=null,g()}});else if(wM(l)){let E=(pA(l)?l.writable:l).getWriter();a._write=async function(C,I,R){try{await E.ready,E.write(C).catch(()=>{}),R()}catch(P){R(P)}},a._final=async function(C){try{await E.ready,E.close().catch(()=>{}),i=C}catch(I){C(I)}}}let h=pA(A)?A.readable:A;MJe(h,()=>{if(i){let g=i;i=null,g()}})}if(d){if(Ww(A))A.on("readable",function(){if(s){let h=s;s=null,h()}}),A.on("end",function(){a.push(null)}),a._read=function(){for(;;){let h=A.read();if(h===null){s=a._read;return}if(!a.push(h))return}};else if(wM(A)){let g=(pA(A)?A.readable:A).getReader();a._read=async function(){for(;;)try{let{value:E,done:C}=await g.read();if(!a.push(E))return;if(C){a.push(null);return}}catch{return}}}}return a._destroy=function(h,g){!h&&o!==null&&(h=new OJe),s=null,n=null,i=null,o===null?g(h):(o=g,Ww(A)&&kJe(A,h))},a}});var wte=f((ZAt,NM)=>{"use strict";var FJe=globalThis.AbortController||Df().AbortController,{codes:{ERR_INVALID_ARG_VALUE:UJe,ERR_INVALID_ARG_TYPE:cm,ERR_MISSING_ARGS:qJe,ERR_OUT_OF_RANGE:HJe},AbortError:Oo}=Pn(),{validateAbortSignal:gA,validateInteger:pte,validateObject:mA}=Of(),GJe=cr().Symbol("kWeak"),jJe=cr().Symbol("kResistStopPropagation"),{finished:zJe}=Ba(),YJe=QM(),{addAbortSignalNoValidate:WJe}=Xg(),{isWritable:JJe,isNodeStream:VJe}=To(),{deprecate:$Je}=ti(),{ArrayPrototypePush:KJe,Boolean:XJe,MathFloor:gte,Number:ZJe,NumberIsNaN:eVe,Promise:mte,PromiseReject:yte,PromiseResolve:tVe,PromisePrototypeThen:Ete,Symbol:Ite}=cr(),Jw=Ite("kEmpty"),Cte=Ite("kEof");function rVe(t,e){if(e!=null&&mA(e,"options"),e?.signal!=null&&gA(e.signal,"options.signal"),VJe(t)&&!JJe(t))throw new UJe("stream",t,"must be writable");let r=YJe(this,t);return e!=null&&e.signal&&WJe(e.signal,r),r}function Vw(t,e){if(typeof t!="function")throw new cm("fn",["Function","AsyncFunction"],t);e!=null&&mA(e,"options"),e?.signal!=null&&gA(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=gte(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=gte(e.highWaterMark)),pte(r,"options.concurrency",1),pte(n,"options.highWaterMark",0),n+=r,async function*(){let s=ti().AbortSignalAny([e?.signal].filter(XJe)),o=this,a=[],c={signal:s},l,A,u=!1,d=0;function h(){u=!0,g()}function g(){d-=1,E()}function E(){A&&!u&&d=n||d>=r)&&await new mte(R=>{A=R})}a.push(Cte)}catch(I){let R=yte(I);Ete(R,g,h),a.push(R)}finally{u=!0,l&&(l(),l=null)}}C();try{for(;;){for(;a.length>0;){let I=await a[0];if(I===Cte)return;if(s.aborted)throw new Oo;I!==Jw&&(yield I),a.shift(),E()}await new mte(I=>{l=I})}}finally{u=!0,A&&(A(),A=null)}}.call(this)}function nVe(t=void 0){return t!=null&&mA(t,"options"),t?.signal!=null&&gA(t.signal,"options.signal"),async function*(){let r=0;for await(let i of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Oo({cause:t.signal.reason});yield[r++,i]}}.call(this)}async function Bte(t,e=void 0){for await(let r of SM.call(this,t,e))return!0;return!1}async function iVe(t,e=void 0){if(typeof t!="function")throw new cm("fn",["Function","AsyncFunction"],t);return!await Bte.call(this,async(...r)=>!await t(...r),e)}async function sVe(t,e){for await(let r of SM.call(this,t,e))return r}async function oVe(t,e){if(typeof t!="function")throw new cm("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),Jw}for await(let n of Vw.call(this,r,e));}function SM(t,e){if(typeof t!="function")throw new cm("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:Jw}return Vw.call(this,r,e)}var _M=class extends qJe{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function aVe(t,e,r){var n;if(typeof t!="function")throw new cm("reducer",["Function","AsyncFunction"],t);r!=null&&mA(r,"options"),r?.signal!=null&&gA(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let l=new Oo(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await zJe(this.destroy(l)),l}let s=new FJe,o=s.signal;if(r!=null&&r.signal){let l={once:!0,[GJe]:this,[jJe]:!0};r.signal.addEventListener("abort",()=>s.abort(),l)}let a=!1;try{for await(let l of this){var c;if(a=!0,r!=null&&(c=r.signal)!==null&&c!==void 0&&c.aborted)throw new Oo;i?e=await t(e,l,{signal:o}):(e=l,i=!0)}if(!a&&!i)throw new _M}finally{s.abort()}return e}async function cVe(t){t!=null&&mA(t,"options"),t?.signal!=null&&gA(t.signal,"options.signal");let e=[];for await(let n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Oo(void 0,{cause:t.signal.reason});KJe(e,n)}return e}function lVe(t,e){let r=Vw.call(this,t,e);return async function*(){for await(let i of r)yield*i}.call(this)}function bte(t){if(t=ZJe(t),eVe(t))return 0;if(t<0)throw new HJe("number",">= 0",t);return t}function AVe(t,e=void 0){return e!=null&&mA(e,"options"),e?.signal!=null&&gA(e.signal,"options.signal"),t=bte(t),async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Oo;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Oo;t--<=0&&(yield s)}}.call(this)}function uVe(t,e=void 0){return e!=null&&mA(e,"options"),e?.signal!=null&&gA(e.signal,"options.signal"),t=bte(t),async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Oo;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Oo;if(t-- >0&&(yield s),t<=0)return}}.call(this)}NM.exports.streamReturningOperators={asIndexedPairs:$Je(nVe,"readable.asIndexedPairs will be removed in a future version."),drop:AVe,filter:SM,flatMap:lVe,map:Vw,take:uVe,compose:rVe};NM.exports.promiseReturningOperators={every:iVe,forEach:oVe,reduce:aVe,toArray:cVe,some:Bte,find:sVe}});var RM=f((eut,Qte)=>{"use strict";var{ArrayPrototypePop:dVe,Promise:fVe}=cr(),{isIterable:hVe,isNodeStream:pVe,isWebStream:gVe}=To(),{pipelineImpl:mVe}=zw(),{finished:yVe}=Ba();xM();function EVe(...t){return new fVe((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!pVe(s)&&!hVe(s)&&!gVe(s)){let o=dVe(t);n=o.signal,i=o.end}mVe(t,(o,a)=>{o?r(o):e(a)},{signal:n,end:i})})}Qte.exports={finished:yVe,pipeline:EVe}});var xM=f((tut,Dte)=>{"use strict";var{Buffer:CVe}=require("buffer"),{ObjectDefineProperty:Qa,ObjectKeys:Nte,ReflectApply:Rte}=cr(),{promisify:{custom:xte}}=ti(),{streamReturningOperators:_te,promiseReturningOperators:Ste}=wte(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:vte}}=Pn(),IVe=QM(),{setDefaultHighWaterMark:BVe,getDefaultHighWaterMark:bVe}=Zg(),{pipeline:Tte}=zw(),{destroyer:wVe}=AA(),Pte=Ba(),vM=RM(),lm=To(),Zt=Dte.exports=Nw().Stream;Zt.isDestroyed=lm.isDestroyed;Zt.isDisturbed=lm.isDisturbed;Zt.isErrored=lm.isErrored;Zt.isReadable=lm.isReadable;Zt.isWritable=lm.isWritable;Zt.Readable=rm();for(let t of Nte(_te)){let r=function(...n){if(new.target)throw vte();return Zt.Readable.from(Rte(e,this,n))},e=_te[t];Qa(r,"name",{__proto__:null,value:e.name}),Qa(r,"length",{__proto__:null,value:e.length}),Qa(Zt.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}for(let t of Nte(Ste)){let r=function(...n){if(new.target)throw vte();return Rte(e,this,n)},e=Ste[t];Qa(r,"name",{__proto__:null,value:e.name}),Qa(r,"length",{__proto__:null,value:e.length}),Qa(Zt.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}Zt.Writable=qw();Zt.Duplex=ko();Zt.Transform=dM();Zt.PassThrough=hM();Zt.pipeline=Tte;var{addAbortSignal:QVe}=Xg();Zt.addAbortSignal=QVe;Zt.finished=Pte;Zt.destroy=wVe;Zt.compose=IVe;Zt.setDefaultHighWaterMark=BVe;Zt.getDefaultHighWaterMark=bVe;Qa(Zt,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return vM}});Qa(Tte,xte,{__proto__:null,enumerable:!0,get(){return vM.pipeline}});Qa(Pte,xte,{__proto__:null,enumerable:!0,get(){return vM.finished}});Zt.Stream=Zt;Zt._isUint8Array=function(e){return e instanceof Uint8Array};Zt._uint8ArrayToBuffer=function(e){return CVe.from(e.buffer,e.byteOffset,e.byteLength)}});var yA=f((rut,et)=>{"use strict";var jr=require("stream");if(jr&&process.env.READABLE_STREAM==="disable"){let t=jr.promises;et.exports._uint8ArrayToBuffer=jr._uint8ArrayToBuffer,et.exports._isUint8Array=jr._isUint8Array,et.exports.isDisturbed=jr.isDisturbed,et.exports.isErrored=jr.isErrored,et.exports.isReadable=jr.isReadable,et.exports.Readable=jr.Readable,et.exports.Writable=jr.Writable,et.exports.Duplex=jr.Duplex,et.exports.Transform=jr.Transform,et.exports.PassThrough=jr.PassThrough,et.exports.addAbortSignal=jr.addAbortSignal,et.exports.finished=jr.finished,et.exports.destroy=jr.destroy,et.exports.pipeline=jr.pipeline,et.exports.compose=jr.compose,Object.defineProperty(jr,"promises",{configurable:!0,enumerable:!0,get(){return t}}),et.exports.Stream=jr.Stream}else{let t=xM(),e=RM(),r=t.Readable.destroy;et.exports=t.Readable,et.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,et.exports._isUint8Array=t._isUint8Array,et.exports.isDisturbed=t.isDisturbed,et.exports.isErrored=t.isErrored,et.exports.isReadable=t.isReadable,et.exports.Readable=t.Readable,et.exports.Writable=t.Writable,et.exports.Duplex=t.Duplex,et.exports.Transform=t.Transform,et.exports.PassThrough=t.PassThrough,et.exports.addAbortSignal=t.addAbortSignal,et.exports.finished=t.finished,et.exports.destroy=t.destroy,et.exports.destroy=r,et.exports.pipeline=t.pipeline,et.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),et.exports.Stream=t.Stream}et.exports.default=et.exports});var Ote=f((nut,kte)=>{function _Ve(t,e){for(var r=-1,n=e.length,i=t.length;++r{var Lte=fw(),SVe=fL(),NVe=hL(),Mte=Lte?Lte.isConcatSpreadable:void 0;function RVe(t){return NVe(t)||SVe(t)||!!(Mte&&t&&t[Mte])}Fte.exports=RVe});var $w=f((sut,Hte)=>{var xVe=Ote(),vVe=Ute();function qte(t,e,r,n,i){var s=-1,o=t.length;for(r||(r=vVe),i||(i=[]);++s0&&r(a)?e>1?qte(a,e-1,r,n,i):xVe(i,a):n||(i[i.length]=a)}return i}Hte.exports=qte});var jte=f((out,Gte)=>{var TVe=$w();function PVe(t){var e=t==null?0:t.length;return e?TVe(t,1):[]}Gte.exports=PVe});var Am=f((aut,zte)=>{var DVe=Gg(),kVe=DVe(Object,"create");zte.exports=kVe});var Jte=f((cut,Wte)=>{var Yte=Am();function OVe(){this.__data__=Yte?Yte(null):{},this.size=0}Wte.exports=OVe});var $te=f((lut,Vte)=>{function LVe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}Vte.exports=LVe});var Xte=f((Aut,Kte)=>{var MVe=Am(),FVe="__lodash_hash_undefined__",UVe=Object.prototype,qVe=UVe.hasOwnProperty;function HVe(t){var e=this.__data__;if(MVe){var r=e[t];return r===FVe?void 0:r}return qVe.call(e,t)?e[t]:void 0}Kte.exports=HVe});var ere=f((uut,Zte)=>{var GVe=Am(),jVe=Object.prototype,zVe=jVe.hasOwnProperty;function YVe(t){var e=this.__data__;return GVe?e[t]!==void 0:zVe.call(e,t)}Zte.exports=YVe});var rre=f((dut,tre)=>{var WVe=Am(),JVe="__lodash_hash_undefined__";function VVe(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=WVe&&e===void 0?JVe:e,this}tre.exports=VVe});var ire=f((fut,nre)=>{var $Ve=Jte(),KVe=$te(),XVe=Xte(),ZVe=ere(),e3e=rre();function Wf(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{function t3e(){this.__data__=[],this.size=0}sre.exports=t3e});var um=f((put,are)=>{var r3e=pw();function n3e(t,e){for(var r=t.length;r--;)if(r3e(t[r][0],e))return r;return-1}are.exports=n3e});var lre=f((gut,cre)=>{var i3e=um(),s3e=Array.prototype,o3e=s3e.splice;function a3e(t){var e=this.__data__,r=i3e(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():o3e.call(e,r,1),--this.size,!0}cre.exports=a3e});var ure=f((mut,Are)=>{var c3e=um();function l3e(t){var e=this.__data__,r=c3e(e,t);return r<0?void 0:e[r][1]}Are.exports=l3e});var fre=f((yut,dre)=>{var A3e=um();function u3e(t){return A3e(this.__data__,t)>-1}dre.exports=u3e});var pre=f((Eut,hre)=>{var d3e=um();function f3e(t,e){var r=this.__data__,n=d3e(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}hre.exports=f3e});var mre=f((Cut,gre)=>{var h3e=ore(),p3e=lre(),g3e=ure(),m3e=fre(),y3e=pre();function Jf(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var E3e=Gg(),C3e=Rf(),I3e=E3e(C3e,"Map");yre.exports=I3e});var Bre=f((But,Ire)=>{var Cre=ire(),B3e=mre(),b3e=Ere();function w3e(){this.size=0,this.__data__={hash:new Cre,map:new(b3e||B3e),string:new Cre}}Ire.exports=w3e});var wre=f((but,bre)=>{function Q3e(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}bre.exports=Q3e});var dm=f((wut,Qre)=>{var _3e=wre();function S3e(t,e){var r=t.__data__;return _3e(e)?r[typeof e=="string"?"string":"hash"]:r.map}Qre.exports=S3e});var Sre=f((Qut,_re)=>{var N3e=dm();function R3e(t){var e=N3e(this,t).delete(t);return this.size-=e?1:0,e}_re.exports=R3e});var Rre=f((_ut,Nre)=>{var x3e=dm();function v3e(t){return x3e(this,t).get(t)}Nre.exports=v3e});var vre=f((Sut,xre)=>{var T3e=dm();function P3e(t){return T3e(this,t).has(t)}xre.exports=P3e});var Pre=f((Nut,Tre)=>{var D3e=dm();function k3e(t,e){var r=D3e(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}Tre.exports=k3e});var kre=f((Rut,Dre)=>{var O3e=Bre(),L3e=Sre(),M3e=Rre(),F3e=vre(),U3e=Pre();function Vf(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var q3e="__lodash_hash_undefined__";function H3e(t){return this.__data__.set(t,q3e),this}Ore.exports=H3e});var Fre=f((vut,Mre)=>{function G3e(t){return this.__data__.has(t)}Mre.exports=G3e});var TM=f((Tut,Ure)=>{var j3e=kre(),z3e=Lre(),Y3e=Fre();function Kw(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new j3e;++e{function W3e(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s{function J3e(t){return t!==t}Gre.exports=J3e});var Yre=f((kut,zre)=>{function V3e(t,e,r){for(var n=r-1,i=t.length;++n{var $3e=Hre(),K3e=jre(),X3e=Yre();function Z3e(t,e,r){return e===e?X3e(t,e,r):$3e(t,K3e,r)}Wre.exports=Z3e});var PM=f((Lut,Vre)=>{var e4e=Jre();function t4e(t,e){var r=t==null?0:t.length;return!!r&&e4e(t,e,0)>-1}Vre.exports=t4e});var DM=f((Mut,$re)=>{function r4e(t,e,r){for(var n=-1,i=t==null?0:t.length;++n{function n4e(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{function i4e(t,e){return t.has(e)}Zre.exports=i4e});var tne=f((qut,ene)=>{var s4e=TM(),o4e=PM(),a4e=DM(),c4e=Xre(),l4e=pL(),A4e=kM(),u4e=200;function d4e(t,e,r,n){var i=-1,s=o4e,o=!0,a=t.length,c=[],l=e.length;if(!a)return c;r&&(e=c4e(e,l4e(r))),n?(s=a4e,o=!1):e.length>=u4e&&(s=A4e,o=!1,e=new s4e(e));e:for(;++i{var f4e=gw(),h4e=xf();function p4e(t){return h4e(t)&&f4e(t)}rne.exports=p4e});var sne=f((Gut,ine)=>{var g4e=tne(),m4e=$w(),y4e=hw(),nne=OM(),E4e=y4e(function(t,e){return nne(t)?g4e(t,m4e(e,1,nne,!0)):[]});ine.exports=E4e});var ane=f((jut,one)=>{var C4e=Gg(),I4e=Rf(),B4e=C4e(I4e,"Set");one.exports=B4e});var lne=f((zut,cne)=>{function b4e(){}cne.exports=b4e});var LM=f((Yut,Ane)=>{function w4e(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}Ane.exports=w4e});var dne=f((Wut,une)=>{var MM=ane(),Q4e=lne(),_4e=LM(),S4e=1/0,N4e=MM&&1/_4e(new MM([,-0]))[1]==S4e?function(t){return new MM(t)}:Q4e;une.exports=N4e});var hne=f((Jut,fne)=>{var R4e=TM(),x4e=PM(),v4e=DM(),T4e=kM(),P4e=dne(),D4e=LM(),k4e=200;function O4e(t,e,r){var n=-1,i=x4e,s=t.length,o=!0,a=[],c=a;if(r)o=!1,i=v4e;else if(s>=k4e){var l=e?null:P4e(t);if(l)return D4e(l);o=!1,i=T4e,c=new R4e}else c=e?[]:a;e:for(;++n{var L4e=$w(),M4e=hw(),F4e=hne(),U4e=OM(),q4e=M4e(function(t){return F4e(L4e(t,1,U4e,!0))});pne.exports=q4e});var yne=f(($ut,mne)=>{function H4e(t,e){return function(r){return t(e(r))}}mne.exports=H4e});var Cne=f((Kut,Ene)=>{var G4e=yne(),j4e=G4e(Object.getPrototypeOf,Object);Ene.exports=j4e});var bne=f((Xut,Bne)=>{var z4e=qg(),Y4e=Cne(),W4e=xf(),J4e="[object Object]",V4e=Function.prototype,$4e=Object.prototype,Ine=V4e.toString,K4e=$4e.hasOwnProperty,X4e=Ine.call(Object);function Z4e(t){if(!W4e(t)||z4e(t)!=J4e)return!1;var e=Y4e(t);if(e===null)return!0;var r=K4e.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Ine.call(r)==X4e}Bne.exports=Z4e});var wne=f(Xw=>{"use strict";Object.defineProperty(Xw,"__esModule",{value:!0});Xw.assertValidPattern=void 0;var e8e=1024*64,t8e=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>e8e)throw new TypeError("pattern is too long")};Xw.assertValidPattern=t8e});var _ne=f(Zw=>{"use strict";Object.defineProperty(Zw,"__esModule",{value:!0});Zw.parseClass=void 0;var r8e={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},fm=t=>t.replace(/[[\]\\-]/g,"\\$&"),n8e=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Qne=t=>t.join(""),i8e=(t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,o=!1,a=!1,c=!1,l=!1,A=r,u="";e:for(;su?n.push(fm(u)+"-"+fm(E)):E===u&&n.push(fm(E)),u="",s++;continue}if(t.startsWith("-]",s+1)){n.push(fm(E+"-")),s+=2;continue}if(t.startsWith("-",s+1)){u=E,s+=2;continue}n.push(fm(E)),s++}if(A{"use strict";Object.defineProperty(eQ,"__esModule",{value:!0});eQ.unescape=void 0;var s8e=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");eQ.unescape=s8e});var qM=f(iQ=>{"use strict";Object.defineProperty(iQ,"__esModule",{value:!0});iQ.AST=void 0;var o8e=_ne(),rQ=tQ(),a8e=new Set(["!","?","+","*","@"]),Sne=t=>a8e.has(t),c8e="(?!(?:^|/)\\.\\.?(?:$|/))",nQ="(?!\\.)",l8e=new Set(["[","."]),A8e=new Set(["..","."]),u8e=new Set("().*{}+?[]^$\\!"),d8e=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),UM="[^/]",Nne=UM+"*?",Rne=UM+"+?",FM=class t{type;#e;#r;#n=!1;#t=[];#o;#C;#l;#u=!1;#a;#c;#s=!1;constructor(e,r,n={}){this.type=e,e&&(this.#r=!0),this.#o=r,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?n:this.#e.#a,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#u&&this.#l.push(this),this.#C=this.#o?this.#o.#t.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(let e of this.#t)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#t.map(e=>String(e)).join("|")+")":this.#c=this.#t.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#u)return this;this.toString(),this.#u=!0;let e;for(;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#o;for(;n;){for(let i=r.#C+1;!n.type&&itypeof r=="string"?r:r.toJSON()):[this.type,...this.#t.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#u&&this.#o?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#o?.isStart())return!1;if(this.#C===0)return!0;let e=this.#o;for(let r=0;r{let[g,E,C,I]=typeof h=="string"?t.#d(h,this.#r,c):h.toRegExpSource(e);return this.#r=this.#r||C,this.#n=this.#n||I,g}).join(""),A="";if(this.isStart()&&typeof this.#t[0]=="string"&&!(this.#t.length===1&&A8e.has(this.#t[0]))){let g=l8e,E=r&&g.has(l.charAt(0))||l.startsWith("\\.")&&g.has(l.charAt(2))||l.startsWith("\\.\\.")&&g.has(l.charAt(4)),C=!r&&!e&&g.has(l.charAt(0));A=E?c8e:C?nQ:""}let u="";return this.isEnd()&&this.#e.#u&&this.#o?.type==="!"&&(u="(?:$|\\/)"),[A+l+u,(0,rQ.unescape)(l),this.#r=!!this.#r,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#f(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let c=this.toString();return this.#t=[c],this.type=null,this.#r=void 0,[c,(0,rQ.unescape)(this.toString()),!1,!1]}let o=!n||e||r||!nQ?"":this.#f(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";if(this.type==="!"&&this.#s)a=(this.isStart()&&!r?nQ:"")+Rne;else{let c=this.type==="!"?"))"+(this.isStart()&&!r&&!e?nQ:"")+Nne+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=i+s+c}return[a,(0,rQ.unescape)(s),this.#r=!!this.#r,this.#n]}#f(e){return this.#t.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,o]=r.toRegExpSource(e);return this.#n=this.#n||o,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#d(e,r,n=!1){let i=!1,s="",o=!1;for(let a=0;a{"use strict";Object.defineProperty(sQ,"__esModule",{value:!0});sQ.escape=void 0;var f8e=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&");sQ.escape=f8e});var Mc=f(ye=>{"use strict";var h8e=ye&&ye.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ye,"__esModule",{value:!0});ye.unescape=ye.escape=ye.AST=ye.Minimatch=ye.match=ye.makeRe=ye.braceExpand=ye.defaults=ye.filter=ye.GLOBSTAR=ye.sep=ye.minimatch=void 0;var p8e=h8e(wO()),oQ=wne(),Tne=qM(),g8e=HM(),m8e=tQ(),y8e=(t,e,r={})=>((0,oQ.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new EA(e,r).match(t));ye.minimatch=y8e;var E8e=/^\*+([^+@!?\*\[\(]*)$/,C8e=t=>e=>!e.startsWith(".")&&e.endsWith(t),I8e=t=>e=>e.endsWith(t),B8e=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),b8e=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),w8e=/^\*+\.\*+$/,Q8e=t=>!t.startsWith(".")&&t.includes("."),_8e=t=>t!=="."&&t!==".."&&t.includes("."),S8e=/^\.\*+$/,N8e=t=>t!=="."&&t!==".."&&t.startsWith("."),R8e=/^\*+$/,x8e=t=>t.length!==0&&!t.startsWith("."),v8e=t=>t.length!==0&&t!=="."&&t!=="..",T8e=/^\?+([^+@!?\*\[\(]*)?$/,P8e=([t,e=""])=>{let r=Pne([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},D8e=([t,e=""])=>{let r=Dne([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},k8e=([t,e=""])=>{let r=Dne([t]);return e?n=>r(n)&&n.endsWith(e):r},O8e=([t,e=""])=>{let r=Pne([t]);return e?n=>r(n)&&n.endsWith(e):r},Pne=([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},Dne=([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},kne=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",xne={win32:{sep:"\\"},posix:{sep:"/"}};ye.sep=kne==="win32"?xne.win32.sep:xne.posix.sep;ye.minimatch.sep=ye.sep;ye.GLOBSTAR=Symbol("globstar **");ye.minimatch.GLOBSTAR=ye.GLOBSTAR;var L8e="[^/]",M8e=L8e+"*?",F8e="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",U8e="(?:(?!(?:\\/|^)\\.).)*?",q8e=(t,e={})=>r=>(0,ye.minimatch)(r,t,e);ye.filter=q8e;ye.minimatch.filter=ye.filter;var Is=(t,e={})=>Object.assign({},t,e),H8e=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return ye.minimatch;let e=ye.minimatch;return Object.assign((n,i,s={})=>e(n,i,Is(t,s)),{Minimatch:class extends e.Minimatch{constructor(i,s={}){super(i,Is(t,s))}static defaults(i){return e.defaults(Is(t,i)).Minimatch}},AST:class extends e.AST{constructor(i,s,o={}){super(i,s,Is(t,o))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Is(t,s))}},unescape:(n,i={})=>e.unescape(n,Is(t,i)),escape:(n,i={})=>e.escape(n,Is(t,i)),filter:(n,i={})=>e.filter(n,Is(t,i)),defaults:n=>e.defaults(Is(t,n)),makeRe:(n,i={})=>e.makeRe(n,Is(t,i)),braceExpand:(n,i={})=>e.braceExpand(n,Is(t,i)),match:(n,i,s={})=>e.match(n,i,Is(t,s)),sep:e.sep,GLOBSTAR:ye.GLOBSTAR})};ye.defaults=H8e;ye.minimatch.defaults=ye.defaults;var G8e=(t,e={})=>((0,oQ.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,p8e.default)(t));ye.braceExpand=G8e;ye.minimatch.braceExpand=ye.braceExpand;var j8e=(t,e={})=>new EA(t,e).makeRe();ye.makeRe=j8e;ye.minimatch.makeRe=ye.makeRe;var z8e=(t,e,r={})=>{let n=new EA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};ye.match=z8e;ye.minimatch.match=ye.match;var vne=/[?*]|[+@!]\(.*?\)|\[|\]/,Y8e=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),EA=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,r={}){(0,oQ.assertValidPattern)(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||kne,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let c=s[0]===""&&s[1]===""&&(s[2]==="?"||!vne.test(s[2]))&&!vne.test(s[3]),l=/^[a-z]:/i.test(s[0]);if(c)return[...s.slice(0,4),...s.slice(4).map(A=>this.parse(A))];if(l)return[s[0],...s.slice(1).map(A=>this.parse(A))]}return s.map(c=>this.parse(c))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,o-i);let a=n[i+1],c=n[i+2],l=n[i+3];if(a!==".."||!c||c==="."||c===".."||!l||l==="."||l==="..")continue;r=!0,n.splice(i,1);let A=n.slice(0);A[i]="**",e.push(A),i--}if(!this.preserveMultipleSlashes){for(let o=1;or.length)}partsMatch(e,r,n=!1){let i=0,s=0,o=[],a="";for(;iP?r=r.slice(M):P>M&&(e=e.slice(P)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var o=0,a=0,c=e.length,l=r.length;o>> no match, partial?`,e,d,r,h),d===c))}let E;if(typeof A=="string"?(E=u===A,this.debug("string match",A,u,E)):(E=A.test(u),this.debug("pattern match",A,u,E)),!E)return!1}if(o===c&&a===l)return!0;if(o===c)return n;if(a===l)return o===c-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return(0,ye.braceExpand)(this.pattern,this.options)}parse(e){(0,oQ.assertValidPattern)(e);let r=this.options;if(e==="**")return ye.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(R8e))?i=r.dot?v8e:x8e:(n=e.match(E8e))?i=(r.nocase?r.dot?b8e:B8e:r.dot?I8e:C8e)(n[1]):(n=e.match(T8e))?i=(r.nocase?r.dot?D8e:P8e:r.dot?k8e:O8e)(n):(n=e.match(w8e))?i=r.dot?_8e:Q8e:(n=e.match(S8e))&&(i=N8e);let s=Tne.AST.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?M8e:r.dot?F8e:U8e,i=new Set(r.nocase?["i"]:[]),s=e.map(c=>{let l=c.map(A=>{if(A instanceof RegExp)for(let u of A.flags.split(""))i.add(u);return typeof A=="string"?Y8e(A):A===ye.GLOBSTAR?ye.GLOBSTAR:A._src});return l.forEach((A,u)=>{let d=l[u+1],h=l[u-1];A!==ye.GLOBSTAR||h===ye.GLOBSTAR||(h===void 0?d!==void 0&&d!==ye.GLOBSTAR?l[u+1]="(?:\\/|"+n+"\\/)?"+d:l[u]=n:d===void 0?l[u-1]=h+"(?:\\/|"+n+")?":d!==ye.GLOBSTAR&&(l[u-1]=h+"(?:\\/|\\/"+n+"\\/)"+d,l[u+1]=ye.GLOBSTAR))}),l.filter(A=>A!==ye.GLOBSTAR).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a{"use strict";Object.defineProperty(cQ,"__esModule",{value:!0});cQ.LRUCache=void 0;var $f=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Lne=new Set,GM=typeof process=="object"&&process?process:{},Mne=(t,e,r,n)=>{typeof GM.emitWarning=="function"?GM.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},aQ=globalThis.AbortController,One=globalThis.AbortSignal;if(typeof aQ>"u"){One=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},aQ=class{constructor(){e()}signal=new One;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let t=GM.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Mne("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var $8e=t=>!Lne.has(t),ldt=Symbol("type"),Fc=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Fne=t=>Fc(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Kf:null:null,Kf=class extends Array{constructor(e){super(e),this.fill(0)}},jM=class t{heap;length;static#e=!1;static create(e){let r=Fne(e);if(!r)return[];t.#e=!0;let n=new t(e,r);return t.#e=!1,n}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},zM=class t{#e;#r;#n;#t;#o;#C;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#u;#a;#c;#s;#g;#m;#f;#d;#b;#p;#w;#Q;#E;#I;#B;#h;static unsafeExposeInternals(e){return{starts:e.#Q,ttls:e.#E,sizes:e.#w,keyMap:e.#a,keyList:e.#c,valList:e.#s,next:e.#g,prev:e.#m,get head(){return e.#f},get tail(){return e.#d},free:e.#b,isBackgroundFetch:r=>e.#A(r),backgroundFetch:(r,n,i,s)=>e.#M(r,n,i,s),moveToTail:r=>e.#U(r),indexes:r=>e.#S(r),rindexes:r=>e.#N(r),isStale:r=>e.#y(r)}}get max(){return this.#e}get maxSize(){return this.#r}get calculatedSize(){return this.#u}get size(){return this.#l}get fetchMethod(){return this.#o}get memoMethod(){return this.#C}get dispose(){return this.#n}get disposeAfter(){return this.#t}constructor(e){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:l,disposeAfter:A,noDisposeOnSet:u,noUpdateTTL:d,maxSize:h=0,maxEntrySize:g=0,sizeCalculation:E,fetchMethod:C,memoMethod:I,noDeleteOnFetchRejection:R,noDeleteOnStaleGet:P,allowStaleOnFetchRejection:M,allowStaleOnFetchAbort:ee,ignoreFetchAbort:se}=e;if(r!==0&&!Fc(r))throw new TypeError("max option must be a nonnegative integer");let U=r?Fne(r):Array;if(!U)throw new Error("invalid max value: "+r);if(this.#e=r,this.#r=h,this.maxEntrySize=g||this.#r,this.sizeCalculation=E,this.sizeCalculation){if(!this.#r&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(I!==void 0&&typeof I!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#C=I,C!==void 0&&typeof C!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=C,this.#B=!!C,this.#a=new Map,this.#c=new Array(r).fill(void 0),this.#s=new Array(r).fill(void 0),this.#g=new U(r),this.#m=new U(r),this.#f=0,this.#d=0,this.#b=jM.create(r),this.#l=0,this.#u=0,typeof l=="function"&&(this.#n=l),typeof A=="function"?(this.#t=A,this.#p=[]):(this.#t=void 0,this.#p=void 0),this.#I=!!this.#n,this.#h=!!this.#t,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!R,this.allowStaleOnFetchRejection=!!M,this.allowStaleOnFetchAbort=!!ee,this.ignoreFetchAbort=!!se,this.maxEntrySize!==0){if(this.#r!==0&&!Fc(this.#r))throw new TypeError("maxSize must be a positive integer if specified");if(!Fc(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#x()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!P,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=Fc(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Fc(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#R()}if(this.#e===0&&this.ttl===0&&this.#r===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#r){let te="LRU_CACHE_UNBOUNDED";$8e(te)&&(Lne.add(te),Mne("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",te,t))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#R(){let e=new Kf(this.#e),r=new Kf(this.#e);this.#E=e,this.#Q=r,this.#T=(s,o,a=$f.now())=>{if(r[s]=o!==0?a:0,e[s]=o,o!==0&&this.ttlAutopurge){let c=setTimeout(()=>{this.#y(s)&&this.#v(this.#c[s],"expire")},o+1);c.unref&&c.unref()}},this.#_=s=>{r[s]=e[s]!==0?$f.now():0},this.#i=(s,o)=>{if(e[o]){let a=e[o],c=r[o];if(!a||!c)return;s.ttl=a,s.start=c,s.now=n||i();let l=s.now-c;s.remainingTTL=a-l}};let n=0,i=()=>{let s=$f.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#a.get(s);if(o===void 0)return 0;let a=e[o],c=r[o];if(!a||!c)return 1/0;let l=(n||i())-c;return a-l},this.#y=s=>{let o=r[s],a=e[s];return!!a&&!!o&&(n||i())-o>a}}#_=()=>{};#i=()=>{};#T=()=>{};#y=()=>!1;#x(){let e=new Kf(this.#e);this.#u=0,this.#w=e,this.#P=r=>{this.#u-=e[r],e[r]=0},this.#k=(r,n,i,s)=>{if(this.#A(n))return 0;if(!Fc(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!Fc(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#D=(r,n,i)=>{if(e[r]=n,this.#r){let s=this.#r-e[r];for(;this.#u>s;)this.#L(!0)}this.#u+=e[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#u)}}#P=e=>{};#D=(e,r,n)=>{};#k=(e,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#S({allowStale:e=this.allowStale}={}){if(this.#l)for(let r=this.#d;!(!this.#O(r)||((e||!this.#y(r))&&(yield r),r===this.#f));)r=this.#m[r]}*#N({allowStale:e=this.allowStale}={}){if(this.#l)for(let r=this.#f;!(!this.#O(r)||((e||!this.#y(r))&&(yield r),r===this.#d));)r=this.#g[r]}#O(e){return e!==void 0&&this.#a.get(this.#c[e])===e}*entries(){for(let e of this.#S())this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#A(this.#s[e])&&(yield[this.#c[e],this.#s[e]])}*rentries(){for(let e of this.#N())this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#A(this.#s[e])&&(yield[this.#c[e],this.#s[e]])}*keys(){for(let e of this.#S()){let r=this.#c[e];r!==void 0&&!this.#A(this.#s[e])&&(yield r)}}*rkeys(){for(let e of this.#N()){let r=this.#c[e];r!==void 0&&!this.#A(this.#s[e])&&(yield r)}}*values(){for(let e of this.#S())this.#s[e]!==void 0&&!this.#A(this.#s[e])&&(yield this.#s[e])}*rvalues(){for(let e of this.#N())this.#s[e]!==void 0&&!this.#A(this.#s[e])&&(yield this.#s[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let n of this.#S()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#c[n],this))return this.get(this.#c[n],r)}}forEach(e,r=this){for(let n of this.#S()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}rforEach(e,r=this){for(let n of this.#N()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}purgeStale(){let e=!1;for(let r of this.#N({allowStale:!0}))this.#y(r)&&(this.#v(this.#c[r],"expire"),e=!0);return e}info(e){let r=this.#a.get(e);if(r===void 0)return;let n=this.#s[r],i=this.#A(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#E&&this.#Q){let o=this.#E[r],a=this.#Q[r];if(o&&a){let c=o-($f.now()-a);s.ttl=c,s.start=Date.now()}}return this.#w&&(s.size=this.#w[r]),s}dump(){let e=[];for(let r of this.#S({allowStale:!0})){let n=this.#c[r],i=this.#s[r],s=this.#A(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#E&&this.#Q){o.ttl=this.#E[r];let a=$f.now()-this.#Q[r];o.start=Math.floor(Date.now()-a)}this.#w&&(o.size=this.#w[r]),e.unshift([n,o])}return e}load(e){this.clear();for(let[r,n]of e){if(n.start){let i=Date.now()-n.start;n.start=$f.now()-i}this.set(r,n.value,n)}}set(e,r,n={}){if(r===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:c}=n,{noUpdateTTL:l=this.noUpdateTTL}=n,A=this.#k(e,r,n.size||0,a);if(this.maxEntrySize&&A>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.#v(e,"set"),this;let u=this.#l===0?void 0:this.#a.get(e);if(u===void 0)u=this.#l===0?this.#d:this.#b.length!==0?this.#b.pop():this.#l===this.#e?this.#L(!1):this.#l,this.#c[u]=e,this.#s[u]=r,this.#a.set(e,u),this.#g[this.#d]=u,this.#m[u]=this.#d,this.#d=u,this.#l++,this.#D(u,A,c),c&&(c.set="add"),l=!1;else{this.#U(u);let d=this.#s[u];if(r!==d){if(this.#B&&this.#A(d)){d.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:h}=d;h!==void 0&&!o&&(this.#I&&this.#n?.(h,e,"set"),this.#h&&this.#p?.push([h,e,"set"]))}else o||(this.#I&&this.#n?.(d,e,"set"),this.#h&&this.#p?.push([d,e,"set"]));if(this.#P(u),this.#D(u,A,c),this.#s[u]=r,c){c.set="replace";let h=d&&this.#A(d)?d.__staleWhileFetching:d;h!==void 0&&(c.oldValue=h)}}else c&&(c.set="update")}if(i!==0&&!this.#E&&this.#R(),this.#E&&(l||this.#T(u,i,s),c&&this.#i(c,u)),!o&&this.#h&&this.#p){let d=this.#p,h;for(;h=d?.shift();)this.#t?.(...h)}return this}pop(){try{for(;this.#l;){let e=this.#s[this.#f];if(this.#L(!0),this.#A(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#t?.(...r)}}}#L(e){let r=this.#f,n=this.#c[r],i=this.#s[r];return this.#B&&this.#A(i)?i.__abortController.abort(new Error("evicted")):(this.#I||this.#h)&&(this.#I&&this.#n?.(i,n,"evict"),this.#h&&this.#p?.push([i,n,"evict"])),this.#P(r),e&&(this.#c[r]=void 0,this.#s[r]=void 0,this.#b.push(r)),this.#l===1?(this.#f=this.#d=0,this.#b.length=0):this.#f=this.#g[r],this.#a.delete(n),this.#l--,r}has(e,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(e);if(s!==void 0){let o=this.#s[s];if(this.#A(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#y(s))i&&(i.has="stale",this.#i(i,s));else return n&&this.#_(s),i&&(i.has="hit",this.#i(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(e);if(i===void 0||!n&&this.#y(i))return;let s=this.#s[i];return this.#A(s)?s.__staleWhileFetching:s}#M(e,r,n,i){let s=r===void 0?void 0:this.#s[r];if(this.#A(s))return s;let o=new aQ,{signal:a}=n;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let c={signal:o.signal,options:n,context:i},l=(E,C=!1)=>{let{aborted:I}=o.signal,R=n.ignoreFetchAbort&&E!==void 0;if(n.status&&(I&&!C?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,R&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),I&&!R&&!C)return u(o.signal.reason);let P=h;return this.#s[r]===h&&(E===void 0?P.__staleWhileFetching?this.#s[r]=P.__staleWhileFetching:this.#v(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,E,c.options))),E},A=E=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=E),u(E)),u=E=>{let{aborted:C}=o.signal,I=C&&n.allowStaleOnFetchAbort,R=I||n.allowStaleOnFetchRejection,P=R||n.noDeleteOnFetchRejection,M=h;if(this.#s[r]===h&&(!P||M.__staleWhileFetching===void 0?this.#v(e,"fetch"):I||(this.#s[r]=M.__staleWhileFetching)),R)return n.status&&M.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),M.__staleWhileFetching;if(M.__returned===M)throw E},d=(E,C)=>{let I=this.#o?.(e,s,c);I&&I instanceof Promise&&I.then(R=>E(R===void 0?void 0:R),C),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(E(void 0),n.allowStaleOnFetchAbort&&(E=R=>l(R,!0)))})};n.status&&(n.status.fetchDispatched=!0);let h=new Promise(d).then(l,A),g=Object.assign(h,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,g,{...c.options,status:void 0}),r=this.#a.get(e)):this.#s[r]=g,g}#A(e){if(!this.#B)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof aQ}async fetch(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:A=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:E,forceRefresh:C=!1,status:I,signal:R}=r;if(!this.#B)return I&&(I.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:I});let P={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:c,sizeCalculation:l,noUpdateTTL:A,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:g,ignoreFetchAbort:h,status:I,signal:R},M=this.#a.get(e);if(M===void 0){I&&(I.fetch="miss");let ee=this.#M(e,M,P,E);return ee.__returned=ee}else{let ee=this.#s[M];if(this.#A(ee)){let $=n&&ee.__staleWhileFetching!==void 0;return I&&(I.fetch="inflight",$&&(I.returnedStale=!0)),$?ee.__staleWhileFetching:ee.__returned=ee}let se=this.#y(M);if(!C&&!se)return I&&(I.fetch="hit"),this.#U(M),i&&this.#_(M),I&&this.#i(I,M),ee;let U=this.#M(e,M,P,E),L=U.__staleWhileFetching!==void 0&&n;return I&&(I.fetch=se?"stale":"refresh",L&&se&&(I.returnedStale=!0)),L?U.__staleWhileFetching:U.__returned=U}}async forceFetch(e,r={}){let n=await this.fetch(e,r);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(e,r={}){let n=this.#C;if(!n)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:s,...o}=r,a=this.get(e,o);if(!s&&a!==void 0)return a;let c=n(e,a,{options:o,context:i});return this.set(e,c,o),c}get(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=r,a=this.#a.get(e);if(a!==void 0){let c=this.#s[a],l=this.#A(c);return o&&this.#i(o,a),this.#y(a)?(o&&(o.get="stale"),l?(o&&n&&c.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?c.__staleWhileFetching:void 0):(s||this.#v(e,"expire"),o&&n&&(o.returnedStale=!0),n?c:void 0)):(o&&(o.get="hit"),l?c.__staleWhileFetching:(this.#U(a),i&&this.#_(a),c))}else o&&(o.get="miss")}#F(e,r){this.#m[r]=e,this.#g[e]=r}#U(e){e!==this.#d&&(e===this.#f?this.#f=this.#g[e]:this.#F(this.#m[e],this.#g[e]),this.#F(this.#d,e),this.#d=e)}delete(e){return this.#v(e,"delete")}#v(e,r){let n=!1;if(this.#l!==0){let i=this.#a.get(e);if(i!==void 0)if(n=!0,this.#l===1)this.#q(r);else{this.#P(i);let s=this.#s[i];if(this.#A(s)?s.__abortController.abort(new Error("deleted")):(this.#I||this.#h)&&(this.#I&&this.#n?.(s,e,r),this.#h&&this.#p?.push([s,e,r])),this.#a.delete(e),this.#c[i]=void 0,this.#s[i]=void 0,i===this.#d)this.#d=this.#m[i];else if(i===this.#f)this.#f=this.#g[i];else{let o=this.#m[i];this.#g[o]=this.#g[i];let a=this.#g[i];this.#m[a]=this.#m[i]}this.#l--,this.#b.push(i)}}if(this.#h&&this.#p?.length){let i=this.#p,s;for(;s=i?.shift();)this.#t?.(...s)}return n}clear(){return this.#q("delete")}#q(e){for(let r of this.#N({allowStale:!0})){let n=this.#s[r];if(this.#A(n))n.__abortController.abort(new Error("deleted"));else{let i=this.#c[r];this.#I&&this.#n?.(n,i,e),this.#h&&this.#p?.push([n,i,e])}}if(this.#a.clear(),this.#s.fill(void 0),this.#c.fill(void 0),this.#E&&this.#Q&&(this.#E.fill(0),this.#Q.fill(0)),this.#w&&this.#w.fill(0),this.#f=0,this.#d=0,this.#b.length=0,this.#u=0,this.#l=0,this.#h&&this.#p){let r=this.#p,n;for(;n=r?.shift();)this.#t?.(...n)}}};cQ.LRUCache=zM});var ZM=f(ni=>{"use strict";var K8e=ni&&ni.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ni,"__esModule",{value:!0});ni.Minipass=ni.isWritable=ni.isReadable=ni.isStream=void 0;var qne=typeof process=="object"&&process?process:{stdout:null,stderr:null},XM=require("node:events"),zne=K8e(require("node:stream")),X8e=require("node:string_decoder"),Z8e=t=>!!t&&typeof t=="object"&&(t instanceof pQ||t instanceof zne.default||(0,ni.isReadable)(t)||(0,ni.isWritable)(t));ni.isStream=Z8e;var e6e=t=>!!t&&typeof t=="object"&&t instanceof XM.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==zne.default.Writable.prototype.pipe;ni.isReadable=e6e;var t6e=t=>!!t&&typeof t=="object"&&t instanceof XM.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function";ni.isWritable=t6e;var _a=Symbol("EOF"),Sa=Symbol("maybeEmitEnd"),Uc=Symbol("emittedEnd"),lQ=Symbol("emittingEnd"),hm=Symbol("emittedError"),AQ=Symbol("closed"),Hne=Symbol("read"),uQ=Symbol("flush"),Gne=Symbol("flushChunk"),Hs=Symbol("encoding"),Xf=Symbol("decoder"),rn=Symbol("flowing"),pm=Symbol("paused"),Zf=Symbol("resume"),nn=Symbol("buffer"),ri=Symbol("pipes"),sn=Symbol("bufferLength"),YM=Symbol("bufferPush"),dQ=Symbol("bufferShift"),kn=Symbol("objectMode"),Sr=Symbol("destroyed"),WM=Symbol("error"),JM=Symbol("emitData"),jne=Symbol("emitEnd"),VM=Symbol("emitEnd2"),Lo=Symbol("async"),$M=Symbol("abort"),fQ=Symbol("aborted"),gm=Symbol("signal"),CA=Symbol("dataListeners"),zi=Symbol("discarded"),mm=t=>Promise.resolve().then(t),r6e=t=>t(),n6e=t=>t==="end"||t==="finish"||t==="prefinish",i6e=t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,s6e=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),hQ=class{src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[Zf](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},KM=class extends hQ{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}},o6e=t=>!!t.objectMode,a6e=t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer",pQ=class extends XM.EventEmitter{[rn]=!1;[pm]=!1;[ri]=[];[nn]=[];[kn];[Hs];[Lo];[Xf];[_a]=!1;[Uc]=!1;[lQ]=!1;[AQ]=!1;[hm]=null;[sn]=0;[Sr]=!1;[gm];[fQ]=!1;[CA]=0;[zi]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");o6e(r)?(this[kn]=!0,this[Hs]=null):a6e(r)?(this[Hs]=r.encoding,this[kn]=!1):(this[kn]=!1,this[Hs]=null),this[Lo]=!!r.async,this[Xf]=this[Hs]?new X8e.StringDecoder(this[Hs]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[nn]}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[ri]});let{signal:n}=r;n&&(this[gm]=n,n.aborted?this[$M]():n.addEventListener("abort",()=>this[$M]()))}get bufferLength(){return this[sn]}get encoding(){return this[Hs]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[kn]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Lo]}set async(e){this[Lo]=this[Lo]||!!e}[$M](){this[fQ]=!0,this.emit("abort",this[gm]?.reason),this.destroy(this[gm]?.reason)}get aborted(){return this[fQ]}set aborted(e){}write(e,r,n){if(this[fQ])return!1;if(this[_a])throw new Error("write after end");if(this[Sr])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Lo]?mm:r6e;if(!this[kn]&&!Buffer.isBuffer(e)){if(s6e(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(i6e(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[kn]?(this[rn]&&this[sn]!==0&&this[uQ](!0),this[rn]?this.emit("data",e):this[YM](e),this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn]):e.length?(typeof e=="string"&&!(r===this[Hs]&&!this[Xf]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Hs]&&(e=this[Xf].write(e)),this[rn]&&this[sn]!==0&&this[uQ](!0),this[rn]?this.emit("data",e):this[YM](e),this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn]):(this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn])}read(e){if(this[Sr])return null;if(this[zi]=!1,this[sn]===0||e===0||e&&e>this[sn])return this[Sa](),null;this[kn]&&(e=null),this[nn].length>1&&!this[kn]&&(this[nn]=[this[Hs]?this[nn].join(""):Buffer.concat(this[nn],this[sn])]);let r=this[Hne](e||null,this[nn][0]);return this[Sa](),r}[Hne](e,r){if(this[kn])this[dQ]();else{let n=r;e===n.length||e===null?this[dQ]():typeof n=="string"?(this[nn][0]=n.slice(e),r=n.slice(0,e),this[sn]-=e):(this[nn][0]=n.subarray(e),r=n.subarray(0,e),this[sn]-=e)}return this.emit("data",r),!this[nn].length&&!this[_a]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[_a]=!0,this.writable=!1,(this[rn]||!this[pm])&&this[Sa](),this}[Zf](){this[Sr]||(!this[CA]&&!this[ri].length&&(this[zi]=!0),this[pm]=!1,this[rn]=!0,this.emit("resume"),this[nn].length?this[uQ]():this[_a]?this[Sa]():this.emit("drain"))}resume(){return this[Zf]()}pause(){this[rn]=!1,this[pm]=!0,this[zi]=!1}get destroyed(){return this[Sr]}get flowing(){return this[rn]}get paused(){return this[pm]}[YM](e){this[kn]?this[sn]+=1:this[sn]+=e.length,this[nn].push(e)}[dQ](){return this[kn]?this[sn]-=1:this[sn]-=this[nn][0].length,this[nn].shift()}[uQ](e=!1){do;while(this[Gne](this[dQ]())&&this[nn].length);!e&&!this[nn].length&&!this[_a]&&this.emit("drain")}[Gne](e){return this.emit("data",e),this[rn]}pipe(e,r){if(this[Sr])return e;this[zi]=!1;let n=this[Uc];return r=r||{},e===qne.stdout||e===qne.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[ri].push(r.proxyErrors?new KM(this,e,r):new hQ(this,e,r)),this[Lo]?mm(()=>this[Zf]()):this[Zf]()),e}unpipe(e){let r=this[ri].find(n=>n.dest===e);r&&(this[ri].length===1?(this[rn]&&this[CA]===0&&(this[rn]=!1),this[ri]=[]):this[ri].splice(this[ri].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[zi]=!1,this[CA]++,!this[ri].length&&!this[rn]&&this[Zf]();else if(e==="readable"&&this[sn]!==0)super.emit("readable");else if(n6e(e)&&this[Uc])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[hm]){let i=r;this[Lo]?mm(()=>i.call(this,this[hm])):i.call(this,this[hm])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[CA]=this.listeners("data").length,this[CA]===0&&!this[zi]&&!this[ri].length&&(this[rn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[CA]=0,!this[zi]&&!this[ri].length&&(this[rn]=!1)),r}get emittedEnd(){return this[Uc]}[Sa](){!this[lQ]&&!this[Uc]&&!this[Sr]&&this[nn].length===0&&this[_a]&&(this[lQ]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[AQ]&&this.emit("close"),this[lQ]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==Sr&&this[Sr])return!1;if(e==="data")return!this[kn]&&!n?!1:this[Lo]?(mm(()=>this[JM](n)),!0):this[JM](n);if(e==="end")return this[jne]();if(e==="close"){if(this[AQ]=!0,!this[Uc]&&!this[Sr])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[hm]=n,super.emit(WM,n);let s=!this[gm]||this.listeners("error").length?super.emit("error",n):!1;return this[Sa](),s}else if(e==="resume"){let s=super.emit("resume");return this[Sa](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[Sa](),i}[JM](e){for(let n of this[ri])n.dest.write(e)===!1&&this.pause();let r=this[zi]?!1:super.emit("data",e);return this[Sa](),r}[jne](){return this[Uc]?!1:(this[Uc]=!0,this.readable=!1,this[Lo]?(mm(()=>this[VM]()),!0):this[VM]())}[VM](){if(this[Xf]){let r=this[Xf].end();if(r){for(let n of this[ri])n.dest.write(r);this[zi]||super.emit("data",r)}}for(let r of this[ri])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[kn]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[kn]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[kn])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Hs]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(Sr,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[zi]=!1;let e=!1,r=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[_a])return r();let s,o,a=u=>{this.off("data",c),this.off("end",l),this.off(Sr,A),r(),o(u)},c=u=>{this.off("error",a),this.off("end",l),this.off(Sr,A),this.pause(),s({value:u,done:!!this[_a]})},l=()=>{this.off("error",a),this.off("data",c),this.off(Sr,A),r(),s({done:!0,value:void 0})},A=()=>a(new Error("stream destroyed"));return new Promise((u,d)=>{o=d,s=u,this.once(Sr,A),this.once("error",a),this.once("end",l),this.once("data",c)})},throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[zi]=!1;let e=!1,r=()=>(this.pause(),this.off(WM,r),this.off(Sr,r),this.off("end",r),e=!0,{done:!0,value:void 0}),n=()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}};return this.once("end",r),this.once(WM,r),this.once(Sr,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[Sr])return e?this.emit("error",e):this.emit(Sr),this;this[Sr]=!0,this[zi]=!0,this[nn].length=0,this[sn]=0;let r=this;return typeof r.close=="function"&&!this[AQ]&&r.close(),e?this.emit("error",e):this.emit(Sr),this}static get isStream(){return ni.isStream}};ni.Minipass=pQ});var oie=f(Qt=>{"use strict";var c6e=Qt&&Qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),l6e=Qt&&Qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),A6e=Qt&&Qt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&c6e(e,t,r);return l6e(e,t),e};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.PathScurry=Qt.Path=Qt.PathScurryDarwin=Qt.PathScurryPosix=Qt.PathScurryWin32=Qt.PathScurryBase=Qt.PathPosix=Qt.PathWin32=Qt.PathBase=Qt.ChildrenCache=Qt.ResolveCache=void 0;var Kne=Une(),CQ=require("node:path"),u6e=require("node:url"),Em=require("fs"),d6e=A6e(require("node:fs")),f6e=Em.realpathSync.native,gQ=require("node:fs/promises"),Yne=ZM(),Cm={lstatSync:Em.lstatSync,readdir:Em.readdir,readdirSync:Em.readdirSync,readlinkSync:Em.readlinkSync,realpathSync:f6e,promises:{lstat:gQ.lstat,readdir:gQ.readdir,readlink:gQ.readlink,realpath:gQ.realpath}},Xne=t=>!t||t===Cm||t===d6e?Cm:{...Cm,...t,promises:{...Cm.promises,...t.promises||{}}},Zne=/^\\\\\?\\([a-z]:)\\?$/i,h6e=t=>t.replace(/\//g,"\\").replace(Zne,"$1\\"),p6e=/[\\\/]/,bs=0,eie=1,tie=2,Mo=4,rie=6,nie=8,IA=10,iie=12,Bs=15,ym=~Bs,eF=16,Wne=32,Im=64,Gs=128,mQ=256,EQ=512,Jne=Im|Gs|EQ,g6e=1023,tF=t=>t.isFile()?nie:t.isDirectory()?Mo:t.isSymbolicLink()?IA:t.isCharacterDevice()?tie:t.isBlockDevice()?rie:t.isSocket()?iie:t.isFIFO()?eie:bs,Vne=new Map,Bm=t=>{let e=Vne.get(t);if(e)return e;let r=t.normalize("NFKD");return Vne.set(t,r),r},$ne=new Map,yQ=t=>{let e=$ne.get(t);if(e)return e;let r=Bm(t.toLowerCase());return $ne.set(t,r),r},bm=class extends Kne.LRUCache{constructor(){super({max:256})}};Qt.ResolveCache=bm;var IQ=class extends Kne.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:r=>r.length+1})}};Qt.ChildrenCache=IQ;var sie=Symbol("PathScurry setAsCwd"),gn=class{name;root;roots;parent;nocase;isCWD=!1;#e;#r;get dev(){return this.#r}#n;get mode(){return this.#n}#t;get nlink(){return this.#t}#o;get uid(){return this.#o}#C;get gid(){return this.#C}#l;get rdev(){return this.#l}#u;get blksize(){return this.#u}#a;get ino(){return this.#a}#c;get size(){return this.#c}#s;get blocks(){return this.#s}#g;get atimeMs(){return this.#g}#m;get mtimeMs(){return this.#m}#f;get ctimeMs(){return this.#f}#d;get birthtimeMs(){return this.#d}#b;get atime(){return this.#b}#p;get mtime(){return this.#p}#w;get ctime(){return this.#w}#Q;get birthtime(){return this.#Q}#E;#I;#B;#h;#R;#_;#i;#T;#y;#x;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=bs,n,i,s,o,a){this.name=e,this.#E=s?yQ(e):Bm(e),this.#i=r&g6e,this.nocase=s,this.roots=i,this.root=n||this,this.#T=o,this.#B=a.fullpath,this.#R=a.relative,this.#_=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=Xne(a.fs)}depth(){return this.#I!==void 0?this.#I:this.parent?this.#I=this.parent.depth()+1:this.#I=0}childrenCache(){return this.#T}resolve(e){if(!e)return this;let r=this.getRootString(e),i=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#P(i):this.#P(i)}#P(e){let r=this;for(let n of e)r=r.child(n);return r}children(){let e=this.#T.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#T.set(this,r),this.#i&=~eF,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?yQ(e):Bm(e);for(let c of n)if(c.#E===i)return c;let s=this.parent?this.sep:"",o=this.#B?this.#B+s+e:void 0,a=this.newChild(e,bs,{...r,parent:this,fullpath:o});return this.canReaddir()||(a.#i|=Gs),n.push(a),a}relative(){if(this.isCWD)return"";if(this.#R!==void 0)return this.#R;let e=this.name,r=this.parent;if(!r)return this.#R=this.name;let n=r.relative();return n+(!n||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#_!==void 0)return this.#_;let e=this.name,r=this.parent;if(!r)return this.#_=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+e}fullpath(){if(this.#B!==void 0)return this.#B;let e=this.name,r=this.parent;if(!r)return this.#B=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+e;return this.#B=i}fullpathPosix(){if(this.#h!==void 0)return this.#h;if(this.sep==="/")return this.#h=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#h=`//?/${i}`:this.#h=i}let e=this.parent,r=e.fullpathPosix(),n=r+(!r||!e.parent?"":"/")+this.name;return this.#h=n}isUnknown(){return(this.#i&Bs)===bs}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#i&Bs)===nie}isDirectory(){return(this.#i&Bs)===Mo}isCharacterDevice(){return(this.#i&Bs)===tie}isBlockDevice(){return(this.#i&Bs)===rie}isFIFO(){return(this.#i&Bs)===eie}isSocket(){return(this.#i&Bs)===iie}isSymbolicLink(){return(this.#i&IA)===IA}lstatCached(){return this.#i&Wne?this:void 0}readlinkCached(){return this.#y}realpathCached(){return this.#x}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#y)return!0;if(!this.parent)return!1;let e=this.#i&Bs;return!(e!==bs&&e!==IA||this.#i&mQ||this.#i&Gs)}calledReaddir(){return!!(this.#i&eF)}isENOENT(){return!!(this.#i&Gs)}isNamed(e){return this.nocase?this.#E===yQ(e):this.#E===Bm(e)}async readlink(){let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#y=n}catch(r){this.#A(r.code);return}}readlinkSync(){let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#y=n}catch(r){this.#A(r.code);return}}#D(e){this.#i|=eF;for(let r=e.provisional;rn(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#G.push(e),this.#j)return;this.#j=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,o)=>{if(s)this.#L(s.code),n.provisional=0;else{for(let a of o)this.#F(a,n);this.#D(n)}this.#Y(n.slice(0,n.provisional))})}#H;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#H)await this.#H;else{let n=()=>{};this.#H=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#F(i,e);this.#D(e)}catch(i){this.#L(i.code),e.provisional=0}this.#H=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#F(n,e);this.#D(e)}catch(n){this.#L(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#i&Jne)return!1;let e=Bs&this.#i;return e===bs||e===Mo||e===IA}shouldWalk(e,r){return(this.#i&Mo)===Mo&&!(this.#i&Jne)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#x)return this.#x;if(!((EQ|mQ|Gs)&this.#i))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#x=this.resolve(e)}catch{this.#N()}}realpathSync(){if(this.#x)return this.#x;if(!((EQ|mQ|Gs)&this.#i))try{let e=this.#e.realpathSync(this.fullpath());return this.#x=this.resolve(e)}catch{this.#N()}}[sie](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#R=n.join(this.sep),i.#_=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!r.has(i);)i.#R=void 0,i.#_=void 0,i=i.parent}};Qt.PathBase=gn;var wm=class t extends gn{sep="\\";splitSep=p6e;constructor(e,r=bs,n,i,s,o,a){super(e,r,n,i,s,o,a)}newChild(e,r=bs,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return CQ.win32.parse(e).root}getRoot(e){if(e=h6e(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=n;return this.roots[e]=new Sm(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(Zne,"$1\\"),e===r}};Qt.PathWin32=wm;var Qm=class t extends gn{splitSep="/";sep="/";constructor(e,r=bs,n,i,s,o,a){super(e,r,n,i,s,o,a)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=bs,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};Qt.PathPosix=Qm;var _m=class{root;rootPath;roots;cwd;#e;#r;#n;nocase;#t;constructor(e=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:o=Cm}={}){this.#t=Xne(o),(e instanceof URL||e.startsWith("file://"))&&(e=(0,u6e.fileURLToPath)(e));let a=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new bm,this.#r=new bm,this.#n=new IQ(s);let c=a.substring(this.rootPath.length).split(n);if(c.length===1&&!c[0]&&c.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#t),this.roots[this.rootPath]=this.root;let l=this.root,A=c.length-1,u=r.sep,d=this.rootPath,h=!1;for(let g of c){let E=A--;l=l.child(g,{relative:new Array(E).fill("..").join(u),relativePosix:new Array(E).fill("..").join("/"),fullpath:d+=(h?"":u)+g}),h=!0}this.cwd=l}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...e){let r="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#r.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#r.set(r,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n}=r;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0}=r;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=await e.readlink();return r?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return r?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=await e.realpath();return r?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return r?n:n?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let c=new Set,l=(u,d)=>{c.add(u),u.readdirCB((h,g)=>{if(h)return d(h);let E=g.length;if(!E)return d();let C=()=>{--E===0&&d()};for(let I of g)(!s||s(I))&&a.push(n?I:I.fullpath()),i&&I.isSymbolicLink()?I.realpath().then(R=>R?.isUnknown()?R.lstat():R).then(R=>R?.shouldWalk(c,o)?l(R,C):C()):I.shouldWalk(c,o)?l(I,C):C()},!0)},A=e;return new Promise((u,d)=>{l(A,h=>{if(h)return d(h);u(a)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let c=new Set([e]);for(let l of c){let A=l.readdirSync();for(let u of A){(!s||s(u))&&a.push(n?u:u.fullpath());let d=u;if(u.isSymbolicLink()){if(!(i&&(d=u.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(c,o)&&c.add(d)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r;(!s||s(e))&&(yield n?e:e.fullpath());let a=new Set([e]);for(let c of a){let l=c.readdirSync();for(let A of l){(!s||s(A))&&(yield n?A:A.fullpath());let u=A;if(A.isSymbolicLink()){if(!(i&&(u=A.realpathSync())))continue;u.isUnknown()&&u.lstatSync()}u.shouldWalk(a,o)&&a.add(u)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new Yne.Minipass({objectMode:!0});(!s||s(e))&&a.write(n?e:e.fullpath());let c=new Set,l=[e],A=0,u=()=>{let d=!1;for(;!d;){let h=l.shift();if(!h){A===0&&a.end();return}A++,c.add(h);let g=(C,I,R=!1)=>{if(C)return a.emit("error",C);if(i&&!R){let P=[];for(let M of I)M.isSymbolicLink()&&P.push(M.realpath().then(ee=>ee?.isUnknown()?ee.lstat():ee));if(P.length){Promise.all(P).then(()=>g(null,I,!0));return}}for(let P of I)P&&(!s||s(P))&&(a.write(n?P:P.fullpath())||(d=!0));A--;for(let P of I){let M=P.realpathCached()||P;M.shouldWalk(c,o)&&l.push(M)}d&&!a.flowing?a.once("drain",u):E||u()},E=!0;h.readdirCB(g,!0),E=!1}};return u(),a}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new Yne.Minipass({objectMode:!0}),c=new Set;(!s||s(e))&&a.write(n?e:e.fullpath());let l=[e],A=0,u=()=>{let d=!1;for(;!d;){let h=l.shift();if(!h){A===0&&a.end();return}A++,c.add(h);let g=h.readdirSync();for(let E of g)(!s||s(E))&&(a.write(n?E:E.fullpath())||(d=!0));A--;for(let E of g){let C=E;if(E.isSymbolicLink()){if(!(i&&(C=E.realpathSync())))continue;C.isUnknown()&&C.lstatSync()}C.shouldWalk(c,o)&&l.push(C)}}d&&!a.flowing&&a.once("drain",u)};return u(),a}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[sie](r)}};Qt.PathScurryBase=_m;var Sm=class extends _m{sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,CQ.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return CQ.win32.parse(e).root.toUpperCase()}newRoot(e){return new wm(this.rootPath,Mo,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Qt.PathScurryWin32=Sm;var Nm=class extends _m{sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,CQ.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new Qm(this.rootPath,Mo,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Qt.PathScurryPosix=Nm;var BQ=class extends Nm{constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};Qt.PathScurryDarwin=BQ;Qt.Path=process.platform==="win32"?wm:Qm;Qt.PathScurry=process.platform==="win32"?Sm:process.platform==="darwin"?BQ:Nm});var nF=f(bQ=>{"use strict";Object.defineProperty(bQ,"__esModule",{value:!0});bQ.Pattern=void 0;var m6e=Mc(),y6e=t=>t.length>=1,E6e=t=>t.length>=1,rF=class t{#e;#r;#n;length;#t;#o;#C;#l;#u;#a;#c=!0;constructor(e,r,n,i){if(!y6e(e))throw new TypeError("empty pattern list");if(!E6e(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#r=r,this.#n=n,this.#t=i,this.#n===0){if(this.isUNC()){let[s,o,a,c,...l]=this.#e,[A,u,d,h,...g]=this.#r;l[0]===""&&(l.shift(),g.shift());let E=[s,o,a,c,""].join("/"),C=[A,u,d,h,""].join("/");this.#e=[E,...l],this.#r=[C,...g],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...c]=this.#r;o[0]===""&&(o.shift(),c.shift());let l=s+"/",A=a+"/";this.#e=[l,...o],this.#r=[A,...c],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===m6e.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#C=this.#C||(this.#n===0?this.isAbsolute()?this.#r[0]+this.#r.slice(1).join("/"):this.#r.join("/"):this.#r.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new t(this.#e,this.#r,this.#n+1,this.#t),this.#o.#a=this.#a,this.#o.#u=this.#u,this.#o.#l=this.#l,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#u!==void 0?this.#u:this.#u=this.#t==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#t==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#c)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#c?!1:(this.#c=!1,!0)}};bQ.Pattern=rF});var sF=f(wQ=>{"use strict";Object.defineProperty(wQ,"__esModule",{value:!0});wQ.Ignore=void 0;var aie=Mc(),C6e=nF(),I6e=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",iF=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:o=I6e}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let a of e)this.add(a)}add(e){let r=new aie.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.Processor=Fo.SubWalks=Fo.MatchRecord=Fo.HasWalkedCache=void 0;var cie=Mc(),QQ=class t{store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let n=e.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};Fo.HasWalkedCache=QQ;var _Q=class{store=new Map;add(e,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};Fo.MatchRecord=_Q;var SQ=class{store=new Map;add(e,r){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};Fo.SubWalks=SQ;var oF=class t{hasWalkedCache;matches=new _Q;subwalks=new SQ;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new QQ}processPatterns(e,r){this.patterns=r;let n=r.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let u=s.rest();if(u)s=u;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let c,l,A=!1;for(;typeof(c=s.pattern())=="string"&&(l=s.rest());)i=i.resolve(c),s=l,A=!0;if(c=s.pattern(),l=s.rest(),A){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof c=="string"){let u=c===".."||c===""||c===".";this.matches.add(i.resolve(c),a,u);continue}else if(c===cie.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let u=l?.pattern(),d=l?.rest();if(!l||(u===""||u===".")&&!d)this.matches.add(i,a,u===""||u===".");else if(u===".."){let h=i.parent||i;d?this.hasWalkedCache.hasWalked(h,d)||this.subwalks.add(h,d):this.matches.add(h,a,!0)}}else c instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let n=this.subwalks.get(e),i=this.child();for(let s of r)for(let o of n){let a=o.isAbsolute(),c=o.pattern(),l=o.rest();c===cie.GLOBSTAR?i.testGlobstar(s,o,l,a):c instanceof RegExp?i.testRegExp(s,c,l,a):i.testString(s,c,l,a)}return i}testGlobstar(e,r,n,i){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(e,n):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let o=e.parent||e;this.subwalks.add(o,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,r,n,i){r.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,r,n,i){e.isNamed(r)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};Fo.Processor=oF});var die=f(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.GlobStream=qc.GlobWalker=qc.GlobUtil=void 0;var B6e=ZM(),Aie=sF(),uie=lie(),b6e=(t,e)=>typeof t=="string"?new Aie.Ignore([t],e):Array.isArray(t)?new Aie.Ignore(t,e):t,Rm=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#r;#n;signal;maxDepth;includeChildMatches;constructor(e,r,n){if(this.patterns=e,this.path=r,this.opts=n,this.#n=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#r=b6e(n.ignore??[],n),!this.includeChildMatches&&typeof this.#r.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#t(e){return this.seen.has(e)||!!this.#r?.ignored?.(e)}#o(e){return!!this.#r?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#t(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=s.realpathSync();o&&(o?.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(e,r){if(this.#t(e))return;if(!this.includeChildMatches&&this.#r?.add){let s=`${e.relativePosix()}/**`;this.#r.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?e.relativePosix():e.relative(),o=this.opts.dotRelative&&!s.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(s?o+s+i:"."+i)}}async match(e,r,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,r)}matchSync(e,r,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,r)}walkCB(e,r,n){this.signal?.aborted&&n(),this.walkCB2(e,r,new uie.Processor(this.opts),n)}walkCB2(e,r,n,i){if(this.#o(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,r,n,i));return}n.processPatterns(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||(s++,this.match(a,c,l).then(()=>o()));for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirCached();a.calledReaddir()?this.walkCB3(a,c,n,o):a.readdirCB((l,A)=>this.walkCB3(a,A,n,o),!0)}o()}walkCB3(e,r,n,i){n=n.filterEntries(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||(s++,this.match(a,c,l).then(()=>o()));for(let[a,c]of n.subwalks.entries())s++,this.walkCB2(a,c,n.child(),o);o()}walkCBSync(e,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,r,new uie.Processor(this.opts),n)}walkCB2Sync(e,r,n,i){if(this.#o(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,n,i));return}n.processPatterns(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||this.matchSync(a,c,l);for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirSync();this.walkCB3Sync(a,c,n,o)}o()}walkCB3Sync(e,r,n,i){n=n.filterEntries(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||this.matchSync(a,c,l);for(let[a,c]of n.subwalks.entries())s++,this.walkCB2Sync(a,c,n.child(),o);o()}};qc.GlobUtil=Rm;var aF=class extends Rm{matches=new Set;constructor(e,r,n){super(e,r,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};qc.GlobWalker=aF;var cF=class extends Rm{results;constructor(e,r,n){super(e,r,n),this.results=new B6e.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};qc.GlobStream=cF});var AF=f(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.Glob=void 0;var w6e=Mc(),Q6e=require("node:url"),NQ=oie(),_6e=nF(),RQ=die(),S6e=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",lF=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,Q6e.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(c=>c.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(c=>c.includes("/")?c:`./**/${c}`)}if(this.pattern=e,this.platform=r.platform||S6e,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let c=r.platform==="win32"?NQ.PathScurryWin32:r.platform==="darwin"?NQ.PathScurryDarwin:r.platform?NQ.PathScurryPosix:NQ.PathScurry;this.scurry=new c(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(c=>new w6e.Minimatch(c,i)),[o,a]=s.reduce((c,l)=>(c[0].push(...l.set),c[1].push(...l.globParts),c),[[],[]]);this.patterns=o.map((c,l)=>{let A=a[l];if(!A)throw new Error("invalid pattern object");return new _6e.Pattern(c,A,0,this.platform)})}async walk(){return[...await new RQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new RQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new RQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new RQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};xQ.Glob=lF});var uF=f(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.hasMagic=void 0;var N6e=Mc(),R6e=(t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new N6e.Minimatch(r,e).hasMagic())return!0;return!1};vQ.hasMagic=R6e});var gie=f(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.glob=ot.sync=ot.iterate=ot.iterateSync=ot.stream=ot.streamSync=ot.Ignore=ot.hasMagic=ot.Glob=ot.unescape=ot.escape=void 0;ot.globStreamSync=xm;ot.globStream=dF;ot.globSync=fF;ot.globIterateSync=vm;ot.globIterate=hF;var fie=Mc(),BA=AF(),x6e=uF(),pie=Mc();Object.defineProperty(ot,"escape",{enumerable:!0,get:function(){return pie.escape}});Object.defineProperty(ot,"unescape",{enumerable:!0,get:function(){return pie.unescape}});var v6e=AF();Object.defineProperty(ot,"Glob",{enumerable:!0,get:function(){return v6e.Glob}});var T6e=uF();Object.defineProperty(ot,"hasMagic",{enumerable:!0,get:function(){return T6e.hasMagic}});var P6e=sF();Object.defineProperty(ot,"Ignore",{enumerable:!0,get:function(){return P6e.Ignore}});function xm(t,e={}){return new BA.Glob(t,e).streamSync()}function dF(t,e={}){return new BA.Glob(t,e).stream()}function fF(t,e={}){return new BA.Glob(t,e).walkSync()}async function hie(t,e={}){return new BA.Glob(t,e).walk()}function vm(t,e={}){return new BA.Glob(t,e).iterateSync()}function hF(t,e={}){return new BA.Glob(t,e).iterate()}ot.streamSync=xm;ot.stream=Object.assign(dF,{sync:xm});ot.iterateSync=vm;ot.iterate=Object.assign(hF,{sync:vm});ot.sync=Object.assign(fF,{stream:xm,iterate:vm});ot.glob=Object.assign(hie,{glob:hie,globSync:fF,sync:ot.sync,globStream:dF,stream:ot.stream,globStreamSync:xm,streamSync:ot.streamSync,globIterate:hF,iterate:ot.iterate,globIterateSync:vm,iterateSync:ot.iterateSync,Glob:BA.Glob,hasMagic:x6e.hasMagic,escape:fie.escape,unescape:fie.unescape});ot.glob.glob=ot.glob});var Cie=f((Cdt,Eie)=>{var yie=OO(),eh=require("path"),pF=jte(),D6e=sne(),k6e=gne(),O6e=bne(),L6e=gie(),bA=Eie.exports={},mie=/[\/\\]/g,M6e=function(t,e){var r=[];return pF(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=D6e(r,s):r=k6e(r,s)}),r};bA.exists=function(){var t=eh.join.apply(eh,arguments);return yie.existsSync(t)};bA.expand=function(...t){var e=O6e(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=M6e(r,function(i){return L6e.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=eh.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):yie.statSync(i)[e.filter]()}catch{return!1}})),n};bA.expandMapping=function(t,e,r){r=Object.assign({rename:function(s,o){return eh.join(s||"",o)}},r);var n=[],i={};return bA.expand(r,t).forEach(function(s){var o=s;r.flatten&&(o=eh.basename(o)),r.ext&&(o=o.replace(/(\.[^\/]*)?$/,r.ext));var a=r.rename(e,o,r);r.cwd&&(s=eh.join(r.cwd,s)),a=a.replace(mie,"/"),s=s.replace(mie,"/"),i[a]?i[a].src.push(s):(n.push({src:[s],dest:a}),i[a]=n[n.length-1])}),n};bA.normalizeFilesArray=function(t){var e=[];return t.forEach(function(r){var n;("src"in r||"dest"in r)&&e.push(r)}),e.length===0?[]:(e=_(e).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=pF(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return bA.expandMapping(r.src,r.dest,n).map(function(s){var o=Object.assign({},r);return o.orig=Object.assign({},r),o.src=s.src,o.dest=s.dest,["expand","cwd","flatten","rename","ext"].forEach(function(a){delete o[a]}),o});var i=Object.assign({},r);return i.orig=Object.assign({},r),"src"in i&&Object.defineProperty(i,"src",{enumerable:!0,get:function s(){var o;return"result"in s||(o=r.src,o=Array.isArray(o)?pF(o):[o],s.result=bA.expand(n,o)),s.result}}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var th=f((Bdt,bie)=>{var gF=OO(),Iie=require("path"),F6e=X0(),U6e=WK(),Bie=oL(),q6e=SZ(),Idt=require("stream").Stream,H6e=yA().PassThrough,Yi=bie.exports={};Yi.file=Cie();Yi.collectStream=function(t,e){var r=[],n=0;t.on("error",e),t.on("data",function(i){r.push(i),n+=i.length}),t.on("end",function(){var i=Buffer.alloc(n),s=0;r.forEach(function(o){o.copy(i,s),s+=o.length}),e(null,i)})};Yi.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};Yi.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},q6e(...n)};Yi.isStream=function(t){return F6e(t)};Yi.lazyReadStream=function(t){return new U6e.Readable(function(){return gF.createReadStream(t)})};Yi.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):Yi.isStream(t)?t.pipe(new H6e):t};Yi.sanitizePath=function(t){return Bie(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};Yi.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};Yi.unixifyPath=function(t){return Bie(t,!1).replace(/^\w+:/,"")};Yi.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),gF.readdir(t,function(i,s){var o=0,a,c;if(i)return r(i);(function l(){if(a=s[o++],!a)return r(null,n);c=Iie.join(t,a),gF.stat(c,function(A,u){n.push({path:c,relative:Iie.relative(e,c).replace(/\\/g,"/"),stats:u}),u&&u.isDirectory()?Yi.walkdir(c,e,function(d,h){if(d)return r(d);h.forEach(function(g){n.push(g)}),l()}):l()})})()})}});var Sie=f((Qie,_ie)=>{var G6e=require("util"),j6e={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function wie(t,e){Error.captureStackTrace(this,this.constructor),this.message=j6e[t]||t,this.code=t,this.data=e}G6e.inherits(wie,Error);Qie=_ie.exports=wie});var Tie=f((bdt,vie)=>{var EF=require("fs"),Rie=L$(),Nie=F$(),mF=require("path"),Uo=th(),z6e=require("util").inherits,Br=Sie(),xie=yA().Transform,yF=process.platform==="win32",pt=function(t,e){if(!(this instanceof pt))return new pt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=Uo.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),xie.call(this,e),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=Nie.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=Nie.queue(this._onStatQueueTask.bind(this),e.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};z6e(pt,xie);pt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};pt.prototype._append=function(t,e){e=e||{};var r={source:null,filepath:t};e.name||(e.name=t),e.sourcePath=t,r.data=e,this._entriesCount++,e.stats&&e.stats instanceof EF.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};pt.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};pt.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};pt.prototype._moduleAppend=function(t,e,r){if(this._state.aborted){r();return}this._module.append(t,e,function(n){if(this._task=null,this._state.aborted){this._shutdown();return}if(n){this.emit("error",n),setImmediate(r);return}this.emit("entry",e),this._entriesProcessedCount++,e.stats&&e.stats.size&&(this._fsEntriesProcessedBytes+=e.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};pt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new Br("NOENDMETHOD"))};pt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};pt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};pt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};pt.prototype._normalizeEntryData=function(t,e){t=Uo.defaults(t,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),e&&t.stats===!1&&(t.stats=e);var r=t.type==="directory";return t.name&&(typeof t.prefix=="string"&&t.prefix!==""&&(t.name=t.prefix+"/"+t.name,t.prefix=null),t.name=Uo.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?yF?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(yF?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,yF&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=Uo.dateify(t.date),t};pt.prototype._onModuleError=function(t){this.emit("error",t)};pt.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};pt.prototype._onQueueTask=function(t,e){var r=()=>{t.data.callback&&t.data.callback(),e()};if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=t,this._moduleAppend(t.source,t.data,r)};pt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}EF.lstat(t.filepath,function(r,n){if(this._state.aborted){setImmediate(e);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(e);return}t=this._updateQueueTaskWithStats(t,n),t&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(t)),setImmediate(e)}.bind(this))};pt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};pt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};pt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=Uo.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=Uo.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=Uo.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=EF.readlinkSync(t.filepath),n=mF.dirname(t.filepath);t.data.type="symlink",t.data.linkname=mF.relative(n,mF.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new Br("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new Br("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new Br("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};pt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};pt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new Br("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new Br("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=Uo.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if(Uo.isStream(t))e.sourceType="stream";else return this.emit("error",new Br("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};pt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new Br("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,e===!1?e="":typeof e!="string"&&(e=t);var n=!1;typeof r=="function"?(n=r,r={}):typeof r!="object"&&(r={});var i={stat:!0,dot:!0};function s(){this._pending--,this._maybeFinalize()}function o(l){this.emit("error",l)}function a(l){c.pause();var A=!1,u=Object.assign({},r);u.name=l.relative,u.prefix=e,u.stats=l.stat,u.callback=c.resume.bind(c);try{if(n){if(u=n(u),u===!1)A=!0;else if(typeof u!="object")throw new Br("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:t})}}catch(d){this.emit("error",d);return}if(A){c.resume();return}this._append(l.absolute,u)}var c=Rie(t,i);return c.on("error",o.bind(this)),c.on("match",a.bind(this)),c.on("end",s.bind(this)),this};pt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new Br("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new Br("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};pt.prototype.glob=function(t,e,r){this._pending++,e=Uo.defaults(e,{stat:!0,pattern:t});function n(){this._pending--,this._maybeFinalize()}function i(a){this.emit("error",a)}function s(a){o.pause();var c=Object.assign({},r);c.callback=o.resume.bind(o),c.stats=a.stat,c.name=a.relative,this._append(a.absolute,c)}var o=Rie(e.cwd||".",e);return o.on("error",i.bind(this)),o.on("match",s.bind(this)),o.on("end",n.bind(this)),this};pt.prototype.finalize=function(){if(this._state.aborted){var t=new Br("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new Br("FINALIZING");return this.emit("error",e),Promise.reject(e)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(n,i){var s;r._module.on("end",function(){s||n()}),r._module.on("error",function(o){s=!0,i(o)})})};pt.prototype.setFormat=function(t){return this._format?(this.emit("error",new Br("FORMATSET")),this):(this._format=t,this)};pt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new Br("ABORTED")),this):this._state.module?(this.emit("error",new Br("MODULESET")),this):(this._module=t,this._modulePipe(),this)};pt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new Br("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new Br("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new Br("SYMLINKNOTSUPPORTED",{filepath:t})),this;var n={};return n.type="symlink",n.name=t.replace(/\\/g,"/"),n.linkname=e.replace(/\\/g,"/"),n.sourceType="buffer",typeof r=="number"&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this};pt.prototype.pointer=function(){return this._pointer};pt.prototype.use=function(t){return this._streams.push(t),this};vie.exports=pt});var PQ=f((wdt,Pie)=>{var TQ=Pie.exports=function(){};TQ.prototype.getName=function(){};TQ.prototype.getSize=function(){};TQ.prototype.getLastModifiedDate=function(){};TQ.prototype.isDirectory=function(){}});var DQ=f((Qdt,Die)=>{var ws=Die.exports={};ws.dateToDos=function(t,e){e=e||!1;var r=e?t.getFullYear():t.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var n={year:r,month:e?t.getMonth():t.getUTCMonth(),date:e?t.getDate():t.getUTCDate(),hours:e?t.getHours():t.getUTCHours(),minutes:e?t.getMinutes():t.getUTCMinutes(),seconds:e?t.getSeconds():t.getUTCSeconds()};return n.year-1980<<25|n.month+1<<21|n.date<<16|n.hours<<11|n.minutes<<5|n.seconds/2};ws.dosToDate=function(t){return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(t&31)<<1)};ws.fromDosTime=function(t){return ws.dosToDate(t.readUInt32LE(0))};ws.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};ws.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};ws.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};ws.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};ws.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};ws.toDosTime=function(t){return ws.getLongBytes(ws.dateToDos(t))}});var CF=f((_dt,Uie)=>{var kie=DQ(),Oie=8,Lie=1,Y6e=4,W6e=2,Mie=64,Fie=2048,mn=Uie.exports=function(){return this instanceof mn?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new mn};mn.prototype.encode=function(){return kie.getShortBytes((this.descriptor?Oie:0)|(this.utf8?Fie:0)|(this.encryption?Lie:0)|(this.strongEncryption?Mie:0))};mn.prototype.parse=function(t,e){var r=kie.getShortBytesValue(t,e),n=new mn;return n.useDataDescriptor((r&Oie)!==0),n.useUTF8ForNames((r&Fie)!==0),n.useStrongEncryption((r&Mie)!==0),n.useEncryption((r&Lie)!==0),n.setSlidingDictionarySize((r&W6e)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&Y6e)!==0?3:2),n};mn.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};mn.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};mn.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};mn.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};mn.prototype.useDataDescriptor=function(t){this.descriptor=t};mn.prototype.usesDataDescriptor=function(){return this.descriptor};mn.prototype.useEncryption=function(t){this.encryption=t};mn.prototype.usesEncryption=function(){return this.encryption};mn.prototype.useStrongEncryption=function(t){this.strongEncryption=t};mn.prototype.usesStrongEncryption=function(){return this.strongEncryption};mn.prototype.useUTF8ForNames=function(t){this.utf8=t};mn.prototype.usesUTF8ForNames=function(){return this.utf8}});var Hie=f((Sdt,qie)=>{qie.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var IF=f((Ndt,Gie)=>{Gie.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var BF=f((Rdt,Jie)=>{var J6e=require("util").inherits,V6e=oL(),zie=PQ(),Yie=CF(),jie=Hie(),ii=IF(),Wie=DQ(),Xe=Jie.exports=function(t){if(!(this instanceof Xe))return new Xe(t);zie.call(this),this.platform=ii.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Yie,this.crc=0,this.time=-1,this.minver=ii.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,t&&this.setName(t)};J6e(Xe,zie);Xe.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};Xe.prototype.getComment=function(){return this.comment!==null?this.comment:""};Xe.prototype.getCompressedSize=function(){return this.csize};Xe.prototype.getCrc=function(){return this.crc};Xe.prototype.getExternalAttributes=function(){return this.exattr};Xe.prototype.getExtra=function(){return this.extra!==null?this.extra:ii.EMPTY};Xe.prototype.getGeneralPurposeBit=function(){return this.gpb};Xe.prototype.getInternalAttributes=function(){return this.inattr};Xe.prototype.getLastModifiedDate=function(){return this.getTime()};Xe.prototype.getLocalFileDataExtra=function(){return this.getExtra()};Xe.prototype.getMethod=function(){return this.method};Xe.prototype.getName=function(){return this.name};Xe.prototype.getPlatform=function(){return this.platform};Xe.prototype.getSize=function(){return this.size};Xe.prototype.getTime=function(){return this.time!==-1?Wie.dosToDate(this.time):-1};Xe.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};Xe.prototype.getUnixMode=function(){return this.platform!==ii.PLATFORM_UNIX?0:this.getExternalAttributes()>>ii.SHORT_SHIFT&ii.SHORT_MASK};Xe.prototype.getVersionNeededToExtract=function(){return this.minver};Xe.prototype.setComment=function(t){Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=t};Xe.prototype.setCompressedSize=function(t){if(t<0)throw new Error("invalid entry compressed size");this.csize=t};Xe.prototype.setCrc=function(t){if(t<0)throw new Error("invalid entry crc32");this.crc=t};Xe.prototype.setExternalAttributes=function(t){this.exattr=t>>>0};Xe.prototype.setExtra=function(t){this.extra=t};Xe.prototype.setGeneralPurposeBit=function(t){if(!(t instanceof Yie))throw new Error("invalid entry GeneralPurposeBit");this.gpb=t};Xe.prototype.setInternalAttributes=function(t){this.inattr=t};Xe.prototype.setMethod=function(t){if(t<0)throw new Error("invalid entry compression method");this.method=t};Xe.prototype.setName=function(t,e=!1){t=V6e(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),e&&(t=`/${t}`),Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=t};Xe.prototype.setPlatform=function(t){this.platform=t};Xe.prototype.setSize=function(t){if(t<0)throw new Error("invalid entry size");this.size=t};Xe.prototype.setTime=function(t,e){if(!(t instanceof Date))throw new Error("invalid entry time");this.time=Wie.dateToDos(t,e)};Xe.prototype.setUnixMode=function(t){t|=this.isDirectory()?ii.S_IFDIR:ii.S_IFREG;var e=0;e|=t<ii.ZIP64_MAGIC||this.size>ii.ZIP64_MAGIC}});var bF=f((vdt,Vie)=>{var xdt=require("stream").Stream,$6e=yA().PassThrough,K6e=X0(),X6e=Vie.exports={};X6e.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(K6e(t)&&!t._readableState){var e=new $6e;return t.pipe(e),e}return t}});var QF=f((Tdt,$ie)=>{var Z6e=require("util").inherits,e5e=X0(),wF=yA().Transform,t5e=PQ(),r5e=bF(),Wi=$ie.exports=function(t){if(!(this instanceof Wi))return new Wi(t);wF.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};Z6e(Wi,wF);Wi.prototype._appendBuffer=function(t,e,r){};Wi.prototype._appendStream=function(t,e,r){};Wi.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};Wi.prototype._finish=function(t){};Wi.prototype._normalizeEntry=function(t){};Wi.prototype._transform=function(t,e,r){r(null,t)};Wi.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof t5e)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(t),this._entry=t,e=r5e.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(e5e(e))this._appendStream(t,e,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};Wi.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Wi.prototype.getBytesWritten=function(){return this.offset};Wi.prototype.write=function(t,e){return t&&(this.offset+=t.length),wF.prototype.write.call(this,t,e)}});var kQ=f(_F=>{var Kie;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof _F=="object"?t(_F):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(Kie={}):t(Kie={})})(function(t){t.version="1.2.2";function e(){for(var U=0,te=new Array(256),L=0;L!=256;++L)U=L,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,te[L]=U;return typeof Int32Array<"u"?new Int32Array(te):te}var r=e();function n(U){var te=0,L=0,$=0,K=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for($=0;$!=256;++$)K[$]=U[$];for($=0;$!=256;++$)for(L=U[$],te=256+$;te<4096;te+=256)L=K[te]=L>>>8^U[L&255];var X=[];for($=1;$!=16;++$)X[$-1]=typeof Int32Array<"u"?K.subarray($*256,$*256+256):K.slice($*256,$*256+256);return X}var i=n(r),s=i[0],o=i[1],a=i[2],c=i[3],l=i[4],A=i[5],u=i[6],d=i[7],h=i[8],g=i[9],E=i[10],C=i[11],I=i[12],R=i[13],P=i[14];function M(U,te){for(var L=te^-1,$=0,K=U.length;$>>8^r[(L^U.charCodeAt($++))&255];return~L}function ee(U,te){for(var L=te^-1,$=U.length-15,K=0;K<$;)L=P[U[K++]^L&255]^R[U[K++]^L>>8&255]^I[U[K++]^L>>16&255]^C[U[K++]^L>>>24]^E[U[K++]]^g[U[K++]]^h[U[K++]]^d[U[K++]]^u[U[K++]]^A[U[K++]]^l[U[K++]]^c[U[K++]]^a[U[K++]]^o[U[K++]]^s[U[K++]]^r[U[K++]];for($+=15;K<$;)L=L>>>8^r[(L^U[K++])&255];return~L}function se(U,te){for(var L=te^-1,$=0,K=U.length,X=0,Ae=0;$>>8^r[(L^X)&255]:X<2048?(L=L>>>8^r[(L^(192|X>>6&31))&255],L=L>>>8^r[(L^(128|X&63))&255]):X>=55296&&X<57344?(X=(X&1023)+64,Ae=U.charCodeAt($++)&1023,L=L>>>8^r[(L^(240|X>>8&7))&255],L=L>>>8^r[(L^(128|X>>2&63))&255],L=L>>>8^r[(L^(128|Ae>>6&15|(X&3)<<4))&255],L=L>>>8^r[(L^(128|Ae&63))&255]):(L=L>>>8^r[(L^(224|X>>12&15))&255],L=L>>>8^r[(L^(128|X>>6&63))&255],L=L>>>8^r[(L^(128|X&63))&255]);return~L}t.table=r,t.bstr=M,t.buf=ee,t.str=se})});var Zie=f((Ddt,Xie)=>{"use strict";var{Transform:n5e}=yA(),i5e=kQ(),SF=class extends n5e{constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(e,r,n){e&&(this.checksum=i5e.buf(e,this.checksum)>>>0,this.rawSize+=e.length),n(null,e)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};Xie.exports=SF});var tse=f((kdt,ese)=>{"use strict";var{DeflateRaw:s5e}=require("zlib"),o5e=kQ(),NF=class extends s5e{constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(e,r){return e&&(this.compressedSize+=e.length),super.push(e,r)}_transform(e,r,n){e&&(this.checksum=o5e.buf(e,this.checksum)>>>0,this.rawSize+=e.length),super._transform(e,r,n)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(e=!1){return e?this.compressedSize:this.rawSize}};ese.exports=NF});var RF=f((Odt,rse)=>{"use strict";rse.exports={CRC32Stream:Zie(),DeflateCRC32Stream:tse()}});var sse=f((Udt,ise)=>{var a5e=require("util").inherits,c5e=kQ(),{CRC32Stream:l5e}=RF(),{DeflateCRC32Stream:A5e}=RF(),nse=QF(),Ldt=BF(),Mdt=CF(),ze=IF(),Fdt=bF(),Oe=DQ(),on=ise.exports=function(t){if(!(this instanceof on))return new on(t);t=this.options=this._defaults(t),nse.call(this,t),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:t.forceZip64,forceLocalTime:t.forceLocalTime}};a5e(on,nse);on.prototype._afterAppend=function(t){this._entries.push(t),t.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(t),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};on.prototype._appendBuffer=function(t,e,r){e.length===0&&t.setMethod(ze.METHOD_STORED);var n=t.getMethod();if(n===ze.METHOD_STORED&&(t.setSize(e.length),t.setCompressedSize(e.length),t.setCrc(c5e.buf(e)>>>0)),this._writeLocalFileHeader(t),n===ze.METHOD_STORED){this.write(e),this._afterAppend(t),r(null,t);return}else if(n===ze.METHOD_DEFLATED){this._smartStream(t,r).end(e);return}else{r(new Error("compression method "+n+" not implemented"));return}};on.prototype._appendStream=function(t,e,r){t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(t);var n=this._smartStream(t,r);e.once("error",function(i){n.emit("error",i),n.end()}),e.pipe(n)};on.prototype._defaults=function(t){return typeof t!="object"&&(t={}),typeof t.zlib!="object"&&(t.zlib={}),typeof t.zlib.level!="number"&&(t.zlib.level=ze.ZLIB_BEST_SPEED),t.forceZip64=!!t.forceZip64,t.forceLocalTime=!!t.forceLocalTime,t};on.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(t){this._writeCentralFileHeader(t)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};on.prototype._normalizeEntry=function(t){t.getMethod()===-1&&t.setMethod(ze.METHOD_DEFLATED),t.getMethod()===ze.METHOD_DEFLATED&&(t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_DATA_DESCRIPTOR)),t.getTime()===-1&&t.setTime(new Date,this._archive.forceLocalTime),t._offsets={file:0,data:0,contents:0}};on.prototype._smartStream=function(t,e){var r=t.getMethod()===ze.METHOD_DEFLATED,n=r?new A5e(this.options.zlib):new l5e,i=null;function s(){var o=n.digest().readUInt32BE(0);t.setCrc(o),t.setSize(n.size()),t.setCompressedSize(n.size(!0)),this._afterAppend(t),e(i,t)}return n.once("end",s.bind(this)),n.once("error",function(o){i=o}),n.pipe(this,{end:!1}),n};on.prototype._writeCentralDirectoryEnd=function(){var t=this._entries.length,e=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(t=ze.ZIP64_MAGIC_SHORT,e=ze.ZIP64_MAGIC,r=ze.ZIP64_MAGIC),this.write(Oe.getLongBytes(ze.SIG_EOCD)),this.write(ze.SHORT_ZERO),this.write(ze.SHORT_ZERO),this.write(Oe.getShortBytes(t)),this.write(Oe.getShortBytes(t)),this.write(Oe.getLongBytes(e)),this.write(Oe.getLongBytes(r));var n=this.getComment(),i=Buffer.byteLength(n);this.write(Oe.getShortBytes(i)),this.write(n)};on.prototype._writeCentralDirectoryZip64=function(){this.write(Oe.getLongBytes(ze.SIG_ZIP64_EOCD)),this.write(Oe.getEightBytes(44)),this.write(Oe.getShortBytes(ze.MIN_VERSION_ZIP64)),this.write(Oe.getShortBytes(ze.MIN_VERSION_ZIP64)),this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO),this.write(Oe.getEightBytes(this._entries.length)),this.write(Oe.getEightBytes(this._entries.length)),this.write(Oe.getEightBytes(this._archive.centralLength)),this.write(Oe.getEightBytes(this._archive.centralOffset)),this.write(Oe.getLongBytes(ze.SIG_ZIP64_EOCD_LOC)),this.write(ze.LONG_ZERO),this.write(Oe.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(Oe.getLongBytes(1))};on.prototype._writeCentralFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t._offsets.file,i=t.getSize(),s=t.getCompressedSize();if(t.isZip64()||n>ze.ZIP64_MAGIC){i=ze.ZIP64_MAGIC,s=ze.ZIP64_MAGIC,n=ze.ZIP64_MAGIC,t.setVersionNeededToExtract(ze.MIN_VERSION_ZIP64);var o=Buffer.concat([Oe.getShortBytes(ze.ZIP64_EXTRA_ID),Oe.getShortBytes(24),Oe.getEightBytes(t.getSize()),Oe.getEightBytes(t.getCompressedSize()),Oe.getEightBytes(t._offsets.file)],28);t.setExtra(o)}this.write(Oe.getLongBytes(ze.SIG_CFH)),this.write(Oe.getShortBytes(t.getPlatform()<<8|ze.VERSION_MADEBY)),this.write(Oe.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Oe.getShortBytes(r)),this.write(Oe.getLongBytes(t.getTimeDos())),this.write(Oe.getLongBytes(t.getCrc())),this.write(Oe.getLongBytes(s)),this.write(Oe.getLongBytes(i));var a=t.getName(),c=t.getComment(),l=t.getCentralDirectoryExtra();e.usesUTF8ForNames()&&(a=Buffer.from(a),c=Buffer.from(c)),this.write(Oe.getShortBytes(a.length)),this.write(Oe.getShortBytes(l.length)),this.write(Oe.getShortBytes(c.length)),this.write(ze.SHORT_ZERO),this.write(Oe.getShortBytes(t.getInternalAttributes())),this.write(Oe.getLongBytes(t.getExternalAttributes())),this.write(Oe.getLongBytes(n)),this.write(a),this.write(l),this.write(c)};on.prototype._writeDataDescriptor=function(t){this.write(Oe.getLongBytes(ze.SIG_DD)),this.write(Oe.getLongBytes(t.getCrc())),t.isZip64()?(this.write(Oe.getEightBytes(t.getCompressedSize())),this.write(Oe.getEightBytes(t.getSize()))):(this.write(Oe.getLongBytes(t.getCompressedSize())),this.write(Oe.getLongBytes(t.getSize())))};on.prototype._writeLocalFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t.getName(),i=t.getLocalFileDataExtra();t.isZip64()&&(e.useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_ZIP64)),e.usesUTF8ForNames()&&(n=Buffer.from(n)),t._offsets.file=this.offset,this.write(Oe.getLongBytes(ze.SIG_LFH)),this.write(Oe.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Oe.getShortBytes(r)),this.write(Oe.getLongBytes(t.getTimeDos())),t._offsets.data=this.offset,e.usesDataDescriptor()?(this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO)):(this.write(Oe.getLongBytes(t.getCrc())),this.write(Oe.getLongBytes(t.getCompressedSize())),this.write(Oe.getLongBytes(t.getSize()))),this.write(Oe.getShortBytes(n.length)),this.write(Oe.getShortBytes(i.length)),this.write(n),this.write(i),t._offsets.contents=this.offset};on.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};on.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>ze.ZIP64_MAGIC_SHORT||this._archive.centralLength>ze.ZIP64_MAGIC||this._archive.centralOffset>ze.ZIP64_MAGIC};on.prototype.setComment=function(t){this._archive.comment=t}});var xF=f((qdt,ose)=>{ose.exports={ArchiveEntry:PQ(),ZipArchiveEntry:BF(),ArchiveOutputStream:QF(),ZipArchiveOutputStream:sse()}});var cse=f((Hdt,ase)=>{var u5e=require("util").inherits,TF=xF().ZipArchiveOutputStream,d5e=xF().ZipArchiveEntry,vF=th(),rh=ase.exports=function(t){if(!(this instanceof rh))return new rh(t);t=this.options=t||{},t.zlib=t.zlib||{},TF.call(this,t),typeof t.level=="number"&&t.level>=0&&(t.zlib.level=t.level,delete t.level),!t.forceZip64&&typeof t.zlib.level=="number"&&t.zlib.level===0&&(t.store=!0),t.namePrependSlash=t.namePrependSlash||!1,t.comment&&t.comment.length>0&&this.setComment(t.comment)};u5e(rh,TF);rh.prototype._normalizeFileData=function(t){t=vF.defaults(t,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var e=t.type==="directory",r=t.type==="symlink";return t.name&&(t.name=vF.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=vF.dateify(t.date),t};rh.prototype.entry=function(t,e,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),e=this._normalizeFileData(e),e.type!=="file"&&e.type!=="directory"&&e.type!=="symlink"){r(new Error(e.type+" entries not currently supported"));return}if(typeof e.name!="string"||e.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(e.type==="symlink"&&typeof e.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var n=new d5e(e.name);return n.setTime(e.date,this.options.forceLocalTime),e.namePrependSlash&&n.setName(e.name,!0),e.store&&n.setMethod(0),e.comment.length>0&&n.setComment(e.comment),e.type==="symlink"&&typeof e.mode!="number"&&(e.mode=40960),typeof e.mode=="number"&&(e.type==="symlink"&&(e.mode|=40960),n.setUnixMode(e.mode)),e.type==="symlink"&&typeof e.linkname=="string"&&(t=Buffer.from(e.linkname)),TF.prototype.entry.call(this,n,t,r)};rh.prototype.finalize=function(){this.finish()}});var Ase=f((Gdt,lse)=>{var f5e=cse(),h5e=th(),Hc=function(t){if(!(this instanceof Hc))return new Hc(t);t=this.options=h5e.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new f5e(t)};Hc.prototype.append=function(t,e,r){this.engine.entry(t,e,r)};Hc.prototype.finalize=function(){this.engine.finalize()};Hc.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Hc.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Hc.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};lse.exports=Hc});var dse=f((jdt,use)=>{use.exports=require("events")});var hse=f((Ydt,fse)=>{fse.exports=class{constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var PF=f((Jdt,gse)=>{var pse=hse();gse.exports=class{constructor(e){this.hwm=e||16,this.head=new pse(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let r=this.head;this.head=r.next=new pse(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let r=this.tail.next;return this.tail.next=null,this.tail=r,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var nh=f((Vdt,mse)=>{function p5e(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}function g5e(t){return Buffer.isEncoding(t)}function m5e(t,e,r){return Buffer.alloc(t,e,r)}function y5e(t){return Buffer.allocUnsafe(t)}function E5e(t){return Buffer.allocUnsafeSlow(t)}function C5e(t,e){return Buffer.byteLength(t,e)}function I5e(t,e){return Buffer.compare(t,e)}function B5e(t,e){return Buffer.concat(t,e)}function b5e(t,e,r,n,i){return vt(t).copy(e,r,n,i)}function w5e(t,e){return vt(t).equals(e)}function Q5e(t,e,r,n,i){return vt(t).fill(e,r,n,i)}function _5e(t,e,r){return Buffer.from(t,e,r)}function S5e(t,e,r,n){return vt(t).includes(e,r,n)}function N5e(t,e,r,n){return vt(t).indexOf(e,r,n)}function R5e(t,e,r,n){return vt(t).lastIndexOf(e,r,n)}function x5e(t){return vt(t).swap16()}function v5e(t){return vt(t).swap32()}function T5e(t){return vt(t).swap64()}function vt(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}function P5e(t,e,r,n){return vt(t).toString(e,r,n)}function D5e(t,e,r,n,i){return vt(t).write(e,r,n,i)}function k5e(t,e){return vt(t).readDoubleBE(e)}function O5e(t,e){return vt(t).readDoubleLE(e)}function L5e(t,e){return vt(t).readFloatBE(e)}function M5e(t,e){return vt(t).readFloatLE(e)}function F5e(t,e){return vt(t).readInt32BE(e)}function U5e(t,e){return vt(t).readInt32LE(e)}function q5e(t,e){return vt(t).readUInt32BE(e)}function H5e(t,e){return vt(t).readUInt32LE(e)}function G5e(t,e,r){return vt(t).writeDoubleBE(e,r)}function j5e(t,e,r){return vt(t).writeDoubleLE(e,r)}function z5e(t,e,r){return vt(t).writeFloatBE(e,r)}function Y5e(t,e,r){return vt(t).writeFloatLE(e,r)}function W5e(t,e,r){return vt(t).writeInt32BE(e,r)}function J5e(t,e,r){return vt(t).writeInt32LE(e,r)}function V5e(t,e,r){return vt(t).writeUInt32BE(e,r)}function $5e(t,e,r){return vt(t).writeUInt32LE(e,r)}mse.exports={isBuffer:p5e,isEncoding:g5e,alloc:m5e,allocUnsafe:y5e,allocUnsafeSlow:E5e,byteLength:C5e,compare:I5e,concat:B5e,copy:b5e,equals:w5e,fill:Q5e,from:_5e,includes:S5e,indexOf:N5e,lastIndexOf:R5e,swap16:x5e,swap32:v5e,swap64:T5e,toBuffer:vt,toString:P5e,write:D5e,readDoubleBE:k5e,readDoubleLE:O5e,readFloatBE:L5e,readFloatLE:M5e,readInt32BE:F5e,readInt32LE:U5e,readUInt32BE:q5e,readUInt32LE:H5e,writeDoubleBE:G5e,writeDoubleLE:j5e,writeFloatBE:z5e,writeFloatLE:Y5e,writeInt32BE:W5e,writeInt32LE:J5e,writeUInt32BE:V5e,writeUInt32LE:$5e}});var Ese=f((Kdt,yse)=>{var K5e=nh();yse.exports=class{constructor(e){this.encoding=e}get remaining(){return 0}decode(e){return K5e.toString(e,this.encoding)}flush(){return""}}});var Ise=f((Zdt,Cse)=>{var X5e=nh();Cse.exports=class{constructor(){this.codePoint=0,this.bytesSeen=0,this.bytesNeeded=0,this.lowerBoundary=128,this.upperBoundary=191}get remaining(){return this.bytesSeen}decode(e){if(this.bytesNeeded===0){let n=!0;for(let i=Math.max(0,e.byteLength-4),s=e.byteLength;i=194&&s<=223?(this.bytesNeeded=2,this.codePoint=s&31):s>=224&&s<=239?(s===224?this.lowerBoundary=160:s===237&&(this.upperBoundary=159),this.bytesNeeded=3,this.codePoint=s&15):s>=240&&s<=244?(s===240&&(this.lowerBoundary=144),s===244&&(this.upperBoundary=143),this.bytesNeeded=4,this.codePoint=s&7):r+="\uFFFD");continue}if(sthis.upperBoundary){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,r+="\uFFFD";continue}this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|s&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded&&(r+=String.fromCodePoint(this.codePoint),this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0)}return r}flush(){let e=this.bytesNeeded>0?"\uFFFD":"";return this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,e}}});var bse=f((tft,Bse)=>{var Z5e=Ese(),e9e=Ise();Bse.exports=class{constructor(e="utf8"){switch(this.encoding=t9e(e),this.encoding){case"utf8":this.decoder=new e9e;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new Z5e(this.encoding)}}get remaining(){return this.decoder.remaining}push(e){return typeof e=="string"?e:this.decoder.decode(e)}write(e){return this.push(e)}end(e){let r="";return e&&(r=this.push(e)),r+=this.decoder.flush(),r}};function t9e(t){switch(t=t.toLowerCase(),t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:throw new Error("Unknown encoding: "+t)}}});var VF=f((rft,Yse)=>{var{EventEmitter:r9e}=dse(),qQ=new Error("Stream was destroyed"),DF=new Error("Premature close"),Rse=PF(),n9e=bse(),kF=typeof queueMicrotask>"u"?t=>global.process.nextTick(t):queueMicrotask,hr=(1<<29)-1,qo=1,HF=2,wA=4,Tm=8,xse=hr^qo,i9e=hr^HF,Lm=16,ih=32,ah=64,jc=128,Mm=256,GF=512,QA=1024,OF=2048,jF=4096,zF=8192,js=16384,Gc=32768,HQ=65536,_A=131072,vse=Mm|GF,s9e=Lm|HQ,o9e=ah|Lm,a9e=jF|jc,YF=Mm|_A,c9e=hr^Lm,l9e=hr^ah,A9e=hr^(ah|HQ),wse=hr^HQ,u9e=hr^Mm,d9e=hr^(jc|zF),f9e=hr^QA,Qse=hr^vse,Tse=hr^Gc,h9e=hr^ih,Pse=hr^_A,p9e=hr^YF,Na=1<<18,oh=2<<18,Fm=4<<18,SA=8<<18,Um=16<<18,zc=32<<18,LF=64<<18,sh=128<<18,WF=256<<18,NA=512<<18,GQ=1024<<18,g9e=hr^(Na|WF),Dse=hr^Fm,m9e=hr^(Na|NA),y9e=hr^Um,E9e=hr^SA,kse=hr^sh,C9e=hr^oh,Ose=hr^GQ,Pm=Lm|Na,Lse=hr^Pm,JF=js|zc,Ho=wA|Tm|HF,Ji=Ho|qo,Mse=Ho|JF,I9e=Dse&l9e,jQ=sh|Gc,B9e=jQ&Lse,Fse=Ji|B9e,b9e=Ji|QA|js,_se=Ji|js|jc,w9e=Ji|QA|jc,Q9e=Ji|jF|jc|zF,_9e=Ji|Lm|QA|js|HQ|_A,S9e=Ho|QA|js,N9e=ih|Ji|Gc|ah,R9e=Gc|qo,x9e=Ji|NA|zc,v9e=SA|Um,Use=SA|Na,T9e=SA|Um|Ji|Na,Sse=Ji|Na|SA|GQ,P9e=Fm|Na,D9e=Na|WF,k9e=Ji|NA|Use|zc,O9e=Um|Ho|NA|zc,L9e=oh|Ji|sh|Fm,M9e=NA|zc|Ho,OQ=Symbol.asyncIterator||Symbol("asyncIterator"),LQ=class{constructor(e,{highWaterMark:r=16384,map:n=null,mapWritable:i,byteLength:s,byteLengthWritable:o}={}){this.stream=e,this.queue=new Rse,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=o||s||zse,this.map=i||n,this.afterWrite=q9e.bind(this),this.afterUpdateNextTick=j9e.bind(this)}get ended(){return(this.stream._duplexState&zc)!==0}push(e){return(this.stream._duplexState&M9e)!==0?!1:(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=o||s||zse,this.map=i||n,this.pipeTo=null,this.afterRead=H9e.bind(this),this.afterUpdateNextTick=G9e.bind(this)}get ended(){return(this.stream._duplexState&js)!==0}pipe(e,r){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof r!="function"&&(r=null),this.stream._duplexState|=GF,this.pipeTo=e,this.pipeline=new UF(this.stream,e,r),r&&this.stream.on("error",Nse),Om(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",Nse),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),i=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",i),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",F9e.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let r=this.stream;return e===null?(this.highWaterMark=0,r._duplexState=(r._duplexState|QA)&A9e,!1):this.map!==null&&(e=this.map(e),e===null)?(r._duplexState&=wse,this.buffered0;)r.push(this.shift());for(let n=0;n0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,t)}}function q9e(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=g9e,this.drains!==null&&z9e(this.drains),(e._duplexState&T9e)===Um&&(e._duplexState&=y9e,(e._duplexState&LF)===LF&&e.emit("drain")),this.updateCallback()}function H9e(t){t&&this.stream.destroy(t),this.stream._duplexState&=c9e,this.readAhead===!1&&(this.stream._duplexState&Mm)===0&&(this.stream._duplexState&=Pse),this.updateCallback()}function G9e(){(this.stream._duplexState&ih)===0&&(this.stream._duplexState&=Tse,this.update())}function j9e(){(this.stream._duplexState&oh)===0&&(this.stream._duplexState&=kse,this.update())}function z9e(t){for(let e=0;e0)?null:n(o)}}_read(e){e(null)}pipe(e,r){return this._readableState.updateNextTick(),this._readableState.pipe(e,r),e}read(){return this._readableState.updateNextTick(),this._readableState.read()}push(e){return this._readableState.updateNextTickIfOpen(),this._readableState.push(e)}unshift(e){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift(e)}resume(){return this._duplexState|=YF,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?p9e:u9e,this}static _fromAsyncIterator(e,r){let n,i=new t({...r,read(o){e.next().then(s).then(o.bind(null,null)).catch(o)},predestroy(){n=e.return()},destroy(o){if(!n)return o(null);n.then(o.bind(null,null)).catch(o)}});return i;function s(o){o.done?i.push(null):i.push(o.value)}}static from(e,r){if(e$e(e))return e;if(e[OQ])return this._fromAsyncIterator(e[OQ](),r);Array.isArray(e)||(e=e===void 0?[]:[e]);let n=0;return new t({...r,read(i){this.push(n===e.length?null:e[n++]),i(null)}})}static isBackpressured(e){return(e._duplexState&S9e)!==0||e._readableState.buffered>=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&Mm)===0}[OQ](){let e=this,r=null,n=null,i=null;return this.on("error",l=>{r=l}),this.on("readable",s),this.on("close",o),{[OQ](){return this},next(){return new Promise(function(l,A){n=l,i=A;let u=e.read();u!==null?a(u):(e._duplexState&Tm)!==0&&a(null)})},return(){return c(null)},throw(l){return c(l)}};function s(){n!==null&&a(e.read())}function o(){n!==null&&a(null)}function a(l){i!==null&&(r?i(r):l===null&&(e._duplexState&js)===0?i(qQ):n({value:l,done:l===null}),i=n=null)}function c(l){return e.destroy(l),new Promise((A,u)=>{if(e._duplexState&Tm)return A({value:void 0,done:!0});e.once("close",function(){l?u(l):A({value:void 0,done:!0})})})}}},FQ=class extends Dm{constructor(e){super(e),this._duplexState|=qo|js,this._writableState=new LQ(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}cork(){this._duplexState|=GQ}uncork(){this._duplexState&=Ose,this._writableState.updateNextTick()}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&O9e)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(i$e(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&WF?1:0);return i===0?Promise.resolve(!0):(r.drains===null&&(r.drains=[]),new Promise(s=>{r.drains.push({writes:i,resolve:s})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},km=class extends MQ{constructor(e){super(e),this._duplexState=qo|this._duplexState&_A,this._writableState=new LQ(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}cork(){this._duplexState|=GQ}uncork(){this._duplexState&=Ose,this._writableState.updateNextTick()}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},UQ=class extends km{constructor(e){super(e),this._transformState=new FF(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,r){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let r=this._transformState.data;this._transformState.data=null,e(null),this._transform(r,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,r){r(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(J9e.bind(this))}},qF=class extends UQ{};function J9e(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}function V9e(...t){return new Promise((e,r)=>Gse(...t,n=>{if(n)return r(n);e()}))}function Gse(t,...e){let r=Array.isArray(t)?[...t,...e]:[t,...e],n=r.length&&typeof r[r.length-1]=="function"?r.pop():null;if(r.length<2)throw new Error("Pipeline requires at least 2 streams");let i=r[0],s=null,o=null;for(let l=1;l1,c),i.pipe(s)),i=s;if(n){let l=!1,A=Om(s)||!!(s._writableState&&s._writableState.autoDestroy);s.on("error",u=>{o===null&&(o=u)}),s.on("finish",()=>{l=!0,A||n(o)}),A&&s.on("close",()=>n(o||(l?null:DF)))}return s;function a(l,A,u,d){l.on("error",d),l.on("close",h);function h(){if(A&&l._readableState&&!l._readableState.ended||u&&l._writableState&&!l._writableState.ended)return d(DF)}}function c(l){if(!(!l||o)){o=l;for(let A of r)A.destroy(l)}}}function $9e(t){return t}function jse(t){return!!t._readableState||!!t._writableState}function Om(t){return typeof t._duplexState=="number"&&jse(t)}function K9e(t){return!!t._readableState&&t._readableState.ended}function X9e(t){return!!t._writableState&&t._writableState.ended}function Z9e(t,e={}){let r=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return!e.all&&r===qQ?null:r}function e$e(t){return Om(t)&&t.readable}function t$e(t){return(t._duplexState&qo)!==qo||(t._duplexState&jQ)!==0}function r$e(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}function zse(t){return r$e(t)?t.byteLength:1024}function Nse(){}function n$e(){this.destroy(new Error("Stream aborted."))}function i$e(t){return t._writev!==FQ.prototype._writev&&t._writev!==km.prototype._writev}Yse.exports={pipeline:Gse,pipelinePromise:V9e,isStream:jse,isStreamx:Om,isEnded:K9e,isFinished:X9e,isDisturbed:t$e,getStreamError:Z9e,Stream:Dm,Writable:FQ,Readable:MQ,Duplex:km,Transform:UQ,PassThrough:qF}});var XF=f(lh=>{var dt=nh(),s$e="0000000000000000000",o$e="7777777777777777777",zQ=48,Wse=dt.from([117,115,116,97,114,0]),a$e=dt.from([zQ,zQ]),c$e=dt.from([117,115,116,97,114,32]),l$e=dt.from([32,0]),A$e=4095,qm=257,KF=263;lh.decodeLongPath=function(e,r){return ch(e,0,e.length,r)};lh.encodePax=function(e){let r="";e.name&&(r+=$F(" path="+e.name+` +>>> no match, partial?`,e,d,r,h),d===c))}let E;if(typeof A=="string"?(E=u===A,this.debug("string match",A,u,E)):(E=A.test(u),this.debug("pattern match",A,u,E)),!E)return!1}if(o===c&&a===l)return!0;if(o===c)return n;if(a===l)return o===c-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return(0,ye.braceExpand)(this.pattern,this.options)}parse(e){(0,oQ.assertValidPattern)(e);let r=this.options;if(e==="**")return ye.GLOBSTAR;if(e==="")return"";let n,i=null;(n=e.match(R8e))?i=r.dot?v8e:x8e:(n=e.match(E8e))?i=(r.nocase?r.dot?b8e:B8e:r.dot?I8e:C8e)(n[1]):(n=e.match(T8e))?i=(r.nocase?r.dot?D8e:P8e:r.dot?k8e:O8e)(n):(n=e.match(w8e))?i=r.dot?_8e:Q8e:(n=e.match(S8e))&&(i=N8e);let s=Tne.AST.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?M8e:r.dot?F8e:U8e,i=new Set(r.nocase?["i"]:[]),s=e.map(c=>{let l=c.map(A=>{if(A instanceof RegExp)for(let u of A.flags.split(""))i.add(u);return typeof A=="string"?Y8e(A):A===ye.GLOBSTAR?ye.GLOBSTAR:A._src});return l.forEach((A,u)=>{let d=l[u+1],h=l[u-1];A!==ye.GLOBSTAR||h===ye.GLOBSTAR||(h===void 0?d!==void 0&&d!==ye.GLOBSTAR?l[u+1]="(?:\\/|"+n+"\\/)?"+d:l[u]=n:d===void 0?l[u-1]=h+"(?:\\/|"+n+")?":d!==ye.GLOBSTAR&&(l[u-1]=h+"(?:\\/|\\/"+n+"\\/)"+d,l[u+1]=ye.GLOBSTAR))}),l.filter(A=>A!==ye.GLOBSTAR).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a{"use strict";Object.defineProperty(cQ,"__esModule",{value:!0});cQ.LRUCache=void 0;var $f=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Lne=new Set,GM=typeof process=="object"&&process?process:{},Mne=(t,e,r,n)=>{typeof GM.emitWarning=="function"?GM.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},aQ=globalThis.AbortController,One=globalThis.AbortSignal;if(typeof aQ>"u"){One=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},aQ=class{constructor(){e()}signal=new One;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let t=GM.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Mne("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var $8e=t=>!Lne.has(t),Fc=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Fne=t=>Fc(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Kf:null:null,Kf=class extends Array{constructor(e){super(e),this.fill(0)}},jM=class t{heap;length;static#e=!1;static create(e){let r=Fne(e);if(!r)return[];t.#e=!0;let n=new t(e,r);return t.#e=!1,n}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},zM=class t{#e;#r;#n;#t;#o;#C;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#u;#a;#c;#s;#g;#m;#f;#d;#b;#p;#w;#Q;#E;#I;#B;#h;static unsafeExposeInternals(e){return{starts:e.#Q,ttls:e.#E,sizes:e.#w,keyMap:e.#a,keyList:e.#c,valList:e.#s,next:e.#g,prev:e.#m,get head(){return e.#f},get tail(){return e.#d},free:e.#b,isBackgroundFetch:r=>e.#A(r),backgroundFetch:(r,n,i,s)=>e.#M(r,n,i,s),moveToTail:r=>e.#U(r),indexes:r=>e.#S(r),rindexes:r=>e.#N(r),isStale:r=>e.#y(r)}}get max(){return this.#e}get maxSize(){return this.#r}get calculatedSize(){return this.#u}get size(){return this.#l}get fetchMethod(){return this.#o}get memoMethod(){return this.#C}get dispose(){return this.#n}get disposeAfter(){return this.#t}constructor(e){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:l,disposeAfter:A,noDisposeOnSet:u,noUpdateTTL:d,maxSize:h=0,maxEntrySize:g=0,sizeCalculation:E,fetchMethod:C,memoMethod:I,noDeleteOnFetchRejection:R,noDeleteOnStaleGet:P,allowStaleOnFetchRejection:M,allowStaleOnFetchAbort:ee,ignoreFetchAbort:se}=e;if(r!==0&&!Fc(r))throw new TypeError("max option must be a nonnegative integer");let U=r?Fne(r):Array;if(!U)throw new Error("invalid max value: "+r);if(this.#e=r,this.#r=h,this.maxEntrySize=g||this.#r,this.sizeCalculation=E,this.sizeCalculation){if(!this.#r&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(I!==void 0&&typeof I!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#C=I,C!==void 0&&typeof C!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=C,this.#B=!!C,this.#a=new Map,this.#c=new Array(r).fill(void 0),this.#s=new Array(r).fill(void 0),this.#g=new U(r),this.#m=new U(r),this.#f=0,this.#d=0,this.#b=jM.create(r),this.#l=0,this.#u=0,typeof l=="function"&&(this.#n=l),typeof A=="function"?(this.#t=A,this.#p=[]):(this.#t=void 0,this.#p=void 0),this.#I=!!this.#n,this.#h=!!this.#t,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!R,this.allowStaleOnFetchRejection=!!M,this.allowStaleOnFetchAbort=!!ee,this.ignoreFetchAbort=!!se,this.maxEntrySize!==0){if(this.#r!==0&&!Fc(this.#r))throw new TypeError("maxSize must be a positive integer if specified");if(!Fc(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#x()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!P,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=Fc(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Fc(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#R()}if(this.#e===0&&this.ttl===0&&this.#r===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#r){let te="LRU_CACHE_UNBOUNDED";$8e(te)&&(Lne.add(te),Mne("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",te,t))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#R(){let e=new Kf(this.#e),r=new Kf(this.#e);this.#E=e,this.#Q=r,this.#T=(s,o,a=$f.now())=>{if(r[s]=o!==0?a:0,e[s]=o,o!==0&&this.ttlAutopurge){let c=setTimeout(()=>{this.#y(s)&&this.#v(this.#c[s],"expire")},o+1);c.unref&&c.unref()}},this.#_=s=>{r[s]=e[s]!==0?$f.now():0},this.#i=(s,o)=>{if(e[o]){let a=e[o],c=r[o];if(!a||!c)return;s.ttl=a,s.start=c,s.now=n||i();let l=s.now-c;s.remainingTTL=a-l}};let n=0,i=()=>{let s=$f.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#a.get(s);if(o===void 0)return 0;let a=e[o],c=r[o];if(!a||!c)return 1/0;let l=(n||i())-c;return a-l},this.#y=s=>{let o=r[s],a=e[s];return!!a&&!!o&&(n||i())-o>a}}#_=()=>{};#i=()=>{};#T=()=>{};#y=()=>!1;#x(){let e=new Kf(this.#e);this.#u=0,this.#w=e,this.#P=r=>{this.#u-=e[r],e[r]=0},this.#k=(r,n,i,s)=>{if(this.#A(n))return 0;if(!Fc(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!Fc(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#D=(r,n,i)=>{if(e[r]=n,this.#r){let s=this.#r-e[r];for(;this.#u>s;)this.#L(!0)}this.#u+=e[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#u)}}#P=e=>{};#D=(e,r,n)=>{};#k=(e,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#S({allowStale:e=this.allowStale}={}){if(this.#l)for(let r=this.#d;!(!this.#O(r)||((e||!this.#y(r))&&(yield r),r===this.#f));)r=this.#m[r]}*#N({allowStale:e=this.allowStale}={}){if(this.#l)for(let r=this.#f;!(!this.#O(r)||((e||!this.#y(r))&&(yield r),r===this.#d));)r=this.#g[r]}#O(e){return e!==void 0&&this.#a.get(this.#c[e])===e}*entries(){for(let e of this.#S())this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#A(this.#s[e])&&(yield[this.#c[e],this.#s[e]])}*rentries(){for(let e of this.#N())this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#A(this.#s[e])&&(yield[this.#c[e],this.#s[e]])}*keys(){for(let e of this.#S()){let r=this.#c[e];r!==void 0&&!this.#A(this.#s[e])&&(yield r)}}*rkeys(){for(let e of this.#N()){let r=this.#c[e];r!==void 0&&!this.#A(this.#s[e])&&(yield r)}}*values(){for(let e of this.#S())this.#s[e]!==void 0&&!this.#A(this.#s[e])&&(yield this.#s[e])}*rvalues(){for(let e of this.#N())this.#s[e]!==void 0&&!this.#A(this.#s[e])&&(yield this.#s[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let n of this.#S()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#c[n],this))return this.get(this.#c[n],r)}}forEach(e,r=this){for(let n of this.#S()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}rforEach(e,r=this){for(let n of this.#N()){let i=this.#s[n],s=this.#A(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}purgeStale(){let e=!1;for(let r of this.#N({allowStale:!0}))this.#y(r)&&(this.#v(this.#c[r],"expire"),e=!0);return e}info(e){let r=this.#a.get(e);if(r===void 0)return;let n=this.#s[r],i=this.#A(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#E&&this.#Q){let o=this.#E[r],a=this.#Q[r];if(o&&a){let c=o-($f.now()-a);s.ttl=c,s.start=Date.now()}}return this.#w&&(s.size=this.#w[r]),s}dump(){let e=[];for(let r of this.#S({allowStale:!0})){let n=this.#c[r],i=this.#s[r],s=this.#A(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#E&&this.#Q){o.ttl=this.#E[r];let a=$f.now()-this.#Q[r];o.start=Math.floor(Date.now()-a)}this.#w&&(o.size=this.#w[r]),e.unshift([n,o])}return e}load(e){this.clear();for(let[r,n]of e){if(n.start){let i=Date.now()-n.start;n.start=$f.now()-i}this.set(r,n.value,n)}}set(e,r,n={}){if(r===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:c}=n,{noUpdateTTL:l=this.noUpdateTTL}=n,A=this.#k(e,r,n.size||0,a);if(this.maxEntrySize&&A>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.#v(e,"set"),this;let u=this.#l===0?void 0:this.#a.get(e);if(u===void 0)u=this.#l===0?this.#d:this.#b.length!==0?this.#b.pop():this.#l===this.#e?this.#L(!1):this.#l,this.#c[u]=e,this.#s[u]=r,this.#a.set(e,u),this.#g[this.#d]=u,this.#m[u]=this.#d,this.#d=u,this.#l++,this.#D(u,A,c),c&&(c.set="add"),l=!1;else{this.#U(u);let d=this.#s[u];if(r!==d){if(this.#B&&this.#A(d)){d.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:h}=d;h!==void 0&&!o&&(this.#I&&this.#n?.(h,e,"set"),this.#h&&this.#p?.push([h,e,"set"]))}else o||(this.#I&&this.#n?.(d,e,"set"),this.#h&&this.#p?.push([d,e,"set"]));if(this.#P(u),this.#D(u,A,c),this.#s[u]=r,c){c.set="replace";let h=d&&this.#A(d)?d.__staleWhileFetching:d;h!==void 0&&(c.oldValue=h)}}else c&&(c.set="update")}if(i!==0&&!this.#E&&this.#R(),this.#E&&(l||this.#T(u,i,s),c&&this.#i(c,u)),!o&&this.#h&&this.#p){let d=this.#p,h;for(;h=d?.shift();)this.#t?.(...h)}return this}pop(){try{for(;this.#l;){let e=this.#s[this.#f];if(this.#L(!0),this.#A(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#t?.(...r)}}}#L(e){let r=this.#f,n=this.#c[r],i=this.#s[r];return this.#B&&this.#A(i)?i.__abortController.abort(new Error("evicted")):(this.#I||this.#h)&&(this.#I&&this.#n?.(i,n,"evict"),this.#h&&this.#p?.push([i,n,"evict"])),this.#P(r),e&&(this.#c[r]=void 0,this.#s[r]=void 0,this.#b.push(r)),this.#l===1?(this.#f=this.#d=0,this.#b.length=0):this.#f=this.#g[r],this.#a.delete(n),this.#l--,r}has(e,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(e);if(s!==void 0){let o=this.#s[s];if(this.#A(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#y(s))i&&(i.has="stale",this.#i(i,s));else return n&&this.#_(s),i&&(i.has="hit",this.#i(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(e);if(i===void 0||!n&&this.#y(i))return;let s=this.#s[i];return this.#A(s)?s.__staleWhileFetching:s}#M(e,r,n,i){let s=r===void 0?void 0:this.#s[r];if(this.#A(s))return s;let o=new aQ,{signal:a}=n;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let c={signal:o.signal,options:n,context:i},l=(E,C=!1)=>{let{aborted:I}=o.signal,R=n.ignoreFetchAbort&&E!==void 0;if(n.status&&(I&&!C?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,R&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),I&&!R&&!C)return u(o.signal.reason);let P=h;return this.#s[r]===h&&(E===void 0?P.__staleWhileFetching?this.#s[r]=P.__staleWhileFetching:this.#v(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,E,c.options))),E},A=E=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=E),u(E)),u=E=>{let{aborted:C}=o.signal,I=C&&n.allowStaleOnFetchAbort,R=I||n.allowStaleOnFetchRejection,P=R||n.noDeleteOnFetchRejection,M=h;if(this.#s[r]===h&&(!P||M.__staleWhileFetching===void 0?this.#v(e,"fetch"):I||(this.#s[r]=M.__staleWhileFetching)),R)return n.status&&M.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),M.__staleWhileFetching;if(M.__returned===M)throw E},d=(E,C)=>{let I=this.#o?.(e,s,c);I&&I instanceof Promise&&I.then(R=>E(R===void 0?void 0:R),C),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(E(void 0),n.allowStaleOnFetchAbort&&(E=R=>l(R,!0)))})};n.status&&(n.status.fetchDispatched=!0);let h=new Promise(d).then(l,A),g=Object.assign(h,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,g,{...c.options,status:void 0}),r=this.#a.get(e)):this.#s[r]=g,g}#A(e){if(!this.#B)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof aQ}async fetch(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:A=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:E,forceRefresh:C=!1,status:I,signal:R}=r;if(!this.#B)return I&&(I.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:I});let P={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:c,sizeCalculation:l,noUpdateTTL:A,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:g,ignoreFetchAbort:h,status:I,signal:R},M=this.#a.get(e);if(M===void 0){I&&(I.fetch="miss");let ee=this.#M(e,M,P,E);return ee.__returned=ee}else{let ee=this.#s[M];if(this.#A(ee)){let $=n&&ee.__staleWhileFetching!==void 0;return I&&(I.fetch="inflight",$&&(I.returnedStale=!0)),$?ee.__staleWhileFetching:ee.__returned=ee}let se=this.#y(M);if(!C&&!se)return I&&(I.fetch="hit"),this.#U(M),i&&this.#_(M),I&&this.#i(I,M),ee;let U=this.#M(e,M,P,E),L=U.__staleWhileFetching!==void 0&&n;return I&&(I.fetch=se?"stale":"refresh",L&&se&&(I.returnedStale=!0)),L?U.__staleWhileFetching:U.__returned=U}}async forceFetch(e,r={}){let n=await this.fetch(e,r);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(e,r={}){let n=this.#C;if(!n)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:s,...o}=r,a=this.get(e,o);if(!s&&a!==void 0)return a;let c=n(e,a,{options:o,context:i});return this.set(e,c,o),c}get(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=r,a=this.#a.get(e);if(a!==void 0){let c=this.#s[a],l=this.#A(c);return o&&this.#i(o,a),this.#y(a)?(o&&(o.get="stale"),l?(o&&n&&c.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?c.__staleWhileFetching:void 0):(s||this.#v(e,"expire"),o&&n&&(o.returnedStale=!0),n?c:void 0)):(o&&(o.get="hit"),l?c.__staleWhileFetching:(this.#U(a),i&&this.#_(a),c))}else o&&(o.get="miss")}#F(e,r){this.#m[r]=e,this.#g[e]=r}#U(e){e!==this.#d&&(e===this.#f?this.#f=this.#g[e]:this.#F(this.#m[e],this.#g[e]),this.#F(this.#d,e),this.#d=e)}delete(e){return this.#v(e,"delete")}#v(e,r){let n=!1;if(this.#l!==0){let i=this.#a.get(e);if(i!==void 0)if(n=!0,this.#l===1)this.#q(r);else{this.#P(i);let s=this.#s[i];if(this.#A(s)?s.__abortController.abort(new Error("deleted")):(this.#I||this.#h)&&(this.#I&&this.#n?.(s,e,r),this.#h&&this.#p?.push([s,e,r])),this.#a.delete(e),this.#c[i]=void 0,this.#s[i]=void 0,i===this.#d)this.#d=this.#m[i];else if(i===this.#f)this.#f=this.#g[i];else{let o=this.#m[i];this.#g[o]=this.#g[i];let a=this.#g[i];this.#m[a]=this.#m[i]}this.#l--,this.#b.push(i)}}if(this.#h&&this.#p?.length){let i=this.#p,s;for(;s=i?.shift();)this.#t?.(...s)}return n}clear(){return this.#q("delete")}#q(e){for(let r of this.#N({allowStale:!0})){let n=this.#s[r];if(this.#A(n))n.__abortController.abort(new Error("deleted"));else{let i=this.#c[r];this.#I&&this.#n?.(n,i,e),this.#h&&this.#p?.push([n,i,e])}}if(this.#a.clear(),this.#s.fill(void 0),this.#c.fill(void 0),this.#E&&this.#Q&&(this.#E.fill(0),this.#Q.fill(0)),this.#w&&this.#w.fill(0),this.#f=0,this.#d=0,this.#b.length=0,this.#u=0,this.#l=0,this.#h&&this.#p){let r=this.#p,n;for(;n=r?.shift();)this.#t?.(...n)}}};cQ.LRUCache=zM});var ZM=f(ni=>{"use strict";var K8e=ni&&ni.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ni,"__esModule",{value:!0});ni.Minipass=ni.isWritable=ni.isReadable=ni.isStream=void 0;var qne=typeof process=="object"&&process?process:{stdout:null,stderr:null},XM=require("node:events"),zne=K8e(require("node:stream")),X8e=require("node:string_decoder"),Z8e=t=>!!t&&typeof t=="object"&&(t instanceof pQ||t instanceof zne.default||(0,ni.isReadable)(t)||(0,ni.isWritable)(t));ni.isStream=Z8e;var e6e=t=>!!t&&typeof t=="object"&&t instanceof XM.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==zne.default.Writable.prototype.pipe;ni.isReadable=e6e;var t6e=t=>!!t&&typeof t=="object"&&t instanceof XM.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function";ni.isWritable=t6e;var _a=Symbol("EOF"),Sa=Symbol("maybeEmitEnd"),Uc=Symbol("emittedEnd"),lQ=Symbol("emittingEnd"),hm=Symbol("emittedError"),AQ=Symbol("closed"),Hne=Symbol("read"),uQ=Symbol("flush"),Gne=Symbol("flushChunk"),Hs=Symbol("encoding"),Xf=Symbol("decoder"),rn=Symbol("flowing"),pm=Symbol("paused"),Zf=Symbol("resume"),nn=Symbol("buffer"),ri=Symbol("pipes"),sn=Symbol("bufferLength"),YM=Symbol("bufferPush"),dQ=Symbol("bufferShift"),kn=Symbol("objectMode"),Sr=Symbol("destroyed"),WM=Symbol("error"),JM=Symbol("emitData"),jne=Symbol("emitEnd"),VM=Symbol("emitEnd2"),Lo=Symbol("async"),$M=Symbol("abort"),fQ=Symbol("aborted"),gm=Symbol("signal"),CA=Symbol("dataListeners"),zi=Symbol("discarded"),mm=t=>Promise.resolve().then(t),r6e=t=>t(),n6e=t=>t==="end"||t==="finish"||t==="prefinish",i6e=t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,s6e=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),hQ=class{src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[Zf](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},KM=class extends hQ{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}},o6e=t=>!!t.objectMode,a6e=t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer",pQ=class extends XM.EventEmitter{[rn]=!1;[pm]=!1;[ri]=[];[nn]=[];[kn];[Hs];[Lo];[Xf];[_a]=!1;[Uc]=!1;[lQ]=!1;[AQ]=!1;[hm]=null;[sn]=0;[Sr]=!1;[gm];[fQ]=!1;[CA]=0;[zi]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");o6e(r)?(this[kn]=!0,this[Hs]=null):a6e(r)?(this[Hs]=r.encoding,this[kn]=!1):(this[kn]=!1,this[Hs]=null),this[Lo]=!!r.async,this[Xf]=this[Hs]?new X8e.StringDecoder(this[Hs]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[nn]}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[ri]});let{signal:n}=r;n&&(this[gm]=n,n.aborted?this[$M]():n.addEventListener("abort",()=>this[$M]()))}get bufferLength(){return this[sn]}get encoding(){return this[Hs]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[kn]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Lo]}set async(e){this[Lo]=this[Lo]||!!e}[$M](){this[fQ]=!0,this.emit("abort",this[gm]?.reason),this.destroy(this[gm]?.reason)}get aborted(){return this[fQ]}set aborted(e){}write(e,r,n){if(this[fQ])return!1;if(this[_a])throw new Error("write after end");if(this[Sr])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Lo]?mm:r6e;if(!this[kn]&&!Buffer.isBuffer(e)){if(s6e(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(i6e(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[kn]?(this[rn]&&this[sn]!==0&&this[uQ](!0),this[rn]?this.emit("data",e):this[YM](e),this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn]):e.length?(typeof e=="string"&&!(r===this[Hs]&&!this[Xf]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Hs]&&(e=this[Xf].write(e)),this[rn]&&this[sn]!==0&&this[uQ](!0),this[rn]?this.emit("data",e):this[YM](e),this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn]):(this[sn]!==0&&this.emit("readable"),n&&i(n),this[rn])}read(e){if(this[Sr])return null;if(this[zi]=!1,this[sn]===0||e===0||e&&e>this[sn])return this[Sa](),null;this[kn]&&(e=null),this[nn].length>1&&!this[kn]&&(this[nn]=[this[Hs]?this[nn].join(""):Buffer.concat(this[nn],this[sn])]);let r=this[Hne](e||null,this[nn][0]);return this[Sa](),r}[Hne](e,r){if(this[kn])this[dQ]();else{let n=r;e===n.length||e===null?this[dQ]():typeof n=="string"?(this[nn][0]=n.slice(e),r=n.slice(0,e),this[sn]-=e):(this[nn][0]=n.subarray(e),r=n.subarray(0,e),this[sn]-=e)}return this.emit("data",r),!this[nn].length&&!this[_a]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[_a]=!0,this.writable=!1,(this[rn]||!this[pm])&&this[Sa](),this}[Zf](){this[Sr]||(!this[CA]&&!this[ri].length&&(this[zi]=!0),this[pm]=!1,this[rn]=!0,this.emit("resume"),this[nn].length?this[uQ]():this[_a]?this[Sa]():this.emit("drain"))}resume(){return this[Zf]()}pause(){this[rn]=!1,this[pm]=!0,this[zi]=!1}get destroyed(){return this[Sr]}get flowing(){return this[rn]}get paused(){return this[pm]}[YM](e){this[kn]?this[sn]+=1:this[sn]+=e.length,this[nn].push(e)}[dQ](){return this[kn]?this[sn]-=1:this[sn]-=this[nn][0].length,this[nn].shift()}[uQ](e=!1){do;while(this[Gne](this[dQ]())&&this[nn].length);!e&&!this[nn].length&&!this[_a]&&this.emit("drain")}[Gne](e){return this.emit("data",e),this[rn]}pipe(e,r){if(this[Sr])return e;this[zi]=!1;let n=this[Uc];return r=r||{},e===qne.stdout||e===qne.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[ri].push(r.proxyErrors?new KM(this,e,r):new hQ(this,e,r)),this[Lo]?mm(()=>this[Zf]()):this[Zf]()),e}unpipe(e){let r=this[ri].find(n=>n.dest===e);r&&(this[ri].length===1?(this[rn]&&this[CA]===0&&(this[rn]=!1),this[ri]=[]):this[ri].splice(this[ri].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[zi]=!1,this[CA]++,!this[ri].length&&!this[rn]&&this[Zf]();else if(e==="readable"&&this[sn]!==0)super.emit("readable");else if(n6e(e)&&this[Uc])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[hm]){let i=r;this[Lo]?mm(()=>i.call(this,this[hm])):i.call(this,this[hm])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[CA]=this.listeners("data").length,this[CA]===0&&!this[zi]&&!this[ri].length&&(this[rn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[CA]=0,!this[zi]&&!this[ri].length&&(this[rn]=!1)),r}get emittedEnd(){return this[Uc]}[Sa](){!this[lQ]&&!this[Uc]&&!this[Sr]&&this[nn].length===0&&this[_a]&&(this[lQ]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[AQ]&&this.emit("close"),this[lQ]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==Sr&&this[Sr])return!1;if(e==="data")return!this[kn]&&!n?!1:this[Lo]?(mm(()=>this[JM](n)),!0):this[JM](n);if(e==="end")return this[jne]();if(e==="close"){if(this[AQ]=!0,!this[Uc]&&!this[Sr])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[hm]=n,super.emit(WM,n);let s=!this[gm]||this.listeners("error").length?super.emit("error",n):!1;return this[Sa](),s}else if(e==="resume"){let s=super.emit("resume");return this[Sa](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[Sa](),i}[JM](e){for(let n of this[ri])n.dest.write(e)===!1&&this.pause();let r=this[zi]?!1:super.emit("data",e);return this[Sa](),r}[jne](){return this[Uc]?!1:(this[Uc]=!0,this.readable=!1,this[Lo]?(mm(()=>this[VM]()),!0):this[VM]())}[VM](){if(this[Xf]){let r=this[Xf].end();if(r){for(let n of this[ri])n.dest.write(r);this[zi]||super.emit("data",r)}}for(let r of this[ri])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[kn]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[kn]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[kn])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Hs]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(Sr,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[zi]=!1;let e=!1,r=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[_a])return r();let s,o,a=u=>{this.off("data",c),this.off("end",l),this.off(Sr,A),r(),o(u)},c=u=>{this.off("error",a),this.off("end",l),this.off(Sr,A),this.pause(),s({value:u,done:!!this[_a]})},l=()=>{this.off("error",a),this.off("data",c),this.off(Sr,A),r(),s({done:!0,value:void 0})},A=()=>a(new Error("stream destroyed"));return new Promise((u,d)=>{o=d,s=u,this.once(Sr,A),this.once("error",a),this.once("end",l),this.once("data",c)})},throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[zi]=!1;let e=!1,r=()=>(this.pause(),this.off(WM,r),this.off(Sr,r),this.off("end",r),e=!0,{done:!0,value:void 0}),n=()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}};return this.once("end",r),this.once(WM,r),this.once(Sr,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[Sr])return e?this.emit("error",e):this.emit(Sr),this;this[Sr]=!0,this[zi]=!0,this[nn].length=0,this[sn]=0;let r=this;return typeof r.close=="function"&&!this[AQ]&&r.close(),e?this.emit("error",e):this.emit(Sr),this}static get isStream(){return ni.isStream}};ni.Minipass=pQ});var oie=f(Qt=>{"use strict";var c6e=Qt&&Qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),l6e=Qt&&Qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),A6e=Qt&&Qt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&c6e(e,t,r);return l6e(e,t),e};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.PathScurry=Qt.Path=Qt.PathScurryDarwin=Qt.PathScurryPosix=Qt.PathScurryWin32=Qt.PathScurryBase=Qt.PathPosix=Qt.PathWin32=Qt.PathBase=Qt.ChildrenCache=Qt.ResolveCache=void 0;var Kne=Une(),CQ=require("node:path"),u6e=require("node:url"),Em=require("fs"),d6e=A6e(require("node:fs")),f6e=Em.realpathSync.native,gQ=require("node:fs/promises"),Yne=ZM(),Cm={lstatSync:Em.lstatSync,readdir:Em.readdir,readdirSync:Em.readdirSync,readlinkSync:Em.readlinkSync,realpathSync:f6e,promises:{lstat:gQ.lstat,readdir:gQ.readdir,readlink:gQ.readlink,realpath:gQ.realpath}},Xne=t=>!t||t===Cm||t===d6e?Cm:{...Cm,...t,promises:{...Cm.promises,...t.promises||{}}},Zne=/^\\\\\?\\([a-z]:)\\?$/i,h6e=t=>t.replace(/\//g,"\\").replace(Zne,"$1\\"),p6e=/[\\\/]/,bs=0,eie=1,tie=2,Mo=4,rie=6,nie=8,IA=10,iie=12,Bs=15,ym=~Bs,eF=16,Wne=32,Im=64,Gs=128,mQ=256,EQ=512,Jne=Im|Gs|EQ,g6e=1023,tF=t=>t.isFile()?nie:t.isDirectory()?Mo:t.isSymbolicLink()?IA:t.isCharacterDevice()?tie:t.isBlockDevice()?rie:t.isSocket()?iie:t.isFIFO()?eie:bs,Vne=new Map,Bm=t=>{let e=Vne.get(t);if(e)return e;let r=t.normalize("NFKD");return Vne.set(t,r),r},$ne=new Map,yQ=t=>{let e=$ne.get(t);if(e)return e;let r=Bm(t.toLowerCase());return $ne.set(t,r),r},bm=class extends Kne.LRUCache{constructor(){super({max:256})}};Qt.ResolveCache=bm;var IQ=class extends Kne.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:r=>r.length+1})}};Qt.ChildrenCache=IQ;var sie=Symbol("PathScurry setAsCwd"),gn=class{name;root;roots;parent;nocase;isCWD=!1;#e;#r;get dev(){return this.#r}#n;get mode(){return this.#n}#t;get nlink(){return this.#t}#o;get uid(){return this.#o}#C;get gid(){return this.#C}#l;get rdev(){return this.#l}#u;get blksize(){return this.#u}#a;get ino(){return this.#a}#c;get size(){return this.#c}#s;get blocks(){return this.#s}#g;get atimeMs(){return this.#g}#m;get mtimeMs(){return this.#m}#f;get ctimeMs(){return this.#f}#d;get birthtimeMs(){return this.#d}#b;get atime(){return this.#b}#p;get mtime(){return this.#p}#w;get ctime(){return this.#w}#Q;get birthtime(){return this.#Q}#E;#I;#B;#h;#R;#_;#i;#T;#y;#x;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=bs,n,i,s,o,a){this.name=e,this.#E=s?yQ(e):Bm(e),this.#i=r&g6e,this.nocase=s,this.roots=i,this.root=n||this,this.#T=o,this.#B=a.fullpath,this.#R=a.relative,this.#_=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=Xne(a.fs)}depth(){return this.#I!==void 0?this.#I:this.parent?this.#I=this.parent.depth()+1:this.#I=0}childrenCache(){return this.#T}resolve(e){if(!e)return this;let r=this.getRootString(e),i=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#P(i):this.#P(i)}#P(e){let r=this;for(let n of e)r=r.child(n);return r}children(){let e=this.#T.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#T.set(this,r),this.#i&=~eF,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?yQ(e):Bm(e);for(let c of n)if(c.#E===i)return c;let s=this.parent?this.sep:"",o=this.#B?this.#B+s+e:void 0,a=this.newChild(e,bs,{...r,parent:this,fullpath:o});return this.canReaddir()||(a.#i|=Gs),n.push(a),a}relative(){if(this.isCWD)return"";if(this.#R!==void 0)return this.#R;let e=this.name,r=this.parent;if(!r)return this.#R=this.name;let n=r.relative();return n+(!n||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#_!==void 0)return this.#_;let e=this.name,r=this.parent;if(!r)return this.#_=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+e}fullpath(){if(this.#B!==void 0)return this.#B;let e=this.name,r=this.parent;if(!r)return this.#B=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+e;return this.#B=i}fullpathPosix(){if(this.#h!==void 0)return this.#h;if(this.sep==="/")return this.#h=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#h=`//?/${i}`:this.#h=i}let e=this.parent,r=e.fullpathPosix(),n=r+(!r||!e.parent?"":"/")+this.name;return this.#h=n}isUnknown(){return(this.#i&Bs)===bs}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#i&Bs)===nie}isDirectory(){return(this.#i&Bs)===Mo}isCharacterDevice(){return(this.#i&Bs)===tie}isBlockDevice(){return(this.#i&Bs)===rie}isFIFO(){return(this.#i&Bs)===eie}isSocket(){return(this.#i&Bs)===iie}isSymbolicLink(){return(this.#i&IA)===IA}lstatCached(){return this.#i&Wne?this:void 0}readlinkCached(){return this.#y}realpathCached(){return this.#x}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#y)return!0;if(!this.parent)return!1;let e=this.#i&Bs;return!(e!==bs&&e!==IA||this.#i&mQ||this.#i&Gs)}calledReaddir(){return!!(this.#i&eF)}isENOENT(){return!!(this.#i&Gs)}isNamed(e){return this.nocase?this.#E===yQ(e):this.#E===Bm(e)}async readlink(){let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#y=n}catch(r){this.#A(r.code);return}}readlinkSync(){let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#y=n}catch(r){this.#A(r.code);return}}#D(e){this.#i|=eF;for(let r=e.provisional;rn(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#G.push(e),this.#j)return;this.#j=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,o)=>{if(s)this.#L(s.code),n.provisional=0;else{for(let a of o)this.#F(a,n);this.#D(n)}this.#Y(n.slice(0,n.provisional))})}#H;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#H)await this.#H;else{let n=()=>{};this.#H=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#F(i,e);this.#D(e)}catch(i){this.#L(i.code),e.provisional=0}this.#H=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#F(n,e);this.#D(e)}catch(n){this.#L(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#i&Jne)return!1;let e=Bs&this.#i;return e===bs||e===Mo||e===IA}shouldWalk(e,r){return(this.#i&Mo)===Mo&&!(this.#i&Jne)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#x)return this.#x;if(!((EQ|mQ|Gs)&this.#i))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#x=this.resolve(e)}catch{this.#N()}}realpathSync(){if(this.#x)return this.#x;if(!((EQ|mQ|Gs)&this.#i))try{let e=this.#e.realpathSync(this.fullpath());return this.#x=this.resolve(e)}catch{this.#N()}}[sie](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#R=n.join(this.sep),i.#_=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!r.has(i);)i.#R=void 0,i.#_=void 0,i=i.parent}};Qt.PathBase=gn;var wm=class t extends gn{sep="\\";splitSep=p6e;constructor(e,r=bs,n,i,s,o,a){super(e,r,n,i,s,o,a)}newChild(e,r=bs,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return CQ.win32.parse(e).root}getRoot(e){if(e=h6e(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=n;return this.roots[e]=new Sm(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(Zne,"$1\\"),e===r}};Qt.PathWin32=wm;var Qm=class t extends gn{splitSep="/";sep="/";constructor(e,r=bs,n,i,s,o,a){super(e,r,n,i,s,o,a)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=bs,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};Qt.PathPosix=Qm;var _m=class{root;rootPath;roots;cwd;#e;#r;#n;nocase;#t;constructor(e=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:o=Cm}={}){this.#t=Xne(o),(e instanceof URL||e.startsWith("file://"))&&(e=(0,u6e.fileURLToPath)(e));let a=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new bm,this.#r=new bm,this.#n=new IQ(s);let c=a.substring(this.rootPath.length).split(n);if(c.length===1&&!c[0]&&c.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#t),this.roots[this.rootPath]=this.root;let l=this.root,A=c.length-1,u=r.sep,d=this.rootPath,h=!1;for(let g of c){let E=A--;l=l.child(g,{relative:new Array(E).fill("..").join(u),relativePosix:new Array(E).fill("..").join("/"),fullpath:d+=(h?"":u)+g}),h=!0}this.cwd=l}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...e){let r="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#r.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#r.set(r,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n}=r;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0}=r;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=await e.readlink();return r?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return r?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=await e.realpath();return r?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return r?n:n?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let c=new Set,l=(u,d)=>{c.add(u),u.readdirCB((h,g)=>{if(h)return d(h);let E=g.length;if(!E)return d();let C=()=>{--E===0&&d()};for(let I of g)(!s||s(I))&&a.push(n?I:I.fullpath()),i&&I.isSymbolicLink()?I.realpath().then(R=>R?.isUnknown()?R.lstat():R).then(R=>R?.shouldWalk(c,o)?l(R,C):C()):I.shouldWalk(c,o)?l(I,C):C()},!0)},A=e;return new Promise((u,d)=>{l(A,h=>{if(h)return d(h);u(a)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let c=new Set([e]);for(let l of c){let A=l.readdirSync();for(let u of A){(!s||s(u))&&a.push(n?u:u.fullpath());let d=u;if(u.isSymbolicLink()){if(!(i&&(d=u.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(c,o)&&c.add(d)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r;(!s||s(e))&&(yield n?e:e.fullpath());let a=new Set([e]);for(let c of a){let l=c.readdirSync();for(let A of l){(!s||s(A))&&(yield n?A:A.fullpath());let u=A;if(A.isSymbolicLink()){if(!(i&&(u=A.realpathSync())))continue;u.isUnknown()&&u.lstatSync()}u.shouldWalk(a,o)&&a.add(u)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new Yne.Minipass({objectMode:!0});(!s||s(e))&&a.write(n?e:e.fullpath());let c=new Set,l=[e],A=0,u=()=>{let d=!1;for(;!d;){let h=l.shift();if(!h){A===0&&a.end();return}A++,c.add(h);let g=(C,I,R=!1)=>{if(C)return a.emit("error",C);if(i&&!R){let P=[];for(let M of I)M.isSymbolicLink()&&P.push(M.realpath().then(ee=>ee?.isUnknown()?ee.lstat():ee));if(P.length){Promise.all(P).then(()=>g(null,I,!0));return}}for(let P of I)P&&(!s||s(P))&&(a.write(n?P:P.fullpath())||(d=!0));A--;for(let P of I){let M=P.realpathCached()||P;M.shouldWalk(c,o)&&l.push(M)}d&&!a.flowing?a.once("drain",u):E||u()},E=!0;h.readdirCB(g,!0),E=!1}};return u(),a}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof gn||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new Yne.Minipass({objectMode:!0}),c=new Set;(!s||s(e))&&a.write(n?e:e.fullpath());let l=[e],A=0,u=()=>{let d=!1;for(;!d;){let h=l.shift();if(!h){A===0&&a.end();return}A++,c.add(h);let g=h.readdirSync();for(let E of g)(!s||s(E))&&(a.write(n?E:E.fullpath())||(d=!0));A--;for(let E of g){let C=E;if(E.isSymbolicLink()){if(!(i&&(C=E.realpathSync())))continue;C.isUnknown()&&C.lstatSync()}C.shouldWalk(c,o)&&l.push(C)}}d&&!a.flowing&&a.once("drain",u)};return u(),a}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[sie](r)}};Qt.PathScurryBase=_m;var Sm=class extends _m{sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,CQ.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return CQ.win32.parse(e).root.toUpperCase()}newRoot(e){return new wm(this.rootPath,Mo,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Qt.PathScurryWin32=Sm;var Nm=class extends _m{sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,CQ.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new Qm(this.rootPath,Mo,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Qt.PathScurryPosix=Nm;var BQ=class extends Nm{constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};Qt.PathScurryDarwin=BQ;Qt.Path=process.platform==="win32"?wm:Qm;Qt.PathScurry=process.platform==="win32"?Sm:process.platform==="darwin"?BQ:Nm});var nF=f(bQ=>{"use strict";Object.defineProperty(bQ,"__esModule",{value:!0});bQ.Pattern=void 0;var m6e=Mc(),y6e=t=>t.length>=1,E6e=t=>t.length>=1,rF=class t{#e;#r;#n;length;#t;#o;#C;#l;#u;#a;#c=!0;constructor(e,r,n,i){if(!y6e(e))throw new TypeError("empty pattern list");if(!E6e(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#r=r,this.#n=n,this.#t=i,this.#n===0){if(this.isUNC()){let[s,o,a,c,...l]=this.#e,[A,u,d,h,...g]=this.#r;l[0]===""&&(l.shift(),g.shift());let E=[s,o,a,c,""].join("/"),C=[A,u,d,h,""].join("/");this.#e=[E,...l],this.#r=[C,...g],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...c]=this.#r;o[0]===""&&(o.shift(),c.shift());let l=s+"/",A=a+"/";this.#e=[l,...o],this.#r=[A,...c],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===m6e.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#C=this.#C||(this.#n===0?this.isAbsolute()?this.#r[0]+this.#r.slice(1).join("/"):this.#r.join("/"):this.#r.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new t(this.#e,this.#r,this.#n+1,this.#t),this.#o.#a=this.#a,this.#o.#u=this.#u,this.#o.#l=this.#l,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#u!==void 0?this.#u:this.#u=this.#t==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#t==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#c)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#c?!1:(this.#c=!1,!0)}};bQ.Pattern=rF});var sF=f(wQ=>{"use strict";Object.defineProperty(wQ,"__esModule",{value:!0});wQ.Ignore=void 0;var aie=Mc(),C6e=nF(),I6e=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",iF=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:o=I6e}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let a of e)this.add(a)}add(e){let r=new aie.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.Processor=Fo.SubWalks=Fo.MatchRecord=Fo.HasWalkedCache=void 0;var cie=Mc(),QQ=class t{store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let n=e.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};Fo.HasWalkedCache=QQ;var _Q=class{store=new Map;add(e,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};Fo.MatchRecord=_Q;var SQ=class{store=new Map;add(e,r){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};Fo.SubWalks=SQ;var oF=class t{hasWalkedCache;matches=new _Q;subwalks=new SQ;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new QQ}processPatterns(e,r){this.patterns=r;let n=r.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let u=s.rest();if(u)s=u;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let c,l,A=!1;for(;typeof(c=s.pattern())=="string"&&(l=s.rest());)i=i.resolve(c),s=l,A=!0;if(c=s.pattern(),l=s.rest(),A){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof c=="string"){let u=c===".."||c===""||c===".";this.matches.add(i.resolve(c),a,u);continue}else if(c===cie.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let u=l?.pattern(),d=l?.rest();if(!l||(u===""||u===".")&&!d)this.matches.add(i,a,u===""||u===".");else if(u===".."){let h=i.parent||i;d?this.hasWalkedCache.hasWalked(h,d)||this.subwalks.add(h,d):this.matches.add(h,a,!0)}}else c instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let n=this.subwalks.get(e),i=this.child();for(let s of r)for(let o of n){let a=o.isAbsolute(),c=o.pattern(),l=o.rest();c===cie.GLOBSTAR?i.testGlobstar(s,o,l,a):c instanceof RegExp?i.testRegExp(s,c,l,a):i.testString(s,c,l,a)}return i}testGlobstar(e,r,n,i){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(e,n):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let o=e.parent||e;this.subwalks.add(o,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,r,n,i){r.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,r,n,i){e.isNamed(r)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};Fo.Processor=oF});var die=f(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.GlobStream=qc.GlobWalker=qc.GlobUtil=void 0;var B6e=ZM(),Aie=sF(),uie=lie(),b6e=(t,e)=>typeof t=="string"?new Aie.Ignore([t],e):Array.isArray(t)?new Aie.Ignore(t,e):t,Rm=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#r;#n;signal;maxDepth;includeChildMatches;constructor(e,r,n){if(this.patterns=e,this.path=r,this.opts=n,this.#n=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#r=b6e(n.ignore??[],n),!this.includeChildMatches&&typeof this.#r.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#t(e){return this.seen.has(e)||!!this.#r?.ignored?.(e)}#o(e){return!!this.#r?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#t(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=s.realpathSync();o&&(o?.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(e,r){if(this.#t(e))return;if(!this.includeChildMatches&&this.#r?.add){let s=`${e.relativePosix()}/**`;this.#r.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?e.relativePosix():e.relative(),o=this.opts.dotRelative&&!s.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(s?o+s+i:"."+i)}}async match(e,r,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,r)}matchSync(e,r,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,r)}walkCB(e,r,n){this.signal?.aborted&&n(),this.walkCB2(e,r,new uie.Processor(this.opts),n)}walkCB2(e,r,n,i){if(this.#o(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,r,n,i));return}n.processPatterns(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||(s++,this.match(a,c,l).then(()=>o()));for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirCached();a.calledReaddir()?this.walkCB3(a,c,n,o):a.readdirCB((l,A)=>this.walkCB3(a,A,n,o),!0)}o()}walkCB3(e,r,n,i){n=n.filterEntries(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||(s++,this.match(a,c,l).then(()=>o()));for(let[a,c]of n.subwalks.entries())s++,this.walkCB2(a,c,n.child(),o);o()}walkCBSync(e,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,r,new uie.Processor(this.opts),n)}walkCB2Sync(e,r,n,i){if(this.#o(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,n,i));return}n.processPatterns(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||this.matchSync(a,c,l);for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirSync();this.walkCB3Sync(a,c,n,o)}o()}walkCB3Sync(e,r,n,i){n=n.filterEntries(e,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,l]of n.matches.entries())this.#t(a)||this.matchSync(a,c,l);for(let[a,c]of n.subwalks.entries())s++,this.walkCB2Sync(a,c,n.child(),o);o()}};qc.GlobUtil=Rm;var aF=class extends Rm{matches=new Set;constructor(e,r,n){super(e,r,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};qc.GlobWalker=aF;var cF=class extends Rm{results;constructor(e,r,n){super(e,r,n),this.results=new B6e.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};qc.GlobStream=cF});var AF=f(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.Glob=void 0;var w6e=Mc(),Q6e=require("node:url"),NQ=oie(),_6e=nF(),RQ=die(),S6e=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",lF=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,Q6e.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(c=>c.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(c=>c.includes("/")?c:`./**/${c}`)}if(this.pattern=e,this.platform=r.platform||S6e,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let c=r.platform==="win32"?NQ.PathScurryWin32:r.platform==="darwin"?NQ.PathScurryDarwin:r.platform?NQ.PathScurryPosix:NQ.PathScurry;this.scurry=new c(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(c=>new w6e.Minimatch(c,i)),[o,a]=s.reduce((c,l)=>(c[0].push(...l.set),c[1].push(...l.globParts),c),[[],[]]);this.patterns=o.map((c,l)=>{let A=a[l];if(!A)throw new Error("invalid pattern object");return new _6e.Pattern(c,A,0,this.platform)})}async walk(){return[...await new RQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new RQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new RQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new RQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};xQ.Glob=lF});var uF=f(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.hasMagic=void 0;var N6e=Mc(),R6e=(t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new N6e.Minimatch(r,e).hasMagic())return!0;return!1};vQ.hasMagic=R6e});var gie=f(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.glob=ot.sync=ot.iterate=ot.iterateSync=ot.stream=ot.streamSync=ot.Ignore=ot.hasMagic=ot.Glob=ot.unescape=ot.escape=void 0;ot.globStreamSync=xm;ot.globStream=dF;ot.globSync=fF;ot.globIterateSync=vm;ot.globIterate=hF;var fie=Mc(),BA=AF(),x6e=uF(),pie=Mc();Object.defineProperty(ot,"escape",{enumerable:!0,get:function(){return pie.escape}});Object.defineProperty(ot,"unescape",{enumerable:!0,get:function(){return pie.unescape}});var v6e=AF();Object.defineProperty(ot,"Glob",{enumerable:!0,get:function(){return v6e.Glob}});var T6e=uF();Object.defineProperty(ot,"hasMagic",{enumerable:!0,get:function(){return T6e.hasMagic}});var P6e=sF();Object.defineProperty(ot,"Ignore",{enumerable:!0,get:function(){return P6e.Ignore}});function xm(t,e={}){return new BA.Glob(t,e).streamSync()}function dF(t,e={}){return new BA.Glob(t,e).stream()}function fF(t,e={}){return new BA.Glob(t,e).walkSync()}async function hie(t,e={}){return new BA.Glob(t,e).walk()}function vm(t,e={}){return new BA.Glob(t,e).iterateSync()}function hF(t,e={}){return new BA.Glob(t,e).iterate()}ot.streamSync=xm;ot.stream=Object.assign(dF,{sync:xm});ot.iterateSync=vm;ot.iterate=Object.assign(hF,{sync:vm});ot.sync=Object.assign(fF,{stream:xm,iterate:vm});ot.glob=Object.assign(hie,{glob:hie,globSync:fF,sync:ot.sync,globStream:dF,stream:ot.stream,globStreamSync:xm,streamSync:ot.streamSync,globIterate:hF,iterate:ot.iterate,globIterateSync:vm,iterateSync:ot.iterateSync,Glob:BA.Glob,hasMagic:x6e.hasMagic,escape:fie.escape,unescape:fie.unescape});ot.glob.glob=ot.glob});var Cie=f((Edt,Eie)=>{var yie=OO(),eh=require("path"),pF=jte(),D6e=sne(),k6e=gne(),O6e=bne(),L6e=gie(),bA=Eie.exports={},mie=/[\/\\]/g,M6e=function(t,e){var r=[];return pF(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=D6e(r,s):r=k6e(r,s)}),r};bA.exists=function(){var t=eh.join.apply(eh,arguments);return yie.existsSync(t)};bA.expand=function(...t){var e=O6e(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=M6e(r,function(i){return L6e.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=eh.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):yie.statSync(i)[e.filter]()}catch{return!1}})),n};bA.expandMapping=function(t,e,r){r=Object.assign({rename:function(s,o){return eh.join(s||"",o)}},r);var n=[],i={};return bA.expand(r,t).forEach(function(s){var o=s;r.flatten&&(o=eh.basename(o)),r.ext&&(o=o.replace(/(\.[^\/]*)?$/,r.ext));var a=r.rename(e,o,r);r.cwd&&(s=eh.join(r.cwd,s)),a=a.replace(mie,"/"),s=s.replace(mie,"/"),i[a]?i[a].src.push(s):(n.push({src:[s],dest:a}),i[a]=n[n.length-1])}),n};bA.normalizeFilesArray=function(t){var e=[];return t.forEach(function(r){var n;("src"in r||"dest"in r)&&e.push(r)}),e.length===0?[]:(e=_(e).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=pF(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return bA.expandMapping(r.src,r.dest,n).map(function(s){var o=Object.assign({},r);return o.orig=Object.assign({},r),o.src=s.src,o.dest=s.dest,["expand","cwd","flatten","rename","ext"].forEach(function(a){delete o[a]}),o});var i=Object.assign({},r);return i.orig=Object.assign({},r),"src"in i&&Object.defineProperty(i,"src",{enumerable:!0,get:function s(){var o;return"result"in s||(o=r.src,o=Array.isArray(o)?pF(o):[o],s.result=bA.expand(n,o)),s.result}}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var th=f((Idt,bie)=>{var gF=OO(),Iie=require("path"),F6e=X0(),U6e=WK(),Bie=oL(),q6e=SZ(),Cdt=require("stream").Stream,H6e=yA().PassThrough,Yi=bie.exports={};Yi.file=Cie();Yi.collectStream=function(t,e){var r=[],n=0;t.on("error",e),t.on("data",function(i){r.push(i),n+=i.length}),t.on("end",function(){var i=Buffer.alloc(n),s=0;r.forEach(function(o){o.copy(i,s),s+=o.length}),e(null,i)})};Yi.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};Yi.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},q6e(...n)};Yi.isStream=function(t){return F6e(t)};Yi.lazyReadStream=function(t){return new U6e.Readable(function(){return gF.createReadStream(t)})};Yi.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):Yi.isStream(t)?t.pipe(new H6e):t};Yi.sanitizePath=function(t){return Bie(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};Yi.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};Yi.unixifyPath=function(t){return Bie(t,!1).replace(/^\w+:/,"")};Yi.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),gF.readdir(t,function(i,s){var o=0,a,c;if(i)return r(i);(function l(){if(a=s[o++],!a)return r(null,n);c=Iie.join(t,a),gF.stat(c,function(A,u){n.push({path:c,relative:Iie.relative(e,c).replace(/\\/g,"/"),stats:u}),u&&u.isDirectory()?Yi.walkdir(c,e,function(d,h){if(d)return r(d);h.forEach(function(g){n.push(g)}),l()}):l()})})()})}});var Sie=f((Qie,_ie)=>{var G6e=require("util"),j6e={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function wie(t,e){Error.captureStackTrace(this,this.constructor),this.message=j6e[t]||t,this.code=t,this.data=e}G6e.inherits(wie,Error);Qie=_ie.exports=wie});var Tie=f((Bdt,vie)=>{var EF=require("fs"),Rie=L$(),Nie=F$(),mF=require("path"),Uo=th(),z6e=require("util").inherits,Br=Sie(),xie=yA().Transform,yF=process.platform==="win32",pt=function(t,e){if(!(this instanceof pt))return new pt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=Uo.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),xie.call(this,e),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=Nie.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=Nie.queue(this._onStatQueueTask.bind(this),e.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};z6e(pt,xie);pt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};pt.prototype._append=function(t,e){e=e||{};var r={source:null,filepath:t};e.name||(e.name=t),e.sourcePath=t,r.data=e,this._entriesCount++,e.stats&&e.stats instanceof EF.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};pt.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};pt.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};pt.prototype._moduleAppend=function(t,e,r){if(this._state.aborted){r();return}this._module.append(t,e,function(n){if(this._task=null,this._state.aborted){this._shutdown();return}if(n){this.emit("error",n),setImmediate(r);return}this.emit("entry",e),this._entriesProcessedCount++,e.stats&&e.stats.size&&(this._fsEntriesProcessedBytes+=e.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};pt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new Br("NOENDMETHOD"))};pt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};pt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};pt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};pt.prototype._normalizeEntryData=function(t,e){t=Uo.defaults(t,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),e&&t.stats===!1&&(t.stats=e);var r=t.type==="directory";return t.name&&(typeof t.prefix=="string"&&t.prefix!==""&&(t.name=t.prefix+"/"+t.name,t.prefix=null),t.name=Uo.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?yF?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(yF?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,yF&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=Uo.dateify(t.date),t};pt.prototype._onModuleError=function(t){this.emit("error",t)};pt.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};pt.prototype._onQueueTask=function(t,e){var r=()=>{t.data.callback&&t.data.callback(),e()};if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=t,this._moduleAppend(t.source,t.data,r)};pt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}EF.lstat(t.filepath,function(r,n){if(this._state.aborted){setImmediate(e);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(e);return}t=this._updateQueueTaskWithStats(t,n),t&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(t)),setImmediate(e)}.bind(this))};pt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};pt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};pt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=Uo.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=Uo.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=Uo.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=EF.readlinkSync(t.filepath),n=mF.dirname(t.filepath);t.data.type="symlink",t.data.linkname=mF.relative(n,mF.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new Br("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new Br("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new Br("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};pt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};pt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new Br("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new Br("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=Uo.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if(Uo.isStream(t))e.sourceType="stream";else return this.emit("error",new Br("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};pt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new Br("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,e===!1?e="":typeof e!="string"&&(e=t);var n=!1;typeof r=="function"?(n=r,r={}):typeof r!="object"&&(r={});var i={stat:!0,dot:!0};function s(){this._pending--,this._maybeFinalize()}function o(l){this.emit("error",l)}function a(l){c.pause();var A=!1,u=Object.assign({},r);u.name=l.relative,u.prefix=e,u.stats=l.stat,u.callback=c.resume.bind(c);try{if(n){if(u=n(u),u===!1)A=!0;else if(typeof u!="object")throw new Br("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:t})}}catch(d){this.emit("error",d);return}if(A){c.resume();return}this._append(l.absolute,u)}var c=Rie(t,i);return c.on("error",o.bind(this)),c.on("match",a.bind(this)),c.on("end",s.bind(this)),this};pt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new Br("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new Br("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};pt.prototype.glob=function(t,e,r){this._pending++,e=Uo.defaults(e,{stat:!0,pattern:t});function n(){this._pending--,this._maybeFinalize()}function i(a){this.emit("error",a)}function s(a){o.pause();var c=Object.assign({},r);c.callback=o.resume.bind(o),c.stats=a.stat,c.name=a.relative,this._append(a.absolute,c)}var o=Rie(e.cwd||".",e);return o.on("error",i.bind(this)),o.on("match",s.bind(this)),o.on("end",n.bind(this)),this};pt.prototype.finalize=function(){if(this._state.aborted){var t=new Br("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new Br("FINALIZING");return this.emit("error",e),Promise.reject(e)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(n,i){var s;r._module.on("end",function(){s||n()}),r._module.on("error",function(o){s=!0,i(o)})})};pt.prototype.setFormat=function(t){return this._format?(this.emit("error",new Br("FORMATSET")),this):(this._format=t,this)};pt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new Br("ABORTED")),this):this._state.module?(this.emit("error",new Br("MODULESET")),this):(this._module=t,this._modulePipe(),this)};pt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new Br("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new Br("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new Br("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new Br("SYMLINKNOTSUPPORTED",{filepath:t})),this;var n={};return n.type="symlink",n.name=t.replace(/\\/g,"/"),n.linkname=e.replace(/\\/g,"/"),n.sourceType="buffer",typeof r=="number"&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this};pt.prototype.pointer=function(){return this._pointer};pt.prototype.use=function(t){return this._streams.push(t),this};vie.exports=pt});var PQ=f((bdt,Pie)=>{var TQ=Pie.exports=function(){};TQ.prototype.getName=function(){};TQ.prototype.getSize=function(){};TQ.prototype.getLastModifiedDate=function(){};TQ.prototype.isDirectory=function(){}});var DQ=f((wdt,Die)=>{var ws=Die.exports={};ws.dateToDos=function(t,e){e=e||!1;var r=e?t.getFullYear():t.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var n={year:r,month:e?t.getMonth():t.getUTCMonth(),date:e?t.getDate():t.getUTCDate(),hours:e?t.getHours():t.getUTCHours(),minutes:e?t.getMinutes():t.getUTCMinutes(),seconds:e?t.getSeconds():t.getUTCSeconds()};return n.year-1980<<25|n.month+1<<21|n.date<<16|n.hours<<11|n.minutes<<5|n.seconds/2};ws.dosToDate=function(t){return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(t&31)<<1)};ws.fromDosTime=function(t){return ws.dosToDate(t.readUInt32LE(0))};ws.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};ws.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};ws.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};ws.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};ws.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};ws.toDosTime=function(t){return ws.getLongBytes(ws.dateToDos(t))}});var CF=f((Qdt,Uie)=>{var kie=DQ(),Oie=8,Lie=1,Y6e=4,W6e=2,Mie=64,Fie=2048,mn=Uie.exports=function(){return this instanceof mn?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new mn};mn.prototype.encode=function(){return kie.getShortBytes((this.descriptor?Oie:0)|(this.utf8?Fie:0)|(this.encryption?Lie:0)|(this.strongEncryption?Mie:0))};mn.prototype.parse=function(t,e){var r=kie.getShortBytesValue(t,e),n=new mn;return n.useDataDescriptor((r&Oie)!==0),n.useUTF8ForNames((r&Fie)!==0),n.useStrongEncryption((r&Mie)!==0),n.useEncryption((r&Lie)!==0),n.setSlidingDictionarySize((r&W6e)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&Y6e)!==0?3:2),n};mn.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};mn.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};mn.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};mn.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};mn.prototype.useDataDescriptor=function(t){this.descriptor=t};mn.prototype.usesDataDescriptor=function(){return this.descriptor};mn.prototype.useEncryption=function(t){this.encryption=t};mn.prototype.usesEncryption=function(){return this.encryption};mn.prototype.useStrongEncryption=function(t){this.strongEncryption=t};mn.prototype.usesStrongEncryption=function(){return this.strongEncryption};mn.prototype.useUTF8ForNames=function(t){this.utf8=t};mn.prototype.usesUTF8ForNames=function(){return this.utf8}});var Hie=f((_dt,qie)=>{qie.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var IF=f((Sdt,Gie)=>{Gie.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var BF=f((Ndt,Jie)=>{var J6e=require("util").inherits,V6e=oL(),zie=PQ(),Yie=CF(),jie=Hie(),ii=IF(),Wie=DQ(),Xe=Jie.exports=function(t){if(!(this instanceof Xe))return new Xe(t);zie.call(this),this.platform=ii.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Yie,this.crc=0,this.time=-1,this.minver=ii.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,t&&this.setName(t)};J6e(Xe,zie);Xe.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};Xe.prototype.getComment=function(){return this.comment!==null?this.comment:""};Xe.prototype.getCompressedSize=function(){return this.csize};Xe.prototype.getCrc=function(){return this.crc};Xe.prototype.getExternalAttributes=function(){return this.exattr};Xe.prototype.getExtra=function(){return this.extra!==null?this.extra:ii.EMPTY};Xe.prototype.getGeneralPurposeBit=function(){return this.gpb};Xe.prototype.getInternalAttributes=function(){return this.inattr};Xe.prototype.getLastModifiedDate=function(){return this.getTime()};Xe.prototype.getLocalFileDataExtra=function(){return this.getExtra()};Xe.prototype.getMethod=function(){return this.method};Xe.prototype.getName=function(){return this.name};Xe.prototype.getPlatform=function(){return this.platform};Xe.prototype.getSize=function(){return this.size};Xe.prototype.getTime=function(){return this.time!==-1?Wie.dosToDate(this.time):-1};Xe.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};Xe.prototype.getUnixMode=function(){return this.platform!==ii.PLATFORM_UNIX?0:this.getExternalAttributes()>>ii.SHORT_SHIFT&ii.SHORT_MASK};Xe.prototype.getVersionNeededToExtract=function(){return this.minver};Xe.prototype.setComment=function(t){Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=t};Xe.prototype.setCompressedSize=function(t){if(t<0)throw new Error("invalid entry compressed size");this.csize=t};Xe.prototype.setCrc=function(t){if(t<0)throw new Error("invalid entry crc32");this.crc=t};Xe.prototype.setExternalAttributes=function(t){this.exattr=t>>>0};Xe.prototype.setExtra=function(t){this.extra=t};Xe.prototype.setGeneralPurposeBit=function(t){if(!(t instanceof Yie))throw new Error("invalid entry GeneralPurposeBit");this.gpb=t};Xe.prototype.setInternalAttributes=function(t){this.inattr=t};Xe.prototype.setMethod=function(t){if(t<0)throw new Error("invalid entry compression method");this.method=t};Xe.prototype.setName=function(t,e=!1){t=V6e(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),e&&(t=`/${t}`),Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=t};Xe.prototype.setPlatform=function(t){this.platform=t};Xe.prototype.setSize=function(t){if(t<0)throw new Error("invalid entry size");this.size=t};Xe.prototype.setTime=function(t,e){if(!(t instanceof Date))throw new Error("invalid entry time");this.time=Wie.dateToDos(t,e)};Xe.prototype.setUnixMode=function(t){t|=this.isDirectory()?ii.S_IFDIR:ii.S_IFREG;var e=0;e|=t<ii.ZIP64_MAGIC||this.size>ii.ZIP64_MAGIC}});var bF=f((xdt,Vie)=>{var Rdt=require("stream").Stream,$6e=yA().PassThrough,K6e=X0(),X6e=Vie.exports={};X6e.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(K6e(t)&&!t._readableState){var e=new $6e;return t.pipe(e),e}return t}});var QF=f((vdt,$ie)=>{var Z6e=require("util").inherits,e5e=X0(),wF=yA().Transform,t5e=PQ(),r5e=bF(),Wi=$ie.exports=function(t){if(!(this instanceof Wi))return new Wi(t);wF.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};Z6e(Wi,wF);Wi.prototype._appendBuffer=function(t,e,r){};Wi.prototype._appendStream=function(t,e,r){};Wi.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};Wi.prototype._finish=function(t){};Wi.prototype._normalizeEntry=function(t){};Wi.prototype._transform=function(t,e,r){r(null,t)};Wi.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof t5e)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(t),this._entry=t,e=r5e.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(e5e(e))this._appendStream(t,e,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};Wi.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Wi.prototype.getBytesWritten=function(){return this.offset};Wi.prototype.write=function(t,e){return t&&(this.offset+=t.length),wF.prototype.write.call(this,t,e)}});var kQ=f(_F=>{var Kie;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof _F=="object"?t(_F):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(Kie={}):t(Kie={})})(function(t){t.version="1.2.2";function e(){for(var U=0,te=new Array(256),L=0;L!=256;++L)U=L,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,U=U&1?-306674912^U>>>1:U>>>1,te[L]=U;return typeof Int32Array<"u"?new Int32Array(te):te}var r=e();function n(U){var te=0,L=0,$=0,K=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for($=0;$!=256;++$)K[$]=U[$];for($=0;$!=256;++$)for(L=U[$],te=256+$;te<4096;te+=256)L=K[te]=L>>>8^U[L&255];var X=[];for($=1;$!=16;++$)X[$-1]=typeof Int32Array<"u"?K.subarray($*256,$*256+256):K.slice($*256,$*256+256);return X}var i=n(r),s=i[0],o=i[1],a=i[2],c=i[3],l=i[4],A=i[5],u=i[6],d=i[7],h=i[8],g=i[9],E=i[10],C=i[11],I=i[12],R=i[13],P=i[14];function M(U,te){for(var L=te^-1,$=0,K=U.length;$>>8^r[(L^U.charCodeAt($++))&255];return~L}function ee(U,te){for(var L=te^-1,$=U.length-15,K=0;K<$;)L=P[U[K++]^L&255]^R[U[K++]^L>>8&255]^I[U[K++]^L>>16&255]^C[U[K++]^L>>>24]^E[U[K++]]^g[U[K++]]^h[U[K++]]^d[U[K++]]^u[U[K++]]^A[U[K++]]^l[U[K++]]^c[U[K++]]^a[U[K++]]^o[U[K++]]^s[U[K++]]^r[U[K++]];for($+=15;K<$;)L=L>>>8^r[(L^U[K++])&255];return~L}function se(U,te){for(var L=te^-1,$=0,K=U.length,X=0,Ae=0;$>>8^r[(L^X)&255]:X<2048?(L=L>>>8^r[(L^(192|X>>6&31))&255],L=L>>>8^r[(L^(128|X&63))&255]):X>=55296&&X<57344?(X=(X&1023)+64,Ae=U.charCodeAt($++)&1023,L=L>>>8^r[(L^(240|X>>8&7))&255],L=L>>>8^r[(L^(128|X>>2&63))&255],L=L>>>8^r[(L^(128|Ae>>6&15|(X&3)<<4))&255],L=L>>>8^r[(L^(128|Ae&63))&255]):(L=L>>>8^r[(L^(224|X>>12&15))&255],L=L>>>8^r[(L^(128|X>>6&63))&255],L=L>>>8^r[(L^(128|X&63))&255]);return~L}t.table=r,t.bstr=M,t.buf=ee,t.str=se})});var Zie=f((Pdt,Xie)=>{"use strict";var{Transform:n5e}=yA(),i5e=kQ(),SF=class extends n5e{constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(e,r,n){e&&(this.checksum=i5e.buf(e,this.checksum)>>>0,this.rawSize+=e.length),n(null,e)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};Xie.exports=SF});var tse=f((Ddt,ese)=>{"use strict";var{DeflateRaw:s5e}=require("zlib"),o5e=kQ(),NF=class extends s5e{constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(e,r){return e&&(this.compressedSize+=e.length),super.push(e,r)}_transform(e,r,n){e&&(this.checksum=o5e.buf(e,this.checksum)>>>0,this.rawSize+=e.length),super._transform(e,r,n)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(e=!1){return e?this.compressedSize:this.rawSize}};ese.exports=NF});var RF=f((kdt,rse)=>{"use strict";rse.exports={CRC32Stream:Zie(),DeflateCRC32Stream:tse()}});var sse=f((Fdt,ise)=>{var a5e=require("util").inherits,c5e=kQ(),{CRC32Stream:l5e}=RF(),{DeflateCRC32Stream:A5e}=RF(),nse=QF(),Odt=BF(),Ldt=CF(),ze=IF(),Mdt=bF(),Oe=DQ(),on=ise.exports=function(t){if(!(this instanceof on))return new on(t);t=this.options=this._defaults(t),nse.call(this,t),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:t.forceZip64,forceLocalTime:t.forceLocalTime}};a5e(on,nse);on.prototype._afterAppend=function(t){this._entries.push(t),t.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(t),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};on.prototype._appendBuffer=function(t,e,r){e.length===0&&t.setMethod(ze.METHOD_STORED);var n=t.getMethod();if(n===ze.METHOD_STORED&&(t.setSize(e.length),t.setCompressedSize(e.length),t.setCrc(c5e.buf(e)>>>0)),this._writeLocalFileHeader(t),n===ze.METHOD_STORED){this.write(e),this._afterAppend(t),r(null,t);return}else if(n===ze.METHOD_DEFLATED){this._smartStream(t,r).end(e);return}else{r(new Error("compression method "+n+" not implemented"));return}};on.prototype._appendStream=function(t,e,r){t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(t);var n=this._smartStream(t,r);e.once("error",function(i){n.emit("error",i),n.end()}),e.pipe(n)};on.prototype._defaults=function(t){return typeof t!="object"&&(t={}),typeof t.zlib!="object"&&(t.zlib={}),typeof t.zlib.level!="number"&&(t.zlib.level=ze.ZLIB_BEST_SPEED),t.forceZip64=!!t.forceZip64,t.forceLocalTime=!!t.forceLocalTime,t};on.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(t){this._writeCentralFileHeader(t)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};on.prototype._normalizeEntry=function(t){t.getMethod()===-1&&t.setMethod(ze.METHOD_DEFLATED),t.getMethod()===ze.METHOD_DEFLATED&&(t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_DATA_DESCRIPTOR)),t.getTime()===-1&&t.setTime(new Date,this._archive.forceLocalTime),t._offsets={file:0,data:0,contents:0}};on.prototype._smartStream=function(t,e){var r=t.getMethod()===ze.METHOD_DEFLATED,n=r?new A5e(this.options.zlib):new l5e,i=null;function s(){var o=n.digest().readUInt32BE(0);t.setCrc(o),t.setSize(n.size()),t.setCompressedSize(n.size(!0)),this._afterAppend(t),e(i,t)}return n.once("end",s.bind(this)),n.once("error",function(o){i=o}),n.pipe(this,{end:!1}),n};on.prototype._writeCentralDirectoryEnd=function(){var t=this._entries.length,e=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(t=ze.ZIP64_MAGIC_SHORT,e=ze.ZIP64_MAGIC,r=ze.ZIP64_MAGIC),this.write(Oe.getLongBytes(ze.SIG_EOCD)),this.write(ze.SHORT_ZERO),this.write(ze.SHORT_ZERO),this.write(Oe.getShortBytes(t)),this.write(Oe.getShortBytes(t)),this.write(Oe.getLongBytes(e)),this.write(Oe.getLongBytes(r));var n=this.getComment(),i=Buffer.byteLength(n);this.write(Oe.getShortBytes(i)),this.write(n)};on.prototype._writeCentralDirectoryZip64=function(){this.write(Oe.getLongBytes(ze.SIG_ZIP64_EOCD)),this.write(Oe.getEightBytes(44)),this.write(Oe.getShortBytes(ze.MIN_VERSION_ZIP64)),this.write(Oe.getShortBytes(ze.MIN_VERSION_ZIP64)),this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO),this.write(Oe.getEightBytes(this._entries.length)),this.write(Oe.getEightBytes(this._entries.length)),this.write(Oe.getEightBytes(this._archive.centralLength)),this.write(Oe.getEightBytes(this._archive.centralOffset)),this.write(Oe.getLongBytes(ze.SIG_ZIP64_EOCD_LOC)),this.write(ze.LONG_ZERO),this.write(Oe.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(Oe.getLongBytes(1))};on.prototype._writeCentralFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t._offsets.file,i=t.getSize(),s=t.getCompressedSize();if(t.isZip64()||n>ze.ZIP64_MAGIC){i=ze.ZIP64_MAGIC,s=ze.ZIP64_MAGIC,n=ze.ZIP64_MAGIC,t.setVersionNeededToExtract(ze.MIN_VERSION_ZIP64);var o=Buffer.concat([Oe.getShortBytes(ze.ZIP64_EXTRA_ID),Oe.getShortBytes(24),Oe.getEightBytes(t.getSize()),Oe.getEightBytes(t.getCompressedSize()),Oe.getEightBytes(t._offsets.file)],28);t.setExtra(o)}this.write(Oe.getLongBytes(ze.SIG_CFH)),this.write(Oe.getShortBytes(t.getPlatform()<<8|ze.VERSION_MADEBY)),this.write(Oe.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Oe.getShortBytes(r)),this.write(Oe.getLongBytes(t.getTimeDos())),this.write(Oe.getLongBytes(t.getCrc())),this.write(Oe.getLongBytes(s)),this.write(Oe.getLongBytes(i));var a=t.getName(),c=t.getComment(),l=t.getCentralDirectoryExtra();e.usesUTF8ForNames()&&(a=Buffer.from(a),c=Buffer.from(c)),this.write(Oe.getShortBytes(a.length)),this.write(Oe.getShortBytes(l.length)),this.write(Oe.getShortBytes(c.length)),this.write(ze.SHORT_ZERO),this.write(Oe.getShortBytes(t.getInternalAttributes())),this.write(Oe.getLongBytes(t.getExternalAttributes())),this.write(Oe.getLongBytes(n)),this.write(a),this.write(l),this.write(c)};on.prototype._writeDataDescriptor=function(t){this.write(Oe.getLongBytes(ze.SIG_DD)),this.write(Oe.getLongBytes(t.getCrc())),t.isZip64()?(this.write(Oe.getEightBytes(t.getCompressedSize())),this.write(Oe.getEightBytes(t.getSize()))):(this.write(Oe.getLongBytes(t.getCompressedSize())),this.write(Oe.getLongBytes(t.getSize())))};on.prototype._writeLocalFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t.getName(),i=t.getLocalFileDataExtra();t.isZip64()&&(e.useDataDescriptor(!0),t.setVersionNeededToExtract(ze.MIN_VERSION_ZIP64)),e.usesUTF8ForNames()&&(n=Buffer.from(n)),t._offsets.file=this.offset,this.write(Oe.getLongBytes(ze.SIG_LFH)),this.write(Oe.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Oe.getShortBytes(r)),this.write(Oe.getLongBytes(t.getTimeDos())),t._offsets.data=this.offset,e.usesDataDescriptor()?(this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO),this.write(ze.LONG_ZERO)):(this.write(Oe.getLongBytes(t.getCrc())),this.write(Oe.getLongBytes(t.getCompressedSize())),this.write(Oe.getLongBytes(t.getSize()))),this.write(Oe.getShortBytes(n.length)),this.write(Oe.getShortBytes(i.length)),this.write(n),this.write(i),t._offsets.contents=this.offset};on.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};on.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>ze.ZIP64_MAGIC_SHORT||this._archive.centralLength>ze.ZIP64_MAGIC||this._archive.centralOffset>ze.ZIP64_MAGIC};on.prototype.setComment=function(t){this._archive.comment=t}});var xF=f((Udt,ose)=>{ose.exports={ArchiveEntry:PQ(),ZipArchiveEntry:BF(),ArchiveOutputStream:QF(),ZipArchiveOutputStream:sse()}});var cse=f((qdt,ase)=>{var u5e=require("util").inherits,TF=xF().ZipArchiveOutputStream,d5e=xF().ZipArchiveEntry,vF=th(),rh=ase.exports=function(t){if(!(this instanceof rh))return new rh(t);t=this.options=t||{},t.zlib=t.zlib||{},TF.call(this,t),typeof t.level=="number"&&t.level>=0&&(t.zlib.level=t.level,delete t.level),!t.forceZip64&&typeof t.zlib.level=="number"&&t.zlib.level===0&&(t.store=!0),t.namePrependSlash=t.namePrependSlash||!1,t.comment&&t.comment.length>0&&this.setComment(t.comment)};u5e(rh,TF);rh.prototype._normalizeFileData=function(t){t=vF.defaults(t,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var e=t.type==="directory",r=t.type==="symlink";return t.name&&(t.name=vF.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=vF.dateify(t.date),t};rh.prototype.entry=function(t,e,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),e=this._normalizeFileData(e),e.type!=="file"&&e.type!=="directory"&&e.type!=="symlink"){r(new Error(e.type+" entries not currently supported"));return}if(typeof e.name!="string"||e.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(e.type==="symlink"&&typeof e.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var n=new d5e(e.name);return n.setTime(e.date,this.options.forceLocalTime),e.namePrependSlash&&n.setName(e.name,!0),e.store&&n.setMethod(0),e.comment.length>0&&n.setComment(e.comment),e.type==="symlink"&&typeof e.mode!="number"&&(e.mode=40960),typeof e.mode=="number"&&(e.type==="symlink"&&(e.mode|=40960),n.setUnixMode(e.mode)),e.type==="symlink"&&typeof e.linkname=="string"&&(t=Buffer.from(e.linkname)),TF.prototype.entry.call(this,n,t,r)};rh.prototype.finalize=function(){this.finish()}});var Ase=f((Hdt,lse)=>{var f5e=cse(),h5e=th(),Hc=function(t){if(!(this instanceof Hc))return new Hc(t);t=this.options=h5e.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new f5e(t)};Hc.prototype.append=function(t,e,r){this.engine.entry(t,e,r)};Hc.prototype.finalize=function(){this.engine.finalize()};Hc.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Hc.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Hc.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};lse.exports=Hc});var dse=f((Gdt,use)=>{use.exports=require("events")});var hse=f((zdt,fse)=>{fse.exports=class{constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var PF=f((Wdt,gse)=>{var pse=hse();gse.exports=class{constructor(e){this.hwm=e||16,this.head=new pse(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let r=this.head;this.head=r.next=new pse(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let r=this.tail.next;return this.tail.next=null,this.tail=r,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var nh=f((Jdt,mse)=>{function p5e(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}function g5e(t){return Buffer.isEncoding(t)}function m5e(t,e,r){return Buffer.alloc(t,e,r)}function y5e(t){return Buffer.allocUnsafe(t)}function E5e(t){return Buffer.allocUnsafeSlow(t)}function C5e(t,e){return Buffer.byteLength(t,e)}function I5e(t,e){return Buffer.compare(t,e)}function B5e(t,e){return Buffer.concat(t,e)}function b5e(t,e,r,n,i){return vt(t).copy(e,r,n,i)}function w5e(t,e){return vt(t).equals(e)}function Q5e(t,e,r,n,i){return vt(t).fill(e,r,n,i)}function _5e(t,e,r){return Buffer.from(t,e,r)}function S5e(t,e,r,n){return vt(t).includes(e,r,n)}function N5e(t,e,r,n){return vt(t).indexOf(e,r,n)}function R5e(t,e,r,n){return vt(t).lastIndexOf(e,r,n)}function x5e(t){return vt(t).swap16()}function v5e(t){return vt(t).swap32()}function T5e(t){return vt(t).swap64()}function vt(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}function P5e(t,e,r,n){return vt(t).toString(e,r,n)}function D5e(t,e,r,n,i){return vt(t).write(e,r,n,i)}function k5e(t,e){return vt(t).readDoubleBE(e)}function O5e(t,e){return vt(t).readDoubleLE(e)}function L5e(t,e){return vt(t).readFloatBE(e)}function M5e(t,e){return vt(t).readFloatLE(e)}function F5e(t,e){return vt(t).readInt32BE(e)}function U5e(t,e){return vt(t).readInt32LE(e)}function q5e(t,e){return vt(t).readUInt32BE(e)}function H5e(t,e){return vt(t).readUInt32LE(e)}function G5e(t,e,r){return vt(t).writeDoubleBE(e,r)}function j5e(t,e,r){return vt(t).writeDoubleLE(e,r)}function z5e(t,e,r){return vt(t).writeFloatBE(e,r)}function Y5e(t,e,r){return vt(t).writeFloatLE(e,r)}function W5e(t,e,r){return vt(t).writeInt32BE(e,r)}function J5e(t,e,r){return vt(t).writeInt32LE(e,r)}function V5e(t,e,r){return vt(t).writeUInt32BE(e,r)}function $5e(t,e,r){return vt(t).writeUInt32LE(e,r)}mse.exports={isBuffer:p5e,isEncoding:g5e,alloc:m5e,allocUnsafe:y5e,allocUnsafeSlow:E5e,byteLength:C5e,compare:I5e,concat:B5e,copy:b5e,equals:w5e,fill:Q5e,from:_5e,includes:S5e,indexOf:N5e,lastIndexOf:R5e,swap16:x5e,swap32:v5e,swap64:T5e,toBuffer:vt,toString:P5e,write:D5e,readDoubleBE:k5e,readDoubleLE:O5e,readFloatBE:L5e,readFloatLE:M5e,readInt32BE:F5e,readInt32LE:U5e,readUInt32BE:q5e,readUInt32LE:H5e,writeDoubleBE:G5e,writeDoubleLE:j5e,writeFloatBE:z5e,writeFloatLE:Y5e,writeInt32BE:W5e,writeInt32LE:J5e,writeUInt32BE:V5e,writeUInt32LE:$5e}});var Ese=f(($dt,yse)=>{var K5e=nh();yse.exports=class{constructor(e){this.encoding=e}get remaining(){return 0}decode(e){return K5e.toString(e,this.encoding)}flush(){return""}}});var Ise=f((Xdt,Cse)=>{var X5e=nh();Cse.exports=class{constructor(){this.codePoint=0,this.bytesSeen=0,this.bytesNeeded=0,this.lowerBoundary=128,this.upperBoundary=191}get remaining(){return this.bytesSeen}decode(e){if(this.bytesNeeded===0){let n=!0;for(let i=Math.max(0,e.byteLength-4),s=e.byteLength;i=194&&s<=223?(this.bytesNeeded=2,this.codePoint=s&31):s>=224&&s<=239?(s===224?this.lowerBoundary=160:s===237&&(this.upperBoundary=159),this.bytesNeeded=3,this.codePoint=s&15):s>=240&&s<=244?(s===240&&(this.lowerBoundary=144),s===244&&(this.upperBoundary=143),this.bytesNeeded=4,this.codePoint=s&7):r+="\uFFFD");continue}if(sthis.upperBoundary){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,r+="\uFFFD";continue}this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|s&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded&&(r+=String.fromCodePoint(this.codePoint),this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0)}return r}flush(){let e=this.bytesNeeded>0?"\uFFFD":"";return this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,e}}});var bse=f((eft,Bse)=>{var Z5e=Ese(),e9e=Ise();Bse.exports=class{constructor(e="utf8"){switch(this.encoding=t9e(e),this.encoding){case"utf8":this.decoder=new e9e;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new Z5e(this.encoding)}}get remaining(){return this.decoder.remaining}push(e){return typeof e=="string"?e:this.decoder.decode(e)}write(e){return this.push(e)}end(e){let r="";return e&&(r=this.push(e)),r+=this.decoder.flush(),r}};function t9e(t){switch(t=t.toLowerCase(),t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:throw new Error("Unknown encoding: "+t)}}});var VF=f((tft,Yse)=>{var{EventEmitter:r9e}=dse(),qQ=new Error("Stream was destroyed"),DF=new Error("Premature close"),Rse=PF(),n9e=bse(),kF=typeof queueMicrotask>"u"?t=>global.process.nextTick(t):queueMicrotask,hr=(1<<29)-1,qo=1,HF=2,wA=4,Tm=8,xse=hr^qo,i9e=hr^HF,Lm=16,ih=32,ah=64,jc=128,Mm=256,GF=512,QA=1024,OF=2048,jF=4096,zF=8192,js=16384,Gc=32768,HQ=65536,_A=131072,vse=Mm|GF,s9e=Lm|HQ,o9e=ah|Lm,a9e=jF|jc,YF=Mm|_A,c9e=hr^Lm,l9e=hr^ah,A9e=hr^(ah|HQ),wse=hr^HQ,u9e=hr^Mm,d9e=hr^(jc|zF),f9e=hr^QA,Qse=hr^vse,Tse=hr^Gc,h9e=hr^ih,Pse=hr^_A,p9e=hr^YF,Na=1<<18,oh=2<<18,Fm=4<<18,SA=8<<18,Um=16<<18,zc=32<<18,LF=64<<18,sh=128<<18,WF=256<<18,NA=512<<18,GQ=1024<<18,g9e=hr^(Na|WF),Dse=hr^Fm,m9e=hr^(Na|NA),y9e=hr^Um,E9e=hr^SA,kse=hr^sh,C9e=hr^oh,Ose=hr^GQ,Pm=Lm|Na,Lse=hr^Pm,JF=js|zc,Ho=wA|Tm|HF,Ji=Ho|qo,Mse=Ho|JF,I9e=Dse&l9e,jQ=sh|Gc,B9e=jQ&Lse,Fse=Ji|B9e,b9e=Ji|QA|js,_se=Ji|js|jc,w9e=Ji|QA|jc,Q9e=Ji|jF|jc|zF,_9e=Ji|Lm|QA|js|HQ|_A,S9e=Ho|QA|js,N9e=ih|Ji|Gc|ah,R9e=Gc|qo,x9e=Ji|NA|zc,v9e=SA|Um,Use=SA|Na,T9e=SA|Um|Ji|Na,Sse=Ji|Na|SA|GQ,P9e=Fm|Na,D9e=Na|WF,k9e=Ji|NA|Use|zc,O9e=Um|Ho|NA|zc,L9e=oh|Ji|sh|Fm,M9e=NA|zc|Ho,OQ=Symbol.asyncIterator||Symbol("asyncIterator"),LQ=class{constructor(e,{highWaterMark:r=16384,map:n=null,mapWritable:i,byteLength:s,byteLengthWritable:o}={}){this.stream=e,this.queue=new Rse,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=o||s||zse,this.map=i||n,this.afterWrite=q9e.bind(this),this.afterUpdateNextTick=j9e.bind(this)}get ended(){return(this.stream._duplexState&zc)!==0}push(e){return(this.stream._duplexState&M9e)!==0?!1:(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=o||s||zse,this.map=i||n,this.pipeTo=null,this.afterRead=H9e.bind(this),this.afterUpdateNextTick=G9e.bind(this)}get ended(){return(this.stream._duplexState&js)!==0}pipe(e,r){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof r!="function"&&(r=null),this.stream._duplexState|=GF,this.pipeTo=e,this.pipeline=new UF(this.stream,e,r),r&&this.stream.on("error",Nse),Om(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",Nse),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),i=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",i),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",F9e.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let r=this.stream;return e===null?(this.highWaterMark=0,r._duplexState=(r._duplexState|QA)&A9e,!1):this.map!==null&&(e=this.map(e),e===null)?(r._duplexState&=wse,this.buffered0;)r.push(this.shift());for(let n=0;n0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,t)}}function q9e(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=g9e,this.drains!==null&&z9e(this.drains),(e._duplexState&T9e)===Um&&(e._duplexState&=y9e,(e._duplexState&LF)===LF&&e.emit("drain")),this.updateCallback()}function H9e(t){t&&this.stream.destroy(t),this.stream._duplexState&=c9e,this.readAhead===!1&&(this.stream._duplexState&Mm)===0&&(this.stream._duplexState&=Pse),this.updateCallback()}function G9e(){(this.stream._duplexState&ih)===0&&(this.stream._duplexState&=Tse,this.update())}function j9e(){(this.stream._duplexState&oh)===0&&(this.stream._duplexState&=kse,this.update())}function z9e(t){for(let e=0;e0)?null:n(o)}}_read(e){e(null)}pipe(e,r){return this._readableState.updateNextTick(),this._readableState.pipe(e,r),e}read(){return this._readableState.updateNextTick(),this._readableState.read()}push(e){return this._readableState.updateNextTickIfOpen(),this._readableState.push(e)}unshift(e){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift(e)}resume(){return this._duplexState|=YF,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?p9e:u9e,this}static _fromAsyncIterator(e,r){let n,i=new t({...r,read(o){e.next().then(s).then(o.bind(null,null)).catch(o)},predestroy(){n=e.return()},destroy(o){if(!n)return o(null);n.then(o.bind(null,null)).catch(o)}});return i;function s(o){o.done?i.push(null):i.push(o.value)}}static from(e,r){if(e$e(e))return e;if(e[OQ])return this._fromAsyncIterator(e[OQ](),r);Array.isArray(e)||(e=e===void 0?[]:[e]);let n=0;return new t({...r,read(i){this.push(n===e.length?null:e[n++]),i(null)}})}static isBackpressured(e){return(e._duplexState&S9e)!==0||e._readableState.buffered>=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&Mm)===0}[OQ](){let e=this,r=null,n=null,i=null;return this.on("error",l=>{r=l}),this.on("readable",s),this.on("close",o),{[OQ](){return this},next(){return new Promise(function(l,A){n=l,i=A;let u=e.read();u!==null?a(u):(e._duplexState&Tm)!==0&&a(null)})},return(){return c(null)},throw(l){return c(l)}};function s(){n!==null&&a(e.read())}function o(){n!==null&&a(null)}function a(l){i!==null&&(r?i(r):l===null&&(e._duplexState&js)===0?i(qQ):n({value:l,done:l===null}),i=n=null)}function c(l){return e.destroy(l),new Promise((A,u)=>{if(e._duplexState&Tm)return A({value:void 0,done:!0});e.once("close",function(){l?u(l):A({value:void 0,done:!0})})})}}},FQ=class extends Dm{constructor(e){super(e),this._duplexState|=qo|js,this._writableState=new LQ(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}cork(){this._duplexState|=GQ}uncork(){this._duplexState&=Ose,this._writableState.updateNextTick()}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&O9e)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(i$e(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&WF?1:0);return i===0?Promise.resolve(!0):(r.drains===null&&(r.drains=[]),new Promise(s=>{r.drains.push({writes:i,resolve:s})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},km=class extends MQ{constructor(e){super(e),this._duplexState=qo|this._duplexState&_A,this._writableState=new LQ(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}cork(){this._duplexState|=GQ}uncork(){this._duplexState&=Ose,this._writableState.updateNextTick()}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},UQ=class extends km{constructor(e){super(e),this._transformState=new FF(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,r){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let r=this._transformState.data;this._transformState.data=null,e(null),this._transform(r,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,r){r(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(J9e.bind(this))}},qF=class extends UQ{};function J9e(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}function V9e(...t){return new Promise((e,r)=>Gse(...t,n=>{if(n)return r(n);e()}))}function Gse(t,...e){let r=Array.isArray(t)?[...t,...e]:[t,...e],n=r.length&&typeof r[r.length-1]=="function"?r.pop():null;if(r.length<2)throw new Error("Pipeline requires at least 2 streams");let i=r[0],s=null,o=null;for(let l=1;l1,c),i.pipe(s)),i=s;if(n){let l=!1,A=Om(s)||!!(s._writableState&&s._writableState.autoDestroy);s.on("error",u=>{o===null&&(o=u)}),s.on("finish",()=>{l=!0,A||n(o)}),A&&s.on("close",()=>n(o||(l?null:DF)))}return s;function a(l,A,u,d){l.on("error",d),l.on("close",h);function h(){if(A&&l._readableState&&!l._readableState.ended||u&&l._writableState&&!l._writableState.ended)return d(DF)}}function c(l){if(!(!l||o)){o=l;for(let A of r)A.destroy(l)}}}function $9e(t){return t}function jse(t){return!!t._readableState||!!t._writableState}function Om(t){return typeof t._duplexState=="number"&&jse(t)}function K9e(t){return!!t._readableState&&t._readableState.ended}function X9e(t){return!!t._writableState&&t._writableState.ended}function Z9e(t,e={}){let r=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return!e.all&&r===qQ?null:r}function e$e(t){return Om(t)&&t.readable}function t$e(t){return(t._duplexState&qo)!==qo||(t._duplexState&jQ)!==0}function r$e(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}function zse(t){return r$e(t)?t.byteLength:1024}function Nse(){}function n$e(){this.destroy(new Error("Stream aborted."))}function i$e(t){return t._writev!==FQ.prototype._writev&&t._writev!==km.prototype._writev}Yse.exports={pipeline:Gse,pipelinePromise:V9e,isStream:jse,isStreamx:Om,isEnded:K9e,isFinished:X9e,isDisturbed:t$e,getStreamError:Z9e,Stream:Dm,Writable:FQ,Readable:MQ,Duplex:km,Transform:UQ,PassThrough:qF}});var XF=f(lh=>{var dt=nh(),s$e="0000000000000000000",o$e="7777777777777777777",zQ=48,Wse=dt.from([117,115,116,97,114,0]),a$e=dt.from([zQ,zQ]),c$e=dt.from([117,115,116,97,114,32]),l$e=dt.from([32,0]),A$e=4095,qm=257,KF=263;lh.decodeLongPath=function(e,r){return ch(e,0,e.length,r)};lh.encodePax=function(e){let r="";e.name&&(r+=$F(" path="+e.name+` `)),e.linkname&&(r+=$F(" linkpath="+e.linkname+` `));let n=e.pax;if(n)for(let i in n)r+=$F(" "+i+"="+n[i]+` -`);return dt.from(r)};lh.decodePax=function(e){let r={};for(;e.length;){let n=0;for(;n100;){let s=n.indexOf("/");if(s===-1)return null;i+=i?"/"+n.slice(0,s):n.slice(0,s),n=n.slice(s+1)}return dt.byteLength(n)>100||dt.byteLength(i)>155||e.linkname&&dt.byteLength(e.linkname)>100?null:(dt.write(r,n),dt.write(r,Wc(e.mode&A$e,6),100),dt.write(r,Wc(e.uid,6),108),dt.write(r,Wc(e.gid,6),116),m$e(e.size,r,124),dt.write(r,Wc(e.mtime.getTime()/1e3|0,11),136),r[156]=zQ+p$e(e.type),e.linkname&&dt.write(r,e.linkname,157),dt.copy(Wse,r,qm),dt.copy(a$e,r,KF),e.uname&&dt.write(r,e.uname,265),e.gname&&dt.write(r,e.gname,297),dt.write(r,Wc(e.devmajor||0,6),329),dt.write(r,Wc(e.devminor||0,6),337),i&&dt.write(r,i,345),dt.write(r,Wc(Vse(r),6),148),r)};lh.decode=function(e,r,n){let i=e[156]===0?0:e[156]-zQ,s=ch(e,0,100,r),o=Yc(e,100,8),a=Yc(e,108,8),c=Yc(e,116,8),l=Yc(e,124,12),A=Yc(e,136,12),u=h$e(i),d=e[157]===0?null:ch(e,157,100,r),h=ch(e,265,32),g=ch(e,297,32),E=Yc(e,329,8),C=Yc(e,337,8),I=Vse(e);if(I===256)return null;if(I!==Yc(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(u$e(e))e[345]&&(s=ch(e,345,155,r)+"/"+s);else if(!d$e(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return i===0&&s&&s[s.length-1]==="/"&&(i=5),{name:s,mode:o,uid:a,gid:c,size:l,mtime:new Date(1e3*A),type:u,linkname:d,uname:h,gname:g,devmajor:E,devminor:C,pax:null}};function u$e(t){return dt.equals(Wse,t.subarray(qm,qm+6))}function d$e(t){return dt.equals(c$e,t.subarray(qm,qm+6))&&dt.equals(l$e,t.subarray(KF,KF+2))}function f$e(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}function h$e(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function p$e(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function Jse(t,e,r,n){for(;re?o$e.slice(0,e)+" ":s$e.slice(0,e-t.length)+t+" "}function g$e(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}function m$e(t,e,r){t.toString(8).length>11?g$e(t,e,r):dt.write(e,Wc(t,11),r)}function y$e(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let o=t[n];e?r.push(o):r.push(255-o)}let i=0,s=r.length;for(n=0;n=Math.pow(10,r)&&r++,e+r+t}});var eoe=f((ift,Zse)=>{var{Writable:E$e,Readable:C$e,getStreamError:$se}=VF(),I$e=PF(),Kse=nh(),Ah=XF(),B$e=Kse.alloc(0),e1=class{constructor(){this.buffered=0,this.shifted=0,this.queue=new I$e,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return B$e;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return Kse.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let i=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,i}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},t1=class extends C$e{constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy($se(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=Xse(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},r1=class extends E$e{constructor(e){super(e),e||(e={}),this._buffer=new e1,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=ZF,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=Ah.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=Ah.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=Ah.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=Ah.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?Ah.decodePax(e):Object.assign({},this._paxGlobal,Ah.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=Xse(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(r){return this._continueWrite(r),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let r=this._stream.push(e);return this._missing===0?(this._stream.push(null),r&&this._stream._detach(),r&&this._locked===!1):r}_createStream(){return new t1(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let r=this._callback;this._callback=ZF,r(e)}_write(e,r){this._callback=r,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy($se(this)),e(null)}[Symbol.asyncIterator](){let e=null,r=null,n=null,i=null,s=null,o=this;return this.on("entry",l),this.on("error",d=>{e=d}),this.on("close",A),{[Symbol.asyncIterator](){return this},next(){return new Promise(c)},return(){return u(null)},throw(d){return u(d)}};function a(d){if(!s)return;let h=s;s=null,h(d)}function c(d,h){if(e)return h(e);if(i){d({value:i,done:!1}),i=null;return}r=d,n=h,a(null),o._finished&&r&&(r({value:void 0,done:!0}),r=n=null)}function l(d,h,g){s=g,h.on("error",ZF),r?(r({value:h,done:!1}),r=n=null):i=h}function A(){a(e),r&&(e?n(e):r({value:void 0,done:!0}),r=n=null)}function u(d){return o.destroy(d),a(d),new Promise((h,g)=>{if(o.destroyed)return h({value:void 0,done:!0});o.once("close",function(){d?g(d):h({value:void 0,done:!0})})})}}};Zse.exports=function(e){return new r1(e)};function ZF(){}function Xse(t){return t&=511,t&&512-t}});var roe=f((sft,n1)=>{var toe={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{n1.exports=require("fs").constants||toe}catch{n1.exports=toe}});var aoe=f((oft,ooe)=>{var{Readable:b$e,Writable:w$e,getStreamError:noe}=VF(),RA=nh(),uh=roe(),YQ=XF(),Q$e=493,_$e=420,ioe=RA.alloc(1024),s1=class extends w$e{constructor(e,r,n){super({mapWritable:N$e,eagerOpen:!0}),this.written=0,this.header=r,this._callback=n,this._linkname=null,this._isLinkname=r.type==="symlink"&&!r.linkname,this._isVoid=r.type!=="file"&&r.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let r=this._callback;this._callback=null,r(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,r){if(this._isLinkname)return this._linkname=this._linkname?RA.concat([this._linkname,e]):e,r(null);if(this._isVoid)return e.byteLength>0?r(new Error("No body allowed for this entry")):r();if(this.written+=e.byteLength,this._pack.push(e))return r();this._pack._drain=r}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?RA.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),soe(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return noe(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},o1=class extends b$e{constructor(e){super(e),this._drain=i1,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,r,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof r=="function"&&(n=r,r=null),n||(n=i1),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=S$e(e.mode)),e.mode||(e.mode=e.type==="directory"?Q$e:_$e),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=RA.from(r));let i=new s1(this,e,n);return RA.isBuffer(r)?(e.size=r.byteLength,i.write(r),i.end(),i):(i._isVoid,i)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(ioe),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let r=YQ.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=YQ.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:r.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(YQ.encode(n)),this.push(r),soe(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(YQ.encode(n))}_doDrain(){let e=this._drain;this._drain=i1,e()}_predestroy(){let e=noe(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let r=this._pending.shift();r.destroy(e),r._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};ooe.exports=function(e){return new o1(e)};function S$e(t){switch(t&uh.S_IFMT){case uh.S_IFBLK:return"block-device";case uh.S_IFCHR:return"character-device";case uh.S_IFDIR:return"directory";case uh.S_IFIFO:return"fifo";case uh.S_IFLNK:return"symlink"}return"file"}function i1(){}function soe(t,e){e&=511,e&&t.push(ioe.subarray(0,512-e))}function N$e(t){return RA.isBuffer(t)?t:RA.from(t)}});var coe=f(a1=>{a1.extract=eoe();a1.pack=aoe()});var uoe=f((cft,Aoe)=>{var R$e=require("zlib"),x$e=coe(),loe=th(),Ra=function(t){if(!(this instanceof Ra))return new Ra(t);t=this.options=loe.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=x$e.pack(t),this.compressor=!1,t.gzip&&(this.compressor=R$e.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))};Ra.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Ra.prototype.append=function(t,e,r){var n=this;e.mtime=e.date;function i(o,a){if(o){r(o);return}n.engine.entry(e,a,function(c){r(c,e)})}if(e.sourceType==="buffer")i(null,t);else if(e.sourceType==="stream"&&e.stats){e.size=e.stats.size;var s=n.engine.entry(e,function(o){r(o,e)});t.pipe(s)}else e.sourceType==="stream"&&loe.collectStream(t,i)};Ra.prototype.finalize=function(){this.engine.finalize()};Ra.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Ra.prototype.pipe=function(t,e){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(t,e):this.engine.pipe.apply(this.engine,arguments)};Ra.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};Aoe.exports=Ra});var hoe=f((lft,foe)=>{"use strict";function v$e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var T$e=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function doe(t){if(Buffer.isBuffer(t))return t;if(typeof t=="number")return Buffer.alloc(t);if(typeof t=="string")return Buffer.from(t);throw new Error("input must be buffer, number, or string, received "+typeof t)}function P$e(t){let e=doe(4);return e.writeInt32BE(t,0),e}function c1(t,e){t=doe(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}function l1(){return P$e(c1.apply(null,arguments))}l1.signed=function(){return c1.apply(null,arguments)};l1.unsigned=function(){return c1.apply(null,arguments)>>>0};var D$e=l1,k$e=v$e(D$e);foe.exports=k$e});var yoe=f((Aft,moe)=>{var O$e=require("util").inherits,poe=yA().Transform,L$e=hoe(),goe=th(),Jc=function(t){if(!(this instanceof Jc))return new Jc(t);t=this.options=goe.defaults(t,{}),poe.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]};O$e(Jc,poe);Jc.prototype._transform=function(t,e,r){r(null,t)};Jc.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};Jc.prototype.append=function(t,e,r){var n=this;e.crc32=0;function i(s,o){if(s){r(s);return}e.size=o.length||0,e.crc32=L$e.unsigned(o),n.files.push(e),r(null,e)}e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&goe.collectStream(t,i)};Jc.prototype.finalize=function(){this._writeStringified(),this.end()};moe.exports=Jc});var Coe=f((uft,Eoe)=>{var M$e=Tie(),Hm={},Vc=function(t,e){return Vc.create(t,e)};Vc.create=function(t,e){if(Hm[t]){var r=new M$e(t,e);return r.setFormat(t),r.setModule(new Hm[t](e)),r}else throw new Error("create("+t+"): format not registered")};Vc.registerFormat=function(t,e){if(Hm[t])throw new Error("register("+t+"): format already registered");if(typeof e!="function")throw new Error("register("+t+"): format module invalid");if(typeof e.prototype.append!="function"||typeof e.prototype.finalize!="function")throw new Error("register("+t+"): format module missing methods");Hm[t]=e};Vc.isRegisteredFormat=function(t){return!!Hm[t]};Vc.registerFormat("zip",Ase());Vc.registerFormat("tar",uoe());Vc.registerFormat("json",yoe());Eoe.exports=Vc});var Boe=f(On=>{"use strict";var F$e=On&&On.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),U$e=On&&On.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),A1=On&&On.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{throw zs.error("An error has occurred while creating the zip file for upload"),zs.info(t),new Error("An error has occurred during zip creation for the artifact")},W$e=t=>{t.code==="ENOENT"?(zs.warning("ENOENT warning during artifact zip creation. No such file or directory"),zs.info(t)):(zs.warning(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),zs.info(t))},J$e=()=>{zs.debug("Zip stream for upload has finished.")},V$e=()=>{zs.debug("Zip stream for upload has ended.")}});var Qoe=f(Ys=>{"use strict";var $$e=Ys&&Ys.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),K$e=Ys&&Ys.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),X$e=Ys&&Ys.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iE.sourcePath?[E.sourcePath]:[]));let s=(0,nKe.getBackendIdsFromToken)(),o=(0,rKe.internalArtifactTwirpClient)(),a={workflowRunBackendId:s.workflowRunBackendId,workflowJobRunBackendId:s.workflowJobRunBackendId,name:t,version:4},c=(0,eKe.getExpiration)(n?.retentionDays);c&&(a.expiresAt=c);let l=yield o.CreateArtifact(a);if(!l.ok)throw new u1.InvalidResponseError("CreateArtifact: response from backend was not ok");let A=yield(0,sKe.createZipUploadStream)(i,n?.compressionLevel),u=yield(0,iKe.uploadZipToBlobStorage)(l.signedUploadUrl,A),d={workflowRunBackendId:s.workflowRunBackendId,workflowJobRunBackendId:s.workflowJobRunBackendId,name:t,size:u.uploadSize?u.uploadSize.toString():"0"};u.sha256Hash&&(d.hash=oKe.StringValue.create({value:`sha256:${u.sha256Hash}`})),boe.info("Finalizing artifact upload");let h=yield o.FinalizeArtifact(d);if(!h.ok)throw new u1.InvalidResponseError("FinalizeArtifact: response from backend was not ok");let g=BigInt(h.artifactId);return boe.info(`Artifact ${t}.zip successfully finalized. Artifact ID ${g}`),{size:u.uploadSize,digest:u.sha256Hash,id:Number(g)}})}});var f1=f(JQ=>{"use strict";Object.defineProperty(JQ,"__esModule",{value:!0});JQ.Context=void 0;var _oe=require("fs"),cKe=require("os"),d1=class{constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,_oe.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,_oe.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${cKe.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};JQ.Context=d1});var Roe=f(Lr=>{"use strict";var lKe=Lr&&Lr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),AKe=Lr&&Lr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uKe=Lr&&Lr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&lKe(e,t,r);return AKe(e,t),e},dKe=Lr&&Lr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?s(A.value):i(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.getApiBaseUrl=Lr.getProxyFetch=Lr.getProxyAgentDispatcher=Lr.getProxyAgent=Lr.getAuthString=void 0;var Soe=uKe(fp()),fKe=mR();function hKe(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}Lr.getAuthString=hKe;function pKe(t){return new Soe.HttpClient().getAgent(t)}Lr.getProxyAgent=pKe;function Noe(t){return new Soe.HttpClient().getAgentDispatcher(t)}Lr.getProxyAgentDispatcher=Noe;function gKe(t){let e=Noe(t);return(n,i)=>dKe(this,void 0,void 0,function*(){return(0,fKe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))})}Lr.getProxyFetch=gKe;function mKe(){return process.env.GITHUB_API_URL||"https://api.github.com"}Lr.getApiBaseUrl=mKe});var Gm=f(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});function yKe(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}h1.getUserAgent=yKe});var Toe=f((mft,voe)=>{voe.exports=xoe;function xoe(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce(function(i,s){return xoe.bind(null,t,s,i,n)},r)():Promise.resolve().then(function(){return t.registry[e]?t.registry[e].reduce(function(i,s){return s.hook.bind(null,i,n)},r)():r(n)})}});var Doe=f((yft,Poe)=>{Poe.exports=EKe;function EKe(t,e,r,n){var i=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=function(s,o){return Promise.resolve().then(i.bind(null,o)).then(s.bind(null,o))}),e==="after"&&(n=function(s,o){var a;return Promise.resolve().then(s.bind(null,o)).then(function(c){return a=c,i(a,o)}).then(function(){return a})}),e==="error"&&(n=function(s,o){return Promise.resolve().then(s.bind(null,o)).catch(function(a){return i(a,o)})}),t.registry[r].push({hook:n,orig:i})}});var Ooe=f((Eft,koe)=>{koe.exports=CKe;function CKe(t,e,r){if(t.registry[e]){var n=t.registry[e].map(function(i){return i.orig}).indexOf(r);n!==-1&&t.registry[e].splice(n,1)}}});var Goe=f((Cft,jm)=>{var Uoe=Toe(),IKe=Doe(),BKe=Ooe(),Loe=Function.bind,Moe=Loe.bind(Loe);function qoe(t,e,r){var n=Moe(BKe,null).apply(null,r?[e,r]:[e]);t.api={remove:n},t.remove=n,["before","error","after","wrap"].forEach(function(i){var s=r?[e,i,r]:[e,i];t[i]=t.api[i]=Moe(IKe,null).apply(null,s)})}function bKe(){var t="h",e={registry:{}},r=Uoe.bind(null,e,t);return qoe(r,e,t),r}function Hoe(){var t={registry:{}},e=Uoe.bind(null,t);return qoe(e,t),e}var Foe=!1;function dh(){return Foe||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),Foe=!0),Hoe()}dh.Singular=bKe.bind();dh.Collection=Hoe.bind();jm.exports=dh;jm.exports.Hook=dh;jm.exports.Singular=dh.Singular;jm.exports.Collection=dh.Collection});var Xoe=f((Ift,Koe)=>{"use strict";var m1=Object.defineProperty,wKe=Object.getOwnPropertyDescriptor,QKe=Object.getOwnPropertyNames,_Ke=Object.prototype.hasOwnProperty,SKe=(t,e)=>{for(var r in e)m1(t,r,{get:e[r],enumerable:!0})},NKe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of QKe(e))!_Ke.call(t,i)&&i!==r&&m1(t,i,{get:()=>e[i],enumerable:!(n=wKe(e,i))||n.enumerable});return t},RKe=t=>NKe(m1({},"__esModule",{value:!0}),t),Yoe={};SKe(Yoe,{endpoint:()=>jKe});Koe.exports=RKe(Yoe);var xKe=Gm(),vKe="9.0.6",TKe=`octokit-endpoint.js/${vKe} ${(0,xKe.getUserAgent)()}`,PKe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":TKe},mediaType:{format:""}};function DKe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}function kKe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}function Woe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{kKe(e[n])?n in t?r[n]=Woe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}function joe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}function g1(t,e,r){if(typeof e=="string"){let[i,s]=e.split(" ");r=Object.assign(s?{method:i,url:s}:{url:i},r)}else r=Object.assign({},e);r.headers=DKe(r.headers),joe(r),joe(r.headers);let n=Woe(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(n.mediaType.previews=t.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}function OKe(t,e){let r=/\?/.test(t)?"&":"?",n=Object.keys(e);return n.length===0?t:t+r+n.map(i=>i==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(e[i])}`).join("&")}var LKe=/\{[^{}}]+\}/g;function MKe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}function zoe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}function Joe(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}function hh(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function zm(t,e,r){return e=t==="+"||t==="#"?Joe(e):hh(e),r?hh(r)+"="+e:e}function fh(t){return t!=null}function p1(t){return t===";"||t==="&"||t==="?"}function UKe(t,e,r,n){var i=t[r],s=[];if(fh(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),s.push(zm(e,i,p1(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(fh).forEach(function(o){s.push(zm(e,o,p1(e)?r:""))}):Object.keys(i).forEach(function(o){fh(i[o])&&s.push(zm(e,i[o],o))});else{let o=[];Array.isArray(i)?i.filter(fh).forEach(function(a){o.push(zm(e,a))}):Object.keys(i).forEach(function(a){fh(i[a])&&(o.push(hh(a)),o.push(zm(e,i[a].toString())))}),p1(e)?s.push(hh(r)+"="+o.join(",")):o.length!==0&&s.push(o.join(","))}else e===";"?fh(i)&&s.push(hh(r)):i===""&&(e==="&"||e==="?")?s.push(hh(r)+"="):i===""&&s.push("");return s}function qKe(t){return{expand:HKe.bind(null,t)}}function HKe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,s){if(i){let a="",c=[];if(r.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(l){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(l);c.push(UKe(e,a,A[1],A[2]||A[3]))}),a&&a!=="+"){var o=",";return a==="?"?o="&":a!=="#"&&(o=a),(c.length!==0?a:"")+c.join(o)}else return c.join(",")}else return Joe(s)}),t==="/"?t:t.replace(/\/$/,"")}function Voe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=zoe(t,["method","baseUrl","url","headers","request","mediaType"]),o=FKe(r);r=qKe(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let a=Object.keys(t).filter(A=>o.includes(A)).concat("baseUrl"),c=zoe(s,a);if(!/application\/octet-stream/i.test(n.accept)&&(t.mediaType.format&&(n.accept=n.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=n.accept.match(/(?{let d=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${u}-preview${d}`}).join(",")}return["GET","HEAD"].includes(e)?r=OKe(r,c):"data"in c?i=c.data:Object.keys(c).length&&(i=c),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof i>"u"&&(i=""),Object.assign({method:e,url:r,headers:n},typeof i<"u"?{body:i}:null,t.request?{request:t.request}:null)}function GKe(t,e,r){return Voe(g1(t,e,r))}function $oe(t,e){let r=g1(t,e),n=GKe.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:$oe.bind(null,r),merge:g1.bind(null,r),parse:Voe})}var jKe=$oe(null,PKe)});var Zoe=f(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});var y1=class extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}};E1.Deprecation=y1});var rae=f((bft,tae)=>{tae.exports=eae;function eae(t,e){if(t&&e)return eae(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i{var nae=rae();C1.exports=nae(VQ);C1.exports.strict=nae(iae);VQ.proto=VQ(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return VQ(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return iae(this)},configurable:!0})});function VQ(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function iae(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var uae=f((Qft,Aae)=>{"use strict";var zKe=Object.create,$Q=Object.defineProperty,YKe=Object.getOwnPropertyDescriptor,WKe=Object.getOwnPropertyNames,JKe=Object.getPrototypeOf,VKe=Object.prototype.hasOwnProperty,$Ke=(t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},aae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WKe(e))!VKe.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=YKe(e,i))||n.enumerable});return t},KKe=(t,e,r)=>(r=t!=null?zKe(JKe(t)):{},aae(e||!t||!t.__esModule?$Q(r,"default",{value:t,enumerable:!0}):r,t)),XKe=t=>aae($Q({},"__esModule",{value:!0}),t),cae={};$Ke(cae,{RequestError:()=>tXe});Aae.exports=XKe(cae);var oae=Zoe(),lae=KKe(sae()),ZKe=(0,lae.default)(t=>console.warn(t)),eXe=(0,lae.default)(t=>console.warn(t)),tXe=class extends Error{constructor(t,e,r){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=e;let n;"headers"in r&&typeof r.headers<"u"&&(n=r.headers),"response"in r&&(this.response=r.response,n=r.response.headers);let i=Object.assign({},r.request);r.request.headers.authorization&&(i.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/(?{"use strict";var b1=Object.defineProperty,rXe=Object.getOwnPropertyDescriptor,nXe=Object.getOwnPropertyNames,iXe=Object.prototype.hasOwnProperty,sXe=(t,e)=>{for(var r in e)b1(t,r,{get:e[r],enumerable:!0})},oXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nXe(e))!iXe.call(t,i)&&i!==r&&b1(t,i,{get:()=>e[i],enumerable:!(n=rXe(e,i))||n.enumerable});return t},aXe=t=>oXe(b1({},"__esModule",{value:!0}),t),fae={};sXe(fae,{request:()=>hXe});hae.exports=aXe(fae);var cXe=Xoe(),lXe=Gm(),AXe="8.4.1";function uXe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}var Ym=uae();function dXe(t){return t.arrayBuffer()}function dae(t){var e,r,n,i;let s=t.request&&t.request.log?t.request.log:console,o=((e=t.request)==null?void 0:e.parseSuccessResponseBody)!==!1;(uXe(t.body)||Array.isArray(t.body))&&(t.body=JSON.stringify(t.body));let a={},c,l,{fetch:A}=globalThis;if((r=t.request)!=null&&r.fetch&&(A=t.request.fetch),!A)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");return A(t.url,{method:t.method,body:t.body,redirect:(n=t.request)==null?void 0:n.redirect,headers:t.headers,signal:(i=t.request)==null?void 0:i.signal,...t.body&&{duplex:"half"}}).then(async u=>{l=u.url,c=u.status;for(let d of u.headers)a[d[0]]=d[1];if("deprecation"in a){let d=a.link&&a.link.match(/<([^<>]+)>; rel="deprecation"/),h=d&&d.pop();s.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${a.sunset}${h?`. See ${h}`:""}`)}if(!(c===204||c===205)){if(t.method==="HEAD"){if(c<400)return;throw new Ym.RequestError(u.statusText,c,{response:{url:l,status:c,headers:a,data:void 0},request:t})}if(c===304)throw new Ym.RequestError("Not modified",c,{response:{url:l,status:c,headers:a,data:await I1(u)},request:t});if(c>=400){let d=await I1(u);throw new Ym.RequestError(fXe(d),c,{response:{url:l,status:c,headers:a,data:d},request:t})}return o?await I1(u):u.body}}).then(u=>({status:c,url:l,headers:a,data:u})).catch(u=>{if(u instanceof Ym.RequestError)throw u;if(u.name==="AbortError")throw u;let d=u.message;throw u.name==="TypeError"&&"cause"in u&&(u.cause instanceof Error?d=u.cause.message:typeof u.cause=="string"&&(d=u.cause)),new Ym.RequestError(d,500,{request:t})})}async function I1(t){let e=t.headers.get("content-type");return/application\/json/.test(e)?t.json().catch(()=>t.text()).catch(()=>""):!e||/^text\/|charset=utf-8$/.test(e)?t.text():dXe(t)}function fXe(t){if(typeof t=="string")return t;let e;return"documentation_url"in t?e=` - ${t.documentation_url}`:e="","message"in t?Array.isArray(t.errors)?`${t.message}: ${t.errors.map(JSON.stringify).join(", ")}${e}`:`${t.message}${e}`:`Unknown error: ${JSON.stringify(t)}`}function B1(t,e){let r=t.defaults(e);return Object.assign(function(i,s){let o=r.merge(i,s);if(!o.request||!o.request.hook)return dae(r.parse(o));let a=(c,l)=>dae(r.parse(r.merge(c,l)));return Object.assign(a,{endpoint:r,defaults:B1.bind(null,r)}),o.request.hook(a,o)},{endpoint:r,defaults:B1.bind(null,r)})}var hXe=B1(cXe.endpoint,{headers:{"user-agent":`octokit-request.js/${AXe} ${(0,lXe.getUserAgent)()}`}})});var Eae=f((xft,yae)=>{"use strict";var w1=Object.defineProperty,pXe=Object.getOwnPropertyDescriptor,gXe=Object.getOwnPropertyNames,mXe=Object.prototype.hasOwnProperty,yXe=(t,e)=>{for(var r in e)w1(t,r,{get:e[r],enumerable:!0})},EXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gXe(e))!mXe.call(t,i)&&i!==r&&w1(t,i,{get:()=>e[i],enumerable:!(n=pXe(e,i))||n.enumerable});return t},CXe=t=>EXe(w1({},"__esModule",{value:!0}),t),gae={};yXe(gae,{GraphqlResponseError:()=>mae,graphql:()=>NXe,withCustomRequest:()=>RXe});yae.exports=CXe(gae);var IXe=Wm(),BXe=Gm(),bXe="7.1.1",Nft=Wm(),Rft=Wm();function wXe(t){return`Request failed due to following response errors: +`);return dt.from(r)};lh.decodePax=function(e){let r={};for(;e.length;){let n=0;for(;n100;){let s=n.indexOf("/");if(s===-1)return null;i+=i?"/"+n.slice(0,s):n.slice(0,s),n=n.slice(s+1)}return dt.byteLength(n)>100||dt.byteLength(i)>155||e.linkname&&dt.byteLength(e.linkname)>100?null:(dt.write(r,n),dt.write(r,Wc(e.mode&A$e,6),100),dt.write(r,Wc(e.uid,6),108),dt.write(r,Wc(e.gid,6),116),m$e(e.size,r,124),dt.write(r,Wc(e.mtime.getTime()/1e3|0,11),136),r[156]=zQ+p$e(e.type),e.linkname&&dt.write(r,e.linkname,157),dt.copy(Wse,r,qm),dt.copy(a$e,r,KF),e.uname&&dt.write(r,e.uname,265),e.gname&&dt.write(r,e.gname,297),dt.write(r,Wc(e.devmajor||0,6),329),dt.write(r,Wc(e.devminor||0,6),337),i&&dt.write(r,i,345),dt.write(r,Wc(Vse(r),6),148),r)};lh.decode=function(e,r,n){let i=e[156]===0?0:e[156]-zQ,s=ch(e,0,100,r),o=Yc(e,100,8),a=Yc(e,108,8),c=Yc(e,116,8),l=Yc(e,124,12),A=Yc(e,136,12),u=h$e(i),d=e[157]===0?null:ch(e,157,100,r),h=ch(e,265,32),g=ch(e,297,32),E=Yc(e,329,8),C=Yc(e,337,8),I=Vse(e);if(I===256)return null;if(I!==Yc(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(u$e(e))e[345]&&(s=ch(e,345,155,r)+"/"+s);else if(!d$e(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return i===0&&s&&s[s.length-1]==="/"&&(i=5),{name:s,mode:o,uid:a,gid:c,size:l,mtime:new Date(1e3*A),type:u,linkname:d,uname:h,gname:g,devmajor:E,devminor:C,pax:null}};function u$e(t){return dt.equals(Wse,t.subarray(qm,qm+6))}function d$e(t){return dt.equals(c$e,t.subarray(qm,qm+6))&&dt.equals(l$e,t.subarray(KF,KF+2))}function f$e(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}function h$e(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function p$e(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function Jse(t,e,r,n){for(;re?o$e.slice(0,e)+" ":s$e.slice(0,e-t.length)+t+" "}function g$e(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}function m$e(t,e,r){t.toString(8).length>11?g$e(t,e,r):dt.write(e,Wc(t,11),r)}function y$e(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let o=t[n];e?r.push(o):r.push(255-o)}let i=0,s=r.length;for(n=0;n=Math.pow(10,r)&&r++,e+r+t}});var eoe=f((nft,Zse)=>{var{Writable:E$e,Readable:C$e,getStreamError:$se}=VF(),I$e=PF(),Kse=nh(),Ah=XF(),B$e=Kse.alloc(0),e1=class{constructor(){this.buffered=0,this.shifted=0,this.queue=new I$e,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return B$e;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return Kse.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let i=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,i}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},t1=class extends C$e{constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy($se(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=Xse(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},r1=class extends E$e{constructor(e){super(e),e||(e={}),this._buffer=new e1,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=ZF,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=Ah.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=Ah.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=Ah.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=Ah.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?Ah.decodePax(e):Object.assign({},this._paxGlobal,Ah.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=Xse(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(r){return this._continueWrite(r),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let r=this._stream.push(e);return this._missing===0?(this._stream.push(null),r&&this._stream._detach(),r&&this._locked===!1):r}_createStream(){return new t1(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let r=this._callback;this._callback=ZF,r(e)}_write(e,r){this._callback=r,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy($se(this)),e(null)}[Symbol.asyncIterator](){let e=null,r=null,n=null,i=null,s=null,o=this;return this.on("entry",l),this.on("error",d=>{e=d}),this.on("close",A),{[Symbol.asyncIterator](){return this},next(){return new Promise(c)},return(){return u(null)},throw(d){return u(d)}};function a(d){if(!s)return;let h=s;s=null,h(d)}function c(d,h){if(e)return h(e);if(i){d({value:i,done:!1}),i=null;return}r=d,n=h,a(null),o._finished&&r&&(r({value:void 0,done:!0}),r=n=null)}function l(d,h,g){s=g,h.on("error",ZF),r?(r({value:h,done:!1}),r=n=null):i=h}function A(){a(e),r&&(e?n(e):r({value:void 0,done:!0}),r=n=null)}function u(d){return o.destroy(d),a(d),new Promise((h,g)=>{if(o.destroyed)return h({value:void 0,done:!0});o.once("close",function(){d?g(d):h({value:void 0,done:!0})})})}}};Zse.exports=function(e){return new r1(e)};function ZF(){}function Xse(t){return t&=511,t&&512-t}});var roe=f((ift,n1)=>{var toe={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{n1.exports=require("fs").constants||toe}catch{n1.exports=toe}});var aoe=f((sft,ooe)=>{var{Readable:b$e,Writable:w$e,getStreamError:noe}=VF(),RA=nh(),uh=roe(),YQ=XF(),Q$e=493,_$e=420,ioe=RA.alloc(1024),s1=class extends w$e{constructor(e,r,n){super({mapWritable:N$e,eagerOpen:!0}),this.written=0,this.header=r,this._callback=n,this._linkname=null,this._isLinkname=r.type==="symlink"&&!r.linkname,this._isVoid=r.type!=="file"&&r.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let r=this._callback;this._callback=null,r(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,r){if(this._isLinkname)return this._linkname=this._linkname?RA.concat([this._linkname,e]):e,r(null);if(this._isVoid)return e.byteLength>0?r(new Error("No body allowed for this entry")):r();if(this.written+=e.byteLength,this._pack.push(e))return r();this._pack._drain=r}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?RA.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),soe(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return noe(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},o1=class extends b$e{constructor(e){super(e),this._drain=i1,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,r,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof r=="function"&&(n=r,r=null),n||(n=i1),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=S$e(e.mode)),e.mode||(e.mode=e.type==="directory"?Q$e:_$e),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=RA.from(r));let i=new s1(this,e,n);return RA.isBuffer(r)?(e.size=r.byteLength,i.write(r),i.end(),i):(i._isVoid,i)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(ioe),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let r=YQ.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=YQ.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:r.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(YQ.encode(n)),this.push(r),soe(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(YQ.encode(n))}_doDrain(){let e=this._drain;this._drain=i1,e()}_predestroy(){let e=noe(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let r=this._pending.shift();r.destroy(e),r._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};ooe.exports=function(e){return new o1(e)};function S$e(t){switch(t&uh.S_IFMT){case uh.S_IFBLK:return"block-device";case uh.S_IFCHR:return"character-device";case uh.S_IFDIR:return"directory";case uh.S_IFIFO:return"fifo";case uh.S_IFLNK:return"symlink"}return"file"}function i1(){}function soe(t,e){e&=511,e&&t.push(ioe.subarray(0,512-e))}function N$e(t){return RA.isBuffer(t)?t:RA.from(t)}});var coe=f(a1=>{a1.extract=eoe();a1.pack=aoe()});var uoe=f((aft,Aoe)=>{var R$e=require("zlib"),x$e=coe(),loe=th(),Ra=function(t){if(!(this instanceof Ra))return new Ra(t);t=this.options=loe.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=x$e.pack(t),this.compressor=!1,t.gzip&&(this.compressor=R$e.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))};Ra.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Ra.prototype.append=function(t,e,r){var n=this;e.mtime=e.date;function i(o,a){if(o){r(o);return}n.engine.entry(e,a,function(c){r(c,e)})}if(e.sourceType==="buffer")i(null,t);else if(e.sourceType==="stream"&&e.stats){e.size=e.stats.size;var s=n.engine.entry(e,function(o){r(o,e)});t.pipe(s)}else e.sourceType==="stream"&&loe.collectStream(t,i)};Ra.prototype.finalize=function(){this.engine.finalize()};Ra.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Ra.prototype.pipe=function(t,e){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(t,e):this.engine.pipe.apply(this.engine,arguments)};Ra.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};Aoe.exports=Ra});var hoe=f((cft,foe)=>{"use strict";function v$e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var T$e=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function doe(t){if(Buffer.isBuffer(t))return t;if(typeof t=="number")return Buffer.alloc(t);if(typeof t=="string")return Buffer.from(t);throw new Error("input must be buffer, number, or string, received "+typeof t)}function P$e(t){let e=doe(4);return e.writeInt32BE(t,0),e}function c1(t,e){t=doe(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}function l1(){return P$e(c1.apply(null,arguments))}l1.signed=function(){return c1.apply(null,arguments)};l1.unsigned=function(){return c1.apply(null,arguments)>>>0};var D$e=l1,k$e=v$e(D$e);foe.exports=k$e});var yoe=f((lft,moe)=>{var O$e=require("util").inherits,poe=yA().Transform,L$e=hoe(),goe=th(),Jc=function(t){if(!(this instanceof Jc))return new Jc(t);t=this.options=goe.defaults(t,{}),poe.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]};O$e(Jc,poe);Jc.prototype._transform=function(t,e,r){r(null,t)};Jc.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};Jc.prototype.append=function(t,e,r){var n=this;e.crc32=0;function i(s,o){if(s){r(s);return}e.size=o.length||0,e.crc32=L$e.unsigned(o),n.files.push(e),r(null,e)}e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&goe.collectStream(t,i)};Jc.prototype.finalize=function(){this._writeStringified(),this.end()};moe.exports=Jc});var Coe=f((Aft,Eoe)=>{var M$e=Tie(),Hm={},Vc=function(t,e){return Vc.create(t,e)};Vc.create=function(t,e){if(Hm[t]){var r=new M$e(t,e);return r.setFormat(t),r.setModule(new Hm[t](e)),r}else throw new Error("create("+t+"): format not registered")};Vc.registerFormat=function(t,e){if(Hm[t])throw new Error("register("+t+"): format already registered");if(typeof e!="function")throw new Error("register("+t+"): format module invalid");if(typeof e.prototype.append!="function"||typeof e.prototype.finalize!="function")throw new Error("register("+t+"): format module missing methods");Hm[t]=e};Vc.isRegisteredFormat=function(t){return!!Hm[t]};Vc.registerFormat("zip",Ase());Vc.registerFormat("tar",uoe());Vc.registerFormat("json",yoe());Eoe.exports=Vc});var Boe=f(On=>{"use strict";var F$e=On&&On.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),U$e=On&&On.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),A1=On&&On.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{throw zs.error("An error has occurred while creating the zip file for upload"),zs.info(t),new Error("An error has occurred during zip creation for the artifact")},W$e=t=>{t.code==="ENOENT"?(zs.warning("ENOENT warning during artifact zip creation. No such file or directory"),zs.info(t)):(zs.warning(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),zs.info(t))},J$e=()=>{zs.debug("Zip stream for upload has finished.")},V$e=()=>{zs.debug("Zip stream for upload has ended.")}});var Qoe=f(Ys=>{"use strict";var $$e=Ys&&Ys.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),K$e=Ys&&Ys.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),X$e=Ys&&Ys.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iE.sourcePath?[E.sourcePath]:[]));let s=(0,nKe.getBackendIdsFromToken)(),o=(0,rKe.internalArtifactTwirpClient)(),a={workflowRunBackendId:s.workflowRunBackendId,workflowJobRunBackendId:s.workflowJobRunBackendId,name:t,version:4},c=(0,eKe.getExpiration)(n?.retentionDays);c&&(a.expiresAt=c);let l=yield o.CreateArtifact(a);if(!l.ok)throw new u1.InvalidResponseError("CreateArtifact: response from backend was not ok");let A=yield(0,sKe.createZipUploadStream)(i,n?.compressionLevel),u=yield(0,iKe.uploadZipToBlobStorage)(l.signedUploadUrl,A),d={workflowRunBackendId:s.workflowRunBackendId,workflowJobRunBackendId:s.workflowJobRunBackendId,name:t,size:u.uploadSize?u.uploadSize.toString():"0"};u.sha256Hash&&(d.hash=oKe.StringValue.create({value:`sha256:${u.sha256Hash}`})),boe.info("Finalizing artifact upload");let h=yield o.FinalizeArtifact(d);if(!h.ok)throw new u1.InvalidResponseError("FinalizeArtifact: response from backend was not ok");let g=BigInt(h.artifactId);return boe.info(`Artifact ${t}.zip successfully finalized. Artifact ID ${g}`),{size:u.uploadSize,digest:u.sha256Hash,id:Number(g)}})}});var f1=f(JQ=>{"use strict";Object.defineProperty(JQ,"__esModule",{value:!0});JQ.Context=void 0;var _oe=require("fs"),cKe=require("os"),d1=class{constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,_oe.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,_oe.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${cKe.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};JQ.Context=d1});var Roe=f(Lr=>{"use strict";var lKe=Lr&&Lr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),AKe=Lr&&Lr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uKe=Lr&&Lr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&lKe(e,t,r);return AKe(e,t),e},dKe=Lr&&Lr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?s(A.value):i(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.getApiBaseUrl=Lr.getProxyFetch=Lr.getProxyAgentDispatcher=Lr.getProxyAgent=Lr.getAuthString=void 0;var Soe=uKe(fp()),fKe=mR();function hKe(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}Lr.getAuthString=hKe;function pKe(t){return new Soe.HttpClient().getAgent(t)}Lr.getProxyAgent=pKe;function Noe(t){return new Soe.HttpClient().getAgentDispatcher(t)}Lr.getProxyAgentDispatcher=Noe;function gKe(t){let e=Noe(t);return(n,i)=>dKe(this,void 0,void 0,function*(){return(0,fKe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))})}Lr.getProxyFetch=gKe;function mKe(){return process.env.GITHUB_API_URL||"https://api.github.com"}Lr.getApiBaseUrl=mKe});var Gm=f(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});function yKe(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}h1.getUserAgent=yKe});var Toe=f((gft,voe)=>{voe.exports=xoe;function xoe(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce(function(i,s){return xoe.bind(null,t,s,i,n)},r)():Promise.resolve().then(function(){return t.registry[e]?t.registry[e].reduce(function(i,s){return s.hook.bind(null,i,n)},r)():r(n)})}});var Doe=f((mft,Poe)=>{Poe.exports=EKe;function EKe(t,e,r,n){var i=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=function(s,o){return Promise.resolve().then(i.bind(null,o)).then(s.bind(null,o))}),e==="after"&&(n=function(s,o){var a;return Promise.resolve().then(s.bind(null,o)).then(function(c){return a=c,i(a,o)}).then(function(){return a})}),e==="error"&&(n=function(s,o){return Promise.resolve().then(s.bind(null,o)).catch(function(a){return i(a,o)})}),t.registry[r].push({hook:n,orig:i})}});var Ooe=f((yft,koe)=>{koe.exports=CKe;function CKe(t,e,r){if(t.registry[e]){var n=t.registry[e].map(function(i){return i.orig}).indexOf(r);n!==-1&&t.registry[e].splice(n,1)}}});var Goe=f((Eft,jm)=>{var Uoe=Toe(),IKe=Doe(),BKe=Ooe(),Loe=Function.bind,Moe=Loe.bind(Loe);function qoe(t,e,r){var n=Moe(BKe,null).apply(null,r?[e,r]:[e]);t.api={remove:n},t.remove=n,["before","error","after","wrap"].forEach(function(i){var s=r?[e,i,r]:[e,i];t[i]=t.api[i]=Moe(IKe,null).apply(null,s)})}function bKe(){var t="h",e={registry:{}},r=Uoe.bind(null,e,t);return qoe(r,e,t),r}function Hoe(){var t={registry:{}},e=Uoe.bind(null,t);return qoe(e,t),e}var Foe=!1;function dh(){return Foe||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),Foe=!0),Hoe()}dh.Singular=bKe.bind();dh.Collection=Hoe.bind();jm.exports=dh;jm.exports.Hook=dh;jm.exports.Singular=dh.Singular;jm.exports.Collection=dh.Collection});var Xoe=f((Cft,Koe)=>{"use strict";var m1=Object.defineProperty,wKe=Object.getOwnPropertyDescriptor,QKe=Object.getOwnPropertyNames,_Ke=Object.prototype.hasOwnProperty,SKe=(t,e)=>{for(var r in e)m1(t,r,{get:e[r],enumerable:!0})},NKe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of QKe(e))!_Ke.call(t,i)&&i!==r&&m1(t,i,{get:()=>e[i],enumerable:!(n=wKe(e,i))||n.enumerable});return t},RKe=t=>NKe(m1({},"__esModule",{value:!0}),t),Yoe={};SKe(Yoe,{endpoint:()=>jKe});Koe.exports=RKe(Yoe);var xKe=Gm(),vKe="9.0.6",TKe=`octokit-endpoint.js/${vKe} ${(0,xKe.getUserAgent)()}`,PKe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":TKe},mediaType:{format:""}};function DKe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}function kKe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}function Woe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{kKe(e[n])?n in t?r[n]=Woe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}function joe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}function g1(t,e,r){if(typeof e=="string"){let[i,s]=e.split(" ");r=Object.assign(s?{method:i,url:s}:{url:i},r)}else r=Object.assign({},e);r.headers=DKe(r.headers),joe(r),joe(r.headers);let n=Woe(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(n.mediaType.previews=t.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}function OKe(t,e){let r=/\?/.test(t)?"&":"?",n=Object.keys(e);return n.length===0?t:t+r+n.map(i=>i==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(e[i])}`).join("&")}var LKe=/\{[^{}}]+\}/g;function MKe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}function zoe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}function Joe(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}function hh(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function zm(t,e,r){return e=t==="+"||t==="#"?Joe(e):hh(e),r?hh(r)+"="+e:e}function fh(t){return t!=null}function p1(t){return t===";"||t==="&"||t==="?"}function UKe(t,e,r,n){var i=t[r],s=[];if(fh(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),s.push(zm(e,i,p1(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(fh).forEach(function(o){s.push(zm(e,o,p1(e)?r:""))}):Object.keys(i).forEach(function(o){fh(i[o])&&s.push(zm(e,i[o],o))});else{let o=[];Array.isArray(i)?i.filter(fh).forEach(function(a){o.push(zm(e,a))}):Object.keys(i).forEach(function(a){fh(i[a])&&(o.push(hh(a)),o.push(zm(e,i[a].toString())))}),p1(e)?s.push(hh(r)+"="+o.join(",")):o.length!==0&&s.push(o.join(","))}else e===";"?fh(i)&&s.push(hh(r)):i===""&&(e==="&"||e==="?")?s.push(hh(r)+"="):i===""&&s.push("");return s}function qKe(t){return{expand:HKe.bind(null,t)}}function HKe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,s){if(i){let a="",c=[];if(r.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(l){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(l);c.push(UKe(e,a,A[1],A[2]||A[3]))}),a&&a!=="+"){var o=",";return a==="?"?o="&":a!=="#"&&(o=a),(c.length!==0?a:"")+c.join(o)}else return c.join(",")}else return Joe(s)}),t==="/"?t:t.replace(/\/$/,"")}function Voe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=zoe(t,["method","baseUrl","url","headers","request","mediaType"]),o=FKe(r);r=qKe(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let a=Object.keys(t).filter(A=>o.includes(A)).concat("baseUrl"),c=zoe(s,a);if(!/application\/octet-stream/i.test(n.accept)&&(t.mediaType.format&&(n.accept=n.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=n.accept.match(/(?{let d=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${u}-preview${d}`}).join(",")}return["GET","HEAD"].includes(e)?r=OKe(r,c):"data"in c?i=c.data:Object.keys(c).length&&(i=c),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof i>"u"&&(i=""),Object.assign({method:e,url:r,headers:n},typeof i<"u"?{body:i}:null,t.request?{request:t.request}:null)}function GKe(t,e,r){return Voe(g1(t,e,r))}function $oe(t,e){let r=g1(t,e),n=GKe.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:$oe.bind(null,r),merge:g1.bind(null,r),parse:Voe})}var jKe=$oe(null,PKe)});var Zoe=f(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});var y1=class extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}};E1.Deprecation=y1});var rae=f((Bft,tae)=>{tae.exports=eae;function eae(t,e){if(t&&e)return eae(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i{var nae=rae();C1.exports=nae(VQ);C1.exports.strict=nae(iae);VQ.proto=VQ(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return VQ(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return iae(this)},configurable:!0})});function VQ(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function iae(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var uae=f((wft,Aae)=>{"use strict";var zKe=Object.create,$Q=Object.defineProperty,YKe=Object.getOwnPropertyDescriptor,WKe=Object.getOwnPropertyNames,JKe=Object.getPrototypeOf,VKe=Object.prototype.hasOwnProperty,$Ke=(t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},aae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WKe(e))!VKe.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=YKe(e,i))||n.enumerable});return t},KKe=(t,e,r)=>(r=t!=null?zKe(JKe(t)):{},aae(e||!t||!t.__esModule?$Q(r,"default",{value:t,enumerable:!0}):r,t)),XKe=t=>aae($Q({},"__esModule",{value:!0}),t),cae={};$Ke(cae,{RequestError:()=>tXe});Aae.exports=XKe(cae);var oae=Zoe(),lae=KKe(sae()),ZKe=(0,lae.default)(t=>console.warn(t)),eXe=(0,lae.default)(t=>console.warn(t)),tXe=class extends Error{constructor(t,e,r){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=e;let n;"headers"in r&&typeof r.headers<"u"&&(n=r.headers),"response"in r&&(this.response=r.response,n=r.response.headers);let i=Object.assign({},r.request);r.request.headers.authorization&&(i.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/(?{"use strict";var b1=Object.defineProperty,rXe=Object.getOwnPropertyDescriptor,nXe=Object.getOwnPropertyNames,iXe=Object.prototype.hasOwnProperty,sXe=(t,e)=>{for(var r in e)b1(t,r,{get:e[r],enumerable:!0})},oXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nXe(e))!iXe.call(t,i)&&i!==r&&b1(t,i,{get:()=>e[i],enumerable:!(n=rXe(e,i))||n.enumerable});return t},aXe=t=>oXe(b1({},"__esModule",{value:!0}),t),fae={};sXe(fae,{request:()=>hXe});hae.exports=aXe(fae);var cXe=Xoe(),lXe=Gm(),AXe="8.4.1";function uXe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}var Ym=uae();function dXe(t){return t.arrayBuffer()}function dae(t){var e,r,n,i;let s=t.request&&t.request.log?t.request.log:console,o=((e=t.request)==null?void 0:e.parseSuccessResponseBody)!==!1;(uXe(t.body)||Array.isArray(t.body))&&(t.body=JSON.stringify(t.body));let a={},c,l,{fetch:A}=globalThis;if((r=t.request)!=null&&r.fetch&&(A=t.request.fetch),!A)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");return A(t.url,{method:t.method,body:t.body,redirect:(n=t.request)==null?void 0:n.redirect,headers:t.headers,signal:(i=t.request)==null?void 0:i.signal,...t.body&&{duplex:"half"}}).then(async u=>{l=u.url,c=u.status;for(let d of u.headers)a[d[0]]=d[1];if("deprecation"in a){let d=a.link&&a.link.match(/<([^<>]+)>; rel="deprecation"/),h=d&&d.pop();s.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${a.sunset}${h?`. See ${h}`:""}`)}if(!(c===204||c===205)){if(t.method==="HEAD"){if(c<400)return;throw new Ym.RequestError(u.statusText,c,{response:{url:l,status:c,headers:a,data:void 0},request:t})}if(c===304)throw new Ym.RequestError("Not modified",c,{response:{url:l,status:c,headers:a,data:await I1(u)},request:t});if(c>=400){let d=await I1(u);throw new Ym.RequestError(fXe(d),c,{response:{url:l,status:c,headers:a,data:d},request:t})}return o?await I1(u):u.body}}).then(u=>({status:c,url:l,headers:a,data:u})).catch(u=>{if(u instanceof Ym.RequestError)throw u;if(u.name==="AbortError")throw u;let d=u.message;throw u.name==="TypeError"&&"cause"in u&&(u.cause instanceof Error?d=u.cause.message:typeof u.cause=="string"&&(d=u.cause)),new Ym.RequestError(d,500,{request:t})})}async function I1(t){let e=t.headers.get("content-type");return/application\/json/.test(e)?t.json().catch(()=>t.text()).catch(()=>""):!e||/^text\/|charset=utf-8$/.test(e)?t.text():dXe(t)}function fXe(t){if(typeof t=="string")return t;let e;return"documentation_url"in t?e=` - ${t.documentation_url}`:e="","message"in t?Array.isArray(t.errors)?`${t.message}: ${t.errors.map(JSON.stringify).join(", ")}${e}`:`${t.message}${e}`:`Unknown error: ${JSON.stringify(t)}`}function B1(t,e){let r=t.defaults(e);return Object.assign(function(i,s){let o=r.merge(i,s);if(!o.request||!o.request.hook)return dae(r.parse(o));let a=(c,l)=>dae(r.parse(r.merge(c,l)));return Object.assign(a,{endpoint:r,defaults:B1.bind(null,r)}),o.request.hook(a,o)},{endpoint:r,defaults:B1.bind(null,r)})}var hXe=B1(cXe.endpoint,{headers:{"user-agent":`octokit-request.js/${AXe} ${(0,lXe.getUserAgent)()}`}})});var Eae=f((Rft,yae)=>{"use strict";var w1=Object.defineProperty,pXe=Object.getOwnPropertyDescriptor,gXe=Object.getOwnPropertyNames,mXe=Object.prototype.hasOwnProperty,yXe=(t,e)=>{for(var r in e)w1(t,r,{get:e[r],enumerable:!0})},EXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gXe(e))!mXe.call(t,i)&&i!==r&&w1(t,i,{get:()=>e[i],enumerable:!(n=pXe(e,i))||n.enumerable});return t},CXe=t=>EXe(w1({},"__esModule",{value:!0}),t),gae={};yXe(gae,{GraphqlResponseError:()=>mae,graphql:()=>NXe,withCustomRequest:()=>RXe});yae.exports=CXe(gae);var IXe=Wm(),BXe=Gm(),bXe="7.1.1",Sft=Wm(),Nft=Wm();function wXe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` -`)}var mae=class extends Error{constructor(t,e,r){super(wXe(r)),this.request=t,this.headers=e,this.response=r,this.name="GraphqlResponseError",this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},QXe=["method","baseUrl","url","headers","request","query","mediaType"],_Xe=["query","method","url"],pae=/\/api\/v3\/?$/;function SXe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let o in r)if(_Xe.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(n).reduce((o,a)=>QXe.includes(a)?(o[a]=n[a],o):(o.variables||(o.variables={}),o.variables[a]=n[a],o),{}),s=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return pae.test(s)&&(i.url=s.replace(pae,"/api/graphql")),t(i).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new mae(i,a,o.data)}return o.data.data})}function Q1(t,e){let r=t.defaults(e);return Object.assign((i,s)=>SXe(r,i,s),{defaults:Q1.bind(null,r),endpoint:r.endpoint})}var NXe=Q1(IXe.request,{headers:{"user-agent":`octokit-graphql.js/${bXe} ${(0,BXe.getUserAgent)()}`},method:"POST",url:"/graphql"});function RXe(t){return Q1(t,{method:"POST",url:"/graphql"})}});var Bae=f((Tft,Iae)=>{"use strict";var _1=Object.defineProperty,xXe=Object.getOwnPropertyDescriptor,vXe=Object.getOwnPropertyNames,TXe=Object.prototype.hasOwnProperty,PXe=(t,e)=>{for(var r in e)_1(t,r,{get:e[r],enumerable:!0})},DXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vXe(e))!TXe.call(t,i)&&i!==r&&_1(t,i,{get:()=>e[i],enumerable:!(n=xXe(e,i))||n.enumerable});return t},kXe=t=>DXe(_1({},"__esModule",{value:!0}),t),Cae={};PXe(Cae,{createTokenAuth:()=>HXe});Iae.exports=kXe(Cae);var OXe=/^v1\./,LXe=/^ghs_/,MXe=/^ghu_/;async function FXe(t){let e=t.split(/\./).length===3,r=OXe.test(t)||LXe.test(t),n=MXe.test(t);return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}function UXe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function qXe(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=UXe(t),e(i)}var HXe=function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(FXe.bind(null,e),{hook:qXe.bind(null,e)})}});var Rae=f((Pft,Nae)=>{"use strict";var S1=Object.defineProperty,GXe=Object.getOwnPropertyDescriptor,jXe=Object.getOwnPropertyNames,zXe=Object.prototype.hasOwnProperty,YXe=(t,e)=>{for(var r in e)S1(t,r,{get:e[r],enumerable:!0})},WXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jXe(e))!zXe.call(t,i)&&i!==r&&S1(t,i,{get:()=>e[i],enumerable:!(n=GXe(e,i))||n.enumerable});return t},JXe=t=>WXe(S1({},"__esModule",{value:!0}),t),_ae={};YXe(_ae,{Octokit:()=>rZe});Nae.exports=JXe(_ae);var VXe=Gm(),$Xe=Goe(),bae=Wm(),KXe=Eae(),XXe=Bae(),Sae="5.2.2",wae=()=>{},ZXe=console.warn.bind(console),eZe=console.error.bind(console);function tZe(t={}){return typeof t.debug!="function"&&(t.debug=wae),typeof t.info!="function"&&(t.info=wae),typeof t.warn!="function"&&(t.warn=ZXe),typeof t.error!="function"&&(t.error=eZe),t}var Qae=`octokit-core.js/${Sae} ${(0,VXe.getUserAgent)()}`,rZe=class{static{this.VERSION=Sae}static defaults(t){return class extends this{constructor(...r){let n=r[0]||{};if(typeof t=="function"){super(t(n));return}super(Object.assign({},t,n,n.userAgent&&t.userAgent?{userAgent:`${n.userAgent} ${t.userAgent}`}:null))}}}static{this.plugins=[]}static plugin(...t){let e=this.plugins;return class extends this{static{this.plugins=e.concat(t.filter(n=>!e.includes(n)))}}}constructor(t={}){let e=new $Xe.Collection,r={baseUrl:bae.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:e.bind(null,"request")}),mediaType:{previews:[],format:""}};if(r.headers["user-agent"]=t.userAgent?`${t.userAgent} ${Qae}`:Qae,t.baseUrl&&(r.baseUrl=t.baseUrl),t.previews&&(r.mediaType.previews=t.previews),t.timeZone&&(r.headers["time-zone"]=t.timeZone),this.request=bae.request.defaults(r),this.graphql=(0,KXe.withCustomRequest)(this.request).defaults(r),this.log=tZe(t.log),this.hook=e,t.authStrategy){let{authStrategy:i,...s}=t,o=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},t.auth));e.wrap("request",o.hook),this.auth=o}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=(0,XXe.createTokenAuth)(t.auth);e.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i{"use strict";var N1=Object.defineProperty,nZe=Object.getOwnPropertyDescriptor,iZe=Object.getOwnPropertyNames,sZe=Object.prototype.hasOwnProperty,oZe=(t,e)=>{for(var r in e)N1(t,r,{get:e[r],enumerable:!0})},aZe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iZe(e))!sZe.call(t,i)&&i!==r&&N1(t,i,{get:()=>e[i],enumerable:!(n=nZe(e,i))||n.enumerable});return t},cZe=t=>aZe(N1({},"__esModule",{value:!0}),t),xae={};oZe(xae,{legacyRestEndpointMethods:()=>Dae,restEndpointMethods:()=>Pae});kae.exports=cZe(xae);var vae="10.4.1",lZe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},AZe=lZe,xA=new Map;for(let[t,e]of Object.entries(AZe))for(let[r,n]of Object.entries(e)){let[i,s,o]=n,[a,c]=i.split(/ /),l=Object.assign({method:a,url:c},s);xA.has(t)||xA.set(t,new Map),xA.get(t).set(r,{scope:t,methodName:r,endpointDefaults:l,decorations:o})}var uZe={has({scope:t},e){return xA.get(t).has(e)},getOwnPropertyDescriptor(t,e){return{value:this.get(t,e),configurable:!0,writable:!0,enumerable:!0}},defineProperty(t,e,r){return Object.defineProperty(t.cache,e,r),!0},deleteProperty(t,e){return delete t.cache[e],!0},ownKeys({scope:t}){return[...xA.get(t).keys()]},set(t,e,r){return t.cache[e]=r},get({octokit:t,scope:e,cache:r},n){if(r[n])return r[n];let i=xA.get(e).get(n);if(!i)return;let{endpointDefaults:s,decorations:o}=i;return o?r[n]=dZe(t,e,n,s,o):r[n]=t.request.defaults(s),r[n]}};function Tae(t){let e={};for(let r of xA.keys())e[r]=new Proxy({octokit:t,scope:r,cache:{}},uZe);return e}function dZe(t,e,r,n,i){let s=t.request.defaults(n);function o(...a){let c=s.endpoint.merge(...a);if(i.mapToData)return c=Object.assign({},c,{data:c[i.mapToData],[i.mapToData]:void 0}),s(c);if(i.renamed){let[l,A]=i.renamed;t.log.warn(`octokit.${e}.${r}() has been renamed to octokit.${l}.${A}()`)}if(i.deprecated&&t.log.warn(i.deprecated),i.renamedParameters){let l=s.endpoint.merge(...a);for(let[A,u]of Object.entries(i.renamedParameters))A in l&&(t.log.warn(`"${A}" parameter is deprecated for "octokit.${e}.${r}()". Use "${u}" instead`),u in l||(l[u]=l[A]),delete l[A]);return s(l)}return s(...a)}return Object.assign(o,s)}function Pae(t){return{rest:Tae(t)}}Pae.VERSION=vae;function Dae(t){let e=Tae(t);return{...e,rest:e}}Dae.VERSION=vae});var Gae=f((Mft,Hae)=>{"use strict";var R1=Object.defineProperty,fZe=Object.getOwnPropertyDescriptor,hZe=Object.getOwnPropertyNames,pZe=Object.prototype.hasOwnProperty,gZe=(t,e)=>{for(var r in e)R1(t,r,{get:e[r],enumerable:!0})},mZe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hZe(e))!pZe.call(t,i)&&i!==r&&R1(t,i,{get:()=>e[i],enumerable:!(n=fZe(e,i))||n.enumerable});return t},yZe=t=>mZe(R1({},"__esModule",{value:!0}),t),Lae={};gZe(Lae,{composePaginateRest:()=>IZe,isPaginatingEndpoint:()=>BZe,paginateRest:()=>qae,paginatingEndpoints:()=>Uae});Hae.exports=yZe(Lae);var EZe="9.2.2";function CZe(t){if(!t.data)return{...t,data:[]};if(!("total_count"in t.data&&!("url"in t.data)))return t;let r=t.data.incomplete_results,n=t.data.repository_selection,i=t.data.total_count;delete t.data.incomplete_results,delete t.data.repository_selection,delete t.data.total_count;let s=Object.keys(t.data)[0],o=t.data[s];return t.data=o,typeof r<"u"&&(t.data.incomplete_results=r),typeof n<"u"&&(t.data.repository_selection=n),t.data.total_count=i,t}function x1(t,e,r){let n=typeof e=="function"?e.endpoint(r):t.request.endpoint(e,r),i=typeof e=="function"?e:t.request,s=n.method,o=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let c=await i({method:s,url:a,headers:o}),l=CZe(c);return a=((l.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],{value:l}}catch(c){if(c.status!==409)throw c;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function Mae(t,e,r,n){return typeof r=="function"&&(n=r,r=void 0),Fae(t,[],x1(t,e,r)[Symbol.asyncIterator](),n)}function Fae(t,e,r,n){return r.next().then(i=>{if(i.done)return e;let s=!1;function o(){s=!0}return e=e.concat(n?n(i.value,o):i.value.data),s?e:Fae(t,e,r,n)})}var IZe=Object.assign(Mae,{iterator:x1}),Uae=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function BZe(t){return typeof t=="string"?Uae.includes(t):!1}function qae(t){return{paginate:Object.assign(Mae.bind(null,t),{iterator:x1.bind(null,t)})}}qae.VERSION=EZe});var Jm=f(yn=>{"use strict";var bZe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wZe=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jae=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&bZe(e,t,r);return wZe(e,t),e};Object.defineProperty(yn,"__esModule",{value:!0});yn.getOctokitOptions=yn.GitHub=yn.defaults=yn.context=void 0;var QZe=jae(f1()),KQ=jae(Roe()),_Ze=Rae(),SZe=Oae(),NZe=Gae();yn.context=new QZe.Context;var v1=KQ.getApiBaseUrl();yn.defaults={baseUrl:v1,request:{agent:KQ.getProxyAgent(v1),fetch:KQ.getProxyFetch(v1)}};yn.GitHub=_Ze.Octokit.plugin(SZe.restEndpointMethods,NZe.paginateRest).defaults(yn.defaults);function RZe(t,e){let r=Object.assign({},e||{}),n=KQ.getAuthString(t,r);return n&&(r.auth=n),r}yn.getOctokitOptions=RZe});var Vm=f(Qs=>{"use strict";var xZe=Qs&&Qs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vZe=Qs&&Qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),TZe=Qs&&Qs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&xZe(e,t,r);return vZe(e,t),e};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.getOctokit=Qs.context=void 0;var PZe=TZe(f1()),zae=Jm();Qs.context=new PZe.Context;function DZe(t,e,...r){let n=zae.GitHub.plugin(...r);return new n((0,zae.getOctokitOptions)(t,e))}Qs.getOctokit=DZe});var Vae=f((qft,Jae)=>{Jae.exports=Ln;function Ln(t){if(!(this instanceof Ln))return new Ln(t);this.value=t}Ln.prototype.get=function(t){for(var e=this.value,r=0;r{var kZe=Vae(),OZe=require("events").EventEmitter;$ae.exports=ph;function ph(t){var e=ph.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}ph.light=function(e){var r=ph.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()};ph.saw=function(t,e){var r=new OZe;return r.handlers=e,r.actions=[],r.chain=function(){var n=kZe(r.handlers).map(function(i){if(this.isRoot)return i;var s=this.path;typeof i=="function"&&this.update(function(){return r.actions.push({path:s,args:[].slice.call(arguments)}),n})});return process.nextTick(function(){r.emit("begin"),r.next()}),n},r.pop=function(){return r.actions.shift()},r.next=function(){var n=r.pop();if(!n)r.emit("end");else if(!n.trap){var i=r.handlers;n.path.forEach(function(s){i=i[s]}),i.apply(r.handlers,n.args)}},r.nest=function(n){var i=[].slice.call(arguments,1),s=!0;if(typeof n=="boolean"){var s=n;n=i.shift()}var o=ph.saw(t,{}),a=t.call(o.handlers,o);a!==void 0&&(o.handlers=a),typeof r.step<"u"&&o.record(),n.apply(o.chain(),i),s!==!1&&o.on("end",r.next)},r.record=function(){LZe(r)},["trap","down","jump"].forEach(function(n){r[n]=function(){throw new Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),r};function LZe(t){t.step=0,t.pop=function(){return t.actions[t.step++]},t.trap=function(e,r){var n=Array.isArray(e)?e:[e];t.actions.push({path:n,step:t.step,cb:r,trap:!0})},t.down=function(e){var r=(Array.isArray(e)?e:[e]).join("/"),n=t.actions.slice(t.step).map(function(s){return s.trap&&s.step<=t.step?!1:s.path.join("/")==r}).indexOf(!0);n>=0?t.step+=n:t.step=t.actions.length;var i=t.actions[t.step-1];i&&i.trap?(t.step=i.step,i.cb()):t.next()},t.jump=function(e){t.step=e,t.next()}}});var Zae=f((Gft,Xae)=>{Xae.exports=si;function si(t){if(!(this instanceof si))return new si(t);this.buffers=t||[],this.length=this.buffers.reduce(function(e,r){return e+r.length},0)}si.prototype.push=function(){for(var t=0;t=0?t:this.length-t,i=[].slice.call(arguments,2);e===void 0?e=this.length-n:e>this.length-n&&(e=this.length-n);for(var t=0;t0){var l=n-a;if(l+e0){var h=i.slice();h.unshift(u),h.push(d),r.splice.apply(r,[c,1].concat(h)),c+=h.length,i=[]}else r.splice(c,1,u,d),c+=2}else s.push(r[c].slice(l)),r[c]=r[c].slice(0,l),c++}for(i.length>0&&(r.splice.apply(r,[c,0].concat(i)),c+=i.length);s.lengththis.length&&(e=this.length);for(var n=0,i=0;i=e-t?Math.min(l+(e-t)-o,c):c;r[a].copy(s,o,l,A),o+=A-l}return s};si.prototype.pos=function(t){if(t<0||t>=this.length)throw new Error("oob");for(var e=t,r=0,n=null;;){if(n=this.buffers[r],e=this.buffers[r].length;)if(n=0,r++,r>=this.buffers.length)return-1;var c=this.buffers[r][n];if(c==t[i]){if(i==0&&(s={i:r,j:n,pos:o}),i++,i==t.length)return s.pos}else i!=0&&(r=s.i,n=s.j,o=s.pos,i=0);n++,o++}};si.prototype.toBuffer=function(){return this.slice()};si.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)}});var tce=f((jft,ece)=>{ece.exports=function(t){function e(n,i){var s=r.store,o=n.split(".");o.slice(0,-1).forEach(function(c){s[c]===void 0&&(s[c]={}),s=s[c]});var a=o[o.length-1];return arguments.length==1?s[a]:s[a]=i}var r={get:function(n){return e(n)},set:function(n,i){return e(n,i)},store:t||{}};return r}});var ace=f((vA,oce)=>{var MZe=Kae(),rce=require("events").EventEmitter,FZe=Zae(),XQ=tce(),UZe=require("stream").Stream;vA=oce.exports=function(t,e){if(Buffer.isBuffer(t))return vA.parse(t);var r=vA.stream();return t&&t.pipe?t.pipe(r):t&&(t.on(e||"data",function(n){r.write(n)}),t.on("end",function(){r.end()})),r};vA.stream=function(t){if(t)return vA.apply(null,arguments);var e=null;function r(u,d,h){e={bytes:u,skip:h,cb:function(g){e=null,d(g)}},i()}var n=null;function i(){if(!e){A&&(l=!0);return}if(typeof e=="function")e();else{var u=n+e.bytes;if(a.length>=u){var d;n==null?(d=a.splice(0,u),e.skip||(d=d.slice())):(e.skip||(d=a.slice(n,u)),n=u),e.skip?e.cb():e.cb(d)}}}function s(u){function d(){l||u.next()}var h=sce(function(g,E){return function(C){r(g,function(I){c.set(C,E(I)),d()})}});return h.tap=function(g){u.nest(g,c.store)},h.into=function(g,E){c.get(g)||c.set(g,{});var C=c;c=XQ(C.get(g)),u.nest(function(){E.apply(this,arguments),this.tap(function(){c=C})},c.store)},h.flush=function(){c.store={},d()},h.loop=function(g){var E=!1;u.nest(!1,function C(){this.vars=c.store,g.call(this,function(){E=!0,d()},c.store),this.tap(function(){E?u.next():C.call(this)}.bind(this))},c.store)},h.buffer=function(g,E){typeof E=="string"&&(E=c.get(E)),r(E,function(C){c.set(g,C),d()})},h.skip=function(g){typeof g=="string"&&(g=c.get(g)),r(g,function(){d()})},h.scan=function(E,C){if(typeof C=="string")C=new Buffer(C);else if(!Buffer.isBuffer(C))throw new Error("search must be a Buffer or a string");var I=0;e=function(){var R=a.indexOf(C,n+I),P=R-n-I;R!==-1?(e=null,n!=null?(c.set(E,a.slice(n,n+I+P)),n+=I+P+C.length):(c.set(E,a.slice(0,I+P)),a.splice(0,I+P+C.length)),d(),i()):P=Math.max(a.length-C.length-n-I,0),I+=P},i()},h.peek=function(g){n=0,u.nest(function(){g.call(this,c.store),this.tap(function(){n=null})})},h}var o=MZe.light(s);o.writable=!0;var a=FZe();o.write=function(u){a.push(u),i()};var c=XQ(),l=!1,A=!1;return o.end=function(){A=!0},o.pipe=UZe.prototype.pipe,Object.getOwnPropertyNames(rce.prototype).forEach(function(u){o[u]=rce.prototype[u]}),o};vA.parse=function(e){var r=sce(function(s,o){return function(a){if(n+s<=e.length){var c=e.slice(n,n+s);n+=s,i.set(a,o(c))}else i.set(a,null);return r}}),n=0,i=XQ();return r.vars=i.store,r.tap=function(s){return s.call(r,i.store),r},r.into=function(s,o){i.get(s)||i.set(s,{});var a=i;return i=XQ(a.get(s)),o.call(r,i.store),i=a,r},r.loop=function(s){for(var o=!1,a=function(){o=!0};o===!1;)s.call(r,a,i.store);return r},r.buffer=function(s,o){typeof o=="string"&&(o=i.get(o));var a=e.slice(n,Math.min(e.length,n+o));return n+=o,i.set(s,a),r},r.skip=function(s){return typeof s=="string"&&(s=i.get(s)),n+=s,r},r.scan=function(s,o){if(typeof o=="string")o=new Buffer(o);else if(!Buffer.isBuffer(o))throw new Error("search must be a Buffer or a string");i.set(s,null);for(var a=0;a+n<=e.length-o.length+1;a++){for(var c=0;c=e.length},r};function nce(t){for(var e=0,r=0;r{var cce=require("stream").Transform,GZe=require("util");function TA(t,e){if(!(this instanceof TA))return new TA;cce.call(this);var r=typeof t=="object"?t.pattern:t;this.pattern=Buffer.isBuffer(r)?r:Buffer.from(r),this.requiredLength=this.pattern.length,t.requiredExtraSize&&(this.requiredLength+=t.requiredExtraSize),this.data=new Buffer(""),this.bytesSoFar=0,this.matchFn=e}GZe.inherits(TA,cce);TA.prototype.checkDataChunk=function(t){var e=this.data.length>=this.requiredLength;if(e){var r=this.data.indexOf(this.pattern,t?1:0);if(r>=0&&r+this.requiredLength>this.data.length){if(r>0){var n=this.data.slice(0,r);this.push(n),this.bytesSoFar+=r,this.data=this.data.slice(r)}return}if(r===-1){var i=this.data.length-this.requiredLength+1,n=this.data.slice(0,i);this.push(n),this.bytesSoFar+=i,this.data=this.data.slice(i);return}if(r>0){var n=this.data.slice(0,r);this.data=this.data.slice(r),this.push(n),this.bytesSoFar+=r}var s=this.matchFn?this.matchFn(this.data,this.bytesSoFar):!0;if(s){this.data=new Buffer("");return}return!0}};TA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};TA.prototype._flush=function(t){if(this.data.length>0)for(var e=!0;this.checkDataChunk(!e);)e=!1;this.data.length>0&&(this.push(this.data),this.data=null),t()};lce.exports=TA});var dce=f((Yft,uce)=>{"use strict";var T1=require("stream"),jZe=require("util").inherits;function $m(){if(!(this instanceof $m))return new $m;T1.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}jZe($m,T1.PassThrough);$m.prototype.autodrain=function(){return this.pipe(new T1.Transform({transform:function(t,e,r){r()}}))};uce.exports=$m});var D1=f((Wft,hce)=>{"use strict";var $c=ace(),P1=require("stream"),zZe=require("util"),YZe=require("zlib"),WZe=Ace(),fce=dce(),Le={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99},Km=4294967296,JZe=67324752,VZe=134695760,$Ze=33639248,KZe=101075792,XZe=117853008,ZZe=101010256;function En(t){if(!(this instanceof En))return new En(t);P1.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Le.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}zZe.inherits(En,P1.Transform);En.prototype.processDataChunk=function(t){var e;switch(this.state){case Le.STREAM_START:case Le.START:e=4;break;case Le.LOCAL_FILE_HEADER:e=26;break;case Le.LOCAL_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Le.DATA_DESCRIPTOR:e=12;break;case Le.CENTRAL_DIRECTORY_FILE_HEADER:e=42;break;case Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Le.CDIR64_END:e=52;break;case Le.CDIR64_END_DATA_SECTOR:e=this.parsedEntity.centralDirectoryRecordSize-44;break;case Le.CDIR64_LOCATOR:e=16;break;case Le.CENTRAL_DIRECTORY_END:e=18;break;case Le.CENTRAL_DIRECTORY_END_COMMENT:e=this.parsedEntity.commentLength;break;case Le.FILE_DATA:return 0;case Le.FILE_DATA_END:return 0;case Le.TRAILING_JUNK:return this.options.debug&&console.log("found",t.length,"bytes of TRAILING_JUNK"),t.length;default:return t.length}var r=t.length;if(r>>8,(s&255)===80){o=a;break}return this.skippedBytes+=o,this.options.debug&&console.log("Skipped",this.skippedBytes,"bytes"),o}this.state=Le.ERROR;var c=i?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var l=t.readUInt32LE(0),A;try{A=t.slice(0,4).toString()}catch{}console.log("Unexpected signature in zip file: 0x"+l.toString(16),'"'+A+'", skipped',this.skippedBytes,"bytes")}return this.emit("error",new Error(c)),t.length}return this.skippedBytes=0,e;case Le.LOCAL_FILE_HEADER:return this.parsedEntity=this._readFile(t),this.state=Le.LOCAL_FILE_HEADER_SUFFIX,e;case Le.LOCAL_FILE_HEADER_SUFFIX:var u=new fce,d=(this.parsedEntity.flags&2048)!==0;u.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),d);var g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),E=this._readExtraFields(g);if(E&&E.parsed&&(E.parsed.path&&!d&&(u.path=E.parsed.path),Number.isFinite(E.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===Km-1&&(this.parsedEntity.uncompressedSize=E.parsed.uncompressedSize),Number.isFinite(E.parsed.compressedSize)&&this.parsedEntity.compressedSize===Km-1&&(this.parsedEntity.compressedSize=E.parsed.compressedSize)),this.parsedEntity.extra=E.parsed||{},this.options.debug){let M=Object.assign({},this.parsedEntity,{path:u.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:E&&E.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(M,null,2))}return this._prepareOutStream(this.parsedEntity,u),this.emit("entry",u),this.state=Le.FILE_DATA,e;case Le.CENTRAL_DIRECTORY_FILE_HEADER:return this.parsedEntity=this._readCentralDirectoryEntry(t),this.state=Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX,e;case Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var d=(this.parsedEntity.flags&2048)!==0,h=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),d),g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),E=this._readExtraFields(g);E&&E.parsed&&E.parsed.path&&!d&&(h=E.parsed.path),this.parsedEntity.extra=E.parsed;var C=(this.parsedEntity.versionMadeBy&65280)>>8===3,I,R;if(C){I=this.parsedEntity.externalFileAttributes>>>16;var P=I>>>12;R=(P&10)===10}if(this.options.debug){let M=Object.assign({},this.parsedEntity,{path:h,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:I&&"0"+I.toString(8),isSymlink:R,extraFields:E.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(M,null,2))}return this.state=Le.START,e;case Le.CDIR64_END:return this.parsedEntity=this._readEndOfCentralDirectory64(t),this.options.debug&&console.log("decoded CDIR64_END_RECORD:",this.parsedEntity),this.state=Le.CDIR64_END_DATA_SECTOR,e;case Le.CDIR64_END_DATA_SECTOR:return this.state=Le.START,e;case Le.CDIR64_LOCATOR:return this.state=Le.START,e;case Le.CENTRAL_DIRECTORY_END:return this.parsedEntity=this._readEndOfCentralDirectory(t),this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity),this.state=Le.CENTRAL_DIRECTORY_END_COMMENT,e;case Le.CENTRAL_DIRECTORY_END_COMMENT:return this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",t.slice(0,e).toString()),this.state=Le.TRAILING_JUNK,e;case Le.ERROR:return t.length;default:return console.log("didn't handle state #",this.state,"discarding"),t.length}};En.prototype._prepareOutStream=function(t,e){var r=this,n=t.uncompressedSize===0&&/[\/\\]$/.test(e.path);e.path=e.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,"."),e.type=n?"Directory":"File",e.isDirectory=n;var i=!(t.flags&8);i&&(e.size=t.uncompressedSize);var s=t.versionsNeededToExtract<=45;if(this.outStreamInfo={stream:null,limit:i?t.compressedSize:-1,written:0},i)this.outStreamInfo.stream=new P1.PassThrough;else{var o=new Buffer(4);o.writeUInt32LE(VZe,0);var a=t.extra.zip64Mode,c=a?20:12,l={pattern:o,requiredExtraSize:c},A=new WZe(l,function(E,C){var I=r._readDataDescriptor(E,a),R=I.compressedSize===C;if(!a&&!R&&C>=Km)for(var P=C-Km;P>=0&&(R=I.compressedSize===P,!R);)P-=Km;if(R){r.state=Le.FILE_DATA_END;var M=a?24:16;return r.data.length>0?r.data=Buffer.concat([E.slice(M),r.data]):r.data=E.slice(M),!0}});this.outStreamInfo.stream=A}var u=t.flags&1||t.flags&64;if(u||!s){var d=u?"Encrypted files are not supported!":"Zip version "+Math.floor(t.versionsNeededToExtract/10)+"."+t.versionsNeededToExtract%10+" is not supported";e.skip=!0,setImmediate(()=>{r.emit("error",new Error(d))}),this.outStreamInfo.stream.pipe(new fce().autodrain());return}var h=t.compressionMethod>0;if(h){var g=YZe.createInflateRaw();g.on("error",function(E){r.state=Le.ERROR,r.emit("error",E)}),this.outStreamInfo.stream.pipe(g).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};En.prototype._readFile=function(t){var e=$c.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return e};En.prototype._readExtraFields=function(t){var e={},r={parsed:e};this.options.debug&&(r.debug=[]);for(var n=0;n=R+4&&a&1&&(e.mtime=new Date(t.readUInt32LE(n+R)*1e3),R+=4),i.extraSize>=R+4&&a&2&&(e.atime=new Date(t.readUInt32LE(n+R)*1e3),R+=4),i.extraSize>=R+4&&a&4&&(e.ctime=new Date(t.readUInt32LE(n+R)*1e3));break;case 28789:s="Info-ZIP Unicode Path Extra Field";var c=t.readUInt8(n);if(c===1){var R=1,l=t.readUInt32LE(n+R);R+=4;var A=t.slice(n+R);e.path=A.toString()}break;case 13:case 22613:s=i.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var R=0;if(i.extraSize>=8){var u=new Date(t.readUInt32LE(n+R)*1e3);R+=4;var d=new Date(t.readUInt32LE(n+R)*1e3);if(R+=4,e.atime=u,e.mtime=d,i.extraSize>=12){var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);R+=2,e.uid=h,e.gid=g}}break;case 30805:s="Info-ZIP UNIX (type 2)";var R=0;if(i.extraSize>=4){var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);R+=2,e.uid=h,e.gid=g}break;case 30837:s="Info-ZIP New Unix";var R=0,E=t.readUInt8(n);if(R+=1,E===1){var C=t.readUInt8(n+R);R+=1,C<=6&&(e.uid=t.readUIntLE(n+R,C)),R+=C;var I=t.readUInt8(n+R);R+=1,I<=6&&(e.gid=t.readUIntLE(n+R,I))}break;case 30062:s="ASi Unix";var R=0;if(i.extraSize>=14){var P=t.readUInt32LE(n+R);R+=4;var M=t.readUInt16LE(n+R);R+=2;var ee=t.readUInt32LE(n+R);R+=4;var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);if(R+=2,e.mode=M,e.uid=h,e.gid=g,i.extraSize>14){var se=n+R,U=n+i.extraSize-14,te=this._decodeString(t.slice(se,U));e.symlink=te}}break}this.options.debug&&r.debug.push({extraId:"0x"+i.extraId.toString(16),description:s,data:t.slice(n,n+i.extraSize).inspect()}),n+=i.extraSize}return r};En.prototype._readDataDescriptor=function(t,e){if(e){var r=$c.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=$c.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};En.prototype._readCentralDirectoryEntry=function(t){var e=$c.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e};En.prototype._readEndOfCentralDirectory64=function(t){var e=$c.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};En.prototype._readEndOfCentralDirectory=function(t){var e=$c.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var e7e="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ";En.prototype._decodeString=function(t,e){if(e)return t.toString("utf8");if(this.options.decodeString)return this.options.decodeString(t);let r="";for(var n=0;n0&&(this.data=this.data.slice(r),this.data.length!==0););if(this.state===Le.FILE_DATA){if(this.outStreamInfo.limit>=0){var n=this.outStreamInfo.limit-this.outStreamInfo.written,i;n{if(this.state===Le.FILE_DATA_END)return this.state=Le.START,s.end(e);e()})}return}e()};En.prototype.drainAll=function(){this._drainAllEntries=!0};En.prototype._transform=function(t,e,r){var n=this;n.data.length>0?n.data=Buffer.concat([n.data,t]):n.data=t;var i=n.data.length,s=function(){if(n.data.length>0&&n.data.length0){e._parseOrOutput("buffer",function(){if(e.data.length>0)return setImmediate(function(){e._flush(t)});t()});return}if(e.state===Le.FILE_DATA)return t(new Error("Stream finished in an invalid state, uncompression failed"));setImmediate(t)};hce.exports=En});var gce=f((Jft,pce)=>{var Xm=require("stream").Transform,t7e=require("util"),r7e=D1();function Kc(t){if(!(this instanceof Kc))return new Kc(t);var e=t||{};Xm.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new r7e(this.opts);var r=this;this.unzipStream.on("entry",function(n){r.push(n)}),this.unzipStream.on("error",function(n){r.emit("error",n)})}t7e.inherits(Kc,Xm);Kc.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};Kc.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};Kc.prototype.on=function(t,e){return t==="entry"?Xm.prototype.on.call(this,"data",e):Xm.prototype.on.call(this,t,e)};Kc.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new Xm({objectMode:!0,transform:function(t,e,r){r()}}))};pce.exports=Kc});var Cce=f((Vft,Ece)=>{var Zm=require("path"),mce=require("fs"),yce=parseInt("0777",8);Ece.exports=gh.mkdirp=gh.mkdirP=gh;function gh(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||mce;i===void 0&&(i=yce),n||(n=null);var o=r||function(){};t=Zm.resolve(t),s.mkdir(t,i,function(a){if(!a)return n=n||t,o(null,n);switch(a.code){case"ENOENT":if(Zm.dirname(t)===t)return o(a);gh(Zm.dirname(t),e,function(c,l){c?o(c,l):gh(t,e,o,l)});break;default:s.stat(t,function(c,l){c||!l.isDirectory()?o(a,n):o(null,n)});break}})}gh.sync=function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||mce;i===void 0&&(i=yce),n||(n=null),e=Zm.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(a){switch(a.code){case"ENOENT":n=t(Zm.dirname(e),r,n),t(e,r,n);break;default:var o;try{o=s.statSync(e)}catch{throw a}if(!o.isDirectory())throw a;break}}return n}});var wce=f(($ft,bce)=>{var n7e=require("fs"),Ice=require("path"),i7e=require("util"),s7e=Cce(),Bce=require("stream").Transform,o7e=D1();function Xc(t){if(!(this instanceof Xc))return new Xc(t);Bce.call(this),this.opts=t||{},this.unzipStream=new o7e(this.opts),this.unfinishedEntries=0,this.afterFlushWait=!1,this.createdDirectories={};var e=this;this.unzipStream.on("entry",this._processEntry.bind(this)),this.unzipStream.on("error",function(r){e.emit("error",r)})}i7e.inherits(Xc,Bce);Xc.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};Xc.prototype._flush=function(t){var e=this,r=function(){process.nextTick(function(){e.emit("close")}),t()};this.unzipStream.end(function(){if(e.unfinishedEntries>0)return e.afterFlushWait=!0,e.on("await-finished",r);r()})};Xc.prototype._processEntry=function(t){var e=this,r=Ice.join(this.opts.path,t.path),n=t.isDirectory?r:Ice.dirname(r);this.unfinishedEntries++;var i=function(){var s=n7e.createWriteStream(r);s.on("close",function(){e.unfinishedEntries--,e._notifyAwaiter()}),s.on("error",function(o){e.emit("error",o)}),t.pipe(s)};if(this.createdDirectories[n]||n===".")return i();s7e(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};Xc.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};bce.exports=Xc});var Qce=f(k1=>{"use strict";k1.Parse=gce();k1.Extract=wce()});var Tce=f(oi=>{"use strict";var a7e=oi&&oi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),c7e=oi&&oi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ey=oi&&oi.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{let e=new URL(t);return e.search="",e.toString()};function C7e(t){return mh(this,void 0,void 0,function*(){try{return yield Sce.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}function Rce(t,e){return mh(this,void 0,void 0,function*(){let r=0;for(;r<5;)try{return yield xce(t,e)}catch(n){r++,Cn.debug(`Failed to download artifact after ${r} retries due to ${n.message}. Retrying in 5 seconds...`),yield new Promise(i=>setTimeout(i,5e3))}throw new Error(`Artifact download failed after ${r} retries.`)})}function xce(t,e){return mh(this,arguments,void 0,function*(r,n,i={timeout:30*1e3}){let o=yield new d7e.HttpClient((0,h7e.getUserAgentString)()).get(r);if(o.message.statusCode!==200)throw new Error(`Unexpected HTTP response from blob storage: ${o.message.statusCode} ${o.message.statusMessage}`);let a;return new Promise((c,l)=>{let u=setTimeout(()=>{let E=new Error(`Blob storage chunk did not respond in ${i.timeout}ms`);o.message.destroy(E),l(E)},i.timeout),d=l7e.createHash("sha256").setEncoding("hex"),h=new A7e.PassThrough;o.message.pipe(h),h.pipe(d),h.on("data",()=>{u.refresh()}).on("error",E=>{Cn.debug(`response.message: Artifact download failed: ${E.message}`),clearTimeout(u),l(E)}).pipe(f7e.default.Extract({path:n})).on("close",()=>{clearTimeout(u),d&&(d.end(),a=d.read(),Cn.info(`SHA256 digest of downloaded artifact is ${a}`)),c({sha256Digest:`sha256:${a}`})}).on("error",E=>{l(E)})})})}function I7e(t,e,r,n,i){return mh(this,void 0,void 0,function*(){let s=yield vce(i?.path),o=u7e.getOctokit(n),a=!1;Cn.info(`Downloading artifact '${t}' from '${e}/${r}'`);let{headers:c,status:l}=yield o.rest.actions.downloadArtifact({owner:e,repo:r,artifact_id:t,archive_format:"zip",request:{redirect:"manual"}});if(l!==302)throw new Error(`Unable to download artifact. Unexpected status: ${l}`);let{location:A}=c;if(!A)throw new Error("Unable to redirect to artifact download url");Cn.info(`Redirecting to blob download url: ${Nce(A)}`);try{Cn.info(`Starting download of artifact to: ${s}`);let u=yield Rce(A,s);Cn.info("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==u.sha256Digest&&(a=!0,Cn.debug(`Computed digest: ${u.sha256Digest}`),Cn.debug(`Expected digest: ${i.expectedHash}`))}catch(u){throw new Error(`Unable to download and extract artifact: ${u.message}`)}return{downloadPath:s,digestMismatch:a}})}function B7e(t,e){return mh(this,void 0,void 0,function*(){let r=yield vce(e?.path),n=(0,g7e.internalArtifactTwirpClient)(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:o}=(0,y7e.getBackendIdsFromToken)(),a={workflowRunBackendId:s,workflowJobRunBackendId:o,idFilter:m7e.Int64Value.create({value:t.toString()})},{artifacts:c}=yield n.ListArtifacts(a);if(c.length===0)throw new E7e.ArtifactNotFoundError(`No artifacts found for ID: ${t} +`)}var mae=class extends Error{constructor(t,e,r){super(wXe(r)),this.request=t,this.headers=e,this.response=r,this.name="GraphqlResponseError",this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},QXe=["method","baseUrl","url","headers","request","query","mediaType"],_Xe=["query","method","url"],pae=/\/api\/v3\/?$/;function SXe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let o in r)if(_Xe.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(n).reduce((o,a)=>QXe.includes(a)?(o[a]=n[a],o):(o.variables||(o.variables={}),o.variables[a]=n[a],o),{}),s=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return pae.test(s)&&(i.url=s.replace(pae,"/api/graphql")),t(i).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new mae(i,a,o.data)}return o.data.data})}function Q1(t,e){let r=t.defaults(e);return Object.assign((i,s)=>SXe(r,i,s),{defaults:Q1.bind(null,r),endpoint:r.endpoint})}var NXe=Q1(IXe.request,{headers:{"user-agent":`octokit-graphql.js/${bXe} ${(0,BXe.getUserAgent)()}`},method:"POST",url:"/graphql"});function RXe(t){return Q1(t,{method:"POST",url:"/graphql"})}});var Bae=f((vft,Iae)=>{"use strict";var _1=Object.defineProperty,xXe=Object.getOwnPropertyDescriptor,vXe=Object.getOwnPropertyNames,TXe=Object.prototype.hasOwnProperty,PXe=(t,e)=>{for(var r in e)_1(t,r,{get:e[r],enumerable:!0})},DXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vXe(e))!TXe.call(t,i)&&i!==r&&_1(t,i,{get:()=>e[i],enumerable:!(n=xXe(e,i))||n.enumerable});return t},kXe=t=>DXe(_1({},"__esModule",{value:!0}),t),Cae={};PXe(Cae,{createTokenAuth:()=>HXe});Iae.exports=kXe(Cae);var OXe=/^v1\./,LXe=/^ghs_/,MXe=/^ghu_/;async function FXe(t){let e=t.split(/\./).length===3,r=OXe.test(t)||LXe.test(t),n=MXe.test(t);return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}function UXe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function qXe(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=UXe(t),e(i)}var HXe=function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(FXe.bind(null,e),{hook:qXe.bind(null,e)})}});var Rae=f((Tft,Nae)=>{"use strict";var S1=Object.defineProperty,GXe=Object.getOwnPropertyDescriptor,jXe=Object.getOwnPropertyNames,zXe=Object.prototype.hasOwnProperty,YXe=(t,e)=>{for(var r in e)S1(t,r,{get:e[r],enumerable:!0})},WXe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jXe(e))!zXe.call(t,i)&&i!==r&&S1(t,i,{get:()=>e[i],enumerable:!(n=GXe(e,i))||n.enumerable});return t},JXe=t=>WXe(S1({},"__esModule",{value:!0}),t),_ae={};YXe(_ae,{Octokit:()=>rZe});Nae.exports=JXe(_ae);var VXe=Gm(),$Xe=Goe(),bae=Wm(),KXe=Eae(),XXe=Bae(),Sae="5.2.2",wae=()=>{},ZXe=console.warn.bind(console),eZe=console.error.bind(console);function tZe(t={}){return typeof t.debug!="function"&&(t.debug=wae),typeof t.info!="function"&&(t.info=wae),typeof t.warn!="function"&&(t.warn=ZXe),typeof t.error!="function"&&(t.error=eZe),t}var Qae=`octokit-core.js/${Sae} ${(0,VXe.getUserAgent)()}`,rZe=class{static{this.VERSION=Sae}static defaults(t){return class extends this{constructor(...r){let n=r[0]||{};if(typeof t=="function"){super(t(n));return}super(Object.assign({},t,n,n.userAgent&&t.userAgent?{userAgent:`${n.userAgent} ${t.userAgent}`}:null))}}}static{this.plugins=[]}static plugin(...t){let e=this.plugins;return class extends this{static{this.plugins=e.concat(t.filter(n=>!e.includes(n)))}}}constructor(t={}){let e=new $Xe.Collection,r={baseUrl:bae.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:e.bind(null,"request")}),mediaType:{previews:[],format:""}};if(r.headers["user-agent"]=t.userAgent?`${t.userAgent} ${Qae}`:Qae,t.baseUrl&&(r.baseUrl=t.baseUrl),t.previews&&(r.mediaType.previews=t.previews),t.timeZone&&(r.headers["time-zone"]=t.timeZone),this.request=bae.request.defaults(r),this.graphql=(0,KXe.withCustomRequest)(this.request).defaults(r),this.log=tZe(t.log),this.hook=e,t.authStrategy){let{authStrategy:i,...s}=t,o=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},t.auth));e.wrap("request",o.hook),this.auth=o}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=(0,XXe.createTokenAuth)(t.auth);e.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i{"use strict";var N1=Object.defineProperty,nZe=Object.getOwnPropertyDescriptor,iZe=Object.getOwnPropertyNames,sZe=Object.prototype.hasOwnProperty,oZe=(t,e)=>{for(var r in e)N1(t,r,{get:e[r],enumerable:!0})},aZe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iZe(e))!sZe.call(t,i)&&i!==r&&N1(t,i,{get:()=>e[i],enumerable:!(n=nZe(e,i))||n.enumerable});return t},cZe=t=>aZe(N1({},"__esModule",{value:!0}),t),xae={};oZe(xae,{legacyRestEndpointMethods:()=>Dae,restEndpointMethods:()=>Pae});kae.exports=cZe(xae);var vae="10.4.1",lZe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},AZe=lZe,xA=new Map;for(let[t,e]of Object.entries(AZe))for(let[r,n]of Object.entries(e)){let[i,s,o]=n,[a,c]=i.split(/ /),l=Object.assign({method:a,url:c},s);xA.has(t)||xA.set(t,new Map),xA.get(t).set(r,{scope:t,methodName:r,endpointDefaults:l,decorations:o})}var uZe={has({scope:t},e){return xA.get(t).has(e)},getOwnPropertyDescriptor(t,e){return{value:this.get(t,e),configurable:!0,writable:!0,enumerable:!0}},defineProperty(t,e,r){return Object.defineProperty(t.cache,e,r),!0},deleteProperty(t,e){return delete t.cache[e],!0},ownKeys({scope:t}){return[...xA.get(t).keys()]},set(t,e,r){return t.cache[e]=r},get({octokit:t,scope:e,cache:r},n){if(r[n])return r[n];let i=xA.get(e).get(n);if(!i)return;let{endpointDefaults:s,decorations:o}=i;return o?r[n]=dZe(t,e,n,s,o):r[n]=t.request.defaults(s),r[n]}};function Tae(t){let e={};for(let r of xA.keys())e[r]=new Proxy({octokit:t,scope:r,cache:{}},uZe);return e}function dZe(t,e,r,n,i){let s=t.request.defaults(n);function o(...a){let c=s.endpoint.merge(...a);if(i.mapToData)return c=Object.assign({},c,{data:c[i.mapToData],[i.mapToData]:void 0}),s(c);if(i.renamed){let[l,A]=i.renamed;t.log.warn(`octokit.${e}.${r}() has been renamed to octokit.${l}.${A}()`)}if(i.deprecated&&t.log.warn(i.deprecated),i.renamedParameters){let l=s.endpoint.merge(...a);for(let[A,u]of Object.entries(i.renamedParameters))A in l&&(t.log.warn(`"${A}" parameter is deprecated for "octokit.${e}.${r}()". Use "${u}" instead`),u in l||(l[u]=l[A]),delete l[A]);return s(l)}return s(...a)}return Object.assign(o,s)}function Pae(t){return{rest:Tae(t)}}Pae.VERSION=vae;function Dae(t){let e=Tae(t);return{...e,rest:e}}Dae.VERSION=vae});var Gae=f((Lft,Hae)=>{"use strict";var R1=Object.defineProperty,fZe=Object.getOwnPropertyDescriptor,hZe=Object.getOwnPropertyNames,pZe=Object.prototype.hasOwnProperty,gZe=(t,e)=>{for(var r in e)R1(t,r,{get:e[r],enumerable:!0})},mZe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hZe(e))!pZe.call(t,i)&&i!==r&&R1(t,i,{get:()=>e[i],enumerable:!(n=fZe(e,i))||n.enumerable});return t},yZe=t=>mZe(R1({},"__esModule",{value:!0}),t),Lae={};gZe(Lae,{composePaginateRest:()=>IZe,isPaginatingEndpoint:()=>BZe,paginateRest:()=>qae,paginatingEndpoints:()=>Uae});Hae.exports=yZe(Lae);var EZe="9.2.2";function CZe(t){if(!t.data)return{...t,data:[]};if(!("total_count"in t.data&&!("url"in t.data)))return t;let r=t.data.incomplete_results,n=t.data.repository_selection,i=t.data.total_count;delete t.data.incomplete_results,delete t.data.repository_selection,delete t.data.total_count;let s=Object.keys(t.data)[0],o=t.data[s];return t.data=o,typeof r<"u"&&(t.data.incomplete_results=r),typeof n<"u"&&(t.data.repository_selection=n),t.data.total_count=i,t}function x1(t,e,r){let n=typeof e=="function"?e.endpoint(r):t.request.endpoint(e,r),i=typeof e=="function"?e:t.request,s=n.method,o=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let c=await i({method:s,url:a,headers:o}),l=CZe(c);return a=((l.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],{value:l}}catch(c){if(c.status!==409)throw c;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function Mae(t,e,r,n){return typeof r=="function"&&(n=r,r=void 0),Fae(t,[],x1(t,e,r)[Symbol.asyncIterator](),n)}function Fae(t,e,r,n){return r.next().then(i=>{if(i.done)return e;let s=!1;function o(){s=!0}return e=e.concat(n?n(i.value,o):i.value.data),s?e:Fae(t,e,r,n)})}var IZe=Object.assign(Mae,{iterator:x1}),Uae=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function BZe(t){return typeof t=="string"?Uae.includes(t):!1}function qae(t){return{paginate:Object.assign(Mae.bind(null,t),{iterator:x1.bind(null,t)})}}qae.VERSION=EZe});var Jm=f(yn=>{"use strict";var bZe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wZe=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jae=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&bZe(e,t,r);return wZe(e,t),e};Object.defineProperty(yn,"__esModule",{value:!0});yn.getOctokitOptions=yn.GitHub=yn.defaults=yn.context=void 0;var QZe=jae(f1()),KQ=jae(Roe()),_Ze=Rae(),SZe=Oae(),NZe=Gae();yn.context=new QZe.Context;var v1=KQ.getApiBaseUrl();yn.defaults={baseUrl:v1,request:{agent:KQ.getProxyAgent(v1),fetch:KQ.getProxyFetch(v1)}};yn.GitHub=_Ze.Octokit.plugin(SZe.restEndpointMethods,NZe.paginateRest).defaults(yn.defaults);function RZe(t,e){let r=Object.assign({},e||{}),n=KQ.getAuthString(t,r);return n&&(r.auth=n),r}yn.getOctokitOptions=RZe});var Vm=f(Qs=>{"use strict";var xZe=Qs&&Qs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vZe=Qs&&Qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),TZe=Qs&&Qs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&xZe(e,t,r);return vZe(e,t),e};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.getOctokit=Qs.context=void 0;var PZe=TZe(f1()),zae=Jm();Qs.context=new PZe.Context;function DZe(t,e,...r){let n=zae.GitHub.plugin(...r);return new n((0,zae.getOctokitOptions)(t,e))}Qs.getOctokit=DZe});var Vae=f((Uft,Jae)=>{Jae.exports=Ln;function Ln(t){if(!(this instanceof Ln))return new Ln(t);this.value=t}Ln.prototype.get=function(t){for(var e=this.value,r=0;r{var kZe=Vae(),OZe=require("events").EventEmitter;$ae.exports=ph;function ph(t){var e=ph.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}ph.light=function(e){var r=ph.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()};ph.saw=function(t,e){var r=new OZe;return r.handlers=e,r.actions=[],r.chain=function(){var n=kZe(r.handlers).map(function(i){if(this.isRoot)return i;var s=this.path;typeof i=="function"&&this.update(function(){return r.actions.push({path:s,args:[].slice.call(arguments)}),n})});return process.nextTick(function(){r.emit("begin"),r.next()}),n},r.pop=function(){return r.actions.shift()},r.next=function(){var n=r.pop();if(!n)r.emit("end");else if(!n.trap){var i=r.handlers;n.path.forEach(function(s){i=i[s]}),i.apply(r.handlers,n.args)}},r.nest=function(n){var i=[].slice.call(arguments,1),s=!0;if(typeof n=="boolean"){var s=n;n=i.shift()}var o=ph.saw(t,{}),a=t.call(o.handlers,o);a!==void 0&&(o.handlers=a),typeof r.step<"u"&&o.record(),n.apply(o.chain(),i),s!==!1&&o.on("end",r.next)},r.record=function(){LZe(r)},["trap","down","jump"].forEach(function(n){r[n]=function(){throw new Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),r};function LZe(t){t.step=0,t.pop=function(){return t.actions[t.step++]},t.trap=function(e,r){var n=Array.isArray(e)?e:[e];t.actions.push({path:n,step:t.step,cb:r,trap:!0})},t.down=function(e){var r=(Array.isArray(e)?e:[e]).join("/"),n=t.actions.slice(t.step).map(function(s){return s.trap&&s.step<=t.step?!1:s.path.join("/")==r}).indexOf(!0);n>=0?t.step+=n:t.step=t.actions.length;var i=t.actions[t.step-1];i&&i.trap?(t.step=i.step,i.cb()):t.next()},t.jump=function(e){t.step=e,t.next()}}});var Zae=f((Hft,Xae)=>{Xae.exports=si;function si(t){if(!(this instanceof si))return new si(t);this.buffers=t||[],this.length=this.buffers.reduce(function(e,r){return e+r.length},0)}si.prototype.push=function(){for(var t=0;t=0?t:this.length-t,i=[].slice.call(arguments,2);e===void 0?e=this.length-n:e>this.length-n&&(e=this.length-n);for(var t=0;t0){var l=n-a;if(l+e0){var h=i.slice();h.unshift(u),h.push(d),r.splice.apply(r,[c,1].concat(h)),c+=h.length,i=[]}else r.splice(c,1,u,d),c+=2}else s.push(r[c].slice(l)),r[c]=r[c].slice(0,l),c++}for(i.length>0&&(r.splice.apply(r,[c,0].concat(i)),c+=i.length);s.lengththis.length&&(e=this.length);for(var n=0,i=0;i=e-t?Math.min(l+(e-t)-o,c):c;r[a].copy(s,o,l,A),o+=A-l}return s};si.prototype.pos=function(t){if(t<0||t>=this.length)throw new Error("oob");for(var e=t,r=0,n=null;;){if(n=this.buffers[r],e=this.buffers[r].length;)if(n=0,r++,r>=this.buffers.length)return-1;var c=this.buffers[r][n];if(c==t[i]){if(i==0&&(s={i:r,j:n,pos:o}),i++,i==t.length)return s.pos}else i!=0&&(r=s.i,n=s.j,o=s.pos,i=0);n++,o++}};si.prototype.toBuffer=function(){return this.slice()};si.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)}});var tce=f((Gft,ece)=>{ece.exports=function(t){function e(n,i){var s=r.store,o=n.split(".");o.slice(0,-1).forEach(function(c){s[c]===void 0&&(s[c]={}),s=s[c]});var a=o[o.length-1];return arguments.length==1?s[a]:s[a]=i}var r={get:function(n){return e(n)},set:function(n,i){return e(n,i)},store:t||{}};return r}});var ace=f((vA,oce)=>{var MZe=Kae(),rce=require("events").EventEmitter,FZe=Zae(),XQ=tce(),UZe=require("stream").Stream;vA=oce.exports=function(t,e){if(Buffer.isBuffer(t))return vA.parse(t);var r=vA.stream();return t&&t.pipe?t.pipe(r):t&&(t.on(e||"data",function(n){r.write(n)}),t.on("end",function(){r.end()})),r};vA.stream=function(t){if(t)return vA.apply(null,arguments);var e=null;function r(u,d,h){e={bytes:u,skip:h,cb:function(g){e=null,d(g)}},i()}var n=null;function i(){if(!e){A&&(l=!0);return}if(typeof e=="function")e();else{var u=n+e.bytes;if(a.length>=u){var d;n==null?(d=a.splice(0,u),e.skip||(d=d.slice())):(e.skip||(d=a.slice(n,u)),n=u),e.skip?e.cb():e.cb(d)}}}function s(u){function d(){l||u.next()}var h=sce(function(g,E){return function(C){r(g,function(I){c.set(C,E(I)),d()})}});return h.tap=function(g){u.nest(g,c.store)},h.into=function(g,E){c.get(g)||c.set(g,{});var C=c;c=XQ(C.get(g)),u.nest(function(){E.apply(this,arguments),this.tap(function(){c=C})},c.store)},h.flush=function(){c.store={},d()},h.loop=function(g){var E=!1;u.nest(!1,function C(){this.vars=c.store,g.call(this,function(){E=!0,d()},c.store),this.tap(function(){E?u.next():C.call(this)}.bind(this))},c.store)},h.buffer=function(g,E){typeof E=="string"&&(E=c.get(E)),r(E,function(C){c.set(g,C),d()})},h.skip=function(g){typeof g=="string"&&(g=c.get(g)),r(g,function(){d()})},h.scan=function(E,C){if(typeof C=="string")C=new Buffer(C);else if(!Buffer.isBuffer(C))throw new Error("search must be a Buffer or a string");var I=0;e=function(){var R=a.indexOf(C,n+I),P=R-n-I;R!==-1?(e=null,n!=null?(c.set(E,a.slice(n,n+I+P)),n+=I+P+C.length):(c.set(E,a.slice(0,I+P)),a.splice(0,I+P+C.length)),d(),i()):P=Math.max(a.length-C.length-n-I,0),I+=P},i()},h.peek=function(g){n=0,u.nest(function(){g.call(this,c.store),this.tap(function(){n=null})})},h}var o=MZe.light(s);o.writable=!0;var a=FZe();o.write=function(u){a.push(u),i()};var c=XQ(),l=!1,A=!1;return o.end=function(){A=!0},o.pipe=UZe.prototype.pipe,Object.getOwnPropertyNames(rce.prototype).forEach(function(u){o[u]=rce.prototype[u]}),o};vA.parse=function(e){var r=sce(function(s,o){return function(a){if(n+s<=e.length){var c=e.slice(n,n+s);n+=s,i.set(a,o(c))}else i.set(a,null);return r}}),n=0,i=XQ();return r.vars=i.store,r.tap=function(s){return s.call(r,i.store),r},r.into=function(s,o){i.get(s)||i.set(s,{});var a=i;return i=XQ(a.get(s)),o.call(r,i.store),i=a,r},r.loop=function(s){for(var o=!1,a=function(){o=!0};o===!1;)s.call(r,a,i.store);return r},r.buffer=function(s,o){typeof o=="string"&&(o=i.get(o));var a=e.slice(n,Math.min(e.length,n+o));return n+=o,i.set(s,a),r},r.skip=function(s){return typeof s=="string"&&(s=i.get(s)),n+=s,r},r.scan=function(s,o){if(typeof o=="string")o=new Buffer(o);else if(!Buffer.isBuffer(o))throw new Error("search must be a Buffer or a string");i.set(s,null);for(var a=0;a+n<=e.length-o.length+1;a++){for(var c=0;c=e.length},r};function nce(t){for(var e=0,r=0;r{var cce=require("stream").Transform,GZe=require("util");function TA(t,e){if(!(this instanceof TA))return new TA;cce.call(this);var r=typeof t=="object"?t.pattern:t;this.pattern=Buffer.isBuffer(r)?r:Buffer.from(r),this.requiredLength=this.pattern.length,t.requiredExtraSize&&(this.requiredLength+=t.requiredExtraSize),this.data=new Buffer(""),this.bytesSoFar=0,this.matchFn=e}GZe.inherits(TA,cce);TA.prototype.checkDataChunk=function(t){var e=this.data.length>=this.requiredLength;if(e){var r=this.data.indexOf(this.pattern,t?1:0);if(r>=0&&r+this.requiredLength>this.data.length){if(r>0){var n=this.data.slice(0,r);this.push(n),this.bytesSoFar+=r,this.data=this.data.slice(r)}return}if(r===-1){var i=this.data.length-this.requiredLength+1,n=this.data.slice(0,i);this.push(n),this.bytesSoFar+=i,this.data=this.data.slice(i);return}if(r>0){var n=this.data.slice(0,r);this.data=this.data.slice(r),this.push(n),this.bytesSoFar+=r}var s=this.matchFn?this.matchFn(this.data,this.bytesSoFar):!0;if(s){this.data=new Buffer("");return}return!0}};TA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};TA.prototype._flush=function(t){if(this.data.length>0)for(var e=!0;this.checkDataChunk(!e);)e=!1;this.data.length>0&&(this.push(this.data),this.data=null),t()};lce.exports=TA});var dce=f((zft,uce)=>{"use strict";var T1=require("stream"),jZe=require("util").inherits;function $m(){if(!(this instanceof $m))return new $m;T1.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}jZe($m,T1.PassThrough);$m.prototype.autodrain=function(){return this.pipe(new T1.Transform({transform:function(t,e,r){r()}}))};uce.exports=$m});var D1=f((Yft,hce)=>{"use strict";var $c=ace(),P1=require("stream"),zZe=require("util"),YZe=require("zlib"),WZe=Ace(),fce=dce(),Le={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99},Km=4294967296,JZe=67324752,VZe=134695760,$Ze=33639248,KZe=101075792,XZe=117853008,ZZe=101010256;function En(t){if(!(this instanceof En))return new En(t);P1.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Le.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}zZe.inherits(En,P1.Transform);En.prototype.processDataChunk=function(t){var e;switch(this.state){case Le.STREAM_START:case Le.START:e=4;break;case Le.LOCAL_FILE_HEADER:e=26;break;case Le.LOCAL_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Le.DATA_DESCRIPTOR:e=12;break;case Le.CENTRAL_DIRECTORY_FILE_HEADER:e=42;break;case Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Le.CDIR64_END:e=52;break;case Le.CDIR64_END_DATA_SECTOR:e=this.parsedEntity.centralDirectoryRecordSize-44;break;case Le.CDIR64_LOCATOR:e=16;break;case Le.CENTRAL_DIRECTORY_END:e=18;break;case Le.CENTRAL_DIRECTORY_END_COMMENT:e=this.parsedEntity.commentLength;break;case Le.FILE_DATA:return 0;case Le.FILE_DATA_END:return 0;case Le.TRAILING_JUNK:return this.options.debug&&console.log("found",t.length,"bytes of TRAILING_JUNK"),t.length;default:return t.length}var r=t.length;if(r>>8,(s&255)===80){o=a;break}return this.skippedBytes+=o,this.options.debug&&console.log("Skipped",this.skippedBytes,"bytes"),o}this.state=Le.ERROR;var c=i?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var l=t.readUInt32LE(0),A;try{A=t.slice(0,4).toString()}catch{}console.log("Unexpected signature in zip file: 0x"+l.toString(16),'"'+A+'", skipped',this.skippedBytes,"bytes")}return this.emit("error",new Error(c)),t.length}return this.skippedBytes=0,e;case Le.LOCAL_FILE_HEADER:return this.parsedEntity=this._readFile(t),this.state=Le.LOCAL_FILE_HEADER_SUFFIX,e;case Le.LOCAL_FILE_HEADER_SUFFIX:var u=new fce,d=(this.parsedEntity.flags&2048)!==0;u.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),d);var g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),E=this._readExtraFields(g);if(E&&E.parsed&&(E.parsed.path&&!d&&(u.path=E.parsed.path),Number.isFinite(E.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===Km-1&&(this.parsedEntity.uncompressedSize=E.parsed.uncompressedSize),Number.isFinite(E.parsed.compressedSize)&&this.parsedEntity.compressedSize===Km-1&&(this.parsedEntity.compressedSize=E.parsed.compressedSize)),this.parsedEntity.extra=E.parsed||{},this.options.debug){let M=Object.assign({},this.parsedEntity,{path:u.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:E&&E.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(M,null,2))}return this._prepareOutStream(this.parsedEntity,u),this.emit("entry",u),this.state=Le.FILE_DATA,e;case Le.CENTRAL_DIRECTORY_FILE_HEADER:return this.parsedEntity=this._readCentralDirectoryEntry(t),this.state=Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX,e;case Le.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var d=(this.parsedEntity.flags&2048)!==0,h=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),d),g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),E=this._readExtraFields(g);E&&E.parsed&&E.parsed.path&&!d&&(h=E.parsed.path),this.parsedEntity.extra=E.parsed;var C=(this.parsedEntity.versionMadeBy&65280)>>8===3,I,R;if(C){I=this.parsedEntity.externalFileAttributes>>>16;var P=I>>>12;R=(P&10)===10}if(this.options.debug){let M=Object.assign({},this.parsedEntity,{path:h,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:I&&"0"+I.toString(8),isSymlink:R,extraFields:E.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(M,null,2))}return this.state=Le.START,e;case Le.CDIR64_END:return this.parsedEntity=this._readEndOfCentralDirectory64(t),this.options.debug&&console.log("decoded CDIR64_END_RECORD:",this.parsedEntity),this.state=Le.CDIR64_END_DATA_SECTOR,e;case Le.CDIR64_END_DATA_SECTOR:return this.state=Le.START,e;case Le.CDIR64_LOCATOR:return this.state=Le.START,e;case Le.CENTRAL_DIRECTORY_END:return this.parsedEntity=this._readEndOfCentralDirectory(t),this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity),this.state=Le.CENTRAL_DIRECTORY_END_COMMENT,e;case Le.CENTRAL_DIRECTORY_END_COMMENT:return this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",t.slice(0,e).toString()),this.state=Le.TRAILING_JUNK,e;case Le.ERROR:return t.length;default:return console.log("didn't handle state #",this.state,"discarding"),t.length}};En.prototype._prepareOutStream=function(t,e){var r=this,n=t.uncompressedSize===0&&/[\/\\]$/.test(e.path);e.path=e.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,"."),e.type=n?"Directory":"File",e.isDirectory=n;var i=!(t.flags&8);i&&(e.size=t.uncompressedSize);var s=t.versionsNeededToExtract<=45;if(this.outStreamInfo={stream:null,limit:i?t.compressedSize:-1,written:0},i)this.outStreamInfo.stream=new P1.PassThrough;else{var o=new Buffer(4);o.writeUInt32LE(VZe,0);var a=t.extra.zip64Mode,c=a?20:12,l={pattern:o,requiredExtraSize:c},A=new WZe(l,function(E,C){var I=r._readDataDescriptor(E,a),R=I.compressedSize===C;if(!a&&!R&&C>=Km)for(var P=C-Km;P>=0&&(R=I.compressedSize===P,!R);)P-=Km;if(R){r.state=Le.FILE_DATA_END;var M=a?24:16;return r.data.length>0?r.data=Buffer.concat([E.slice(M),r.data]):r.data=E.slice(M),!0}});this.outStreamInfo.stream=A}var u=t.flags&1||t.flags&64;if(u||!s){var d=u?"Encrypted files are not supported!":"Zip version "+Math.floor(t.versionsNeededToExtract/10)+"."+t.versionsNeededToExtract%10+" is not supported";e.skip=!0,setImmediate(()=>{r.emit("error",new Error(d))}),this.outStreamInfo.stream.pipe(new fce().autodrain());return}var h=t.compressionMethod>0;if(h){var g=YZe.createInflateRaw();g.on("error",function(E){r.state=Le.ERROR,r.emit("error",E)}),this.outStreamInfo.stream.pipe(g).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};En.prototype._readFile=function(t){var e=$c.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return e};En.prototype._readExtraFields=function(t){var e={},r={parsed:e};this.options.debug&&(r.debug=[]);for(var n=0;n=R+4&&a&1&&(e.mtime=new Date(t.readUInt32LE(n+R)*1e3),R+=4),i.extraSize>=R+4&&a&2&&(e.atime=new Date(t.readUInt32LE(n+R)*1e3),R+=4),i.extraSize>=R+4&&a&4&&(e.ctime=new Date(t.readUInt32LE(n+R)*1e3));break;case 28789:s="Info-ZIP Unicode Path Extra Field";var c=t.readUInt8(n);if(c===1){var R=1,l=t.readUInt32LE(n+R);R+=4;var A=t.slice(n+R);e.path=A.toString()}break;case 13:case 22613:s=i.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var R=0;if(i.extraSize>=8){var u=new Date(t.readUInt32LE(n+R)*1e3);R+=4;var d=new Date(t.readUInt32LE(n+R)*1e3);if(R+=4,e.atime=u,e.mtime=d,i.extraSize>=12){var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);R+=2,e.uid=h,e.gid=g}}break;case 30805:s="Info-ZIP UNIX (type 2)";var R=0;if(i.extraSize>=4){var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);R+=2,e.uid=h,e.gid=g}break;case 30837:s="Info-ZIP New Unix";var R=0,E=t.readUInt8(n);if(R+=1,E===1){var C=t.readUInt8(n+R);R+=1,C<=6&&(e.uid=t.readUIntLE(n+R,C)),R+=C;var I=t.readUInt8(n+R);R+=1,I<=6&&(e.gid=t.readUIntLE(n+R,I))}break;case 30062:s="ASi Unix";var R=0;if(i.extraSize>=14){var P=t.readUInt32LE(n+R);R+=4;var M=t.readUInt16LE(n+R);R+=2;var ee=t.readUInt32LE(n+R);R+=4;var h=t.readUInt16LE(n+R);R+=2;var g=t.readUInt16LE(n+R);if(R+=2,e.mode=M,e.uid=h,e.gid=g,i.extraSize>14){var se=n+R,U=n+i.extraSize-14,te=this._decodeString(t.slice(se,U));e.symlink=te}}break}this.options.debug&&r.debug.push({extraId:"0x"+i.extraId.toString(16),description:s,data:t.slice(n,n+i.extraSize).inspect()}),n+=i.extraSize}return r};En.prototype._readDataDescriptor=function(t,e){if(e){var r=$c.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=$c.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};En.prototype._readCentralDirectoryEntry=function(t){var e=$c.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e};En.prototype._readEndOfCentralDirectory64=function(t){var e=$c.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};En.prototype._readEndOfCentralDirectory=function(t){var e=$c.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var e7e="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ";En.prototype._decodeString=function(t,e){if(e)return t.toString("utf8");if(this.options.decodeString)return this.options.decodeString(t);let r="";for(var n=0;n0&&(this.data=this.data.slice(r),this.data.length!==0););if(this.state===Le.FILE_DATA){if(this.outStreamInfo.limit>=0){var n=this.outStreamInfo.limit-this.outStreamInfo.written,i;n{if(this.state===Le.FILE_DATA_END)return this.state=Le.START,s.end(e);e()})}return}e()};En.prototype.drainAll=function(){this._drainAllEntries=!0};En.prototype._transform=function(t,e,r){var n=this;n.data.length>0?n.data=Buffer.concat([n.data,t]):n.data=t;var i=n.data.length,s=function(){if(n.data.length>0&&n.data.length0){e._parseOrOutput("buffer",function(){if(e.data.length>0)return setImmediate(function(){e._flush(t)});t()});return}if(e.state===Le.FILE_DATA)return t(new Error("Stream finished in an invalid state, uncompression failed"));setImmediate(t)};hce.exports=En});var gce=f((Wft,pce)=>{var Xm=require("stream").Transform,t7e=require("util"),r7e=D1();function Kc(t){if(!(this instanceof Kc))return new Kc(t);var e=t||{};Xm.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new r7e(this.opts);var r=this;this.unzipStream.on("entry",function(n){r.push(n)}),this.unzipStream.on("error",function(n){r.emit("error",n)})}t7e.inherits(Kc,Xm);Kc.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};Kc.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};Kc.prototype.on=function(t,e){return t==="entry"?Xm.prototype.on.call(this,"data",e):Xm.prototype.on.call(this,t,e)};Kc.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new Xm({objectMode:!0,transform:function(t,e,r){r()}}))};pce.exports=Kc});var Cce=f((Jft,Ece)=>{var Zm=require("path"),mce=require("fs"),yce=parseInt("0777",8);Ece.exports=gh.mkdirp=gh.mkdirP=gh;function gh(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||mce;i===void 0&&(i=yce),n||(n=null);var o=r||function(){};t=Zm.resolve(t),s.mkdir(t,i,function(a){if(!a)return n=n||t,o(null,n);switch(a.code){case"ENOENT":if(Zm.dirname(t)===t)return o(a);gh(Zm.dirname(t),e,function(c,l){c?o(c,l):gh(t,e,o,l)});break;default:s.stat(t,function(c,l){c||!l.isDirectory()?o(a,n):o(null,n)});break}})}gh.sync=function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||mce;i===void 0&&(i=yce),n||(n=null),e=Zm.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(a){switch(a.code){case"ENOENT":n=t(Zm.dirname(e),r,n),t(e,r,n);break;default:var o;try{o=s.statSync(e)}catch{throw a}if(!o.isDirectory())throw a;break}}return n}});var wce=f((Vft,bce)=>{var n7e=require("fs"),Ice=require("path"),i7e=require("util"),s7e=Cce(),Bce=require("stream").Transform,o7e=D1();function Xc(t){if(!(this instanceof Xc))return new Xc(t);Bce.call(this),this.opts=t||{},this.unzipStream=new o7e(this.opts),this.unfinishedEntries=0,this.afterFlushWait=!1,this.createdDirectories={};var e=this;this.unzipStream.on("entry",this._processEntry.bind(this)),this.unzipStream.on("error",function(r){e.emit("error",r)})}i7e.inherits(Xc,Bce);Xc.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};Xc.prototype._flush=function(t){var e=this,r=function(){process.nextTick(function(){e.emit("close")}),t()};this.unzipStream.end(function(){if(e.unfinishedEntries>0)return e.afterFlushWait=!0,e.on("await-finished",r);r()})};Xc.prototype._processEntry=function(t){var e=this,r=Ice.join(this.opts.path,t.path),n=t.isDirectory?r:Ice.dirname(r);this.unfinishedEntries++;var i=function(){var s=n7e.createWriteStream(r);s.on("close",function(){e.unfinishedEntries--,e._notifyAwaiter()}),s.on("error",function(o){e.emit("error",o)}),t.pipe(s)};if(this.createdDirectories[n]||n===".")return i();s7e(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};Xc.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};bce.exports=Xc});var Qce=f(k1=>{"use strict";k1.Parse=gce();k1.Extract=wce()});var Tce=f(oi=>{"use strict";var a7e=oi&&oi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),c7e=oi&&oi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ey=oi&&oi.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{let e=new URL(t);return e.search="",e.toString()};function C7e(t){return mh(this,void 0,void 0,function*(){try{return yield Sce.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}function Rce(t,e){return mh(this,void 0,void 0,function*(){let r=0;for(;r<5;)try{return yield xce(t,e)}catch(n){r++,Cn.debug(`Failed to download artifact after ${r} retries due to ${n.message}. Retrying in 5 seconds...`),yield new Promise(i=>setTimeout(i,5e3))}throw new Error(`Artifact download failed after ${r} retries.`)})}function xce(t,e){return mh(this,arguments,void 0,function*(r,n,i={timeout:30*1e3}){let o=yield new d7e.HttpClient((0,h7e.getUserAgentString)()).get(r);if(o.message.statusCode!==200)throw new Error(`Unexpected HTTP response from blob storage: ${o.message.statusCode} ${o.message.statusMessage}`);let a;return new Promise((c,l)=>{let u=setTimeout(()=>{let E=new Error(`Blob storage chunk did not respond in ${i.timeout}ms`);o.message.destroy(E),l(E)},i.timeout),d=l7e.createHash("sha256").setEncoding("hex"),h=new A7e.PassThrough;o.message.pipe(h),h.pipe(d),h.on("data",()=>{u.refresh()}).on("error",E=>{Cn.debug(`response.message: Artifact download failed: ${E.message}`),clearTimeout(u),l(E)}).pipe(f7e.default.Extract({path:n})).on("close",()=>{clearTimeout(u),d&&(d.end(),a=d.read(),Cn.info(`SHA256 digest of downloaded artifact is ${a}`)),c({sha256Digest:`sha256:${a}`})}).on("error",E=>{l(E)})})})}function I7e(t,e,r,n,i){return mh(this,void 0,void 0,function*(){let s=yield vce(i?.path),o=u7e.getOctokit(n),a=!1;Cn.info(`Downloading artifact '${t}' from '${e}/${r}'`);let{headers:c,status:l}=yield o.rest.actions.downloadArtifact({owner:e,repo:r,artifact_id:t,archive_format:"zip",request:{redirect:"manual"}});if(l!==302)throw new Error(`Unable to download artifact. Unexpected status: ${l}`);let{location:A}=c;if(!A)throw new Error("Unable to redirect to artifact download url");Cn.info(`Redirecting to blob download url: ${Nce(A)}`);try{Cn.info(`Starting download of artifact to: ${s}`);let u=yield Rce(A,s);Cn.info("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==u.sha256Digest&&(a=!0,Cn.debug(`Computed digest: ${u.sha256Digest}`),Cn.debug(`Expected digest: ${i.expectedHash}`))}catch(u){throw new Error(`Unable to download and extract artifact: ${u.message}`)}return{downloadPath:s,digestMismatch:a}})}function B7e(t,e){return mh(this,void 0,void 0,function*(){let r=yield vce(e?.path),n=(0,g7e.internalArtifactTwirpClient)(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:o}=(0,y7e.getBackendIdsFromToken)(),a={workflowRunBackendId:s,workflowJobRunBackendId:o,idFilter:m7e.Int64Value.create({value:t.toString()})},{artifacts:c}=yield n.ListArtifacts(a);if(c.length===0)throw new E7e.ArtifactNotFoundError(`No artifacts found for ID: ${t} Are you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`);c.length>1&&Cn.warning("Multiple artifacts found, defaulting to first.");let l={workflowRunBackendId:c[0].workflowRunBackendId,workflowJobRunBackendId:c[0].workflowJobRunBackendId,name:c[0].name},{signedUrl:A}=yield n.GetSignedArtifactURL(l);Cn.info(`Redirecting to blob download url: ${Nce(A)}`);try{Cn.info(`Starting download of artifact to: ${r}`);let u=yield Rce(A,r);Cn.info("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==u.sha256Digest&&(i=!0,Cn.debug(`Computed digest: ${u.sha256Digest}`),Cn.debug(`Expected digest: ${e.expectedHash}`))}catch(u){throw new Error(`Unable to download and extract artifact: ${u.message}`)}return{downloadPath:r,digestMismatch:i}})}function vce(){return mh(this,arguments,void 0,function*(t=(0,p7e.getGitHubWorkspaceDir)()){return(yield C7e(t))?Cn.debug(`Artifact destination folder already exists: ${t}`):(Cn.debug(`Artifact destination folder does not exist, creating: ${t}`),yield Sce.default.mkdir(t,{recursive:!0})),t})}});var ZQ=f(xa=>{"use strict";var b7e=xa&&xa.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),w7e=xa&&xa.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Q7e=xa&&xa.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0&&(i.doNotRetry=r);let s=Object.assign(Object.assign({},t.request),{retries:e});return _7e.debug(`GitHub client configured with: (retries: ${s.retries}, retry-exempt-status-code: ${(n=i.doNotRetry)!==null&&n!==void 0?n:"octokit default: [400, 401, 403, 404, 422]"})`),[i,s]}});var e_=f(O1=>{"use strict";Object.defineProperty(O1,"__esModule",{value:!0});var x7e="1.0.4";function Pce(t){t.hook.wrap("request",(e,r)=>{t.log.debug("request",r);let n=Date.now(),i=t.request.endpoint.parse(r),s=i.url.replace(r.baseUrl,"");return e(r).then(o=>(t.log.info(`${i.method} ${s} - ${o.status} in ${Date.now()-n}ms`),o)).catch(o=>{throw t.log.info(`${i.method} ${s} - ${o.status} in ${Date.now()-n}ms`),o})})}Pce.VERSION=x7e;O1.requestLog=Pce});var Dce=f((L1,M1)=>{(function(t,e){typeof L1=="object"&&typeof M1<"u"?M1.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(L1,(function(){"use strict";var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e(pe){return pe&&pe.default||pe}var r=function(pe,G,x={}){var m,p,y;for(m in G)y=G[m],x[m]=(p=pe[m])!=null?p:y;return x},n=function(pe,G,x={}){var m,p;for(m in pe)p=pe[m],G[m]!==void 0&&(x[m]=p);return x},i={load:r,overwrite:n},s;s=class{constructor(G,x){this.incr=G,this.decr=x,this._first=null,this._last=null,this.length=0}push(G){var x;this.length++,typeof this.incr=="function"&&this.incr(),x={value:G,prev:this._last,next:null},this._last!=null?(this._last.next=x,this._last=x):this._first=this._last=x}shift(){var G;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),G=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,G}first(){if(this._first!=null)return this._first.value}getArray(){var G,x,m;for(G=this._first,m=[];G!=null;)m.push((x=G,G=G.next,x.value));return m}forEachShift(G){var x;for(x=this.shift();x!=null;)G(x),x=this.shift()}debug(){var G,x,m,p,y;for(G=this._first,y=[];G!=null;)y.push((x=G,G=G.next,{value:x.value,prev:(m=x.prev)!=null?m.value:void 0,next:(p=x.next)!=null?p.value:void 0}));return y}};var o=s,a;a=class{constructor(G){if(this.instance=G,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(x,m)=>this._addListener(x,"many",m),this.instance.once=(x,m)=>this._addListener(x,"once",m),this.instance.removeAllListeners=(x=null)=>x!=null?delete this._events[x]:this._events={}}_addListener(G,x,m){var p;return(p=this._events)[G]==null&&(p[G]=[]),this._events[G].push({cb:m,status:x}),this.instance}listenerCount(G){return this._events[G]!=null?this._events[G].length:0}async trigger(G,...x){var m,p;try{return G!=="debug"&&this.trigger("debug",`Event triggered: ${G}`,x),this._events[G]==null?void 0:(this._events[G]=this._events[G].filter(function(y){return y.status!=="none"}),p=this._events[G].map(async y=>{var T,v;if(y.status!=="none"){y.status==="once"&&(y.status="none");try{return v=typeof y.cb=="function"?y.cb(...x):void 0,typeof v?.then=="function"?await v:v}catch(k){return T=k,this.trigger("error",T),null}}}),(await Promise.all(p)).find(function(y){return y!=null}))}catch(y){return m=y,this.trigger("error",m),null}}};var c=a,l,A,u;l=o,A=c,u=class{constructor(G){var x;this.Events=new A(this),this._length=0,this._lists=(function(){var m,p,y;for(y=[],x=m=1,p=G;1<=p?m<=p:m>=p;x=1<=p?++m:--m)y.push(new l((()=>this.incr()),(()=>this.decr())));return y}).call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(G){return this._lists[G.options.priority].push(G)}queued(G){return G!=null?this._lists[G].length:this._length}shiftAll(G){return this._lists.forEach(function(x){return x.forEachShift(G)})}getFirst(G=this._lists){var x,m,p;for(x=0,m=G.length;x0)return p;return[]}shiftLastFrom(G){return this.getFirst(this._lists.slice(G).reverse()).shift()}};var d=u,h;h=class extends Error{};var g=h,E,C,I,R,P;R=10,C=5,P=i,E=g,I=class{constructor(G,x,m,p,y,T,v,k){this.task=G,this.args=x,this.rejectOnDrop=y,this.Events=T,this._states=v,this.Promise=k,this.options=P.load(m,p),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===p.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((H,W)=>{this._resolve=H,this._reject=W}),this.retryCount=0}_sanitizePriority(G){var x;return x=~~G!==G?C:G,x<0?0:x>R-1?R-1:x}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:G,message:x="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(G??new E(x)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(G){var x;if(x=this._states.jobStatus(this.options.id),!(x===G||G==="DONE"&&x===null))throw new E(`Invalid job status ${x}, expected ${G}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(G,x){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:G,blocked:x})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(G,x,m,p){var y,T,v;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),T={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",T);try{if(v=await(G!=null?G.schedule(this.options,this.task,...this.args):this.task(...this.args)),x())return this.doDone(T),await p(this.options,T),this._assertStatus("DONE"),this._resolve(v)}catch(k){return y=k,this._onFailure(y,T,x,m,p)}}doExpire(G,x,m){var p,y;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),y={args:this.args,options:this.options,retryCount:this.retryCount},p=new E(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(p,y,G,x,m)}async _onFailure(G,x,m,p,y){var T,v;if(m())return T=await this.Events.trigger("failed",G,x),T!=null?(v=~~T,this.Events.trigger("retry",`Retrying ${this.options.id} after ${v} ms`,x),this.retryCount++,p(v)):(this.doDone(x),await y(this.options,x),this._assertStatus("DONE"),this._reject(G))}doDone(G){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",G)}};var M=I,ee,se,U;U=i,ee=g,se=class{constructor(G,x,m){this.instance=G,this.storeOptions=x,this.clientId=this.instance._randomIndex(),U.load(m,m,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var G;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(G=this.heartbeat=setInterval(()=>{var x,m,p,y,T;if(y=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&y>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=y,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&y>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:x,reservoirIncreaseMaximum:p,reservoir:T}=this.storeOptions,this._lastReservoirIncrease=y,m=p!=null?Math.min(x,p-T):x,m>0))return this.storeOptions.reservoir+=m,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?G.unref():void 0:clearInterval(this.heartbeat)}async __publish__(G){return await this.yieldLoop(),this.instance.Events.trigger("message",G.toString())}async __disconnect__(G){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(G=0){return new this.Promise(function(x,m){return setTimeout(x,G)})}computePenalty(){var G;return(G=this.storeOptions.penalty)!=null?G:15*this.storeOptions.minTime||5e3}async __updateSettings__(G){return await this.yieldLoop(),U.overwrite(G,G,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(G){return await this.yieldLoop(),this._nextRequest+this.timeout=G}check(G,x){return this.conditionsCheck(G)&&this._nextRequest-x<=0}async __check__(G){var x;return await this.yieldLoop(),x=Date.now(),this.check(G,x)}async __register__(G,x,m){var p,y;return await this.yieldLoop(),p=Date.now(),this.conditionsCheck(x)?(this._running+=x,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=x),y=Math.max(this._nextRequest-p,0),this._nextRequest=p+y+this.storeOptions.minTime,{success:!0,wait:y,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(G,x){var m,p,y;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&x>this.storeOptions.maxConcurrent)throw new ee(`Impossible to add a job having a weight of ${x} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return p=Date.now(),y=this.storeOptions.highWater!=null&&G===this.storeOptions.highWater&&!this.check(x,p),m=this.strategyIsBlock()&&(y||this.isBlocked(p)),m&&(this._unblockTime=p+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:y,blocked:m,strategy:this.storeOptions.strategy}}async __free__(G,x){return await this.yieldLoop(),this._running-=x,this._done+=x,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var te=se,L,$;L=g,$=class{constructor(G){this.status=G,this._jobs={},this.counts=this.status.map(function(){return 0})}next(G){var x,m;if(x=this._jobs[G],m=x+1,x!=null&&m(G[this.status[m]]=x,G)),{})}};var K=$,X,Ae;X=o,Ae=class{constructor(G,x){this.schedule=this.schedule.bind(this),this.name=G,this.Promise=x,this._running=0,this._queue=new X}isEmpty(){return this._queue.length===0}async _tryToRun(){var G,x,m,p,y,T,v;if(this._running<1&&this._queue.length>0)return this._running++,{task:v,args:G,resolve:y,reject:p}=this._queue.shift(),x=await(async function(){try{return T=await v(...G),function(){return y(T)}}catch(k){return m=k,function(){return p(m)}}})(),this._running--,this._tryToRun(),x()}schedule(G,...x){var m,p,y;return y=p=null,m=new this.Promise(function(T,v){return y=T,p=v}),this._queue.push({task:G,args:x,resolve:y,reject:p}),this._tryToRun(),m}};var Qe=Ae,He="2.19.5",Me={version:He},Ye=Object.freeze({version:He,default:Me}),St=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Ze=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),er=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Ws,Qi,Lt,an,Mt,Js;Js=i,Ws=c,an=St,Lt=Ze,Mt=er,Qi=(function(){class pe{constructor(x={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=x,Js.load(this.limiterOptions,this.defaults,this),this.Events=new Ws(this),this.instances={},this.Bottleneck=Un,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new an(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new Lt(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(x=""){var m;return(m=this.instances[x])!=null?m:(()=>{var p;return p=this.instances[x]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${x}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",p,x),p})()}async deleteKey(x=""){var m,p;return p=this.instances[x],this.connection&&(m=await this.connection.__runCommand__(["del",...Mt.allKeys(`${this.id}-${x}`)])),p!=null&&(delete this.instances[x],await p.disconnect()),p!=null||m>0}limiters(){var x,m,p,y;m=this.instances,p=[];for(x in m)y=m[x],p.push({key:x,limiter:y});return p}keys(){return Object.keys(this.instances)}async clusterKeys(){var x,m,p,y,T,v,k,H,W;if(this.connection==null)return this.Promise.resolve(this.keys());for(v=[],x=null,W=`b_${this.id}-`.length,m=9;x!==0;)for([H,p]=await this.connection.__runCommand__(["scan",x??0,"match",`b_${this.id}-*_settings`,"count",1e4]),x=~~H,y=0,k=p.length;y{var m,p,y,T,v,k;v=Date.now(),y=this.instances,T=[];for(p in y){k=y[p];try{await k._store.__groupCheck__(v)?T.push(this.deleteKey(p)):T.push(void 0)}catch(H){m=H,T.push(k.Events.trigger("error",m))}}return T},this.timeout/2)).unref=="function"?x.unref():void 0}updateSettings(x={}){if(Js.overwrite(x,this.defaults,this),Js.overwrite(x,x,this.limiterOptions),x.timeout!=null)return this._startAutoCleanup()}disconnect(x=!0){var m;if(!this.sharedConnection)return(m=this.connection)!=null?m.disconnect(x):void 0}}return pe.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},pe}).call(t);var rl=Qi,_i,Si,Ss;Ss=i,Si=c,_i=(function(){class pe{constructor(x={}){this.options=x,Ss.load(this.options,this.defaults,this),this.Events=new Si(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((x,m)=>this._resolve=x)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(x){var m;return this._arr.push(x),m=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),m}}return pe.prototype.defaults={maxTime:null,maxSize:null,Promise},pe}).call(t);var va=_i,nl=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Ch=e(Ye),il,PA,sl,ol,al,cl,Ta,Pa,Da,ka,Fn,Ni=[].splice;cl=10,PA=5,Fn=i,Ta=d,ol=M,al=te,Pa=nl,sl=c,Da=K,ka=Qe,il=(function(){class pe{constructor(x={},...m){var p,y;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(x,m),Fn.load(x,this.instanceDefaults,this),this._queues=new Ta(cl),this._scheduled={},this._states=new Da(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new sl(this),this._submitLock=new ka("submit",this.Promise),this._registerLock=new ka("register",this.Promise),y=Fn.load(x,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return p=Fn.load(x,this.redisStoreDefaults,{}),new Pa(this,y,p);if(this.datastore==="local")return p=Fn.load(x,this.localStoreDefaults,{}),new al(this,y,p);throw new pe.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var T;return(T=this._store.heartbeat)!=null&&typeof T.ref=="function"?T.ref():void 0}),this._queues.on("zero",()=>{var T;return(T=this._store.heartbeat)!=null&&typeof T.unref=="function"?T.unref():void 0})}_validateOptions(x,m){if(!(x!=null&&typeof x=="object"&&m.length===0))throw new pe.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(x){return this._store.__publish__(x)}disconnect(x=!0){return this._store.__disconnect__(x)}chain(x){return this._limiter=x,this}queued(x){return this._queues.queued(x)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(x){return this._states.jobStatus(x)}jobs(x){return this._states.statusJobs(x)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(x=1){return this._store.__check__(x)}_clearGlobalState(x){return this._scheduled[x]!=null?(clearTimeout(this._scheduled[x].expiration),delete this._scheduled[x],!0):!1}async _free(x,m,p,y){var T,v;try{if({running:v}=await this._store.__free__(x,p.weight),this.Events.trigger("debug",`Freed ${p.id}`,y),v===0&&this.empty())return this.Events.trigger("idle")}catch(k){return T=k,this.Events.trigger("error",T)}}_run(x,m,p){var y,T,v;return m.doRun(),y=this._clearGlobalState.bind(this,x),v=this._run.bind(this,x,m),T=this._free.bind(this,x,m),this._scheduled[x]={timeout:setTimeout(()=>m.doExecute(this._limiter,y,v,T),p),expiration:m.options.expiration!=null?setTimeout(function(){return m.doExpire(y,v,T)},p+m.options.expiration):void 0,job:m}}_drainOne(x){return this._registerLock.schedule(()=>{var m,p,y,T,v;return this.queued()===0?this.Promise.resolve(null):(v=this._queues.getFirst(),{options:T,args:m}=y=v.first(),x!=null&&T.weight>x?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${T.id}`,{args:m,options:T}),p=this._randomIndex(),this._store.__register__(p,T.weight,T.expiration).then(({success:k,wait:H,reservoir:W})=>{var q;return this.Events.trigger("debug",`Drained ${T.id}`,{success:k,args:m,options:T}),k?(v.shift(),q=this.empty(),q&&this.Events.trigger("empty"),W===0&&this.Events.trigger("depleted",q),this._run(p,y,H),this.Promise.resolve(T.weight)):this.Promise.resolve(null)})))})}_drainAll(x,m=0){return this._drainOne(x).then(p=>{var y;return p!=null?(y=x!=null?x-p:x,this._drainAll(y,m+p)):this.Promise.resolve(m)}).catch(p=>this.Events.trigger("error",p))}_dropAllQueued(x){return this._queues.shiftAll(function(m){return m.doDrop({message:x})})}stop(x={}){var m,p;return x=Fn.load(x,this.stopDefaults),p=y=>{var T;return T=()=>{var v;return v=this._states.counts,v[0]+v[1]+v[2]+v[3]===y},new this.Promise((v,k)=>T()?v():this.on("done",()=>{if(T())return this.removeAllListeners("done"),v()}))},m=x.dropWaitingJobs?(this._run=function(y,T){return T.doDrop({message:x.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var y,T,v;T=this._scheduled;for(y in T)v=T[y],this.jobStatus(v.job.options.id)==="RUNNING"&&(clearTimeout(v.timeout),clearTimeout(v.expiration),v.job.doDrop({message:x.dropErrorMessage}));return this._dropAllQueued(x.dropErrorMessage),p(0)}))):this.schedule({priority:cl-1,weight:0},()=>p(1)),this._receive=function(y){return y._reject(new pe.prototype.BottleneckError(x.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new pe.prototype.BottleneckError("stop() has already been called")),m}async _addToQueue(x){var m,p,y,T,v,k,H;({args:m,options:T}=x);try{({reachedHWM:v,blocked:p,strategy:H}=await this._store.__submit__(this.queued(),T.weight))}catch(W){return y=W,this.Events.trigger("debug",`Could not queue ${T.id}`,{args:m,options:T,error:y}),x.doDrop({error:y}),!1}return p?(x.doDrop(),!0):v&&(k=H===pe.prototype.strategy.LEAK?this._queues.shiftLastFrom(T.priority):H===pe.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(T.priority+1):H===pe.prototype.strategy.OVERFLOW?x:void 0,k?.doDrop(),k==null||H===pe.prototype.strategy.OVERFLOW)?(k==null&&x.doDrop(),v):(x.doQueue(v,p),this._queues.push(x),await this._drainAll(),v)}_receive(x){return this._states.jobStatus(x.options.id)!=null?(x._reject(new pe.prototype.BottleneckError(`A job with the same id already exists (id=${x.options.id})`)),!1):(x.doReceive(),this._submitLock.schedule(this._addToQueue,x))}submit(...x){var m,p,y,T,v,k,H;return typeof x[0]=="function"?(v=x,[p,...x]=v,[m]=Ni.call(x,-1),T=Fn.load({},this.jobDefaults)):(k=x,[T,p,...x]=k,[m]=Ni.call(x,-1),T=Fn.load(T,this.jobDefaults)),H=(...W)=>new this.Promise(function(q,ue){return p(...W,function(...le){return(le[0]!=null?ue:q)(le)})}),y=new ol(H,x,T,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),y.promise.then(function(W){return typeof m=="function"?m(...W):void 0}).catch(function(W){return Array.isArray(W)?typeof m=="function"?m(...W):void 0:typeof m=="function"?m(W):void 0}),this._receive(y)}schedule(...x){var m,p,y;return typeof x[0]=="function"?([y,...x]=x,p={}):[p,y,...x]=x,m=new ol(y,x,p,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(m),m.promise}wrap(x){var m,p;return m=this.schedule.bind(this),p=function(...y){return m(x.bind(this),...y)},p.withOptions=function(y,...T){return m(y,x,...T)},p}async updateSettings(x={}){return await this._store.__updateSettings__(Fn.overwrite(x,this.storeDefaults)),Fn.overwrite(x,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(x=0){return this._store.__incrementReservoir__(x)}}return pe.default=pe,pe.Events=sl,pe.version=pe.prototype.version=Ch.version,pe.strategy=pe.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},pe.BottleneckError=pe.prototype.BottleneckError=g,pe.Group=pe.prototype.Group=rl,pe.RedisConnection=pe.prototype.RedisConnection=St,pe.IORedisConnection=pe.prototype.IORedisConnection=Ze,pe.Batcher=pe.prototype.Batcher=va,pe.prototype.jobDefaults={priority:PA,weight:1,expiration:null,id:""},pe.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:pe.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},pe.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},pe.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},pe.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},pe.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},pe}).call(t);var Un=il,DA=Un;return DA}))});var r_=f(t_=>{"use strict";Object.defineProperty(t_,"__esModule",{value:!0});function v7e(t){return t&&typeof t=="object"&&"default"in t?t.default:t}var T7e=v7e(Dce());async function P7e(t,e,r,n){if(!r.request||!r.request.request)throw r;if(r.status>=400&&!e.doNotRetry.includes(r.status)){let i=n.request.retries!=null?n.request.retries:e.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,i,s)}throw r}async function D7e(t,e,r){let n=new T7e;return n.on("failed",function(i,s){let o=~~i.request.request.retries,a=~~i.request.request.retryAfter;if(r.request.retryCount=s.retryCount+1,o>s.retryCount)return a*t.retryAfterBaseValue}),n.schedule(e,r)}var kce="3.0.9";function Oce(t,e){let r=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},e.retry);return r.enabled&&(t.hook.error("request",P7e.bind(null,t,r)),t.hook.wrap("request",D7e.bind(null,r))),{retry:{retryRequest:(n,i,s)=>(n.request.request=Object.assign({},n.request.request,{retries:i,retryAfter:s}),n)}}}Oce.VERSION=kce;t_.VERSION=kce;t_.retry=Oce});var U1=f(_s=>{"use strict";var k7e=_s&&_s.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),O7e=_s&&_s.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),L7e=_s&&_s.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i1&&(u=A.data.artifacts.sort((d,h)=>h.id-d.id)[0],Fce.debug(`More than one artifact found for a single name, returning newest (id: ${u.id})`)),{artifact:{name:u.name,id:u.id,size:u.size_in_bytes,createdAt:u.created_at?new Date(u.created_at):void 0,digest:u.digest}}})}function W7e(t){return Mce(this,void 0,void 0,function*(){var e;let r=(0,z7e.internalArtifactTwirpClient)(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=(0,G7e.getBackendIdsFromToken)(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:Lce.StringValue.create({value:t})},o=yield r.ListArtifacts(s);if(o.artifacts.length===0)throw new F1.ArtifactNotFoundError(`Artifact not found for name: ${t}