Compare commits

...
23 Commits
Author SHA1 Message Date
CrazyMax 18ce135bb5 Merge pull request #425 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.62.1
build(deps): bump @docker/actions-toolkit from 0.61.0 to 0.62.1
2025-06-16 14:26:28 +02:00
CrazyMax 0e198e93af chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-14 00:34:03 +02:00
dependabot[bot] 05f3f3ac10 build(deps): bump @docker/actions-toolkit from 0.61.0 to 0.62.1
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.61.0 to 0.62.1.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.61.0...v0.62.1)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.62.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 22:12:24 +00:00
Tõnis Tiigi 622913496d Merge pull request #427 from crazy-max/keep-state
Keep BuildKit state support
2025-06-13 11:57:41 -07:00
CrazyMax c6f6a07025 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-13 18:37:56 +02:00
CrazyMax 6c5e29d848 skip builder creation if one already exists with the same name
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-13 18:37:56 +02:00
CrazyMax 548b297749 ci: keep-state check
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-13 18:37:56 +02:00
CrazyMax 36590ad0c1 check if driver compatible with keep-state
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-13 18:31:37 +02:00
Balaji Arun 4143b5899b Support to retain cache
Signed-off-by: Balaji Arun <balajia@vt.edu>
2025-06-13 18:05:09 +02:00
CrazyMax 3f1544eb9e Merge pull request #139 from hashhar/hashhar/cleanup-aliases
Remove aliases created by buildx when installing by default
2025-05-21 12:04:20 +02:00
CrazyMax f3204bbfac chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-05-21 12:01:07 +02:00
Ashhar Hasan 4ba329ef89 Remove aliases created by buildx when installing by default
If the action is configured to install buildx by default using the
input then docker buildx sets up docker build as an alias for buildx
making all docker build calls use the buildx builder instead of
traditional builders. The action didn't perform cleanup in this case to
uninstall the aliases which meant that any future workflows running on
same GitHub Actions runner would get the buildx builders even if it did
not explicitly request it.

This commit tracks if the aliases were installed and removes them during
post step of the action if so.

Signed-off-by: Ashhar Hasan <hashhar_dev@outlook.com>
2025-05-21 11:59:28 +02:00
CrazyMax e600775e52 Merge pull request #422 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.61.0
build(deps): bump @docker/actions-toolkit from 0.56.0 to 0.61.0
2025-04-24 11:30:53 +02:00
CrazyMax b2b2ffa946 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-24 11:22:25 +02:00
dependabot[bot] fe905840cd build(deps): bump @docker/actions-toolkit from 0.56.0 to 0.61.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.56.0 to 0.61.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.56.0...v0.61.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 09:02:39 +00:00
CrazyMax 8998bbe94b Merge pull request #420 from crazy-max/pr-assign-author
pr-assign-author workflow
2025-04-23 16:10:00 +02:00
CrazyMax 830833e0c7 pr-assign-author workflow
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-23 14:18:49 +02:00
CrazyMax 941183f0a0 Merge pull request #413 from crazy-max/ci-dispatch
ci: add workflow_dispatch event
2025-03-28 10:00:25 +01:00
CrazyMax 311b62b254 ci: add workflow_dispatch event
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-03-18 15:39:20 +01:00
CrazyMax afeb29a6e0 Merge pull request #411 from crazy-max/test-windows
ci: test container builder on windows
2025-03-12 15:56:50 +01:00
CrazyMax b560416601 Merge pull request #412 from crazy-max/ci-bump-ubuntu
ci: bump to ubuntu-latest
2025-03-12 15:56:34 +01:00
CrazyMax 516bb780e5 ci: bump to ubuntu-latest
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-03-12 15:49:49 +01:00
CrazyMax 11445527f0 ci: test container builder on windows
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-03-12 15:44:27 +01:00
12 changed files with 345 additions and 99 deletions

No files matched your search

+65 -4
View File
@@ -5,6 +5,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
on: on:
workflow_dispatch:
schedule: schedule:
- cron: '0 10 * * *' - cron: '0 10 * * *'
push: push:
@@ -516,7 +517,7 @@ jobs:
cleanup: ${{ matrix.cleanup }} cleanup: ${{ matrix.cleanup }}
k3s: k3s:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -529,9 +530,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- -
name: Install k3s name: Install k3s
uses: crazy-max/.github/.github/actions/install-k3s@605d30d5ae97f6680578ace4b56645af79343e60 uses: crazy-max/.github/.github/actions/install-k3s@f5cb4a109b7a3b466a2ac293ef4bb13f1571acd7
with:
version: "v1.21.2-k3s1"
- -
name: Set up Docker Buildx name: Set up Docker Buildx
id: buildx id: buildx
@@ -583,3 +582,65 @@ jobs:
with: with:
version: v0.11.2 version: v0.11.2
cache-binary: ${{ matrix.cache }} cache-binary: ${{ matrix.cache }}
windows-error:
runs-on: windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
id: buildx
continue-on-error: true
uses: ./
-
name: Check
run: |
echo "${{ toJson(steps.buildx) }}"
if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then
echo "::error::Should have failed"
exit 1
fi
shell: bash
keep-state:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: ./
with:
name: foo
keep-state: true
-
name: Set up Docker Buildx
uses: ./
with:
name: foo
keep-state-error:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
id: buildx
continue-on-error: true
uses: ./
with:
driver: docker
keep-state: true
-
name: Check
run: |
echo "${{ toJson(steps.buildx) }}"
if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then
echo "::error::Should have failed"
exit 1
fi
+17
View File
@@ -0,0 +1,17 @@
name: pr-assign-author
permissions:
contents: read
on:
pull_request_target:
types:
- opened
- reopened
jobs:
run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
permissions:
contents: read
pull-requests: write
+17 -15
View File
@@ -85,21 +85,23 @@ The following inputs can be used as `step.with` keys:
> platforms: linux/amd64,linux/arm64 > platforms: linux/amd64,linux/arm64
> ``` > ```
| Name | Type | Default | Description | | Name | Type | Default | Description |
|------------------------------|----------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |------------------------------|----------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `version` | String | | [Buildx](https://github.com/docker/buildx) version. (eg. `v0.3.0`, `latest`, `https://github.com/docker/buildx.git#master`) | | `version` | String | | [Buildx](https://github.com/docker/buildx) version. (eg. `v0.3.0`, `latest`, `https://github.com/docker/buildx.git#master`) |
| `driver` | String | `docker-container` | Sets the [builder driver](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver) to be used | | `name` | String | | Name of the builder. If not specified, one will be generated or if it already exists, it will be used instead of creating a new one |
| `driver-opts` | List | | List of additional [driver-specific options](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver-opt) (eg. `image=moby/buildkit:master`) | | `driver` | String | `docker-container` | Sets the [builder driver](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver) to be used |
| `buildkitd-flags` | String | | [BuildKit daemon flags](https://docs.docker.com/engine/reference/commandline/buildx_create/#buildkitd-flags) | | `driver-opts` | List | | List of additional [driver-specific options](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver-opt) (eg. `image=moby/buildkit:master`) |
| `buildkitd-config` \* | String | | [BuildKit daemon config file](https://docs.docker.com/engine/reference/commandline/buildx_create/#config) | | `buildkitd-flags` | String | | [BuildKit daemon flags](https://docs.docker.com/engine/reference/commandline/buildx_create/#buildkitd-flags) |
| `buildkitd-config-inline` \* | String | | Same as `buildkitd-config` but inline | | `buildkitd-config` \* | String | | [BuildKit daemon config file](https://docs.docker.com/engine/reference/commandline/buildx_create/#config) |
| `install` | Bool | `false` | Sets up `docker build` command as an alias to `docker buildx` | | `buildkitd-config-inline` \* | String | | Same as `buildkitd-config` but inline |
| `use` | Bool | `true` | Switch to this builder instance | | `install` | Bool | `false` | Sets up `docker build` command as an alias to `docker buildx` |
| `endpoint` | String | | [Optional address for docker socket](https://docs.docker.com/engine/reference/commandline/buildx_create/#description) or context from `docker context ls` | | `use` | Bool | `true` | Switch to this builder instance |
| `platforms` | List/CSV | | Fixed [platforms](https://docs.docker.com/engine/reference/commandline/buildx_create/#platform) for current node. If not empty, values take priority over the detected ones. | | `endpoint` | String | | [Optional address for docker socket](https://docs.docker.com/engine/reference/commandline/buildx_create/#description) or context from `docker context ls` |
| `append` | YAML | | [Append additional nodes](https://docs.docker.com/build/ci/github-actions/configure-builder/#append-additional-nodes-to-the-builder) to the builder | | `platforms` | List/CSV | | Fixed [platforms](https://docs.docker.com/engine/reference/commandline/buildx_create/#platform) for current node. If not empty, values take priority over the detected ones |
| `cache-binary` | Bool | `true` | Cache buildx binary to GitHub Actions cache backend | | `append` | YAML | | [Append additional nodes](https://docs.docker.com/build/ci/github-actions/configure-builder/#append-additional-nodes-to-the-builder) to the builder |
| `cleanup` | Bool | `true` | Cleanup temp files and remove builder at the end of a job | | `keep-state` | Bool | `false` | Keep BuildKit state on `cleanup`. This is only useful on persistent self-hosted runners |
| `cache-binary` | Bool | `true` | Cache buildx binary to GitHub Actions cache backend |
| `cleanup` | Bool | `true` | Cleanup temp files and remove builder at the end of a job |
> [!IMPORTANT] > [!IMPORTANT]
> If you set the `buildkitd-flags` input, the default flags (`--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host`) > If you set the `buildkitd-flags` input, the default flags (`--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host`)
+65 -6
View File
@@ -56,6 +56,7 @@ describe('getCreateArgs', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
[ [
'create', 'create',
@@ -74,6 +75,7 @@ describe('getCreateArgs', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
[ [
'create', 'create',
@@ -92,6 +94,7 @@ describe('getCreateArgs', () => {
['driver-opts', 'image=moby/buildkit:master\nnetwork=host'], ['driver-opts', 'image=moby/buildkit:master\nnetwork=host'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
[ [
'create', 'create',
@@ -112,6 +115,7 @@ describe('getCreateArgs', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
[ [
'create', 'create',
@@ -132,6 +136,7 @@ describe('getCreateArgs', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
[ [
'create', 'create',
@@ -151,6 +156,7 @@ describe('getCreateArgs', () => {
['driver-opts', `"env.no_proxy=localhost,127.0.0.1,.mydomain"`], ['driver-opts', `"env.no_proxy=localhost,127.0.0.1,.mydomain"`],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -169,6 +175,7 @@ describe('getCreateArgs', () => {
['platforms', 'linux/amd64\n"linux/arm64,linux/arm/v7"'], ['platforms', 'linux/amd64\n"linux/arm64,linux/arm/v7"'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -187,6 +194,7 @@ describe('getCreateArgs', () => {
['driver', 'unknown'], ['driver', 'unknown'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -203,6 +211,7 @@ describe('getCreateArgs', () => {
['buildkitd-config', path.join(fixturesDir, 'buildkitd.toml')], ['buildkitd-config', path.join(fixturesDir, 'buildkitd.toml')],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -221,6 +230,7 @@ describe('getCreateArgs', () => {
['buildkitd-config-inline', 'debug = true'], ['buildkitd-config-inline', 'debug = true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -240,6 +250,7 @@ describe('getCreateArgs', () => {
['buildkitd-flags', '--allow-insecure-entitlement network.host'], ['buildkitd-flags', '--allow-insecure-entitlement network.host'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false'],
]), ]),
[ [
'create', 'create',
@@ -247,7 +258,45 @@ describe('getCreateArgs', () => {
'--driver', 'cloud', '--driver', 'cloud',
'--buildkitd-flags', '--allow-insecure-entitlement network.host', '--buildkitd-flags', '--allow-insecure-entitlement network.host',
] ]
] ],
[
11,
'v0.10.3',
new Map<string, string>([
['install', 'false'],
['use', 'true'],
['cleanup', 'true'],
['cache-binary', 'true'],
['keep-state', 'false'],
['name', 'test-builder-name'],
]),
[
'create',
'--name', 'test-builder-name',
'--driver', 'docker-container',
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
'--use'
]
],
[
12,
'v0.10.3',
new Map<string, string>([
['install', 'false'],
['use', 'true'],
['cleanup', 'true'],
['cache-binary', 'true'],
['keep-state', 'true'],
['name', 'test-builder-name'],
]),
[
'create',
'--name', 'test-builder-name',
'--driver', 'docker-container',
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
'--use',
]
],
])( ])(
'[%d] given buildx %s and %p as inputs, returns %p', '[%d] given buildx %s and %p as inputs, returns %p',
async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>) => { async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>) => {
@@ -285,6 +334,7 @@ describe('getAppendArgs', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
{ {
"name": "aws_graviton2", "name": "aws_graviton2",
@@ -343,6 +393,7 @@ describe('getVersion', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'' ''
], ],
@@ -354,7 +405,8 @@ describe('getVersion', () => {
['install', 'false'], ['install', 'false'],
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'] ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'latest' 'latest'
], ],
@@ -366,7 +418,8 @@ describe('getVersion', () => {
['install', 'false'], ['install', 'false'],
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'] ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'edge' 'edge'
], ],
@@ -378,7 +431,8 @@ describe('getVersion', () => {
['install', 'false'], ['install', 'false'],
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'] ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'v0.19.2' 'v0.19.2'
], ],
@@ -391,7 +445,8 @@ describe('getVersion', () => {
['install', 'false'], ['install', 'false'],
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'] ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'cloud:latest' 'cloud:latest'
], ],
@@ -404,7 +459,8 @@ describe('getVersion', () => {
['install', 'false'], ['install', 'false'],
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'] ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'cloud:edge' 'cloud:edge'
], ],
@@ -417,6 +473,7 @@ describe('getVersion', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'cloud:latest' 'cloud:latest'
], ],
@@ -430,6 +487,7 @@ describe('getVersion', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'cloud:v0.11.2-desktop.2' 'cloud:v0.11.2-desktop.2'
], ],
@@ -442,6 +500,7 @@ describe('getVersion', () => {
['use', 'true'], ['use', 'true'],
['cache-binary', 'true'], ['cache-binary', 'true'],
['cleanup', 'true'], ['cleanup', 'true'],
['keep-state', 'false']
]), ]),
'cloud:v0.11.2-desktop.2' 'cloud:v0.11.2-desktop.2'
], ],
+7
View File
@@ -34,6 +34,9 @@ inputs:
description: 'Switch to this builder instance' description: 'Switch to this builder instance'
default: 'true' default: 'true'
required: false required: false
name:
description: 'Name of the builder. If not specified, one will be generated or if it already exists, it will be used instead of creating a new one.'
required: false
endpoint: endpoint:
description: 'Optional address for docker socket or context from `docker context ls`' description: 'Optional address for docker socket or context from `docker context ls`'
required: false required: false
@@ -43,6 +46,10 @@ inputs:
append: append:
description: 'Append additional nodes to the builder' description: 'Append additional nodes to the builder'
required: false required: false
keep-state:
description: 'Keep BuildKit state on cleanup. This is only useful on persistent self-hosted runners.'
default: 'false'
required: false
cache-binary: cache-binary:
description: 'Cache buildx binary to GitHub Actions cache backend' description: 'Cache buildx binary to GitHub Actions cache backend'
default: 'true' default: 'true'
Generated Vendored
+23 -19
View File
@@ -1,4 +1,8 @@
require('./sourcemap-register.js');(()=>{var r={79450:function(r,i,s){"use strict";var a=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;var l=Object.getOwnPropertyDescriptor(i,s);if(!l||("get"in l?!i.__esModule:l.writable||l.configurable)){l={enumerable:true,get:function(){return i[s]}}}Object.defineProperty(r,a,l)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});var l=this&&this.__exportStar||function(r,i){for(var s in r)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s))a(i,r,s)};Object.defineProperty(i,"__esModule",{value:true});const c=s(46190);l(s(15769),i);l(s(38182),i);l(s(46190),i);const d=new c.DefaultArtifactClient;i["default"]=d},54622:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.Timestamp=void 0;const a=s(4061);const l=s(4061);const c=s(4061);const d=s(4061);const p=s(4061);const u=s(4061);const h=s(4061);class Timestamp$Type extends h.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const r=this.create();const i=Date.now();r.seconds=u.PbLong.from(Math.floor(i/1e3)).toString();r.nanos=i%1e3*1e6;return r}toDate(r){return new Date(u.PbLong.from(r.seconds).toNumber()*1e3+Math.ceil(r.nanos/1e6))}fromDate(r){const i=this.create();const s=r.getTime();i.seconds=u.PbLong.from(Math.floor(s/1e3)).toString();i.nanos=s%1e3*1e6;return i}internalJsonWrite(r,i){let s=u.PbLong.from(r.seconds).toNumber()*1e3;if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(r.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let a="Z";if(r.nanos>0){let i=(r.nanos+1e9).toString().substring(1);if(i.substring(3)==="000000")a="."+i.substring(0,3)+"Z";else if(i.substring(6)==="000")a="."+i.substring(0,6)+"Z";else a="."+i+"Z"}return new Date(s).toISOString().replace(".000Z",a)}internalJsonRead(r,i,s){if(typeof r!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,p.typeofJsonValue)(r)+".");let a=r.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!a)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let l=Date.parse(a[1]+"-"+a[2]+"-"+a[3]+"T"+a[4]+":"+a[5]+":"+a[6]+(a[8]?a[8]:"Z"));if(Number.isNaN(l))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(l<Date.parse("0001-01-01T00:00:00Z")||l>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!s)s=this.create();s.seconds=u.PbLong.from(l/1e3).toString();s.nanos=0;if(a[7])s.nanos=parseInt("1"+a[7]+"0".repeat(9-a[7].length))-1e9;return s}create(r){const i={seconds:"0",nanos:0};globalThis.Object.defineProperty(i,d.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,c.reflectionMergePartial)(this,i,r);return i}internalBinaryRead(r,i,s,a){let c=a!==null&&a!==void 0?a:this.create(),d=r.pos+i;while(r.pos<d){let[i,a]=r.tag();switch(i){case 1:c.seconds=r.int64().toString();break;case 2:c.nanos=r.int32();break;default:let d=s.readUnknownField;if(d==="throw")throw new globalThis.Error(`Unknown field ${i} (wire type ${a}) for ${this.typeName}`);let p=r.skip(a);if(d!==false)(d===true?l.UnknownFieldHandler.onRead:d)(this.typeName,c,i,a,p)}}return c}internalBinaryWrite(r,i,s){if(r.seconds!=="0")i.tag(1,a.WireType.Varint).int64(r.seconds);if(r.nanos!==0)i.tag(2,a.WireType.Varint).int32(r.nanos);let c=s.writeUnknownFields;if(c!==false)(c==true?l.UnknownFieldHandler.onWrite:c)(this.typeName,r,i);return i}}i.Timestamp=new Timestamp$Type},8626:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.BytesValue=i.StringValue=i.BoolValue=i.UInt32Value=i.Int32Value=i.UInt64Value=i.Int64Value=i.FloatValue=i.DoubleValue=void 0;const a=s(4061);const l=s(4061);const c=s(4061);const d=s(4061);const p=s(4061);const u=s(4061);const h=s(4061);class DoubleValue$Type extends h.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(r,i){return this.refJsonWriter.scalar(2,r.value,"value",false,true)}internalJsonRead(r,i,s){if(!s)s=this.create();s.value=this.refJsonReader.scalar(r,1,undefined,"value");return s}create(r){const i={value:0};globalThis.Object.defineProperty(i,u.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,p.reflectionMergePartial)(this,i,r);return i}internalBinaryRead(r,i,s,a){let l=a!==null&&a!==void 0?a:this.create(),c=r.pos+i;while(r.pos<c){let[i,a]=r.tag();switch(i){case 1:l.value=r.double();break;default:let c=s.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${i} (wire type ${a}) for ${this.typeName}`);let p=r.skip(a);if(c!==false)(cLine truncated require('./sourcemap-register.js');(()=>{var r={79450:function(r,s,i){"use strict";var a=this&&this.__createBinding||(Object.create?function(r,s,i,a){if(a===undefined)a=i;var A=Object.getOwnPropertyDescriptor(s,i);if(!A||("get"in A?!s.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return s[i]}}}Object.defineProperty(r,a,A)}:function(r,s,i,a){if(a===undefined)a=i;r[a]=s[i]});var A=this&&this.__exportStar||function(r,s){for(var i in r)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i))a(s,r,i)};Object.defineProperty(s,"__esModule",{value:true});const c=i(46190);A(i(15769),s);A(i(38182),s);A(i(46190),s);const l=new c.DefaultArtifactClient;s["default"]=l},54622:(r,s,i)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.Timestamp=void 0;const a=i(4061);const A=i(4061);const c=i(4061);const l=i(4061);const d=i(4061);const u=i(4061);const p=i(4061);class Timestamp$Type extends p.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const r=this.create();const s=Date.now();r.seconds=u.PbLong.from(Math.floor(s/1e3)).toString();r.nanos=s%1e3*1e6;return r}toDate(r){return new Date(u.PbLong.from(r.seconds).toNumber()*1e3+Math.ceil(r.nanos/1e6))}fromDate(r){const s=this.create();const i=r.getTime();s.seconds=u.PbLong.from(Math.floor(i/1e3)).toString();s.nanos=i%1e3*1e6;return s}internalJsonWrite(r,s){let i=u.PbLong.from(r.seconds).toNumber()*1e3;if(i<Date.parse("0001-01-01T00:00:00Z")||i>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(r.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let a="Z";if(r.nanos>0){let s=(r.nanos+1e9).toString().substring(1);if(s.substring(3)==="000000")a="."+s.substring(0,3)+"Z";else if(s.substring(6)==="000")a="."+s.substring(0,6)+"Z";else a="."+s+"Z"}return new Date(i).toISOString().replace(".000Z",a)}internalJsonRead(r,s,i){if(typeof r!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,d.typeofJsonValue)(r)+".");let a=r.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!a)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let A=Date.parse(a[1]+"-"+a[2]+"-"+a[3]+"T"+a[4]+":"+a[5]+":"+a[6]+(a[8]?a[8]:"Z"));if(Number.isNaN(A))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(A<Date.parse("0001-01-01T00:00:00Z")||A>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!i)i=this.create();i.seconds=u.PbLong.from(A/1e3).toString();i.nanos=0;if(a[7])i.nanos=parseInt("1"+a[7]+"0".repeat(9-a[7].length))-1e9;return i}create(r){const s={seconds:"0",nanos:0};globalThis.Object.defineProperty(s,l.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,c.reflectionMergePartial)(this,s,r);return s}internalBinaryRead(r,s,i,a){let c=a!==null&&a!==void 0?a:this.create(),l=r.pos+s;while(r.pos<l){let[s,a]=r.tag();switch(s){case 1:c.seconds=r.int64().toString();break;case 2:c.nanos=r.int32();break;default:let l=i.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${s} (wire type ${a}) for ${this.typeName}`);let d=r.skip(a);if(l!==false)(l===true?A.UnknownFieldHandler.onRead:l)(this.typeName,c,s,a,d)}}return c}internalBinaryWrite(r,s,i){if(r.seconds!=="0")s.tag(1,a.WireType.Varint).int64(r.seconds);if(r.nanos!==0)s.tag(2,a.WireType.Varint).int32(r.nanos);let c=i.writeUnknownFields;if(c!==false)(c==true?A.UnknownFieldHandler.onWrite:c)(this.typeName,r,s);return s}}s.Timestamp=new Timestamp$Type},8626:(r,s,i)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.BytesValue=s.StringValue=s.BoolValue=s.UInt32Value=s.Int32Value=s.UInt64Value=s.Int64Value=s.FloatValue=s.DoubleValue=void 0;const a=i(4061);const A=i(4061);const c=i(4061);const l=i(4061);const d=i(4061);const u=i(4061);const p=i(4061);class DoubleValue$Type extends p.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(r,s){return this.refJsonWriter.scalar(2,r.value,"value",false,true)}internalJsonRead(r,s,i){if(!i)i=this.create();i.value=this.refJsonReader.scalar(r,1,undefined,"value");return i}create(r){const s={value:0};globalThis.Object.defineProperty(s,u.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,d.reflectionMergePartial)(this,s,r);return s}internalBinaryRead(r,s,i,a){let A=a!==null&&a!==void 0?a:this.create(),c=r.pos+s;while(r.pos<c){let[s,a]=r.tag();switch(s){case 1:A.value=r.double();break;default:let c=i.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${s} (wire type ${a}) for ${this.typeName}`);let d=r.skip(a);if(c!==false)(cLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");const a=[];const A=new Uint8Array([13,10]);h=0;let c=false;for(const[s,l]of r){if(typeof l==="string"){const r=_.encode(i+`; name="${escape(normalizeLinefeeds(s))}"`+`\r\n\r\n${normalizeLinefeeds(l)}\r\n`);a.push(r);h+=r.byteLength}else{const r=_.encode(`${i}; name="${escape(normalizeLinefeeds(s))}"`+(l.name?`; filename="${escape(l.name)}"`:"")+"\r\n"+`Content-Type: ${l.type||"application/octet-stream"}\r\n\r\n`);a.push(r,l,A);if(typeof l.size==="number"){h+=r.byteLength+l.size+A.byteLength}else{c=true}}}const l=_.encode(`--${s}--`);a.push(l);h+=l.byteLength;if(c){h=null}g=r;p=async function*(){for(const r of a){if(r.stream){yield*r.stream()}else{yield r}}};C="multipart/form-data; boundary="+s}else if(l(r)){g=r;h=r.size;if(r.type){C=r.type}}else if(typeof r[Symbol.asyncIterator]==="function"){if(s){throw new TypeError("keepalive")}if(A.isDisturbed(r)||r.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=r instanceof T?r:c(r)}if(typeof g==="string"||A.isBuffer(g)){h=Buffer.byteLength(g)}if(p!=null){let s;a=new T({async start(){s=p(r)[Symbol.asyncIterator]()},async pull(r){const{value:i,done:A}=await s.next();if(A){queueMicrotask((()=>{r.close()}))}else{if(!v(a)){r.enqueue(new Uint8Array(i))}}return r.desiredSize>0},async cancel(r){await s.return()},type:undefined})}const B={stream:a,source:g,length:h};return[B,C]}function safelyExtractBody(r,s=false){if(!T){T=i(35356).ReadableStream}if(r instanceof T){S(!A.isDisturbed(r),"The body has already been consumed.");S(!r.locked,"The stream is locked.")}return extractBody(r,s)}function cloneBody(r){const[s,i]=r.stream.tee();const a=I(i,{transfer:[i]});const[,A]=a.tee();r.stream=s;return{stream:A,length:r.length,source:r.source}}async function*consumeBody(r){if(r){if(R(r)){yield r}else{const s=r.stream;if(A.isDisturbed(s)){throw new TypeError("The body has already been consumed.")}if(s.locked){throw new TypeError("The stream is locked.")}s[w]=true;yield*s}}}function throwIfAborted(r){if(r.aborted){throw new y("The operation was aborted.","AbortError")}}function bodyMixinMethods(r){const s={blob(){return specConsumeBody(this,(r=>{let s=bodyMimeType(this);if(s==="failure"){s=""}else if(s){s=x(s)}return new Q([r],{type:s})}),r)},arrayBuffer(){return specConsumeBody(this,(r=>new Uint8Array(r).buffer),r)},text(){return specConsumeBody(this,utf8DecodeBytes,r)},json(){return specConsumeBody(this,parseJSONFromBytes,r)},async formData(){B.brandCheck(this,r);throwIfAborted(this[C]);const s=this.headers.get("Content-Type");if(/multipart\/form-data/.test(s)){const r={};for(const[s,i]of this.headers)r[s.toLowerCase()]=i;const s=new h;let i;try{i=new a({headers:r,preservePath:true})}catch(r){throw new y(`${r}`,"AbortError")}i.on("field",((r,i)=>{s.append(r,i)}));i.on("file",((r,i,a,A,c)=>{const l=[];if(A==="base64"||A.toLowerCase()==="base64"){let A="";i.on("data",(r=>{A+=r.toString().replace(/[\r\n]/gm,"");const s=A.length-A.length%4;l.push(Buffer.from(A.slice(0,s),"base64"));A=A.slice(s)}));i.on("end",(()=>{l.push(Buffer.from(A,"base64"));s.append(r,new L(l,a,{type:c}))}))}else{i.on("data",(r=>{l.push(r)}));i.on("end",(()=>{s.append(r,new L(l,a,{type:c}))}))}}));const A=new Promise(((r,s)=>{i.on("finish",r);i.on("error",(r=>s(new TypeError(r))))}));if(this.body!==null)for await(const r of consumeBody(this[C].body))i.write(r);i.end();await A;return s}else if(/application\/x-www-form-urlencoded/.test(s)){let r;try{let s="";const i=new TextDecoder("utf-8",{ignoreBOM:true});for await(const r of consumeBody(this[C].body)){if(!R(r)){throw new TypeError("Expected Uint8Array chunk")}s+=i.decode(r,{stream:true})}s+=i.decode();r=new URLSearchParams(s)}catch(r){throw Object.assign(new TypeError,{cause:r})}const s=new h;for(const[i,a]of r){s.append(i,a)}return s}else{await Promise.resolve();throwIfAborted(this[C]);throw B.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};return s}function mixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}async function specConsumeBody(r,s,i){B.brandCheck(r,i);throwIfAborted(r[C]);if(bodyUnusable(r[C].body)){throw new TypeError("Body is unusable")}const a=p();const errorSteps=r=>a.reject(r);const successSteps=r=>{try{a.resolve(s(r))}catch(r){errorSteps(r)}};if(r[C].body==null){successSteps(new Uint8Array);return a.promise}await g(r[C].body,successSteps,errorSteps);return a.promise}function bodyUnusable(r){return r!=null&&(r.stream.locked||A.isDisturbed(r.stream))}function utf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}const s=O.decode(r);return s}function parseJSONFromBytes(r){return JSON.parse(utf8DecodeBytes(r))}function bodyMimeType(r){const{headersList:s}=r[C];const i=s.get("contentLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[A-4]=this.maskKey[0];c[A-3]=this.maskKey[1];c[A-2]=this.maskKey[2];c[A-1]=this.maskKey[3];c[1]=i;if(i===126){c.writeUInt16BE(s,2)}else if(i===127){c[2]=c[3]=0;c.writeUIntBE(s,4,6)}c[1]|=128;for(let r=0;r<s;r++){c[A+r]=this.frameData[r]^this.maskKey[r%4]}return c}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},1993:(r,s,i)=>{"use strict";const{Writable:a}=i(12781);const A=i(67643);const{parserStates:c,opcodes:l,states:d,emptyBuffer:u}=i(18790);const{kReadyState:p,kSentClose:g,kResponse:h,kReceivedClose:C}=i(84258);const{isValidStatusCode:B,failWebsocketConnection:y,websocketMessageReceived:I}=i(82557);const{WebsocketFrameSend:Q}=i(30374);const b={};b.ping=A.channel("undici:websocket:ping");b.pong=A.channel("undici:websocket:pong");class ByteParser extends a{#o=[];#a=0;#A=c.INFO;#c={};#l=[];constructor(r){super();this.ws=r}_write(r,s,i){this.#o.push(r);this.#a+=r.length;this.run(i)}run(r){while(true){if(this.#A===c.INFO){if(this.#a<2){return r()}const s=this.consume(2);this.#c.fin=(s[0]&128)!==0;this.#c.opcode=s[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==l.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==l.BINARY&&this.#c.opcode!==l.TEXT){y(this.ws,"Invalid frame type was fragmented.");return}const i=s[1]&127;if(i<=125){this.#c.payloadLength=i;this.#A=c.READ_DATA}else if(i===126){this.#A=c.PAYLOADLENGTH_16}else if(i===127){this.#A=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&i>125){y(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===l.PING||this.#c.opcode===l.PONG||this.#c.opcode===l.CLOSE)&&i>125){y(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===l.CLOSE){if(i===1){y(this.ws,"Received close frame with a 1-byte body.");return}const r=this.consume(i);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[g]){const r=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);const s=new Q(r);this.ws[h].socket.write(s.createFrame(l.CLOSE),(r=>{if(!r){this.ws[g]=true}}))}this.ws[p]=d.CLOSING;this.ws[C]=true;this.end();return}else if(this.#c.opcode===l.PING){const s=this.consume(i);if(!this.ws[C]){const r=new Q(s);this.ws[h].socket.write(r.createFrame(l.PONG));if(b.ping.hasSubscribers){b.ping.publish({payload:s})}}this.#A=c.INFO;if(this.#a>0){continue}else{r();return}}else if(this.#c.opcode===l.PONG){const s=this.consume(i);if(b.pong.hasSubscribers){b.pong.publish({payload:s})}if(this.#a>0){continue}else{r();return}}}else if(this.#A===c.PAYLOADLENGTH_16){if(this.#a<2){return r()}const s=this.consume(2);this.#c.payloadLength=s.readUInt16BE(0);this.#A=c.READ_DATA}else if(this.#A===c.PAYLOADLENGTH_64){if(this.#a<8){return r()}const s=this.consume(8);const i=s.readUInt32BE(0);if(i>2**31-1){y(this.ws,"Received payload length > 2^31 bytes.");return}const a=s.readUInt32BE(4);this.#c.payloadLength=(i<<8)+a;this.#A=c.READ_DATA}else if(this.#A===c.READ_DATA){if(this.#a<this.#c.payloadLength){return r()}else if(this.#a>=this.#c.payloadLength){const r=this.consume(this.#c.payloadLength);this.#l.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===l.CONTINUATION){const r=Buffer.concat(this.#l);I(this.ws,this.#c.originalOpcode,r);this.#c={};this.#l.length=0}this.#A=c.INFO}}if(this.#a>0){continue}else{r();break}}}consume(r){if(r>this.#a){return null}else if(r===0){return u}if(this.#o[0].length===r){this.#a-=this.#o[0].length;return this.#o.shift()}const s=Buffer.allocUnsafe(r);let i=0;while(i!==r){const a=this.#o[0];const{length:A}=a;if(A+i===r){s.set(this.#o.shift(),i);break}else if(A+i>r){s.set(a.subarray(0,r-i),i);this.#o[0]=a.subarray(r-i);break}else{s.set(this.#o.shift(),i);i+=a.length}}this.#a-=r;return s}parseCloseBody(r,s){let i;if(s.length>=2){i=s.readUInt16BE(0)}if(r){if(!B(i)){return null}return{code:i}}let a=s.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(i!==undefined&&!B(i)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:i,reason:a}}get closingInfo(){return this.#c.closeInfo}}r.exports={ByteParser:ByteParser}},84258:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},82557:(r,s,i)=>{"use strict";const{kReadyState:a,kController:A,kResponse:c,kBinaryType:l,kWebSocketURL:d}=i(84258);const{states:u,opcodes:p}=i(18790);const{MessageEvent:g,ErrorEvent:h}=i(71161);function isEstablished(r){return r[a]===u.OPEN}function isClosing(r){return r[a]===u.CLOSING}function isClosed(r){return r[a]===u.CLOSED}function fireEvent(r,s,i=Event,a){const A=new i(r,a);s.dispatchEvent(A)}function websocketMessageReceived(r,s,i){if(r[a]!==u.OPEN){return}let A;if(s===p.TEXT){try{A=new TextDecoder("utf-8",{fatal:true}Line truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");const a=[];const A=new Uint8Array([13,10]);h=0;let c=false;for(const[s,l]of r){if(typeof l==="string"){const r=O.encode(i+`; name="${escape(normalizeLinefeeds(s))}"`+`\r\n\r\n${normalizeLinefeeds(l)}\r\n`);a.push(r);h+=r.byteLength}else{const r=O.encode(`${i}; name="${escape(normalizeLinefeeds(s))}"`+(l.name?`; filename="${escape(l.name)}"`:"")+"\r\n"+`Content-Type: ${l.type||"application/octet-stream"}\r\n\r\n`);a.push(r,l,A);if(typeof l.size==="number"){h+=r.byteLength+l.size+A.byteLength}else{c=true}}}const l=O.encode(`--${s}--`);a.push(l);h+=l.byteLength;if(c){h=null}g=r;p=async function*(){for(const r of a){if(r.stream){yield*r.stream()}else{yield r}}};C="multipart/form-data; boundary="+s}else if(l(r)){g=r;h=r.size;if(r.type){C=r.type}}else if(typeof r[Symbol.asyncIterator]==="function"){if(s){throw new TypeError("keepalive")}if(A.isDisturbed(r)||r.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=r instanceof L?r:c(r)}if(typeof g==="string"||A.isBuffer(g)){h=Buffer.byteLength(g)}if(p!=null){let s;a=new L({async start(){s=p(r)[Symbol.asyncIterator]()},async pull(r){const{value:i,done:A}=await s.next();if(A){queueMicrotask((()=>{r.close()}))}else{if(!v(a)){r.enqueue(new Uint8Array(i))}}return r.desiredSize>0},async cancel(r){await s.return()},type:undefined})}const B={stream:a,source:g,length:h};return[B,C]}function safelyExtractBody(r,s=false){if(!L){L=i(35356).ReadableStream}if(r instanceof L){S(!A.isDisturbed(r),"The body has already been consumed.");S(!r.locked,"The stream is locked.")}return extractBody(r,s)}function cloneBody(r){const[s,i]=r.stream.tee();const a=I(i,{transfer:[i]});const[,A]=a.tee();r.stream=s;return{stream:A,length:r.length,source:r.source}}async function*consumeBody(r){if(r){if(R(r)){yield r}else{const s=r.stream;if(A.isDisturbed(s)){throw new TypeError("The body has already been consumed.")}if(s.locked){throw new TypeError("The stream is locked.")}s[w]=true;yield*s}}}function throwIfAborted(r){if(r.aborted){throw new y("The operation was aborted.","AbortError")}}function bodyMixinMethods(r){const s={blob(){return specConsumeBody(this,(r=>{let s=bodyMimeType(this);if(s==="failure"){s=""}else if(s){s=x(s)}return new Q([r],{type:s})}),r)},arrayBuffer(){return specConsumeBody(this,(r=>new Uint8Array(r).buffer),r)},text(){return specConsumeBody(this,utf8DecodeBytes,r)},json(){return specConsumeBody(this,parseJSONFromBytes,r)},async formData(){B.brandCheck(this,r);throwIfAborted(this[C]);const s=this.headers.get("Content-Type");if(/multipart\/form-data/.test(s)){const r={};for(const[s,i]of this.headers)r[s.toLowerCase()]=i;const s=new h;let i;try{i=new a({headers:r,preservePath:true})}catch(r){throw new y(`${r}`,"AbortError")}i.on("field",((r,i)=>{s.append(r,i)}));i.on("file",((r,i,a,A,c)=>{const l=[];if(A==="base64"||A.toLowerCase()==="base64"){let A="";i.on("data",(r=>{A+=r.toString().replace(/[\r\n]/gm,"");const s=A.length-A.length%4;l.push(Buffer.from(A.slice(0,s),"base64"));A=A.slice(s)}));i.on("end",(()=>{l.push(Buffer.from(A,"base64"));s.append(r,new _(l,a,{type:c}))}))}else{i.on("data",(r=>{l.push(r)}));i.on("end",(()=>{s.append(r,new _(l,a,{type:c}))}))}}));const A=new Promise(((r,s)=>{i.on("finish",r);i.on("error",(r=>s(new TypeError(r))))}));if(this.body!==null)for await(const r of consumeBody(this[C].body))i.write(r);i.end();await A;return s}else if(/application\/x-www-form-urlencoded/.test(s)){let r;try{let s="";const i=new TextDecoder("utf-8",{ignoreBOM:true});for await(const r of consumeBody(this[C].body)){if(!R(r)){throw new TypeError("Expected Uint8Array chunk")}s+=i.decode(r,{stream:true})}s+=i.decode();r=new URLSearchParams(s)}catch(r){throw Object.assign(new TypeError,{cause:r})}const s=new h;for(const[i,a]of r){s.append(i,a)}return s}else{await Promise.resolve();throwIfAborted(this[C]);throw B.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};return s}function mixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}async function specConsumeBody(r,s,i){B.brandCheck(r,i);throwIfAborted(r[C]);if(bodyUnusable(r[C].body)){throw new TypeError("Body is unusable")}const a=p();const errorSteps=r=>a.reject(r);const successSteps=r=>{try{a.resolve(s(r))}catch(r){errorSteps(r)}};if(r[C].body==null){successSteps(new Uint8Array);return a.promise}await g(r[C].body,successSteps,errorSteps);return a.promise}function bodyUnusable(r){return r!=null&&(r.stream.locked||A.isDisturbed(r.stream))}function utf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}const s=P.decode(r);return s}function parseJSONFromBytes(r){return JSON.parse(utf8DecodeBytes(r))}function bodyMimeType(r){const{headersList:s}=r[C];const i=s.get("contentLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[A-4]=this.maskKey[0];c[A-3]=this.maskKey[1];c[A-2]=this.maskKey[2];c[A-1]=this.maskKey[3];c[1]=i;if(i===126){c.writeUInt16BE(s,2)}else if(i===127){c[2]=c[3]=0;c.writeUIntBE(s,4,6)}c[1]|=128;for(let r=0;r<s;r++){c[A+r]=this.frameData[r]^this.maskKey[r%4]}return c}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},18096:(r,s,i)=>{"use strict";const{Writable:a}=i(12781);const A=i(67643);const{parserStates:c,opcodes:l,states:d,emptyBuffer:u}=i(529);const{kReadyState:p,kSentClose:g,kResponse:h,kReceivedClose:C}=i(86799);const{isValidStatusCode:B,failWebsocketConnection:y,websocketMessageReceived:I}=i(55118);const{WebsocketFrameSend:Q}=i(60499);const b={};b.ping=A.channel("undici:websocket:ping");b.pong=A.channel("undici:websocket:pong");class ByteParser extends a{#o=[];#a=0;#A=c.INFO;#c={};#l=[];constructor(r){super();this.ws=r}_write(r,s,i){this.#o.push(r);this.#a+=r.length;this.run(i)}run(r){while(true){if(this.#A===c.INFO){if(this.#a<2){return r()}const s=this.consume(2);this.#c.fin=(s[0]&128)!==0;this.#c.opcode=s[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==l.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==l.BINARY&&this.#c.opcode!==l.TEXT){y(this.ws,"Invalid frame type was fragmented.");return}const i=s[1]&127;if(i<=125){this.#c.payloadLength=i;this.#A=c.READ_DATA}else if(i===126){this.#A=c.PAYLOADLENGTH_16}else if(i===127){this.#A=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&i>125){y(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===l.PING||this.#c.opcode===l.PONG||this.#c.opcode===l.CLOSE)&&i>125){y(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===l.CLOSE){if(i===1){y(this.ws,"Received close frame with a 1-byte body.");return}const r=this.consume(i);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[g]){const r=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);const s=new Q(r);this.ws[h].socket.write(s.createFrame(l.CLOSE),(r=>{if(!r){this.ws[g]=true}}))}this.ws[p]=d.CLOSING;this.ws[C]=true;this.end();return}else if(this.#c.opcode===l.PING){const s=this.consume(i);if(!this.ws[C]){const r=new Q(s);this.ws[h].socket.write(r.createFrame(l.PONG));if(b.ping.hasSubscribers){b.ping.publish({payload:s})}}this.#A=c.INFO;if(this.#a>0){continue}else{r();return}}else if(this.#c.opcode===l.PONG){const s=this.consume(i);if(b.pong.hasSubscribers){b.pong.publish({payload:s})}if(this.#a>0){continue}else{r();return}}}else if(this.#A===c.PAYLOADLENGTH_16){if(this.#a<2){return r()}const s=this.consume(2);this.#c.payloadLength=s.readUInt16BE(0);this.#A=c.READ_DATA}else if(this.#A===c.PAYLOADLENGTH_64){if(this.#a<8){return r()}const s=this.consume(8);const i=s.readUInt32BE(0);if(i>2**31-1){y(this.ws,"Received payload length > 2^31 bytes.");return}const a=s.readUInt32BE(4);this.#c.payloadLength=(i<<8)+a;this.#A=c.READ_DATA}else if(this.#A===c.READ_DATA){if(this.#a<this.#c.payloadLength){return r()}else if(this.#a>=this.#c.payloadLength){const r=this.consume(this.#c.payloadLength);this.#l.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===l.CONTINUATION){const r=Buffer.concat(this.#l);I(this.ws,this.#c.originalOpcode,r);this.#c={};this.#l.length=0}this.#A=c.INFO}}if(this.#a>0){continue}else{r();break}}}consume(r){if(r>this.#a){return null}else if(r===0){return u}if(this.#o[0].length===r){this.#a-=this.#o[0].length;return this.#o.shift()}const s=Buffer.allocUnsafe(r);let i=0;while(i!==r){const a=this.#o[0];const{length:A}=a;if(A+i===r){s.set(this.#o.shift(),i);break}else if(A+i>r){s.set(a.subarray(0,r-i),i);this.#o[0]=a.subarray(r-i);break}else{s.set(this.#o.shift(),i);i+=a.length}}this.#a-=r;return s}parseCloseBody(r,s){let i;if(s.length>=2){i=s.readUInt16BE(0)}if(r){if(!B(i)){return null}return{code:i}}let a=s.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(i!==undefined&&!B(i)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:i,reason:a}}get closingInfo(){return this.#c.closeInfo}}r.exports={ByteParser:ByteParser}},86799:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},55118:(r,s,i)=>{"use strict";const{kReadyState:a,kController:A,kResponse:c,kBinaryType:l,kWebSocketURL:d}=i(86799);const{states:u,opcodes:p}=i(529);const{MessageEvent:g,ErrorEvent:h}=i(84408);function isEstablished(r){return r[a]===u.OPEN}function isClosing(r){return r[a]===u.CLOSING}function isClosed(r){return r[a]===u.CLOSED}function fireEvent(r,s,i=Event,a){const A=new i(r,a);s.dispatchEvent(A)}function websocketMessageReceived(r,s,i){if(r[a]!==u.OPEN){return}let A;if(s===p.TEXT){try{A=new TextDecoder("utf-8",{fatal:true}).dLine truncated
/** /**
* Archiver Vending * Archiver Vending
* *
@@ -6,7 +10,7 @@ require('./sourcemap-register.js');(()=>{var r={79450:function(r,i,s){"use stric
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(35010);var l={};var vending=function(r,i){return vending.create(r,i)};vending.create=function(r,i){if(l[r]){var s=new a(r,i);s.setFormat(r);s.setModule(new l[r](i));return s}else{throw new Error("create("+r+"): format not registered")}};vending.registerFormat=function(r,i){if(l[r]){throw new Error("register("+r+"): format already registered")}if(typeof i!=="function"){throw new Error("register("+r+"): format module invalid")}if(typeof i.prototype.append!=="function"||typeof i.prototype.finalize!=="function"){throw new Error("register("+r+"): format module missing methods")}l[r]=i};vending.isRegisteredFormat=function(r){if(l[r]){return true}return false};vending.registerFormat("zip",s(8987));vending.registerFormat("tar",s(33614));vending.registerFormat("json",s(99827));r.exports=vending},35010:(r,i,s)=>{ var a=i(35010);var A={};var vending=function(r,s){return vending.create(r,s)};vending.create=function(r,s){if(A[r]){var i=new a(r,s);i.setFormat(r);i.setModule(new A[r](s));return i}else{throw new Error("create("+r+"): format not registered")}};vending.registerFormat=function(r,s){if(A[r]){throw new Error("register("+r+"): format already registered")}if(typeof s!=="function"){throw new Error("register("+r+"): format module invalid")}if(typeof s.prototype.append!=="function"||typeof s.prototype.finalize!=="function"){throw new Error("register("+r+"): format module missing methods")}A[r]=s};vending.isRegisteredFormat=function(r){if(A[r]){return true}return false};vending.registerFormat("zip",i(8987));vending.registerFormat("tar",i(33614));vending.registerFormat("json",i(99827));r.exports=vending},35010:(r,s,i)=>{
/** /**
* Archiver Core * Archiver Core
* *
@@ -14,7 +18,7 @@ var a=s(35010);var l={};var vending=function(r,i){return vending.create(r,i)};ve
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(57147);var l=s(44967);var c=s(57888);var d=s(71017);var p=s(82072);var u=s(73837).inherits;var h=s(13143);var A=s(45193).Transform;var g=process.platform==="win32";var Archiver=function(r,i){if(!(this instanceof Archiver)){return new Archiver(r,i)}if(typeof r!=="string"){i=r;r="zip"}i=this.options=p.defaults(i,{highWaterMark:1024*1024,statConcurrency:4});A.call(this,i);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=c.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=c.queue(this._onStatQueueTask.bind(this),i.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};u(Archiver,A);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(r,i){i=i||{};var s={source:null,filepath:r};if(!i.name){i.name=r}i.sourcePath=r;s.data=i;this._entriesCount++;if(i.stats&&i.stats instanceof a.Stats){s=this._updateQueueTaskWithStats(s,i.stats);if(s){if(i.stats.size){this._fsEntriesTotalBytes+=i.stats.size}this._queue.push(s)}}else{this._statQueue.push(s)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(r,i,s){if(this._state.aborted){s();return}this._module.append(r,i,function(r){this._task=null;if(this._state.aborted){this._shutdown();return}if(r){this.emit("error",r);setImmediate(s);return}this.emit("entry",i);this._entriesProcessedCount++;if(i.stats&&i.stats.size){this._fsEntriesProcessedBytes+=i.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(s)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new h("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(r){if(!this._module.supports||!this._module.supports[r]){return false}return this._module.supports[r]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(r,i){r=p.defaults(r,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(i&&r.stats===false){r.stats=i}var s=r.type==="directory";if(r.name){if(typeof r.prefix==="string"&&""!==r.prefix){r.name=r.prefix+"/"+r.name;r.prefix=null}r.name=p.sanitizePath(r.name);if(r.type!=="symlink"&&r.name.slice(-1)==="/"){s=true;r.type="directory"}else if(s){r.name+="/"}}if(typeof r.mode==="number"){if(g){r.mode&=511}else{r.mode&=4095}}else if(r.stats&&r.mode===null){if(g){r.mode=r.stats.mode&511}else{r.mode=r.stats.mode&4095}if(g&&s){r.mode=493}}else if(r.mode===null){r.mode=s?493:420}if(r.stats&&r.date===null){r.date=r.stats.mtime}else{r.date=p.dateify(r.date)}return r};Archiver.prototype._onModuleError=function(r){this.emit("error",r)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(r,i){var fullCallback=()=>{if(r.data.callback){r.data.callback()}i()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=r;this._moduleAppend(r.source,r.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(r,i){if(this._state.finalizing||this._state.finalized||this._state.aborted){i();return}a.lstat(r.filepath,function(s,a){if(this._state.aborted){setImmediate(i);return}if(s){this._entriesCount--;this.emit("warning",s);setImmediate(i);return}r=this._updateQueueTaskWithStats(r,a);if(r){if(a.size){this._fsEntriesTotalBytes+=a.size}this._queue.push(r)}setImmediate(i)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(r,i,s){if(r){this._pointer+=r.length}s(null,r)};Archiver.prototLine truncated var a=i(57147);var A=i(44967);var c=i(57888);var l=i(71017);var d=i(82072);var u=i(73837).inherits;var p=i(13143);var g=i(45193).Transform;var h=process.platform==="win32";var Archiver=function(r,s){if(!(this instanceof Archiver)){return new Archiver(r,s)}if(typeof r!=="string"){s=r;r="zip"}s=this.options=d.defaults(s,{highWaterMark:1024*1024,statConcurrency:4});g.call(this,s);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=c.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=c.queue(this._onStatQueueTask.bind(this),s.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};u(Archiver,g);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(r,s){s=s||{};var i={source:null,filepath:r};if(!s.name){s.name=r}s.sourcePath=r;i.data=s;this._entriesCount++;if(s.stats&&s.stats instanceof a.Stats){i=this._updateQueueTaskWithStats(i,s.stats);if(i){if(s.stats.size){this._fsEntriesTotalBytes+=s.stats.size}this._queue.push(i)}}else{this._statQueue.push(i)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(r,s,i){if(this._state.aborted){i();return}this._module.append(r,s,function(r){this._task=null;if(this._state.aborted){this._shutdown();return}if(r){this.emit("error",r);setImmediate(i);return}this.emit("entry",s);this._entriesProcessedCount++;if(s.stats&&s.stats.size){this._fsEntriesProcessedBytes+=s.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(i)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new p("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(r){if(!this._module.supports||!this._module.supports[r]){return false}return this._module.supports[r]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(r,s){r=d.defaults(r,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(s&&r.stats===false){r.stats=s}var i=r.type==="directory";if(r.name){if(typeof r.prefix==="string"&&""!==r.prefix){r.name=r.prefix+"/"+r.name;r.prefix=null}r.name=d.sanitizePath(r.name);if(r.type!=="symlink"&&r.name.slice(-1)==="/"){i=true;r.type="directory"}else if(i){r.name+="/"}}if(typeof r.mode==="number"){if(h){r.mode&=511}else{r.mode&=4095}}else if(r.stats&&r.mode===null){if(h){r.mode=r.stats.mode&511}else{r.mode=r.stats.mode&4095}if(h&&i){r.mode=493}}else if(r.mode===null){r.mode=i?493:420}if(r.stats&&r.date===null){r.date=r.stats.mtime}else{r.date=d.dateify(r.date)}return r};Archiver.prototype._onModuleError=function(r){this.emit("error",r)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(r,s){var fullCallback=()=>{if(r.data.callback){r.data.callback()}s()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=r;this._moduleAppend(r.source,r.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(r,s){if(this._state.finalizing||this._state.finalized||this._state.aborted){s();return}a.lstat(r.filepath,function(i,a){if(this._state.aborted){setImmediate(s);return}if(i){this._entriesCount--;this.emit("warning",i);setImmediate(s);return}r=this._updateQueueTaskWithStats(r,a);if(r){if(a.size){this._fsEntriesTotalBytes+=a.size}this._queue.push(r)}setImmediate(s)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(r,s,i){if(r){this._pointer+=r.length}i(null,r)};Archiver.prototLine truncated
/** /**
* Archiver Core * Archiver Core
* *
@@ -22,7 +26,7 @@ var a=s(57147);var l=s(44967);var c=s(57888);var d=s(71017);var p=s(82072);var u
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(73837);const l={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 ArchiverError(r,i){Error.captureStackTrace(this,this.constructor);this.message=l[r]||r;this.code=r;this.data=i}a.inherits(ArchiverError,Error);i=r.exports=ArchiverError},99827:(r,i,s)=>{ var a=i(73837);const A={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 ArchiverError(r,s){Error.captureStackTrace(this,this.constructor);this.message=A[r]||r;this.code=r;this.data=s}a.inherits(ArchiverError,Error);s=r.exports=ArchiverError},99827:(r,s,i)=>{
/** /**
* JSON Format Plugin * JSON Format Plugin
* *
@@ -30,7 +34,7 @@ var a=s(73837);const l={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(73837).inherits;var l=s(45193).Transform;var c=s(54119);var d=s(82072);var Json=function(r){if(!(this instanceof Json)){return new Json(r)}r=this.options=d.defaults(r,{});l.call(this,r);this.supports={directory:true,symlink:true};this.files=[]};a(Json,l);Json.prototype._transform=function(r,i,s){s(null,r)};Json.prototype._writeStringified=function(){var r=JSON.stringify(this.files);this.write(r)};Json.prototype.append=function(r,i,s){var a=this;i.crc32=0;function onend(r,l){if(r){s(r);return}i.size=l.length||0;i.crc32=c.unsigned(l);a.files.push(i);s(null,i)}if(i.sourceType==="buffer"){onend(null,r)}else if(i.sourceType==="stream"){d.collectStream(r,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};r.exports=Json},33614:(r,i,s)=>{ var a=i(73837).inherits;var A=i(45193).Transform;var c=i(54119);var l=i(82072);var Json=function(r){if(!(this instanceof Json)){return new Json(r)}r=this.options=l.defaults(r,{});A.call(this,r);this.supports={directory:true,symlink:true};this.files=[]};a(Json,A);Json.prototype._transform=function(r,s,i){i(null,r)};Json.prototype._writeStringified=function(){var r=JSON.stringify(this.files);this.write(r)};Json.prototype.append=function(r,s,i){var a=this;s.crc32=0;function onend(r,A){if(r){i(r);return}s.size=A.length||0;s.crc32=c.unsigned(A);a.files.push(s);i(null,s)}if(s.sourceType==="buffer"){onend(null,r)}else if(s.sourceType==="stream"){l.collectStream(r,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};r.exports=Json},33614:(r,s,i)=>{
/** /**
* TAR Format Plugin * TAR Format Plugin
* *
@@ -38,7 +42,7 @@ var a=s(73837).inherits;var l=s(45193).Transform;var c=s(54119);var d=s(82072);v
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(59796);var l=s(2283);var c=s(82072);var Tar=function(r){if(!(this instanceof Tar)){return new Tar(r)}r=this.options=c.defaults(r,{gzip:false});if(typeof r.gzipOptions!=="object"){r.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=l.pack(r);this.compressor=false;if(r.gzip){this.compressor=a.createGzip(r.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(r){this.engine.emit("error",r)};Tar.prototype.append=function(r,i,s){var a=this;i.mtime=i.date;function append(r,l){if(r){s(r);return}a.engine.entry(i,l,(function(r){s(r,i)}))}if(i.sourceType==="buffer"){append(null,r)}else if(i.sourceType==="stream"&&i.stats){i.size=i.stats.size;var l=a.engine.entry(i,(function(r){s(r,i)}));r.pipe(l)}else if(i.sourceType==="stream"){c.collectStream(r,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(r,i){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(r,i)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};r.exports=Tar},8987:(r,i,s)=>{ var a=i(59796);var A=i(2283);var c=i(82072);var Tar=function(r){if(!(this instanceof Tar)){return new Tar(r)}r=this.options=c.defaults(r,{gzip:false});if(typeof r.gzipOptions!=="object"){r.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=A.pack(r);this.compressor=false;if(r.gzip){this.compressor=a.createGzip(r.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(r){this.engine.emit("error",r)};Tar.prototype.append=function(r,s,i){var a=this;s.mtime=s.date;function append(r,A){if(r){i(r);return}a.engine.entry(s,A,(function(r){i(r,s)}))}if(s.sourceType==="buffer"){append(null,r)}else if(s.sourceType==="stream"&&s.stats){s.size=s.stats.size;var A=a.engine.entry(s,(function(r){i(r,s)}));r.pipe(A)}else if(s.sourceType==="stream"){c.collectStream(r,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(r,s){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(r,s)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};r.exports=Tar},8987:(r,s,i)=>{
/** /**
* ZIP Format Plugin * ZIP Format Plugin
* *
@@ -46,42 +50,42 @@ var a=s(59796);var l=s(2283);var c=s(82072);var Tar=function(r){if(!(this instan
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors. * @copyright (c) 2012-2014 Chris Talkington, contributors.
*/ */
var a=s(86454);var l=s(82072);var Zip=function(r){if(!(this instanceof Zip)){return new Zip(r)}r=this.options=l.defaults(r,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new a(r)};Zip.prototype.append=function(r,i,s){this.engine.entry(r,i,s)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};r.exports=Zip},57888:function(r,i){(function(r,s){true?s(i):0})(this,(function(r){"use strict";function apply(r,...i){return(...s)=>r(...i,...s)}function initialParams(r){return function(...i){var s=i.pop();return r.call(this,i,s)}}var i=typeof queueMicrotask==="function"&&queueMicrotask;var s=typeof setImmediate==="function"&&setImmediate;var a=typeof process==="object"&&typeof process.nextTick==="function";function fallback(r){setTimeout(r,0)}function wrap(r){return(i,...s)=>r((()=>i(...s)))}var l;if(i){l=queueMicrotask}else if(s){l=setImmediate}else if(a){l=process.nextTick}else{l=fallback}var c=wrap(l);function asyncify(r){if(isAsync(r)){return function(...i){const s=i.pop();const a=r.apply(this,i);return handlePromise(a,s)}}return initialParams((function(i,s){var a;try{a=r.apply(this,i)}catch(r){return s(r)}if(a&&typeof a.then==="function"){return handlePromise(a,s)}else{s(null,a)}}))}function handlePromise(r,i){return r.then((r=>{invokeCallback(i,null,r)}),(r=>{invokeCallback(i,r&&(r instanceof Error||r.message)?r:new Error(r))}))}function invokeCallback(r,i,s){try{r(i,s)}catch(r){c((r=>{throw r}),r)}}function isAsync(r){return r[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(r){return r[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(r){return typeof r[Symbol.asyncIterator]==="function"}function wrapAsync(r){if(typeof r!=="function")throw new Error("expected a function");return isAsync(r)?asyncify(r):r}function awaitify(r,i){if(!i)i=r.length;if(!i)throw new Error("arity is undefined");function awaitable(...s){if(typeof s[i-1]==="function"){return r.apply(this,s)}return new Promise(((a,l)=>{s[i-1]=(r,...i)=>{if(r)return l(r);a(i.length>1?i:i[0])};r.apply(this,s)}))}return awaitable}function applyEach$1(r){return function applyEach(i,...s){const a=awaitify((function(a){var l=this;return r(i,((r,i)=>{wrapAsync(r).apply(l,s.concat(i))}),a)}));return a}}function _asyncMap(r,i,s,a){i=i||[];var l=[];var c=0;var d=wrapAsync(s);return r(i,((r,i,s)=>{var a=c++;d(r,((r,i)=>{l[a]=i;s(r)}))}),(r=>{a(r,l)}))}function isArrayLike(r){return r&&typeof r.length==="number"&&r.length>=0&&r.length%1===0}const d={};var p=d;function once(r){function wrapper(...i){if(r===null)return;var s=r;r=null;s.apply(this,i)}Object.assign(wrapper,r);return wrapper}function getIterator(r){return r[Symbol.iterator]&&r[Symbol.iterator]()}function createArrayIterator(r){var i=-1;var s=r.length;return function next(){return++i<s?{value:r[i],key:i}:null}}function createES2015Iterator(r){var i=-1;return function next(){var s=r.next();if(s.done)return null;i++;return{value:s.value,key:i}}}function createObjectIterator(r){var i=r?Object.keys(r):[];var s=-1;var a=i.length;return function next(){var l=i[++s];if(l==="__proto__"){return next()}return s<a?{value:r[l],key:l}:null}}function createIterator(r){if(isArrayLike(r)){return createArrayIterator(r)}var i=getIterator(r);return i?createES2015Iterator(i):createObjectIterator(r)}function onlyOnce(r){return function(...i){if(r===null)throw new Error("Callback was already called.");var s=r;r=null;s.apply(this,i)}}function asyncEachOfLimit(r,i,s,a){let l=false;let c=false;let d=false;let u=0;let h=0;function replenish(){if(u>=i||d||l)return;d=true;r.next().then((({value:r,done:i})=>{if(c||l)return;d=false;if(i){l=true;if(u<=0){a(null)}return}u++;s(r,h,iterateeCallback);h++;replenish()})).catch(handleError)}function iterateeCallback(r,i){u-=1;if(c)return;if(r)return handleError(r);if(r===false){l=true;c=true;return}if(i===p||l&&u<=0){l=true;return a(null)}replenish()}function handleError(r){if(c)return;d=false;l=true;a(r)}replenish()}var eachOfLimit$2=r=>(i,s,a)=>{a=once(a);if(r<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!i){return a(null)}if(isAsyncGenerator(i)){return asyncEachOfLimit(i,r,s,a)}if(isAsyncIterable(i)){return asyncEachOfLimit(i[Symbol.asyncIterator](),r,s,a)}var l=createIterator(i);var c=false;var d=false;var u=0;var h=false;function iterateeCallback(r,i){if(d)return;u-=1;if(r){c=true;a(r)}else if(r===false){c=true;d=true}else if(i===p||c&&u<=0){c=true;return a(null)}else if(!h){replenish()}}function replenish(){h=true;while(u<r&&!c){var i=l();if(i===null){c=true;if(u<=0){a(null)}return}u+=1;s(i.value,i.key,onlyOnce(iterateeCallback))}h=false}replenish()};function eachOfLimit(r,i,s,a){return eachOfLimit$2(i)(r,Line truncated var a=i(86454);var A=i(82072);var Zip=function(r){if(!(this instanceof Zip)){return new Zip(r)}r=this.options=A.defaults(r,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new a(r)};Zip.prototype.append=function(r,s,i){this.engine.entry(r,s,i)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};r.exports=Zip},57888:function(r,s){(function(r,i){true?i(s):0})(this,(function(r){"use strict";function apply(r,...s){return(...i)=>r(...s,...i)}function initialParams(r){return function(...s){var i=s.pop();return r.call(this,s,i)}}var s=typeof queueMicrotask==="function"&&queueMicrotask;var i=typeof setImmediate==="function"&&setImmediate;var a=typeof process==="object"&&typeof process.nextTick==="function";function fallback(r){setTimeout(r,0)}function wrap(r){return(s,...i)=>r((()=>s(...i)))}var A;if(s){A=queueMicrotask}else if(i){A=setImmediate}else if(a){A=process.nextTick}else{A=fallback}var c=wrap(A);function asyncify(r){if(isAsync(r)){return function(...s){const i=s.pop();const a=r.apply(this,s);return handlePromise(a,i)}}return initialParams((function(s,i){var a;try{a=r.apply(this,s)}catch(r){return i(r)}if(a&&typeof a.then==="function"){return handlePromise(a,i)}else{i(null,a)}}))}function handlePromise(r,s){return r.then((r=>{invokeCallback(s,null,r)}),(r=>{invokeCallback(s,r&&(r instanceof Error||r.message)?r:new Error(r))}))}function invokeCallback(r,s,i){try{r(s,i)}catch(r){c((r=>{throw r}),r)}}function isAsync(r){return r[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(r){return r[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(r){return typeof r[Symbol.asyncIterator]==="function"}function wrapAsync(r){if(typeof r!=="function")throw new Error("expected a function");return isAsync(r)?asyncify(r):r}function awaitify(r,s){if(!s)s=r.length;if(!s)throw new Error("arity is undefined");function awaitable(...i){if(typeof i[s-1]==="function"){return r.apply(this,i)}return new Promise(((a,A)=>{i[s-1]=(r,...s)=>{if(r)return A(r);a(s.length>1?s:s[0])};r.apply(this,i)}))}return awaitable}function applyEach$1(r){return function applyEach(s,...i){const a=awaitify((function(a){var A=this;return r(s,((r,s)=>{wrapAsync(r).apply(A,i.concat(s))}),a)}));return a}}function _asyncMap(r,s,i,a){s=s||[];var A=[];var c=0;var l=wrapAsync(i);return r(s,((r,s,i)=>{var a=c++;l(r,((r,s)=>{A[a]=s;i(r)}))}),(r=>{a(r,A)}))}function isArrayLike(r){return r&&typeof r.length==="number"&&r.length>=0&&r.length%1===0}const l={};var d=l;function once(r){function wrapper(...s){if(r===null)return;var i=r;r=null;i.apply(this,s)}Object.assign(wrapper,r);return wrapper}function getIterator(r){return r[Symbol.iterator]&&r[Symbol.iterator]()}function createArrayIterator(r){var s=-1;var i=r.length;return function next(){return++s<i?{value:r[s],key:s}:null}}function createES2015Iterator(r){var s=-1;return function next(){var i=r.next();if(i.done)return null;s++;return{value:i.value,key:s}}}function createObjectIterator(r){var s=r?Object.keys(r):[];var i=-1;var a=s.length;return function next(){var A=s[++i];if(A==="__proto__"){return next()}return i<a?{value:r[A],key:A}:null}}function createIterator(r){if(isArrayLike(r)){return createArrayIterator(r)}var s=getIterator(r);return s?createES2015Iterator(s):createObjectIterator(r)}function onlyOnce(r){return function(...s){if(r===null)throw new Error("Callback was already called.");var i=r;r=null;i.apply(this,s)}}function asyncEachOfLimit(r,s,i,a){let A=false;let c=false;let l=false;let u=0;let p=0;function replenish(){if(u>=s||l||A)return;l=true;r.next().then((({value:r,done:s})=>{if(c||A)return;l=false;if(s){A=true;if(u<=0){a(null)}return}u++;i(r,p,iterateeCallback);p++;replenish()})).catch(handleError)}function iterateeCallback(r,s){u-=1;if(c)return;if(r)return handleError(r);if(r===false){A=true;c=true;return}if(s===d||A&&u<=0){A=true;return a(null)}replenish()}function handleError(r){if(c)return;l=false;A=true;a(r)}replenish()}var eachOfLimit$2=r=>(s,i,a)=>{a=once(a);if(r<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!s){return a(null)}if(isAsyncGenerator(s)){return asyncEachOfLimit(s,r,i,a)}if(isAsyncIterable(s)){return asyncEachOfLimit(s[Symbol.asyncIterator](),r,i,a)}var A=createIterator(s);var c=false;var l=false;var u=0;var p=false;function iterateeCallback(r,s){if(l)return;u-=1;if(r){c=true;a(r)}else if(r===false){c=true;l=true}else if(s===d||c&&u<=0){c=true;return a(null)}else if(!p){replenish()}}function replenish(){p=true;while(u<r&&!c){var s=A();if(s===null){c=true;if(u<=0){a(null)}return}u+=1;i(s.value,s.key,onlyOnce(iterateeCallback))}p=false}replenish()};function eachOfLimit(r,s,i,a){return eachOfLimit$2(s)(r,Line truncated
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */ /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
var s;(function(r){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){r(i)}else{}}else{r(s={})}})((function(r){r.version="1.2.2";function signed_crc_table(){var r=0,i=new Array(256);for(var s=0;s!=256;++s){r=s;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;i[s]=r}return typeof Int32Array!=="undefined"?new Int32Array(i):i}var i=signed_crc_table();function slice_by_16_tables(r){var i=0,s=0,a=0,l=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)l[a]=r[a];for(a=0;a!=256;++a){s=r[a];for(i=256+a;i<4096;i+=256)s=l[i]=s>>>8^r[s&255]}var c=[];for(a=1;a!=16;++a)c[a-1]=typeof Int32Array!=="undefined"?l.subarray(a*256,a*256+256):l.slice(a*256,a*256+256);return c}var s=slice_by_16_tables(i);var a=s[0],l=s[1],c=s[2],d=s[3],p=s[4];var u=s[5],h=s[6],A=s[7],g=s[8],y=s[9];var b=s[10],v=s[11],C=s[12],w=s[13],S=s[14];function crc32_bstr(r,s){var a=s^-1;for(var l=0,c=r.length;l<c;)a=a>>>8^i[(a^r.charCodeAt(l++))&255];return~a}function crc32_buf(r,s){var B=s^-1,I=r.length-15,x=0;for(;x<I;)B=S[r[x++]^B&255]^w[r[x++]^B>>8&255]^C[r[x++]^B>>16&255]^v[r[x++]^B>>>24]^b[r[x++]]^y[r[x++]]^g[r[x++]]^A[r[x++]]^h[r[x++]]^u[r[x++]]^p[r[x++]]^d[r[x++]]^c[r[x++]]^l[r[x++]]^a[r[x++]]^i[r[x++]];I+=15;while(x<I)B=B>>>8^i[(B^r[x++])&255];return~B}function crc32_str(r,s){var a=s^-1;for(var l=0,c=r.length,d=0,p=0;l<c;){d=r.charCodeAt(l++);if(d<128){a=a>>>8^i[(a^d)&255]}else if(d<2048){a=a>>>8^i[(a^(192|d>>6&31))&255];a=a>>>8^i[(a^(128|d&63))&255]}else if(d>=55296&&d<57344){d=(d&1023)+64;p=r.charCodeAt(l++)&1023;a=a>>>8^i[(a^(240|d>>8&7))&255];a=a>>>8^i[(a^(128|d>>2&63))&255];a=a>>>8^i[(a^(128|p>>6&15|(d&3)<<4))&255];a=a>>>8^i[(a^(128|p&63))&255]}else{a=a>>>8^i[(a^(224|d>>12&15))&255];a=a>>>8^i[(a^(128|d>>6&63))&255];a=a>>>8^i[(a^(128|d&63))&255]}}return~a}r.table=i;r.bstr=crc32_bstr;r.buf=crc32_buf;r.str=crc32_str}))},94521:(r,i,s)=>{"use strict";const{Transform:a}=s(45193);const l=s(83201);class CRC32Stream extends a{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(r,i,s){if(r){this.checksum=l.buf(r,this.checksum)>>>0;this.rawSize+=r.length}s(null,r)}digest(r){const i=Buffer.allocUnsafe(4);i.writeUInt32BE(this.checksum>>>0,0);return r?i.toString(r):i}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}r.exports=CRC32Stream},92563:(r,i,s)=>{"use strict";const{DeflateRaw:a}=s(59796);const l=s(83201);class DeflateCRC32Stream extends a{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(r,i){if(r){this.compressedSize+=r.length}return super.push(r,i)}_transform(r,i,s){if(r){this.checksum=l.buf(r,this.checksum)>>>0;this.rawSize+=r.length}super._transform(r,i,s)}digest(r){const i=Buffer.allocUnsafe(4);i.writeUInt32BE(this.checksum>>>0,0);return r?i.toString(r):i}hex(){return this.digest("hex").toUpperCase()}size(r=false){if(r){return this.compressedSize}else{return this.rawSize}}}r.exports=DeflateCRC32Stream},5101:(r,i,s)=>{"use strict";r.exports={CRC32Stream:s(94521),DeflateCRC32Stream:s(92563)}},18611:(r,i,s)=>{var a=s(12781).Stream;var l=s(73837);r.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}l.inherits(DelayedStream,a);DelayedStream.create=function(r,i){var s=new this;i=i||{};for(var a in i){s[a]=i[a]}s.source=r;var l=r.emit;r.emit=function(){s._handleEmit(arguments);return l.apply(r,arguments)};r.on("error",(function(){}));if(s.pauseStream){r.pause()}return s};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(r){this.emit.apply(this,r)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var r=a.prototype.pipe.apply(this,arguments);this.resume();return r};DelayedStream.prototype._handleEmit=function(r){if(this._released){this.emit.apply(this,r);return}if(r[0]==="data"){this.dataSize+=r[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(r)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new ErLine truncated var i;(function(r){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){r(s)}else{}}else{r(i={})}})((function(r){r.version="1.2.2";function signed_crc_table(){var r=0,s=new Array(256);for(var i=0;i!=256;++i){r=i;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;s[i]=r}return typeof Int32Array!=="undefined"?new Int32Array(s):s}var s=signed_crc_table();function slice_by_16_tables(r){var s=0,i=0,a=0,A=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)A[a]=r[a];for(a=0;a!=256;++a){i=r[a];for(s=256+a;s<4096;s+=256)i=A[s]=i>>>8^r[i&255]}var c=[];for(a=1;a!=16;++a)c[a-1]=typeof Int32Array!=="undefined"?A.subarray(a*256,a*256+256):A.slice(a*256,a*256+256);return c}var i=slice_by_16_tables(s);var a=i[0],A=i[1],c=i[2],l=i[3],d=i[4];var u=i[5],p=i[6],g=i[7],h=i[8],C=i[9];var B=i[10],y=i[11],I=i[12],Q=i[13],b=i[14];function crc32_bstr(r,i){var a=i^-1;for(var A=0,c=r.length;A<c;)a=a>>>8^s[(a^r.charCodeAt(A++))&255];return~a}function crc32_buf(r,i){var w=i^-1,S=r.length-15,v=0;for(;v<S;)w=b[r[v++]^w&255]^Q[r[v++]^w>>8&255]^I[r[v++]^w>>16&255]^y[r[v++]^w>>>24]^B[r[v++]]^C[r[v++]]^h[r[v++]]^g[r[v++]]^p[r[v++]]^u[r[v++]]^d[r[v++]]^l[r[v++]]^c[r[v++]]^A[r[v++]]^a[r[v++]]^s[r[v++]];S+=15;while(v<S)w=w>>>8^s[(w^r[v++])&255];return~w}function crc32_str(r,i){var a=i^-1;for(var A=0,c=r.length,l=0,d=0;A<c;){l=r.charCodeAt(A++);if(l<128){a=a>>>8^s[(a^l)&255]}else if(l<2048){a=a>>>8^s[(a^(192|l>>6&31))&255];a=a>>>8^s[(a^(128|l&63))&255]}else if(l>=55296&&l<57344){l=(l&1023)+64;d=r.charCodeAt(A++)&1023;a=a>>>8^s[(a^(240|l>>8&7))&255];a=a>>>8^s[(a^(128|l>>2&63))&255];a=a>>>8^s[(a^(128|d>>6&15|(l&3)<<4))&255];a=a>>>8^s[(a^(128|d&63))&255]}else{a=a>>>8^s[(a^(224|l>>12&15))&255];a=a>>>8^s[(a^(128|l>>6&63))&255];a=a>>>8^s[(a^(128|l&63))&255]}}return~a}r.table=s;r.bstr=crc32_bstr;r.buf=crc32_buf;r.str=crc32_str}))},94521:(r,s,i)=>{"use strict";const{Transform:a}=i(45193);const A=i(83201);class CRC32Stream extends a{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(r,s,i){if(r){this.checksum=A.buf(r,this.checksum)>>>0;this.rawSize+=r.length}i(null,r)}digest(r){const s=Buffer.allocUnsafe(4);s.writeUInt32BE(this.checksum>>>0,0);return r?s.toString(r):s}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}r.exports=CRC32Stream},92563:(r,s,i)=>{"use strict";const{DeflateRaw:a}=i(59796);const A=i(83201);class DeflateCRC32Stream extends a{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(r,s){if(r){this.compressedSize+=r.length}return super.push(r,s)}_transform(r,s,i){if(r){this.checksum=A.buf(r,this.checksum)>>>0;this.rawSize+=r.length}super._transform(r,s,i)}digest(r){const s=Buffer.allocUnsafe(4);s.writeUInt32BE(this.checksum>>>0,0);return r?s.toString(r):s}hex(){return this.digest("hex").toUpperCase()}size(r=false){if(r){return this.compressedSize}else{return this.rawSize}}}r.exports=DeflateCRC32Stream},5101:(r,s,i)=>{"use strict";r.exports={CRC32Stream:i(94521),DeflateCRC32Stream:i(92563)}},18611:(r,s,i)=>{var a=i(12781).Stream;var A=i(73837);r.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}A.inherits(DelayedStream,a);DelayedStream.create=function(r,s){var i=new this;s=s||{};for(var a in s){i[a]=s[a]}i.source=r;var A=r.emit;r.emit=function(){i._handleEmit(arguments);return A.apply(r,arguments)};r.on("error",(function(){}));if(i.pauseStream){r.pause()}return i};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(r){this.emit.apply(this,r)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var r=a.prototype.pipe.apply(this,arguments);this.resume();return r};DelayedStream.prototype._handleEmit=function(r){if(this._released){this.emit.apply(this,r);return}if(r[0]==="data"){this.dataSize+=r[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(r)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new ErLine truncated
/** /**
* @author Toru Nagashima <https://github.com/mysticatea> * @author Toru Nagashima <https://github.com/mysticatea>
* @copyright 2015 Toru Nagashima. All rights reserved. * @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license. * See LICENSE file in root directory for full license.
*/Object.defineProperty(i,"__esModule",{value:true});const s=new WeakMap;const a=new WeakMap;function pd(r){const i=s.get(r);console.assert(i!=null,"'this' is expected an Event object, but got",r);return i}function setCancelFlag(r){if(r.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",r.passiveListener)}return}if(!r.event.cancelable){return}r.canceled=true;if(typeof r.event.preventDefault==="function"){r.event.preventDefault()}}function Event(r,i){s.set(this,{eventTarget:r,event:i,eventPhase:2,currentTarget:r,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:i.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const a=Object.keys(i);for(let r=0;r<a.length;++r){const i=a[r];if(!(i in this)){Object.defineProperty(this,i,defineRedirectDescriptor(i))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const r=pd(this).currentTarget;if(r==null){return[]}return[r]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const r=pd(this);r.stopped=true;if(typeof r.event.stopPropagation==="function"){r.event.stopPropagation()}},stopImmediatePropagation(){const r=pd(this);r.stopped=true;r.immediateStopped=true;if(typeof r.event.stopImmediatePropagation==="function"){r.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(r){if(!r){return}const i=pd(this);i.stopped=true;if(typeof i.event.cancelBubble==="boolean"){i.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(r){if(!r){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);a.set(window.Event.prototype,Event)}function defineRedirectDescriptor(r){return{get(){return pd(this).event[r]},set(i){pd(this).event[r]=i},configurable:true,enumerable:true}}function defineCallDescriptor(r){return{value(){const i=pd(this).event;return i[r].apply(i,arguments)},configurable:true,enumerable:true}}function defineWrapper(r,i){const s=Object.keys(i);if(s.length===0){return r}function CustomEvent(i,s){r.call(this,i,s)}CustomEvent.prototype=Object.create(r.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let a=0;a<s.length;++a){const l=s[a];if(!(l in r.prototype)){const r=Object.getOwnPropertyDescriptor(i,l);const s=typeof r.value==="function";Object.defineProperty(CustomEvent.prototype,l,s?defineCallDescriptor(l):defineRedirectDescriptor(l))}}return CustomEvent}function getWrapper(r){if(r==null||r===Object.prototype){return Event}let i=a.get(r);if(i==null){i=defineWrapper(getWrapper(Object.getPrototypeOf(r)),r);a.set(r,i)}return i}function wrapEvent(r,i){const s=getWrapper(Object.getPrototypeOf(i));return new s(r,i)}function isStopped(r){return pd(r).immediateStopped}function setEventPhase(r,i){pd(r).eventPhase=i}function setCurrentTarget(r,i){pd(r).currentTarget=i}function setPassiveListener(r,i){pd(r).passiveListener=i}const l=new WeakMap;const c=1;const d=2;const p=3;function isObject(r){return r!==null&&typeof r==="object"}function getListeners(r){const i=l.get(r);if(i==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return i}function defineEventAttributeDescriptor(r){return{get(){const i=getListeners(this);let s=i.get(r);while(s!=null){if(s.listenerType===p){return s.listener}s=s.next}return null},set(i){if(typeof i!=="function"&&!isObject(i)){i=null}const s=getListeners(this);let a=null;let l=s.get(r);while(l!=null){if(l.listenerType===p){if(a!==null){a.next=l.next}else if(l.next!==null){s.set(r,l.next)}else{s.delete(r)}}else{a=l}l=l.next}if(i!==null){const l={listener:i,listenerType:p,passive:false,once:false,next:null};if(a===null){s.set(r,l)}else{a.next=l}}},configurable:true,enumerable:true}}function defineEventAttribute(r,i){Object.defineProperty(r,`on${i}`,defineEventAttributeDescriptor(i))}function defineCustomEventTarget(r){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let i=0;i<r.length;++i){Line truncated */Object.defineProperty(s,"__esModule",{value:true});const i=new WeakMap;const a=new WeakMap;function pd(r){const s=i.get(r);console.assert(s!=null,"'this' is expected an Event object, but got",r);return s}function setCancelFlag(r){if(r.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",r.passiveListener)}return}if(!r.event.cancelable){return}r.canceled=true;if(typeof r.event.preventDefault==="function"){r.event.preventDefault()}}function Event(r,s){i.set(this,{eventTarget:r,event:s,eventPhase:2,currentTarget:r,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:s.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const a=Object.keys(s);for(let r=0;r<a.length;++r){const s=a[r];if(!(s in this)){Object.defineProperty(this,s,defineRedirectDescriptor(s))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const r=pd(this).currentTarget;if(r==null){return[]}return[r]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const r=pd(this);r.stopped=true;if(typeof r.event.stopPropagation==="function"){r.event.stopPropagation()}},stopImmediatePropagation(){const r=pd(this);r.stopped=true;r.immediateStopped=true;if(typeof r.event.stopImmediatePropagation==="function"){r.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(r){if(!r){return}const s=pd(this);s.stopped=true;if(typeof s.event.cancelBubble==="boolean"){s.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(r){if(!r){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);a.set(window.Event.prototype,Event)}function defineRedirectDescriptor(r){return{get(){return pd(this).event[r]},set(s){pd(this).event[r]=s},configurable:true,enumerable:true}}function defineCallDescriptor(r){return{value(){const s=pd(this).event;return s[r].apply(s,arguments)},configurable:true,enumerable:true}}function defineWrapper(r,s){const i=Object.keys(s);if(i.length===0){return r}function CustomEvent(s,i){r.call(this,s,i)}CustomEvent.prototype=Object.create(r.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let a=0;a<i.length;++a){const A=i[a];if(!(A in r.prototype)){const r=Object.getOwnPropertyDescriptor(s,A);const i=typeof r.value==="function";Object.defineProperty(CustomEvent.prototype,A,i?defineCallDescriptor(A):defineRedirectDescriptor(A))}}return CustomEvent}function getWrapper(r){if(r==null||r===Object.prototype){return Event}let s=a.get(r);if(s==null){s=defineWrapper(getWrapper(Object.getPrototypeOf(r)),r);a.set(r,s)}return s}function wrapEvent(r,s){const i=getWrapper(Object.getPrototypeOf(s));return new i(r,s)}function isStopped(r){return pd(r).immediateStopped}function setEventPhase(r,s){pd(r).eventPhase=s}function setCurrentTarget(r,s){pd(r).currentTarget=s}function setPassiveListener(r,s){pd(r).passiveListener=s}const A=new WeakMap;const c=1;const l=2;const d=3;function isObject(r){return r!==null&&typeof r==="object"}function getListeners(r){const s=A.get(r);if(s==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return s}function defineEventAttributeDescriptor(r){return{get(){const s=getListeners(this);let i=s.get(r);while(i!=null){if(i.listenerType===d){return i.listener}i=i.next}return null},set(s){if(typeof s!=="function"&&!isObject(s)){s=null}const i=getListeners(this);let a=null;let A=i.get(r);while(A!=null){if(A.listenerType===d){if(a!==null){a.next=A.next}else if(A.next!==null){i.set(r,A.next)}else{i.delete(r)}}else{a=A}A=A.next}if(s!==null){const A={listener:s,listenerType:d,passive:false,once:false,next:null};if(a===null){i.set(r,A)}else{a.next=A}}},configurable:true,enumerable:true}}function defineEventAttribute(r,s){Object.defineProperty(r,`on${s}`,defineEventAttributeDescriptor(s))}function defineCustomEventTarget(r){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let s=0;s<r.length;++s){Line truncated
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(s){var a=true&&i;var l=true&&r&&r.exports==a&&r;var c=typeof global=="object"&&global;if(c.global===c||c.window===c){s=c}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var p=/[\x01-\x7F]/g;var u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var h=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var A={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated /*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(i){var a=true&&s;var A=true&&r&&r.exports==a&&r;var c=typeof global=="object"&&global;if(c.global===c||c.window===c){i=c}var l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var d=/[\x01-\x7F]/g;var u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var p=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var g={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated
/*! /*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object> * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
* *
* Copyright (c) 2014-2017, Jon Schlinkert. * Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License. * Released under the MIT License.
*/function isObject(r){return Object.prototype.toString.call(r)==="[object Object]"}function isPlainObject(r){var i,s;if(isObject(r)===false)return false;i=r.constructor;if(i===undefined)return true;s=i.prototype;if(isObject(s)===false)return false;if(s.hasOwnProperty("isPrototypeOf")===false){return false}return true}i.isPlainObject=isPlainObject},41554:r=>{"use strict";const isStream=r=>r!==null&&typeof r==="object"&&typeof r.pipe==="function";isStream.writable=r=>isStream(r)&&r.writable!==false&&typeof r._write==="function"&&typeof r._writableState==="object";isStream.readable=r=>isStream(r)&&r.readable!==false&&typeof r._read==="function"&&typeof r._readableState==="object";isStream.duplex=r=>isStream.writable(r)&&isStream.readable(r);isStream.transform=r=>isStream.duplex(r)&&typeof r._transform==="function";r.exports=isStream},20893:r=>{var i={}.toString;r.exports=Array.isArray||function(r){return i.call(r)=="[object Array]"}},21917:(r,i,s)=>{"use strict";var a=s(51161);var l=s(68866);function renamed(r,i){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. "+"Use yaml."+i+" instead, which is now safe by default.")}}r.exports.Type=s(6073);r.exports.Schema=s(21082);r.exports.FAILSAFE_SCHEMA=s(28562);r.exports.JSON_SCHEMA=s(1035);r.exports.CORE_SCHEMA=s(12011);r.exports.DEFAULT_SCHEMA=s(18759);r.exports.load=a.load;r.exports.loadAll=a.loadAll;r.exports.dump=l.dump;r.exports.YAMLException=s(68179);r.exports.types={binary:s(77900),float:s(42705),map:s(86150),null:s(20721),pairs:s(96860),set:s(79548),timestamp:s(99212),bool:s(64993),int:s(11615),merge:s(86104),omap:s(19046),seq:s(67283),str:s(23619)};r.exports.safeLoad=renamed("safeLoad","load");r.exports.safeLoadAll=renamed("safeLoadAll","loadAll");r.exports.safeDump=renamed("safeDump","dump")},26829:r=>{"use strict";function isNothing(r){return typeof r==="undefined"||r===null}function isObject(r){return typeof r==="object"&&r!==null}function toArray(r){if(Array.isArray(r))return r;else if(isNothing(r))return[];return[r]}function extend(r,i){var s,a,l,c;if(i){c=Object.keys(i);for(s=0,a=c.length;s<a;s+=1){l=c[s];r[l]=i[l]}}return r}function repeat(r,i){var s="",a;for(a=0;a<i;a+=1){s+=r}return s}function isNegativeZero(r){return r===0&&Number.NEGATIVE_INFINITY===1/r}r.exports.isNothing=isNothing;r.exports.isObject=isObject;r.exports.toArray=toArray;r.exports.repeat=repeat;r.exports.isNegativeZero=isNegativeZero;r.exports.extend=extend},68866:(r,i,s)=>{"use strict";var a=s(26829);var l=s(68179);var c=s(18759);var d=Object.prototype.toString;var p=Object.prototype.hasOwnProperty;var u=65279;var h=9;var A=10;var g=13;var y=32;var b=33;var v=34;var C=35;var w=37;var S=38;var B=39;var I=42;var x=44;var N=45;var R=58;var T=61;var _=62;var Q=63;var k=64;var D=91;var O=93;var P=96;var L=123;var M=124;var U=125;var q={};q[0]="\\0";q[7]="\\a";q[8]="\\b";q[9]="\\t";q[10]="\\n";q[11]="\\v";q[12]="\\f";q[13]="\\r";q[27]="\\e";q[34]='\\"';q[92]="\\\\";q[133]="\\N";q[160]="\\_";q[8232]="\\L";q[8233]="\\P";var z=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var j=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(r,i){var s,a,l,c,d,u,h;if(i===null)return{};s={};a=Object.keys(i);for(l=0,c=a.length;l<c;l+=1){d=a[l];u=String(i[d]);if(d.slice(0,2)==="!!"){d="tag:yaml.org,2002:"+d.slice(2)}h=r.compiledTypeMap["fallback"][d];if(h&&p.call(h.styleAliases,u)){u=h.styleAliases[u]}s[d]=u}return s}function encodeHex(r){var i,s,c;i=r.toString(16).toUpperCase();if(r<=255){s="x";c=2}else if(r<=65535){s="u";c=4}else if(r<=4294967295){s="U";c=8}else{throw new l("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+s+a.repeat("0",c-i.length)+i}var H=1,G=2;function State(r){this.schema=r["schema"]||c;this.indent=Math.max(1,r["indent"]||2);this.noArrayIndent=r["noArrayIndent"]||false;this.skipInvalid=r["skipInvalid"]||false;this.flowLevel=a.isNothing(r["flowLevel"])?-1:r["flowLevel"];this.styleMap=compileStyleMap(this.schema,r["styles"]||null);this.sortKeys=r["sortKeys"]||false;this.lineWidth=r["lineWidth"]||80;this.noRefs=r["noRefs"]||false;this.noCompatMode=r["noCompatMode"]||false;this.condenseFlow=r["condenseFlow"]||false;this.quotingType=r["quotingType"]==='"'?G:H;this.forceQuotes=r["forceQuotes"]||false;this.replacer=typeof r["replacer"]==="function"?r["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(r,i){var s=a.repeat(" ",i),l=0,c=-1,d="",p,u=r.length;while(l<u){c=r.indexOf("\n",l);if(c===-1){p=r.slice(l);l=u}else{p=r.slice(l,c+1);l=c+1}if(p.length&&p!=="\n")d+=s;d+=p}return d}function generateNextLine(r,i){return"\n"+a.repeat(" ",r.indent*i)}function testImplicitResolving(r,i){var s,a,l;for(s=0,a=r.implicitTypes.length;s<a;s+=1){l=r.implicitTypes[s];if(l.resolve(i)){return true}}return false}function isWhitespace(r){returLine truncated */function isObject(r){return Object.prototype.toString.call(r)==="[object Object]"}function isPlainObject(r){var s,i;if(isObject(r)===false)return false;s=r.constructor;if(s===undefined)return true;i=s.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}s.isPlainObject=isPlainObject},41554:r=>{"use strict";const isStream=r=>r!==null&&typeof r==="object"&&typeof r.pipe==="function";isStream.writable=r=>isStream(r)&&r.writable!==false&&typeof r._write==="function"&&typeof r._writableState==="object";isStream.readable=r=>isStream(r)&&r.readable!==false&&typeof r._read==="function"&&typeof r._readableState==="object";isStream.duplex=r=>isStream.writable(r)&&isStream.readable(r);isStream.transform=r=>isStream.duplex(r)&&typeof r._transform==="function";r.exports=isStream},20893:r=>{var s={}.toString;r.exports=Array.isArray||function(r){return s.call(r)=="[object Array]"}},21917:(r,s,i)=>{"use strict";var a=i(51161);var A=i(68866);function renamed(r,s){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. "+"Use yaml."+s+" instead, which is now safe by default.")}}r.exports.Type=i(6073);r.exports.Schema=i(21082);r.exports.FAILSAFE_SCHEMA=i(28562);r.exports.JSON_SCHEMA=i(1035);r.exports.CORE_SCHEMA=i(12011);r.exports.DEFAULT_SCHEMA=i(18759);r.exports.load=a.load;r.exports.loadAll=a.loadAll;r.exports.dump=A.dump;r.exports.YAMLException=i(68179);r.exports.types={binary:i(77900),float:i(42705),map:i(86150),null:i(20721),pairs:i(96860),set:i(79548),timestamp:i(99212),bool:i(64993),int:i(11615),merge:i(86104),omap:i(19046),seq:i(67283),str:i(23619)};r.exports.safeLoad=renamed("safeLoad","load");r.exports.safeLoadAll=renamed("safeLoadAll","loadAll");r.exports.safeDump=renamed("safeDump","dump")},26829:r=>{"use strict";function isNothing(r){return typeof r==="undefined"||r===null}function isObject(r){return typeof r==="object"&&r!==null}function toArray(r){if(Array.isArray(r))return r;else if(isNothing(r))return[];return[r]}function extend(r,s){var i,a,A,c;if(s){c=Object.keys(s);for(i=0,a=c.length;i<a;i+=1){A=c[i];r[A]=s[A]}}return r}function repeat(r,s){var i="",a;for(a=0;a<s;a+=1){i+=r}return i}function isNegativeZero(r){return r===0&&Number.NEGATIVE_INFINITY===1/r}r.exports.isNothing=isNothing;r.exports.isObject=isObject;r.exports.toArray=toArray;r.exports.repeat=repeat;r.exports.isNegativeZero=isNegativeZero;r.exports.extend=extend},68866:(r,s,i)=>{"use strict";var a=i(26829);var A=i(68179);var c=i(18759);var l=Object.prototype.toString;var d=Object.prototype.hasOwnProperty;var u=65279;var p=9;var g=10;var h=13;var C=32;var B=33;var y=34;var I=35;var Q=37;var b=38;var w=39;var S=42;var v=44;var R=45;var N=58;var D=61;var k=62;var x=63;var T=64;var L=91;var _=93;var O=96;var P=123;var M=124;var U=125;var G={};G[0]="\\0";G[7]="\\a";G[8]="\\b";G[9]="\\t";G[10]="\\n";G[11]="\\v";G[12]="\\f";G[13]="\\r";G[27]="\\e";G[34]='\\"';G[92]="\\\\";G[133]="\\N";G[160]="\\_";G[8232]="\\L";G[8233]="\\P";var H=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var q=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(r,s){var i,a,A,c,l,u,p;if(s===null)return{};i={};a=Object.keys(s);for(A=0,c=a.length;A<c;A+=1){l=a[A];u=String(s[l]);if(l.slice(0,2)==="!!"){l="tag:yaml.org,2002:"+l.slice(2)}p=r.compiledTypeMap["fallback"][l];if(p&&d.call(p.styleAliases,u)){u=p.styleAliases[u]}i[l]=u}return i}function encodeHex(r){var s,i,c;s=r.toString(16).toUpperCase();if(r<=255){i="x";c=2}else if(r<=65535){i="u";c=4}else if(r<=4294967295){i="U";c=8}else{throw new A("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+i+a.repeat("0",c-s.length)+s}var V=1,Y=2;function State(r){this.schema=r["schema"]||c;this.indent=Math.max(1,r["indent"]||2);this.noArrayIndent=r["noArrayIndent"]||false;this.skipInvalid=r["skipInvalid"]||false;this.flowLevel=a.isNothing(r["flowLevel"])?-1:r["flowLevel"];this.styleMap=compileStyleMap(this.schema,r["styles"]||null);this.sortKeys=r["sortKeys"]||false;this.lineWidth=r["lineWidth"]||80;this.noRefs=r["noRefs"]||false;this.noCompatMode=r["noCompatMode"]||false;this.condenseFlow=r["condenseFlow"]||false;this.quotingType=r["quotingType"]==='"'?Y:V;this.forceQuotes=r["forceQuotes"]||false;this.replacer=typeof r["replacer"]==="function"?r["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(r,s){var i=a.repeat(" ",s),A=0,c=-1,l="",d,u=r.length;while(A<u){c=r.indexOf("\n",A);if(c===-1){d=r.slice(A);A=u}else{d=r.slice(A,c+1);A=c+1}if(d.length&&d!=="\n")l+=i;l+=d}return l}function generateNextLine(r,s){return"\n"+a.repeat(" ",r.indent*s)}function testImplicitResolving(r,s){var i,a,A;for(i=0,a=r.implicitTypes.length;i<a;i+=1){A=r.implicitTypes[i];if(A.resolve(s)){return true}}return false}function isWhitespace(r){returLine truncated
/*! /*!
* mime-db * mime-db
* Copyright(c) 2014 Jonathan Ong * Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson * Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed * MIT Licensed
*/ */
r.exports=s(53765)},43583:(r,i,s)=>{"use strict"; r.exports=i(53765)},43583:(r,s,i)=>{"use strict";
/*! /*!
* mime-types * mime-types
* Copyright(c) 2014 Jonathan Ong * Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson * Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed * MIT Licensed
*/var a=s(47426);var l=s(71017).extname;var c=/^\s*([^;\s]*)(?:;|\s|$)/;var d=/^text\//i;i.charset=charset;i.charsets={lookup:charset};i.contentType=contentType;i.extension=extension;i.extensions=Object.create(null);i.lookup=lookup;i.types=Object.create(null);populateMaps(i.extensions,i.types);function charset(r){if(!r||typeof r!=="string"){return false}var i=c.exec(r);var s=i&&a[i[1].toLowerCase()];if(s&&s.charset){return s.charset}if(i&&d.test(i[1])){return"UTF-8"}return false}function contentType(r){if(!r||typeof r!=="string"){return false}var s=r.indexOf("/")===-1?i.lookup(r):r;if(!s){return false}if(s.indexOf("charset")===-1){var a=i.charset(s);if(a)s+="; charset="+a.toLowerCase()}return s}function extension(r){if(!r||typeof r!=="string"){return false}var s=c.exec(r);var a=s&&i.extensions[s[1].toLowerCase()];if(!a||!a.length){return false}return a[0]}function lookup(r){if(!r||typeof r!=="string"){return false}var s=l("x."+r).toLowerCase().substr(1);if(!s){return false}return i.types[s]||false}function populateMaps(r,i){var s=["nginx","apache",undefined,"iana"];Object.keys(a).forEach((function forEachMimeType(l){var c=a[l];var d=c.extensions;if(!d||!d.length){return}r[l]=d;for(var p=0;p<d.length;p++){var u=d[p];if(i[u]){var h=s.indexOf(a[i[u]].source);var A=s.indexOf(c.source);if(i[u]!=="application/octet-stream"&&(h>A||h===A&&i[u].substr(0,12)==="application/")){continue}}i[u]=l}}))}},83973:(r,i,s)=>{r.exports=minimatch;minimatch.Minimatch=Minimatch;var a=function(){try{return s(71017)}catch(r){}}()||{sep:"/"};minimatch.sep=a.sep;var l=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var c=s(48184);var d={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var p="[^/]";var u=p+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var A="(?:(?!(?:\\/|^)\\.).)*?";var g=charSet("().*{}+?[]^$\\!");function charSet(r){return r.split("").reduce((function(r,i){r[i]=true;return r}),{})}var y=/\/+/;minimatch.filter=filter;function filter(r,i){i=i||{};return function(s,a,l){return minimatch(s,r,i)}}function ext(r,i){i=i||{};var s={};Object.keys(r).forEach((function(i){s[i]=r[i]}));Object.keys(i).forEach((function(r){s[r]=i[r]}));return s}minimatch.defaults=function(r){if(!r||typeof r!=="object"||!Object.keys(r).length){return minimatch}var i=minimatch;var s=function minimatch(s,a,l){return i(s,a,ext(r,l))};s.Minimatch=function Minimatch(s,a){return new i.Minimatch(s,ext(r,a))};s.Minimatch.defaults=function defaults(s){return i.defaults(ext(r,s)).Minimatch};s.filter=function filter(s,a){return i.filter(s,ext(r,a))};s.defaults=function defaults(s){return i.defaults(ext(r,s))};s.makeRe=function makeRe(s,a){return i.makeRe(s,ext(r,a))};s.braceExpand=function braceExpand(s,a){return i.braceExpand(s,ext(r,a))};s.match=function(s,a,l){return i.match(s,a,ext(r,l))};return s};Minimatch.defaults=function(r){return minimatch.defaults(r).Minimatch};function minimatch(r,i,s){assertValidPattern(i);if(!s)s={};if(!s.nocomment&&i.charAt(0)==="#"){return false}return new Minimatch(i,s).match(r)}function Minimatch(r,i){if(!(this instanceof Minimatch)){return new Minimatch(r,i)}assertValidPattern(r);if(!i)i={};r=r.trim();if(!i.allowWindowsEscape&&a.sep!=="/"){r=r.split(a.sep).join("/")}this.options=i;this.set=[];this.pattern=r;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!i.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var r=this.pattern;var i=this.options;if(!i.nocomment&&r.charAt(0)==="#"){this.comment=true;return}if(!r){this.empty=true;return}this.parseNegate();var s=this.globSet=this.braceExpand();if(i.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,s);s=this.globParts=s.map((function(r){return r.split(y)}));this.debug(this.pattern,s);s=s.map((function(r,i,s){return r.map(this.parse,this)}),this);this.debug(this.pattern,s);s=s.filter((function(r){return r.indexOf(false)===-1}));this.debug(this.pattern,s);this.set=s}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var r=this.pattern;var i=false;var s=this.options;var a=0;if(s.nonegate)return;for(var l=0,c=r.length;l<c&&r.charAt(l)==="!";l++){i=!i;a++}if(a)this.pattern=r.substr(a);this.negate=i}minimatch.braceExpand=function(r,i){return braceExpand(r,i)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(r,i){if(!i){if(this instanceof Minimatch){i=this.options}else{i={}}}r=typeof r==="undefined"?this.pattern:r;assertValidPattern(r);if(i.nobrace||!/\{(?:(?!\{).)*\}/.test(r)){return[r]}return c(r)}var b=1024*64;var assertValidPattern=function(r){if(typeof r!=="string"){throw new TypeError("invalid pattern")}if(r.length>b){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var v={};function parse(r,i){assertValidPattern(r);var s=this.options;if(r==="**"){if(!s.noglobstar)return l;else r=Line truncated */var a=i(47426);var A=i(71017).extname;var c=/^\s*([^;\s]*)(?:;|\s|$)/;var l=/^text\//i;s.charset=charset;s.charsets={lookup:charset};s.contentType=contentType;s.extension=extension;s.extensions=Object.create(null);s.lookup=lookup;s.types=Object.create(null);populateMaps(s.extensions,s.types);function charset(r){if(!r||typeof r!=="string"){return false}var s=c.exec(r);var i=s&&a[s[1].toLowerCase()];if(i&&i.charset){return i.charset}if(s&&l.test(s[1])){return"UTF-8"}return false}function contentType(r){if(!r||typeof r!=="string"){return false}var i=r.indexOf("/")===-1?s.lookup(r):r;if(!i){return false}if(i.indexOf("charset")===-1){var a=s.charset(i);if(a)i+="; charset="+a.toLowerCase()}return i}function extension(r){if(!r||typeof r!=="string"){return false}var i=c.exec(r);var a=i&&s.extensions[i[1].toLowerCase()];if(!a||!a.length){return false}return a[0]}function lookup(r){if(!r||typeof r!=="string"){return false}var i=A("x."+r).toLowerCase().substr(1);if(!i){return false}return s.types[i]||false}function populateMaps(r,s){var i=["nginx","apache",undefined,"iana"];Object.keys(a).forEach((function forEachMimeType(A){var c=a[A];var l=c.extensions;if(!l||!l.length){return}r[A]=l;for(var d=0;d<l.length;d++){var u=l[d];if(s[u]){var p=i.indexOf(a[s[u]].source);var g=i.indexOf(c.source);if(s[u]!=="application/octet-stream"&&(p>g||p===g&&s[u].substr(0,12)==="application/")){continue}}s[u]=A}}))}},83973:(r,s,i)=>{r.exports=minimatch;minimatch.Minimatch=Minimatch;var a=function(){try{return i(71017)}catch(r){}}()||{sep:"/"};minimatch.sep=a.sep;var A=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var c=i(48184);var l={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var d="[^/]";var u=d+"*?";var p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var g="(?:(?!(?:\\/|^)\\.).)*?";var h=charSet("().*{}+?[]^$\\!");function charSet(r){return r.split("").reduce((function(r,s){r[s]=true;return r}),{})}var C=/\/+/;minimatch.filter=filter;function filter(r,s){s=s||{};return function(i,a,A){return minimatch(i,r,s)}}function ext(r,s){s=s||{};var i={};Object.keys(r).forEach((function(s){i[s]=r[s]}));Object.keys(s).forEach((function(r){i[r]=s[r]}));return i}minimatch.defaults=function(r){if(!r||typeof r!=="object"||!Object.keys(r).length){return minimatch}var s=minimatch;var i=function minimatch(i,a,A){return s(i,a,ext(r,A))};i.Minimatch=function Minimatch(i,a){return new s.Minimatch(i,ext(r,a))};i.Minimatch.defaults=function defaults(i){return s.defaults(ext(r,i)).Minimatch};i.filter=function filter(i,a){return s.filter(i,ext(r,a))};i.defaults=function defaults(i){return s.defaults(ext(r,i))};i.makeRe=function makeRe(i,a){return s.makeRe(i,ext(r,a))};i.braceExpand=function braceExpand(i,a){return s.braceExpand(i,ext(r,a))};i.match=function(i,a,A){return s.match(i,a,ext(r,A))};return i};Minimatch.defaults=function(r){return minimatch.defaults(r).Minimatch};function minimatch(r,s,i){assertValidPattern(s);if(!i)i={};if(!i.nocomment&&s.charAt(0)==="#"){return false}return new Minimatch(s,i).match(r)}function Minimatch(r,s){if(!(this instanceof Minimatch)){return new Minimatch(r,s)}assertValidPattern(r);if(!s)s={};r=r.trim();if(!s.allowWindowsEscape&&a.sep!=="/"){r=r.split(a.sep).join("/")}this.options=s;this.set=[];this.pattern=r;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!s.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var r=this.pattern;var s=this.options;if(!s.nocomment&&r.charAt(0)==="#"){this.comment=true;return}if(!r){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(s.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,i);i=this.globParts=i.map((function(r){return r.split(C)}));this.debug(this.pattern,i);i=i.map((function(r,s,i){return r.map(this.parse,this)}),this);this.debug(this.pattern,i);i=i.filter((function(r){return r.indexOf(false)===-1}));this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var r=this.pattern;var s=false;var i=this.options;var a=0;if(i.nonegate)return;for(var A=0,c=r.length;A<c&&r.charAt(A)==="!";A++){s=!s;a++}if(a)this.pattern=r.substr(a);this.negate=s}minimatch.braceExpand=function(r,s){return braceExpand(r,s)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(r,s){if(!s){if(this instanceof Minimatch){s=this.options}else{s={}}}r=typeof r==="undefined"?this.pattern:r;assertValidPattern(r);if(s.nobrace||!/\{(?:(?!\{).)*\}/.test(r)){return[r]}return c(r)}var B=1024*64;var assertValidPattern=function(r){if(typeof r!=="string"){throw new TypeError("invalid pattern")}if(r.length>B){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var y={};function parse(r,s){assertValidPattern(r);var i=this.options;if(r==="**"){if(!i.noglobstar)return A;else r=Line truncated
/*! /*!
* normalize-path <https://github.com/jonschlinkert/normalize-path> * normalize-path <https://github.com/jonschlinkert/normalize-path>
* *
* Copyright (c) 2014-2018, Jon Schlinkert. * Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License. * Released under the MIT License.
*/ */
r.exports=function(r,i){if(typeof r!=="string"){throw new TypeError("expected path to be a string")}if(r==="\\"||r==="/")return"/";var s=r.length;if(s<=1)return r;var a="";if(s>4&&r[3]==="\\"){var l=r[2];if((l==="?"||l===".")&&r.slice(0,2)==="\\\\"){r=r.slice(2);a="//"}}var c=r.split(/[/\\]+/);if(i!==false&&c[c.length-1]===""){c.pop()}return a+c.join("/")}},1223:(r,i,s)=>{var a=s(62940);r.exports=a(once);r.exports.strict=a(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(r){var f=function(){if(f.called)return f.value;f.called=true;return f.value=r.apply(this,arguments)};f.called=false;return f}function onceStrict(r){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=r.apply(this,arguments)};var i=r.name||"Function wrapped with `once`";f.onceError=i+" shouldn't be called more than once";f.called=false;return f}},47810:r=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){r.exports={nextTick:nextTick}}else{r.exports=process}function nextTick(r,i,s,a){if(typeof r!=="function"){throw new TypeError('"callback" argument must be a function')}var l=arguments.length;var c,d;switch(l){case 0:case 1:return process.nextTick(r);case 2:return process.nextTick((function afterTickOne(){r.call(null,i)}));case 3:return process.nextTick((function afterTickTwo(){r.call(null,i,s)}));case 4:return process.nextTick((function afterTickThree(){r.call(null,i,s,a)}));default:c=new Array(l-1);d=0;while(d<c.length){c[d++]=arguments[d]}return process.nextTick((function afterTick(){r.apply(null,c)}))}}},45676:r=>{r.exports=global.process},5322:(r,i,s)=>{r.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):s(71031)},71031:r=>{r.exports=typeof queueMicrotask==="function"?queueMicrotask:r=>Promise.resolve().then(r)},80289:(r,i,s)=>{"use strict";const{SymbolDispose:a}=s(89629);const{AbortError:l,codes:c}=s(80529);const{isNodeStream:d,isWebStream:p,kControllerErrorFunction:u}=s(27981);const h=s(76080);const{ERR_INVALID_ARG_TYPE:A}=c;let g;const validateAbortSignal=(r,i)=>{if(typeof r!=="object"||!("aborted"in r)){throw new A(i,"AbortSignal",r)}};r.exports.addAbortSignal=function addAbortSignal(i,s){validateAbortSignal(i,"signal");if(!d(s)&&!p(s)){throw new A("stream",["ReadableStream","WritableStream","Stream"],s)}return r.exports.addAbortSignalNoValidate(i,s)};r.exports.addAbortSignalNoValidate=function(r,i){if(typeof r!=="object"||!("aborted"in r)){return i}const c=d(i)?()=>{i.destroy(new l(undefined,{cause:r.reason}))}:()=>{i[u](new l(undefined,{cause:r.reason}))};if(r.aborted){c()}else{g=g||s(46959).addAbortListener;const l=g(r,c);h(i,l[a])}return i}},52746:(r,i,s)=>{"use strict";const{StringPrototypeSlice:a,SymbolIterator:l,TypedArrayPrototypeSet:c,Uint8Array:d}=s(89629);const{Buffer:p}=s(14300);const{inspect:u}=s(46959);r.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(r){const i={data:r,next:null};if(this.length>0)this.tail.next=i;else this.head=i;this.tail=i;++this.length}unshift(r){const i={data:r,next:this.head};if(this.length===0)this.tail=i;this.head=i;++this.length}shift(){if(this.length===0)return;const r=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return r}clear(){this.head=this.tail=null;this.length=0}join(r){if(this.length===0)return"";let i=this.head;let s=""+i.data;while((i=i.next)!==null)s+=r+i.data;return s}concat(r){if(this.length===0)return p.alloc(0);const i=p.allocUnsafe(r>>>0);let s=this.head;let a=0;while(s){c(i,s.data,a);a+=s.data.length;s=s.next}return i}consume(r,i){const s=this.head.data;if(r<s.length){const i=s.slice(0,r);this.head.data=s.slice(r);return i}if(r===s.length){return this.shift()}return i?this._getString(r):this._getBuffer(r)}first(){return this.head.data}*[l](){for(let r=this.head;r;r=r.next){yield r.data}}_getString(r){let i="";let s=this.head;let l=0;do{const c=s.data;if(r>c.length){i+=c;r-=c.length}else{if(r===c.length){i+=c;++l;if(s.next)this.head=s.next;else this.head=this.tail=null}else{i+=a(c,0,r);this.head=s;s.data=a(c,r)}break}++l}while((s=s.next)!==null);this.length-=l;return i}_getBuffer(r){const i=p.allocUnsafe(r);const s=r;let a=this.head;let l=0;do{const p=a.data;if(r>p.length){c(i,p,s-r);r-=p.length}else{if(r===p.length){c(i,p,s-r);++l;if(a.next)this.head=a.next;else this.head=this.tail=null}else{c(i,new d(p.buffer,p.byteOffset,r),s-r);this.head=a;a.data=p.slice(r)}break}++l}while((a=a.next)!==null);this.length-=l;return i}[Symbol.for("nodejs.util.inspect.custom")](r,i){return u(this,{...i,depth:0,customInspect:false})}}},63129:(r,i,s)=>{"use stricLine truncated r.exports=function(r,s){if(typeof r!=="string"){throw new TypeError("expected path to be a string")}if(r==="\\"||r==="/")return"/";var i=r.length;if(i<=1)return r;var a="";if(i>4&&r[3]==="\\"){var A=r[2];if((A==="?"||A===".")&&r.slice(0,2)==="\\\\"){r=r.slice(2);a="//"}}var c=r.split(/[/\\]+/);if(s!==false&&c[c.length-1]===""){c.pop()}return a+c.join("/")}},1223:(r,s,i)=>{var a=i(62940);r.exports=a(once);r.exports.strict=a(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(r){var f=function(){if(f.called)return f.value;f.called=true;return f.value=r.apply(this,arguments)};f.called=false;return f}function onceStrict(r){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=r.apply(this,arguments)};var s=r.name||"Function wrapped with `once`";f.onceError=s+" shouldn't be called more than once";f.called=false;return f}},47810:r=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){r.exports={nextTick:nextTick}}else{r.exports=process}function nextTick(r,s,i,a){if(typeof r!=="function"){throw new TypeError('"callback" argument must be a function')}var A=arguments.length;var c,l;switch(A){case 0:case 1:return process.nextTick(r);case 2:return process.nextTick((function afterTickOne(){r.call(null,s)}));case 3:return process.nextTick((function afterTickTwo(){r.call(null,s,i)}));case 4:return process.nextTick((function afterTickThree(){r.call(null,s,i,a)}));default:c=new Array(A-1);l=0;while(l<c.length){c[l++]=arguments[l]}return process.nextTick((function afterTick(){r.apply(null,c)}))}}},45676:r=>{r.exports=global.process},5322:(r,s,i)=>{r.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):i(71031)},71031:r=>{r.exports=typeof queueMicrotask==="function"?queueMicrotask:r=>Promise.resolve().then(r)},80289:(r,s,i)=>{"use strict";const{SymbolDispose:a}=i(89629);const{AbortError:A,codes:c}=i(80529);const{isNodeStream:l,isWebStream:d,kControllerErrorFunction:u}=i(27981);const p=i(76080);const{ERR_INVALID_ARG_TYPE:g}=c;let h;const validateAbortSignal=(r,s)=>{if(typeof r!=="object"||!("aborted"in r)){throw new g(s,"AbortSignal",r)}};r.exports.addAbortSignal=function addAbortSignal(s,i){validateAbortSignal(s,"signal");if(!l(i)&&!d(i)){throw new g("stream",["ReadableStream","WritableStream","Stream"],i)}return r.exports.addAbortSignalNoValidate(s,i)};r.exports.addAbortSignalNoValidate=function(r,s){if(typeof r!=="object"||!("aborted"in r)){return s}const c=l(s)?()=>{s.destroy(new A(undefined,{cause:r.reason}))}:()=>{s[u](new A(undefined,{cause:r.reason}))};if(r.aborted){c()}else{h=h||i(46959).addAbortListener;const A=h(r,c);p(s,A[a])}return s}},52746:(r,s,i)=>{"use strict";const{StringPrototypeSlice:a,SymbolIterator:A,TypedArrayPrototypeSet:c,Uint8Array:l}=i(89629);const{Buffer:d}=i(14300);const{inspect:u}=i(46959);r.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(r){const s={data:r,next:null};if(this.length>0)this.tail.next=s;else this.head=s;this.tail=s;++this.length}unshift(r){const s={data:r,next:this.head};if(this.length===0)this.tail=s;this.head=s;++this.length}shift(){if(this.length===0)return;const r=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return r}clear(){this.head=this.tail=null;this.length=0}join(r){if(this.length===0)return"";let s=this.head;let i=""+s.data;while((s=s.next)!==null)i+=r+s.data;return i}concat(r){if(this.length===0)return d.alloc(0);const s=d.allocUnsafe(r>>>0);let i=this.head;let a=0;while(i){c(s,i.data,a);a+=i.data.length;i=i.next}return s}consume(r,s){const i=this.head.data;if(r<i.length){const s=i.slice(0,r);this.head.data=i.slice(r);return s}if(r===i.length){return this.shift()}return s?this._getString(r):this._getBuffer(r)}first(){return this.head.data}*[A](){for(let r=this.head;r;r=r.next){yield r.data}}_getString(r){let s="";let i=this.head;let A=0;do{const c=i.data;if(r>c.length){s+=c;r-=c.length}else{if(r===c.length){s+=c;++A;if(i.next)this.head=i.next;else this.head=this.tail=null}else{s+=a(c,0,r);this.head=i;i.data=a(c,r)}break}++A}while((i=i.next)!==null);this.length-=A;return s}_getBuffer(r){const s=d.allocUnsafe(r);const i=r;let a=this.head;let A=0;do{const d=a.data;if(r>d.length){c(s,d,i-r);r-=d.length}else{if(r===d.length){c(s,d,i-r);++A;if(a.next)this.head=a.next;else this.head=this.tail=null}else{c(s,new l(d.buffer,d.byteOffset,r),i-r);this.head=a;a.data=d.slice(r)}break}++A}while((a=a.next)!==null);this.length-=A;return s}[Symbol.for("nodejs.util.inspect.custom")](r,s){return u(this,{...s,depth:0,customInspect:false})}}},63129:(r,s,i)=>{"use stricLine truncated
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var r=String.fromCharCode;var i=Math.floor;var fromCodePoint=function(){var s=16384;var a=[];var l;var c;var d=-1;var p=arguments.length;if(!p){return""}var u="";while(++d<p){var h=Number(arguments[d]);if(!isFinite(h)||h<0||h>1114111||i(h)!==h){throw RangeError("Invalid code point: "+h)}if(h<=65535){a.push(h)}else{h-=65536;l=(h>>10)+55296;c=h%1024+56320;a.push(l,c)}if(d+1===p||a.length>s){u+=r.apply(null,a);a.length=0}}return u};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:i)},85911:(r,i)=>{i=r.exports=SemVer;var s;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){s=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER");console.log.apply(console,r)}}else{s=function(){}}i.SEMVER_SPEC_VERSION="2.0.0";var a=256;var l=Number.MAX_SAFE_INTEGER||9007199254740991;var c=16;var d=a-6;var p=i.re=[];var u=i.safeRe=[];var h=i.src=[];var A=i.tokens={};var g=0;function tok(r){A[r]=g++}var y="[a-zA-Z0-9-]";var b=[["\\s",1],["\\d",a],[y,d]];function makeSafeRe(r){for(var i=0;i<b.length;i++){var s=b[i][0];var a=b[i][1];r=r.split(s+"*").join(s+"{0,"+a+"}").split(s+"+").join(s+"{1,"+a+"}")}return r}tok("NUMERICIDENTIFIER");h[A.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");h[A.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");h[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+y+"*";tok("MAINVERSION");h[A.MAINVERSION]="("+h[A.NUMERICIDENTIFIER]+")\\."+"("+h[A.NUMERICIDENTIFIER]+")\\."+"("+h[A.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");h[A.MAINVERSIONLOOSE]="("+h[A.NUMERICIDENTIFIERLOOSE]+")\\."+"("+h[A.NUMERICIDENTIFIERLOOSE]+")\\."+"("+h[A.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");h[A.PRERELEASEIDENTIFIER]="(?:"+h[A.NUMERICIDENTIFIER]+"|"+h[A.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");h[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+h[A.NUMERICIDENTIFIERLOOSE]+"|"+h[A.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");h[A.PRERELEASE]="(?:-("+h[A.PRERELEASEIDENTIFIER]+"(?:\\."+h[A.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");h[A.PRERELEASELOOSE]="(?:-?("+h[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+h[A.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");h[A.BUILDIDENTIFIER]=y+"+";tok("BUILD");h[A.BUILD]="(?:\\+("+h[A.BUILDIDENTIFIER]+"(?:\\."+h[A.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");h[A.FULLPLAIN]="v?"+h[A.MAINVERSION]+h[A.PRERELEASE]+"?"+h[A.BUILD]+"?";h[A.FULL]="^"+h[A.FULLPLAIN]+"$";tok("LOOSEPLAIN");h[A.LOOSEPLAIN]="[v=\\s]*"+h[A.MAINVERSIONLOOSE]+h[A.PRERELEASELOOSE]+"?"+h[A.BUILD]+"?";tok("LOOSE");h[A.LOOSE]="^"+h[A.LOOSEPLAIN]+"$";tok("GTLT");h[A.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");h[A.XRANGEIDENTIFIERLOOSE]=h[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");h[A.XRANGEIDENTIFIER]=h[A.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");h[A.XRANGEPLAIN]="[v=\\s]*("+h[A.XRANGEIDENTIFIER]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIER]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIER]+")"+"(?:"+h[A.PRERELEASE]+")?"+h[A.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");h[A.XRANGEPLAINLOOSE]="[v=\\s]*("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+h[A.PRERELEASELOOSE]+")?"+h[A.BUILD]+"?"+")?)?";tok("XRANGE");h[A.XRANGE]="^"+h[A.GTLT]+"\\s*"+h[A.XRANGEPLAIN]+"$";tok("XRANGELOOSE");h[A.XRANGELOOSE]="^"+h[A.GTLT]+"\\s*"+h[A.XRANGEPLAINLOOSE]+"$";tok("COERCE");h[A.COERCE]="(^|[^\\d])"+"(\\d{1,"+c+"})"+"(?:\\.(\\d{1,"+c+"}))?"+"(?:\\.(\\d{1,"+c+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");p[A.COERCERTL]=new RegExp(h[A.COERCE],"g");u[A.COERCERTL]=new RegExp(makeSafeRe(h[A.COERCE]),"g");tok("LONETILDE");h[A.LONETILDE]="(?:~>?)";tok("TILDETRIM");h[A.TILDETRIM]="(\\s*)"+h[A.LONETILDE]+"\\s+";p[A.TILDETRIM]=new RegExp(h[A.TILDETRIM],"g");u[A.TILDETRIM]=new RegExp(makeSafeRe(h[A.TILDETRIM]),"g");var v="$1~";tok("TILDE");h[A.TILDE]="^"+h[A.LONETILDE]+h[A.XRANGEPLAIN]+"$";tok("TILDELOOSE");h[A.TILDELOOSE]="^"+h[A.LONETILDE]+h[A.XRANGEPLAINLOOSE]+"$";tok("LONECARET");h[A.LONECARET]="(?:\\^)";tok("CARETTRIM");h[A.CARETTRIM]="(\\s*)"+h[A.LONECARET]+"\\s+";p[A.CARETTRIM]=new RegExp(h[A.CARETTRIM],"g");u[A.CARETTRIM]=new RegExp(makeSafeRe(h[A.CARETTRIM]),"g");var C="$1^";tok("CARET");h[A.CARET]="^"+h[A.LONECARET]+h[A.XRANGEPLAIN]+"$";tok("CARETLOOSE");h[A.CARETLOOSE]="^"+h[A.LONECARET]+h[A.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");h[A.COMPARATORLOOSE]="^"+h[A.GTLT]+"\\s*("+h[A.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");h[A.COMPARATOR]="^"+h[A.GTLT]+"\\s*("+h[A.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");h[A.COMPARATORTRIM]="(\\s*)"+h[A.GTLT]+"\\s*("+h[A.LOOSEPLAIN]+"|"+h[A.XRANGEPLAIN]+")";p[A.COMPARATORTRIM]=new RegExp(h[A.COMPARATORTRIM],"g");u[A.COMPARATORTRIM]=new RegExp(makeSafeRe(h[A.COMPARATORTRIM]),"g");var w="$1$2$3";tok("HYLine truncated /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var r=String.fromCharCode;var s=Math.floor;var fromCodePoint=function(){var i=16384;var a=[];var A;var c;var l=-1;var d=arguments.length;if(!d){return""}var u="";while(++l<d){var p=Number(arguments[l]);if(!isFinite(p)||p<0||p>1114111||s(p)!==p){throw RangeError("Invalid code point: "+p)}if(p<=65535){a.push(p)}else{p-=65536;A=(p>>10)+55296;c=p%1024+56320;a.push(A,c)}if(l+1===d||a.length>i){u+=r.apply(null,a);a.length=0}}return u};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:s)},85911:(r,s)=>{s=r.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER");console.log.apply(console,r)}}else{i=function(){}}s.SEMVER_SPEC_VERSION="2.0.0";var a=256;var A=Number.MAX_SAFE_INTEGER||9007199254740991;var c=16;var l=a-6;var d=s.re=[];var u=s.safeRe=[];var p=s.src=[];var g=s.tokens={};var h=0;function tok(r){g[r]=h++}var C="[a-zA-Z0-9-]";var B=[["\\s",1],["\\d",a],[C,l]];function makeSafeRe(r){for(var s=0;s<B.length;s++){var i=B[s][0];var a=B[s][1];r=r.split(i+"*").join(i+"{0,"+a+"}").split(i+"+").join(i+"{1,"+a+"}")}return r}tok("NUMERICIDENTIFIER");p[g.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");p[g.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");p[g.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+C+"*";tok("MAINVERSION");p[g.MAINVERSION]="("+p[g.NUMERICIDENTIFIER]+")\\."+"("+p[g.NUMERICIDENTIFIER]+")\\."+"("+p[g.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");p[g.MAINVERSIONLOOSE]="("+p[g.NUMERICIDENTIFIERLOOSE]+")\\."+"("+p[g.NUMERICIDENTIFIERLOOSE]+")\\."+"("+p[g.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");p[g.PRERELEASEIDENTIFIER]="(?:"+p[g.NUMERICIDENTIFIER]+"|"+p[g.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");p[g.PRERELEASEIDENTIFIERLOOSE]="(?:"+p[g.NUMERICIDENTIFIERLOOSE]+"|"+p[g.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");p[g.PRERELEASE]="(?:-("+p[g.PRERELEASEIDENTIFIER]+"(?:\\."+p[g.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");p[g.PRERELEASELOOSE]="(?:-?("+p[g.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+p[g.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");p[g.BUILDIDENTIFIER]=C+"+";tok("BUILD");p[g.BUILD]="(?:\\+("+p[g.BUILDIDENTIFIER]+"(?:\\."+p[g.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");p[g.FULLPLAIN]="v?"+p[g.MAINVERSION]+p[g.PRERELEASE]+"?"+p[g.BUILD]+"?";p[g.FULL]="^"+p[g.FULLPLAIN]+"$";tok("LOOSEPLAIN");p[g.LOOSEPLAIN]="[v=\\s]*"+p[g.MAINVERSIONLOOSE]+p[g.PRERELEASELOOSE]+"?"+p[g.BUILD]+"?";tok("LOOSE");p[g.LOOSE]="^"+p[g.LOOSEPLAIN]+"$";tok("GTLT");p[g.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");p[g.XRANGEIDENTIFIERLOOSE]=p[g.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");p[g.XRANGEIDENTIFIER]=p[g.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");p[g.XRANGEPLAIN]="[v=\\s]*("+p[g.XRANGEIDENTIFIER]+")"+"(?:\\.("+p[g.XRANGEIDENTIFIER]+")"+"(?:\\.("+p[g.XRANGEIDENTIFIER]+")"+"(?:"+p[g.PRERELEASE]+")?"+p[g.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");p[g.XRANGEPLAINLOOSE]="[v=\\s]*("+p[g.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+p[g.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+p[g.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+p[g.PRERELEASELOOSE]+")?"+p[g.BUILD]+"?"+")?)?";tok("XRANGE");p[g.XRANGE]="^"+p[g.GTLT]+"\\s*"+p[g.XRANGEPLAIN]+"$";tok("XRANGELOOSE");p[g.XRANGELOOSE]="^"+p[g.GTLT]+"\\s*"+p[g.XRANGEPLAINLOOSE]+"$";tok("COERCE");p[g.COERCE]="(^|[^\\d])"+"(\\d{1,"+c+"})"+"(?:\\.(\\d{1,"+c+"}))?"+"(?:\\.(\\d{1,"+c+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");d[g.COERCERTL]=new RegExp(p[g.COERCE],"g");u[g.COERCERTL]=new RegExp(makeSafeRe(p[g.COERCE]),"g");tok("LONETILDE");p[g.LONETILDE]="(?:~>?)";tok("TILDETRIM");p[g.TILDETRIM]="(\\s*)"+p[g.LONETILDE]+"\\s+";d[g.TILDETRIM]=new RegExp(p[g.TILDETRIM],"g");u[g.TILDETRIM]=new RegExp(makeSafeRe(p[g.TILDETRIM]),"g");var y="$1~";tok("TILDE");p[g.TILDE]="^"+p[g.LONETILDE]+p[g.XRANGEPLAIN]+"$";tok("TILDELOOSE");p[g.TILDELOOSE]="^"+p[g.LONETILDE]+p[g.XRANGEPLAINLOOSE]+"$";tok("LONECARET");p[g.LONECARET]="(?:\\^)";tok("CARETTRIM");p[g.CARETTRIM]="(\\s*)"+p[g.LONECARET]+"\\s+";d[g.CARETTRIM]=new RegExp(p[g.CARETTRIM],"g");u[g.CARETTRIM]=new RegExp(makeSafeRe(p[g.CARETTRIM]),"g");var I="$1^";tok("CARET");p[g.CARET]="^"+p[g.LONECARET]+p[g.XRANGEPLAIN]+"$";tok("CARETLOOSE");p[g.CARETLOOSE]="^"+p[g.LONECARET]+p[g.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");p[g.COMPARATORLOOSE]="^"+p[g.GTLT]+"\\s*("+p[g.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");p[g.COMPARATOR]="^"+p[g.GTLT]+"\\s*("+p[g.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");p[g.COMPARATORTRIM]="(\\s*)"+p[g.GTLT]+"\\s*("+p[g.LOOSEPLAIN]+"|"+p[g.XRANGEPLAIN]+")";d[g.COMPARATORTRIM]=new RegExp(p[g.COMPARATORTRIM],"g");u[g.COMPARATORTRIM]=new RegExp(makeSafeRe(p[g.COMPARATORTRIM]),"g");var Q="$1$2$3";tok("HYLine truncated
/*! /*!
* Tmp * Tmp
* *
@@ -89,9 +93,9 @@ r.exports=function(r,i){if(typeof r!=="string"){throw new TypeError("expected pa
* *
* MIT Licensed * MIT Licensed
*/ */
const a=s(57147);const l=s(22037);const c=s(71017);const d=s(6113);const p={fs:a.constants,os:l.constants};const u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",h=/XXXXXX/,A=3,g=(p.O_CREAT||p.fs.O_CREAT)|(p.O_EXCL||p.fs.O_EXCL)|(p.O_RDWR||p.fs.O_RDWR),y=l.platform()==="win32",b=p.EBADF||p.os.errno.EBADF,v=p.ENOENT||p.os.errno.ENOENT,C=448,w=384,S="exit",B=[],I=a.rmdirSync.bind(a);let x=false;function rimraf(r,i){return a.rm(r,{recursive:true},i)}function FN_RIMRAF_SYNC(r){return a.rmSync(r,{recursive:true})}function tmpName(r,i){const s=_parseArguments(r,i),l=s[0],c=s[1];try{_assertAndSanitizeOptions(l)}catch(r){return c(r)}let d=l.tries;(function _getUniqueName(){try{const r=_generateTmpName(l);a.stat(r,(function(i){if(!i){if(d-- >0)return _getUniqueName();return c(new Error("Could not get a unique tmp filename, max tries reached "+r))}c(null,r)}))}catch(r){c(r)}})()}function tmpNameSync(r){const i=_parseArguments(r),s=i[0];_assertAndSanitizeOptions(s);let l=s.tries;do{const r=_generateTmpName(s);try{a.statSync(r)}catch(i){return r}}while(l-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(r,i){const s=_parseArguments(r,i),l=s[0],c=s[1];tmpName(l,(function _tmpNameCreated(r,i){if(r)return c(r);a.open(i,g,l.mode||w,(function _fileCreated(r,s){if(r)return c(r);if(l.discardDescriptor){return a.close(s,(function _discardCallback(r){return c(r,i,undefined,_prepareTmpFileRemoveCallback(i,-1,l,false))}))}else{const r=l.discardDescriptor||l.detachDescriptor;c(null,i,s,_prepareTmpFileRemoveCallback(i,r?-1:s,l,false))}}))}))}function fileSync(r){const i=_parseArguments(r),s=i[0];const l=s.discardDescriptor||s.detachDescriptor;const c=tmpNameSync(s);var d=a.openSync(c,g,s.mode||w);if(s.discardDescriptor){a.closeSync(d);d=undefined}return{name:c,fd:d,removeCallback:_prepareTmpFileRemoveCallback(c,l?-1:d,s,true)}}function dir(r,i){const s=_parseArguments(r,i),l=s[0],c=s[1];tmpName(l,(function _tmpNameCreated(r,i){if(r)return c(r);a.mkdir(i,l.mode||C,(function _dirCreated(r){if(r)return c(r);c(null,i,_prepareTmpDirRemoveCallback(i,l,false))}))}))}function dirSync(r){const i=_parseArguments(r),s=i[0];const l=tmpNameSync(s);a.mkdirSync(l,s.mode||C);return{name:l,removeCallback:_prepareTmpDirRemoveCallback(l,s,true)}}function _removeFileAsync(r,i){const _handler=function(r){if(r&&!_isENOENT(r)){return i(r)}i()};if(0<=r[0])a.close(r[0],(function(){a.unlink(r[1],_handler)}));else a.unlink(r[1],_handler)}function _removeFileSync(r){let i=null;try{if(0<=r[0])a.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throw r}finally{try{a.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))i=r}}if(i!==null){throw i}}function _prepareTmpFileRemoveCallback(r,i,s,a){const l=_prepareRemoveCallback(_removeFileSync,[i,r],a);const c=_prepareRemoveCallback(_removeFileAsync,[i,r],a,l);if(!s.keep)B.unshift(l);return a?l:c}function _prepareTmpDirRemoveCallback(r,i,s){const l=i.unsafeCleanup?rimraf:a.rmdir.bind(a);const c=i.unsafeCleanup?FN_RIMRAF_SYNC:I;const d=_prepareRemoveCallback(c,r,s);const p=_prepareRemoveCallback(l,r,s,d);if(!i.keep)B.unshift(d);return s?d:p}function _prepareRemoveCallback(r,i,s,a){let l=false;return function _cleanupCallback(c){if(!l){const d=a||_cleanupCallback;const p=B.indexOf(d);if(p>=0)B.splice(p,1);l=true;if(s||r===I||r===FN_RIMRAF_SYNC){return r(i)}else{return r(i,c||function(){})}}}}function _garbageCollector(){if(!x)return;while(B.length){try{B[0]()}catch(r){}}}function _randomChars(r){let i=[],s=null;try{s=d.randomBytes(r)}catch(i){s=d.pseudoRandomBytes(r)}for(var a=0;a<r;a++){i.push(u[s[a]%u.length])}return i.join("")}function _isBlank(r){return r===null||_isUndefined(r)||!r.trim()}function _isUndefined(r){return typeof r==="undefined"}function _parseArguments(r,i){if(typeof r==="function"){return[{},r]}if(_isUndefined(r)){return[{},i]}const s={};for(const i of Object.getOwnPropertyNames(r)){s[i]=r[i]}return[s,i]}function _generateTmpName(r){const i=r.tmpdir;if(!_isUndefined(r.name))return c.join(i,r.dir,r.name);if(!_isUndefined(r.template))return c.join(i,r.dir,r.template).replace(h,_randomChars(6));const s=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");return c.join(i,r.dir,s)}function _assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);const i=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",i);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",i);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",i);if(!r.template.match(h))throw new Error(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)throw new Error(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||A:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":c.relative(i,_resolvePath(r.dir,i));r.template=_isUndefined(r.template)Line truncated const a=i(57147);const A=i(22037);const c=i(71017);const l=i(6113);const d={fs:a.constants,os:A.constants};const u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",p=/XXXXXX/,g=3,h=(d.O_CREAT||d.fs.O_CREAT)|(d.O_EXCL||d.fs.O_EXCL)|(d.O_RDWR||d.fs.O_RDWR),C=A.platform()==="win32",B=d.EBADF||d.os.errno.EBADF,y=d.ENOENT||d.os.errno.ENOENT,I=448,Q=384,b="exit",w=[],S=a.rmdirSync.bind(a);let v=false;function rimraf(r,s){return a.rm(r,{recursive:true},s)}function FN_RIMRAF_SYNC(r){return a.rmSync(r,{recursive:true})}function tmpName(r,s){const i=_parseArguments(r,s),A=i[0],c=i[1];try{_assertAndSanitizeOptions(A)}catch(r){return c(r)}let l=A.tries;(function _getUniqueName(){try{const r=_generateTmpName(A);a.stat(r,(function(s){if(!s){if(l-- >0)return _getUniqueName();return c(new Error("Could not get a unique tmp filename, max tries reached "+r))}c(null,r)}))}catch(r){c(r)}})()}function tmpNameSync(r){const s=_parseArguments(r),i=s[0];_assertAndSanitizeOptions(i);let A=i.tries;do{const r=_generateTmpName(i);try{a.statSync(r)}catch(s){return r}}while(A-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(r,s){const i=_parseArguments(r,s),A=i[0],c=i[1];tmpName(A,(function _tmpNameCreated(r,s){if(r)return c(r);a.open(s,h,A.mode||Q,(function _fileCreated(r,i){if(r)return c(r);if(A.discardDescriptor){return a.close(i,(function _discardCallback(r){return c(r,s,undefined,_prepareTmpFileRemoveCallback(s,-1,A,false))}))}else{const r=A.discardDescriptor||A.detachDescriptor;c(null,s,i,_prepareTmpFileRemoveCallback(s,r?-1:i,A,false))}}))}))}function fileSync(r){const s=_parseArguments(r),i=s[0];const A=i.discardDescriptor||i.detachDescriptor;const c=tmpNameSync(i);var l=a.openSync(c,h,i.mode||Q);if(i.discardDescriptor){a.closeSync(l);l=undefined}return{name:c,fd:l,removeCallback:_prepareTmpFileRemoveCallback(c,A?-1:l,i,true)}}function dir(r,s){const i=_parseArguments(r,s),A=i[0],c=i[1];tmpName(A,(function _tmpNameCreated(r,s){if(r)return c(r);a.mkdir(s,A.mode||I,(function _dirCreated(r){if(r)return c(r);c(null,s,_prepareTmpDirRemoveCallback(s,A,false))}))}))}function dirSync(r){const s=_parseArguments(r),i=s[0];const A=tmpNameSync(i);a.mkdirSync(A,i.mode||I);return{name:A,removeCallback:_prepareTmpDirRemoveCallback(A,i,true)}}function _removeFileAsync(r,s){const _handler=function(r){if(r&&!_isENOENT(r)){return s(r)}s()};if(0<=r[0])a.close(r[0],(function(){a.unlink(r[1],_handler)}));else a.unlink(r[1],_handler)}function _removeFileSync(r){let s=null;try{if(0<=r[0])a.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throw r}finally{try{a.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))s=r}}if(s!==null){throw s}}function _prepareTmpFileRemoveCallback(r,s,i,a){const A=_prepareRemoveCallback(_removeFileSync,[s,r],a);const c=_prepareRemoveCallback(_removeFileAsync,[s,r],a,A);if(!i.keep)w.unshift(A);return a?A:c}function _prepareTmpDirRemoveCallback(r,s,i){const A=s.unsafeCleanup?rimraf:a.rmdir.bind(a);const c=s.unsafeCleanup?FN_RIMRAF_SYNC:S;const l=_prepareRemoveCallback(c,r,i);const d=_prepareRemoveCallback(A,r,i,l);if(!s.keep)w.unshift(l);return i?l:d}function _prepareRemoveCallback(r,s,i,a){let A=false;return function _cleanupCallback(c){if(!A){const l=a||_cleanupCallback;const d=w.indexOf(l);if(d>=0)w.splice(d,1);A=true;if(i||r===S||r===FN_RIMRAF_SYNC){return r(s)}else{return r(s,c||function(){})}}}}function _garbageCollector(){if(!v)return;while(w.length){try{w[0]()}catch(r){}}}function _randomChars(r){let s=[],i=null;try{i=l.randomBytes(r)}catch(s){i=l.pseudoRandomBytes(r)}for(var a=0;a<r;a++){s.push(u[i[a]%u.length])}return s.join("")}function _isBlank(r){return r===null||_isUndefined(r)||!r.trim()}function _isUndefined(r){return typeof r==="undefined"}function _parseArguments(r,s){if(typeof r==="function"){return[{},r]}if(_isUndefined(r)){return[{},s]}const i={};for(const s of Object.getOwnPropertyNames(r)){i[s]=r[s]}return[i,s]}function _generateTmpName(r){const s=r.tmpdir;if(!_isUndefined(r.name))return c.join(s,r.dir,r.name);if(!_isUndefined(r.template))return c.join(s,r.dir,r.template).replace(p,_randomChars(6));const i=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");return c.join(s,r.dir,i)}function _assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);const s=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",s);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",s);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",s);if(!r.template.match(p))throw new Error(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)throw new Error(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||g:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":c.relative(s,_resolvePath(r.dir,s));r.template=_isUndefined(r.template)Line truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");const a=[];const l=new Uint8Array([13,10]);g=0;let c=false;for(const[i,d]of r){if(typeof d==="string"){const r=O.encode(s+`; name="${escape(normalizeLinefeeds(i))}"`+`\r\n\r\n${normalizeLinefeeds(d)}\r\n`);a.push(r);g+=r.byteLength}else{const r=O.encode(`${s}; name="${escape(normalizeLinefeeds(i))}"`+(d.name?`; filename="${escape(d.name)}"`:"")+"\r\n"+`Content-Type: ${d.type||"application/octet-stream"}\r\n\r\n`);a.push(r,d,l);if(typeof d.size==="number"){g+=r.byteLength+d.size+l.byteLength}else{c=true}}}const d=O.encode(`--${i}--`);a.push(d);g+=d.byteLength;if(c){g=null}A=r;h=async function*(){for(const r of a){if(r.stream){yield*r.stream()}else{yield r}}};y="multipart/form-data; boundary="+i}else if(d(r)){A=r;g=r.size;if(r.type){y=r.type}}else if(typeof r[Symbol.asyncIterator]==="function"){if(i){throw new TypeError("keepalive")}if(l.isDisturbed(r)||r.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=r instanceof k?r:c(r)}if(typeof A==="string"||l.isBuffer(A)){g=Buffer.byteLength(A)}if(h!=null){let i;a=new k({async start(){i=h(r)[Symbol.asyncIterator]()},async pull(r){const{value:s,done:l}=await i.next();if(l){queueMicrotask((()=>{r.close()}))}else{if(!x(a)){r.enqueue(new Uint8Array(s))}}return r.desiredSize>0},async cancel(r){await i.return()},type:undefined})}const b={stream:a,source:A,length:g};return[b,y]}function safelyExtractBody(r,i=false){if(!k){k=s(35356).ReadableStream}if(r instanceof k){I(!l.isDisturbed(r),"The body has already been consumed.");I(!r.locked,"The stream is locked.")}return extractBody(r,i)}function cloneBody(r){const[i,s]=r.stream.tee();const a=C(s,{transfer:[s]});const[,l]=a.tee();r.stream=i;return{stream:l,length:r.length,source:r.source}}async function*consumeBody(r){if(r){if(N(r)){yield r}else{const i=r.stream;if(l.isDisturbed(i)){throw new TypeError("The body has already been consumed.")}if(i.locked){throw new TypeError("The stream is locked.")}i[B]=true;yield*i}}}function throwIfAborted(r){if(r.aborted){throw new v("The operation was aborted.","AbortError")}}function bodyMixinMethods(r){const i={blob(){return specConsumeBody(this,(r=>{let i=bodyMimeType(this);if(i==="failure"){i=""}else if(i){i=Q(i)}return new w([r],{type:i})}),r)},arrayBuffer(){return specConsumeBody(this,(r=>new Uint8Array(r).buffer),r)},text(){return specConsumeBody(this,utf8DecodeBytes,r)},json(){return specConsumeBody(this,parseJSONFromBytes,r)},async formData(){b.brandCheck(this,r);throwIfAborted(this[y]);const i=this.headers.get("Content-Type");if(/multipart\/form-data/.test(i)){const r={};for(const[i,s]of this.headers)r[i.toLowerCase()]=s;const i=new g;let s;try{s=new a({headers:r,preservePath:true})}catch(r){throw new v(`${r}`,"AbortError")}s.on("field",((r,s)=>{i.append(r,s)}));s.on("file",((r,s,a,l,c)=>{const d=[];if(l==="base64"||l.toLowerCase()==="base64"){let l="";s.on("data",(r=>{l+=r.toString().replace(/[\r\n]/gm,"");const i=l.length-l.length%4;d.push(Buffer.from(l.slice(0,i),"base64"));l=l.slice(i)}));s.on("end",(()=>{d.push(Buffer.from(l,"base64"));i.append(r,new D(d,a,{type:c}))}))}else{s.on("data",(r=>{d.push(r)}));s.on("end",(()=>{i.append(r,new D(d,a,{type:c}))}))}}));const l=new Promise(((r,i)=>{s.on("finish",r);s.on("error",(r=>i(new TypeError(r))))}));if(this.body!==null)for await(const r of consumeBody(this[y].body))s.write(r);s.end();await l;return i}else if(/application\/x-www-form-urlencoded/.test(i)){let r;try{let i="";const s=new TextDecoder("utf-8",{ignoreBOM:true});for await(const r of consumeBody(this[y].body)){if(!N(r)){throw new TypeError("Expected Uint8Array chunk")}i+=s.decode(r,{stream:true})}i+=s.decode();r=new URLSearchParams(i)}catch(r){throw Object.assign(new TypeError,{cause:r})}const i=new g;for(const[s,a]of r){i.append(s,a)}return i}else{await Promise.resolve();throwIfAborted(this[y]);throw b.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};return i}function mixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}async function specConsumeBody(r,i,s){b.brandCheck(r,s);throwIfAborted(r[y]);if(bodyUnusable(r[y].body)){throw new TypeError("Body is unusable")}const a=h();const errorSteps=r=>a.reject(r);const successSteps=r=>{try{a.resolve(i(r))}catch(r){errorSteps(r)}};if(r[y].body==null){successSteps(new Uint8Array);return a.promise}await A(r[y].body,successSteps,errorSteps);return a.promise}function bodyUnusable(r){return r!=null&&(r.stream.locked||l.isDisturbed(r.stream))}function utf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}const i=P.decode(r);return i}function parseJSONFromBytes(r){return JSON.parse(utf8DecodeBytes(r))}function bodyMimeType(r){const{headersList:i}=r[y];const s=i.get("contentLine truncated /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");const a=[];const A=new Uint8Array([13,10]);h=0;let c=false;for(const[s,l]of r){if(typeof l==="string"){const r=_.encode(i+`; name="${escape(normalizeLinefeeds(s))}"`+`\r\n\r\n${normalizeLinefeeds(l)}\r\n`);a.push(r);h+=r.byteLength}else{const r=_.encode(`${i}; name="${escape(normalizeLinefeeds(s))}"`+(l.name?`; filename="${escape(l.name)}"`:"")+"\r\n"+`Content-Type: ${l.type||"application/octet-stream"}\r\n\r\n`);a.push(r,l,A);if(typeof l.size==="number"){h+=r.byteLength+l.size+A.byteLength}else{c=true}}}const l=_.encode(`--${s}--`);a.push(l);h+=l.byteLength;if(c){h=null}g=r;p=async function*(){for(const r of a){if(r.stream){yield*r.stream()}else{yield r}}};C="multipart/form-data; boundary="+s}else if(l(r)){g=r;h=r.size;if(r.type){C=r.type}}else if(typeof r[Symbol.asyncIterator]==="function"){if(s){throw new TypeError("keepalive")}if(A.isDisturbed(r)||r.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=r instanceof T?r:c(r)}if(typeof g==="string"||A.isBuffer(g)){h=Buffer.byteLength(g)}if(p!=null){let s;a=new T({async start(){s=p(r)[Symbol.asyncIterator]()},async pull(r){const{value:i,done:A}=await s.next();if(A){queueMicrotask((()=>{r.close()}))}else{if(!v(a)){r.enqueue(new Uint8Array(i))}}return r.desiredSize>0},async cancel(r){await s.return()},type:undefined})}const B={stream:a,source:g,length:h};return[B,C]}function safelyExtractBody(r,s=false){if(!T){T=i(35356).ReadableStream}if(r instanceof T){S(!A.isDisturbed(r),"The body has already been consumed.");S(!r.locked,"The stream is locked.")}return extractBody(r,s)}function cloneBody(r){const[s,i]=r.stream.tee();const a=I(i,{transfer:[i]});const[,A]=a.tee();r.stream=s;return{stream:A,length:r.length,source:r.source}}async function*consumeBody(r){if(r){if(R(r)){yield r}else{const s=r.stream;if(A.isDisturbed(s)){throw new TypeError("The body has already been consumed.")}if(s.locked){throw new TypeError("The stream is locked.")}s[w]=true;yield*s}}}function throwIfAborted(r){if(r.aborted){throw new y("The operation was aborted.","AbortError")}}function bodyMixinMethods(r){const s={blob(){return specConsumeBody(this,(r=>{let s=bodyMimeType(this);if(s==="failure"){s=""}else if(s){s=x(s)}return new Q([r],{type:s})}),r)},arrayBuffer(){return specConsumeBody(this,(r=>new Uint8Array(r).buffer),r)},text(){return specConsumeBody(this,utf8DecodeBytes,r)},json(){return specConsumeBody(this,parseJSONFromBytes,r)},async formData(){B.brandCheck(this,r);throwIfAborted(this[C]);const s=this.headers.get("Content-Type");if(/multipart\/form-data/.test(s)){const r={};for(const[s,i]of this.headers)r[s.toLowerCase()]=i;const s=new h;let i;try{i=new a({headers:r,preservePath:true})}catch(r){throw new y(`${r}`,"AbortError")}i.on("field",((r,i)=>{s.append(r,i)}));i.on("file",((r,i,a,A,c)=>{const l=[];if(A==="base64"||A.toLowerCase()==="base64"){let A="";i.on("data",(r=>{A+=r.toString().replace(/[\r\n]/gm,"");const s=A.length-A.length%4;l.push(Buffer.from(A.slice(0,s),"base64"));A=A.slice(s)}));i.on("end",(()=>{l.push(Buffer.from(A,"base64"));s.append(r,new L(l,a,{type:c}))}))}else{i.on("data",(r=>{l.push(r)}));i.on("end",(()=>{s.append(r,new L(l,a,{type:c}))}))}}));const A=new Promise(((r,s)=>{i.on("finish",r);i.on("error",(r=>s(new TypeError(r))))}));if(this.body!==null)for await(const r of consumeBody(this[C].body))i.write(r);i.end();await A;return s}else if(/application\/x-www-form-urlencoded/.test(s)){let r;try{let s="";const i=new TextDecoder("utf-8",{ignoreBOM:true});for await(const r of consumeBody(this[C].body)){if(!R(r)){throw new TypeError("Expected Uint8Array chunk")}s+=i.decode(r,{stream:true})}s+=i.decode();r=new URLSearchParams(s)}catch(r){throw Object.assign(new TypeError,{cause:r})}const s=new h;for(const[i,a]of r){s.append(i,a)}return s}else{await Promise.resolve();throwIfAborted(this[C]);throw B.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};return s}function mixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}async function specConsumeBody(r,s,i){B.brandCheck(r,i);throwIfAborted(r[C]);if(bodyUnusable(r[C].body)){throw new TypeError("Body is unusable")}const a=p();const errorSteps=r=>a.reject(r);const successSteps=r=>{try{a.resolve(s(r))}catch(r){errorSteps(r)}};if(r[C].body==null){successSteps(new Uint8Array);return a.promise}await g(r[C].body,successSteps,errorSteps);return a.promise}function bodyUnusable(r){return r!=null&&(r.stream.locked||A.isDisturbed(r.stream))}function utf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}const s=O.decode(r);return s}function parseJSONFromBytes(r){return JSON.parse(utf8DecodeBytes(r))}function bodyMimeType(r){const{headersList:s}=r[C];const i=s.get("contentLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[l-4]=this.maskKey[0];c[l-3]=this.maskKey[1];c[l-2]=this.maskKey[2];c[l-1]=this.maskKey[3];c[1]=s;if(s===126){c.writeUInt16BE(i,2)}else if(s===127){c[2]=c[3]=0;c.writeUIntBE(i,4,6)}c[1]|=128;for(let r=0;r<i;r++){c[l+r]=this.frameData[r]^this.maskKey[r%4]}return c}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(r,i,s)=>{"use strict";const{Writable:a}=s(12781);const l=s(67643);const{parserStates:c,opcodes:d,states:p,emptyBuffer:u}=s(19188);const{kReadyState:h,kSentClose:A,kResponse:g,kReceivedClose:y}=s(37578);const{isValidStatusCode:b,failWebsocketConnection:v,websocketMessageReceived:C}=s(25515);const{WebsocketFrameSend:w}=s(25444);const S={};S.ping=l.channel("undici:websocket:ping");S.pong=l.channel("undici:websocket:pong");class ByteParser extends a{#a=[];#o=0;#l=c.INFO;#c={};#d=[];constructor(r){super();this.ws=r}_write(r,i,s){this.#a.push(r);this.#o+=r.length;this.run(s)}run(r){while(true){if(this.#l===c.INFO){if(this.#o<2){return r()}const i=this.consume(2);this.#c.fin=(i[0]&128)!==0;this.#c.opcode=i[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==d.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==d.BINARY&&this.#c.opcode!==d.TEXT){v(this.ws,"Invalid frame type was fragmented.");return}const s=i[1]&127;if(s<=125){this.#c.payloadLength=s;this.#l=c.READ_DATA}else if(s===126){this.#l=c.PAYLOADLENGTH_16}else if(s===127){this.#l=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&s>125){v(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===d.PING||this.#c.opcode===d.PONG||this.#c.opcode===d.CLOSE)&&s>125){v(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===d.CLOSE){if(s===1){v(this.ws,"Received close frame with a 1-byte body.");return}const r=this.consume(s);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[A]){const r=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);const i=new w(r);this.ws[g].socket.write(i.createFrame(d.CLOSE),(r=>{if(!r){this.ws[A]=true}}))}this.ws[h]=p.CLOSING;this.ws[y]=true;this.end();return}else if(this.#c.opcode===d.PING){const i=this.consume(s);if(!this.ws[y]){const r=new w(i);this.ws[g].socket.write(r.createFrame(d.PONG));if(S.ping.hasSubscribers){S.ping.publish({payload:i})}}this.#l=c.INFO;if(this.#o>0){continue}else{r();return}}else if(this.#c.opcode===d.PONG){const i=this.consume(s);if(S.pong.hasSubscribers){S.pong.publish({payload:i})}if(this.#o>0){continue}else{r();return}}}else if(this.#l===c.PAYLOADLENGTH_16){if(this.#o<2){return r()}const i=this.consume(2);this.#c.payloadLength=i.readUInt16BE(0);this.#l=c.READ_DATA}else if(this.#l===c.PAYLOADLENGTH_64){if(this.#o<8){return r()}const i=this.consume(8);const s=i.readUInt32BE(0);if(s>2**31-1){v(this.ws,"Received payload length > 2^31 bytes.");return}const a=i.readUInt32BE(4);this.#c.payloadLength=(s<<8)+a;this.#l=c.READ_DATA}else if(this.#l===c.READ_DATA){if(this.#o<this.#c.payloadLength){return r()}else if(this.#o>=this.#c.payloadLength){const r=this.consume(this.#c.payloadLength);this.#d.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===d.CONTINUATION){const r=Buffer.concat(this.#d);C(this.ws,this.#c.originalOpcode,r);this.#c={};this.#d.length=0}this.#l=c.INFO}}if(this.#o>0){continue}else{r();break}}}consume(r){if(r>this.#o){return null}else if(r===0){return u}if(this.#a[0].length===r){this.#o-=this.#a[0].length;return this.#a.shift()}const i=Buffer.allocUnsafe(r);let s=0;while(s!==r){const a=this.#a[0];const{length:l}=a;if(l+s===r){i.set(this.#a.shift(),s);break}else if(l+s>r){i.set(a.subarray(0,r-s),s);this.#a[0]=a.subarray(r-s);break}else{i.set(this.#a.shift(),s);s+=a.length}}this.#o-=r;return i}parseCloseBody(r,i){let s;if(i.length>=2){s=i.readUInt16BE(0)}if(r){if(!b(s)){return null}return{code:s}}let a=i.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(s!==undefined&&!b(s)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:s,reason:a}}get closingInfo(){return this.#c.closeInfo}}r.exports={ByteParser:ByteParser}},37578:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(r,i,s)=>{"use strict";const{kReadyState:a,kController:l,kResponse:c,kBinaryType:d,kWebSocketURL:p}=s(37578);const{states:u,opcodes:h}=s(19188);const{MessageEvent:A,ErrorEvent:g}=s(52611);function isEstablished(r){return r[a]===u.OPEN}function isClosing(r){return r[a]===u.CLOSING}function isClosed(r){return r[a]===u.CLOSED}function fireEvent(r,i,s=Event,a){const l=new s(r,a);i.dispatchEvent(l)}function websocketMessageReceived(r,i,s){if(r[a]!==u.OPEN){return}let l;if(i===h.TEXT){try{l=new TextDecoder("utf-8",{fatal:trueLine truncated /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[A-4]=this.maskKey[0];c[A-3]=this.maskKey[1];c[A-2]=this.maskKey[2];c[A-1]=this.maskKey[3];c[1]=i;if(i===126){c.writeUInt16BE(s,2)}else if(i===127){c[2]=c[3]=0;c.writeUIntBE(s,4,6)}c[1]|=128;for(let r=0;r<s;r++){c[A+r]=this.frameData[r]^this.maskKey[r%4]}return c}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(r,s,i)=>{"use strict";const{Writable:a}=i(12781);const A=i(67643);const{parserStates:c,opcodes:l,states:d,emptyBuffer:u}=i(19188);const{kReadyState:p,kSentClose:g,kResponse:h,kReceivedClose:C}=i(37578);const{isValidStatusCode:B,failWebsocketConnection:y,websocketMessageReceived:I}=i(25515);const{WebsocketFrameSend:Q}=i(25444);const b={};b.ping=A.channel("undici:websocket:ping");b.pong=A.channel("undici:websocket:pong");class ByteParser extends a{#o=[];#a=0;#A=c.INFO;#c={};#l=[];constructor(r){super();this.ws=r}_write(r,s,i){this.#o.push(r);this.#a+=r.length;this.run(i)}run(r){while(true){if(this.#A===c.INFO){if(this.#a<2){return r()}const s=this.consume(2);this.#c.fin=(s[0]&128)!==0;this.#c.opcode=s[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==l.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==l.BINARY&&this.#c.opcode!==l.TEXT){y(this.ws,"Invalid frame type was fragmented.");return}const i=s[1]&127;if(i<=125){this.#c.payloadLength=i;this.#A=c.READ_DATA}else if(i===126){this.#A=c.PAYLOADLENGTH_16}else if(i===127){this.#A=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&i>125){y(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===l.PING||this.#c.opcode===l.PONG||this.#c.opcode===l.CLOSE)&&i>125){y(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===l.CLOSE){if(i===1){y(this.ws,"Received close frame with a 1-byte body.");return}const r=this.consume(i);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[g]){const r=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);const s=new Q(r);this.ws[h].socket.write(s.createFrame(l.CLOSE),(r=>{if(!r){this.ws[g]=true}}))}this.ws[p]=d.CLOSING;this.ws[C]=true;this.end();return}else if(this.#c.opcode===l.PING){const s=this.consume(i);if(!this.ws[C]){const r=new Q(s);this.ws[h].socket.write(r.createFrame(l.PONG));if(b.ping.hasSubscribers){b.ping.publish({payload:s})}}this.#A=c.INFO;if(this.#a>0){continue}else{r();return}}else if(this.#c.opcode===l.PONG){const s=this.consume(i);if(b.pong.hasSubscribers){b.pong.publish({payload:s})}if(this.#a>0){continue}else{r();return}}}else if(this.#A===c.PAYLOADLENGTH_16){if(this.#a<2){return r()}const s=this.consume(2);this.#c.payloadLength=s.readUInt16BE(0);this.#A=c.READ_DATA}else if(this.#A===c.PAYLOADLENGTH_64){if(this.#a<8){return r()}const s=this.consume(8);const i=s.readUInt32BE(0);if(i>2**31-1){y(this.ws,"Received payload length > 2^31 bytes.");return}const a=s.readUInt32BE(4);this.#c.payloadLength=(i<<8)+a;this.#A=c.READ_DATA}else if(this.#A===c.READ_DATA){if(this.#a<this.#c.payloadLength){return r()}else if(this.#a>=this.#c.payloadLength){const r=this.consume(this.#c.payloadLength);this.#l.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===l.CONTINUATION){const r=Buffer.concat(this.#l);I(this.ws,this.#c.originalOpcode,r);this.#c={};this.#l.length=0}this.#A=c.INFO}}if(this.#a>0){continue}else{r();break}}}consume(r){if(r>this.#a){return null}else if(r===0){return u}if(this.#o[0].length===r){this.#a-=this.#o[0].length;return this.#o.shift()}const s=Buffer.allocUnsafe(r);let i=0;while(i!==r){const a=this.#o[0];const{length:A}=a;if(A+i===r){s.set(this.#o.shift(),i);break}else if(A+i>r){s.set(a.subarray(0,r-i),i);this.#o[0]=a.subarray(r-i);break}else{s.set(this.#o.shift(),i);i+=a.length}}this.#a-=r;return s}parseCloseBody(r,s){let i;if(s.length>=2){i=s.readUInt16BE(0)}if(r){if(!B(i)){return null}return{code:i}}let a=s.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(i!==undefined&&!B(i)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:i,reason:a}}get closingInfo(){return this.#c.closeInfo}}r.exports={ByteParser:ByteParser}},37578:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(r,s,i)=>{"use strict";const{kReadyState:a,kController:A,kResponse:c,kBinaryType:l,kWebSocketURL:d}=i(37578);const{states:u,opcodes:p}=i(19188);const{MessageEvent:g,ErrorEvent:h}=i(52611);function isEstablished(r){return r[a]===u.OPEN}function isClosing(r){return r[a]===u.CLOSING}function isClosed(r){return r[a]===u.CLOSED}function fireEvent(r,s,i=Event,a){const A=new i(r,a);s.dispatchEvent(A)}function websocketMessageReceived(r,s,i){if(r[a]!==u.OPEN){return}let A;if(s===p.TEXT){try{A=new TextDecoder("utf-8",{fatal:trueLine truncated
/** /**
* ZipStream * ZipStream
* *
@@ -99,5 +103,5 @@ const a=s(57147);const l=s(22037);const c=s(71017);const d=s(6113);const p={fs:a
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE} * @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
* @copyright (c) 2014 Chris Talkington, contributors. * @copyright (c) 2014 Chris Talkington, contributors.
*/ */
var a=s(73837).inherits;var l=s(25445).ZipArchiveOutputStream;var c=s(25445).ZipArchiveEntry;var d=s(82072);var p=r.exports=function(r){if(!(this instanceof p)){return new p(r)}r=this.options=r||{};r.zlib=r.zlib||{};l.call(this,r);if(typeof r.level==="number"&&r.level>=0){r.zlib.level=r.level;delete r.level}if(!r.forceZip64&&typeof r.zlib.level==="number"&&r.zlib.level===0){r.store=true}r.namePrependSlash=r.namePrependSlash||false;if(r.comment&&r.comment.length>0){this.setComment(r.comment)}};a(p,l);p.prototype._normalizeFileData=function(r){r=d.defaults(r,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var i=r.type==="directory";var s=r.type==="symlink";if(r.name){r.name=d.sanitizePath(r.name);if(!s&&r.name.slice(-1)==="/"){i=true;r.type="directory"}else if(i){r.name+="/"}}if(i||s){r.store=true}r.date=d.dateify(r.date);return r};p.prototype.entry=function(r,i,s){if(typeof s!=="function"){s=this._emitErrorCallback.bind(this)}i=this._normalizeFileData(i);if(i.type!=="file"&&i.type!=="directory"&&i.type!=="symlink"){s(new Error(i.type+" entries not currently supported"));return}if(typeof i.name!=="string"||i.name.length===0){s(new Error("entry name must be a non-empty string value"));return}if(i.type==="symlink"&&typeof i.linkname!=="string"){s(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var a=new c(i.name);a.setTime(i.date,this.options.forceLocalTime);if(i.namePrependSlash){a.setName(i.name,true)}if(i.store){a.setMethod(0)}if(i.comment.length>0){a.setComment(i.comment)}if(i.type==="symlink"&&typeof i.mode!=="number"){i.mode=40960}if(typeof i.mode==="number"){if(i.type==="symlink"){i.mode|=40960}a.setUnixMode(i.mode)}if(i.type==="symlink"&&typeof i.linkname==="string"){r=Buffer.from(i.linkname)}return l.prototype.entry.call(this,a,r,s)};p.prototype.finalize=function(){this.finish()}},98954:function(r,i,s){"use strict";var a=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;var l=Object.getOwnPropertyDescriptor(i,s);if(!l||("get"in l?!i.__esModule:l.writable||l.configurable)){l={enumerable:true,get:function(){return i[s]}}}Object.defineProperty(r,a,l)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});var l=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});var c=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var s in r)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s))a(i,r,s);l(i,r);return i};var d=this&&this.__awaiter||function(r,i,s,a){function adopt(r){return r instanceof s?r:new s((function(i){i(r)}))}return new(s||(s=Promise))((function(s,l){function fulfilled(r){try{step(a.next(r))}catch(r){l(r)}}function rejected(r){try{step(a["throw"](r))}catch(r){l(r)}}function step(r){r.done?s(r.value):adopt(r.value).then(fulfilled,rejected)}step((a=a.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getVersion=i.getInspectArgs=i.getAppendArgs=i.getCreateArgs=i.getBuilderName=i.getInputs=i.builderNodeEnvPrefix=void 0;const p=c(s(6113));const u=c(s(42186));const h=s(50976);const A=s(28662);i.builderNodeEnvPrefix="BUILDER_NODE";const g="--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host";function getInputs(){return d(this,void 0,void 0,(function*(){return{version:u.getInput("version"),name:yield getBuilderName(u.getInput("driver")||"docker-container"),driver:u.getInput("driver")||"docker-container",driverOpts:A.Util.getInputList("driver-opts",{ignoreComma:true,quote:false}),buildkitdFlags:u.getInput("buildkitd-flags"),platforms:A.Util.getInputList("platforms"),install:u.getBooleanInput("install"),use:u.getBooleanInput("use"),endpoint:u.getInput("endpoint"),buildkitdConfig:u.getInput("buildkitd-config")||u.getInput("config"),buildkitdConfigInline:u.getInput("buildkitd-config-inline")||u.getInput("config-inline"),append:u.getInput("append"),cacheBinary:u.getBooleanInput("cache-binary"),cleanup:u.getBooleanInput("cleanup")}}))}i.getInputs=getInputs;function getBuilderName(r){return d(this,void 0,void 0,(function*(){return r=="docker"?yield h.Docker.context():`builder-${p.randomUUID()}`}))}i.getBuilderName=getBuilderName;function getCreateArgs(r,i){return d(this,void 0,void 0,(function*(){const s=["create","--name",r.name,"--driver",r.driver];if(yield i.buildx.versionSatisfies(">=0.3.0")){yield A.Util.asyncForEach(r.driverOpts,(r=>d(this,void 0,void 0,(function*(){s.push("--driver-opt",r)}))));if(r.buildkitdFlags){s.push("--buildkitd-flags",r.buildkitdFlags)}else if(driverSupportsBuildkitdFlags(r.driver)){s.push("--buildkitd-flags",g)}}if(r.platforms.length>0){s.push("--platform",r.platforms.join(","))}if(r.use){s.push("--use")}if(r.buildkitdConfig){s.push("--config",i.buildkit.config.resolveFromFile(r.buildkitdConfig))}else ifLine truncated var a=i(73837).inherits;var A=i(25445).ZipArchiveOutputStream;var c=i(25445).ZipArchiveEntry;var l=i(82072);var d=r.exports=function(r){if(!(this instanceof d)){return new d(r)}r=this.options=r||{};r.zlib=r.zlib||{};A.call(this,r);if(typeof r.level==="number"&&r.level>=0){r.zlib.level=r.level;delete r.level}if(!r.forceZip64&&typeof r.zlib.level==="number"&&r.zlib.level===0){r.store=true}r.namePrependSlash=r.namePrependSlash||false;if(r.comment&&r.comment.length>0){this.setComment(r.comment)}};a(d,A);d.prototype._normalizeFileData=function(r){r=l.defaults(r,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var s=r.type==="directory";var i=r.type==="symlink";if(r.name){r.name=l.sanitizePath(r.name);if(!i&&r.name.slice(-1)==="/"){s=true;r.type="directory"}else if(s){r.name+="/"}}if(s||i){r.store=true}r.date=l.dateify(r.date);return r};d.prototype.entry=function(r,s,i){if(typeof i!=="function"){i=this._emitErrorCallback.bind(this)}s=this._normalizeFileData(s);if(s.type!=="file"&&s.type!=="directory"&&s.type!=="symlink"){i(new Error(s.type+" entries not currently supported"));return}if(typeof s.name!=="string"||s.name.length===0){i(new Error("entry name must be a non-empty string value"));return}if(s.type==="symlink"&&typeof s.linkname!=="string"){i(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var a=new c(s.name);a.setTime(s.date,this.options.forceLocalTime);if(s.namePrependSlash){a.setName(s.name,true)}if(s.store){a.setMethod(0)}if(s.comment.length>0){a.setComment(s.comment)}if(s.type==="symlink"&&typeof s.mode!=="number"){s.mode=40960}if(typeof s.mode==="number"){if(s.type==="symlink"){s.mode|=40960}a.setUnixMode(s.mode)}if(s.type==="symlink"&&typeof s.linkname==="string"){r=Buffer.from(s.linkname)}return A.prototype.entry.call(this,a,r,i)};d.prototype.finalize=function(){this.finish()}},98954:function(r,s,i){"use strict";var a=this&&this.__createBinding||(Object.create?function(r,s,i,a){if(a===undefined)a=i;var A=Object.getOwnPropertyDescriptor(s,i);if(!A||("get"in A?!s.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return s[i]}}}Object.defineProperty(r,a,A)}:function(r,s,i,a){if(a===undefined)a=i;r[a]=s[i]});var A=this&&this.__setModuleDefault||(Object.create?function(r,s){Object.defineProperty(r,"default",{enumerable:true,value:s})}:function(r,s){r["default"]=s});var c=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var s={};if(r!=null)for(var i in r)if(i!=="default"&&Object.prototype.hasOwnProperty.call(r,i))a(s,r,i);A(s,r);return s};var l=this&&this.__awaiter||function(r,s,i,a){function adopt(r){return r instanceof i?r:new i((function(s){s(r)}))}return new(i||(i=Promise))((function(i,A){function fulfilled(r){try{step(a.next(r))}catch(r){A(r)}}function rejected(r){try{step(a["throw"](r))}catch(r){A(r)}}function step(r){r.done?i(r.value):adopt(r.value).then(fulfilled,rejected)}step((a=a.apply(r,s||[])).next())}))};Object.defineProperty(s,"__esModule",{value:true});s.getVersion=s.getInspectArgs=s.getAppendArgs=s.getCreateArgs=s.getBuilderName=s.getInputs=s.builderNodeEnvPrefix=void 0;const d=c(i(6113));const u=c(i(42186));const p=i(50976);const g=i(28662);s.builderNodeEnvPrefix="BUILDER_NODE";const h="--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host";function getInputs(){return l(this,void 0,void 0,(function*(){return{version:u.getInput("version"),name:yield getBuilderName(u.getInput("name"),u.getInput("driver")||"docker-container"),driver:u.getInput("driver")||"docker-container",driverOpts:g.Util.getInputList("driver-opts",{ignoreComma:true,quote:false}),buildkitdFlags:u.getInput("buildkitd-flags"),platforms:g.Util.getInputList("platforms"),install:u.getBooleanInput("install"),use:u.getBooleanInput("use"),endpoint:u.getInput("endpoint"),buildkitdConfig:u.getInput("buildkitd-config")||u.getInput("config"),buildkitdConfigInline:u.getInput("buildkitd-config-inline")||u.getInput("config-inline"),append:u.getInput("append"),keepState:u.getBooleanInput("keep-state"),cacheBinary:u.getBooleanInput("cache-binary"),cleanup:u.getBooleanInput("cleanup")}}))}s.getInputs=getInputs;function getBuilderName(r,s){return l(this,void 0,void 0,(function*(){return s=="docker"?yield p.Docker.context():r||`builder-${d.randomUUID()}`}))}s.getBuilderName=getBuilderName;function getCreateArgs(r,s){return l(this,void 0,void 0,(function*(){const i=["create","--name",r.name,"--driver",r.driver];if(yield s.buildx.versionSatisfies(">=0.3.0")){yield g.Util.asyncForEach(r.driverOpts,(r=>l(this,void 0,void 0,(function*(){i.push("--driver-opt",r)}))));if(r.buildkitdFlags){i.push("--buildkitd-flags",r.buildkitdFlags)}else if(driverSupportsBuildkitdFlags(r.driver)){i.push("--buildkitd-flags",h)}}if(r.platforms.length>0){i.push("--platform",r.platforms.join(","))}if(r.use){i.push("--use")}if(r.buildkitdConfig){i.push("--conLine truncated
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","CreateArtifactRequest$Type","workflowRunBackendId","workflowJobRunBackendId","version","expiresAt","fork","join","CreateArtifactResponse$Type","ok","signedUploadUrl","FinalizeArtifactRequest$Type","size","hash","FinalizeArtifactResponse$Type","artifactId","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","HttpClient","response","statusCode","statusMessage","timeout","timerFn","destroy","timer","on","refresh","clearTimeout","pipe","Extract","downloadPath","resolveOrCreateDirectory","api","archive_format","redirect","location","signedReq","getGitHubWorkspaceDir","mkdir","recursive","run_id","size_in_bytes","created_at","maximumArtifactLine truncated {"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","FinalizeMigratedArtifactResponse","FinalizeMigratedArtifactRequest","MigrateArtifactResponse","MigrateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","MigrateArtifactRequest$Type","workflowRunBackendId","expiresAt","fork","join","MigrateArtifactResponse$Type","ok","signedUploadUrl","FinalizeMigratedArtifactRequest$Type","size","FinalizeMigratedArtifactResponse$Type","artifactId","CreateArtifactRequest$Type","workflowJobRunBackendId","version","CreateArtifactResponse$Type","FinalizeArtifactRequest$Type","hash","FinalizeArtifactResponse$Type","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","digest","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","crypto","stream","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","HttpClient","response","statusCode","statusMessLine truncated
+1 -1
View File
@@ -26,7 +26,7 @@
"packageManager": "yarn@3.6.3", "packageManager": "yarn@3.6.3",
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^1.11.1",
"@docker/actions-toolkit": "^0.56.0", "@docker/actions-toolkit": "^0.62.1",
"js-yaml": "^4.1.0" "js-yaml": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
+5 -3
View File
@@ -25,12 +25,13 @@ export interface Inputs {
append: string; append: string;
cacheBinary: boolean; cacheBinary: boolean;
cleanup: boolean; cleanup: boolean;
keepState: boolean;
} }
export async function getInputs(): Promise<Inputs> { export async function getInputs(): Promise<Inputs> {
return { return {
version: core.getInput('version'), version: core.getInput('version'),
name: await getBuilderName(core.getInput('driver') || 'docker-container'), name: await getBuilderName(core.getInput('name'), core.getInput('driver') || 'docker-container'),
driver: core.getInput('driver') || 'docker-container', driver: core.getInput('driver') || 'docker-container',
driverOpts: Util.getInputList('driver-opts', {ignoreComma: true, quote: false}), driverOpts: Util.getInputList('driver-opts', {ignoreComma: true, quote: false}),
buildkitdFlags: core.getInput('buildkitd-flags'), buildkitdFlags: core.getInput('buildkitd-flags'),
@@ -41,13 +42,14 @@ export async function getInputs(): Promise<Inputs> {
buildkitdConfig: core.getInput('buildkitd-config') || core.getInput('config'), buildkitdConfig: core.getInput('buildkitd-config') || core.getInput('config'),
buildkitdConfigInline: core.getInput('buildkitd-config-inline') || core.getInput('config-inline'), buildkitdConfigInline: core.getInput('buildkitd-config-inline') || core.getInput('config-inline'),
append: core.getInput('append'), append: core.getInput('append'),
keepState: core.getBooleanInput('keep-state'),
cacheBinary: core.getBooleanInput('cache-binary'), cacheBinary: core.getBooleanInput('cache-binary'),
cleanup: core.getBooleanInput('cleanup') cleanup: core.getBooleanInput('cleanup')
}; };
} }
export async function getBuilderName(driver: string): Promise<string> { export async function getBuilderName(name: string, driver: string): Promise<string> {
return driver == 'docker' ? await Docker.context() : `builder-${crypto.randomUUID()}`; return driver == 'docker' ? await Docker.context() : name || `builder-${crypto.randomUUID()}`;
} }
export async function getCreateArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<string>> { export async function getCreateArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<string>> {
+39 -16
View File
@@ -28,6 +28,12 @@ actionsToolkit.run(
const standalone = await toolkit.buildx.isStandalone(); const standalone = await toolkit.buildx.isStandalone();
stateHelper.setStandalone(standalone); stateHelper.setStandalone(standalone);
if (inputs.keepState && inputs.driver !== 'docker-container') {
// https://docs.docker.com/reference/cli/docker/buildx/rm/#keep-state
throw new Error(`Cannot use keep-state with ${inputs.driver} driver`);
}
stateHelper.setKeepState(inputs.keepState);
await core.group(`Docker info`, async () => { await core.group(`Docker info`, async () => {
try { try {
await Docker.printVersion(); await Docker.printVersion();
@@ -118,22 +124,26 @@ actionsToolkit.run(
if (inputs.driver !== 'docker') { if (inputs.driver !== 'docker') {
await core.group(`Creating a new builder instance`, async () => { await core.group(`Creating a new builder instance`, async () => {
const certsDriverOpts = Buildx.resolveCertsDriverOpts(inputs.driver, inputs.endpoint, { if (await toolkit.builder.exists(inputs.name)) {
cacert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CACERT`], core.info(`Builder ${inputs.name} already exists, skipping creation`);
cert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CERT`], } else {
key: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_KEY`] const certsDriverOpts = Buildx.resolveCertsDriverOpts(inputs.driver, inputs.endpoint, {
}); cacert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CACERT`],
if (certsDriverOpts.length > 0) { cert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CERT`],
inputs.driverOpts = [...inputs.driverOpts, ...certsDriverOpts]; key: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_KEY`]
} });
const createCmd = await toolkit.buildx.getCommand(await context.getCreateArgs(inputs, toolkit)); if (certsDriverOpts.length > 0) {
await Exec.getExecOutput(createCmd.command, createCmd.args, { inputs.driverOpts = [...inputs.driverOpts, ...certsDriverOpts];
ignoreReturnCode: true
}).then(res => {
if (res.stderr.length > 0 && res.exitCode != 0) {
throw new Error(res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error');
} }
}); const createCmd = await toolkit.buildx.getCommand(await context.getCreateArgs(inputs, toolkit));
await Exec.getExecOutput(createCmd.command, createCmd.args, {
ignoreReturnCode: true
}).then(res => {
if (res.stderr.length > 0 && res.exitCode != 0) {
throw new Error(res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error');
}
});
}
}); });
} }
@@ -179,6 +189,7 @@ actionsToolkit.run(
throw new Error(`Cannot set buildx as default builder without the Docker CLI`); throw new Error(`Cannot set buildx as default builder without the Docker CLI`);
} }
await core.group(`Setting buildx as default builder`, async () => { await core.group(`Setting buildx as default builder`, async () => {
stateHelper.setBuildxIsDefaultBuilder(true);
const installCmd = await toolkit.buildx.getCommand(['install']); const installCmd = await toolkit.buildx.getCommand(['install']);
await Exec.getExecOutput(installCmd.command, installCmd.args, { await Exec.getExecOutput(installCmd.command, installCmd.args, {
ignoreReturnCode: true ignoreReturnCode: true
@@ -248,7 +259,7 @@ actionsToolkit.run(
const buildx = new Buildx({standalone: stateHelper.standalone}); const buildx = new Buildx({standalone: stateHelper.standalone});
const builder = new Builder({buildx: buildx}); const builder = new Builder({buildx: buildx});
if (await builder.exists(stateHelper.builderName)) { if (await builder.exists(stateHelper.builderName)) {
const rmCmd = await buildx.getCommand(['rm', stateHelper.builderName]); const rmCmd = await buildx.getCommand(['rm', stateHelper.builderName, ...(stateHelper.keepState ? ['--keep-state'] : [])]);
await Exec.getExecOutput(rmCmd.command, rmCmd.args, { await Exec.getExecOutput(rmCmd.command, rmCmd.args, {
ignoreReturnCode: true ignoreReturnCode: true
}).then(res => { }).then(res => {
@@ -279,5 +290,17 @@ actionsToolkit.run(
fs.rmSync(stateHelper.certsDir, {recursive: true}); fs.rmSync(stateHelper.certsDir, {recursive: true});
}); });
} }
if (stateHelper.buildxIsDefaultBuilder) {
await core.group(`Restoring default builder`, async () => {
await Exec.getExecOutput('docker', ['buildx', 'uninstall'], {
ignoreReturnCode: true
}).then(res => {
if (res.stderr.length > 0 && res.exitCode != 0) {
core.warning(`${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`);
}
});
});
}
} }
); );
+10
View File
@@ -8,6 +8,8 @@ export const containerName = process.env['STATE_containerName'] || '';
export const certsDir = process.env['STATE_certsDir'] || ''; export const certsDir = process.env['STATE_certsDir'] || '';
export const tmpDockerContext = process.env['STATE_tmpDockerContext'] || ''; export const tmpDockerContext = process.env['STATE_tmpDockerContext'] || '';
export const cleanup = /true/i.test(process.env['STATE_cleanup'] || ''); export const cleanup = /true/i.test(process.env['STATE_cleanup'] || '');
export const buildxIsDefaultBuilder = /true/i.test(process.env['STATE_buildxIsDefaultBuilder'] || '');
export const keepState = !!process.env['STATE_keepState'];
export function setDebug(debug: string) { export function setDebug(debug: string) {
core.saveState('isDebug', debug); core.saveState('isDebug', debug);
@@ -40,3 +42,11 @@ export function setTmpDockerContext(tmpDockerContext: string) {
export function setCleanup(cleanup: boolean) { export function setCleanup(cleanup: boolean) {
core.saveState('cleanup', cleanup); core.saveState('cleanup', cleanup);
} }
export function setBuildxIsDefaultBuilder(buildxIsDefaultBuilder: boolean) {
core.saveState('buildxIsDefaultBuilder', buildxIsDefaultBuilder);
}
export function setKeepState(retain: boolean) {
core.saveState('keepState', retain);
}
+95 -34
View File
@@ -12,9 +12,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@actions/artifact@npm:^2.2.2": "@actions/artifact@npm:^2.3.2":
version: 2.2.2 version: 2.3.2
resolution: "@actions/artifact@npm:2.2.2" resolution: "@actions/artifact@npm:2.3.2"
dependencies: dependencies:
"@actions/core": ^1.10.0 "@actions/core": ^1.10.0
"@actions/github": ^5.1.1 "@actions/github": ^5.1.1
@@ -28,13 +28,13 @@ __metadata:
archiver: ^7.0.1 archiver: ^7.0.1
jwt-decode: ^3.1.2 jwt-decode: ^3.1.2
unzip-stream: ^0.3.1 unzip-stream: ^0.3.1
checksum: 1501b3d0ceb671f370786ccf70014de9586c5a78c95d235248fc16c73bf928f8de2aa932a679258f6d9bc2f2e570648d830551af9f063298f05d19f3330b33bc checksum: 78ee41b43800accb2f3527e1733217c43d53693e7f96ce2470b16890fb84f5c2ebaaa6048ccdb6cfe188b54c02779ec99623c6932558e757f6829cfde203cf2c
languageName: node languageName: node
linkType: hard linkType: hard
"@actions/cache@npm:^4.0.2": "@actions/cache@npm:^4.0.3":
version: 4.0.2 version: 4.0.3
resolution: "@actions/cache@npm:4.0.2" resolution: "@actions/cache@npm:4.0.3"
dependencies: dependencies:
"@actions/core": ^1.11.1 "@actions/core": ^1.11.1
"@actions/exec": ^1.0.1 "@actions/exec": ^1.0.1
@@ -46,7 +46,7 @@ __metadata:
"@azure/storage-blob": ^12.13.0 "@azure/storage-blob": ^12.13.0
"@protobuf-ts/plugin": ^2.9.4 "@protobuf-ts/plugin": ^2.9.4
semver: ^6.3.1 semver: ^6.3.1
checksum: 208f11238a26194f331b329bb99d50a87c1a3ccef1dbae181e5c142b3faf41715203e0c5cbc491519d3d97540a68fbd418c25fb6e16caabf76248c40867c02b4 checksum: ee9c2a21a70bd3f35c63f302af478e23f135c26deb77ea2e4eed29c62766a4b201fc7435651c0d56fa504c02d203107e3bdfda1dba18a3ee09338e1dfc3f2fe8
languageName: node languageName: node
linkType: hard linkType: hard
@@ -91,15 +91,18 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@actions/github@npm:^6.0.0": "@actions/github@npm:^6.0.1":
version: 6.0.0 version: 6.0.1
resolution: "@actions/github@npm:6.0.0" resolution: "@actions/github@npm:6.0.1"
dependencies: dependencies:
"@actions/http-client": ^2.2.0 "@actions/http-client": ^2.2.0
"@octokit/core": ^5.0.1 "@octokit/core": ^5.0.1
"@octokit/plugin-paginate-rest": ^9.0.0 "@octokit/plugin-paginate-rest": ^9.2.2
"@octokit/plugin-rest-endpoint-methods": ^10.0.0 "@octokit/plugin-rest-endpoint-methods": ^10.4.0
checksum: 81831a78377175d8825fc0b94247ff366c0e87ad1dfa48df9b30b8659506f216dcf1e2d3124fcd318839b92c24ba20165e238b3cc11a34db89c69c40825e9ccf "@octokit/request": ^8.4.1
"@octokit/request-error": ^5.1.1
undici: ^5.28.5
checksum: ba6a162a5727dea2f3f3fc450e02c5b336ceb65a0e26ba9ad9c62b20f4f5b2625ca347a9311a4905ef3c92378ca022caba841a283cb7f2e4175d79e3d1ecaf12
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1088,15 +1091,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@docker/actions-toolkit@npm:^0.56.0": "@docker/actions-toolkit@npm:^0.62.1":
version: 0.56.0 version: 0.62.1
resolution: "@docker/actions-toolkit@npm:0.56.0" resolution: "@docker/actions-toolkit@npm:0.62.1"
dependencies: dependencies:
"@actions/artifact": ^2.2.2 "@actions/artifact": ^2.3.2
"@actions/cache": ^4.0.2 "@actions/cache": ^4.0.3
"@actions/core": ^1.11.1 "@actions/core": ^1.11.1
"@actions/exec": ^1.1.1 "@actions/exec": ^1.1.1
"@actions/github": ^6.0.0 "@actions/github": ^6.0.1
"@actions/http-client": ^2.2.3 "@actions/http-client": ^2.2.3
"@actions/io": ^1.1.3 "@actions/io": ^1.1.3
"@actions/tool-cache": ^2.0.2 "@actions/tool-cache": ^2.0.2
@@ -1110,10 +1113,10 @@ __metadata:
he: ^1.2.0 he: ^1.2.0
js-yaml: ^4.1.0 js-yaml: ^4.1.0
jwt-decode: ^4.0.0 jwt-decode: ^4.0.0
semver: ^7.7.1 semver: ^7.7.2
tar-stream: ^3.1.7 tar-stream: ^3.1.7
tmp: ^0.2.3 tmp: ^0.2.3
checksum: 0f1b569f8bb206399f8c26e566c78e30e4a311bbd64486016e7fa1d35fbbb4c94d4f55afa6b711afa4b41c5835b40b038f48c3d1bfdfdc6f7c6680973e922d9e checksum: 72dfef5073c7b638a73b53ccd48ec9dc3fa0e0c1b1b0aaf711fc872ef4ef0a882909271c01913f335efc5f868e4062e6e7720b92d6c3a605ecb6cc30d3001f9d
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1702,6 +1705,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/endpoint@npm:^9.0.6":
version: 9.0.6
resolution: "@octokit/endpoint@npm:9.0.6"
dependencies:
"@octokit/types": ^13.1.0
universal-user-agent: ^6.0.0
checksum: f853c08f0777a8cc7c3d2509835d478e11a76d722f807d4f2ad7c0e64bf4dd159536409f466b367a907886aa3b78574d3d09ed95ac462c769e4fccaaad81e72a
languageName: node
linkType: hard
"@octokit/graphql@npm:^4.5.8": "@octokit/graphql@npm:^4.5.8":
version: 4.8.0 version: 4.8.0
resolution: "@octokit/graphql@npm:4.8.0" resolution: "@octokit/graphql@npm:4.8.0"
@@ -1745,6 +1758,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/openapi-types@npm:^24.2.0":
version: 24.2.0
resolution: "@octokit/openapi-types@npm:24.2.0"
checksum: 3c2d2f4cafd21c8a1e6a6fe6b56df6a3c09bc52ab6f829c151f9397694d028aa183ae856f08e006ee7ecaa7bd7eb413a903fbc0ffa6403e7b284ddcda20b1294
languageName: node
linkType: hard
"@octokit/plugin-paginate-rest@npm:^2.17.0": "@octokit/plugin-paginate-rest@npm:^2.17.0":
version: 2.21.3 version: 2.21.3
resolution: "@octokit/plugin-paginate-rest@npm:2.21.3" resolution: "@octokit/plugin-paginate-rest@npm:2.21.3"
@@ -1756,14 +1776,14 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/plugin-paginate-rest@npm:^9.0.0": "@octokit/plugin-paginate-rest@npm:^9.2.2":
version: 9.0.0 version: 9.2.2
resolution: "@octokit/plugin-paginate-rest@npm:9.0.0" resolution: "@octokit/plugin-paginate-rest@npm:9.2.2"
dependencies: dependencies:
"@octokit/types": ^12.0.0 "@octokit/types": ^12.6.0
peerDependencies: peerDependencies:
"@octokit/core": ">=5" "@octokit/core": 5
checksum: 4a8543f3e45c4916f94edc57d66106ee60da9fd4edccd7c3a2ddd00da1fc4eb2e1b2bcb3d6cb981a050edf883100c5004d0b81497568d4ac9138310a2188a458 checksum: ea2a3ebf6abc128a1996c5ff7148ebe755ee2ed001aa0c1d3088d67a9d78b093d84820e3ec73bfb165ca8774943a1158afdae4cf7b90b0a07f12ebbe1d8a428b
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1776,7 +1796,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/plugin-rest-endpoint-methods@npm:^10.0.0, @octokit/plugin-rest-endpoint-methods@npm:^10.4.0": "@octokit/plugin-rest-endpoint-methods@npm:^10.4.0":
version: 10.4.0 version: 10.4.0
resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.0" resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.0"
dependencies: dependencies:
@@ -1831,6 +1851,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/request-error@npm:^5.1.1":
version: 5.1.1
resolution: "@octokit/request-error@npm:5.1.1"
dependencies:
"@octokit/types": ^13.1.0
deprecation: ^2.0.0
once: ^1.4.0
checksum: 17d0b3f59c2a8a285715bfe6a85168d9c417aa7a0ff553b9be4198a3bc8bb00384a3530221a448eb19f8f07ea9fc48d264869624f5f84fa63a948a7af8cddc8c
languageName: node
linkType: hard
"@octokit/request@npm:^5.6.0, @octokit/request@npm:^5.6.3": "@octokit/request@npm:^5.6.0, @octokit/request@npm:^5.6.3":
version: 5.6.3 version: 5.6.3
resolution: "@octokit/request@npm:5.6.3" resolution: "@octokit/request@npm:5.6.3"
@@ -1858,6 +1889,18 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/request@npm:^8.4.1":
version: 8.4.1
resolution: "@octokit/request@npm:8.4.1"
dependencies:
"@octokit/endpoint": ^9.0.6
"@octokit/request-error": ^5.1.1
"@octokit/types": ^13.1.0
universal-user-agent: ^6.0.0
checksum: 0ba76728583543baeef9fda98690bc86c57e0a3ccac8c189d2b7d144d248c89167eb37a071ed8fead8f4da0a1c55c4dd98a8fc598769c263b95179fb200959de
languageName: node
linkType: hard
"@octokit/types@npm:^12.0.0": "@octokit/types@npm:^12.0.0":
version: 12.0.0 version: 12.0.0
resolution: "@octokit/types@npm:12.0.0" resolution: "@octokit/types@npm:12.0.0"
@@ -1876,6 +1919,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@octokit/types@npm:^13.1.0":
version: 13.10.0
resolution: "@octokit/types@npm:13.10.0"
dependencies:
"@octokit/openapi-types": ^24.2.0
checksum: fca3764548d5872535b9025c3b5fe6373fe588b287cb5b5259364796c1931bbe5e9ab8a86a5274ce43bb2b3e43b730067c3b86b6b1ade12a98cd59b2e8b3610d
languageName: node
linkType: hard
"@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0, @octokit/types@npm:^6.40.0": "@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0, @octokit/types@npm:^6.40.0":
version: 6.41.0 version: 6.41.0
resolution: "@octokit/types@npm:6.41.0" resolution: "@octokit/types@npm:6.41.0"
@@ -3161,7 +3213,7 @@ __metadata:
resolution: "docker-setup-buildx@workspace:." resolution: "docker-setup-buildx@workspace:."
dependencies: dependencies:
"@actions/core": ^1.11.1 "@actions/core": ^1.11.1
"@docker/actions-toolkit": ^0.56.0 "@docker/actions-toolkit": ^0.62.1
"@types/js-yaml": ^4.0.9 "@types/js-yaml": ^4.0.9
"@types/node": ^20.12.12 "@types/node": ^20.12.12
"@types/uuid": ^10.0.0 "@types/uuid": ^10.0.0
@@ -5870,12 +5922,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"semver@npm:^7.7.1": "semver@npm:^7.7.2":
version: 7.7.1 version: 7.7.2
resolution: "semver@npm:7.7.1" resolution: "semver@npm:7.7.2"
bin: bin:
semver: bin/semver.js semver: bin/semver.js
checksum: 586b825d36874007c9382d9e1ad8f93888d8670040add24a28e06a910aeebd673a2eb9e3bf169c6679d9245e66efb9057e0852e70d9daa6c27372aab1dda7104 checksum: dd94ba8f1cbc903d8eeb4dd8bf19f46b3deb14262b6717d0de3c804b594058ae785ef2e4b46c5c3b58733c99c83339068203002f9e37cfe44f7e2cc5e3d2f621
languageName: node languageName: node
linkType: hard linkType: hard
@@ -6492,6 +6544,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"undici@npm:^5.28.5":
version: 5.29.0
resolution: "undici@npm:5.29.0"
dependencies:
"@fastify/busboy": ^2.0.0
checksum: a25b5462c1b6ffb974f5ffc492ffd64146a9983aad0cbda6fde65e2b22f6f1acd43f09beacc66cc47624a113bd0c684ffc60366102b6a21b038fbfafb7d75195
languageName: node
linkType: hard
"unique-filename@npm:^3.0.0": "unique-filename@npm:^3.0.0":
version: 3.0.0 version: 3.0.0
resolution: "unique-filename@npm:3.0.0" resolution: "unique-filename@npm:3.0.0"